Function at 0x4b7af0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ea938
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x6670f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x280], esi
cmp dword [esi + 0x1c], 0
lea eax, [esi + 0xc]
je 0x4b7d90
cmp dword [esi + 0x64], 0
je 0x4b7d90
push eax
lea ecx, [ebp - 0x28]
call fcn.00449970
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x28]
cmp edi, 8
mov ebx, dword [ebp - 0x18]
cmovae eax, ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x284], edi
cmp word [eax + ebx*2 - 2], 0x5c
je 0x4b7c60
cmp ebx, edi
jae 0x4b7b90
lea eax, [ebx + 1]
cmp edi, 8
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
cmovae eax, ecx
mov dword [eax + ebx*2], 0x5c
jmp 0x4b7c60
mov ecx, SysReAllocString
mov eax, ecx
sub eax, ebx
cmp eax, 1
jb 0x4b7db1
lea esi, [ebx + 1]
or esi, 7
cmp esi, ecx
jbe 0x4b7bb0
mov esi, ecx
jmp 0x4b7bc8
mov eax, edi
shr eax, 1
sub ecx, eax
cmp edi, ecx
jbe 0x4b7bc1
mov esi, SysReAllocString
jmp 0x4b7bc8
add eax, edi
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
push eax
lea ecx, [ebp - 0x28]
call fcn.00449ef0
mov dword [ebp - 0x14], esi
lea ecx, [ebx + 1]
mov dword [ebp - 0x27c], eax
lea esi, [ebx + ebx]
mov dword [ebp - 0x18], ecx
push esi
cmp edi, 8
jb 0x4b7c3d
mov edi, dword [ebp - 0x28]
push edi
push eax
call fcn.0058bd80
mov eax, dword [ebp - 0x284]
add esp, 0xc
mov ebx, dword [ebp - 0x27c]
lea ecx, [eax*2 + 2]
mov dword [esi + ebx], 0x5c
cmp ecx, 0x1000
jb 0x4b7c31
mov edx, dword [edi - 4]
add ecx, 0x23
sub edi, edx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x4b7db6
mov edi, edx
push ecx
push edi
call fcn.0050ed4e
add esp, 8
jmp 0x4b7c57
lea ecx, [ebp - 0x28]
push ecx
push eax
call fcn.0058bd80
mov ebx, dword [ebp - 0x27c]
add esp, 0xc
mov dword [esi + ebx], 0x5c
mov esi, dword [ebp - 0x280]
mov dword [ebp - 0x28], ebx
cmp dword [esi + 0x34], 0
jbe 0x4b7d1b
cmp dword [esi + 0x38], 8
lea ebx, [esi + 0x24]
mov ecx, ebx
mov dword [ebp - 0x27c], ebx
jb 0x4b7c83
mov ecx, dword [ebx]
mov dword [ebp - 0x27c], ecx
mov eax, dword [ebx + 0x10]
cmp eax, 1
jb 0x4b7ce0
lea edx, [ecx + eax*2]
mov eax, ecx
mov dword [ebp - 0x284], edx
mov ecx, edx
sub ecx, eax
sar ecx, 1
je 0x4b7ce0
nop
cmp word [eax], 0x2a
je 0x4b7cb0
add eax, 2
sub ecx, 1
jne 0x4b7ca0
jmp 0x4b7ce0
test eax, eax
je 0x4b7ce0
mov edx, 0x5ffa8c
mov edi, eax
mov esi, 1
sub edi, edx
mov cx, word [edx + edi]
cmp cx, word [edx]
jne 0x4b7d0d
add edx, 2
sub esi, 1
jne 0x4b7cc2
sub eax, dword [ebp - 0x27c]
sar eax, 1
cmp eax, 0xffffffff
jne 0x4b7cef
push 1
push 0x5ffa8c
lea ecx, [ebp - 0x28]
call fcn.0044ed80
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x4b7cf9
mov eax, dword [ebx]
push dword [ebx + 0x10]
lea ecx, [ebp - 0x28]
push eax
call fcn.0044ed80
mov esi, dword [ebp - 0x280]
jmp 0x4b7d2a
mov edx, dword [ebp - 0x284]
add eax, 2
jmp 0x4b7c96
push 1
push 0x5ffa8c
lea ecx, [ebp - 0x28]
call fcn.0044ed80
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x278]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esi + 8], eax
cmp eax, 0xffffffff
je 0x4b7d88
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov ecx, dword [esi + 0x64]
test ecx, ecx
je 0x4b7dac
mov eax, dword [ecx]
lea edx, [ebp - 0x278]
push edx
mov eax, dword [eax + 8]
call eax
test al, al
je 0x4b7d7a
lea eax, [ebp - 0x278]
push eax
push dword [esi + 8]
call edi
test eax, eax
jne 0x4b7d51
mov eax, dword [esi + 8]
test eax, eax
je 0x4b7d88
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x28]
call fcn.00449860
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050ed5c
mov esp, ebp
pop ebp
ret
call fcn.004f326a
call fcn.0044a290
call fcn.005978c6
int3