Function at 0x43b810
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53bcc6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c4
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x180]
call fcn.00406f00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x168]
call fcn.00406f00
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x150]
call fcn.00406f00
mov byte [ebp - 4], 3
push 0x543e60
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0xa8]
push ecx
call fcn.00405220
add esp, 0xc
mov byte [ebp - 4], 4
lea edx, [ebp - 0x3d0]
push edx
lea ecx, [ebp - 0xa8]
call fcn.0040b120
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x43bbb5
mov eax, dword [ebp - 0x3d0]
and eax, 0x10
je 0x43b99c
mov ecx, 2
imul edx, ecx, 0
movzx eax, word [ebp + edx - 0x3a4]
cmp eax, 0x2e
jne 0x43b90c
mov ecx, 2
shl ecx, 0
movzx edx, word [ebp + ecx - 0x3a4]
test edx, edx
je 0x43b997
mov eax, 2
shl eax, 0
movzx ecx, word [ebp + eax - 0x3a4]
cmp ecx, 0x2e
jne 0x43b90c
mov edx, 2
shl edx, 1
movzx eax, word [ebp + edx - 0x3a4]
test eax, eax
je 0x43b997
lea ecx, [ebp - 0x3a4]
push ecx
push 0x543e68
lea edx, [ebp + 8]
push edx
lea eax, [ebp - 0xc0]
push eax
call fcn.00405220
add esp, 0xc
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x1c]
push edx
lea eax, [ebp - 0x90]
push eax
call fcn.004051e0
add esp, 0xc
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xc0]
call fcn.00407a00
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x60], esp
lea edx, [ebp - 0x90]
push edx
call fcn.00406bd0
call fcn.0043b810
add esp, 0x18
lea ecx, [ebp - 0x90]
call fcn.0040b120
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x90]
call fcn.00407a00
jmp 0x43bb9c
lea eax, [ebp - 0x3a4]
push eax
lea ecx, [ebp - 0xf0]
call fcn.00406cf0
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x24], ecx
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x24]
push edx
push 0x543e6c
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0xd8]
push ecx
call fcn.00405220
add esp, 0xc
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x2c], edx
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x5c]
push ecx
call fcn.00436630
add esp, 0xc
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xd8]
call fcn.00407a00
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xf0]
call fcn.00407a00
lea ecx, [ebp - 0x5c]
call fcn.0040b120
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x43bb90
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x5c]
call fcn.0040b120
push eax
push 0x543e70
push 4
push 0x5b0688
call fcn.00410fd0
add esp, 0x14
push 0x543eb8
lea edx, [ebp - 0x3a4]
push edx
lea ecx, [ebp - 0x138]
call fcn.00406cf0
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x34]
push ecx
push 0x543ec4
lea edx, [ebp + 8]
push edx
lea eax, [ebp - 0x120]
push eax
call fcn.00405220
add esp, 0xc
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x3c], ecx
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0x3c]
push edx
lea eax, [ebp - 0x108]
push eax
call fcn.00436630
add esp, 0xc
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x44], ecx
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0x44]
push edx
lea eax, [ebp - 0x78]
push eax
call fcn.004051e0
add esp, 0xc
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x108]
call fcn.00407a00
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x120]
call fcn.00407a00
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x138]
call fcn.00407a00
push 4
lea ecx, [ebp - 0x78]
call fcn.0040b120
push eax
lea ecx, [ebp - 0x5c]
call fcn.0040b120
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x78]
call fcn.0040b120
push eax
lea ecx, [ebp - 0x5c]
call fcn.0040b120
push eax
push 0x543ec8
push 4
push 0x5b0688
call fcn.00410fd0
add esp, 0x1c
lea ecx, [ebp - 0x78]
call fcn.0040b120
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edx, dword [ebp - 0x10]
push edx
lea ecx, [ebp - 0x5c]
call fcn.0040b120
push eax
push str.delete_file:__s___ret:__d___errorcode
push 4
push 0x5b0688
call fcn.00410fd0
add esp, 0x18
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x78]
call fcn.00407a00
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x5c]
call fcn.00407a00
lea eax, [ebp - 0x3d0]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x43b8a4
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp + 8]
call fcn.0040b120
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xa8]
call fcn.00407a00
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x150]
call fcn.00407a00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x168]
call fcn.00407a00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x180]
call fcn.00407a00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00407a00
jmp 0x43bc2a
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret