Function at 0x418290
Capabilities:
Delete directory
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44c127
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x198
mov eax, dword [0x463470]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
push ecx
call fcn.00417990
add esp, 8
mov dword [ebp - 4], 0
push 0x450d10
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x168]
push eax
call fcn.00402130
add esp, 0xc
mov dword [ebp - 0x184], eax
lea ecx, [ebp - 0x15c]
push ecx
mov ecx, dword [ebp - 0x184]
call fcn.004106b0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x164], eax
lea ecx, [ebp - 0x168]
call fcn.004027a0
mov dword [ebp - 0x14], 0
cmp dword [ebp - 0x164], 0xffffffff
je 0x41858b
push 0x450d14
lea edx, [ebp - 0x130]
push edx
call fcn.00418890
add esp, 8
test eax, eax
je 0x418359
push 0x450d18
lea eax, [ebp - 0x130]
push eax
call fcn.00418890
add esp, 8
test eax, eax
jne 0x41835e
jmp 0x418495
mov ecx, dword [ebp - 0x15c]
and ecx, 0x10
je 0x4183c1
lea edx, [ebp - 0x130]
push edx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x16c]
push ecx
call fcn.00402130
add esp, 0xc
mov dword [ebp - 0x188], eax
mov edx, dword [ebp - 0x188]
mov dword [ebp - 0x18c], edx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x18c]
call fcn.004106b0
push eax
call fcn.00418290
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x16c]
call fcn.004027a0
jmp 0x418495
lea eax, [ebp - 0x130]
push eax
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x170]
push edx
call fcn.00402130
add esp, 0xc
mov dword [ebp - 0x190], eax
mov ecx, dword [ebp - 0x190]
call fcn.004106b0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x170]
call fcn.004027a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x160], eax
push 3
call fcn.00424170
add esp, 4
movzx eax, al
test eax, eax
jne 0x418420
jmp 0x418495
lea ecx, [ebp - 0x130]
push ecx
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x174]
push eax
call fcn.00402130
add esp, 0xc
mov dword [ebp - 0x194], eax
mov ecx, dword [ebp - 0x194]
mov dword [ebp - 0x198], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x198]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 0x160]
push ecx
mov edx, dword [ebp - 0x14]
push edx
push 0x450d5c
push 0xd8
push 0x450d1c
push 3
call fcn.00424190
add esp, 0xc
push eax
call fcn.004240d0
add esp, 0x14
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x174]
call fcn.004027a0
lea eax, [ebp - 0x15c]
push eax
mov ecx, dword [ebp - 0x164]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x418329
mov edx, dword [ebp - 0x164]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x160], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x178]
push ecx
call fcn.00417900
add esp, 8
mov dword [ebp - 0x19c], eax
mov ecx, dword [ebp - 0x19c]
call fcn.004106b0
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x178]
call fcn.004027a0
push 3
call fcn.00424170
add esp, 4
movzx edx, al
test edx, edx
jne 0x418516
jmp 0x41858b
lea eax, [ebp - 0x130]
push eax
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x17c]
push edx
call fcn.00402130
add esp, 0xc
mov dword [ebp - 0x1a0], eax
mov eax, dword [ebp - 0x1a0]
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x1a4]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 0x160]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
push 0x450db4
push 0xe0
push 0x450d74
push 3
call fcn.00424190
add esp, 0xc
push eax
call fcn.004240d0
add esp, 0x14
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x17c]
call fcn.004027a0
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x180], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004027a0
mov eax, dword [ebp - 0x180]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x18]
call fcn.0042e97e
mov esp, ebp
pop ebp
ret