Function at 0x41253c
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xb
push 0
push 0
dec ecx
jne 0x412544
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
call fcn.00404150
xor eax, eax
push ebp
push 0x412809
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x18]
call fcn.00403bdc
xor eax, eax
push ebp
push 0x41277f
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.kernel32.dll_GetTickCount_1
lea edx, [ebp - 0x38]
call fcn.0040709c
push dword [ebp - 0x38]
lea eax, [ebp - 0x3c]
call fcn.00406fdc
push dword [ebp - 0x3c]
push 0x41281c
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00403e78
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.004078d8
lea edx, [ebp - 0x44]
mov eax, 0x41282c
call fcn.004062fc
push dword [ebp - 0x44]
push 0x412840
push dword [ebp - 0x1c]
lea eax, [ebp - 0x40]
mov edx, 3
call fcn.00403e78
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x28]
call fcn.004078d8
push 0xffffffffffffffff
mov eax, dword [ebp - 0x28]
call fcn.00403d98
push eax
mov eax, dword [ebp - 0x24]
call fcn.00403d98
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.00404b58
lea eax, [ebp - 0x4c]
mov edx, dword [ebp - 0x20]
call fcn.00403d88
mov eax, dword [ebp - 0x4c]
call fcn.0040776c
test al, al
jne 0x41263b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4127a2
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x20]
call fcn.00403990
push eax
mov eax, dword [0x41b140]
mov eax, dword [eax]
call eax
add esp, 8
test eax, eax
jne 0x412759
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0xffffffffffffffff
push 0x412844
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [0x41b2d4]
mov eax, dword [eax]
call eax
add esp, 0x14
test eax, eax
jne 0x412759
jmp 0x412742
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 [0x41b1dc]
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 [0x41b1dc]
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 [0x41b1dc]
mov eax, dword [eax]
call eax
add esp, 8
mov edx, eax
lea eax, [ebp - 0x34]
call fcn.004036dc
push dword [ebp - 0x18]
push 0x412948
lea eax, [ebp - 0x50]
mov edx, dword [ebp - 0x2c]
call fcn.00403d88
push dword [ebp - 0x50]
push 0x412950
lea eax, [ebp - 0x54]
mov edx, dword [ebp - 0x30]
call fcn.00403d88
push dword [ebp - 0x54]
push 0x41295c
lea eax, [ebp - 0x58]
mov edx, dword [ebp - 0x34]
call fcn.00403d88
push dword [ebp - 0x58]
push 0x412968
lea eax, [ebp - 0x18]
mov edx, 8
call fcn.00403e78
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [0x41b384]
mov eax, dword [eax]
call eax
pop ecx
cmp eax, 0x64
je 0x412688
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [0x41b46c]
mov eax, dword [eax]
call eax
pop ecx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [0x41b20c]
mov eax, dword [eax]
call eax
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x412789
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
call fcn.00403c18
mov eax, dword [ebp - 0x28]
call fcn.00403d98
push eax
call sub.kernel32.dll_DeleteFileW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x412810
lea eax, [ebp - 0x58]
mov edx, 4
call fcn.00403bf4
lea eax, [ebp - 0x48]
call fcn.004034e4
lea eax, [ebp - 0x44]
mov edx, 4
call fcn.00403bf4
lea eax, [ebp - 0x34]
mov edx, 3
call fcn.00403508
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00403bf4
lea eax, [ebp - 0x20]
call fcn.004034e4
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00403bf4
lea eax, [ebp - 4]
call fcn.00403bdc
ret