Function at 0x1400171c0
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.1401b7d20
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.1401bd260
mov rbx, 0xffffffffffffffff
mov r9, rbx
nop dword [rax + rax]
inc r9
cmp byte [rdi + r9], 0
jne 0x140017220
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.1401bc430
mov r15, rax
test rax, rax
je 0x14001758a
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x400
call fcn.1401bd260
xor edx, edx
lea rcx, [rbp + 0x2350]
mov r8d, 0x800
call fcn.1401bd260
xor edx, edx
lea rcx, [rbp + 0x1350]
mov r8d, 0x800
call fcn.1401bd260
xor edx, edx
lea rcx, [rbp + 0x750]
mov r8d, 0x400
call fcn.1401bd260
lea r8, [r15 + 2]
mov edx, 0x400
lea rcx, [rbp + 0x1350]
call fcn.1401c9afc
mov r8d, dword [0x1403c0100]
lea rdx, [0x140267fc8]
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.140014f00
lea r8, [rbp + 0x2350]
mov edx, 0x400
lea rcx, [rbp + 0x1350]
call fcn.1401c9c54
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 0x14001758a
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14001758a
cmp dword [rsp + 0x44], 0
mov rax, qword [rsp + 0x40]
jne 0x1400174f8
cmp eax, 0x4c4b40
jae 0x1400174f8
cmp byte [rbp + 0x2bc0], 0
je 0x1400173ad
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 0x140017496
xor edx, edx
lea rcx, [rbp + 0x1b50]
mov r8d, 0x800
call fcn.1401bd260
xor edx, edx
lea rcx, [rbp + 0x350]
mov r8d, 0x400
call fcn.1401bd260
lea r8, [rbp + 0xb50]
mov edx, 0x400
lea rcx, [rbp + 0x1b50]
call fcn.1401c9afc
lea r8, [0x140267ff0]
mov edx, 0x400
lea rcx, [rbp + 0x1b50]
call fcn.1401c9c54
mov r8, rdi
lea rcx, [rbp + 0x350]
mov edx, 0x400
call fcn.1401c9a9c
lea r8, str..Moss
mov edx, 0x400
lea rcx, [rbp + 0x350]
call fcn.1401c9cd4
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.140021e00
lea r8, [rbp + 0x350]
lea rdx, [rbp + 0x1350]
call fcn.1400347c0
test eax, eax
jne 0x140017539
lea edx, [rax + 0x5c]
mov rcx, rdi
call fcn.1401bcb98
lea r8, str.captured:__s_cloned_file:__s_s__Zip_CRC:__s_r_n
jmp 0x1400174bf
lea r8, [rbp + 0xb50]
lea rdx, [rbp + 0x1350]
call fcn.1400347c0
test eax, eax
jne 0x1400174ec
lea edx, [rax + 0x5c]
mov rcx, rdi
call fcn.1401bcb98
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 0x140017539
mov r9, rdi
lea r8, str.not_captured:__s___NAK_r_n
jmp 0x14001752a
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 0x140017539
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 0x140017550
nop dword [rax]
inc rbx
cmp byte [rsi + rbx], 0
jne 0x140017560
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.140024b30
mov rcx, qword [rbp + 0x2b50]
xor rcx, rsp
call fcn.1401b72a0
add rsp, 0x2c60
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret