Function at 0x43be96
Capabilities:
Enumerate files on windows

Disassembly:
push 0x194
mov eax, 0x49033d
call fcn.0044c99a
mov edx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
test edx, edx
je 0x43c171
cmp byte [edx], 0
je 0x43c171
xor ebx, ebx
mov ecx, edx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 0xf
lea esi, [ecx + 1]
mov byte [ebp - 0x28], bl
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43bed6
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.004035a0
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
mov ecx, dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
xor ebx, ebx
inc ebx
cmp byte [ecx + eax - 1], 0x5c
je 0x43bf24
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
cmp byte [ecx + eax - 1], 0x2f
je 0x43bf24
push ebx
push 0x49b634
lea ecx, [ebp - 0x28]
call fcn.004036d0
and dword [ebp - 0x48], 0
lea eax, [ebp - 0x28]
and dword [ebp - 0x44], 0
lea ecx, [ebp - 0x58]
push eax
call fcn.00403740
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x58]
push ebx
push 0x494918
call fcn.004036d0
cmp dword [ebp - 0x44], 0x10
lea ecx, [ebp - 0x198]
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x43bf70
xor bl, bl
jmp 0x43c0ba
test byte [ebp - 0x198], 0x10
je 0x43c09d
lea ecx, [ebp - 0x16c]
cmp byte [ecx], 0x2e
jne 0x43bf94
movzx eax, byte [ecx + 1]
test al, al
je 0x43c09d
lea edx, [ebp - 0x16c]
xor ecx, ecx
movzx eax, byte [edx + ecx]
mov edx, 0x49b640
cmp al, byte [edx + ecx]
lea edx, [ebp - 0x16c]
jne 0x43bfba
inc ecx
cmp ecx, 3
jne 0x43bf9c
xor eax, eax
jmp 0x43bfbe
sbb eax, eax
or eax, ebx
test eax, eax
je 0x43c09d
and dword [ebp - 0x30], 0
lea eax, [ebp - 0x28]
and dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x40]
push eax
call fcn.00403740
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x16c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43bfe7
sub ecx, edx
lea eax, [ebp - 0x16c]
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.004036d0
push ebx
push 0x49b634
lea ecx, [ebp - 0x40]
call fcn.004036d0
test edi, edi
je 0x43c02a
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43c017
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x40]
call fcn.004036d0
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push 0
cmovae eax, dword [ebp - 0x40]
push 0
push eax
call fcn.0043b793
add esp, 0xc
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x43c08e
mov ecx, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x19c], eax
mov dword [ebp - 0x1a0], ecx
cmp eax, 0x1000
jb 0x43c085
lea eax, [ebp - 0x19c]
push eax
lea eax, [ebp - 0x1a0]
push eax
call fcn.004017b0
mov eax, dword [ebp - 0x19c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1a0]
push eax
push ecx
call fcn.0044c6c2
pop ecx
pop ecx
and dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
lea eax, [ebp - 0x198]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x43bf70
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x44]
cmp eax, 0x10
jb 0x43c107
mov ecx, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x1a0], eax
mov dword [ebp - 0x19c], ecx
cmp eax, 0x1000
jb 0x43c0fe
lea eax, [ebp - 0x1a0]
push eax
lea eax, [ebp - 0x19c]
push eax
call fcn.004017b0
mov eax, dword [ebp - 0x1a0]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x19c]
push eax
push ecx
call fcn.0044c6c2
pop ecx
pop ecx
and dword [ebp - 0x48], 0
push 0xf
pop esi
mov dword [ebp - 0x44], esi
mov byte [ebp - 0x58], 0
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x43c162
mov ecx, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x1a0], eax
mov dword [ebp - 0x19c], ecx
cmp eax, 0x1000
jb 0x43c159
lea eax, [ebp - 0x1a0]
push eax
lea eax, [ebp - 0x19c]
push eax
call fcn.004017b0
mov eax, dword [ebp - 0x1a0]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x19c]
push eax
push ecx
call fcn.0044c6c2
pop ecx
pop ecx
and dword [ebp - 0x18], 0
mov al, bl
mov dword [ebp - 0x14], esi
mov byte [ebp - 0x28], 0
jmp 0x43c173
xor al, al
call fcn.0044c944
ret