Function at 0x40ac50
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48c5bf
mov eax, dword fs:[0]
push eax
sub esp, 0x298
mov eax, dword [0x4b3100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x280], esi
mov dword [ebp - 0x288], esi
mov dword [ebp - 0x28c], esi
xorps xmm0, xmm0
mov dword [ebp - 0x288], 1
movq qword [esi], xmm0
mov dword [esi + 8], 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [ebp - 4], 0
mov eax, SysReAllocString
mov ecx, dword [edx + 0x10]
sub eax, ecx
mov dword [ebp - 0x288], 1
cmp eax, 2
jb 0x40af2c
cmp dword [edx + 0x14], 7
jbe 0x40ace9
mov edx, dword [edx]
push 2
push 0x49f038
push ecx
push edx
push ecx
push dword [ebp - 0x28c]
lea ecx, [ebp - 0x2a4]
call fcn.00443140
cmp dword [ebp - 0x290], 7
lea ecx, [ebp - 0x278]
lea eax, [ebp - 0x2a4]
mov dword [ebp - 0x288], 3
cmova eax, dword [ebp - 0x2a4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, dword [ebp - 0x290]
mov dword [ebp - 0x27c], eax
cmp ecx, 7
jbe 0x40ad76
mov edx, dword [ebp - 0x2a4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40ad6c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40af31
push ecx
push edx
call fcn.00460ed3
add esp, 8
xor eax, eax
mov dword [ebp - 0x294], 0
mov word [ebp - 0x2a4], ax
mov eax, dword [ebp - 0x27c]
mov dword [ebp - 0x290], 7
cmp eax, 0xffffffff
je 0x40af0f
test byte [ebp - 0x278], 0x10
je 0x40aee6
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x24c]
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40add0
sub ecx, edx
lea eax, [ebp - 0x24c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.0043b8b0
mov dword [ebp - 4], 1
lea edi, [ebp - 0x28]
cmp dword [ebp - 0x14], 7
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x18]
cmova edi, eax
mov dword [ebp - 0x284], eax
cmp ecx, 1
jne 0x40ae44
mov edx, 0x49f040
mov esi, ecx
sub edi, edx
nop word [eax + eax]
mov cx, word [edi + edx]
cmp cx, word [edx]
jne 0x40ae3b
add edx, 2
sub esi, 1
jne 0x40ae20
mov esi, dword [ebp - 0x280]
mov ecx, eax
jmp 0x40aea9
mov esi, dword [ebp - 0x280]
mov ecx, dword [ebp - 0x18]
cmp dword [ebp - 0x14], 7
lea edi, [ebp - 0x28]
cmova edi, eax
cmp ecx, 2
jne 0x40ae85
mov eax, 0x49f044
mov esi, ecx
sub edi, eax
nop dword [eax]
mov dx, word [edi + eax]
cmp dx, word [eax]
jne 0x40ae7f
add eax, 2
sub esi, 1
jne 0x40ae60
mov ecx, dword [ebp - 0x284]
mov esi, dword [ebp - 0x280]
jmp 0x40aea9
mov esi, dword [ebp - 0x280]
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x28]
push ecx
cmp eax, dword [esi + 8]
je 0x40ae9e
mov ecx, eax
call fcn.0042fd70
add dword [esi + 4], 0x18
jmp 0x40aea6
push eax
mov ecx, esi
call fcn.00447fd0
mov ecx, dword [ebp - 0x28]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
cmp eax, 7
jbe 0x40aee0
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40aed6
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40af31
push edx
push ecx
call fcn.00460ed3
add esp, 8
mov eax, dword [ebp - 0x27c]
lea ecx, [ebp - 0x278]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x40af03
mov eax, dword [ebp - 0x27c]
jmp 0x40ada2
push dword [ebp - 0x27c]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, esi
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.00460925
mov esp, ebp
pop ebp
ret
call fcn.00403980
call fcn.00474a77
int3