Function at 0x4b48d0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x525e4b
mov eax, dword fs:[0]
push eax
sub esp, 0x2c4
mov eax, dword [0x5640a8]
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 dword [ebp - 0x2c4], ecx
test edx, edx
jne 0x4b490f
xor eax, eax
jmp 0x4b4dc0
push edx
lea ecx, [ebp - 0x58]
call fcn.00403170
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x48]
test ecx, ecx
jne 0x4b492d
xor edi, edi
jmp 0x4b4da9
mov edx, dword [ebp - 0x44]
lea eax, [ebp - 0x58]
mov esi, dword [ebp - 0x58]
cmp edx, 8
cmovae eax, esi
cmp word [eax + ecx*2 - 2], 0x2f
lea eax, [ebp - 0x58]
jne 0x4b4959
cmp edx, 8
mov edx, 0x5c
cmovae eax, esi
mov word [eax + ecx*2 - 2], dx
jmp 0x4b4974
cmp edx, 8
cmovae eax, esi
cmp word [eax + ecx*2 - 2], 0x5c
je 0x4b4974
push 0x53ca10
lea ecx, [ebp - 0x58]
call fcn.0040ce70
xor esi, esi
xor eax, eax
xor ebx, ebx
mov dword [ebp - 0x2b0], esi
mov dword [ebp - 0x2c0], esi
mov dword [ebp - 0x2bc], ebx
mov dword [ebp - 0x2b4], eax
mov dword [ebp - 0x2b8], eax
push 0x53dd64
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0040cc50
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x4b49b9
mov eax, dword [eax]
lea ecx, [ebp - 0x2a8]
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov edi, eax
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x4b49de
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00402f10
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
cmp edi, 0xffffffff
je 0x4b4ab6
mov esi, dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test byte [ebp - 0x2a8], 0x10
jne 0x4b4a7f
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp word [ebp - 0x27c], ax
jne 0x4b4a2b
xor ecx, ecx
jmp 0x4b4a43
lea ecx, [ebp - 0x27c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4b4a34
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x28]
call fcn.00402570
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x2c0]
call fcn.0040c010
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4b4a7f
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00402f10
lea eax, [ebp - 0x2a8]
push eax
push edi
call esi
test eax, eax
jne 0x4b4a01
push edi
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov eax, dword [ebp - 0x2b8]
mov esi, dword [ebp - 0x2c0]
mov ebx, dword [ebp - 0x2bc]
mov dword [ebp - 0x2b4], eax
mov dword [ebp - 0x2b0], esi
mov ecx, ebx
mov dword [ebp - 0x2ac], 0x4b48a0
sub ecx, esi
mov eax, 0x2aaaaaab
imul ecx
lea eax, [ebp - 0x2ac]
mov ecx, esi
sar edx, 2
mov edi, edx
shr edi, 0x1f
add edi, edx
mov edx, ebx
push eax
push edi
mov dword [ebp - 0x2cc], edi
call fcn.004b61d0
xor ebx, ebx
add esp, 8
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 3
test edi, edi
je 0x4b4cc0
mov ebx, dword [ebp - 0x2cc]
mov edi, esi
nop
push edi
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0041de60
add esp, 0xc
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 8
jb 0x4b4b2d
mov eax, dword [eax]
mov ecx, dword [ebp - 0x2c4]
mov edx, eax
call fcn.004b54e0
mov esi, eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x4b4b55
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00402f10
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
test esi, esi
je 0x4b4b8e
cmp dword [esi + 0x1c], eax
jbe 0x4b4b86
push dword [esi + 0x24]
lea ecx, [ebp - 0x1c]
call fcn.00406f80
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
add edi, 0x18
sub ebx, 1
jne 0x4b4b10
mov ebx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
cmp ebx, esi
je 0x4b4cc0
push 0x28
call fcn.004e1dfa
mov edi, eax
sub esi, ebx
mov dword [ebp - 0x2c4], edi
xor ecx, ecx
sar esi, 2
mov eax, esi
mov dword [ebp - 0x2ac], esi
mov dword [edi + 0x1c], esi
mov esi, 4
mul esi
mov dword [edi], vtable.ui::tagTImageInfo.0
mov dword [edi + 8], 0
seto cl
mov dword [edi + 0xc], 0
neg ecx
mov dword [edi + 0x10], 0x60
or ecx, eax
mov dword [edi + 0x14], 0x60
push ecx
mov dword [edi + 0x18], 0
mov byte [edi + 4], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
call fcn.004e22d3
mov dword [edi + 0x20], eax
xor ecx, ecx
mov eax, dword [edi + 0x1c]
mul esi
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004e22d3
mov ecx, eax
mov eax, dword [edi + 0x1c]
shl eax, 2
push eax
push 0
push ecx
mov dword [edi + 0x24], ecx
call fcn.004fb2d0
mov eax, dword [edi + 0x1c]
shl eax, 2
push eax
push 0
push dword [edi + 0x20]
call fcn.004fb2d0
xor esi, esi
add esp, 0x24
cmp dword [ebp - 0x2ac], esi
jbe 0x4b4cc2
test esi, esi
jne 0x4b4c9c
mov eax, dword [ebx]
lea edx, [ebp - 0x2c8]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
movss xmm0, dword [eax]
call fcn.004e28e0
mov dword [edi + 8], eax
lea edx, [ebp - 0x2d0]
mov eax, dword [ebx]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
movss xmm0, dword [eax + 4]
call fcn.004e28e0
mov dword [edi + 0xc], eax
mov ecx, dword [edi + 0x24]
xor edx, edx
mov eax, dword [ebx + esi*4]
mov dword [ecx + esi*4], eax
mov eax, 0x3e8
div dword [edi + 0x1c]
mov ecx, dword [edi + 0x20]
mov dword [ecx + esi*4], eax
inc esi
cmp esi, dword [ebp - 0x2ac]
jb 0x4b4c61
jmp 0x4b4cc2
xor edi, edi
test ebx, ebx
je 0x4b4d1b
mov eax, dword [ebp - 0x14]
sub eax, ebx
sar eax, 2
cmp eax, 0x3fffffff
jbe 0x4b4cda
call fcn.004fe1ce
shl eax, 2
cmp eax, 0x1000
jb 0x4b4d12
test bl, 0x1f
je 0x4b4cee
call fcn.004fe1ce
mov eax, dword [ebx - 4]
cmp eax, ebx
jb 0x4b4cfa
call fcn.004fe1ce
sub ebx, eax
cmp ebx, 4
jae 0x4b4d06
call fcn.004fe1ce
cmp ebx, 0x23
jbe 0x4b4d10
call fcn.004fe1ce
mov ebx, eax
push ebx
call fcn.004e1bac
add esp, 4
mov ebx, dword [ebp - 0x2b0]
test ebx, ebx
je 0x4b4da9
push dword [ebp - 0x2c4]
mov edx, dword [ebp - 0x2bc]
push ecx
mov ecx, ebx
call fcn.0040d8c0
mov ecx, dword [ebp - 0x2b4]
mov eax, 0x2aaaaaab
sub ecx, ebx
add esp, 8
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0xaaaaaaa
jbe 0x4b4d65
call fcn.004fe1ce
lea eax, [eax + eax*2]
shl eax, 3
cmp eax, 0x1000
jb 0x4b4da0
test bl, 0x1f
je 0x4b4d7c
call fcn.004fe1ce
mov eax, dword [ebx - 4]
cmp eax, ebx
jb 0x4b4d88
call fcn.004fe1ce
sub ebx, eax
cmp ebx, 4
jae 0x4b4d94
call fcn.004fe1ce
cmp ebx, 0x23
jbe 0x4b4d9e
call fcn.004fe1ce
mov ebx, eax
push ebx
call fcn.004e1bac
add esp, 4
mov ecx, dword [ebp - 0x44]
cmp ecx, 8
jb 0x4b4dbe
inc ecx
push ecx
push dword [ebp - 0x58]
lea ecx, [ebp - 0x58]
call fcn.00402f10
mov eax, edi
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.004e1bb1
mov esp, ebp
pop ebp
ret