Function at 0x40d1d0
Capabilities:
Enumerate files on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x462b43
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x748
mov eax, dword [0x47b040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x730], eax
mov edi, dword [ebx + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x754], edi
mov dword [ebp - 0x734], 1
movq qword [edi], xmm0
mov dword [edi + 8], 0
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [ebp - 4], 0
cmp dword [eax + 0x130], 0
mov dword [ebp - 0x734], 1
je 0x40d6b8
movups xmmword [ebp - 0x4bc], xmm0
mov dword [ebp - 0x4ac], 0
push 8
mov dword [ebp - 0x4bc], 0
mov dword [ebp - 0x4b8], 0
mov dword [ebp - 0x4b4], 0
mov dword [ebp - 0x4b0], 0
mov dword [ebp - 0x4ac], 0
call fcn.0043870c
lea ecx, [ebp - 0x4bc]
add esp, 4
mov dword [eax + 4], 0
mov dword [ebp - 0x4bc], eax
mov dword [eax], ecx
mov dword [ebp - 4], 1
mov esi, dword [ebp - 0x4ac]
mov edx, dword [ebp - 0x4b4]
lea eax, [esi + 1]
cmp edx, eax
ja 0x40d2fa
push ecx
call fcn.0040e650
mov esi, dword [ebp - 0x4ac]
mov edx, dword [ebp - 0x4b4]
mov ecx, dword [ebp - 0x4b0]
lea eax, [edx - 1]
and ecx, eax
lea eax, [edx - 1]
mov dword [ebp - 0x4b0], ecx
add ecx, esi
and eax, ecx
mov dword [ebp - 0x72c], ecx
mov ecx, dword [ebp - 0x4b8]
lea esi, [eax*4]
cmp dword [ecx + esi], 0
jne 0x40d34a
push 0x18
call fcn.0043870c
mov ecx, dword [ebp - 0x4b8]
add esp, 4
mov dword [esi + ecx], eax
mov edx, dword [ebp - 0x4b4]
mov ecx, dword [ebp - 0x4b8]
lea eax, [edx - 1]
and eax, dword [ebp - 0x72c]
mov ecx, dword [ecx + eax*4]
mov eax, dword [ebp - 0x730]
add eax, 0x120
push eax
call fcn.0040e3c0
add dword [ebp - 0x4ac], 1
je 0x40d6ad
nop dword [eax]
nop dword [eax + eax]
mov ecx, dword [ebp - 0x4b4]
mov eax, dword [ebp - 0x4b8]
dec ecx
and ecx, dword [ebp - 0x4b0]
push dword [eax + ecx*4]
lea ecx, [ebp - 0x4d4]
call fcn.0040e3c0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x4b4]
mov eax, dword [ebp - 0x4b8]
dec ecx
and ecx, dword [ebp - 0x4b0]
mov esi, dword [eax + ecx*4]
mov ecx, dword [esi + 0x14]
cmp ecx, 7
jbe 0x40d3f4
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x40d3ea
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d7d1
mov eax, edx
push ecx
push eax
call fcn.00438aa2
add esp, 8
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
sub dword [ebp - 0x4ac], 1
jne 0x40d418
mov dword [ebp - 0x4b0], eax
jmp 0x40d41e
inc dword [ebp - 0x4b0]
push 0x208
lea eax, [ebp - 0x2a0]
push 0
push eax
call fcn.0043a680
add esp, 0xc
lea eax, [ebp - 0x4d4]
cmp dword [ebp - 0x4c0], 7
cmova eax, dword [ebp - 0x4d4]
push eax
lea eax, [ebp - 0x2a0]
push 0x4708d0
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x2a0]
push 0x470950
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x250
lea eax, [ebp - 0x728]
push 0
push eax
call fcn.0043a680
add esp, 0xc
lea eax, [ebp - 0x728]
push eax
lea eax, [ebp - 0x2a0]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [ebp - 0x72c], esi
cmp esi, 0xffffffff
je 0x40d65c
nop dword [eax + eax]
cmp word [ebp - 0x6fc], 0x2e
je 0x40d63a
push 0x208
lea eax, [ebp - 0x4a8]
push 0
push eax
call fcn.0043a680
add esp, 0xc
lea ecx, [ebp - 0x6fc]
cmp dword [ebp - 0x4c0], 7
lea eax, [ebp - 0x4d4]
cmova eax, dword [ebp - 0x4d4]
push ecx
push eax
lea eax, [ebp - 0x4a8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test byte [ebp - 0x728], 0x10
je 0x40d6da
lea eax, [ebp - 0x4a8]
push eax
lea ecx, [ebp - 0x750]
call fcn.00407e10
mov dword [ebp - 0x738], eax
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x4ac]
mov edx, dword [ebp - 0x4b4]
lea ecx, [esi + 1]
cmp edx, ecx
ja 0x40d551
push ecx
lea ecx, [ebp - 0x4bc]
call fcn.0040e650
mov esi, dword [ebp - 0x4ac]
mov edx, dword [ebp - 0x4b4]
mov ecx, dword [ebp - 0x4b0]
lea eax, [edx - 1]
and ecx, eax
lea eax, [edx - 1]
mov dword [ebp - 0x4b0], ecx
add ecx, esi
and eax, ecx
mov dword [ebp - 0x730], ecx
mov ecx, dword [ebp - 0x4b8]
lea esi, [eax*4]
cmp dword [ecx + esi], 0
jne 0x40d5a1
push 0x18
call fcn.0043870c
mov ecx, dword [ebp - 0x4b8]
add esp, 4
mov dword [ecx + esi], eax
mov edx, dword [ebp - 0x4b4]
mov ecx, dword [ebp - 0x4b8]
lea eax, [edx - 1]
xorps xmm0, xmm0
and eax, dword [ebp - 0x730]
mov eax, dword [ecx + eax*4]
mov ecx, dword [ebp - 0x738]
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
movups xmm0, xmmword [ecx]
movups xmmword [eax], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [eax + 0x10], xmm0
xor eax, eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
inc dword [ebp - 0x4ac]
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x73c]
cmp ecx, 7
jbe 0x40d634
mov edx, dword [ebp - 0x750]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40d62a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d7d1
push ecx
push edx
call fcn.00438aa2
add esp, 8
mov esi, dword [ebp - 0x72c]
lea eax, [ebp - 0x728]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40d4b0
push dword [ebp - 0x72c]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x4c0]
cmp ecx, 7
jbe 0x40d6a0
mov edx, dword [ebp - 0x4d4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40d696
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d7d1
push ecx
push edx
call fcn.00438aa2
add esp, 8
cmp dword [ebp - 0x4ac], 0
jne 0x40d380
lea ecx, [ebp - 0x4bc]
call fcn.0040e230
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00438436
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
push 0x80
lea eax, [ebp - 0x98]
push 0
push eax
call fcn.0043a680
add esp, 0xc
lea eax, [ebp - 0x98]
push 0x40
push eax
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x6fc]
push 0
push eax
call fcn.0044444d
add esp, 0x24
lea eax, [ebp - 0x98]
push eax
push 0x470bb8
call fcn.00442e92
add esp, 8
test eax, eax
jne 0x40d63a
lea eax, [ebp - 0x4a8]
push eax
lea ecx, [ebp - 0x750]
call fcn.00407e10
mov byte [ebp - 4], 4
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
je 0x40d779
movups xmm0, xmmword [ebp - 0x750]
mov ecx, 7
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x740]
movq qword [eax + 0x10], xmm0
xor eax, eax
add dword [edi + 4], 0x18
mov word [ebp - 0x750], ax
jmp 0x40d78e
lea ecx, [ebp - 0x750]
push ecx
push eax
mov ecx, edi
call fcn.0040ead0
mov ecx, dword [ebp - 0x73c]
mov byte [ebp - 4], 2
cmp ecx, 7
jbe 0x40d63a
mov edx, dword [ebp - 0x750]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40d7c2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d7d1
push ecx
push edx
call fcn.00438aa2
add esp, 8
jmp 0x40d63a
call fcn.00442b30
int3