Function at 0x409a90
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 0x4411e6
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1c0
mov eax, dword [0x450080]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x198], edi
mov dword [ebp - 0x194], edi
mov dword [ebp - 0x194], edi
mov dword [ebp - 4], 0
lea esi, [ebx + 8]
cmp dword [ebx + 0x1c], 0xf
mov eax, dword [edx + 0x10]
cmova esi, dword [ebx + 8]
mov ecx, esi
mov dword [ebp - 0x18c], eax
lea eax, [ecx + 1]
mov dword [ebp - 0x190], eax
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x409b10
sub ecx, dword [ebp - 0x190]
mov eax, 0x7fffffff
sub eax, dword [ebp - 0x18c]
cmp eax, ecx
jb 0x409f41
cmp dword [edx + 0x14], 0xf
jbe 0x409b38
mov edx, dword [edx]
push ecx
push esi
push dword [ebp - 0x18c]
push edx
push ecx
push dword [ebp - 0x198]
lea ecx, [ebp - 0x44]
call fcn.0041ba00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x188]
cmp dword [ebp - 0x30], 0xf
lea eax, [ebp - 0x44]
push ecx
cmova eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
xorps xmm0, xmm0
mov dword [ebp - 0x194], esi
cmp esi, 0xffffffff
jne 0x409c1d
push 0
movups xmmword [edi], xmm0
push 0x44ad19
mov ecx, edi
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
call fcn.004193e0
mov ecx, dword [ebp - 0x30]
cmp ecx, 0xf
jbe 0x409bd4
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x409bca
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409f46
push ecx
push edx
call fcn.00420345
add esp, 8
mov ecx, dword [ebx + 0x1c]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
cmp ecx, 0xf
jbe 0x409f21
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x409f17
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409f46
jmp 0x409f17
lea ecx, [ebp - 0x15c]
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x409c38
sub ecx, edx
lea eax, [ebp - 0x15c]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.004193e0
lea eax, [ebp - 0x188]
mov byte [ebp - 4], 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x409ea6
nop dword [eax + eax]
xorps xmm0, xmm0
mov dword [ebp - 0x1a0], 0
lea ecx, [ebp - 0x15c]
mov dword [ebp - 0x19c], 0
movups xmmword [ebp - 0x1b0], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x409c97
sub ecx, edx
lea eax, [ebp - 0x15c]
push ecx
push eax
lea ecx, [ebp - 0x1b0]
call fcn.004193e0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x19c]
mov eax, edx
mov ecx, dword [ebp - 0x1a0]
sub eax, ecx
cmp eax, 1
jb 0x409d55
cmp edx, 0xf
lea esi, [ebp - 0x1b0]
lea eax, [ecx + 1]
cmova esi, dword [ebp - 0x1b0]
mov dword [ebp - 0x1a0], eax
cmp esi, 0x44ad79
jae 0x409d11
lea eax, [esi + ecx]
cmp eax, 0x44ad78
jb 0x409d11
cmp esi, 0x44ad78
ja 0x409d07
xor edi, edi
jmp 0x409d16
mov edi, esi
sub edi, 0x44ad78
jmp 0x409d16
mov edi, 1
push dword [ebp - 0x1a0]
lea eax, [esi + 1]
push esi
push eax
call fcn.00421460
push edi
push 0x44ad78
push esi
call fcn.00421460
mov eax, 1
lea ecx, [esi + edi]
sub eax, edi
push eax
lea eax, [edi + 0x44ad79]
push eax
push ecx
call fcn.00421460
add esp, 0x24
lea eax, [ebp - 0x1b0]
jmp 0x409d74
push 1
sub esp, 8
mov byte [ebp - 0x190], 0
lea ecx, [ebp - 0x1b0]
push dword [ebp - 0x190]
push 1
call fcn.0041e610
movups xmm1, xmmword [eax]
movq xmm0, qword [eax + 0x10]
movups xmmword [ebp - 0x1c8], xmm1
mov dword [eax + 0x10], 0
movq qword [ebp - 0x1b8], xmm0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 4
lea edx, [ebp - 0x1c8]
cmp dword [ebp - 0x1b4], 0xf
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x1b8]
movd edi, xmm1
push ecx
cmova edx, edi
sub eax, esi
push edx
cmp ecx, eax
ja 0x409df0
cmp dword [ebp - 0x18], 0xf
lea eax, [esi + ecx]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x2c]
cmova eax, dword [ebp - 0x2c]
add esi, eax
push esi
call fcn.00421460
mov eax, dword [ebp - 0x1b8]
add esp, 0xc
mov byte [esi + eax], 0
jmp 0x409e0c
mov byte [ebp - 0x18c], 0
push dword [ebp - 0x18c]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00419bf0
mov edi, dword [ebp - 0x1c8]
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x1b4]
cmp eax, 0xf
jbe 0x409e46
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x409e3c
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409f46
push ecx
push edi
call fcn.00420345
add esp, 8
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x19c]
cmp ecx, 0xf
jbe 0x409e84
mov edx, dword [ebp - 0x1b0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x409e7a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409f46
push ecx
push edx
call fcn.00420345
add esp, 8
mov esi, dword [ebp - 0x194]
lea eax, [ebp - 0x188]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x409c70
mov edi, dword [ebp - 0x198]
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x30]
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
movups xmm0, xmmword [ebp - 0x2c]
mov byte [ebp - 0x2c], 0
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x1c]
movq qword [edi + 0x10], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
cmp ecx, 0xf
jbe 0x409bd4
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x409bca
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409f46
jmp 0x409bca
push ecx
push edx
call fcn.00420345
add esp, 8
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.0041feb1
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00401330
call fcn.0042be4f
int3