Function at 0x4bb227
Capabilities:
Enumerate files on windows

Disassembly:
push 0x8fc
mov eax, 0x516e7d
call fcn.004ae708
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x6a0]
mov esi, dword [ebp + 0xc]
push eax
call fcn.004989c0
xor ebx, ebx
lea ecx, [ebp - 0x688]
push esi
mov dword [ebp - 4], ebx
call fcn.004989c0
lea eax, [ebp - 0x688]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x670]
push eax
call fcn.004b8ac0
lea eax, [ebp - 0x670]
mov byte [ebp - 4], 2
push eax
call fcn.004b88e2
lea eax, [ebp - 0x670]
push eax
lea eax, [ebp - 0x658]
push eax
call fcn.004b87cd
add esp, 0x14
lea ecx, [ebp - 0x688]
push eax
call fcn.00498940
push ebx
push 1
lea ecx, [ebp - 0x658]
call fcn.00498c10
mov edi, 0x51b1a4
push edi
call fcn.004d5735
pop ecx
push eax
push edi
lea ecx, [ebp - 0x6a0]
call fcn.0049db90
cmp dword [ebp - 0x68c], 8
lea ecx, [ebp - 0x908]
lea eax, [ebp - 0x6a0]
cmovae eax, dword [ebp - 0x6a0]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x4bb533
lea eax, [ebp - 0x908]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x4bb533
xor eax, eax
mov dword [ebp - 0x62c], 7
mov dword [ebp - 0x630], ebx
mov word [ebp - 0x640], ax
cmp word [ebp - 0x8dc], ax
jne 0x4bb332
mov eax, ebx
jmp 0x4bb33f
lea eax, [ebp - 0x8dc]
push eax
call fcn.004d5735
pop ecx
push eax
lea eax, [ebp - 0x8dc]
push eax
lea ecx, [ebp - 0x640]
call fcn.00498dc0
lea eax, [ebp - 0x640]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x6b8]
push eax
call fcn.004b8ac0
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x670]
call fcn.004a3db0
push ebx
push 1
lea ecx, [ebp - 0x6b8]
call fcn.00499050
lea eax, [ebp - 0x670]
push eax
call fcn.004b88e2
lea eax, [ebp - 0x670]
push eax
lea eax, [ebp - 0x6b8]
push eax
call fcn.004b87cd
add esp, 0xc
lea ecx, [ebp - 0x640]
push eax
call fcn.00498940
push ebx
push 1
lea ecx, [ebp - 0x6b8]
call fcn.00498c10
push 0x2e
pop eax
cmp word [ebp - 0x8dc], ax
je 0x4bb4e5
cmp word [ebp - 0x8da], 0
je 0x4bb4e5
cmp word [ebp - 0x8da], ax
jne 0x4bb3f6
cmp word [ebp - 0x8d8], 0
je 0x4bb4e5
test byte [ebp - 0x908], 0x10
jne 0x4bb4e5
push 0x208
lea eax, [ebp - 0x420]
push ebx
push eax
call fcn.004c42d0
push 0x208
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.004c42d0
cmp dword [ebp - 0x62c], 8
lea eax, [ebp - 0x640]
cmovae eax, dword [ebp - 0x640]
push eax
lea eax, [ebp - 0x218]
push 0x51b130
push eax
call fcn.00499d90
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.004b763e
lea eax, [ebp - 0x420]
push str..lnk
push eax
call fcn.004d56d3
add esp, 0x34
test eax, eax
jne 0x4bb4e5
push 0x208
lea eax, [ebp - 0x628]
push ebx
push eax
call fcn.004c42d0
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x658]
push eax
call fcn.004b76f0
cmp dword [ebp - 0x674], 8
lea ecx, [ebp - 0x688]
lea eax, [ebp - 0x658]
mov byte [ebp - 4], 4
cmovae ecx, dword [ebp - 0x688]
cmp dword [ebp - 0x644], 8
push ecx
cmovae eax, dword [ebp - 0x658]
push eax
call fcn.004b83bf
add esp, 0x1c
test eax, eax
jne 0x4bb4fc
push ebx
push 1
lea ecx, [ebp - 0x658]
call fcn.00498c10
push ebx
push 1
lea ecx, [ebp - 0x640]
mov byte [ebp - 4], 2
call fcn.00498c10
jmp 0x4bb2f6
lea eax, [ebp - 0x628]
push eax
push esi
call fcn.004d56d3
xor ebx, ebx
test eax, eax
pop ecx
pop ecx
setne bl
lea ecx, [ebp - 0x658]
xor esi, esi
inc ebx
push esi
push 1
call fcn.00498c10
push esi
push 1
lea ecx, [ebp - 0x640]
call fcn.00498c10
jmp 0x4bb535
xor esi, esi
push esi
push 1
lea ecx, [ebp - 0x670]
call fcn.00499050
push esi
push 1
lea ecx, [ebp - 0x688]
call fcn.00498c10
push esi
push 1
lea ecx, [ebp - 0x6a0]
call fcn.00498c10
mov eax, ebx
call fcn.004ae6c3
ret 8