Function at 0x41f5c0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f2009
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1b4
push esi
mov dword [ebp - 0x20], ecx
push edi
mov byte [ebp - 0x19], dl
mov dword [ebp - 0x14], 1
mov dword [ebp - 4], 0
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov byte [ebp - 4], 1
mov esi, dword [ecx]
mov edi, dword [ecx + 4]
mov dword [ebp - 0x14], 1
cmp esi, edi
je 0x41f638
nop dword [eax]
mov ecx, esi
call fcn.00402890
add esi, 0x18
cmp esi, edi
jne 0x41f620
mov esi, dword [ebp - 0x20]
mov eax, dword [esi]
mov dword [esi + 4], eax
jmp 0x41f63b
mov esi, dword [ebp - 0x20]
mov word [ebp - 0xf], 0xb5c3
xor ecx, ecx
mov byte [ebp - 0xd], 0
nop word [eax + eax]
movzx eax, byte [ebp + ecx - 0xf]
push eax
call fcn.00459470
mov byte [ebp + ecx - 0xf], al
inc ecx
cmp ecx, 2
jb 0x41f650
mov dword [ebp - 4], 2
lea ecx, [ebp - 0xf]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41f672
sub ecx, edx
mov eax, closesocket
mov edx, dword [ebp + 0x18]
sub eax, edx
cmp eax, ecx
jb 0x41f999
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push ecx
cmovae eax, dword [ebp + 8]
lea ecx, [ebp - 0xf]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x20]
lea ecx, [ebp - 0x68]
call fcn.00460300
cmp dword [ebp - 0x54], 0x10
lea ecx, [ebp - 0x1c0]
lea eax, [ebp - 0x68]
mov dword [ebp - 0x14], 3
cmovae eax, dword [ebp - 0x68]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, 3
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edi
and edi, 0xfffffffd
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x68]
call fcn.00402890
mov eax, dword [ebp - 0x18]
cmp eax, 0xffffffff
je 0x41f971
cmp byte [ebp - 0x19], 0
jne 0x41f709
test byte [ebp - 0x1c0], 0x10
jne 0x41f93c
jmp 0x41f716
test byte [ebp - 0x1c0], 0x10
je 0x41f93c
lea ecx, [ebp - 0x194]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41f720
mov al, byte [ebp - 0x194]
sub ecx, edx
cmp ecx, 1
jne 0x41f73c
cmp al, 0x2e
je 0x41f939
cmp ecx, 2
jne 0x41f751
cmp al, 0x2e
jne 0x41f751
cmp byte [ebp - 0x193], al
je 0x41f939
cmp byte [ebp + 0x20], 0
je 0x41f883
push 0xffffffffffffffc3
mov byte [ebp - 0xd], 0
call fcn.00459470
mov byte [ebp - 0xe], al
mov dword [ebp - 4], 3
lea ecx, [ebp - 0xe]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41f776
sub ecx, edx
mov eax, closesocket
mov edx, dword [ebp + 0x18]
sub eax, edx
cmp eax, ecx
jb 0x41f999
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push ecx
cmovae eax, dword [ebp + 8]
lea ecx, [ebp - 0xe]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x20]
lea ecx, [ebp - 0x80]
call fcn.00460300
or edi, 4
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x194]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41f7c2
sub ecx, edx
lea eax, [ebp - 0x194]
push ecx
push eax
lea ecx, [ebp - 0x80]
call fcn.0045a730
mov dword [ebp - 0x40], 0
or edi, 8
mov dword [ebp - 0x3c], 0
mov ecx, esi
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x50], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x50]
push eax
movq qword [ebp - 0x40], xmm0
mov dword [ebp - 0x14], edi
call fcn.00456fc0
and edi, 0xfffffff7
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0x10
jb 0x41f85a
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41f850
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f99e
push ecx
push edx
call fcn.004b2a81
add esp, 8
and edi, 0xfffffffb
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], 0
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x80]
call fcn.00402890
jmp 0x41f939
push ecx
lea eax, [ebp - 0x194]
mov dword [ebp - 0x28], 0
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
push eax
lea ecx, [ebp - 0x38]
movups xmmword [ebp - 0x38], xmm0
call fcn.00402aa0
mov dword [ebp - 4], 5
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x41f8e1
movups xmm0, xmmword [ebp - 0x38]
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x28]
movq qword [eax + 0x10], xmm0
mov eax, 0xf
mov dword [ebp - 0x24], eax
add dword [esi + 4], 0x18
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x38], 0
jmp 0x41f8f0
lea ecx, [ebp - 0x38]
push ecx
push eax
mov ecx, esi
call fcn.00465480
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 1
cmp eax, 0x10
jb 0x41f927
mov edx, dword [ebp - 0x38]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x41f91d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f99e
push ecx
push edx
call fcn.004b2a81
add esp, 8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x1c0]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
mov eax, dword [ebp - 0x18]
jne 0x41f6f4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x41f968
mov eax, dword [ebp - 0x18]
jmp 0x41f6f4
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00402890
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.00402210
call fcn.004cdf70
int3