Function at 0x4b4ae0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5260ab
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 0x4b4b1f
xor eax, eax
jmp 0x4b4fd0
push edx
lea ecx, [ebp - 0x58]
call fcn.00403170
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x48]
test ecx, ecx
jne 0x4b4b3d
xor edi, edi
jmp 0x4b4fb9
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 0x4b4b69
cmp edx, 8
mov edx, 0x5c
cmovae eax, esi
mov word [eax + ecx*2 - 2], dx
jmp 0x4b4b84
cmp edx, 8
cmovae eax, esi
cmp word [eax + ecx*2 - 2], 0x5c
je 0x4b4b84
push 0x53ca00
lea ecx, [ebp - 0x58]
call fcn.0040cf10
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 0x53dd9c
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0040ccf0
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x4b4bc9
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 0x4b4bee
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 0x4b4cc6
mov esi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
test byte [ebp - 0x2a8], 0x10
jne 0x4b4c8f
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp word [ebp - 0x27c], ax
jne 0x4b4c3b
xor ecx, ecx
jmp 0x4b4c53
lea ecx, [ebp - 0x27c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4b4c44
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.0040c0b0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4b4c8f
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 0x4b4c11
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], 0x4b4ab0
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.004b6400
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 0x4b4ed0
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.0041e100
add esp, 0xc
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 8
jb 0x4b4d3d
mov eax, dword [eax]
mov ecx, dword [ebp - 0x2c4]
mov edx, eax
call fcn.004b56f0
mov esi, eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x4b4d65
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 0x4b4d9e
cmp dword [esi + 0x1c], eax
jbe 0x4b4d96
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 0x4b4d20
mov ebx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
cmp ebx, esi
je 0x4b4ed0
push 0x28
call fcn.004e204b
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.004e2524
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.004e2524
mov ecx, eax
mov eax, dword [edi + 0x1c]
shl eax, 2
push eax
push 0
push ecx
mov dword [edi + 0x24], ecx
call fcn.004fb530
mov eax, dword [edi + 0x1c]
shl eax, 2
push eax
push 0
push dword [edi + 0x20]
call fcn.004fb530
xor esi, esi
add esp, 0x24
cmp dword [ebp - 0x2ac], esi
jbe 0x4b4ed2
test esi, esi
jne 0x4b4eac
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.004e2b30
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.004e2b30
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 0x4b4e71
jmp 0x4b4ed2
xor edi, edi
test ebx, ebx
je 0x4b4f2b
mov eax, dword [ebp - 0x14]
sub eax, ebx
sar eax, 2
cmp eax, 0x3fffffff
jbe 0x4b4eea
call fcn.004fe3de
shl eax, 2
cmp eax, 0x1000
jb 0x4b4f22
test bl, 0x1f
je 0x4b4efe
call fcn.004fe3de
mov eax, dword [ebx - 4]
cmp eax, ebx
jb 0x4b4f0a
call fcn.004fe3de
sub ebx, eax
cmp ebx, 4
jae 0x4b4f16
call fcn.004fe3de
cmp ebx, 0x23
jbe 0x4b4f20
call fcn.004fe3de
mov ebx, eax
push ebx
call fcn.004e1ddf
add esp, 4
mov ebx, dword [ebp - 0x2b0]
test ebx, ebx
je 0x4b4fb9
push dword [ebp - 0x2c4]
mov edx, dword [ebp - 0x2bc]
push ecx
mov ecx, ebx
call fcn.0040d960
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 0x4b4f75
call fcn.004fe3de
lea eax, [eax + eax*2]
shl eax, 3
cmp eax, 0x1000
jb 0x4b4fb0
test bl, 0x1f
je 0x4b4f8c
call fcn.004fe3de
mov eax, dword [ebx - 4]
cmp eax, ebx
jb 0x4b4f98
call fcn.004fe3de
sub ebx, eax
cmp ebx, 4
jae 0x4b4fa4
call fcn.004fe3de
cmp ebx, 0x23
jbe 0x4b4fae
call fcn.004fe3de
mov ebx, eax
push ebx
call fcn.004e1ddf
add esp, 4
mov ecx, dword [ebp - 0x44]
cmp ecx, 8
jb 0x4b4fce
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.004e1de4
mov esp, ebp
pop ebp
ret