Function at 0x4b1f30
Capabilities:
Enumerate files on windows
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x58fc61
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd0
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0x144]
xor ebx, ebx
cmp eax, ebx
push edi
mov dword [esp + 0x14], esi
je 0x4b1f68
push eax
call dword [sym.imp.kernel32.dll_FindClose]
mov edx, dword [esp + 0xf4]
xor eax, eax
lea edi, [esi + 4]
mov ecx, 0x50
rep stosd dword es:[edi], eax
mov eax, edx
mov dword [esi + 0x144], ebx
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4b1f96
sub eax, edi
push eax
push edx
lea ecx, [esp + 0x3c]
call fcn.00404250
mov eax, dword [esp + 0x48]
cmp eax, ebx
mov dword [esp + 0xe8], ebx
mov ebp, 0x10
je 0x4b1fe1
cmp dword [esp + 0x4c], ebp
mov ecx, dword [esp + 0x38]
jae 0x4b1fcc
lea ecx, [esp + 0x38]
mov al, byte [eax + ecx - 1]
cmp al, 0x5c
je 0x4b1fe1
push 0x5c
push 1
lea ecx, [esp + 0x3c]
call fcn.00404170
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0xf4], 1
call fcn.00403dd0
push 3
push 0x59d248
lea ecx, [esp + 0x20]
call fcn.00404050
mov ecx, dword [esi + 4]
mov eax, dword [esp + 0x30]
lea edi, [esi + 4]
or ecx, ebp
cmp eax, ebp
mov eax, dword [esp + 0x1c]
mov dword [edi], ecx
jae 0x4b2034
lea eax, [esp + 0x1c]
push edi
push eax
call dword [sym.imp.kernel32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esi + 0x144], eax
jne 0x4b207e
cmp dword [esp + 0x30], ebp
jb 0x4b205a
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.004796fd
add esp, 4
cmp dword [esp + 0x4c], ebp
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
jb 0x4b23ad
mov edx, dword [esp + 0x38]
push edx
jmp 0x4b23a5
mov ebp, dword [esp + 0xf0]
mov cl, byte [esi + 0x30]
cmp cl, 0x2e
lea eax, [esi + 0x30]
je 0x4b2357
test byte [edi], 0x10
je 0x4b2101
mov ecx, dword [esp + 0x4c]
mov edi, 0x10
cmp ecx, edi
mov ecx, dword [esp + 0x38]
jae 0x4b20ae
lea ecx, [esp + 0x38]
mov edx, dword [esi]
push eax
push ecx
push ebp
mov ecx, esi
call dword [edx + 4]
test al, al
jne 0x4b2357
cmp dword [esp + 0x30], edi
jb 0x4b20d3
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.004796fd
add esp, 4
cmp dword [esp + 0x4c], edi
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
jb 0x4b2433
mov edx, dword [esp + 0x38]
push edx
call fcn.004796fd
add esp, 4
xor al, al
jmp 0x4b23af
push 0x2e
push eax
call fcn.0047a7b0
mov edi, eax
add esp, 8
cmp edi, ebx
mov dword [esp + 0x50], edi
je 0x4b2357
cmp dword [esp + 0xf8], ebx
je 0x4b2334
mov eax, ebp
mov dword [esp + 0x6c], 0xf
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4b2140
sub eax, edx
push eax
push ebp
lea ecx, [esp + 0x5c]
call fcn.00404250
push 1
push ebx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0xf4], 2
mov byte [esp + 0x1c], 0x3b
call fcn.0045d9c0
mov esi, eax
cmp esi, ebx
push ebp
jle 0x4b23ca
lea ecx, [esp + 0xac]
call fcn.004050a0
push esi
push ebx
lea ecx, [esp + 0x78]
push ecx
mov ecx, eax
mov byte [esp + 0xf4], 3
call fcn.00411b30
cmp dword [esp + 0xc0], 0x10
mov byte [esp + 0xe8], 5
jb 0x4b21c1
mov edx, dword [esp + 0xac]
push edx
call fcn.004796fd
add esp, 4
mov eax, ebp
mov dword [esp + 0xc0], 0xf
mov dword [esp + 0xbc], ebx
mov byte [esp + 0xac], bl
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4b21e0
sub eax, edx
push ebp
lea ecx, [esp + 0xc8]
mov edi, eax
call fcn.004050a0
push edi
inc esi
push esi
lea ecx, [esp + 0x94]
push ecx
mov ecx, eax
mov byte [esp + 0xf4], 6
call fcn.00411b30
cmp dword [esp + 0xdc], 0x10
mov byte [esp + 0xe8], 8
jb 0x4b2234
mov edx, dword [esp + 0xc8]
push edx
call fcn.004796fd
add esp, 4
mov esi, dword [esp + 0x50]
inc esi
mov edi, 0xf
mov eax, esi
mov dword [esp + 0xdc], edi
mov dword [esp + 0xd8], ebx
mov byte [esp + 0xc8], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4b2258
sub eax, edx
push eax
mov eax, dword [esp + 0x88]
push esi
push eax
push ebx
lea ecx, [esp + 0x80]
call fcn.004089f0
test eax, eax
je 0x4b22a7
push esi
lea ecx, [esp + 0x90]
call fcn.00408c00
test eax, eax
je 0x4b22a7
lea ecx, [esp + 0x8c]
call fcn.004e5320
lea ecx, [esp + 0x70]
call fcn.004e5320
jmp 0x4b23dc
mov eax, dword [esp + 0xa4]
mov esi, 0x10
cmp eax, esi
jb 0x4b22c7
mov ecx, dword [esp + 0x90]
push ecx
call fcn.004796fd
add esp, 4
cmp dword [esp + 0x88], esi
mov dword [esp + 0xa4], edi
mov dword [esp + 0xa0], ebx
mov byte [esp + 0x90], bl
jb 0x4b22f2
mov edx, dword [esp + 0x74]
push edx
call fcn.004796fd
add esp, 4
mov dword [esp + 0x88], edi
mov dword [esp + 0x84], ebx
mov byte [esp + 0x74], bl
cmp dword [esp + 0x6c], 0x10
mov byte [esp + 0xe8], 1
jb 0x4b2320
mov eax, dword [esp + 0x58]
push eax
call fcn.004796fd
add esp, 4
mov esi, dword [esp + 0x14]
mov dword [esp + 0x6c], 0xf
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
cmp dword [esp + 0x4c], 0x10
mov ecx, dword [esp + 0x38]
jae 0x4b2343
lea ecx, [esp + 0x38]
mov edx, dword [esi]
lea eax, [esi + 0x30]
push eax
push ecx
mov ecx, esi
call dword [edx + 8]
test al, al
je 0x4b23f6
mov eax, dword [esi + 0x144]
lea edi, [esi + 4]
push edi
push eax
call dword [sym.imp.kernel32.dll_FindNextFileA]
test eax, eax
jne 0x4b2085
mov eax, dword [esp + 0x30]
mov esi, 0x10
cmp eax, esi
jb 0x4b238a
mov edx, dword [esp + 0x1c]
push edx
call fcn.004796fd
add esp, 4
cmp dword [esp + 0x4c], esi
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
jb 0x4b23ad
mov eax, dword [esp + 0x38]
push eax
call fcn.004796fd
add esp, 4
mov al, 1
mov ecx, dword [esp + 0xe0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xdc
ret 0xc
inc edi
push edi
call fcn.00489bd5
add esp, 8
test eax, eax
je 0x4b2304
lea ecx, [esp + 0x54]
mov byte [esp + 0xe8], 1
call fcn.004e5320
mov esi, dword [esp + 0x14]
jmp 0x4b2357
mov eax, dword [esp + 0x30]
mov esi, 0x10
cmp eax, esi
jb 0x4b2410
mov eax, dword [esp + 0x1c]
push eax
call fcn.004796fd
add esp, 4
cmp dword [esp + 0x4c], esi
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
jb 0x4b2433
mov ecx, dword [esp + 0x38]
push ecx
call fcn.004796fd
add esp, 4
xor al, al
jmp 0x4b23af