Function at 0x457760
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d0e1c
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 0x4577fa
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
jmp 0x457ebc
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.0049fda7
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 0x45788b
push ecx
lea ecx, [ebp - 0x4b4]
call fcn.004591e0
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 0x4578ca
push 0x18
call fcn.0049fda7
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.00453b10
mov esi, dword [ebp - 0x4a4]
add esi, 1
mov dword [ebp - 0x4a4], esi
je 0x457ce1
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 0x457939
mov edi, dword [edi]
cmp eax, 8
jae 0x457954
movups xmm0, xmmword [edi]
mov dword [ebp - 0x4c4], 7
movups xmmword [ebp - 0x4d8], xmm0
jmp 0x4579b2
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.00426e90
mov ecx, dword [ebp - 0x72c]
mov dword [ebp - 0x4d8], eax
lea ecx, [ecx*2 + 2]
push ecx
push edi
push eax
call fcn.004a16b0
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.00426a50
sub dword [ebp - 0x4a4], 1
jne 0x4579dc
mov dword [ebp - 0x4a8], 0
jmp 0x4579e2
inc dword [ebp - 0x4a8]
push 0x208
lea eax, [ebp - 0x4a0]
push 0
push eax
call fcn.004a1c30
cmp dword [ebp - 0x4c4], 8
lea eax, [ebp - 0x4d8]
cmovae eax, dword [ebp - 0x4d8]
push eax
lea eax, [ebp - 0x4a0]
push 0x4e9598
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
lea eax, [ebp - 0x4a0]
push 0x4ea1c8
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x250
lea eax, [ebp - 0x728]
push 0
push eax
call fcn.004a1c30
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 0x457c8f
nop word [eax + eax]
cmp word [ebp - 0x6fc], 0x2e
je 0x457c72
push 0x208
lea eax, [ebp - 0x298]
push 0
push eax
call fcn.004a1c30
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 0x457b3d
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 0x457af6
sub ecx, edx
lea eax, [ebp - 0x298]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x744]
call fcn.00426ab0
lea eax, [ebp - 0x744]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x4b4]
call fcn.004588b0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x730]
jmp 0x457c38
push 0x80
lea eax, [ebp - 0x90]
push 0
push eax
call fcn.004a1c30
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.004b3759
lea eax, [ebp - 0x90]
push eax
push 0x4ea260
call fcn.004b3277
add esp, 0x38
test eax, eax
jne 0x457c72
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 0x457bb3
sub eax, edx
lea ecx, [ebp - 0x744]
sar eax, 1
push eax
lea eax, [ebp - 0x298]
push eax
call fcn.00426ab0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x4bc]
cmp eax, dword [ebp - 0x4b8]
je 0x457c1b
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 0x457c34
lea ecx, [ebp - 0x744]
push ecx
push eax
lea ecx, [ebp - 0x4c0]
call fcn.00458f50
mov edx, dword [ebp - 0x730]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x457c72
mov ecx, dword [ebp - 0x744]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x457c68
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x457ed9
push edx
push ecx
call fcn.0049fdd7
add esp, 8
lea eax, [ebp - 0x728]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x457a70
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x4c4]
cmp edx, 8
jb 0x457cd3
mov ecx, dword [ebp - 0x4d8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x457cc9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x457ed9
push edx
push ecx
call fcn.0049fdd7
add esp, 8
mov esi, dword [ebp - 0x4a4]
test esi, esi
jne 0x4578f0
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 0x457d73
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.00426a50
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 0x457d30
mov esi, dword [ebp - 0x4ac]
mov ecx, dword [ebp - 0x4b0]
test esi, esi
je 0x457da7
mov eax, dword [ecx + esi*4 - 4]
dec esi
test eax, eax
je 0x457d9d
push 0x18
push eax
call fcn.0049fdd7
mov ecx, dword [ebp - 0x4b0]
add esp, 8
test esi, esi
jne 0x457d83
mov esi, dword [ebp - 0x4ac]
test ecx, ecx
je 0x457dd6
shl esi, 2
mov eax, ecx
cmp esi, 0x1000
jb 0x457dcc
mov ecx, dword [ecx - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x457ed9
push esi
push ecx
call fcn.0049fdd7
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.0049fdd7
mov esi, dword [ebp - 0x4c0]
add esp, 8
test esi, esi
je 0x457eba
mov edi, dword [ebp - 0x4bc]
cmp esi, edi
je 0x457e79
nop dword [eax]
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x457e59
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x457e4f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x457ed9
mov eax, edx
push ecx
push eax
call fcn.0049fdd7
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 0x457e20
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 0x457eaa
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x457ed9
push ecx
push esi
call fcn.0049fdd7
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.004a024d
mov esp, ebp
pop ebp
ret 4
call fcn.004a495f
int3