Function at 0x40c2b0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68c2be
mov eax, dword fs:[0]
push eax
sub esp, 0x188
mov eax, dword [0x737100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x148], 0
mov byte [ebp - 0x141], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x98]
push ecx
call fcn.004093d0
add esp, 8
mov dword [ebp - 4], 0
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0xb0]
push eax
call fcn.0040cb40
add esp, 8
mov dword [ebp - 0x154], eax
mov ecx, dword [ebp - 0x154]
mov dword [ebp - 0x158], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x158]
push edx
lea eax, [ebp - 0x68]
push eax
call fcn.0040cae0
add esp, 8
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xb0]
call fcn.00403030
lea ecx, [ebp - 0x68]
call fcn.00404000
cmp eax, 3
jbe 0x40c3a4
push 3
push 0
lea ecx, [ebp - 0xe0]
push ecx
lea ecx, [ebp - 0x68]
call fcn.00402f70
mov dword [ebp - 0x15c], eax
mov edx, dword [ebp - 0x15c]
mov dword [ebp - 0x160], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x148]
or eax, 1
mov dword [ebp - 0x148], eax
mov ecx, dword [ebp - 0x160]
mov dword [ebp - 0x150], ecx
jmp 0x40c3d4
lea edx, [ebp - 0x68]
push edx
lea ecx, [ebp - 0xc8]
call fcn.004030e0
mov dword [ebp - 0x164], eax
mov eax, dword [ebp - 0x148]
or eax, 2
mov dword [ebp - 0x148], eax
mov ecx, dword [ebp - 0x164]
mov dword [ebp - 0x150], ecx
mov edx, dword [ebp - 0x150]
mov dword [ebp - 0x168], edx
mov eax, dword [ebp - 0x168]
push eax
lea ecx, [ebp - 0x80]
call fcn.0040cf70
mov dword [ebp - 4], 5
mov ecx, dword [ebp - 0x148]
and ecx, 2
je 0x40c413
and dword [ebp - 0x148], 0xfffffffd
lea ecx, [ebp - 0xc8]
call fcn.00403030
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x148]
and edx, 1
je 0x40c434
and dword [ebp - 0x148], 0xfffffffe
lea ecx, [ebp - 0xe0]
call fcn.00403030
mov dword [ebp - 0x14c], 0
jmp 0x40c44f
mov eax, dword [ebp - 0x14c]
add eax, 1
mov dword [ebp - 0x14c], eax
cmp dword [ebp - 0x14c], 0xa
jae 0x40c5a3
call fcn.004ead73
xor edx, edx
mov ecx, 0x10000
div ecx
mov dword [ebp - 0x16c], edx
mov edx, dword [ebp - 0x16c]
push edx
push str._04X
push 0x20
lea eax, [ebp - 0x50]
push eax
call fcn.00408120
add esp, 0x10
lea ecx, [ebp - 0x80]
push ecx
lea edx, [ebp - 0x98]
push edx
lea eax, [ebp - 0x140]
push eax
call fcn.0040dc30
add esp, 0xc
mov dword [ebp - 0x170], eax
mov ecx, dword [ebp - 0x170]
mov dword [ebp - 0x174], ecx
mov byte [ebp - 4], 7
lea edx, [ebp - 0x50]
push edx
mov eax, dword [ebp - 0x174]
push eax
lea ecx, [ebp - 0x128]
push ecx
call fcn.0040db20
add esp, 0xc
mov dword [ebp - 0x178], eax
mov edx, dword [ebp - 0x178]
mov dword [ebp - 0x17c], edx
mov byte [ebp - 4], 8
push 0x71ce10
mov eax, dword [ebp - 0x17c]
push eax
lea ecx, [ebp - 0x110]
push ecx
call fcn.0040db20
add esp, 0xc
mov dword [ebp - 0x180], eax
mov edx, dword [ebp - 0x180]
mov dword [ebp - 0x184], edx
mov byte [ebp - 4], 9
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x184]
push ecx
lea edx, [ebp - 0xf8]
push edx
call fcn.0040dcc0
add esp, 0xc
mov dword [ebp - 0x188], eax
mov eax, dword [ebp - 0x188]
push eax
mov ecx, dword [ebp + 0x10]
call fcn.00406030
lea ecx, [ebp - 0xf8]
call fcn.00403030
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x110]
call fcn.00403030
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x128]
call fcn.00403030
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x140]
call fcn.00403030
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.004098d0
add esp, 4
movzx edx, al
test edx, edx
jne 0x40c59e
mov byte [ebp - 0x141], 1
jmp 0x40c5a3
jmp 0x40c440
movzx eax, byte [ebp - 0x141]
test eax, eax
jne 0x40c5ed
mov dword [ebp - 0x18c], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x80]
call fcn.00403030
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.00403030
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x98]
call fcn.00403030
mov eax, dword [ebp - 0x18c]
jmp 0x40c67f
mov ecx, dword [ebp + 0x10]
call fcn.00403020
push eax
mov ecx, dword [ebp + 8]
call fcn.00403020
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x40c645
mov dword [ebp - 0x190], 2
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x80]
call fcn.00403030
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.00403030
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x98]
call fcn.00403030
mov eax, dword [ebp - 0x190]
jmp 0x40c67f
mov dword [ebp - 0x194], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x80]
call fcn.00403030
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.00403030
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x98]
call fcn.00403030
mov eax, dword [ebp - 0x194]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004815ec
mov esp, ebp
pop ebp
ret