Function at 0x40dbb0
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 0x4152cd
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x2c0
mov eax, dword [0x41e014]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov eax, dword [ebx + 0xc]
push ecx
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x2c4], eax
call fcn.00408110
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], 0
call fcn.0040e2c0
test al, al
jne 0x40dc3f
lea ecx, [ebp - 0x5c]
call fcn.0040e380
test al, al
jne 0x40dc2d
cmp dword [ebp - 0x4c], 0x104
jb 0x40dc3f
xor dl, dl
lea ecx, [ebp - 0x5c]
call fcn.0040d700
test al, al
je 0x40df0f
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x44]
call fcn.00408110
mov byte [ebp - 4], 1
cmp dword [esi + 0x14], 8
jb 0x40dc57
mov esi, dword [esi]
mov edx, esi
lea ecx, [ebp - 0x44]
call fcn.004074d0
push 0x250
lea eax, [ebp - 0x2b0]
push 0
push eax
call fcn.00412a90
add esp, 0xc
lea ecx, [ebp - 0x2b0]
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push 0
push 0
push 0
push ecx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov dword [ebp - 0x2bc], eax
cmp eax, 0xffffffff
je 0x40dec5
nop word [eax + eax]
test byte [ebp - 0x2b0], 0x10
je 0x40dea2
xor eax, eax
mov dword [ebp - 0x2c], 0
mov word [ebp - 0x2c], ax
lea eax, [ebp - 0x284]
mov dword [ebp - 0x1c], 0
lea edx, [eax + 2]
mov dword [ebp - 0x18], 7
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40dce1
sub eax, edx
lea ecx, [ebp - 0x2c]
sar eax, 1
push eax
lea eax, [ebp - 0x284]
push eax
call fcn.004058f0
mov byte [ebp - 4], 2
lea esi, [ebp - 0x2c]
mov eax, dword [ebp - 0x18]
cmp eax, 8
mov edi, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x1c]
setae byte [ebp - 0x2b1]
cmovae esi, edi
mov dword [ebp - 0x2c0], eax
mov dword [ebp - 0x2b8], ecx
cmp ecx, 1
jne 0x40dd59
mov edx, ecx
mov ecx, 0x419140
sub esi, ecx
mov ax, word [esi + ecx]
cmp ax, word [ecx]
jne 0x40dd53
add ecx, 2
sub edx, 1
jne 0x40dd37
mov ecx, dword [ebp - 0x2c0]
jmp 0x40de64
mov ecx, dword [ebp - 0x2b8]
cmp byte [ebp - 0x2b1], 0
lea esi, [ebp - 0x2c]
cmovne esi, edi
cmp ecx, 2
jne 0x40dd96
mov edx, ecx
mov ecx, 0x4197f8
sub esi, ecx
mov ax, word [esi + ecx]
cmp ax, word [ecx]
jne 0x40dd90
add ecx, 2
sub edx, 1
jne 0x40dd74
mov ecx, dword [ebp - 0x2c0]
jmp 0x40de64
mov ecx, dword [ebp - 0x2b8]
mov edx, dword [ebp - 0x2c4]
lea eax, [ebp - 0x2c]
mov esi, dword [edx + 4]
cmp esi, dword [edx + 8]
je 0x40de55
cmp byte [ebp - 0x2b1], 0
mov dword [esi], 0
cmovne eax, edi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [ebp - 0x2c8], eax
cmp ecx, 8
jae 0x40ddf1
movups xmm0, xmmword [eax]
mov eax, 7
movups xmmword [esi], xmm0
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], eax
add dword [edx + 4], 0x18
mov ecx, dword [ebp - 0x2c0]
jmp 0x40de64
mov eax, ecx
mov ecx, 0x7ffffffe
or eax, 7
cmp eax, 0x7ffffffe
cmova eax, ecx
mov ecx, esi
mov dword [ebp - 0x2cc], eax
inc eax
push eax
call fcn.00405b80
mov ecx, dword [ebp - 0x2b8]
mov dword [esi], eax
lea ecx, [ecx*2 + 2]
push ecx
push dword [ebp - 0x2c8]
push eax
call fcn.00412500
mov ecx, dword [ebp - 0x2b8]
add esp, 0xc
mov edx, dword [ebp - 0x2c4]
mov eax, dword [ebp - 0x2cc]
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], eax
add dword [edx + 4], 0x18
mov ecx, dword [ebp - 0x2c0]
jmp 0x40de64
push eax
push esi
mov ecx, edx
call fcn.00408250
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x2c]
mov byte [ebp - 4], 1
cmp ecx, 8
jb 0x40de9c
lea ecx, [ecx*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x40de92
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40df3b
push ecx
push edi
call fcn.004111d0
add esp, 8
mov eax, dword [ebp - 0x2bc]
lea ecx, [ebp - 0x2b0]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
mov eax, dword [ebp - 0x2bc]
jne 0x40dcb0
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x30]
cmp ecx, 8
jb 0x40defb
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40def1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40df3b
push ecx
push edx
call fcn.004111d0
add esp, 8
xor eax, eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
mov ecx, dword [ebp - 0x48]
cmp ecx, 8
jb 0x40df4b
mov edx, dword [ebp - 0x5c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40df41
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40df41
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004111d0
add esp, 8
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.004111c2
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8