Function at 0x43b793
Capabilities:
Enumerate files on windows

Disassembly:
push 0x1e4
mov eax, 0x4902ee
call fcn.0044c99a
mov edx, dword [ebp + 8]
xor ebx, ebx
mov eax, dword [ebp + 0xc]
mov ecx, edx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1f0], eax
mov dword [ebp - 0x18], ebx
lea esi, [ecx + 1]
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], bl
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43b7c8
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]
cmp byte [ecx + eax - 1], 0x5c
je 0x43b814
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
cmp byte [ecx + eax - 1], 0x2f
je 0x43b814
push 1
push 0x49b634
lea ecx, [ebp - 0x28]
call fcn.004036d0
mov dword [ebp - 0x1dc], ebx
mov dword [ebp - 0x1d8], ebx
mov dword [ebp - 0x1d4], ebx
mov byte [ebp - 4], 1
mov dword [ebp - 0x1ec], ebx
mov dword [ebp - 0x1e8], ebx
mov dword [ebp - 0x1e4], ebx
mov byte [ebp - 4], 2
mov edi, dword [ebp + 0x10]
test edi, edi
jle 0x43b908
push 0x18
mov esi, edi
pop edi
push ebx
mov dword [ebp - 0x30], ebx
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], ebx
push 0x4ae71b
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], bl
call fcn.004035a0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
mov eax, dword [ebp - 0x1e8]
push ecx
cmp eax, dword [ebp - 0x1e4]
je 0x43b896
mov ecx, eax
call fcn.004030b0
add dword [ebp - 0x1e8], edi
jmp 0x43b8a2
push eax
lea ecx, [ebp - 0x1ec]
call fcn.00403fb0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x43b8ef
mov ecx, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x1e0], eax
mov dword [ebp - 0x1cc], ecx
cmp eax, 0x1000
jb 0x43b8e6
lea eax, [ebp - 0x1e0]
push eax
lea eax, [ebp - 0x1cc]
push eax
call fcn.004017b0
mov eax, dword [ebp - 0x1e0]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1cc]
push eax
push ecx
call fcn.0044c6c2
pop ecx
pop ecx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], bl
sub esi, 1
jne 0x43b850
mov edi, dword [ebp + 0x10]
lea eax, [ebp - 0x28]
mov dword [ebp - 0x78], ebx
push eax
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x74], ebx
call fcn.00403740
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x88]
push 4
push str..js
call fcn.004036d0
cmp dword [ebp - 0x74], 0x10
lea ecx, [ebp - 0x1c8]
lea eax, [ebp - 0x88]
cmovae eax, dword [ebp - 0x88]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x1e0], eax
cmp eax, 0xffffffff
je 0x43bca9
mov ebx, eax
test byte [ebp - 0x1c8], 0x10
jne 0x43ba97
xor bl, bl
xor esi, esi
test edi, edi
jle 0x43b9c4
mov eax, dword [ebp - 0x1f0]
push dword [eax + esi*4]
lea eax, [ebp - 0x19c]
push eax
call fcn.0047749b
pop ecx
pop ecx
test eax, eax
je 0x43b99a
inc esi
cmp esi, edi
jl 0x43b978
jmp 0x43b9c4
imul ecx, esi, 0x18
lea edx, [ebp - 0x19c]
mov bl, 1
lea esi, [edx + 1]
add ecx, dword [ebp - 0x1ec]
mov al, byte [edx]
inc edx
test al, al
jne 0x43b9ae
sub edx, esi
lea eax, [ebp - 0x19c]
push edx
push eax
call fcn.004035a0
push 0xf
pop esi
test bl, bl
jne 0x43ba8f
and dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x19c]
and dword [ebp - 0x30], 0
lea edx, [ecx + 1]
and dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], esi
mov byte [ebp - 0x40], bl
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43b9ea
sub ecx, edx
lea eax, [ebp - 0x19c]
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.004035a0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x40]
mov eax, dword [ebp - 0x1d8]
push ecx
cmp eax, dword [ebp - 0x1d4]
je 0x43ba2b
mov ecx, eax
call fcn.004030b0
push 0x18
pop eax
add dword [ebp - 0x1d8], eax
jmp 0x43ba37
push eax
lea ecx, [ebp - 0x1dc]
call fcn.00403fb0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x43ba84
mov ecx, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x1cc], eax
mov dword [ebp - 0x1d0], ecx
cmp eax, 0x1000
jb 0x43ba7b
lea eax, [ebp - 0x1cc]
push eax
lea eax, [ebp - 0x1d0]
push eax
call fcn.004017b0
mov eax, dword [ebp - 0x1cc]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1d0]
push eax
push ecx
call fcn.0044c6c2
pop ecx
pop ecx
and dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], esi
mov byte [ebp - 0x40], 0
mov ebx, dword [ebp - 0x1e0]
jmp 0x43ba9a
push 0xf
pop esi
lea eax, [ebp - 0x1c8]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x43b963
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
xor ebx, ebx
mov byte [ebp - 0x1f0], bl
push dword [ebp - 0x1f0]
push dword [ebp - 0x1d8]
push dword [ebp - 0x1dc]
call fcn.0043800d
mov eax, dword [ebp - 0x1dc]
add esp, 0xc
cmp eax, dword [ebp - 0x1d8]
je 0x43bbc7
push 0x18
pop edi
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], esi
mov byte [ebp - 0x58], bl
mov byte [ebp - 4], 6
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x58]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004035a0
mov eax, dword [ebp - 0x1d8]
cmp dword [eax - 4], 0x10
lea ecx, [eax - 0x18]
jb 0x43bb2a
mov ecx, dword [eax - 0x18]
push dword [eax - 8]
push ecx
lea ecx, [ebp - 0x58]
call fcn.004036d0
mov ecx, dword [ebp - 0x1d8]
lea ecx, [ecx - 0x18]
call fcn.00403060
sub dword [ebp - 0x1d8], edi
lea eax, [ebp - 0x58]
cmp dword [ebp - 0x44], 0x10
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.0043b092
pop ecx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x44]
cmp eax, 0x10
jb 0x43bba9
mov ecx, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x1d0], eax
mov dword [ebp - 0x1cc], ecx
cmp eax, 0x1000
jb 0x43bba0
lea eax, [ebp - 0x1d0]
push eax
lea eax, [ebp - 0x1cc]
push eax
call fcn.004017b0
mov eax, dword [ebp - 0x1d0]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1cc]
push eax
push ecx
call fcn.0044c6c2
pop ecx
pop ecx
mov eax, dword [ebp - 0x1dc]
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], esi
mov byte [ebp - 0x58], bl
cmp eax, dword [ebp - 0x1d8]
jne 0x43baee
mov edi, dword [ebp + 0x10]
test edi, edi
jle 0x43bca7
mov esi, ebx
mov eax, dword [ebp - 0x1ec]
cmp dword [eax + esi + 0x10], ebx
je 0x43bc99
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], bl
mov byte [ebp - 4], 7
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x70]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004035a0
mov eax, dword [ebp - 0x1ec]
add eax, esi
mov ecx, eax
cmp dword [eax + 0x14], 0x10
jb 0x43bc21
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x70]
call fcn.004036d0
cmp dword [ebp - 0x5c], 0x10
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
push eax
call fcn.0043b092
pop ecx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x5c]
cmp eax, 0x10
jb 0x43bc8c
mov ecx, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x1d0], eax
mov dword [ebp - 0x1cc], ecx
cmp eax, 0x1000
jb 0x43bc83
lea eax, [ebp - 0x1d0]
push eax
lea eax, [ebp - 0x1cc]
push eax
call fcn.004017b0
mov eax, dword [ebp - 0x1d0]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1cc]
push eax
push ecx
call fcn.0044c6c2
pop ecx
pop ecx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], bl
push 0x18
pop eax
add esi, eax
sub edi, 1
jne 0x43bbd1
mov bl, 1
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x74]
cmp eax, 0x10
jb 0x43bcf9
mov ecx, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x1d0], eax
mov dword [ebp - 0x1cc], ecx
cmp eax, 0x1000
jb 0x43bcf0
lea eax, [ebp - 0x1d0]
push eax
lea eax, [ebp - 0x1cc]
push eax
call fcn.004017b0
mov eax, dword [ebp - 0x1d0]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1cc]
push eax
push ecx
call fcn.0044c6c2
pop ecx
pop ecx
xor ecx, ecx
mov dword [ebp - 0x74], 0xf
mov dword [ebp - 0x78], ecx
mov byte [ebp - 0x88], cl
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x1ec]
test esi, esi
je 0x43bd9f
mov edi, dword [ebp - 0x1e8]
cmp esi, edi
je 0x43bd3d
mov ecx, esi
call fcn.00403060
push 0x18
pop eax
add esi, eax
cmp esi, edi
jne 0x43bd27
mov esi, dword [ebp - 0x1ec]
mov eax, dword [ebp - 0x1e4]
sub eax, esi
mov dword [ebp - 0x1cc], esi
push 0x18
cdq
pop ecx
idiv ecx
imul eax, eax, 0x18
mov dword [ebp - 0x1d0], eax
cmp eax, 0x1000
jb 0x43bd82
lea eax, [ebp - 0x1d0]
push eax
lea eax, [ebp - 0x1cc]
push eax
call fcn.004017b0
mov eax, dword [ebp - 0x1d0]
mov esi, dword [ebp - 0x1cc]
pop ecx
pop ecx
push eax
push esi
call fcn.0044c6c2
pop ecx
pop ecx
xor ecx, ecx
mov dword [ebp - 0x1ec], ecx
mov dword [ebp - 0x1e8], ecx
mov dword [ebp - 0x1e4], ecx
mov byte [ebp - 4], cl
mov esi, dword [ebp - 0x1dc]
test esi, esi
je 0x43be32
mov edi, dword [ebp - 0x1d8]
cmp esi, edi
je 0x43bdd0
mov ecx, esi
call fcn.00403060
push 0x18
pop eax
add esi, eax
cmp esi, edi
jne 0x43bdba
mov esi, dword [ebp - 0x1dc]
mov eax, dword [ebp - 0x1d4]
sub eax, esi
mov dword [ebp - 0x1cc], esi
push 0x18
cdq
pop ecx
idiv ecx
imul eax, eax, 0x18
mov dword [ebp - 0x1d0], eax
cmp eax, 0x1000
jb 0x43be15
lea eax, [ebp - 0x1d0]
push eax
lea eax, [ebp - 0x1cc]
push eax
call fcn.004017b0
mov eax, dword [ebp - 0x1d0]
mov esi, dword [ebp - 0x1cc]
pop ecx
pop ecx
push eax
push esi
call fcn.0044c6c2
xor eax, eax
pop ecx
pop ecx
mov dword [ebp - 0x1dc], eax
mov dword [ebp - 0x1d8], eax
mov dword [ebp - 0x1d4], eax
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x43be7f
mov ecx, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x1d0], eax
mov dword [ebp - 0x1cc], ecx
cmp eax, 0x1000
jb 0x43be76
lea eax, [ebp - 0x1d0]
push eax
lea eax, [ebp - 0x1cc]
push eax
call fcn.004017b0
mov eax, dword [ebp - 0x1d0]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1cc]
push eax
push ecx
call fcn.0044c6c2
pop ecx
pop ecx
and dword [ebp - 0x18], 0
mov al, bl
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.0044c944
ret