Function at 0x407280
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x594442
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x616738]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x48], ecx
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.0056f523
add esp, 8
cmp eax, 0xffffffff
jne 0x4072ef
push 1
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x28]
push edx
call fcn.00496560
add esp, 0xc
lea ecx, [ebp - 0x28]
call fcn.00408330
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.0056f523
add esp, 8
cmp eax, 0xffffffff
jne 0x4072ef
xor eax, eax
jmp 0x4074be
mov dword [ebp - 0x14], 1
push 0x5a1b91
lea ecx, [ebp - 0x20]
call fcn.00408ff0
mov dword [ebp - 4], 0
push 0x5a1b92
lea ecx, [ebp - 0x24]
call fcn.00408ff0
mov byte [ebp - 4], 1
push 0x5a23bc
lea ecx, [ebp - 0x1c]
call fcn.00408ff0
mov byte [ebp - 4], 2
push 0x5a1b93
lea ecx, [ebp - 0x18]
call fcn.00408ff0
mov byte [ebp - 4], 3
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0x10]
lea ecx, [ebp + ecx*4 - 0x1c]
call fcn.00408290
movzx edx, al
test edx, edx
jne 0x407484
mov eax, dword [ebp - 0x10]
lea ecx, [ebp + eax*4 - 0x1c]
push ecx
mov edx, esp
mov dword [ebp - 0x2c], esp
push ecx
mov ecx, edx
call fcn.00408fd0
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 4
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push ecx
call fcn.0049a490
add esp, 4
mov dword [ebp - 0x54], eax
lea edx, [ebp - 0x34]
push edx
mov byte [ebp - 4], 3
call fcn.00499b70
add esp, 0xc
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x5c]
push ecx
lea ecx, [ebp - 0x20]
call fcn.00409070
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.00408330
mov edx, dword [ebp - 0x10]
lea eax, [ebp + edx*4 - 0x1c]
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
push eax
call fcn.00408fd0
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x64], ecx
mov byte [ebp - 4], 6
push ecx
mov ecx, esp
mov dword [ebp - 0x3c], esp
mov edx, dword [ebp + 8]
push edx
call fcn.00408ff0
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x40]
push eax
mov byte [ebp - 4], 3
call fcn.00499b70
add esp, 0xc
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x70], ecx
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x70]
push edx
lea ecx, [ebp - 0x24]
call fcn.00409070
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.00408330
lea ecx, [ebp - 0x24]
call fcn.004090f0
push eax
call fcn.00488810
add esp, 4
test eax, eax
je 0x40744f
lea ecx, [ebp - 0x24]
call fcn.004090f0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
lea ecx, [ebp - 0x24]
call fcn.004090f0
push eax
lea ecx, [ebp - 0x20]
call fcn.004090f0
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x407476
mov dword [ebp - 0x14], 0
jmp 0x407484
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
jmp 0x407344
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x44], ecx
mov byte [ebp - 4], 1
push fcn.00408330
push 2
push 4
lea edx, [ebp - 0x1c]
push edx
call fcn.0056f3b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.00408330
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00408330
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4