Function at 0x4aa910
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6912f7
mov eax, dword fs:[0]
push eax
sub esp, 0x300
mov eax, dword [0x7994f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0x38]
mov dword [ebp - 0x294], 0
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
xorps xmm0, xmm0
mov dword [ebp - 0x14], eax
movups xmmword [ebp - 0x24], xmm0
push 8
mov byte [ebp - 4], 3
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
call fcn.006051c2
lea ecx, [ebp - 0x24]
add esp, 4
mov dword [eax + 4], 0
mov dword [ebp - 0x24], eax
mov dword [eax], ecx
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 4], 4
lea eax, [edx + 1]
cmp ecx, eax
ja 0x4aa9bc
push 1
lea ecx, [ebp - 0x24]
call fcn.004afe10
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
dec ecx
and eax, ecx
mov dword [ebp - 0x18], eax
add eax, edx
and ecx, eax
lea esi, [ecx*4]
mov ecx, dword [ebp - 0x20]
cmp dword [esi + ecx], 0
jne 0x4aa9ec
push 0x18
call fcn.006051c2
mov ecx, dword [ebp - 0x20]
add esp, 4
mov dword [esi + ecx], eax
mov ecx, dword [ebp - 0x20]
mov ecx, dword [esi + ecx]
lea eax, [ebp + 8]
push eax
call fcn.0047ac70
inc dword [ebp - 0x14]
push edi
push dword [edi + 4]
push dword [edi]
call fcn.0049ef90
mov eax, dword [edi]
add esp, 0xc
mov dword [edi + 4], eax
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4aae9e
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x24]
add eax, ecx
mov ecx, dword [edx + 8]
mov dword [ebp - 0x2a0], eax
dec ecx
dec eax
and ecx, eax
mov eax, dword [edx + 4]
mov eax, dword [eax + ecx*4]
lea ecx, [ebp + 8]
cmp ecx, eax
je 0x4aaa51
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x4aaa45
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp + 8]
call fcn.0048bd90
push 0x6de3e0
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x2f4]
push eax
call fcn.004a6890
add esp, 0xc
cmp dword [ebp + 0x34], 8
lea ecx, [ebp + 0x20]
push dword [ebp + 0x30]
cmovae ecx, dword [ebp + 0x20]
push ecx
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.004a0cc0
or dword [ebp - 0x294], 1
xor ecx, ecx
movups xmm0, xmmword [eax]
movq xmm1, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov edx, dword [ebp - 0x28]
movq qword [ebp - 0x29c], xmm1
movups xmmword [ebp - 0x2ac], xmm0
cmp edx, 8
jb 0x4aaafd
mov ecx, dword [ebp - 0x3c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4aaae4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4aaf9e
push edx
push ecx
call fcn.006051f2
movups xmm0, xmmword [ebp - 0x2ac]
add esp, 8
movq xmm1, qword [ebp - 0x29c]
mov edx, dword [ebp - 0x2e0]
movq qword [ebp - 0x2c], xmm1
mov byte [ebp - 4], 4
movups xmmword [ebp - 0x3c], xmm0
cmp edx, 8
jb 0x4aab4a
mov ecx, dword [ebp - 0x2f4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4aab40
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4aaf9e
push edx
push ecx
call fcn.006051f2
add esp, 8
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
dec eax
mov edx, dword [ebp - 0x1c]
add ecx, eax
mov eax, dword [ebp - 0x20]
dec edx
and edx, ecx
mov eax, dword [eax + edx*4]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.004a6fb0
mov eax, dword [ebp - 0x18]
add esp, 8
sub dword [ebp - 0x14], 1
mov ecx, 0
cmove eax, ecx
cmp dword [ebp - 0x28], 8
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x28c]
lea eax, [ebp - 0x3c]
cmovae eax, dword [ebp - 0x3c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x298], eax
mov esi, eax
cmp eax, 0xffffffff
je 0x4aae78
nop dword [eax + eax]
mov edx, 0x6dd0c0
lea ecx, [ebp - 0x260]
nop dword [eax + eax]
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x4aabe6
test ax, ax
je 0x4aabe2
mov ax, word [ecx + 2]
cmp ax, word [edx + 2]
jne 0x4aabe6
add ecx, 4
add edx, 4
test ax, ax
jne 0x4aabc0
xor eax, eax
jmp 0x4aabeb
sbb eax, eax
or eax, 1
test eax, eax
je 0x4aae62
mov eax, 0x6de3f0
lea ecx, [ebp - 0x260]
nop
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x4aac26
test dx, dx
je 0x4aac22
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x4aac26
add ecx, 4
add eax, 4
test dx, dx
jne 0x4aac00
xor eax, eax
jmp 0x4aac2b
sbb eax, eax
or eax, 1
test eax, eax
je 0x4aae62
test byte [ebp - 0x28c], 0x10
lea eax, [ebp + 8]
push 0x6de3e0
push eax
lea eax, [ebp - 0x2dc]
push eax
je 0x4aad38
call fcn.004a6890
add esp, 0xc
mov edx, eax
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 6
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4aac67
sub ecx, esi
lea eax, [ebp - 0x260]
sar ecx, 1
push ecx
push eax
mov ecx, edx
call fcn.004a0cc0
or dword [ebp - 0x294], 2
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x2ec], xmm0
movups xmmword [ebp - 0x30c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x2a4], xmm0
movq qword [ebp - 0x2fc], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 4], 7
lea eax, [edx + 1]
cmp ecx, eax
ja 0x4aace6
push 1
lea ecx, [ebp - 0x24]
call fcn.004afe10
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
dec ecx
and eax, ecx
mov dword [ebp - 0x18], eax
add eax, edx
and eax, ecx
lea esi, [eax*4]
mov eax, dword [ebp - 0x20]
cmp dword [esi + eax], 0
jne 0x4aad16
push 0x18
call fcn.006051c2
mov ecx, dword [ebp - 0x20]
add esp, 4
mov dword [esi + ecx], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [esi + eax]
movups xmm0, xmmword [ebp - 0x2ec]
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x2a4]
movq qword [eax + 0x10], xmm0
inc dword [ebp - 0x14]
jmp 0x4aae18
call fcn.004a6890
add esp, 0xc
mov edx, eax
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 8
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4aad50
sub ecx, esi
lea eax, [ebp - 0x260]
sar ecx, 1
push ecx
push eax
mov ecx, edx
call fcn.004a0cc0
or dword [ebp - 0x294], 4
xor ecx, ecx
movups xmm0, xmmword [eax]
movq xmm1, qword [eax + 0x10]
movups xmmword [ebp - 0x2c4], xmm0
mov dword [eax + 0x10], 0
movq qword [ebp - 0x2b4], xmm1
mov dword [eax + 0x14], 7
mov word [eax], cx
mov eax, dword [edi + 4]
mov byte [ebp - 4], 9
cmp eax, dword [edi + 8]
je 0x4aadc5
movups xmmword [eax], xmm0
lea edx, [ecx + 7]
movq qword [eax + 0x10], xmm1
xor eax, eax
add dword [edi + 4], 0x18
mov word [ebp - 0x2c4], ax
jmp 0x4aadda
lea ecx, [ebp - 0x2c4]
push ecx
push eax
mov ecx, edi
call fcn.004a6cc0
mov edx, dword [ebp - 0x2b0]
mov byte [ebp - 4], 8
cmp edx, 8
jb 0x4aae18
mov ecx, dword [ebp - 0x2c4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4aae0e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4aaf9e
push edx
push ecx
call fcn.006051f2
add esp, 8
mov edx, dword [ebp - 0x2c8]
mov byte [ebp - 4], 4
cmp edx, 8
jb 0x4aae5c
mov ecx, dword [ebp - 0x2dc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4aae52
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4aaf9e
push edx
push ecx
call fcn.006051f2
add esp, 8
mov esi, dword [ebp - 0x298]
lea eax, [ebp - 0x28c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4aabb0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
cmp eax, 0x12
jne 0x4aae8f
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x4aaa0e
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 0x28d], 0
jmp 0x4aaea5
mov byte [ebp - 0x28d], 1
lea ecx, [ebp - 0x24]
call fcn.004a8a00
mov edx, dword [ebp - 0x28]
cmp edx, 8
jb 0x4aaee7
mov ecx, dword [ebp - 0x3c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4aaedd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4aaf9e
push edx
push ecx
call fcn.006051f2
add esp, 8
mov edx, dword [ebp + 0x1c]
xor eax, eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
cmp edx, 8
jb 0x4aaf31
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4aaf27
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4aaf9e
push edx
push ecx
call fcn.006051f2
add esp, 8
mov edx, dword [ebp + 0x34]
xor eax, eax
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
cmp edx, 8
jb 0x4aaf7b
mov ecx, dword [ebp + 0x20]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4aaf71
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4aaf9e
push edx
push ecx
call fcn.006051f2
add esp, 8
mov al, byte [ebp - 0x28d]
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.0060565a
mov esp, ebp
pop ebp
ret 0x34
call fcn.00611192
int3