Function at 0x418a20
Capabilities:
Enumerate files on windows
Enumerate files recursively
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x51e5c2
mov eax, dword fs:[0]
push eax
sub esp, 0x2f4
mov eax, dword [0x56a338]
xor eax, esp
mov dword [esp + 0x2f0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x56a338]
xor eax, esp
push eax
lea eax, [esp + 0x308]
mov dword fs:[0], eax
mov esi, dword [esp + 0x318]
mov edi, dword [esp + 0x31c]
xor ebx, ebx
cmp esi, ebx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], esi
mov dword [esp + 0x30], edi
jne 0x418a82
xor eax, eax
jmp 0x418ea1
cmp edi, ebx
je 0x418a7b
mov ebp, 7
mov eax, esi
mov dword [esp + 0x28], ebx
mov dword [esp + 0xb0], ebp
mov dword [esp + 0xac], ebx
mov word [esp + 0x9c], bx
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x418ab0
sub eax, edx
sar eax, 1
push eax
push esi
lea esi, [esp + 0xa0]
call fcn.004021f0
push 3
push 0x5614b0
mov ecx, esi
mov dword [esp + 0x318], ebx
call fcn.00401d70
mov dword [esp + 0x78], ebp
mov dword [esp + 0x74], ebx
mov word [esp + 0x64], bx
mov byte [esp + 0x310], 1
mov eax, edi
mov dword [esp + 0x94], ebp
mov dword [esp + 0x90], ebx
mov word [esp + 0x80], bx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x418b12
sub eax, edx
sar eax, 1
push eax
push edi
lea esi, [esp + 0x84]
call fcn.004021f0
mov eax, esi
push eax
mov byte [esp + 0x314], 2
call fcn.0040d530
add esp, 4
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov byte [esp + 0x310], 3
mov ecx, dword [esp + 0x80]
mov ebp, 8
cmp dword [esp + 0x94], ebp
jae 0x418b72
lea ecx, [esp + 0x80]
lea edx, [esp + 0x18]
push edx
mov edx, 0x561f88
call fcn.0040de20
mov eax, dword [esp + 0x20]
add esp, 4
cmp eax, ebx
jne 0x418b92
mov dword [esp + 0x38], ebx
jmp 0x418baf
mov ecx, dword [esp + 0x20]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x38], eax
cmp dword [esp + 0xb0], ebp
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x2c], ebx
jae 0x418bca
lea eax, [esp + 0x9c]
lea ecx, [esp + 0xb4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [esp + 0x34], eax
je 0x418ddd
jmp 0x418bf0
mov eax, dword [esp + 0x34]
lea edx, [esp + 0xb4]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp eax, ebx
je 0x418ddd
cmp word [esp + 0xe0], 0x2e
je 0x418bf0
mov ax, word [esp + 0xe2]
cmp ax, bx
je 0x418bf0
cmp ax, 0x2e
jne 0x418c33
cmp word [esp + 0xe4], bx
je 0x418bf0
lea eax, [esp + 0xe0]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x418c40
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0xe4]
push ecx
lea esi, [esp + 0x68]
call fcn.004021f0
test byte [esp + 0xb4], 0x10
je 0x418cd4
mov edx, dword [esp + 0x40]
lea eax, [esp + 0x44]
call fcn.00401b60
mov edx, esi
push ebx
push edx
or eax, 0xffffffff
lea esi, [esp + 0x4c]
mov byte [esp + 0x318], 4
call fcn.00401bd0
mov eax, esi
push eax
mov edx, str._.
call fcn.00401d40
cmp dword [esp + 0x5c], ebp
mov eax, dword [esp + 0x48]
jae 0x418cab
lea eax, [esp + 0x48]
mov ecx, dword [esp + 0x3c]
push edi
push eax
call fcn.00418a20
cmp eax, ebx
lea ecx, [esp + 0x44]
jne 0x418dd0
mov byte [esp + 0x310], 3
call fcn.004022c0
jmp 0x418bf0
lea ecx, [esp + 0x60]
push ecx
call fcn.0040d530
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
add esp, 4
cmp esi, eax
jbe 0x418cf6
call fcn.0042f021
mov eax, dword [esp + 0x20]
mov ebp, esi
cmp dword [esp + 0x1c], eax
mov esi, eax
jbe 0x418d09
call fcn.0042f021
mov eax, dword [esp + 0x20]
cmp ebp, esi
je 0x418dc6
cmp ebp, eax
jb 0x418d1a
call fcn.0042f021
mov edi, 8
cmp dword [ebp + 0x18], edi
jb 0x418d29
mov edx, dword [ebp + 4]
jmp 0x418d2c
lea edx, [ebp + 4]
mov eax, edx
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], ebx
mov word [esp + 0x48], bx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x418d42
sub eax, esi
sar eax, 1
push eax
push edx
lea esi, [esp + 0x4c]
call fcn.004021f0
mov byte [esp + 0x310], 5
cmp dword [esp + 0x78], edi
mov eax, dword [esp + 0x64]
jae 0x418d72
lea eax, [esp + 0x64]
mov edi, dword [esp + 0x74]
push eax
mov eax, dword [esp + 0x5c]
lea ecx, [esp + 0x48]
call fcn.00404b00
test eax, eax
jne 0x418d8d
add dword [esp + 0x2c], 1
mov byte [esp + 0x310], 3
cmp dword [esp + 0x5c], 8
jb 0x418da9
mov edx, dword [esp + 0x48]
push edx
call fcn.0042eca7
add esp, 4
mov eax, dword [esp + 0x20]
cmp ebp, eax
jb 0x418dba
call fcn.0042f021
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x30]
add ebp, 0x1c
jmp 0x418cf8
mov ebp, 8
jmp 0x418bf0
mov dword [esp + 0x28], 1
call fcn.004022c0
mov eax, dword [esp + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x2c]
cmp eax, ebx
jle 0x418dfe
cmp eax, dword [esp + 0x38]
jl 0x418dfe
mov dword [esp + 0x28], 1
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x418e24
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x20]
push ecx
call fcn.00405120
mov edx, dword [esp + 0x20]
add esp, 4
push edx
call fcn.0042eca7
add esp, 4
cmp dword [esp + 0x94], ebp
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
jb 0x418e49
mov eax, dword [esp + 0x80]
push eax
call fcn.0042eca7
add esp, 4
cmp dword [esp + 0x78], ebp
mov esi, 7
mov dword [esp + 0x94], esi
mov dword [esp + 0x90], ebx
mov word [esp + 0x80], bx
jb 0x418e77
mov ecx, dword [esp + 0x64]
push ecx
call fcn.0042eca7
add esp, 4
cmp dword [esp + 0xb0], ebp
mov dword [esp + 0x78], esi
mov dword [esp + 0x74], ebx
mov word [esp + 0x64], bx
jb 0x418e9d
mov edx, dword [esp + 0x9c]
push edx
call fcn.0042eca7
add esp, 4
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x308]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2f0]
xor ecx, esp
call fcn.0042eb95
add esp, 0x300
ret 8