Function at 0x140017260
Capabilities:
Copy file
Get file size

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x2b60]
mov eax, 0x2c60
call fcn.1401b7d00
sub rsp, rax
mov rax, qword [0x1402ad7a8]
xor rax, rsp
mov qword [rbp + 0x2b50], rax
mov r14, r8
mov rsi, rdx
mov rdi, rcx
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0xb50]
mov r12, r9
call fcn.1401bd240
mov rbx, 0xffffffffffffffff
mov r9, rbx
nop dword [rax + rax]
inc r9
cmp byte [rdi + r9], 0
jne 0x1400172c0
lea rax, [rbp + 0xb50]
mov dword [rsp + 0x28], 0x104
mov r8, rdi
mov qword [rsp + 0x20], rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edx, 0x5c
lea rcx, [rbp + 0xb50]
call fcn.1401bc410
mov r15, rax
test rax, rax
je 0x14001762a
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x400
call fcn.1401bd240
xor edx, edx
lea rcx, [rbp + 0x2350]
mov r8d, 0x800
call fcn.1401bd240
xor edx, edx
lea rcx, [rbp + 0x1350]
mov r8d, 0x800
call fcn.1401bd240
xor edx, edx
lea rcx, [rbp + 0x750]
mov r8d, 0x400
call fcn.1401bd240
lea r8, [r15 + 2]
mov edx, 0x400
lea rcx, [rbp + 0x1350]
call fcn.1401c9adc
mov r8d, dword [0x1403c0100]
lea rdx, [0x140267fd8]
inc r8d
lea rcx, [rbp + 0x2350]
mov dword [0x1403c0100], r8d
call qword [sym.imp.USER32.dll_wsprintfW]
mov r8d, dword [0x1403c0100]
lea rdx, str.._03d
lea rcx, [rbp + 0x750]
call fcn.140014f10
lea r8, [rbp + 0x2350]
mov edx, 0x400
lea rcx, [rbp + 0x1350]
call fcn.1401c9c34
mov qword [rsp + 0x30], 0
xor r9d, r9d
mov dword [rsp + 0x28], 0x2000000
xor r8d, r8d
mov edx, 0x20000
mov dword [rsp + 0x20], 3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateFileA]
test rax, rax
je 0x14001762a
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14001762a
cmp dword [rsp + 0x44], 0
mov rax, qword [rsp + 0x40]
jne 0x140017598
cmp eax, 0x4c4b40
jae 0x140017598
cmp byte [rbp + 0x2bc0], 0
je 0x14001744d
lea r9, [rsp + 0x50]
mov edx, 0x400
lea r8, str.CRYPTED__s_r_n
lea rcx, [rsp + 0x50]
call fcn.14000c9f0
cmp byte [rbp + 0x2bc8], 0
je 0x140017536
xor edx, edx
lea rcx, [rbp + 0x1b50]
mov r8d, 0x800
call fcn.1401bd240
xor edx, edx
lea rcx, [rbp + 0x350]
mov r8d, 0x400
call fcn.1401bd240
lea r8, [rbp + 0xb50]
mov edx, 0x400
lea rcx, [rbp + 0x1b50]
call fcn.1401c9adc
lea r8, [0x140268000]
mov edx, 0x400
lea rcx, [rbp + 0x1b50]
call fcn.1401c9c34
mov r8, rdi
lea rcx, [rbp + 0x350]
mov edx, 0x400
call fcn.1401c9a7c
lea r8, str..Moss
mov edx, 0x400
lea rcx, [rbp + 0x350]
call fcn.1401c9cb4
mov r8d, 1
lea rdx, [rbp + 0x1b50]
lea rcx, [rbp + 0xb50]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
mov rdx, r14
lea rcx, [rbp + 0x350]
call fcn.140021ea0
lea r8, [rbp + 0x350]
lea rdx, [rbp + 0x1350]
call fcn.1400347a0
test eax, eax
jne 0x1400175d9
lea edx, [rax + 0x5c]
mov rcx, rdi
call fcn.1401bcb78
lea r8, str.captured:__s_cloned_file:__s_s__Zip_CRC:__s_r_n
jmp 0x14001755f
lea r8, [rbp + 0xb50]
lea rdx, [rbp + 0x1350]
call fcn.1400347a0
test eax, eax
jne 0x14001758c
lea edx, [rax + 0x5c]
mov rcx, rdi
call fcn.1401bcb78
lea r8, str.captured:__s_file:__s_s__Zip_CRC:__s_r_n
lea rcx, [rbp + 0x750]
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], rcx
inc rax
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9, rdi
mov edx, 0x400
call fcn.14000c9f0
jmp 0x1400175d9
mov r9, rdi
lea r8, str.not_captured:__s___NAK_r_n
jmp 0x1400175ca
mov r9, rdi
mov dword [rsp + 0x20], eax
lea r8, str.not_captured:__s___too_big:__lu_r_n
mov edx, 0x400
lea rcx, [rsp + 0x50]
call fcn.14000c9f0
cmp byte [rbp + 0x2bc0], 0
je 0x1400175d9
lea r9, [rsp + 0x50]
lea r8, str.CRYPTED__s_r_n
mov edx, 0x400
lea rcx, [rsp + 0x50]
call fcn.14000c9f0
lea r8, [rsp + 0x50]
mov edx, 0x400
mov rcx, rsi
call fcn.14000c9f0
mov rax, rbx
nop
inc rax
cmp byte [rsi + rax], 0
jne 0x1400175f0
nop dword [rax]
inc rbx
cmp byte [rsi + rbx], 0
jne 0x140017600
mov dword [rsp + 0x28], eax
mov r9, rbx
mov r8, rsi
mov qword [rsp + 0x20], r12
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov rcx, r12
call fcn.140024bd0
mov rcx, qword [rbp + 0x2b50]
xor rcx, rsp
call fcn.1401b7280
add rsp, 0x2c60
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret