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

Disassembly:
push 0xffffffffffffffff
push 0x51efb2
mov eax, dword fs:[0]
push eax
sub esp, 0x2ec
mov eax, dword [0x56b338]
xor eax, esp
mov dword [esp + 0x2e8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x56b338]
xor eax, esp
push eax
lea eax, [esp + 0x300]
mov dword fs:[0], eax
mov esi, dword [esp + 0x310]
mov edi, dword [esp + 0x314]
xor ebx, ebx
cmp esi, ebx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], edi
jne 0x418d12
xor eax, eax
jmp 0x419144
cmp edi, ebx
je 0x418d0b
mov ebp, 7
mov eax, esi
mov dword [esp + 0x18], ebx
mov dword [esp + 0xa8], ebp
mov dword [esp + 0xa4], ebx
mov word [esp + 0x94], bx
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x418d40
sub eax, edx
sar eax, 1
push eax
push esi
lea esi, [esp + 0x98]
call fcn.004021f0
push 3
push 0x5624c8
mov ecx, esi
mov dword [esp + 0x310], ebx
call fcn.00401d70
mov dword [esp + 0x70], ebp
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], bx
mov byte [esp + 0x308], 1
mov eax, edi
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x88], ebx
mov word [esp + 0x78], bx
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x418da0
sub eax, edx
sar eax, 1
push eax
push edi
lea esi, [esp + 0x7c]
call fcn.004021f0
mov eax, esi
push eax
mov byte [esp + 0x30c], 2
call fcn.0040d600
add esp, 4
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov byte [esp + 0x308], 3
mov ecx, dword [esp + 0x78]
mov esi, 8
cmp dword [esp + 0x8c], esi
jae 0x418df7
lea ecx, [esp + 0x78]
lea edx, [esp + 0x1c]
push edx
mov edx, 0x5630c8
call fcn.0040def0
mov eax, dword [esp + 0x98]
add esp, 4
cmp dword [esp + 0xa8], esi
jae 0x418e20
lea eax, [esp + 0x94]
lea ecx, [esp + 0xac]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [esp + 0x30], eax
je 0x419097
mov eax, dword [esp + 0x30]
lea edx, [esp + 0xac]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp eax, ebx
je 0x419097
cmp word [esp + 0xd8], 0x2e
je 0x418e3c
mov ax, word [esp + 0xda]
cmp ax, bx
je 0x418e3c
cmp ax, 0x2e
jne 0x418e7f
cmp word [esp + 0xdc], bx
je 0x418e3c
lea eax, [esp + 0xd8]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x418e90
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0xdc]
push ecx
lea esi, [esp + 0x60]
call fcn.004021f0
test byte [esp + 0xac], 0x10
je 0x418e3c
mov edx, esi
push edx
call fcn.0040d600
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
add esp, 4
cmp esi, eax
jbe 0x418edb
call fcn.0042f791
mov eax, dword [esp + 0x24]
mov ebp, esi
lea ecx, [ecx]
cmp dword [esp + 0x20], eax
mov esi, eax
jbe 0x418ef1
call fcn.0042f791
mov eax, dword [esp + 0x24]
cmp ebp, esi
je 0x418fd0
cmp ebp, eax
jb 0x418f02
call fcn.0042f791
mov edi, 8
cmp dword [ebp + 0x18], edi
jb 0x418f11
mov edx, dword [ebp + 4]
jmp 0x418f14
lea edx, [ebp + 4]
mov eax, edx
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], ebx
mov word [esp + 0x40], bx
lea esi, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x418f30
sub eax, esi
sar eax, 1
push eax
push edx
lea esi, [esp + 0x44]
call fcn.004021f0
mov byte [esp + 0x308], 4
cmp dword [esp + 0x70], edi
mov eax, dword [esp + 0x5c]
jae 0x418f60
lea eax, [esp + 0x5c]
mov edi, dword [esp + 0x6c]
push eax
mov eax, dword [esp + 0x54]
lea ecx, [esp + 0x40]
call fcn.00404b90
test eax, eax
mov byte [esp + 0x308], 3
je 0x418fab
cmp dword [esp + 0x54], 8
jb 0x418f92
mov eax, dword [esp + 0x40]
push eax
call fcn.0042f3a5
add esp, 4
mov eax, dword [esp + 0x24]
cmp ebp, eax
jb 0x418fa3
call fcn.0042f791
mov eax, dword [esp + 0x24]
add ebp, 0x1c
jmp 0x418ee0
cmp dword [esp + 0x54], 8
mov dword [esp + 0x18], 1
jb 0x418e3c
mov ecx, dword [esp + 0x40]
push ecx
call fcn.0042f3a5
add esp, 4
jmp 0x418e3c
cmp dword [esp + 0x18], ebx
jne 0x418e3c
mov esi, dword [esp + 0x38]
mov eax, esi
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], ebx
mov word [esp + 0x40], bx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x418ff4
sub eax, edx
sar eax, 1
push eax
push esi
lea esi, [esp + 0x44]
call fcn.004021f0
push ebx
lea edx, [esp + 0x5c]
push edx
or eax, 0xffffffff
mov byte [esp + 0x310], 5
call fcn.00401bd0
push 1
push str._.
mov ecx, esi
call fcn.00401d70
mov eax, dword [esp + 0x40]
mov esi, 8
cmp dword [esp + 0x54], esi
jae 0x419045
lea eax, [esp + 0x40]
mov ecx, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x30]
push eax
call fcn.00418cb0
cmp eax, ebx
jne 0x41907c
mov byte [esp + 0x308], 3
cmp dword [esp + 0x54], esi
jb 0x418e3c
mov edx, dword [esp + 0x40]
push edx
call fcn.0042f3a5
add esp, 4
jmp 0x418e3c
cmp dword [esp + 0x54], esi
mov dword [esp + 0x18], 1
jb 0x419097
mov eax, dword [esp + 0x40]
push eax
call fcn.0042f3a5
add esp, 4
mov ecx, dword [esp + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x4190c8
mov edx, dword [esp + 0x2c]
mov edi, dword [esp + 0x24]
push edx
call fcn.004051b0
mov eax, dword [esp + 0x24]
add esp, 4
push eax
call fcn.0042f3a5
add esp, 4
mov esi, 8
cmp dword [esp + 0x8c], esi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
jb 0x4190ef
mov ecx, dword [esp + 0x78]
push ecx
call fcn.0042f3a5
add esp, 4
cmp dword [esp + 0x70], esi
mov edi, 7
mov dword [esp + 0x8c], edi
mov dword [esp + 0x88], ebx
mov word [esp + 0x78], bx
jb 0x41911a
mov edx, dword [esp + 0x5c]
push edx
call fcn.0042f3a5
add esp, 4
cmp dword [esp + 0xa8], esi
mov dword [esp + 0x70], edi
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], bx
jb 0x419140
mov eax, dword [esp + 0x94]
push eax
call fcn.0042f3a5
add esp, 4
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x300]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2e8]
xor ecx, esp
call fcn.0042f3aa
add esp, 0x2f8
ret 8