Function at 0x456520
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cdc7c
mov eax, dword fs:[0]
push eax
sub esp, 0x73c
mov eax, dword [0x4fe0a8]
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 0x4565ba
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
jmp 0x456c7c
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.0049cf37
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 0x45664b
push ecx
lea ecx, [ebp - 0x4b4]
call fcn.00457fa0
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 0x45668a
push 0x18
call fcn.0049cf37
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.00452980
mov esi, dword [ebp - 0x4a4]
add esi, 1
mov dword [ebp - 0x4a4], esi
je 0x456aa1
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 0x4566f9
mov edi, dword [edi]
cmp eax, 8
jae 0x456714
movups xmm0, xmmword [edi]
mov dword [ebp - 0x4c4], 7
movups xmmword [ebp - 0x4d8], xmm0
jmp 0x456772
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.00426e10
mov ecx, dword [ebp - 0x72c]
mov dword [ebp - 0x4d8], eax
lea ecx, [ecx*2 + 2]
push ecx
push edi
push eax
call fcn.0049e840
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.004269d0
sub dword [ebp - 0x4a4], 1
jne 0x45679c
mov dword [ebp - 0x4a8], 0
jmp 0x4567a2
inc dword [ebp - 0x4a8]
push 0x208
lea eax, [ebp - 0x4a0]
push 0
push eax
call fcn.0049edc0
cmp dword [ebp - 0x4c4], 8
lea eax, [ebp - 0x4d8]
cmovae eax, dword [ebp - 0x4d8]
push eax
lea eax, [ebp - 0x4a0]
push 0x4e6358
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
lea eax, [ebp - 0x4a0]
push 0x4e6f04
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x250
lea eax, [ebp - 0x728]
push 0
push eax
call fcn.0049edc0
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 0x456a4f
nop word [eax + eax]
cmp word [ebp - 0x6fc], 0x2e
je 0x456a32
push 0x208
lea eax, [ebp - 0x298]
push 0
push eax
call fcn.0049edc0
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 0x4568fd
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 0x4568b6
sub ecx, edx
lea eax, [ebp - 0x298]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x744]
call fcn.00426a30
lea eax, [ebp - 0x744]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x4b4]
call fcn.00457670
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x730]
jmp 0x4569f8
push 0x80
lea eax, [ebp - 0x90]
push 0
push eax
call fcn.0049edc0
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.004b08e9
lea eax, [ebp - 0x90]
push eax
push 0x4e6f9c
call fcn.004b0407
add esp, 0x38
test eax, eax
jne 0x456a32
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 0x456973
sub eax, edx
lea ecx, [ebp - 0x744]
sar eax, 1
push eax
lea eax, [ebp - 0x298]
push eax
call fcn.00426a30
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x4bc]
cmp eax, dword [ebp - 0x4b8]
je 0x4569db
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 0x4569f4
lea ecx, [ebp - 0x744]
push ecx
push eax
lea ecx, [ebp - 0x4c0]
call fcn.00457d10
mov edx, dword [ebp - 0x730]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x456a32
mov ecx, dword [ebp - 0x744]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x456a28
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x456c99
push edx
push ecx
call fcn.0049cf67
add esp, 8
lea eax, [ebp - 0x728]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x456830
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x4c4]
cmp edx, 8
jb 0x456a93
mov ecx, dword [ebp - 0x4d8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x456a89
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x456c99
push edx
push ecx
call fcn.0049cf67
add esp, 8
mov esi, dword [ebp - 0x4a4]
test esi, esi
jne 0x4566b0
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 0x456b33
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.004269d0
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 0x456af0
mov esi, dword [ebp - 0x4ac]
mov ecx, dword [ebp - 0x4b0]
test esi, esi
je 0x456b67
mov eax, dword [ecx + esi*4 - 4]
dec esi
test eax, eax
je 0x456b5d
push 0x18
push eax
call fcn.0049cf67
mov ecx, dword [ebp - 0x4b0]
add esp, 8
test esi, esi
jne 0x456b43
mov esi, dword [ebp - 0x4ac]
test ecx, ecx
je 0x456b96
shl esi, 2
mov eax, ecx
cmp esi, 0x1000
jb 0x456b8c
mov ecx, dword [ecx - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x456c99
push esi
push ecx
call fcn.0049cf67
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.0049cf67
mov esi, dword [ebp - 0x4c0]
add esp, 8
test esi, esi
je 0x456c7a
mov edi, dword [ebp - 0x4bc]
cmp esi, edi
je 0x456c39
nop dword [eax]
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x456c19
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x456c0f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x456c99
mov eax, edx
push ecx
push eax
call fcn.0049cf67
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 0x456be0
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 0x456c6a
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x456c99
push ecx
push esi
call fcn.0049cf67
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.0049d3dd
mov esp, ebp
pop ebp
ret 4
call fcn.004a1aef
int3