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

Disassembly:
push 0x2c0
mov eax, 0x508f82
call fcn.004e3d69
mov eax, dword [ebp + 0x1c]
mov ebx, dword [ebp + 0x20]
mov edi, ecx
mov dword [ebp - 0x270], eax
mov dword [ebp - 4], 1
call fcn.004be6f3
push eax
lea ecx, [ebp - 0x268]
call fcn.004027f9
lea eax, [ebp - 0x2cc]
push eax
mov byte [ebp - 4], 2
call fcn.004375cf
and dword [ebp - 0x26c], 0
push 0x5b34a8
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x274]
push eax
mov byte [ebp - 4], 3
call fcn.00402187
add esp, 0xc
push eax
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 4
call fcn.004025da
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x274]
add ecx, 0xfffffff0
call fcn.0040285b
mov esi, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea eax, [ebp - 0x264]
push eax
push dword [ebp - 0x268]
call esi
mov dword [ebp - 0x278], eax
cmp eax, 0xffffffff
je 0x437b25
mov ecx, 0x5af644
lea eax, [ebp - 0x238]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4379b1
test dx, dx
je 0x4379ad
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4379b1
add eax, 4
add ecx, 4
test dx, dx
jne 0x43798b
xor eax, eax
jmp 0x4379b6
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x437aee
mov ecx, 0x5bc960
lea eax, [ebp - 0x238]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4379ef
test dx, dx
je 0x4379eb
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4379ef
add eax, 4
add ecx, 4
test dx, dx
jne 0x4379c9
xor eax, eax
jmp 0x4379f4
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x437aee
test byte [ebp - 0x264], 0x10
je 0x437aee
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x27c]
push eax
call fcn.00402187
add esp, 0xc
push eax
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 5
call fcn.004025da
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x27c]
add ecx, 0xfffffff0
call fcn.0040285b
cmp dword [ebp + 0x18], 0
je 0x437a93
push 0
push ecx
lea eax, [ebp + 8]
mov dword [ebp - 0x274], esp
mov ecx, esp
push eax
call fcn.00402305
lea eax, [ebp - 0x2cc]
push eax
lea ecx, [ebp - 0x264]
call fcn.0043764e
push dword [ebp + 0x14]
mov eax, dword [edi]
lea ecx, [ebp - 0x2cc]
push ecx
mov ecx, edi
call dword [eax + 0xc]
inc dword [ebp - 0x26c]
test ebx, ebx
je 0x437a93
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp dword [ebp + 0x10], 0
je 0x437aee
push ebx
push dword [ebp - 0x270]
lea eax, [ebp + 0xc]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ecx
mov dword [ebp - 0x274], esp
mov ecx, esp
push eax
call fcn.00402305
push ecx
mov eax, esp
mov dword [ebp - 0x280], esp
push 0x5b2450
lea ecx, [ebp - 0x268]
push ecx
push eax
mov byte [ebp - 4], 6
call fcn.00402187
add esp, 0xc
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.004378d2
add dword [ebp - 0x26c], eax
mov eax, dword [ebp - 0x270]
test eax, eax
je 0x437afe
mov eax, dword [eax]
test eax, eax
jne 0x437b19
lea eax, [ebp - 0x264]
push eax
push dword [ebp - 0x278]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x437980
push dword [ebp - 0x278]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x270]
test eax, eax
je 0x437b39
mov eax, dword [eax]
test eax, eax
jne 0x437c4a
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x284]
push eax
call fcn.00402130
add esp, 0xc
push eax
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 7
call fcn.004025da
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x284]
add ecx, 0xfffffff0
call fcn.0040285b
lea eax, [ebp - 0x264]
push eax
push dword [ebp - 0x268]
call esi
mov esi, eax
cmp esi, 0xffffffff
je 0x437c4a
test byte [ebp - 0x264], 0x10
jne 0x437c1d
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x288]
push eax
call fcn.00402187
add esp, 0xc
push eax
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 8
call fcn.004025da
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x288]
add ecx, 0xfffffff0
call fcn.0040285b
push 0
push ecx
lea eax, [ebp + 8]
mov dword [ebp - 0x280], esp
mov ecx, esp
push eax
call fcn.00402305
lea eax, [ebp - 0x2cc]
push eax
lea ecx, [ebp - 0x264]
call fcn.0043764e
push dword [ebp + 0x14]
mov eax, dword [edi]
lea ecx, [ebp - 0x2cc]
push ecx
mov ecx, edi
call dword [eax + 0xc]
inc dword [ebp - 0x26c]
test ebx, ebx
je 0x437c1d
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [ebp - 0x270]
test eax, eax
je 0x437c2d
mov eax, dword [eax]
test eax, eax
jne 0x437c43
lea eax, [ebp - 0x264]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x437b8c
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x2c8]
add ecx, 0xfffffff0
call fcn.0040285b
mov ecx, dword [ebp - 0x268]
add ecx, 0xfffffff0
call fcn.0040285b
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040285b
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0040285b
mov eax, dword [ebp - 0x26c]
call fcn.004e3dec
ret 0x1c