Function at 0x40ba60
Capabilities:
Copy file
Get common file path

Disassembly:
mov rax, rsp
sub rsp, 0x328
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
mov qword [rax - 8], rbp
mov qword [rax - 0x10], rsi
mov qword [rax - 0x18], rdi
mov qword [rax - 0x20], r12
mov qword [rax - 0x28], r13
mov qword [rax - 0x30], r14
mov qword [rax - 0x38], r15
mov rax, qword [0x0045f6c0]
xor rax, rsp
mov qword [rsp + 0x2e0], rax
mov esi, r8d
mov dword [rsp + 0x38], r8d
mov qword [rsp + 0x40], rdx
mov r12, rcx
mov qword [rsp + 0x50], rcx
call fcn.00418c7c
mov rcx, rax
xor eax, eax
test rcx, rcx
setne al
test eax, eax
jne 0x40bad9
mov ecx, 0x80004005
call fcn.00401000
int3
mov rax, qword [rcx]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x28], rbx
call fcn.00418c7c
mov rdx, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
jne 0x40bb07
mov ecx, 0x80004005
call fcn.00401000
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
lea rdi, [rax + 0x18]
mov qword [rsp + 0x58], rdi
mov byte [rsp + 0x20], 1
mov edx, 0x104
lea rcx, [rsp + 0x1d0]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
jne 0x40bb91
lea rcx, str.Error_:_Get_windows_path_error_n
call fcn.00404a90
nop
lea rdx, [rdi - 0x18]
mov r14, 0xffffffffffffffff
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, r14d
test eax, eax
jg 0x40bb66
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x28]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], r14d
add r14d, 0xffffffff
test r14d, r14d
jg 0x40bb87
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, 0x4e25
jmp 0x40c89c
xor r15d, r15d
mov dword [rsp + 0x24], r15d
mov qword [rsp + 0x30], r15
lea r14, [r15 - 1]
test esi, esi
je 0x40c84f
lea rsi, [0x0044244c]
test r12, r12
je 0x40bc4e
xor eax, eax
mov rcx, r14
mov rdi, r12
repne scasb al, byte [rdi]
not rcx
sub rcx, 1
mov rdi, rcx
test ecx, ecx
je 0x40bc4e
mov esi, dword [rbx - 0x10]
mov rbp, r12
sub rbp, rbx
mov edx, 1
sub edx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, ecx
or eax, edx
jge 0x40bbfd
mov edx, ecx
lea rcx, [rsp + 0x28]
call fcn.00401fa0
mov rbx, qword [rsp + 0x28]
cmp rbp, rsi
ja 0x40bc19
movsxd rsi, edi
lea r8, [rbx + rbp]
mov r9, rsi
mov rdx, rsi
mov rcx, rbx
call fcn.00426320
jmp 0x40bc2d
movsxd rsi, edi
mov r9, rsi
mov r8, r12
mov rdx, rsi
mov rcx, rbx
call fcn.00426220
test edi, edi
js 0x40c81c
cmp edi, dword [rbx - 0xc]
jg 0x40c81c
mov dword [rbx - 0x10], edi
mov byte [rsi + rbx], 0
lea rsi, [0x0044244c]
jmp 0x40bca1
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], 0
je 0x40bca1
cmp dword [rdx + 0x10], 0
jge 0x40bc77
cmp dword [rbx - 0xc], 0
jl 0x40c827
mov dword [rbx - 0x10], 0
mov byte [rbx], 0
jmp 0x40bca1
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x40bc8f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x28], rbx
xor eax, eax
mov rcx, r14
mov rdi, rsi
repne scasb al, byte [rdi]
not rcx
lea r13, [rcx - 1]
mov rbp, rsi
sub rsi, rbx
mov r12d, dword [rbx - 0x10]
lea edi, [r12 + rcx - 1]
mov edx, 1
sub edx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, edx
jge 0x40bce3
mov edx, edi
lea rcx, [rsp + 0x28]
call fcn.00401fa0
mov rbx, qword [rsp + 0x28]
cmp rsi, r12
ja 0x40bcec
lea rbp, [rsi + rbx]
movsxd rdx, r13d
lea rcx, [r12 + rbx]
mov r9, rdx
mov r8, rbp
call fcn.00426220
test edi, edi
js 0x40c844
cmp edi, dword [rbx - 0xc]
jg 0x40c844
mov dword [rbx - 0x10], edi
movsxd rax, edi
mov byte [rax + rbx], 0
imul r15, r15, 0x1cc
mov rcx, qword [rsp + 0x40]
add r15, rcx
jne 0x40bd2e
xor ebp, ebp
jmp 0x40bd3f
xor eax, eax
mov rcx, r14
mov rdi, r15
repne scasb al, byte [rdi]
not rcx
lea rbp, [rcx - 1]
mov r12, r15
mov rsi, r15
sub rsi, rbx
mov r13d, dword [rbx - 0x10]
lea edi, [r13 + rbp]
mov edx, 1
sub edx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, edx
jge 0x40bd73
mov edx, edi
lea rcx, [rsp + 0x28]
call fcn.00401fa0
mov rbx, qword [rsp + 0x28]
cmp rsi, r13
ja 0x40bd7c
lea r12, [rsi + rbx]
movsxd rdx, ebp
lea rcx, [r13 + rbx]
mov r9, rdx
mov r8, r12
call fcn.00426220
test edi, edi
js 0x40c839
cmp edi, dword [rbx - 0xc]
jg 0x40c839
mov dword [rbx - 0x10], edi
movsxd rax, edi
mov byte [rax + rbx], 0
lea rdx, [rsp + 0x90]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov qword [rsp + 0x48], rax
cmp rax, 0xffffffffffffffff
jne 0x40bdda
mov rdx, rbx
lea rcx, str.Info__:_fail_to_find_files___s__n
call fcn.00404a90
jmp 0x40c7ee
mov r10d, 0xf
mov qword [rsp + 0x88], r10
xor r8d, r8d
mov qword [rsp + 0x80], r8
mov byte [rsp + 0x70], r8b
xor eax, eax
mov rcx, r14
lea rdi, [rsp + 0x1d0]
repne scasb al, byte [rdi]
not rcx
sub rcx, 1
mov rdi, rcx
cmp rcx, 0xfffffffffffffffe
jbe 0x40be2c
call fcn.0043e3e0
mov r10, qword [rsp + 0x88]
mov r8, qword [rsp + 0x80]
cmp r10, rdi
jae 0x40be50
mov rdx, rdi
lea rcx, [rsp + 0x68]
call fcn.00402120
mov r10, qword [rsp + 0x88]
mov r8, qword [rsp + 0x80]
jmp 0x40be81
test rdi, rdi
jne 0x40be81
mov qword [rsp + 0x80], rdi
lea rax, [rsp + 0x70]
cmp r10, 0x10
cmovae rax, qword [rsp + 0x70]
mov byte [rax], dil
mov r10, qword [rsp + 0x88]
mov r8, qword [rsp + 0x80]
jmp 0x40bed8
test rdi, rdi
je 0x40bed8
lea rcx, [rsp + 0x70]
cmp r10, 0x10
cmovae rcx, qword [rsp + 0x70]
mov r9, rdi
lea r8, [rsp + 0x1d0]
mov rdx, r10
call fcn.00426220
mov qword [rsp + 0x80], rdi
lea rax, [rsp + 0x70]
cmp qword [rsp + 0x88], 0x10
cmovae rax, qword [rsp + 0x70]
mov byte [rax + rdi], 0
mov r10, qword [rsp + 0x88]
mov r8, qword [rsp + 0x80]
lea rdi, [0x004428c0]
lea rsi, [r15 + 0x40]
mov ecx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
repe cmpsb byte [rsi], byte [rdi]
jne 0x40befa
cmp byte [rsp + 0x20], 1
jne 0x40befa
mov eax, 1
jmp 0x40befc
xor eax, eax
mov r12, qword [rsp + 0x30]
imul r12, r12, 0x1cc
mov rcx, qword [rsp + 0x40]
mov dword [r12 + rcx + 0x1c0], eax
test eax, eax
je 0x40c1b8
lea rax, [rsp + 0x70]
mov rcx, qword [rsp + 0x70]
cmp r10, 0x10
cmovae rax, rcx
lea rsi, str._system32
cmp rsi, rax
jb 0x40c0b3
lea rax, [rsp + 0x70]
cmp r10, 0x10
cmovae rax, rcx
add rax, r8
cmp rax, rsi
jbe 0x40c0b3
lea rax, [rsp + 0x70]
cmp r10, 0x10
cmovae rax, rcx
mov rbp, rsi
sub rbp, rax
cmp r8, rbp
jae 0x40bf85
call fcn.0043e4b0
mov r10, qword [rsp + 0x88]
mov r8, qword [rsp + 0x80]
mov rax, r8
sub rax, rbp
mov esi, 9
cmp rax, rsi
cmovb rsi, rax
mov rax, r14
sub rax, r8
cmp rax, rsi
jbe 0x40bfab
lea rax, [r8 + rsi]
cmp rax, r8
jae 0x40bfc0
call fcn.0043e3e0
mov r10, qword [rsp + 0x88]
mov r8, qword [rsp + 0x80]
test rsi, rsi
je 0x40c490
lea rdi, [r8 + rsi]
cmp rdi, 0xfffffffffffffffe
jbe 0x40bfe8
call fcn.0043e3e0
mov r10, qword [rsp + 0x88]
mov r8, qword [rsp + 0x80]
cmp r10, rdi
jae 0x40c00c
mov rdx, rdi
lea rcx, [rsp + 0x68]
call fcn.00402120
mov r10, qword [rsp + 0x88]
mov r8, qword [rsp + 0x80]
jmp 0x40c040
test rdi, rdi
jne 0x40c040
mov qword [rsp + 0x80], rdi
lea rax, [rsp + 0x70]
cmp r10, 0x10
cmovae rax, qword [rsp + 0x70]
mov byte [rax], dil
mov r10, qword [rsp + 0x88]
mov r8, qword [rsp + 0x80]
jmp 0x40c490
test rdi, rdi
je 0x40c490
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x70]
cmp r10, 0x10
cmovae rdx, rcx
lea rax, [rsp + 0x70]
cmp r10, 0x10
cmovae rax, rcx
sub r10, r8
lea rcx, [rax + r8]
lea r8, [rdx + rbp]
mov r9, rsi
mov rdx, r10
call fcn.00426220
mov qword [rsp + 0x80], rdi
lea rax, [rsp + 0x70]
cmp qword [rsp + 0x88], 0x10
cmovae rax, qword [rsp + 0x70]
mov byte [rax + rdi], 0
mov r10, qword [rsp + 0x88]
mov r8, qword [rsp + 0x80]
jmp 0x40c490
mov rax, r14
sub rax, r8
cmp rax, 9
jbe 0x40c0c8
lea rax, [r8 + 9]
cmp rax, r8
jae 0x40c0dd
call fcn.0043e3e0
mov r10, qword [rsp + 0x88]
mov r8, qword [rsp + 0x80]
lea rdi, [r8 + 9]
cmp rdi, 0xfffffffffffffffe
jbe 0x40c0fc
call fcn.0043e3e0
mov r10, qword [rsp + 0x88]
mov r8, qword [rsp + 0x80]
cmp r10, rdi
jae 0x40c120
mov rdx, rdi
lea rcx, [rsp + 0x68]
call fcn.00402120
mov r10, qword [rsp + 0x88]
mov r8, qword [rsp + 0x80]
jmp 0x40c154
test rdi, rdi
jne 0x40c154
mov qword [rsp + 0x80], rdi
lea rax, [rsp + 0x70]
cmp r10, 0x10
cmovae rax, qword [rsp + 0x70]
mov byte [rax], dil
mov r10, qword [rsp + 0x88]
mov r8, qword [rsp + 0x80]
jmp 0x40c490
test rdi, rdi
je 0x40c490
lea rcx, [rsp + 0x70]
cmp r10, 0x10
cmovae rcx, qword [rsp + 0x70]
sub r10, r8
add rcx, r8
mov r9d, 9
mov r8, rsi
mov rdx, r10
call fcn.00426220
mov qword [rsp + 0x80], rdi
lea rax, [rsp + 0x70]
cmp qword [rsp + 0x88], 0x10
cmovae rax, qword [rsp + 0x70]
mov byte [rax + rdi], 0
mov r10, qword [rsp + 0x88]
mov r8, qword [rsp + 0x80]
jmp 0x40c490
lea rdx, [r15 + 0x80]
xor eax, eax
mov rcx, r14
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
cmp rcx, 1
je 0x40c200
mov rcx, r14
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rsp + 0x68]
call fcn.00403a80
mov r10, qword [rsp + 0x88]
mov r8, qword [rsp + 0x80]
jmp 0x40c490
lea rax, [rsp + 0x70]
mov rcx, qword [rsp + 0x70]
cmp r10, 0x10
cmovae rax, rcx
lea rsi, str._system32drivers
cmp rsi, rax
jb 0x40c396
lea rax, [rsp + 0x70]
cmp r10, 0x10
cmovae rax, rcx
add rax, r8
cmp rax, rsi
jbe 0x40c396
lea rax, [rsp + 0x70]
cmp r10, 0x10
cmovae rax, rcx
mov rbp, rsi
sub rbp, rax
cmp r8, rbp
jae 0x40c268
call fcn.0043e4b0
mov r10, qword [rsp + 0x88]
mov r8, qword [rsp + 0x80]
mov rax, r8
sub rax, rbp
mov esi, 0x11
cmp rax, rsi
cmovb rsi, rax
mov rax, r14
sub rax, r8
cmp rax, rsi
jbe 0x40c28e
lea rax, [r8 + rsi]
cmp rax, r8
jae 0x40c2a3
call fcn.0043e3e0
mov r10, qword [rsp + 0x88]
mov r8, qword [rsp + 0x80]
test rsi, rsi
je 0x40c490
lea rdi, [r8 + rsi]
cmp rdi, 0xfffffffffffffffe
jbe 0x40c2cb
call fcn.0043e3e0
mov r10, qword [rsp + 0x88]
mov r8, qword [rsp + 0x80]
cmp r10, rdi
jae 0x40c2ef
mov rdx, rdi
lea rcx, [rsp + 0x68]
call fcn.00402120
mov r10, qword [rsp + 0x88]
mov r8, qword [rsp + 0x80]
jmp 0x40c323
test rdi, rdi
jne 0x40c323
mov qword [rsp + 0x80], rdi
lea rax, [rsp + 0x70]
cmp r10, 0x10
cmovae rax, qword [rsp + 0x70]
mov byte [rax], dil
mov r10, qword [rsp + 0x88]
mov r8, qword [rsp + 0x80]
jmp 0x40c490
test rdi, rdi
je 0x40c490
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x70]
cmp r10, 0x10
cmovae rdx, rcx
lea rax, [rsp + 0x70]
cmp r10, 0x10
cmovae rax, rcx
sub r10, r8
lea rcx, [r8 + rax]
lea r8, [rdx + rbp]
mov r9, rsi
mov rdx, r10
call fcn.00426220
mov qword [rsp + 0x80], rdi
lea rax, [rsp + 0x70]
cmp qword [rsp + 0x88], 0x10
cmovae rax, qword [rsp + 0x70]
mov byte [rdi + rax], 0
mov r10, qword [rsp + 0x88]
mov r8, qword [rsp + 0x80]
jmp 0x40c490
mov rax, r14
sub rax, r8
cmp rax, 0x11
jbe 0x40c3ab
lea rax, [r8 + 0x11]
cmp rax, r8
jae 0x40c3c0
call fcn.0043e3e0
mov r10, qword [rsp + 0x88]
mov r8, qword [rsp + 0x80]
lea rdi, [r8 + 0x11]
cmp rdi, 0xfffffffffffffffe
jbe 0x40c3df
call fcn.0043e3e0
mov r10, qword [rsp + 0x88]
mov r8, qword [rsp + 0x80]
cmp r10, rdi
jae 0x40c403
mov rdx, rdi
lea rcx, [rsp + 0x68]
call fcn.00402120
mov r10, qword [rsp + 0x88]
mov r8, qword [rsp + 0x80]
jmp 0x40c434
test rdi, rdi
jne 0x40c434
mov qword [rsp + 0x80], rdi
lea rax, [rsp + 0x70]
cmp r10, 0x10
cmovae rax, qword [rsp + 0x70]
mov byte [rax], dil
mov r10, qword [rsp + 0x88]
mov r8, qword [rsp + 0x80]
jmp 0x40c490
test rdi, rdi
je 0x40c490
lea rax, [rsp + 0x70]
cmp r10, 0x10
cmovae rax, qword [rsp + 0x70]
sub r10, r8
lea rcx, [r8 + rax]
mov r9d, 0x11
mov r8, rsi
mov rdx, r10
call fcn.00426220
mov qword [rsp + 0x80], rdi
lea rax, [rsp + 0x70]
cmp qword [rsp + 0x88], 0x10
cmovae rax, qword [rsp + 0x70]
mov byte [rdi + rax], 0
mov r10, qword [rsp + 0x88]
mov r8, qword [rsp + 0x80]
lea rax, [rsp + 0x70]
mov rcx, qword [rsp + 0x70]
cmp r10, 0x10
cmovae rax, rcx
lea rsi, [0x0044244c]
cmp rsi, rax
jb 0x40c606
lea rax, [rsp + 0x70]
cmp r10, 0x10
cmovae rax, rcx
add rax, r8
cmp rax, rsi
jbe 0x40c606
lea rax, [rsp + 0x70]
cmp r10, 0x10
cmovae rax, rcx
mov rbp, rsi
sub rbp, rax
cmp r8, rbp
jae 0x40c4f8
call fcn.0043e4b0
mov r10, qword [rsp + 0x88]
mov r8, qword [rsp + 0x80]
mov rax, r8
sub rax, rbp
mov esi, 1
cmp rax, rsi
cmovb rsi, rax
mov rax, r14
sub rax, r8
cmp rax, rsi
jbe 0x40c51e
lea rax, [r8 + rsi]
cmp rax, r8
jae 0x40c533
call fcn.0043e3e0
mov r10, qword [rsp + 0x88]
mov r8, qword [rsp + 0x80]
test rsi, rsi
je 0x40c6e0
lea rdi, [r8 + rsi]
cmp rdi, 0xfffffffffffffffe
jbe 0x40c55b
call fcn.0043e3e0
mov r10, qword [rsp + 0x88]
mov r8, qword [rsp + 0x80]
cmp r10, rdi
jae 0x40c57f
mov rdx, rdi
lea rcx, [rsp + 0x68]
call fcn.00402120
mov r10, qword [rsp + 0x88]
mov r8, qword [rsp + 0x80]
jmp 0x40c5a3
test rdi, rdi
jne 0x40c5a3
mov qword [rsp + 0x80], rdi
lea rax, [rsp + 0x70]
cmp r10, 0x10
cmovae rax, qword [rsp + 0x70]
mov byte [rax], dil
jmp 0x40c6e0
test rdi, rdi
je 0x40c6e0
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x70]
cmp r10, 0x10
cmovae rdx, rcx
lea rax, [rsp + 0x70]
cmp r10, 0x10
cmovae rax, rcx
sub r10, r8
lea rcx, [r8 + rax]
lea r8, [rdx + rbp]
mov r9, rsi
mov rdx, r10
call fcn.00426220
mov qword [rsp + 0x80], rdi
lea rax, [rsp + 0x70]
cmp qword [rsp + 0x88], 0x10
cmovae rax, qword [rsp + 0x70]
mov byte [rdi + rax], 0
jmp 0x40c6e0
mov rax, r14
sub rax, r8
cmp rax, 1
jbe 0x40c61b
lea rax, [r8 + 1]
cmp rax, r8
jae 0x40c630
call fcn.0043e3e0
mov r10, qword [rsp + 0x88]
mov r8, qword [rsp + 0x80]
lea rdi, [r8 + 1]
cmp rdi, 0xfffffffffffffffe
jbe 0x40c64f
call fcn.0043e3e0
mov r10, qword [rsp + 0x88]
mov r8, qword [rsp + 0x80]
cmp r10, rdi
jae 0x40c673
mov rdx, rdi
lea rcx, [rsp + 0x68]
call fcn.00402120
mov r10, qword [rsp + 0x88]
mov r8, qword [rsp + 0x80]
jmp 0x40c694
test rdi, rdi
jne 0x40c694
mov qword [rsp + 0x80], rdi
lea rax, [rsp + 0x70]
cmp r10, 0x10
cmovae rax, qword [rsp + 0x70]
mov byte [rax], dil
jmp 0x40c6e0
test rdi, rdi
je 0x40c6e0
lea rax, [rsp + 0x70]
cmp r10, 0x10
cmovae rax, qword [rsp + 0x70]
sub r10, r8
lea rcx, [r8 + rax]
mov r9d, 1
mov r8, rsi
mov rdx, r10
call fcn.00426220
mov qword [rsp + 0x80], rdi
lea rax, [rsp + 0x70]
cmp qword [rsp + 0x88], 0x10
cmovae rax, qword [rsp + 0x70]
mov byte [rdi + rax], 0
xor eax, eax
mov rcx, r14
lea rdi, [rsp + 0xbc]
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + 0xbc]
lea rcx, [rsp + 0x68]
call fcn.00403a80
lea rdx, [rsp + 0x70]
cmp qword [rsp + 0x88], 0x10
cmovae rdx, qword [rsp + 0x70]
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x40c765
mov rdx, rbx
lea rcx, str.Error_:_Copy__file___s__error._n
call fcn.00404a90
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
cmp qword [rsp + 0x88], 0x10
jb 0x40c7ee
mov rcx, qword [rsp + 0x70]
call fcn.0041873c
jmp 0x40c7ee
lea r8, [rsp + 0x70]
cmp qword [rsp + 0x88], 0x10
cmovae r8, qword [rsp + 0x70]
mov rdx, r15
lea rcx, str.Info__:_Copy_file__s__to___s__OK._n
call fcn.00404a90
lea rdi, [0x004428c0]
lea rsi, [r15 + 0x40]
mov ecx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
repe cmpsb byte [rsi], byte [rdi]
jne 0x40c7aa
cmp byte [rsp + 0x20], 1
jne 0x40c7aa
mov eax, 1
jmp 0x40c7ac
xor eax, eax
mov rcx, qword [rsp + 0x40]
mov dword [r12 + rcx + 0x1c0], eax
test eax, eax
je 0x40c7cd
mov byte [rsp + 0x20], 0
add dword [rsp + 0x24], 0xffffffff
sub qword [rsp + 0x30], 1
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
cmp qword [rsp + 0x88], 0x10
jb 0x40c7ee
mov rcx, qword [rsp + 0x70]
call fcn.0041873c
mov r15d, dword [rsp + 0x24]
add r15d, 1
mov dword [rsp + 0x24], r15d
add qword [rsp + 0x30], 1
mov esi, dword [rsp + 0x38]
cmp r15d, esi
jae 0x40c832
mov r12, qword [rsp + 0x50]
lea rsi, [0x0044244c]
jmp 0x40bbb1
mov ecx, 0x80070057
call fcn.00401000
int3
mov ecx, 0x80070057
call fcn.00401000
int3
mov rdi, qword [rsp + 0x58]
jmp 0x40c84f
mov ecx, 0x80070057
call fcn.00401000
int3
mov ecx, 0x80070057
call fcn.00401000
int3
lea rcx, str.Info__:_Copy_file_exit._n
call fcn.00404a90
nop
lea rdx, [rdi - 0x18]
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x40c879
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x28]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], r14d
add r14d, 0xffffffff
test r14d, r14d
jg 0x40c89a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
mov rcx, qword [rsp + 0x2e0]
xor rcx, rsp
call fcn.00425570
mov rbx, qword [rsp + 0x348]
mov rbp, qword [rsp + 0x320]
mov rsi, qword [rsp + 0x318]
mov rdi, qword [rsp + 0x310]
mov r12, qword [rsp + 0x308]
mov r13, qword [rsp + 0x300]
mov r14, qword [rsp + 0x2f8]
mov r15, qword [rsp + 0x2f0]
add rsp, 0x328
ret