Function at 0x43c810
Capabilities:
Delete directory
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ca2e0
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x50545c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00452618
mov byte [ebp - 4], 1
call fcn.0044fb81
push eax
lea ecx, [ebp - 0x10]
call fcn.00412940
mov byte [ebp - 4], 2
push 0x4d3b3c
lea ecx, [ebp - 0x38]
call fcn.00412370
mov byte [ebp - 4], 3
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x3c]
push edx
call fcn.0040f190
add esp, 0xc
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00412a10
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3c]
call fcn.004129d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
call fcn.004129d0
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x5c], edx
push 0
mov eax, dword [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004526d5
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x43c9a5
lea ecx, [ebp - 0x2c]
call fcn.0045221f
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x2c]
call fcn.004525c2
test eax, eax
jne 0x43c9a0
push 0x10
mov edx, dword [ebp - 0x2c]
lea ecx, [ebp - 0x2c]
mov eax, dword [edx + 0x38]
call eax
test eax, eax
je 0x43c96a
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00452930
mov byte [ebp - 4], 5
push ecx
mov edx, esp
mov dword [ebp - 0x40], esp
mov dword [ebp - 0x68], edx
mov eax, dword [ebp - 0x30]
sub eax, 0x10
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
push ecx
call fcn.00412ee0
add esp, 4
mov dword [ebp - 0x64], eax
mov edx, dword [ebp - 0x64]
add edx, 0x10
mov eax, dword [ebp - 0x68]
mov dword [eax], edx
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x94], ecx
mov ecx, dword [ebp - 0x8c]
call fcn.0043c810
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
call fcn.004129d0
jmp 0x43c9a0
lea edx, [ebp - 0x34]
push edx
lea ecx, [ebp - 0x2c]
call fcn.00452930
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x70]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x43c998
push 4
push 0
mov edx, dword [ebp - 0x34]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [ebp - 0x34]
call fcn.004129d0
jmp 0x43c8d6
lea ecx, [ebp - 0x2c]
call fcn.00452139
mov eax, dword [ebp + 8]
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x78]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x43ca02
push 4
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov dword [ebp - 0x44], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.004129d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00452641
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004129d0
mov eax, dword [ebp - 0x44]
jmp 0x43ca33
mov dword [ebp - 0x48], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.004129d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00452641
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004129d0
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4