Function at 0x464230
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 0x5db933
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x2d8
mov eax, dword [0x66c214]
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, dword [ebx + 8]
mov dword [ebp - 0x2b0], esi
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 2
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], eax
push 8
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
call fcn.00562e63
add esp, 4
mov dword [ebp - 0x28], eax
test eax, eax
je 0x4642d3
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
mov dword [eax], ecx
lea eax, [ebx + 0xc]
mov byte [ebp - 4], 3
push eax
call fcn.0046af30
push dword [ebp - 0x2b4]
mov edx, dword [esi + 4]
push ecx
mov ecx, dword [esi]
call fcn.00442750
mov eax, dword [esi]
add esp, 8
cmp dword [ebp - 0x18], 0
mov dword [esi + 4], eax
je 0x46462a
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
nop
push 1
lea eax, [ebp - 0x2d8]
push eax
lea eax, [ebp - 0x2e4]
push eax
lea ecx, [ebp - 0x28]
call fcn.00459da0
mov ecx, eax
call fcn.00459c20
mov edx, eax
mov eax, dword [edx]
test eax, eax
je 0x464339
mov eax, dword [eax]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, dword [edx + 8]
mov eax, dword [eax + ecx*4]
lea ecx, [ebx + 0xc]
cmp ecx, eax
je 0x464357
push 0xffffffffffffffff
push 0
push eax
call fcn.00433990
push 0x6409e8
lea eax, [ebx + 0xc]
push eax
lea eax, [ebp - 0x2cc]
push eax
call fcn.00459e70
lea ecx, [ebx + 0x24]
mov byte [ebp - 4], 4
push ecx
push eax
lea eax, [ebp - 0x2ac]
push eax
call fcn.00448150
add esp, 0x18
mov esi, eax
lea eax, [ebp - 0x40]
cmp eax, esi
je 0x4643bf
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x4643a2
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00433df0
xor eax, eax
mov dword [ebp - 0x2c], 7
push esi
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.00440940
mov eax, dword [ebp - 0x298]
cmp eax, 8
jb 0x4643dd
inc eax
lea ecx, [ebp - 0x2ac]
push eax
push dword [ebp - 0x2ac]
call fcn.00433df0
xor eax, eax
mov byte [ebp - 4], 3
mov word [ebp - 0x2ac], ax
mov eax, dword [ebp - 0x2b8]
mov dword [ebp - 0x298], 7
mov dword [ebp - 0x29c], 0
cmp eax, 8
jb 0x46441c
inc eax
lea ecx, [ebp - 0x2cc]
push eax
push dword [ebp - 0x2cc]
call fcn.00433df0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
dec eax
mov edx, dword [ebp - 0x20]
add ecx, eax
mov eax, dword [ebp - 0x24]
dec edx
and edx, ecx
mov esi, dword [eax + edx*4]
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x464444
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00433df0
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x46445a
mov esi, dword [esi]
xor eax, eax
mov ecx, 0
mov word [esi], ax
sub dword [ebp - 0x18], 1
mov eax, dword [ebp - 0x1c]
cmove eax, ecx
cmp dword [ebp - 0x2c], 8
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x290]
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x46460a
nop word [eax + eax]
mov edx, 0x640510
lea ecx, [ebp - 0x264]
nop dword [eax + eax]
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x4644d6
test ax, ax
je 0x4644d2
mov ax, word [ecx + 2]
cmp ax, word [edx + 2]
jne 0x4644d6
add ecx, 4
add edx, 4
test ax, ax
jne 0x4644b0
xor eax, eax
jmp 0x4644db
sbb eax, eax
or eax, 1
test eax, eax
je 0x4645f8
mov eax, 0x641dd0
lea ecx, [ebp - 0x264]
nop
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x464516
test dx, dx
je 0x464512
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x464516
add ecx, 4
add eax, 4
test dx, dx
jne 0x4644f0
xor eax, eax
jmp 0x46451b
sbb eax, eax
or eax, 1
test eax, eax
je 0x4645f8
test byte [ebp - 0x290], 0x10
lea eax, [ebx + 0xc]
push 0x6409e8
push eax
lea eax, [ebp - 0x2cc]
push eax
je 0x46456b
call fcn.00459e70
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 6
push ecx
push eax
lea eax, [ebp - 0x2ac]
push eax
call fcn.00442060
add esp, 0x18
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
call fcn.00459b00
jmp 0x46459b
call fcn.00459e70
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 8
push ecx
push eax
lea eax, [ebp - 0x2ac]
push eax
call fcn.00442060
add esp, 0x18
mov ecx, dword [ebp - 0x2b0]
push eax
mov byte [ebp - 4], 9
call fcn.004599a0
mov eax, dword [ebp - 0x298]
cmp eax, 8
jb 0x4645b9
inc eax
lea ecx, [ebp - 0x2ac]
push eax
push dword [ebp - 0x2ac]
call fcn.00433df0
xor eax, eax
mov byte [ebp - 4], 3
mov word [ebp - 0x2ac], ax
mov eax, dword [ebp - 0x2b8]
mov dword [ebp - 0x29c], 0
mov dword [ebp - 0x298], 7
cmp eax, 8
jb 0x4645f8
inc eax
lea ecx, [ebp - 0x2cc]
push eax
push dword [ebp - 0x2cc]
call fcn.00433df0
lea eax, [ebp - 0x290]
push eax
push esi
call edi
test eax, eax
jne 0x4644a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
cmp eax, 0x12
jne 0x4646d7
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x18], 0
jne 0x464310
mov byte [ebp - 0x291], 1
lea ecx, [ebp - 0x28]
call fcn.00459a50
push 1
push dword [ebp - 0x28]
call fcn.00451ce0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x28], 0
cmp eax, 8
jb 0x46465f
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00433df0
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0x30], 0
cmp eax, 8
jb 0x464688
inc eax
lea ecx, [ebx + 0xc]
push eax
push dword [ebx + 0xc]
call fcn.00433df0
mov ecx, dword [ebx + 0x38]
xor eax, eax
mov dword [ebx + 0x20], 7
mov dword [ebx + 0x1c], 0
mov word [ebx + 0xc], ax
cmp ecx, 8
jb 0x4646b1
inc ecx
push ecx
push dword [ebx + 0x24]
lea ecx, [ebx + 0x24]
call fcn.00433df0
mov al, byte [ebp - 0x291]
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.00562e44
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x34
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 0x291], 0
jmp 0x464631