Function at 0x58d160
Capabilities:
Copy file

Disassembly:
push rbp
push rbx
sub rsp, 0x98
mov rbp, rsp
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x20], 0
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x60], 0
mov qword [rbp + 0x88], 0
mov qword [rbp + 0x80], 0
nop
mov dword [0x005cdc38], 0x4e2
mov dword [0x005cdc3c], 0xa
mov dword [0x005cdc40], 0x96
mov dword [0x005cdc50], 0xbb8
lea rcx, [rbp + 0x68]
xor edx, edx
call fcn.00409a80
mov rcx, qword [rbp + 0x68]
call fcn.00410ef0
mov rbx, rax
lea rcx, [rbp + 0x60]
xor edx, edx
call fcn.00409a80
lea rcx, [rbp + 0x60]
lea rdx, [0x0058d510]
call fcn.00411240
mov rcx, qword [rbp + 0x60]
call fcn.00410ef0
mov rcx, rbx
mov rdx, rax
xor r8, r8
call sub.kernel32.dll_CopyFileW
lea rcx, [rbp + 0x58]
xor edx, edx
call fcn.00409a80
lea rcx, [rbp + 0x58]
lea rdx, [0x0058d510]
call fcn.00411240
mov rcx, qword [rbp + 0x58]
lea rdx, [rbp + 0x88]
call fcn.0055d8b0
lea rcx, [rbp + 0x80]
call fcn.0040fb50
mov dword [rbp + 0x74], 0
cmp qword [rbp + 0x88], 0
je 0x58d299
mov rax, qword [rbp + 0x88]
mov eax, dword [rax - 4]
mov dword [rbp + 0x74], eax
mov eax, dword [rbp + 0x74]
mov dword [rbp + 0x7c], eax
jmp 0x58d301
mov eax, dword [rbp + 0x7c]
movsxd rax, eax
cmp qword [rbp + 0x88], 0
je 0x58d2c4
lea rcx, [rax - 1]
mov rdx, qword [rbp + 0x88]
mov edx, dword [rdx - 4]
cmp rcx, rdx
jb 0x58d2c9
call fcn.0040c1f0
lea rcx, [rbp + 0x50]
mov rdx, qword [rbp + 0x88]
movzx rdx, word [rdx + rax*2 - 2]
call fcn.00410f30
lea rcx, [rbp + 0x80]
mov rdx, qword [rbp + 0x50]
mov r8, qword [rbp + 0x80]
call fcn.00411310
sub dword [rbp + 0x7c], 1
jno 0x58d301
call fcn.0040c210
cmp dword [rbp + 0x7c], 0
jle 0x58d342
mov eax, dword [rbp + 0x7c]
movsxd rax, eax
cmp qword [rbp + 0x88], 0
je 0x58d32a
lea rcx, [rax - 1]
mov rdx, qword [rbp + 0x88]
mov edx, dword [rdx - 4]
cmp rcx, rdx
jb 0x58d32f
call fcn.0040c1f0
mov rcx, qword [rbp + 0x88]
cmp word [rcx + rax*2 - 2], 0
jne 0x58d2a1
cmp qword [rbp + 0x80], 0
jne 0x58d38a
lea rcx, [rbp + 0x48]
xor edx, edx
call fcn.00409a80
lea rcx, [rbp + 0x48]
lea rdx, [0x0058d510]
call fcn.00411240
mov rcx, qword [rbp + 0x48]
call fcn.00410ef0
lea rcx, [rbp + 0x40]
mov rdx, rax
call fcn.00410f80
mov rcx, qword [rbp + 0x40]
call fcn.00433af0
call fcn.0040f6b0
mov dword [rbp + 0x78], 0
mov eax, dword [rbp + 0x78]
cmp eax, 0xd
jbe 0x58d39e
call fcn.0040c1f0
lea rcx, [0x005cdbc8]
movzx rax, al
lea rcx, [rcx + rax*8]
lea rdx, [0x0058d520]
call fcn.004101c0
add dword [rbp + 0x78], 1
cmp dword [rbp + 0x78], 0xe
jne 0x58d391
nop
lea rcx, [0x005cdc80]
lea rdx, [0x0058d520]
call fcn.004101c0
lea rcx, [0x005cdc88]
lea rdx, [0x0058d520]
call fcn.004101c0
lea rcx, [0x005cdc90]
lea rdx, [0x0058d520]
call fcn.004101c0
lea rcx, [rbp + 0x38]
mov rdx, qword [rbp + 0x80]
call fcn.0055d650
lea rcx, [rbp + 0x80]
mov rdx, qword [rbp + 0x38]
call fcn.00410240
mov dword [rbp + 0x78], 0
mov ebx, dword [rbp + 0x78]
cmp ebx, 0xd
jbe 0x58d431
call fcn.0040c1f0
lea rcx, [rbp + 0x30]
mov rdx, qword [rbp + 0x80]
mov r8d, dword [rbp + 0x78]
call fcn.00561080
lea rax, [0x005cdbc8]
movzx rbx, bl
lea rcx, [rax + rbx*8]
mov rdx, qword [rbp + 0x30]
call fcn.004101c0
add dword [rbp + 0x78], 1
cmp dword [rbp + 0x78], 0xe
jne 0x58d424
nop
lea rcx, [rbp + 0x28]
xor edx, edx
call fcn.00409a80
lea rcx, [rbp + 0x28]
lea rdx, [0x0058d510]
call fcn.00411240
mov rcx, qword [rbp + 0x28]
call fcn.00410ef0
lea rcx, [rbp + 0x20]
mov rdx, rax
call fcn.00410f80
mov rcx, qword [rbp + 0x20]
call fcn.00433af0
nop
lea rcx, [rbp + 0x20]
mov edx, 0xa
call fcn.0040fc30
lea rcx, [rbp + 0x80]
mov edx, 2
call fcn.0040fc30
lea rsp, [rbp + 0x98]
pop rbx
pop rbp
ret