Function at 0x405d40
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42b16a
mov eax, dword fs:[0]
push eax
sub esp, 0x2a8
mov eax, dword [0x43800c]
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 - 0x2b4], esi
mov dword [ebp - 0x280], esi
mov dword [ebp - 0x27c], 0
mov dword [ebp - 4], 1
xorps xmm0, xmm0
movq qword [esi], xmm0
mov dword [esi + 8], 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov edx, dword [ebp + 0x18]
mov dword [ebp - 0x27c], 1
test edx, edx
je 0x40621f
mov edi, dword [ebp + 0x1c]
lea eax, [ebp + 8]
cmp edi, 8
lea ecx, [ebp + 8]
cmovae eax, dword [ebp + 8]
cmovae ecx, dword [ebp + 8]
lea eax, [eax + edx*2]
cmp eax, ecx
je 0x406013
cmp word [eax - 2], 0x5c
je 0x406013
push 1
xor eax, eax
mov dword [ebp - 0x2b0], 0
push 0x433214
lea ecx, [ebp - 0x2b0]
mov dword [ebp - 0x2a0], 0
mov dword [ebp - 0x29c], 7
mov word [ebp - 0x2b0], ax
call fcn.00409f20
mov byte [ebp - 4], 2
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 8
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
push eax
push ecx
lea ecx, [ebp - 0x2b0]
call fcn.00409640
mov dword [ebp - 0x28], 0
xor ecx, ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
movups xmm0, xmmword [eax]
mov dword [ebp - 0x27c], 3
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push 0x4332bc
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x298]
call fcn.00408ab0
mov edi, eax
add esp, 4
lea eax, [ebp + 8]
cmp eax, edi
je 0x405f17
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x405ee5
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405edb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406272
push edx
push ecx
call fcn.004165af
add esp, 8
mov dword [ebp + 0x18], 0
xor eax, eax
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
movups xmm0, xmmword [edi]
movups xmmword [ebp + 8], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp + 0x18], xmm0
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 7
mov word [edi], ax
mov edx, dword [ebp - 0x284]
cmp edx, 8
jb 0x405f57
mov ecx, dword [ebp - 0x298]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405f4d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406272
push edx
push ecx
call fcn.004165af
add esp, 8
xor eax, eax
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x288], 0
mov dword [ebp - 0x284], 7
mov word [ebp - 0x298], ax
cmp edx, 8
jb 0x405fb2
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405fa8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406272
push edx
push ecx
call fcn.004165af
add esp, 8
xor eax, eax
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x29c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x4060a4
mov ecx, dword [ebp - 0x2b0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x406004
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406272
push edx
push ecx
call fcn.004165af
add esp, 8
jmp 0x4060a4
mov eax, 0x7ffffffe
sub eax, edx
cmp eax, 1
jb 0x406277
push 1
push 0x4332bc
cmp edi, 8
lea eax, [ebp + 8]
push edx
cmovae eax, dword [ebp + 8]
push eax
push ecx
push dword [ebp - 0x280]
lea ecx, [ebp - 0x298]
call fcn.00409530
mov edx, dword [ebp + 0x1c]
mov dword [ebp - 0x27c], 5
cmp edx, 8
jb 0x40608c
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x406082
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406272
push edx
push ecx
call fcn.004165af
add esp, 8
movups xmm0, xmmword [ebp - 0x298]
movups xmmword [ebp + 8], xmm0
movq xmm0, qword [ebp - 0x288]
movq qword [ebp + 0x18], xmm0
cmp dword [ebp + 0x1c], 8
lea ecx, [ebp - 0x278]
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x40621f
nop dword [eax + eax]
mov edx, 0x4333e8
lea ecx, [ebp - 0x24c]
nop dword [eax + eax]
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x406106
test ax, ax
je 0x406102
mov ax, word [ecx + 2]
cmp ax, word [edx + 2]
jne 0x406106
add ecx, 4
add edx, 4
test ax, ax
jne 0x4060e0
xor eax, eax
jmp 0x40610b
sbb eax, eax
or eax, 1
test eax, eax
je 0x406202
mov ecx, 0x4333ec
lea eax, [ebp - 0x24c]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x406146
test dx, dx
je 0x406142
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x406146
add eax, 4
add ecx, 4
test dx, dx
jne 0x406120
xor eax, eax
jmp 0x40614b
sbb eax, eax
or eax, 1
test eax, eax
je 0x406202
test byte [ebp - 0x278], 0x10
jne 0x406202
xor eax, eax
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x24c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
lea edx, [ecx + 2]
mov word [ebp - 0x28], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x406184
sub ecx, edx
lea eax, [ebp - 0x24c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00409f20
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
mov eax, dword [esi + 4]
push ecx
cmp eax, dword [esi + 8]
je 0x4061c0
mov ecx, eax
call fcn.00408650
add dword [esi + 4], 0x18
jmp 0x4061c8
push eax
mov ecx, esi
call fcn.00408be0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x406202
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4061f8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406272
push edx
push ecx
call fcn.004165af
add esp, 8
lea eax, [ebp - 0x278]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4060d0
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x406255
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40624b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40627c
push edx
push ecx
call fcn.004165af
add esp, 8
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.004165a1
mov esp, ebp
pop ebp
ret
call fcn.00419a7c
call fcn.00409d80
call fcn.00419a7c
int3