Function at 0x4752a0
Capabilities:
Check if file exists
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x544bd5
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x5a9008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], edx
mov edi, ecx
mov eax, dword [edi + 0x10]
xorps xmm0, xmm0
mov ebx, dword [ebp + 8]
add eax, eax
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x24], eax
lea esi, [eax + 0x12]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
test esi, esi
je 0x475367
cmp esi, 0x7fffffff
ja 0x4754a9
push esi
lea ecx, [ebp - 0x20]
lfence
call fcn.00412390
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
add eax, esi
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
add eax, 0x12
push eax
push 0
push esi
call fcn.004f32c0
mov eax, dword [ebp - 0x24]
add esp, 0xc
add eax, 0x12
mov dword [ebp - 0x2c], 0
add eax, esi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x24]
mov dword [ebp - 4], 1
mov ecx, edi
mov esi, dword [ebp - 0x20]
mov byte [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], eax
cmp dword [edi + 0x14], 8
jb 0x475388
mov ecx, dword [edi]
add eax, 2
push eax
push ecx
lea eax, [esi + 0xc]
push eax
call fcn.004f2d40
mov eax, dword [ebp - 0x1c]
add esp, 0xc
sub eax, dword [ebp - 0x20]
push eax
push esi
push 3
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_SetFileInformationByHandle]
test eax, eax
jne 0x475436
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x4753be
mov eax, dword [edi]
cmp dword [ebx + 0x14], 8
mov ecx, ebx
jb 0x4753c8
mov ecx, dword [ebx]
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x47543a
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x4753e0
mov eax, dword [edi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x47543a
push ecx
lea edx, [ebp - 0x28]
mov ecx, ebx
call fcn.00435410
add esp, 4
test al, al
jne 0x475436
mov eax, dword [0x5a99a0]
cmp eax, 0x5a99a0
je 0x47547a
test byte [eax + 0x1c], 8
je 0x47547a
cmp dword [ebx + 0x14], 8
jb 0x475418
mov ebx, dword [ebx]
push dword [ebp - 0x28]
mov edx, 0x578698
mov ecx, 0x11
push ebx
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.00417d40
add esp, 0x10
jmp 0x47547a
mov bl, 1
jmp 0x47547c
mov eax, dword [0x5a99a0]
cmp eax, 0x5a99a0
je 0x47547a
test byte [eax + 0x1c], 8
je 0x47547a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [edi + 0x14], 8
mov ecx, eax
jb 0x47545c
mov edi, dword [edi]
cmp dword [ebx + 0x14], 8
jb 0x475464
mov ebx, dword [ebx]
mov eax, dword [0x5a99a0]
push ecx
push edi
push ebx
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.00474320
add esp, 0x14
xor bl, bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004121e0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004ef615
mov esp, ebp
pop ebp
ret
call fcn.00414950
int3