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

Disassembly:
push 0xffffffffffffffff
push 0x4595a6
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x46e3d0]
xor eax, esp
mov dword [esp + 0xa8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46e3d0]
xor eax, esp
push eax
lea eax, [esp + 0xc0]
mov dword fs:[0], eax
push 0x471f84
lea eax, [esp + 0xa4]
call fcn.0041bba0
add esp, 4
xor ebx, ebx
mov dword [esp + 0xc8], ebx
cmp dword [esp + 0xb4], ebx
jne 0x4264c2
cmp dword [esp + 0xb8], 8
jb 0x4264bb
mov eax, dword [esp + 0xa4]
push eax
call fcn.0043ef40
add esp, 4
xor eax, eax
jmp 0x4266aa
lea edi, [esp + 0x84]
call fcn.00426330
push 0x46f6e4
mov edx, edi
lea ecx, [esp + 0x6c]
mov byte [esp + 0xcc], 1
call fcn.00427350
push 0x46f700
mov edx, edi
lea ecx, [esp + 0x54]
mov byte [esp + 0xd0], 2
call fcn.00427350
push 0x46f6e4
lea edx, [esp + 0xac]
lea ecx, [esp + 0x3c]
mov byte [esp + 0xd4], 3
call fcn.00427350
push 0x46f700
lea edx, [esp + 0xb0]
lea ecx, [esp + 0x24]
mov byte [esp + 0xd8], 4
call fcn.00427350
add esp, 0x10
mov byte [esp + 0xc8], 5
mov eax, dword [esp + 0x34]
mov edi, 8
cmp dword [esp + 0x48], edi
mov esi, 1
jae 0x42655b
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov ebp, dword [sym.imp.KERNEL32.dll_CopyFileW]
je 0x426592
cmp dword [esp + 0x80], edi
mov ecx, dword [esp + 0x6c]
jae 0x42657d
lea ecx, [esp + 0x6c]
cmp dword [esp + 0x48], edi
mov eax, dword [esp + 0x34]
jae 0x42658b
lea eax, [esp + 0x34]
push ebx
push ecx
push eax
call ebp
mov esi, eax
cmp dword [esp + 0x2c], edi
mov eax, dword [esp + 0x18]
jae 0x4265a0
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4265cc
cmp dword [esp + 0x64], edi
mov ecx, dword [esp + 0x50]
jae 0x4265b9
lea ecx, [esp + 0x50]
cmp dword [esp + 0x2c], edi
mov eax, dword [esp + 0x18]
jae 0x4265c7
lea eax, [esp + 0x18]
push ebx
push ecx
push eax
call ebp
xor ecx, ecx
cmp esi, ebx
setne cl
cmp dword [esp + 0x2c], edi
mov ebp, ecx
jb 0x4265e8
mov edx, dword [esp + 0x18]
push edx
call fcn.0043ef40
add esp, 4
cmp dword [esp + 0x48], edi
mov esi, 7
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], bx
jb 0x42660d
mov eax, dword [esp + 0x34]
push eax
call fcn.0043ef40
add esp, 4
cmp dword [esp + 0x64], edi
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], ebx
mov word [esp + 0x34], bx
jb 0x42662d
mov ecx, dword [esp + 0x50]
push ecx
call fcn.0043ef40
add esp, 4
cmp dword [esp + 0x80], edi
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], ebx
mov word [esp + 0x50], bx
jb 0x426650
mov edx, dword [esp + 0x6c]
push edx
call fcn.0043ef40
add esp, 4
cmp dword [esp + 0x9c], edi
mov dword [esp + 0x80], esi
mov dword [esp + 0x7c], ebx
mov word [esp + 0x6c], bx
jb 0x426679
mov eax, dword [esp + 0x88]
push eax
call fcn.0043ef40
add esp, 4
cmp dword [esp + 0xb8], edi
mov dword [esp + 0x9c], esi
mov dword [esp + 0x98], ebx
mov word [esp + 0x88], bx
jb 0x4266a8
mov ecx, dword [esp + 0xa4]
push ecx
call fcn.0043ef40
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0xc0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa8]
xor ecx, esp
call fcn.0043ef12
add esp, 0xb8
ret