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

Disassembly:
push 0x2a8
mov eax, 0x595888
call fcn.004103bb
mov dword [ebp - 0x2ac], ecx
lea eax, [ebp + 8]
xor ebx, ebx
push eax
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], ebx
call fcn.00401658
mov byte [ebp - 4], 1
call fcn.004111a6
test al, al
je 0x403184
pop esi
pop eax
push edx
push edx
push esi
pop esp
pop eax
pop edi
pop esi
pop esp
push esi
pop eax
push esp
push eax
push ebp
push ebx
pop ebp
push edx
push esp
pop edx
push edx
pop edx
push edx
push eax
pop eax
pop ecx
push esp
call fcn.0041170a
test al, al
je 0x4031aa
push edx
pop ebp
pop ebx
pop ecx
pop ebx
push ebx
pop ebx
push edi
pop esi
push edx
push ebx
pop ebp
push ecx
push ecx
pop esp
pop edi
pop edx
push eax
pop ebp
pop esi
pop edi
push edx
pop ebp
push ebp
pop eax
push ebx
push edx
push eax
pop eax
mov esi, 0x59a694
push esi
call fcn.00433f51
pop ecx
push eax
push esi
lea ecx, [ebp - 0x58]
call fcn.00402595
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x2a8]
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x2b0], eax
cmp eax, 0xffffffff
je 0x403396
push 0x2e
pop ebx
lea ecx, [ebp - 0x2a8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x403396
cmp word [ebp - 0x27c], bx
je 0x40338b
cmp word [ebp - 0x27a], 0
je 0x40338b
cmp word [ebp - 0x27a], bx
jne 0x403233
cmp word [ebp - 0x278], 0
je 0x40338b
call fcn.004110d7
test al, al
je 0x403259
pop esp
pop ebx
push edx
pop ebx
pop ecx
push edx
push eax
push ebx
pop eax
pop edi
pop edi
push esi
push esp
push edx
push ecx
pop ecx
push ebx
pop edi
pop ebx
push esp
pop ebp
pop esi
pop eax
pop esp
push eax
pop eax
push edx
pop eax
push ebp
call fcn.004116c5
test al, al
je 0x40327b
pop eax
pop ecx
push eax
pop ebp
push edx
push ebp
pop eax
pop esp
pop ebp
push edi
pop ebx
pop ebx
pop edi
push ecx
push ebp
push esp
push eax
push esp
pop eax
pop edi
pop ebx
pop edi
push esi
push edx
pop esi
call fcn.00411275
test al, al
je 0x4032a0
pop eax
pop ecx
pop ebp
pop ecx
pop ecx
push ebx
pop eax
pop edx
pop edx
push esi
pop eax
pop esi
pop ebx
pop esp
pop eax
push ebx
pop ebp
push esi
pop ebp
push edi
push edx
pop edi
pop ecx
push ebp
push esp
push esi
pop edi
push ebp
xor eax, eax
mov dword [ebp - 0x2c], 7
xor ebx, ebx
mov word [ebp - 0x40], ax
mov dword [ebp - 0x30], ebx
cmp word [ebp - 0x27c], ax
je 0x4032c8
lea eax, [ebp - 0x27c]
push eax
call fcn.00433f51
pop ecx
push eax
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x40]
call fcn.00401c7b
test byte [ebp - 0x2a8], 0x10
lea eax, [ebp + 8]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
push eax
je 0x403335
call fcn.00401658
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x28]
call fcn.004024f6
mov esi, 0x59a69c
push esi
call fcn.00433f51
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00402595
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.00401658
mov ecx, dword [ebp - 0x2ac]
call fcn.00403136
jmp 0x40336e
call fcn.00401658
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x28]
call fcn.004024f6
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00401680
mov ecx, dword [ebp - 0x2ac]
call fcn.00403431
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.00401b31
push ebx
push 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.00401b31
push 0x2e
pop ebx
mov eax, dword [ebp - 0x2b0]
jmp 0x4031eb
call fcn.0041156c
test al, al
je 0x4033be
pop ecx
push esp
pop esi
push esi
pop esp
pop esp
pop ecx
pop esp
push ebp
push ecx
push ecx
push edx
pop eax
push ebx
pop esp
push ebx
pop eax
pop ebp
pop esp
pop esi
pop esp
pop ecx
pop ebp
push ebp
pop esp
push ebx
push eax
push edx
pop ebp
pop edi
pop edx
call fcn.004115f6
test al, al
je 0x4033d9
push ecx
pop esp
pop edi
pop esp
pop esi
pop ebx
push esp
pop ebp
pop esi
pop eax
push ecx
pop ebx
push esi
push ecx
push ebp
push eax
pop ebx
push eax
push dword [ebp - 0x2b0]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x403411
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push 4
cmovae eax, dword [ebp + 8]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 0
push 1
lea ecx, [ebp - 0x58]
call fcn.00401b31
push 0
push 1
lea ecx, [ebp + 8]
call fcn.00401b31
call fcn.00410376
ret 0x18