Function at 0x4376e3
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
sub esp, 0x270
lea ebp, [esp - 4]
mov eax, dword [0x4960a8]
xor eax, ebp
mov dword [ebp + 0x270], eax
push 0x50
mov eax, 0x46de82
call fcn.0045d47b
mov eax, dword [ebp + 0x280]
mov esi, dword [ebp + 0x27c]
push 0x497a28
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x4c], eax
call fcn.004037fc
push 0x47de90
lea eax, [ebp - 0x14]
push esi
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.0042e630
add esp, 0xc
test al, al
jne 0x43779f
mov eax, dword [0x497644]
cmp eax, 0x497644
je 0x43776f
test byte [eax + 0x1c], 1
je 0x43776f
cmp byte [eax + 0x19], 2
jb 0x43776f
push esi
push 0x473228
push 0x1f
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.004347c2
add esp, 0x14
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00403af7
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x270]
xor ecx, ebp
call fcn.00459871
add ebp, 0x274
leave
ret
lea eax, [ebp]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x24], eax
cmp eax, 0xffffffff
jne 0x4377dd
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [0x497644]
cmp eax, 0x497644
je 0x43776f
test byte [eax + 0x1c], 1
je 0x43776f
cmp byte [eax + 0x19], 2
jb 0x43776f
push esi
push 0x473228
push 0x20
jmp 0x437761
test byte [ebp], 0x10
je 0x437a89
cmp word [ebp + 0x2c], 0x2e
jne 0x437803
cmp word [ebp + 0x2e], 0x2e
je 0x437a89
cmp word [ebp + 0x2e], bx
je 0x437a89
lea eax, [ebp + 0x2c]
push eax
lea ecx, [ebp - 0x18]
call fcn.0040533e
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], 2
mov byte [ebp - 4], 1
jle 0x43782c
lea ecx, [eax - 0x10]
mov byte [ebp - 4], bl
call fcn.00403af7
jmp 0x437a89
push 0x497a28
lea ecx, [ebp - 0x1c]
call fcn.004037fc
lea eax, [ebp + 0x2c]
push eax
push str._s.
lea eax, [ebp - 0x1c]
push esi
push eax
mov byte [ebp - 4], 2
call fcn.0042e630
add esp, 0x10
test al, al
jne 0x4378a2
mov eax, dword [0x497644]
cmp eax, 0x497644
je 0x437887
test byte [eax + 0x1c], 1
je 0x437887
cmp byte [eax + 0x19], 2
jb 0x437887
push dword [ebp - 0x14]
push 0x473228
push 0x21
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.004347c2
add esp, 0x14
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.00403af7
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00403af7
jmp 0x43776f
lea ecx, [ebp - 0x48]
call fcn.0042a635
push dword [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.00436514
pop ecx
test al, al
je 0x4378ea
lea eax, [ebp - 0x20]
push eax
push 0x480b70
push dword [ebp - 0x18]
mov dword [ebp - 0x20], ebx
call fcn.0045bcce
add esp, 0xc
cmp eax, 1
jne 0x4378ea
movzx eax, word [ebp - 0x20]
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
push eax
call fcn.00437424
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x48]
call fcn.0042a5f3
test al, al
je 0x437a63
mov eax, dword [0x497644]
cmp eax, 0x497644
je 0x43793c
test byte [eax + 0x1c], 1
je 0x43793c
cmp byte [eax + 0x19], 2
jb 0x43793c
lea ecx, [ebp - 0x48]
call fcn.0042a611
push eax
mov eax, dword [0x497644]
push 0x473228
push 0x22
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.004347c2
add esp, 0x14
lea ecx, [ebp - 0x48]
call fcn.0042a615
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.00403af7
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00403af7
xor bl, bl
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00403af7
mov al, bl
jmp 0x43777c
lea ecx, [ebp - 0x48]
call fcn.0042a615
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.00403af7
mov ecx, dword [ebp - 0x18]
xor ebx, ebx
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.00403af7
mov esi, dword [ebp - 0x54]
lea eax, [ebp]
push eax
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4377dd
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov bl, 1
jmp 0x43795c