Function at 0x457970
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d0b3c
mov eax, dword fs:[0]
push eax
sub esp, 0x73c
mov eax, dword [0x5020a8]
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
movq qword [ebp - 0x4c0], xmm0
mov dword [ebp - 0x4b8], 0
mov dword [ebp - 0x748], eax
mov dword [ebp - 0x72c], eax
mov dword [ebp - 0x4c0], 0
mov dword [ebp - 0x4bc], 0
mov dword [ebp - 0x4b8], 0
mov dword [ebp - 4], 0
cmp dword [edi + 0x148], 0
jne 0x457a0a
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
jmp 0x4580cc
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.0049f987
lea ecx, [ebp - 0x4b4]
add esp, 4
mov dword [eax + 4], 0
mov dword [ebp - 0x4b4], eax
mov dword [eax], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x4a4]
mov ecx, dword [ebp - 0x4ac]
lea eax, [edx + 1]
cmp ecx, eax
ja 0x457a9b
push ecx
lea ecx, [ebp - 0x4b4]
call fcn.004593f0
mov edx, dword [ebp - 0x4a4]
mov ecx, dword [ebp - 0x4ac]
mov eax, dword [ebp - 0x4a8]
dec ecx
and eax, ecx
mov dword [ebp - 0x4a8], eax
add eax, edx
and eax, ecx
mov ecx, dword [ebp - 0x4b0]
cmp dword [ecx + eax*4], 0
lea esi, [eax*4]
jne 0x457ada
push 0x18
call fcn.0049f987
mov ecx, dword [ebp - 0x4b0]
add esp, 4
mov dword [ecx + esi], eax
mov ecx, dword [ebp - 0x4b0]
mov ecx, dword [ecx + esi]
lea eax, [edi + 0x138]
push eax
call fcn.00453d20
mov esi, dword [ebp - 0x4a4]
add esi, 1
mov dword [ebp - 0x4a4], esi
je 0x457ef1
nop
mov ecx, dword [ebp - 0x4ac]
mov edx, dword [ebp - 0x4a8]
mov esi, dword [ebp - 0x4b0]
lea eax, [ecx - 1]
and eax, edx
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x4d8], 0
mov dword [ebp - 0x4c8], 0
mov dword [ebp - 0x4c4], 0
cmp dword [edi + 0x14], 8
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x72c], eax
jb 0x457b49
mov edi, dword [edi]
cmp eax, 8
jae 0x457b64
movups xmm0, xmmword [edi]
mov dword [ebp - 0x4c4], 7
movups xmmword [ebp - 0x4d8], xmm0
jmp 0x457bc2
mov esi, eax
lea ecx, [ebp - 0x4d8]
or esi, 7
mov eax, SysReAllocString
cmp esi, 0x7ffffffe
cmova esi, eax
lea eax, [esi + 1]
push eax
call fcn.00426ed0
mov ecx, dword [ebp - 0x72c]
mov dword [ebp - 0x4d8], eax
lea ecx, [ecx*2 + 2]
push ecx
push edi
push eax
call fcn.004a1290
mov eax, dword [ebp - 0x72c]
add esp, 0xc
mov edx, dword [ebp - 0x4a8]
mov ecx, dword [ebp - 0x4ac]
mov dword [ebp - 0x4c4], esi
mov esi, dword [ebp - 0x4b0]
mov dword [ebp - 0x4c8], eax
dec ecx
mov byte [ebp - 4], 2
and ecx, edx
mov ecx, dword [esi + ecx*4]
call fcn.00426a90
sub dword [ebp - 0x4a4], 1
jne 0x457bec
mov dword [ebp - 0x4a8], 0
jmp 0x457bf2
inc dword [ebp - 0x4a8]
push 0x208
lea eax, [ebp - 0x4a0]
push 0
push eax
call fcn.004a1810
cmp dword [ebp - 0x4c4], 8
lea eax, [ebp - 0x4d8]
cmovae eax, dword [ebp - 0x4d8]
push eax
lea eax, [ebp - 0x4a0]
push 0x4e95c8
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
lea eax, [ebp - 0x4a0]
push 0x4ea220
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x250
lea eax, [ebp - 0x728]
push 0
push eax
call fcn.004a1810
add esp, 0xc
lea eax, [ebp - 0x728]
push eax
lea eax, [ebp - 0x4a0]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x457e9f
nop word [eax + eax]
cmp word [ebp - 0x6fc], 0x2e
je 0x457e82
push 0x208
lea eax, [ebp - 0x298]
push 0
push eax
call fcn.004a1810
add esp, 0xc
lea ecx, [ebp - 0x6fc]
cmp dword [ebp - 0x4c4], 8
lea eax, [ebp - 0x4d8]
cmovae eax, dword [ebp - 0x4d8]
push ecx
push eax
lea eax, [ebp - 0x298]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test byte [ebp - 0x728], 0x10
je 0x457d4d
xor eax, eax
mov dword [ebp - 0x744], 0
lea ecx, [ebp - 0x298]
mov dword [ebp - 0x734], 0
mov dword [ebp - 0x730], 7
lea edx, [ecx + 2]
mov word [ebp - 0x744], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x457d06
sub ecx, edx
lea eax, [ebp - 0x298]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x744]
call fcn.00426af0
lea eax, [ebp - 0x744]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x4b4]
call fcn.00458ac0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x730]
jmp 0x457e48
push 0x80
lea eax, [ebp - 0x90]
push 0
push eax
call fcn.004a1810
push 0x40
lea eax, [ebp - 0x90]
push eax
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x6fc]
push 0
push eax
call fcn.004b3459
lea eax, [ebp - 0x90]
push eax
push 0x4ea2b8
call fcn.004b2f77
add esp, 0x38
test eax, eax
jne 0x457e82
mov dword [ebp - 0x744], eax
mov dword [ebp - 0x734], eax
mov word [ebp - 0x744], ax
lea eax, [ebp - 0x298]
mov dword [ebp - 0x730], 7
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x457dc3
sub eax, edx
lea ecx, [ebp - 0x744]
sar eax, 1
push eax
lea eax, [ebp - 0x298]
push eax
call fcn.00426af0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x4bc]
cmp eax, dword [ebp - 0x4b8]
je 0x457e2b
movups xmm0, xmmword [ebp - 0x744]
mov dword [eax], 0
mov edx, 7
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x734]
movq qword [eax + 0x10], xmm0
xor eax, eax
add dword [ebp - 0x4bc], 0x18
mov word [ebp - 0x744], ax
jmp 0x457e44
lea ecx, [ebp - 0x744]
push ecx
push eax
lea ecx, [ebp - 0x4c0]
call fcn.00459160
mov edx, dword [ebp - 0x730]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x457e82
mov ecx, dword [ebp - 0x744]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x457e78
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4580e9
push edx
push ecx
call fcn.0049f9b7
add esp, 8
lea eax, [ebp - 0x728]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x457c80
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x4c4]
cmp edx, 8
jb 0x457ee3
mov ecx, dword [ebp - 0x4d8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x457ed9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4580e9
push edx
push ecx
call fcn.0049f9b7
add esp, 8
mov esi, dword [ebp - 0x4a4]
test esi, esi
jne 0x457b00
mov edi, dword [ebp - 0x748]
mov edx, dword [ebp - 0x4b8]
mov ecx, dword [ebp - 0x4bc]
mov eax, dword [ebp - 0x4c0]
mov dword [ebp - 0x4b8], 0
mov dword [ebp - 0x4bc], 0
mov dword [ebp - 0x4c0], 0
mov dword [edi], eax
mov dword [edi + 4], ecx
mov dword [edi + 8], edx
test esi, esi
je 0x457f83
mov eax, dword [ebp - 0x4a8]
nop dword [eax]
lea ecx, [esi - 1]
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.00426a90
mov esi, dword [ebp - 0x4a4]
mov ecx, 0
mov eax, dword [ebp - 0x4a8]
sub esi, 1
mov dword [ebp - 0x4a4], esi
cmove eax, ecx
mov dword [ebp - 0x4a8], eax
test esi, esi
jne 0x457f40
mov esi, dword [ebp - 0x4ac]
mov ecx, dword [ebp - 0x4b0]
test esi, esi
je 0x457fb7
mov eax, dword [ecx + esi*4 - 4]
dec esi
test eax, eax
je 0x457fad
push 0x18
push eax
call fcn.0049f9b7
mov ecx, dword [ebp - 0x4b0]
add esp, 8
test esi, esi
jne 0x457f93
mov esi, dword [ebp - 0x4ac]
test ecx, ecx
je 0x457fe6
shl esi, 2
mov eax, ecx
cmp esi, 0x1000
jb 0x457fdc
mov ecx, dword [ecx - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4580e9
push esi
push ecx
call fcn.0049f9b7
add esp, 8
mov eax, dword [ebp - 0x4b4]
push 8
push eax
mov dword [ebp - 0x4ac], 0
mov dword [ebp - 0x4b0], 0
mov dword [ebp - 0x4b4], 0
call fcn.0049f9b7
mov esi, dword [ebp - 0x4c0]
add esp, 8
test esi, esi
je 0x4580ca
mov edi, dword [ebp - 0x4bc]
cmp esi, edi
je 0x458089
nop dword [eax]
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x458069
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x45805f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4580e9
mov eax, edx
push ecx
push eax
call fcn.0049f9b7
add esp, 8
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
add esi, 0x18
cmp esi, edi
jne 0x458030
mov esi, dword [ebp - 0x4c0]
mov eax, dword [ebp - 0x4b8]
sub eax, esi
sar eax, 3
imul eax, eax, 0xaaaaaaab
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x4580ba
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4580e9
push ecx
push esi
call fcn.0049f9b7
mov edi, dword [ebp - 0x748]
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 - 0x10]
xor ecx, ebp
call fcn.0049fe2d
mov esp, ebp
pop ebp
ret 4
call fcn.004a453f
int3