Function at 0x4023b0
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 0x40b77e
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x210
mov eax, dword [0x40f008]
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, 0xf
mov dword [ebp - 0x204], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], esi
mov byte [ebp - 0x44], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], esi
mov byte [ebp - 0x2c], 0
mov byte [ebp - 4], 2
push 8
mov dword [ebp - 0x1fc], 0
mov dword [ebp - 0x1f8], 0
mov dword [ebp - 0x1f4], 0
mov dword [ebp - 0x1f0], 0
mov dword [ebp - 0x1ec], 0
call fcn.0040a6c0
lea ecx, [ebp - 0x1fc]
add esp, 4
mov dword [eax + 4], 0
mov dword [ebp - 0x1fc], eax
mov dword [eax], ecx
xor ecx, ecx
mov byte [ebp - 4], 3
mov edi, dword [0x410564]
mov eax, 0x2aaaaaab
mov dword [ebp - 0x208], ecx
mov ecx, dword [0x410568]
sub ecx, edi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x402b5f
mov esi, dword [ebp - 0x1ec]
xor ecx, ecx
mov dword [ebp - 0x20c], ecx
nop word [eax + eax]
add edi, ecx
lea eax, [esi + 1]
mov ecx, dword [ebp - 0x1f4]
cmp ecx, eax
ja 0x4024e7
push ecx
lea ecx, [ebp - 0x1fc]
call fcn.00405780
mov esi, dword [ebp - 0x1ec]
mov ecx, dword [ebp - 0x1f4]
mov eax, dword [ebp - 0x1f0]
dec ecx
and eax, ecx
mov dword [ebp - 0x1f0], eax
add eax, esi
and eax, ecx
mov ecx, dword [ebp - 0x1f8]
lea esi, [eax*4]
cmp dword [esi + ecx], 0
jne 0x402526
push 0x18
call fcn.0040a6c0
mov ecx, dword [ebp - 0x1f8]
add esp, 4
mov dword [esi + ecx], eax
mov ecx, dword [ebp - 0x1f8]
mov ecx, dword [esi + ecx]
push edi
call fcn.00404bc0
mov esi, dword [ebp - 0x1ec]
add esi, 1
mov dword [ebp - 0x1ec], esi
je 0x402b1d
lea edx, [ebp - 0x1fc]
nop word [eax + eax]
mov eax, dword [ebp - 0x1f0]
mov ecx, dword [edx + 8]
add eax, esi
mov dword [ebp - 0x214], eax
dec ecx
dec eax
and ecx, eax
mov eax, dword [edx + 4]
mov eax, dword [eax + ecx*4]
lea ecx, [ebp - 0x44]
cmp ecx, eax
je 0x402588
cmp dword [eax + 0x14], 0x10
mov ecx, eax
jb 0x40257c
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x44]
call fcn.00404cb0
push 0x40ca14
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x90]
call fcn.00404e90
mov esi, eax
add esp, 4
lea eax, [ebp - 0x2c]
cmp eax, esi
je 0x40260f
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x4025db
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4025d1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402bd1
push edx
push ecx
call fcn.0040aa56
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x1c], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov edx, dword [ebp - 0x7c]
cmp edx, 0x10
jb 0x402646
mov ecx, dword [ebp - 0x90]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40263c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402bd1
push edx
push ecx
call fcn.0040aa56
add esp, 8
mov eax, dword [ebp - 0x1f0]
mov ecx, dword [ebp - 0x1ec]
dec eax
mov edx, dword [ebp - 0x1f4]
add ecx, eax
mov eax, dword [ebp - 0x1f8]
dec edx
and edx, ecx
mov esi, dword [eax + edx*4]
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x40269a
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x402690
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402bd1
mov eax, edx
push ecx
push eax
call fcn.0040aa56
add esp, 8
mov dword [esi + 0x10], 0
mov ecx, 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
sub dword [ebp - 0x1ec], 1
mov eax, dword [ebp - 0x1f0]
cmove eax, ecx
cmp dword [ebp - 0x18], 0x10
mov dword [ebp - 0x1f0], eax
lea ecx, [ebp - 0x1e8]
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x200], eax
cmp eax, 0xffffffff
je 0x402b09
mov esi, eax
mov edx, 0x40ca18
lea ecx, [ebp - 0x1bc]
nop dword [eax + eax]
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x402720
test al, al
je 0x40271c
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x402720
add ecx, 2
add edx, 2
test al, al
jne 0x402700
xor eax, eax
jmp 0x402725
sbb eax, eax
or eax, 1
test eax, eax
je 0x402aec
mov ecx, 0x40ca1c
lea eax, [ebp - 0x1bc]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x402758
test dl, dl
je 0x402754
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x402758
add eax, 2
add ecx, 2
test dl, dl
jne 0x402738
xor eax, eax
jmp 0x40275d
sbb eax, eax
or eax, 1
test eax, eax
je 0x402aec
test byte [ebp - 0x1e8], 0x10
je 0x4028d2
push 0x40ca20
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x74]
call fcn.00404e90
mov ecx, eax
add esp, 4
mov dword [ebp - 0x210], ecx
lea edi, [ebp - 0x1bc]
mov byte [ebp - 4], 4
lea edx, [edi + 1]
nop word [eax + eax]
mov al, byte [edi]
inc edi
test al, al
jne 0x4027a0
mov esi, dword [ecx + 0x14]
sub edi, edx
mov edx, dword [ecx + 0x10]
mov eax, esi
sub eax, edx
cmp edi, eax
ja 0x4027e6
lea eax, [edx + edi]
mov dword [ecx + 0x10], eax
mov eax, ecx
cmp esi, 0x10
jb 0x4027c6
mov eax, dword [ecx]
lea esi, [eax + edx]
push edi
lea eax, [ebp - 0x1bc]
push eax
push esi
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x210]
add esp, 0xc
mov byte [esi + edi], 0
jmp 0x402801
push edi
lea eax, [ebp - 0x1bc]
mov byte [ebp - 0x220], 0
push eax
push dword [ebp - 0x220]
push edi
call fcn.004055a0
movups xmm0, xmmword [eax]
or dword [ebp - 0x204], 1
movups xmmword [ebp - 0x88], xmm0
movups xmmword [ebp - 0xa8], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x218], xmm0
movq qword [ebp - 0x98], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x1ec]
mov ecx, dword [ebp - 0x1f4]
lea eax, [edx + 1]
cmp ecx, eax
ja 0x40286e
push ecx
lea ecx, [ebp - 0x1fc]
call fcn.00405780
mov edx, dword [ebp - 0x1ec]
mov ecx, dword [ebp - 0x1f4]
mov eax, dword [ebp - 0x1f0]
dec ecx
and eax, ecx
mov dword [ebp - 0x1f0], eax
add eax, edx
and eax, ecx
lea esi, [eax*4]
mov eax, dword [ebp - 0x1f8]
cmp dword [esi + eax], 0
jne 0x4028ad
push 0x18
call fcn.0040a6c0
mov ecx, dword [ebp - 0x1f8]
add esp, 4
mov dword [esi + ecx], eax
mov eax, dword [ebp - 0x1f8]
mov eax, dword [esi + eax]
movups xmm0, xmmword [ebp - 0x88]
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x218]
movq qword [eax + 0x10], xmm0
inc dword [ebp - 0x1ec]
jmp 0x402aae
lea ecx, [ebp - 0x1bc]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4028e0
sub ecx, edx
lea eax, [ecx - 1]
nop dword [eax]
cmp byte [ebp + eax - 0x1bc], 0x2e
je 0x4028fd
dec eax
jmp 0x4028f0
lea eax, [ebp + eax - 0x1bc]
mov dword [ebp - 0x210], eax
test eax, eax
je 0x402aec
mov ecx, dword [0x410574]
mov eax, 0x2aaaaaab
sub ecx, dword [0x410570]
xor edi, edi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x214], eax
je 0x402aec
xor esi, esi
nop
mov eax, dword [0x410570]
add eax, esi
cmp dword [eax + 0x14], 0x10
jb 0x40294f
mov eax, dword [eax]
mov ecx, dword [ebp - 0x210]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x402975
test dl, dl
je 0x402971
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x402975
add ecx, 2
add eax, 2
test dl, dl
jne 0x402955
xor eax, eax
jmp 0x40297a
sbb eax, eax
or eax, 1
test eax, eax
je 0x40298f
inc edi
add esi, 0x18
cmp edi, dword [ebp - 0x214]
jb 0x402940
jmp 0x402ae6
push 0x40ca20
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x74]
call fcn.00404e90
mov ecx, eax
add esp, 4
mov dword [ebp - 0x214], ecx
lea edi, [ebp - 0x1bc]
mov byte [ebp - 4], 6
lea edx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x4029b7
mov esi, dword [ecx + 0x14]
sub edi, edx
mov edx, dword [ecx + 0x10]
mov eax, esi
sub eax, edx
cmp edi, eax
ja 0x4029fd
lea eax, [edx + edi]
mov dword [ecx + 0x10], eax
mov eax, ecx
cmp esi, 0x10
jb 0x4029dd
mov eax, dword [ecx]
lea esi, [eax + edx]
push edi
lea eax, [ebp - 0x1bc]
push eax
push esi
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x214]
add esp, 0xc
mov byte [esi + edi], 0
jmp 0x402a18
push edi
lea eax, [ebp - 0x1bc]
mov byte [ebp - 0x21c], 0
push eax
push dword [ebp - 0x21c]
push edi
call fcn.004055a0
movups xmm0, xmmword [eax]
or dword [ebp - 0x204], 2
movq xmm1, qword [eax + 0x10]
movups xmmword [ebp - 0x5c], xmm0
mov dword [eax + 0x10], 0
movq qword [ebp - 0x4c], xmm1
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 7
mov eax, dword [0x410580]
cmp eax, dword [0x410584]
je 0x402a6c
movups xmmword [eax], xmm0
mov edx, 0xf
mov byte [ebp - 0x5c], 0
movq qword [eax + 0x10], xmm1
add dword [0x410580], 0x18
jmp 0x402a79
lea ecx, [ebp - 0x5c]
push ecx
push eax
call fcn.00405210
mov edx, dword [ebp - 0x48]
mov byte [ebp - 4], 6
cmp edx, 0x10
jb 0x402aae
mov ecx, dword [ebp - 0x5c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402aa4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402bd1
push edx
push ecx
call fcn.0040aa56
add esp, 8
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x60]
cmp edx, 0x10
jb 0x402ae6
mov ecx, dword [ebp - 0x74]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402adc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402bd1
push edx
push ecx
call fcn.0040aa56
add esp, 8
mov esi, dword [ebp - 0x200]
lea eax, [ebp - 0x1e8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4026f0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [ebp - 0x1ec]
lea edx, [ebp - 0x1fc]
test esi, esi
jne 0x402550
mov ecx, dword [0x410568]
mov eax, 0x2aaaaaab
mov edi, dword [0x410564]
sub ecx, edi
inc dword [ebp - 0x208]
add dword [ebp - 0x20c], 0x18
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x208], eax
jae 0x402b5c
mov ecx, dword [ebp - 0x20c]
jmp 0x4024c0
mov esi, dword [ebp - 0x30]
lea ecx, [ebp - 0x1fc]
call fcn.004049f0
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x402b9a
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402b90
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402bd1
push edx
push ecx
call fcn.0040aa56
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
cmp esi, 0x10
jb 0x402be1
mov ecx, dword [ebp - 0x44]
lea edx, [esi + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x402bd7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402bd7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0040aa56
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.0040a67e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret