Function at 0xa57e50
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xabe067
mov eax, dword fs:[0]
push eax
sub esp, 0x31c
mov eax, dword [0xae6d50]
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 eax, dword [ebp + 0x24]
mov dword [ebp - 0x31c], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x318], ebx
mov dword [ebp - 0x314], ebx
mov dword [ebp - 0x310], ebx
mov dword [ebp - 0x304], ebx
mov dword [ebp - 0x300], ebx
mov dword [ebp - 0x2fc], ebx
mov edi, 7
xor ecx, ecx
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], cx
xor edx, edx
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x8c], ebx
mov word [ebp - 0x9c], dx
xor eax, eax
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], ax
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], cx
push 0xffffffffffffffff
push ebx
lea edx, [ebp + 8]
push edx
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 6
call fcn.00a515e0
push 0xffffffffffffffff
push ebx
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x48]
call fcn.00a515e0
push 2
mov eax, 0xac4758
lea esi, [ebp - 0x48]
call fcn.00a62040
xor ecx, ecx
push 0xa
mov word [ebp - 0x2c], cx
push 0xac4760
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
call fcn.00a51740
lea ecx, [ebp - 0x2c]
lea edi, [ebp - 0x318]
mov byte [ebp - 4], 7
call fcn.00a5ecc0
mov esi, 8
mov byte [ebp - 4], 6
cmp dword [ebp - 0x18], esi
jb 0xa57f64
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00a9e60d
add esp, 4
push 4
xor eax, eax
push 0xac4778
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
call fcn.00a51740
lea ecx, [ebp - 0x2c]
lea edi, [ebp - 0x304]
mov byte [ebp - 4], 8
call fcn.00a5ecc0
mov byte [ebp - 4], 6
cmp dword [ebp - 0x18], esi
jb 0xa57faa
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00a9e60d
add esp, 4
push 4
xor edx, edx
push 0xac4784
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
call fcn.00a51740
lea ecx, [ebp - 0x2c]
lea edi, [ebp - 0x304]
mov byte [ebp - 4], 9
call fcn.00a5ecc0
mov byte [ebp - 4], 6
cmp dword [ebp - 0x18], esi
jb 0xa57ff0
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00a9e60d
add esp, 4
xor ecx, ecx
push 5
mov word [ebp - 0x2c], cx
push 0xac4790
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
call fcn.00a51740
lea ecx, [ebp - 0x2c]
lea edi, [ebp - 0x304]
mov byte [ebp - 4], 0xa
call fcn.00a5ecc0
mov byte [ebp - 4], 6
cmp dword [ebp - 0x18], esi
jb 0xa58036
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00a9e60d
add esp, 4
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x34], esi
jae 0xa58041
lea eax, [ebp - 0x48]
lea ecx, [ebp - 0x2f0]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x308], eax
jmp 0xa58060
cmp dword [ebp - 0x308], 0xffffffff
je 0xa582a3
mov ecx, 0xac46a0
lea eax, [ebp - 0x2c4]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0xa5809e
test dx, dx
je 0xa5809a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0xa5809e
add eax, 4
add ecx, 4
test dx, dx
jne 0xa58078
xor eax, eax
jmp 0xa580a3
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0xa582a3
mov ecx, 0xac46a4
lea eax, [ebp - 0x2c4]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0xa580dc
test dx, dx
je 0xa580d8
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0xa580dc
add eax, 4
add ecx, 4
test dx, dx
jne 0xa580b6
xor eax, eax
jmp 0xa580e1
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0xa582a3
test byte [ebp - 0x2f0], 0x10
mov dword [ebp - 0x2f4], 0
mov eax, 0x92492493
je 0xa581d8
mov ecx, dword [ebp - 0x314]
sub ecx, dword [ebp - 0x318]
imul ecx
add edx, ecx
sar edx, 4
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
je 0xa582a3
mov esi, dword [ebp - 0x318]
jmp 0xa58130
lea edx, [ebp - 0x64]
push edx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x324], esp
xor eax, eax
push 0xffffffffffffffff
push eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push esi
mov word [ecx], ax
call fcn.00a515e0
push 0xac43e0
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x2c]
push edx
mov byte [ebp - 4], 0xb
call fcn.00a64c90
sub esp, 0x10
mov byte [ebp - 4], 0xc
mov edi, esp
mov dword [ebp - 0x320], esp
push eax
lea eax, [ebp - 0x2c4]
call fcn.00a64ee0
add esp, 4
mov byte [ebp - 4], 0xd
call fcn.00a76980
add esp, 0x3c
mov byte [ebp - 4], 6
cmp dword [ebp - 0x18], 8
mov edi, eax
jb 0xa581b3
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00a9e60d
add esp, 4
test edi, edi
jne 0xa583fe
mov eax, dword [ebp - 0x2f4]
inc eax
add esi, 0x1c
mov dword [ebp - 0x2f4], eax
cmp eax, ebx
jb 0xa58130
jmp 0xa582a3
mov ecx, dword [ebp - 0x300]
mov esi, dword [ebp - 0x304]
sub ecx, esi
imul ecx
add edx, ecx
sar edx, 4
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
je 0xa582a3
lea ebx, [ebx]
lea ecx, [ebp - 0x64]
push ecx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x320], esp
xor edx, edx
push 0xffffffffffffffff
push edx
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push esi
mov word [ecx], dx
call fcn.00a515e0
push 0xac43e0
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x2c]
push ecx
mov byte [ebp - 4], 0xe
call fcn.00a64c90
sub esp, 0x10
mov byte [ebp - 4], 0xf
mov edi, esp
mov dword [ebp - 0x324], esp
push eax
lea eax, [ebp - 0x2c4]
call fcn.00a64ee0
add esp, 4
mov byte [ebp - 4], 0x10
call fcn.00a76980
add esp, 0x3c
mov byte [ebp - 4], 6
cmp dword [ebp - 0x18], 8
mov edi, eax
jb 0xa58283
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00a9e60d
add esp, 4
test edi, edi
jne 0xa5853d
mov eax, dword [ebp - 0x2f4]
inc eax
add esi, 0x1c
mov dword [ebp - 0x2f4], eax
cmp eax, ebx
jb 0xa58200
mov esi, dword [ebp - 0x308]
lea eax, [ebp - 0x2f0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0xa58060
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edi, 8
cmp dword [ebp - 0x34], edi
jb 0xa582dc
mov edx, dword [ebp - 0x48]
push edx
call fcn.00a9e60d
add esp, 4
xor ebx, ebx
xor eax, eax
mov esi, 7
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], ax
cmp dword [ebp - 0x6c], edi
jb 0xa58300
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.00a9e60d
add esp, 4
xor edx, edx
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], dx
cmp dword [ebp - 0x50], edi
jb 0xa5831d
mov eax, dword [ebp - 0x64]
push eax
call fcn.00a9e60d
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], cx
cmp dword [ebp - 0x304], ebx
je 0xa5837c
mov esi, dword [ebp - 0x304]
mov edi, dword [ebp - 0x300]
cmp esi, edi
je 0xa58368
cmp dword [esi + 0x14], 8
jb 0xa58352
mov edx, dword [esi]
push edx
call fcn.00a9e60d
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
mov word [esi], ax
add esi, 0x1c
cmp esi, edi
jne 0xa58341
mov ecx, dword [ebp - 0x304]
push ecx
call fcn.00a9e60d
add esp, 4
mov edi, 8
cmp dword [ebp - 0x318], ebx
je 0xa583cf
mov esi, dword [ebp - 0x318]
mov edi, dword [ebp - 0x314]
cmp esi, edi
je 0xa583bb
cmp dword [esi + 0x14], 8
jb 0xa583a5
mov edx, dword [esi]
push edx
call fcn.00a9e60d
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
mov word [esi], ax
add esi, 0x1c
cmp esi, edi
jne 0xa58394
mov ecx, dword [ebp - 0x318]
push ecx
call fcn.00a9e60d
add esp, 4
mov edi, 8
cmp dword [ebp + 0x1c], edi
jb 0xa583e0
mov edx, dword [ebp + 8]
push edx
call fcn.00a9e60d
add esp, 4
xor eax, eax
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.00a9e488
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x308]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edi, dword [ebp - 0x31c]
lea ecx, [ebp + 8]
call fcn.00a5ecc0
mov edi, 8
cmp dword [ebp - 0x34], edi
jb 0xa5842f
mov edx, dword [ebp - 0x48]
push edx
call fcn.00a9e60d
add esp, 4
xor ebx, ebx
xor eax, eax
mov esi, 7
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], ax
cmp dword [ebp - 0x6c], edi
jb 0xa58453
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.00a9e60d
add esp, 4
xor edx, edx
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], dx
cmp dword [ebp - 0x50], edi
jb 0xa58470
mov eax, dword [ebp - 0x64]
push eax
call fcn.00a9e60d
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], cx
cmp dword [ebp - 0x304], ebx
je 0xa584cf
mov esi, dword [ebp - 0x304]
mov edi, dword [ebp - 0x300]
cmp esi, edi
je 0xa584bb
cmp dword [esi + 0x14], 8
jb 0xa584a5
mov edx, dword [esi]
push edx
call fcn.00a9e60d
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
mov word [esi], ax
add esi, 0x1c
cmp esi, edi
jne 0xa58494
mov ecx, dword [ebp - 0x304]
push ecx
call fcn.00a9e60d
add esp, 4
mov edi, 8
cmp dword [ebp - 0x318], ebx
je 0xa58522
mov esi, dword [ebp - 0x318]
mov edi, dword [ebp - 0x314]
cmp esi, edi
je 0xa5850e
cmp dword [esi + 0x14], 8
jb 0xa584f8
mov edx, dword [esi]
push edx
call fcn.00a9e60d
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
mov word [esi], ax
add esi, 0x1c
cmp esi, edi
jne 0xa584e7
mov ecx, dword [ebp - 0x318]
push ecx
call fcn.00a9e60d
add esp, 4
mov edi, 8
cmp dword [ebp + 0x1c], edi
jb 0xa58533
mov edx, dword [ebp + 8]
push edx
call fcn.00a9e60d
add esp, 4
mov eax, 1
jmp 0xa583e2
mov eax, dword [ebp - 0x308]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edi, dword [ebp - 0x31c]
lea ecx, [ebp + 8]
call fcn.00a5ecc0
mov edi, 8
cmp dword [ebp - 0x34], edi
jb 0xa5856e
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.00a9e60d
add esp, 4
xor ebx, ebx
xor edx, edx
mov esi, 7
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], dx
cmp dword [ebp - 0x6c], edi
jb 0xa58592
mov eax, dword [ebp - 0x80]
push eax
call fcn.00a9e60d
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], cx
cmp dword [ebp - 0x50], edi
jb 0xa585af
mov edx, dword [ebp - 0x64]
push edx
call fcn.00a9e60d
add esp, 4
xor eax, eax
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], ax
cmp dword [ebp - 0x304], ebx
je 0xa5860e
mov esi, dword [ebp - 0x304]
mov edi, dword [ebp - 0x300]
cmp esi, edi
je 0xa585fa
cmp dword [esi + 0x14], 8
jb 0xa585e4
mov ecx, dword [esi]
push ecx
call fcn.00a9e60d
add esp, 4
xor edx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
mov word [esi], dx
add esi, 0x1c
cmp esi, edi
jne 0xa585d3
mov eax, dword [ebp - 0x304]
push eax
call fcn.00a9e60d
add esp, 4
mov edi, 8
cmp dword [ebp - 0x318], ebx
je 0xa58661
mov esi, dword [ebp - 0x318]
mov edi, dword [ebp - 0x314]
cmp esi, edi
je 0xa5864d
cmp dword [esi + 0x14], 8
jb 0xa58637
mov ecx, dword [esi]
push ecx
call fcn.00a9e60d
add esp, 4
xor edx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
mov word [esi], dx
add esi, 0x1c
cmp esi, edi
jne 0xa58626
mov eax, dword [ebp - 0x318]
push eax
call fcn.00a9e60d
add esp, 4
mov edi, 8
cmp dword [ebp + 0x1c], edi
jb 0xa58533
mov ecx, dword [ebp + 8]
push ecx
call fcn.00a9e60d
add esp, 4
mov eax, 1
jmp 0xa583e2