Function at 0x40fc88
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc44
xor ecx, ecx
mov dword [ebp - 0x3b8], ecx
mov dword [ebp - 0x3bc], ecx
mov dword [ebp - 0x1dc], ecx
mov dword [ebp - 0x1e0], ecx
mov dword [ebp - 0x1e4], ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0x1d4], eax
mov eax, dword [ebp - 0x1d4]
call fcn.00403840
mov eax, dword [ebp - 4]
call fcn.00403840
xor eax, eax
push ebp
push 0x40ffff
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x3b8]
mov eax, dword [ebp - 0x1d4]
call fcn.004068bc
mov edx, dword [ebp - 0x3b8]
lea eax, [ebp - 0x1d4]
call fcn.004034cc
lea edx, [ebp - 0x3b8]
mov eax, dword [ebp - 4]
call fcn.004068bc
mov edx, dword [ebp - 0x3b8]
lea eax, [ebp - 4]
call fcn.004034cc
mov eax, dword [ebp - 0x1d4]
call fcn.004066a8
test al, al
je 0x40ffbe
mov eax, dword [0x4153ac]
cmp dword [eax], 2
jne 0x40fd89
cmp dword [ebp - 4], 0
je 0x40fd6f
push 4
push 0
mov eax, dword [ebp - 4]
call fcn.00403850
push eax
call sub.kernel32.dll_MoveFileExA
push 4
mov eax, dword [ebp - 4]
call fcn.00403850
push eax
mov eax, dword [ebp - 0x1d4]
call fcn.00403850
push eax
call sub.kernel32.dll_MoveFileExA
jmp 0x40ffbe
push 4
push 0
mov eax, dword [ebp - 0x1d4]
call fcn.00403850
push eax
call sub.kernel32.dll_MoveFileExA
jmp 0x40ffbe
lea eax, [ebp - 0x3bc]
call fcn.0041090c
mov eax, dword [ebp - 0x3bc]
lea edx, [ebp - 0x3b8]
call fcn.0040f72c
mov edx, dword [ebp - 0x3b8]
lea eax, [ebp - 0x1dc]
mov ecx, 0x410014
call fcn.004036d8
lea ecx, [ebp - 0x1e0]
mov edx, 0x410028
mov eax, dword [ebp - 0x1dc]
call fcn.00406774
mov eax, dword [ebp - 0x1e0]
call fcn.0040f968
mov byte [ebp - 0x1e5], 0
mov eax, dword [ebp - 0x1dc]
call fcn.004066a8
test al, al
je 0x40fe0a
mov byte [ebp - 0x1e5], 1
mov edx, dword [ebp - 0x1e0]
mov eax, dword [ebp - 0x1dc]
call fcn.004066d0
mov edx, dword [ebp - 0x1dc]
lea eax, [ebp - 0x1d0]
call fcn.00404a36
lea eax, [ebp - 0x1d0]
call fcn.00404cbe
call fcn.00402620
mov byte [ebp - 0x1e6], 0
cmp byte [ebp - 0x1e5], 0
je 0x40ff60
mov edx, dword [ebp - 0x1e0]
lea eax, [ebp - 0x3b4]
call fcn.00404a36
lea eax, [ebp - 0x3b4]
call fcn.00404cb7
call fcn.00402620
mov byte [ebp - 0x1d5], 0
jmp 0x40ff48
lea edx, [ebp - 0x1e4]
lea eax, [ebp - 0x3b4]
call fcn.00403a18
lea eax, [ebp - 0x3b4]
call fcn.00404c54
call fcn.00402620
lea edx, [ebp - 0x3b8]
mov eax, dword [ebp - 0x1e4]
call fcn.00406358
mov edx, dword [ebp - 0x3b8]
lea eax, [ebp - 0x1e4]
call fcn.004034cc
cmp dword [ebp - 0x1e4], 0
je 0x40fed3
mov edx, dword [ebp - 0x1e4]
lea eax, [ebp - 0x1d0]
call fcn.004039f0
call fcn.00404d97
call fcn.00402620
mov edx, 0x410038
mov eax, dword [ebp - 0x1e4]
call fcn.0040629c
test eax, eax
jne 0x40feee
mov byte [ebp - 0x1e6], 1
cmp byte [ebp - 0x1e6], 0
je 0x40ff24
cmp dword [ebp - 0x1e4], 0
je 0x40ff14
lea eax, [ebp - 0x3b4]
call fcn.00404b14
call fcn.00402620
test al, al
je 0x40ff24
cmp byte [ebp - 0x1d5], 0
jne 0x40ff24
push ebp
call fcn.0040f9ac
pop ecx
cmp dword [ebp - 0x1e4], 0
jne 0x40ff48
mov edx, dword [ebp - 0x1e4]
lea eax, [ebp - 0x1d0]
call fcn.004039f0
call fcn.00404d97
call fcn.00402620
lea eax, [ebp - 0x3b4]
call fcn.00404b14
call fcn.00402620
test al, al
je 0x40fe6c
cmp byte [ebp - 0x1e6], 0
jne 0x40ff8a
mov edx, 0x410038
lea eax, [ebp - 0x1d0]
call fcn.004039f0
call fcn.00404d97
call fcn.00402620
push ebp
call fcn.0040f9ac
pop ecx
cmp byte [ebp - 0x1e5], 0
je 0x40ffa3
lea eax, [ebp - 0x3b4]
call fcn.00404ad8
call fcn.00402620
lea eax, [ebp - 0x1d0]
call fcn.00404ad8
call fcn.00402620
mov eax, dword [ebp - 0x1e0]
call fcn.0040f968
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x410006
lea eax, [ebp - 0x3bc]
mov edx, 2
call fcn.00403458
lea eax, [ebp - 0x1e4]
mov edx, 3
call fcn.00403458
lea eax, [ebp - 0x1d4]
call fcn.00403434
lea eax, [ebp - 4]
call fcn.00403434
ret