Function at 0x456590
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cb26c
mov eax, dword fs:[0]
push eax
sub esp, 0x73c
mov eax, dword [0x4fa0a8]
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 + 0x130], 0
jne 0x45662a
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
jmp 0x456cec
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.0049a537
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 0x4566bb
push ecx
lea ecx, [ebp - 0x4b4]
call fcn.00458010
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 0x4566fa
push 0x18
call fcn.0049a537
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 + 0x120]
push eax
call fcn.004528f0
mov esi, dword [ebp - 0x4a4]
add esi, 1
mov dword [ebp - 0x4a4], esi
je 0x456b11
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 0x456769
mov edi, dword [edi]
cmp eax, 8
jae 0x456784
movups xmm0, xmmword [edi]
mov dword [ebp - 0x4c4], 7
movups xmmword [ebp - 0x4d8], xmm0
jmp 0x4567e2
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.00426d60
mov ecx, dword [ebp - 0x72c]
mov dword [ebp - 0x4d8], eax
lea ecx, [ecx*2 + 2]
push ecx
push edi
push eax
call fcn.0049be40
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.00426920
sub dword [ebp - 0x4a4], 1
jne 0x45680c
mov dword [ebp - 0x4a8], 0
jmp 0x456812
inc dword [ebp - 0x4a8]
push 0x208
lea eax, [ebp - 0x4a0]
push 0
push eax
call fcn.0049c3c0
cmp dword [ebp - 0x4c4], 8
lea eax, [ebp - 0x4d8]
cmovae eax, dword [ebp - 0x4d8]
push eax
lea eax, [ebp - 0x4a0]
push 0x4e2c70
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
lea eax, [ebp - 0x4a0]
push 0x4e3a30
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x250
lea eax, [ebp - 0x728]
push 0
push eax
call fcn.0049c3c0
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 0x456abf
nop word [eax + eax]
cmp word [ebp - 0x6fc], 0x2e
je 0x456aa2
push 0x208
lea eax, [ebp - 0x298]
push 0
push eax
call fcn.0049c3c0
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 0x45696d
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 0x456926
sub ecx, edx
lea eax, [ebp - 0x298]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x744]
call fcn.00426980
lea eax, [ebp - 0x744]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x4b4]
call fcn.004576e0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x730]
jmp 0x456a68
push 0x80
lea eax, [ebp - 0x90]
push 0
push eax
call fcn.0049c3c0
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.004adee9
lea eax, [ebp - 0x90]
push eax
push 0x4e3ac8
call fcn.004ada07
add esp, 0x38
test eax, eax
jne 0x456aa2
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 0x4569e3
sub eax, edx
lea ecx, [ebp - 0x744]
sar eax, 1
push eax
lea eax, [ebp - 0x298]
push eax
call fcn.00426980
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x4bc]
cmp eax, dword [ebp - 0x4b8]
je 0x456a4b
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 0x456a64
lea ecx, [ebp - 0x744]
push ecx
push eax
lea ecx, [ebp - 0x4c0]
call fcn.00457d80
mov edx, dword [ebp - 0x730]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x456aa2
mov ecx, dword [ebp - 0x744]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x456a98
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x456d09
push edx
push ecx
call fcn.0049a567
add esp, 8
lea eax, [ebp - 0x728]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4568a0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x4c4]
cmp edx, 8
jb 0x456b03
mov ecx, dword [ebp - 0x4d8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x456af9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x456d09
push edx
push ecx
call fcn.0049a567
add esp, 8
mov esi, dword [ebp - 0x4a4]
test esi, esi
jne 0x456720
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 0x456ba3
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.00426920
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 0x456b60
mov esi, dword [ebp - 0x4ac]
mov ecx, dword [ebp - 0x4b0]
test esi, esi
je 0x456bd7
mov eax, dword [ecx + esi*4 - 4]
dec esi
test eax, eax
je 0x456bcd
push 0x18
push eax
call fcn.0049a567
mov ecx, dword [ebp - 0x4b0]
add esp, 8
test esi, esi
jne 0x456bb3
mov esi, dword [ebp - 0x4ac]
test ecx, ecx
je 0x456c06
shl esi, 2
mov eax, ecx
cmp esi, 0x1000
jb 0x456bfc
mov ecx, dword [ecx - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x456d09
push esi
push ecx
call fcn.0049a567
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.0049a567
mov esi, dword [ebp - 0x4c0]
add esp, 8
test esi, esi
je 0x456cea
mov edi, dword [ebp - 0x4bc]
cmp esi, edi
je 0x456ca9
nop dword [eax]
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x456c89
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x456c7f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x456d09
mov eax, edx
push ecx
push eax
call fcn.0049a567
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 0x456c50
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 0x456cda
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x456d09
push ecx
push esi
call fcn.0049a567
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.0049a9dd
mov esp, ebp
pop ebp
ret 4
call fcn.0049f0ef
int3