Function at 0x4097c0
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 [0x43d00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x468]
mov dword [ebp - 0x67c], ecx
push ecx
push 0x4385aa
push 0x104
push eax
mov edi, eax
call fcn.00403ef0
add esp, 0x10
cmp byte [0x43ee58], 0
mov eax, 0x43ee60
mov ebx, 0x43f47c
cmovne ebx, eax
push ebx
call fcn.00420010
add esp, 4
mov esi, eax
push edi
call fcn.00420010
add esp, 4
lea edx, [esi + eax + 2]
mov ecx, 0xffffffff
mov dword [ebp - 0x674], eax
add edx, edx
cmovae ecx, edx
push ecx
call fcn.00412763
add esp, 4
mov edi, eax
push ebx
push eax
call fcn.0041ffee
add esp, 8
lea ebx, [edi + esi*2]
push 0x438590
push ebx
call fcn.0041ff7d
add esp, 8
lea ecx, [ebp - 0x468]
lea eax, [edi + esi*2 + 2]
push ecx
push eax
call fcn.0041ff7d
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], edi
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
xor esi, esi
cmp eax, 0xffffffff
mov dword [ebp - 0x674], eax
je 0x409bc1
mov ebx, dword [ebp - 0x67c]
lea edi, [ebp - 0x670]
jmp 0x4098fb
push edi
push 0x438586
push 0x104
push edi
call fcn.00403ef0
add esp, 0x10
mov edx, dword [ebp - 0x678]
mov ecx, edi
call fcn.004097c0
test eax, eax
jne 0x409b40
nop dword [eax]
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x674]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x409a21
push 0x438596
lea eax, [ebp - 0x234]
push eax
call fcn.0041ffae
add esp, 8
test eax, eax
je 0x4098e0
push 0x438594
lea eax, [ebp - 0x234]
push eax
call fcn.0041ffae
add esp, 8
test eax, eax
je 0x4098e0
lea eax, [ebp - 0x234]
push eax
push ebx
push 0x437c90
push 0x104
push edi
call fcn.00403ef0
add esp, 0x14
test byte [ebp - 0x260], 0x10
jne 0x4098b4
push edi
call fcn.00420010
add esp, 4
mov esi, eax
lea eax, [eax + eax + 6]
push eax
call fcn.0041facb
add esp, 4
test eax, eax
je 0x409b0d
mov ebx, eax
push 0x4352b4
push eax
call fcn.0041ffee
add esp, 8
lea eax, [ebx + 2]
push edi
push eax
call fcn.0041ff7d
add esp, 8
lea eax, [ebx + esi*2 + 2]
push 0x4352b4
push eax
call fcn.0041ff7d
add esp, 8
mov word [ebx + esi*2 + 4], 0
push 0x18
call fcn.0041272e
add esp, 4
mov edi, eax
mov dword [eax + 4], 1
mov dword [eax + 8], 0
mov dword [eax], 0x435370
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov ecx, eax
push ebx
call fcn.00402020
test eax, eax
jne 0x409b79
push ebx
call fcn.0041f641
add esp, 4
mov ecx, dword [ebp - 0x678]
mov eax, dword [ecx + 4]
test eax, eax
lea eax, [eax + 8]
cmove eax, ecx
mov dword [eax], edi
mov dword [ecx + 4], edi
inc dword [ecx + 8]
lea edi, [ebp - 0x670]
mov ebx, dword [ebp - 0x67c]
jmp 0x4098e0
push dword [ebp - 0x674]
call dword [sym.imp.KERNEL32.dll_FindClose]
push ebx
call fcn.00420010
add esp, 4
mov esi, eax
lea eax, [eax + eax + 6]
push eax
call fcn.0041facb
add esp, 4
test eax, eax
je 0x409b0d
mov edi, eax
push 0x4352b4
push eax
call fcn.0041ffee
add esp, 8
lea eax, [edi + 2]
push ebx
push eax
call fcn.0041ff7d
add esp, 8
lea eax, [edi + esi*2 + 2]
push 0x4352b4
push eax
call fcn.0041ff7d
add esp, 8
mov word [edi + esi*2 + 4], 0
push 0x18
call fcn.0041272e
add esp, 4
mov ebx, eax
mov dword [eax + 4], 1
mov dword [eax + 8], 0
mov dword [eax], 0x435390
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov ecx, eax
push edi
call fcn.00402da0
test eax, eax
je 0x409b17
mov ecx, dword [0x43db8c]
mov edx, dword fs:[0x2c]
mov esi, eax
mov eax, dword [0x43fa9c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x409be6
push esi
push edi
push str.add_dir_entries_Parse_error_on_close:__S__err:__d
push 0x43f890
call fcn.00410af0
add esp, 0x10
push edi
call fcn.0041f641
add esp, 4
mov eax, dword [ebx]
mov ecx, ebx
jmp 0x409bbd
mov esi, 5
jmp 0x409bc1
mov ecx, dword [ebp - 0x678]
mov eax, dword [ecx + 4]
test eax, eax
lea eax, [eax + 8]
cmove eax, ecx
mov dword [eax], ebx
mov dword [ecx + 4], ebx
inc dword [ecx + 8]
push edi
call fcn.0041f641
add esp, 4
xor esi, esi
jmp 0x409bc1
mov ecx, dword [0x43db8c]
mov edx, dword fs:[0x2c]
mov esi, eax
mov eax, dword [0x43fa9c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x409c29
push esi
push edi
push str.add_dir_entries_error:__S__err:__d
push 0x43f890
call fcn.00410af0
add esp, 0x10
jmp 0x409bc1
mov ecx, dword [0x43db8c]
mov edx, dword fs:[0x2c]
mov esi, eax
mov eax, dword [0x43fa9c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x409c6c
push esi
push ebx
push str.add_dir_entries_Parse_error_on_recurse:__S__err:__d
push 0x43f890
call fcn.00410af0
add esp, 0x10
push ebx
call fcn.0041f641
add esp, 4
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
push dword [ebp - 0x680]
call fcn.0041275e
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00412fa1
mov eax, esi
add esp, 0x674
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x43fa9c
call fcn.004127a7
add esp, 4
cmp dword [0x43fa9c], 0xffffffff
jne 0x409ae7
mov dword [0x43f890], 0
push 0x40a010
call fcn.00412a1c
add esp, 4
push 0x43fa9c
call fcn.004127f9
add esp, 4
jmp 0x409ae7
push 0x43fa9c
call fcn.004127a7
add esp, 4
cmp dword [0x43fa9c], 0xffffffff
jne 0x409b63
mov dword [0x43f890], 0
push 0x40a010
call fcn.00412a1c
add esp, 4
push 0x43fa9c
call fcn.004127f9
add esp, 4
jmp 0x409b63
push 0x43fa9c
call fcn.004127a7
add esp, 4
cmp dword [0x43fa9c], 0xffffffff
jne 0x409b9c
mov dword [0x43f890], 0
push 0x40a010
call fcn.00412a1c
add esp, 4
push 0x43fa9c
call fcn.004127f9
add esp, 4
jmp 0x409b9c