Function at 0x41256c
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xb
push 0
push 0
dec ecx
jne 0x412574
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
call fcn.004040f4
xor eax, eax
push ebp
push 0x412839
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x18]
call fcn.00403b80
xor eax, eax
push ebp
push 0x4127af
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.kernel32.dll_GetTickCount_1
lea edx, [ebp - 0x38]
call fcn.00406fdc
push dword [ebp - 0x38]
lea eax, [ebp - 0x3c]
call fcn.00406f1c
push dword [ebp - 0x3c]
push 0x41284c
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00403e1c
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.0040781c
lea edx, [ebp - 0x44]
mov eax, 0x41285c
call fcn.004062d8
push dword [ebp - 0x44]
push 0x412870
push dword [ebp - 0x1c]
lea eax, [ebp - 0x40]
mov edx, 3
call fcn.00403e1c
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x28]
call fcn.0040781c
push 0xffffffffffffffff
mov eax, dword [ebp - 0x28]
call fcn.00403d3c
push eax
mov eax, dword [ebp - 0x24]
call fcn.00403d3c
push eax
call sub.kernel32.dll_CopyFileW
lea eax, [ebp - 0x48]
mov edx, dword [ebp - 0x28]
call fcn.0040377c
mov eax, dword [ebp - 0x48]
lea edx, [ebp - 0x20]
call fcn.00404afc
lea eax, [ebp - 0x4c]
mov edx, dword [ebp - 0x20]
call fcn.00403d2c
mov eax, dword [ebp - 0x4c]
call fcn.004076b0
test al, al
jne 0x41266b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4127d2
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x20]
call fcn.00403990
push eax
mov eax, dword [0x41b55c]
mov eax, dword [eax]
call eax
add esp, 8
test eax, eax
jne 0x412789
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0xffffffffffffffff
push 0x412874
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [0x41b5cc]
mov eax, dword [eax]
call eax
add esp, 0x14
test eax, eax
jne 0x412789
jmp 0x412772
lea eax, [ebp - 0x2c]
call fcn.004034e4
lea eax, [ebp - 0x30]
call fcn.004034e4
lea eax, [ebp - 0x34]
call fcn.004034e4
push 0
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [0x41b588]
mov eax, dword [eax]
call eax
add esp, 8
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.004036dc
push 1
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [0x41b588]
mov eax, dword [eax]
call eax
add esp, 8
mov edx, eax
lea eax, [ebp - 0x30]
call fcn.004036dc
push 2
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [0x41b588]
mov eax, dword [eax]
call eax
add esp, 8
mov edx, eax
lea eax, [ebp - 0x34]
call fcn.004036dc
push dword [ebp - 0x18]
push 0x412978
lea eax, [ebp - 0x50]
mov edx, dword [ebp - 0x2c]
call fcn.00403d2c
push dword [ebp - 0x50]
push 0x412980
lea eax, [ebp - 0x54]
mov edx, dword [ebp - 0x30]
call fcn.00403d2c
push dword [ebp - 0x54]
push 0x41298c
lea eax, [ebp - 0x58]
mov edx, dword [ebp - 0x34]
call fcn.00403d2c
push dword [ebp - 0x58]
push 0x412998
lea eax, [ebp - 0x18]
mov edx, 8
call fcn.00403e1c
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [0x41b600]
mov eax, dword [eax]
call eax
pop ecx
cmp eax, 0x64
je 0x4126b8
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [0x41b654]
mov eax, dword [eax]
call eax
pop ecx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [0x41b590]
mov eax, dword [eax]
call eax
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4127b9
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
call fcn.00403bbc
mov eax, dword [ebp - 0x28]
call fcn.00403d3c
push eax
call sub.kernel32.dll_DeleteFileW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x412840
lea eax, [ebp - 0x58]
mov edx, 4
call fcn.00403b98
lea eax, [ebp - 0x48]
call fcn.004034e4
lea eax, [ebp - 0x44]
mov edx, 4
call fcn.00403b98
lea eax, [ebp - 0x34]
mov edx, 3
call fcn.00403508
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00403b98
lea eax, [ebp - 0x20]
call fcn.004034e4
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00403b98
lea eax, [ebp - 4]
call fcn.00403b80
ret