Function at 0x40fc84
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.00403838
mov eax, dword [ebp - 4]
call fcn.00403838
xor eax, eax
push ebp
push 0x40fffb
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x3b8]
mov eax, dword [ebp - 0x1d4]
call fcn.004068b4
mov edx, dword [ebp - 0x3b8]
lea eax, [ebp - 0x1d4]
call fcn.004034c4
lea edx, [ebp - 0x3b8]
mov eax, dword [ebp - 4]
call fcn.004068b4
mov edx, dword [ebp - 0x3b8]
lea eax, [ebp - 4]
call fcn.004034c4
mov eax, dword [ebp - 0x1d4]
call fcn.004066a0
test al, al
je 0x40ffba
mov eax, dword [0x4153ac]
cmp dword [eax], 2
jne 0x40fd85
cmp dword [ebp - 4], 0
je 0x40fd6b
push 4
push 0
mov eax, dword [ebp - 4]
call fcn.00403848
push eax
call sub.kernel32.dll_MoveFileExA
push 4
mov eax, dword [ebp - 4]
call fcn.00403848
push eax
mov eax, dword [ebp - 0x1d4]
call fcn.00403848
push eax
call sub.kernel32.dll_MoveFileExA
jmp 0x40ffba
push 4
push 0
mov eax, dword [ebp - 0x1d4]
call fcn.00403848
push eax
call sub.kernel32.dll_MoveFileExA
jmp 0x40ffba
lea eax, [ebp - 0x3bc]
call fcn.00410908
mov eax, dword [ebp - 0x3bc]
lea edx, [ebp - 0x3b8]
call fcn.0040f724
mov edx, dword [ebp - 0x3b8]
lea eax, [ebp - 0x1dc]
mov ecx, 0x410010
call fcn.004036d0
lea ecx, [ebp - 0x1e0]
mov edx, 0x410024
mov eax, dword [ebp - 0x1dc]
call fcn.0040676c
mov eax, dword [ebp - 0x1e0]
call fcn.0040f964
mov byte [ebp - 0x1e5], 0
mov eax, dword [ebp - 0x1dc]
call fcn.004066a0
test al, al
je 0x40fe06
mov byte [ebp - 0x1e5], 1
mov edx, dword [ebp - 0x1e0]
mov eax, dword [ebp - 0x1dc]
call fcn.004066c8
mov edx, dword [ebp - 0x1dc]
lea eax, [ebp - 0x1d0]
call fcn.00404a2e
lea eax, [ebp - 0x1d0]
call fcn.00404cb6
call fcn.00402620
mov byte [ebp - 0x1e6], 0
cmp byte [ebp - 0x1e5], 0
je 0x40ff5c
mov edx, dword [ebp - 0x1e0]
lea eax, [ebp - 0x3b4]
call fcn.00404a2e
lea eax, [ebp - 0x3b4]
call fcn.00404caf
call fcn.00402620
mov byte [ebp - 0x1d5], 0
jmp 0x40ff44
lea edx, [ebp - 0x1e4]
lea eax, [ebp - 0x3b4]
call fcn.00403a10
lea eax, [ebp - 0x3b4]
call fcn.00404c4c
call fcn.00402620
lea edx, [ebp - 0x3b8]
mov eax, dword [ebp - 0x1e4]
call fcn.00406350
mov edx, dword [ebp - 0x3b8]
lea eax, [ebp - 0x1e4]
call fcn.004034c4
cmp dword [ebp - 0x1e4], 0
je 0x40fecf
mov edx, dword [ebp - 0x1e4]
lea eax, [ebp - 0x1d0]
call fcn.004039e8
call fcn.00404d8f
call fcn.00402620
mov edx, 0x410034
mov eax, dword [ebp - 0x1e4]
call fcn.00406294
test eax, eax
jne 0x40feea
mov byte [ebp - 0x1e6], 1
cmp byte [ebp - 0x1e6], 0
je 0x40ff20
cmp dword [ebp - 0x1e4], 0
je 0x40ff10
lea eax, [ebp - 0x3b4]
call fcn.00404b0c
call fcn.00402620
test al, al
je 0x40ff20
cmp byte [ebp - 0x1d5], 0
jne 0x40ff20
push ebp
call fcn.0040f9a8
pop ecx
cmp dword [ebp - 0x1e4], 0
jne 0x40ff44
mov edx, dword [ebp - 0x1e4]
lea eax, [ebp - 0x1d0]
call fcn.004039e8
call fcn.00404d8f
call fcn.00402620
lea eax, [ebp - 0x3b4]
call fcn.00404b0c
call fcn.00402620
test al, al
je 0x40fe68
cmp byte [ebp - 0x1e6], 0
jne 0x40ff86
mov edx, 0x410034
lea eax, [ebp - 0x1d0]
call fcn.004039e8
call fcn.00404d8f
call fcn.00402620
push ebp
call fcn.0040f9a8
pop ecx
cmp byte [ebp - 0x1e5], 0
je 0x40ff9f
lea eax, [ebp - 0x3b4]
call fcn.00404ad0
call fcn.00402620
lea eax, [ebp - 0x1d0]
call fcn.00404ad0
call fcn.00402620
mov eax, dword [ebp - 0x1e0]
call fcn.0040f964
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x410002
lea eax, [ebp - 0x3bc]
mov edx, 2
call fcn.00403450
lea eax, [ebp - 0x1e4]
mov edx, 3
call fcn.00403450
lea eax, [ebp - 0x1d4]
call fcn.0040342c
lea eax, [ebp - 4]
call fcn.0040342c
ret