Function at 0x4811e0
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x513346
mov eax, dword fs:[0]
push eax
sub esp, 0x40c
mov eax, dword [0x574a28]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x418], ecx
mov ecx, dword [ebp + 8]
call fcn.0041bdd0
movzx eax, al
test eax, eax
je 0x481227
xor al, al
jmp 0x48150b
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x280]
call fcn.00413250
mov dword [ebp - 4], 0
push 0x52d05c
lea ecx, [ebp - 0x280]
call fcn.00421860
lea edx, [ebp - 0x264]
push edx
lea ecx, [ebp - 0x280]
call fcn.00414aa0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x481293
mov byte [ebp - 0x411], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x280]
call fcn.00413280
mov al, byte [ebp - 0x411]
jmp 0x48150b
mov eax, dword [ebp - 0x264]
and eax, 0x10
je 0x48132d
push 0x52d064
lea ecx, [ebp - 0x238]
push ecx
call fcn.004d0de1
add esp, 8
test eax, eax
je 0x481328
push 0x52d068
lea edx, [ebp - 0x238]
push edx
call fcn.004d0de1
add esp, 8
test eax, eax
je 0x481328
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x29c]
call fcn.00413250
mov byte [ebp - 4], 1
push 0x52d070
lea ecx, [ebp - 0x29c]
call fcn.00421860
lea ecx, [ebp - 0x238]
push ecx
lea ecx, [ebp - 0x29c]
call fcn.00421860
lea edx, [ebp - 0x29c]
push edx
mov ecx, dword [ebp - 0x418]
call fcn.004811e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x29c]
call fcn.00413280
jmp 0x4814c9
xor eax, eax
mov word [ebp - 0x3f4], ax
push 0xc6
push 0
lea ecx, [ebp - 0x3f2]
push ecx
call fcn.004cb660
add esp, 0xc
mov byte [ebp - 0x324], 0
push 0x63
push 0
lea edx, [ebp - 0x323]
push edx
call fcn.004cb660
add esp, 0xc
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x3f4]
push ecx
call fcn.00474c40
push 0
push 0
push 0x64
lea edx, [ebp - 0x324]
push edx
push 0xffffffffffffffff
lea eax, [ebp - 0x3f4]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x410]
call fcn.00413250
mov byte [ebp - 4], 2
push 0x52d074
lea ecx, [ebp - 0x410]
call fcn.00421860
lea edx, [ebp - 0x238]
push edx
lea ecx, [ebp - 0x410]
call fcn.00421860
lea ecx, [ebp - 0x410]
call fcn.00414aa0
push eax
lea ecx, [ebp - 0x328]
call fcn.00470820
mov byte [ebp - 4], 3
lea eax, [ebp - 0x328]
push eax
mov ecx, dword [ebp - 0x418]
call fcn.00480e10
movzx ecx, al
test ecx, ecx
je 0x481410
mov edx, dword [ebp - 0x418]
movzx eax, byte [edx + 0x54]
test eax, eax
jne 0x481437
lea ecx, [ebp - 0x328]
push ecx
mov ecx, dword [ebp - 0x418]
call fcn.00480e10
movzx edx, al
test edx, edx
jne 0x481457
mov eax, dword [ebp - 0x418]
movzx ecx, byte [eax + 0x54]
test ecx, ecx
jne 0x481457
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x328]
call fcn.004708a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x410]
call fcn.00413280
jmp 0x4814c9
lea ecx, [ebp - 0x2bc]
call fcn.00481560
mov byte [ebp - 4], 4
lea edx, [ebp - 0x410]
push edx
lea ecx, [ebp - 0x2bc]
call fcn.004132b0
mov eax, dword [ebp - 0x418]
mov ecx, dword [eax + 0x58]
mov dword [ebp - 0x2a0], ecx
lea edx, [ebp - 0x2bc]
push edx
mov eax, dword [ebp - 0x418]
mov ecx, dword [eax + 0x50]
call fcn.004815d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2bc]
call fcn.00480070
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x328]
call fcn.004708a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x410]
call fcn.00413280
lea ecx, [ebp - 0x264]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x481293
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 0x412], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x280]
call fcn.00413280
mov al, byte [ebp - 0x412]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004ca80c
mov esp, ebp
pop ebp
ret 4