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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x674
mov dword [ebp - 0x678], edx
mov eax, dword [0x440014]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x468]
mov dword [ebp - 0x67c], ecx
push ecx
push 0x43ae12
push 0x104
push eax
mov esi, eax
call fcn.00404340
add esp, 0x10
mov eax, 0x441ab4
mov ebx, 0x4420d0
cmp byte [0x441aac], 0
cmovne ebx, eax
push ebx
call fcn.0041221b
add esp, 4
mov edi, eax
push esi
call fcn.0041221b
add esp, 4
mov dword [ebp - 0x674], eax
lea edx, [edi + eax]
lea ecx, [edi + eax]
add ecx, 2
lea eax, [edx + edx]
add eax, 4
xor edx, edx
dec edx
test ecx, ecx
cmovns edx, eax
push edx
call fcn.004120db
add esp, 4
mov esi, eax
push ebx
push eax
call fcn.004120e4
add esp, 8
lea ebx, [esi + edi*2]
push 0x43adf8
push ebx
call fcn.00420a59
add esp, 8
lea eax, [esi + edi*2]
add eax, 2
lea ecx, [ebp - 0x468]
push ecx
push eax
call fcn.00420a59
add esp, 8
mov eax, dword [ebp - 0x674]
mov word [ebx + eax*2 + 2], 0
lea eax, [ebp - 0x260]
push eax
mov dword [ebp - 0x680], esi
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
xor esi, esi
mov dword [ebp - 0x674], eax
cmp eax, 0xffffffff
je 0x409cbc
lea edi, [ebp - 0x670]
mov ebx, dword [ebp - 0x67c]
push 0x43adfe
lea eax, [ebp - 0x234]
push eax
call fcn.00420a8a
add esp, 8
test eax, eax
je 0x409af5
push 0x43adfc
lea eax, [ebp - 0x234]
push eax
call fcn.00420a8a
add esp, 8
test eax, eax
je 0x409af5
lea eax, [ebp - 0x234]
push eax
push ebx
push 0x43a486
push 0x104
push edi
call fcn.00404340
add esp, 0x14
test byte [ebp - 0x260], 0x10
jne 0x409acc
push edi
call fcn.0041221b
add esp, 4
mov esi, eax
add eax, eax
add eax, 6
push eax
call fcn.00420172
add esp, 4
test eax, eax
je 0x409bfe
mov ebx, eax
mov eax, 0x4379d4
push eax
push ebx
call fcn.004120e4
add esp, 8
lea eax, [ebx + 2]
push edi
push eax
call fcn.00420a59
add esp, 8
lea eax, [ebx + esi*2]
add eax, 2
mov ecx, 0x4379d4
push ecx
push eax
call fcn.00420a59
add esp, 8
mov word [ebx + esi*2 + 4], 0
push 0x18
call fcn.004123f8
add esp, 4
mov edi, eax
movaps xmm0, xmmword [0x437590]
movups xmmword [eax + 4], xmm0
mov dword [eax], 0x437a60
mov dword [eax + 0x14], 0
mov ecx, eax
push ebx
call fcn.00402420
test eax, eax
jne 0x409c6a
push ebx
call fcn.0041fc39
add esp, 4
mov edx, dword [ebp - 0x678]
mov eax, dword [edx + 4]
lea ecx, [eax + 8]
test eax, eax
cmove ecx, edx
mov dword [ecx], edi
mov dword [edx + 4], edi
inc dword [edx + 8]
mov ebx, dword [ebp - 0x67c]
lea edi, [ebp - 0x670]
jmp 0x409af5
push edi
push 0x43adee
push 0x104
push edi
call fcn.00404340
add esp, 0x10
mov ecx, edi
mov edx, dword [ebp - 0x678]
call fcn.004098b0
test eax, eax
jne 0x409c31
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x674]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4099ad
push dword [ebp - 0x674]
call dword [sym.imp.KERNEL32.dll_FindClose]
push ebx
call fcn.0041221b
add esp, 4
mov esi, eax
add eax, eax
add eax, 6
push eax
call fcn.00420172
add esp, 4
test eax, eax
je 0x409bfe
mov edi, eax
mov eax, 0x4379d4
push eax
push edi
call fcn.004120e4
add esp, 8
lea eax, [edi + 2]
push ebx
push eax
call fcn.00420a59
add esp, 8
lea eax, [edi + esi*2]
add eax, 2
mov ecx, 0x4379d4
push ecx
push eax
call fcn.00420a59
add esp, 8
mov word [edi + esi*2 + 4], 0
push 0x18
call fcn.004123f8
add esp, 4
mov ebx, eax
movaps xmm0, xmmword [0x437590]
movups xmmword [eax + 4], xmm0
mov dword [eax], 0x437a80
mov dword [eax + 0x14], 0
mov ecx, eax
push edi
call fcn.00403200
test eax, eax
je 0x409c08
mov esi, eax
mov eax, dword [0x4426f0]
mov ecx, dword [0x440c90]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x409ce1
push esi
push edi
push str.add_dir_entries_Parse_error_on_close:__S__err:__d
push 0x4424e4
call fcn.00410520
add esp, 0x10
push edi
call fcn.0041fc39
add esp, 4
mov eax, dword [ebx]
mov edi, dword [eax]
mov ecx, edi
call dword [section..00cfg]
mov ecx, ebx
push 1
call edi
jmp 0x409cbc
mov esi, 5
jmp 0x409cbc
mov edx, dword [ebp - 0x678]
mov eax, dword [edx + 4]
lea ecx, [eax + 8]
test eax, eax
cmove ecx, edx
mov dword [ecx], ebx
mov dword [edx + 4], ebx
inc dword [edx + 8]
push edi
call fcn.0041fc39
add esp, 4
xor esi, esi
jmp 0x409cbc
mov esi, eax
mov eax, dword [0x4426f0]
mov ecx, dword [0x440c90]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x409d24
push esi
push edi
push str.add_dir_entries_error:__S__err:__d
push 0x4424e4
call fcn.00410520
add esp, 0x10
jmp 0x409cbc
mov esi, eax
mov eax, dword [0x4426f0]
mov ecx, dword [0x440c90]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x409d67
push esi
push ebx
push str.add_dir_entries_Parse_error_on_recurse:__S__err:__d
push 0x4424e4
call fcn.00410520
add esp, 0x10
push ebx
call fcn.0041fc39
add esp, 4
mov eax, dword [edi]
mov ebx, dword [eax]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, edi
push 1
call ebx
push dword [ebp - 0x680]
call fcn.00412428
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00412e03
mov eax, esi
add esp, 0x674
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x4426f0
call fcn.00412457
add esp, 4
cmp dword [0x4426f0], 0xffffffff
jne 0x409bca
mov dword [0x4424e4], 0
push 0x40a110
call fcn.0041261c
add esp, 4
push 0x4426f0
call fcn.004124a9
add esp, 4
jmp 0x409bca
push 0x4426f0
call fcn.00412457
add esp, 4
cmp dword [0x4426f0], 0xffffffff
jne 0x409c54
mov dword [0x4424e4], 0
push 0x40a110
call fcn.0041261c
add esp, 4
push 0x4426f0
call fcn.004124a9
add esp, 4
jmp 0x409c54
push 0x4426f0
call fcn.00412457
add esp, 4
cmp dword [0x4426f0], 0xffffffff
jne 0x409c8d
mov dword [0x4424e4], 0
push 0x40a110
call fcn.0041261c
add esp, 4
push 0x4426f0
call fcn.004124a9
add esp, 4
jmp 0x409c8d