Function at 0x457910
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cd113
mov eax, dword fs:[0]
push eax
sub esp, 0x73c
mov eax, dword [0x4f80c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x748], eax
mov dword [ebp - 0x744], 1
mov dword [ebp - 0x740], eax
movq qword [eax], xmm0
mov dword [eax + 8], 0
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [ebp - 4], 0
cmp dword [edi + 0x130], 0
mov dword [ebp - 0x744], 1
je 0x458150
movups xmmword [ebp - 0x4b4], xmm0
mov dword [ebp - 0x4a4], 0
push 8
mov dword [ebp - 0x4b4], 0
mov dword [ebp - 0x4b0], 0
mov dword [ebp - 0x4ac], 0
mov dword [ebp - 0x4a8], 0
mov dword [ebp - 0x4a4], 0
call fcn.004989e3
lea ecx, [ebp - 0x4b4]
add esp, 4
mov dword [eax + 4], 0
mov dword [ebp - 0x4b4], eax
mov dword [eax], ecx
mov dword [ebp - 4], 1
mov esi, dword [ebp - 0x4a4]
mov edx, dword [ebp - 0x4ac]
lea eax, [esi + 1]
cmp edx, eax
ja 0x457a26
push ecx
call fcn.00458df0
mov esi, dword [ebp - 0x4a4]
mov edx, dword [ebp - 0x4ac]
mov ecx, dword [ebp - 0x4a8]
lea eax, [edx - 1]
and ecx, eax
lea eax, [edx - 1]
mov dword [ebp - 0x4a8], ecx
add ecx, esi
and eax, ecx
mov dword [ebp - 0x724], ecx
mov ecx, dword [ebp - 0x4b0]
lea esi, [eax*4]
cmp dword [ecx + esi], 0
jne 0x457a76
push 0x18
call fcn.004989e3
mov ecx, dword [ebp - 0x4b0]
add esp, 4
mov dword [ecx + esi], eax
mov edx, dword [ebp - 0x4ac]
mov ecx, dword [ebp - 0x4b0]
lea eax, [edx - 1]
and eax, dword [ebp - 0x724]
mov ecx, dword [ecx + eax*4]
lea eax, [edi + 0x120]
push eax
call fcn.00453a70
mov ecx, dword [ebp - 0x4a4]
add ecx, 1
mov dword [ebp - 0x4a4], ecx
je 0x458074
nop dword [eax]
nop word [eax + eax]
mov ecx, dword [ebp - 0x4ac]
xorps xmm0, xmm0
mov edx, dword [ebp - 0x4a8]
mov esi, dword [ebp - 0x4b0]
lea eax, [ecx - 1]
and eax, edx
mov esi, dword [esi + eax*4]
mov edi, esi
movups xmmword [ebp - 0x4cc], xmm0
mov dword [ebp - 0x4bc], 0
mov dword [ebp - 0x4b8], 0
cmp dword [esi + 0x14], 7
jbe 0x457af2
mov edi, dword [esi]
mov esi, dword [esi + 0x10]
cmp esi, 0x7ffffffe
ja 0x458172
cmp esi, 7
ja 0x457b22
mov dword [ebp - 0x4bc], esi
mov dword [ebp - 0x4b8], 7
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x4cc], xmm0
jmp 0x457b8f
mov eax, esi
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x457b35
mov eax, SysReAllocString
jmp 0x457b40
cmp eax, 0xa
mov ecx, 0xa
cmovb eax, ecx
mov dword [ebp - 0x720], eax
lea eax, [ebp - 0x720]
push eax
lea eax, [ebp - 0x4cc]
push eax
call fcn.00426440
mov ecx, dword [ebp - 0x720]
mov dword [ebp - 0x4b8], ecx
lea ecx, [esi*2 + 2]
push ecx
push edi
push eax
mov dword [ebp - 0x4cc], eax
mov dword [ebp - 0x4bc], esi
call fcn.0049a3e0
mov edx, dword [ebp - 0x4a8]
add esp, 0x14
mov ecx, dword [ebp - 0x4ac]
dec ecx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x4b0]
and ecx, edx
mov ecx, dword [eax + ecx*4]
call fcn.00426120
sub dword [ebp - 0x4a4], 1
jne 0x457bb9
mov dword [ebp - 0x4a8], 0
jmp 0x457bbf
inc dword [ebp - 0x4a8]
push 0x208
lea eax, [ebp - 0x4a0]
push 0
push eax
call fcn.0049a960
cmp dword [ebp - 0x4b8], 7
lea eax, [ebp - 0x4cc]
cmova eax, dword [ebp - 0x4cc]
push eax
lea eax, [ebp - 0x4a0]
push 0x4e10a8
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
lea eax, [ebp - 0x4a0]
push 0x4e1f84
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x250
lea eax, [ebp - 0x71c]
push 0
push eax
call fcn.0049a960
add esp, 0xc
lea eax, [ebp - 0x71c]
push eax
lea eax, [ebp - 0x4a0]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
mov dword [ebp - 0x724], edi
cmp edi, 0xffffffff
je 0x458022
nop dword [eax]
cmp word [ebp - 0x6f0], 0x2e
je 0x458005
push 0x208
lea eax, [ebp - 0x298]
push 0
push eax
call fcn.0049a960
add esp, 0xc
lea ecx, [ebp - 0x6f0]
cmp dword [ebp - 0x4b8], 7
lea eax, [ebp - 0x4cc]
cmova eax, dword [ebp - 0x4cc]
push ecx
push eax
lea eax, [ebp - 0x298]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test byte [ebp - 0x71c], 0x10
je 0x457e3e
xorps xmm0, xmm0
mov dword [ebp - 0x72c], 0
lea esi, [ebp - 0x298]
mov dword [ebp - 0x728], 0
movups xmmword [ebp - 0x73c], xmm0
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x457cd1
sub esi, ecx
sar esi, 1
cmp esi, 0x7ffffffe
ja 0x458172
cmp esi, 7
ja 0x457d26
mov dword [ebp - 0x72c], esi
lea eax, [ebp - 0x298]
add esi, esi
mov dword [ebp - 0x728], 7
push esi
push eax
lea eax, [ebp - 0x73c]
push eax
call fcn.0049a3e0
add esp, 0xc
xor eax, eax
mov word [ebp + esi - 0x73c], ax
jmp 0x457d90
mov eax, esi
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x457d39
mov eax, SysReAllocString
jmp 0x457d44
cmp eax, 0xa
mov ecx, 0xa
cmovb eax, ecx
mov dword [ebp - 0x720], eax
lea eax, [ebp - 0x720]
push eax
lea eax, [ebp - 0x73c]
push eax
call fcn.00426440
mov ecx, dword [ebp - 0x720]
mov edi, eax
mov dword [ebp - 0x72c], esi
lea eax, [ebp - 0x298]
add esi, esi
mov dword [ebp - 0x73c], edi
push esi
push eax
push edi
mov dword [ebp - 0x728], ecx
call fcn.0049a3e0
add esp, 0x14
xor eax, eax
mov word [esi + edi], ax
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x4a4]
mov edx, dword [ebp - 0x4ac]
lea eax, [esi + 1]
cmp edx, eax
ja 0x457dbf
push ecx
lea ecx, [ebp - 0x4b4]
call fcn.00458df0
mov esi, dword [ebp - 0x4a4]
mov edx, dword [ebp - 0x4ac]
mov ecx, dword [ebp - 0x4a8]
lea eax, [edx - 1]
and ecx, eax
lea eax, [edx - 1]
mov dword [ebp - 0x4a8], ecx
lea edi, [esi + ecx]
mov ecx, dword [ebp - 0x4b0]
and eax, edi
cmp dword [ecx + eax*4], 0
lea esi, [eax*4]
jne 0x457e0a
push 0x18
call fcn.004989e3
mov ecx, dword [ebp - 0x4b0]
add esp, 4
mov dword [ecx + esi], eax
mov edx, dword [ebp - 0x4ac]
mov ecx, dword [ebp - 0x4b0]
movups xmm0, xmmword [ebp - 0x73c]
lea eax, [edx - 1]
and eax, edi
mov edi, dword [ebp - 0x724]
mov eax, dword [ecx + eax*4]
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x72c]
movq qword [eax + 0x10], xmm0
inc dword [ebp - 0x4a4]
mov byte [ebp - 4], 2
jmp 0x458005
push 0x80
lea eax, [ebp - 0x90]
push 0
push eax
call fcn.0049a960
push 0x40
lea eax, [ebp - 0x90]
push eax
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x6f0]
push 0
push eax
call fcn.004af7f7
lea eax, [ebp - 0x90]
push eax
push 0x4e2028
call fcn.004aefe3
add esp, 0x38
test eax, eax
jne 0x458005
xorps xmm0, xmm0
mov dword [ebp - 0x72c], eax
lea esi, [ebp - 0x298]
mov dword [ebp - 0x728], eax
movups xmmword [ebp - 0x73c], xmm0
lea ecx, [esi + 2]
nop dword [eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x457eb0
sub esi, ecx
sar esi, 1
cmp esi, 0x7ffffffe
ja 0x458172
cmp esi, 7
ja 0x457f05
mov dword [ebp - 0x72c], esi
lea eax, [ebp - 0x298]
add esi, esi
mov dword [ebp - 0x728], 7
push esi
push eax
lea eax, [ebp - 0x73c]
push eax
call fcn.0049a3e0
add esp, 0xc
xor eax, eax
mov word [ebp + esi - 0x73c], ax
jmp 0x457f75
mov eax, esi
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x457f18
mov eax, SysReAllocString
jmp 0x457f23
cmp eax, 0xa
mov ecx, 0xa
cmovb eax, ecx
mov dword [ebp - 0x720], eax
lea eax, [ebp - 0x720]
push eax
lea eax, [ebp - 0x73c]
push eax
call fcn.00426440
mov ecx, dword [ebp - 0x720]
mov edi, eax
mov dword [ebp - 0x72c], esi
lea eax, [ebp - 0x298]
add esi, esi
mov dword [ebp - 0x73c], edi
push esi
push eax
push edi
mov dword [ebp - 0x728], ecx
call fcn.0049a3e0
add esp, 0x14
xor eax, eax
mov word [esi + edi], ax
mov edi, dword [ebp - 0x724]
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x740]
mov eax, dword [edx + 4]
cmp eax, dword [edx + 8]
je 0x457fb2
movups xmm0, xmmword [ebp - 0x73c]
mov ecx, 7
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x72c]
movq qword [eax + 0x10], xmm0
xor eax, eax
add dword [edx + 4], 0x18
mov word [ebp - 0x73c], ax
jmp 0x457fc7
lea ecx, [ebp - 0x73c]
push ecx
push eax
mov ecx, edx
call fcn.00459320
mov ecx, dword [ebp - 0x728]
mov byte [ebp - 4], 2
cmp ecx, 7
jbe 0x458005
mov edx, dword [ebp - 0x73c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x457ffb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45816d
push ecx
push edx
call fcn.00498a13
add esp, 8
lea eax, [ebp - 0x71c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x457c50
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x4b8]
cmp ecx, 7
jbe 0x458066
mov edx, dword [ebp - 0x4cc]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x45805c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45816d
push ecx
push edx
call fcn.00498a13
add esp, 8
mov ecx, dword [ebp - 0x4a4]
test ecx, ecx
jne 0x457ab0
test ecx, ecx
je 0x4580bb
nop dword [eax + eax]
mov eax, dword [ebp - 0x4a8]
dec eax
add ecx, eax
mov eax, dword [ebp - 0x4ac]
dec eax
and ecx, eax
mov eax, dword [ebp - 0x4b0]
mov ecx, dword [eax + ecx*4]
call fcn.00426120
mov ecx, dword [ebp - 0x4a4]
sub ecx, 1
mov dword [ebp - 0x4a4], ecx
jne 0x458080
mov dword [ebp - 0x4a8], 0
mov ecx, dword [ebp - 0x4b0]
test ecx, ecx
je 0x45812f
mov esi, dword [ebp - 0x4ac]
test esi, esi
jle 0x4580f4
nop
mov eax, dword [ecx + esi*4 - 4]
dec esi
test eax, eax
je 0x4580ea
push 0x18
push eax
call fcn.00498a13
mov ecx, dword [ebp - 0x4b0]
add esp, 8
test esi, esi
jg 0x4580d0
mov esi, dword [ebp - 0x4ac]
shl esi, 2
mov eax, ecx
cmp esi, 0x1000
jb 0x458111
mov ecx, dword [eax - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45816d
push esi
push ecx
call fcn.00498a13
add esp, 8
mov dword [ebp - 0x4b0], 0
mov dword [ebp - 0x4ac], 0
mov eax, dword [ebp - 0x4b4]
push 8
push eax
mov dword [ebp - 0x4b4], 0
call fcn.00498a13
mov eax, dword [ebp - 0x740]
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00498d60
mov esp, ebp
pop ebp
ret 4
call fcn.0049df3f
call fcn.00425700
int3