Function at 0x4b6880
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50d14d
mov eax, dword fs:[0]
push eax
sub esp, 0x2b8
mov eax, dword [0x8815d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebp + 8]
xorps xmm0, xmm0
mov esi, dword [ebp + 0x10]
mov ecx, edx
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x2b4], edx
mov dword [ebp - 0x2bc], esi
lea eax, [ecx + 1]
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x2b0], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b68e2
sub ecx, dword [ebp - 0x2b0]
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00403c10
push 2
push 0x5bb78c
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.00406de0
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b6914
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x28]
call fcn.00406de0
cmp dword [0x882038], 3
jl 0x4b6951
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push str.Searching__s_n
push dword [0x885eec]
push 3
call fcn.0047e100
add esp, 0x10
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004ab410
add esp, 8
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x2a8]
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
cmovae eax, dword [ebp - 0x40]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
mov dword [ebp - 0x2c4], edi
cmp edi, 0xffffffff
je 0x4b6c30
mov ecx, dword [esi + 4]
mov eax, 0x2aaaaaab
sub ecx, dword [esi]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x2b8], eax
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x4b69d8
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
add dword [esi + 4], 0x18
jmp 0x4b69e0
push eax
mov ecx, esi
call fcn.004b52f0
mov edi, dword [esi + 4]
mov esi, dword [ebp - 0x2b4]
sub edi, 0x18
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x4b69f0
mov edx, dword [edi + 0x14]
sub esi, ecx
mov dword [ebp - 0x2c0], edx
cmp esi, edx
ja 0x4b6a3d
mov dword [ebp - 0x2ac], edi
mov eax, edi
cmp edx, 0x10
jb 0x4b6a1b
mov eax, dword [edi]
mov dword [ebp - 0x2ac], eax
push esi
push dword [ebp - 0x2b4]
mov dword [edi + 0x10], esi
push eax
call fcn.004347f0
mov eax, dword [ebp - 0x2ac]
add esp, 0xc
mov byte [eax + esi], 0
jmp 0x4b6b05
cmp esi, 0x7fffffff
ja 0x4b6cca
mov ecx, esi
or ecx, 0xf
cmp ecx, 0x7fffffff
jbe 0x4b6a5d
mov ecx, 0x7fffffff
jmp 0x4b6a8a
mov eax, edx
shr eax, 1
mov dword [ebp - 0x2ac], eax
mov eax, 0x7fffffff
sub eax, dword [ebp - 0x2ac]
cmp edx, eax
jbe 0x4b6a7d
mov ecx, 0x7fffffff
jmp 0x4b6a8a
mov eax, dword [ebp - 0x2ac]
add eax, edx
cmp ecx, eax
cmovb ecx, eax
lea eax, [ecx + 1]
mov dword [ebp - 0x2ac], ecx
push eax
mov ecx, edi
call fcn.00403d40
mov ecx, dword [ebp - 0x2ac]
push esi
push dword [ebp - 0x2b4]
mov dword [ebp - 0x2b0], eax
push eax
mov dword [edi + 0x10], esi
mov dword [edi + 0x14], ecx
call fcn.004347f0
mov eax, dword [ebp - 0x2b0]
add esp, 0xc
mov ecx, dword [ebp - 0x2c0]
mov byte [eax + esi], 0
cmp ecx, 0x10
jb 0x4b6b03
mov eax, dword [edi]
inc ecx
cmp ecx, 0x1000
jb 0x4b6af3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b6cc5
mov eax, edx
push ecx
push eax
call fcn.00433080
mov eax, dword [ebp - 0x2b0]
add esp, 8
mov dword [edi], eax
push 0x5c
mov ecx, edi
call fcn.00414d60
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004ab500
add esp, 8
cmp dword [eax + 0x14], 0x10
mov ecx, eax
mov byte [ebp - 4], 2
jb 0x4b6b2f
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, edi
call fcn.00406de0
mov ecx, dword [ebp - 0x44]
mov byte [ebp - 4], 1
cmp ecx, 0x10
jb 0x4b6b72
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4b6b68
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b6cc5
push ecx
push edx
call fcn.00433080
add esp, 8
mov edi, dword [ebp - 0x2c4]
lea eax, [ebp - 0x2a8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x4b6b95
mov esi, dword [ebp - 0x2bc]
jmp 0x4b69b3
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x2bc]
mov edi, dword [ebp - 0x2b8]
mov byte [ebp - 0x2b8], 0
push dword [ebp - 0x2b8]
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
lea eax, [edi + edi*2]
sub ecx, edx
lea esi, [edx + eax*8]
mov eax, 0x2aaaaaab
imul ecx
mov eax, 0x2aaaaaab
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub ecx, edi
lea ecx, [ecx + ecx*2]
shl ecx, 3
imul ecx
lea edi, [ecx + esi]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push edi
push esi
call fcn.004b6410
add esp, 0x10
cmp esi, edi
je 0x4b6c30
nop
cmp dword [0x882038], 3
jl 0x4b6c29
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x4b6c13
mov eax, dword [esi]
push eax
push str._got__s_n
push dword [0x885eec]
push 3
call fcn.0047e100
add esp, 0x10
add esi, 0x18
cmp esi, edi
jne 0x4b6c00
mov ecx, dword [ebp - 0x2c]
cmp ecx, 8
jb 0x4b6c66
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4b6c5c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b6cc5
push ecx
push edx
call fcn.00433080
add esp, 8
mov ecx, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp ecx, 0x10
jb 0x4b6caa
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4b6ca0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b6cc5
push ecx
push edx
call fcn.00433080
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00432bfc
mov esp, ebp
pop ebp
ret
call fcn.00438697
call fcn.00402e50
int3