Function at 0x458fc0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d33e3
mov eax, dword fs:[0]
push eax
sub esp, 0x740
mov eax, dword [0x5010c0]
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 - 0x74c], eax
mov dword [ebp - 0x748], 1
mov dword [ebp - 0x744], 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 - 0x748], 1
je 0x459812
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.0049f7ce
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 0x4590d6
push ecx
call fcn.0045a810
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 0x459126
push 0x18
call fcn.0049f7ce
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.00454cf0
mov ecx, dword [ebp - 0x4a4]
add ecx, 1
mov dword [ebp - 0x4a4], ecx
je 0x45973f
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 edi, dword [esi + eax*4]
mov eax, edi
movups xmmword [ebp - 0x4cc], xmm0
mov dword [ebp - 0x4bc], 0
mov dword [ebp - 0x4b8], 0
cmp dword [edi + 0x14], 7
mov dword [ebp - 0x720], edi
jbe 0x4591ae
mov eax, dword [edi]
mov dword [ebp - 0x720], eax
mov edi, dword [edi + 0x10]
cmp edi, 0x7ffffffe
ja 0x459834
cmp edi, 7
ja 0x4591de
mov dword [ebp - 0x4bc], edi
mov dword [ebp - 0x4b8], 7
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x4cc], xmm0
jmp 0x459254
mov esi, edi
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x4591f2
mov esi, SysReAllocString
jmp 0x4591fd
cmp esi, 0xa
mov eax, 0xa
cmovb esi, eax
lea eax, [esi + 1]
mov dword [ebp - 0x724], eax
lea eax, [ebp - 0x724]
push eax
lea eax, [ebp - 0x4cc]
push eax
call fcn.00426110
lea ecx, [edi*2 + 2]
mov dword [ebp - 0x4cc], eax
push ecx
push dword [ebp - 0x720]
mov dword [ebp - 0x4bc], edi
push eax
mov dword [ebp - 0x4b8], esi
call fcn.004a1040
mov edx, dword [ebp - 0x4a8]
add esp, 0x14
mov ecx, dword [ebp - 0x4ac]
mov esi, dword [ebp - 0x4b0]
dec ecx
mov byte [ebp - 4], 2
and ecx, edx
mov ecx, dword [esi + ecx*4]
call fcn.00425dd0
sub dword [ebp - 0x4a4], 1
jne 0x459278
mov dword [ebp - 0x4a8], 0
jmp 0x45927e
inc dword [ebp - 0x4a8]
push 0x208
lea eax, [ebp - 0x4a0]
push 0
push eax
call fcn.004a15c0
cmp dword [ebp - 0x4b8], 7
lea eax, [ebp - 0x4cc]
cmova eax, dword [ebp - 0x4cc]
push eax
lea eax, [ebp - 0x4a0]
push 0x4e9080
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
lea eax, [ebp - 0x4a0]
push 0x4ea12c
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x250
lea eax, [ebp - 0x71c]
push 0
push eax
call fcn.004a15c0
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 0x4596ed
nop dword [eax + eax]
cmp word [ebp - 0x6f0], 0x2e
je 0x4596d0
push 0x208
lea eax, [ebp - 0x298]
push 0
push eax
call fcn.004a15c0
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 0x459505
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 0x459391
sub esi, ecx
sar esi, 1
cmp esi, 0x7ffffffe
ja 0x459834
cmp esi, 7
ja 0x4593e6
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.004a1040
add esp, 0xc
xor eax, eax
mov word [ebp + esi - 0x73c], ax
jmp 0x459457
mov eax, esi
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x4593f9
mov eax, SysReAllocString
jmp 0x459404
cmp eax, 0xa
mov ecx, 0xa
cmovb eax, ecx
mov dword [ebp - 0x720], eax
inc eax
mov dword [ebp - 0x740], eax
lea eax, [ebp - 0x740]
push eax
lea eax, [ebp - 0x73c]
push eax
call fcn.00426110
mov edi, eax
mov dword [ebp - 0x72c], esi
mov eax, dword [ebp - 0x720]
add esi, esi
mov dword [ebp - 0x728], eax
lea eax, [ebp - 0x298]
push esi
push eax
push edi
mov dword [ebp - 0x73c], edi
call fcn.004a1040
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 0x459486
push ecx
lea ecx, [ebp - 0x4b4]
call fcn.0045a810
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 0x4594d1
push 0x18
call fcn.0049f7ce
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 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
mov edi, dword [ebp - 0x724]
jmp 0x4596d0
push 0x80
lea eax, [ebp - 0x90]
push 0
push eax
call fcn.004a15c0
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.004b6058
lea eax, [ebp - 0x90]
push eax
push 0x4ea1c4
call fcn.004b5b44
add esp, 0x38
test eax, eax
jne 0x4596d0
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]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x459574
sub esi, ecx
sar esi, 1
cmp esi, 0x7ffffffe
ja 0x459834
cmp esi, 7
ja 0x4595c9
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.004a1040
add esp, 0xc
xor eax, eax
mov word [ebp + esi - 0x73c], ax
jmp 0x459640
mov eax, esi
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x4595dc
mov eax, SysReAllocString
jmp 0x4595e7
cmp eax, 0xa
mov ecx, 0xa
cmovb eax, ecx
mov dword [ebp - 0x720], eax
inc eax
mov dword [ebp - 0x740], eax
lea eax, [ebp - 0x740]
push eax
lea eax, [ebp - 0x73c]
push eax
call fcn.00426110
mov edi, eax
mov dword [ebp - 0x72c], esi
mov eax, dword [ebp - 0x720]
add esi, esi
mov dword [ebp - 0x728], eax
lea eax, [ebp - 0x298]
push esi
push eax
push edi
mov dword [ebp - 0x73c], edi
call fcn.004a1040
add esp, 0x14
xor eax, eax
mov word [edi + esi], ax
mov edi, dword [ebp - 0x724]
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x744]
mov eax, dword [edx + 4]
cmp eax, dword [edx + 8]
je 0x45967d
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 0x459692
lea ecx, [ebp - 0x73c]
push ecx
push eax
mov ecx, edx
call fcn.0045abd0
mov ecx, dword [ebp - 0x728]
mov byte [ebp - 4], 2
cmp ecx, 7
jbe 0x4596d0
mov edx, dword [ebp - 0x73c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4596c6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45982f
push ecx
push edx
call fcn.0049f7fe
add esp, 8
lea eax, [ebp - 0x71c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x459310
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x4b8]
cmp ecx, 7
jbe 0x459731
mov edx, dword [ebp - 0x4cc]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x459727
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45982f
push ecx
push edx
call fcn.0049f7fe
add esp, 8
mov ecx, dword [ebp - 0x4a4]
test ecx, ecx
jne 0x459160
test ecx, ecx
je 0x45977e
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.00425dd0
mov ecx, dword [ebp - 0x4a4]
sub ecx, 1
mov dword [ebp - 0x4a4], ecx
jne 0x459743
mov dword [ebp - 0x4a8], 0
mov ecx, dword [ebp - 0x4b0]
test ecx, ecx
je 0x4597dd
mov esi, dword [ebp - 0x4ac]
test esi, esi
jle 0x4597b6
mov eax, dword [ecx + esi*4 - 4]
dec esi
test eax, eax
je 0x4597ac
push 0x18
push eax
call fcn.0049f7fe
mov ecx, dword [ebp - 0x4b0]
add esp, 8
test esi, esi
jg 0x459792
mov esi, dword [ebp - 0x4ac]
shl esi, 2
mov eax, ecx
cmp esi, 0x1000
jb 0x4597d3
mov ecx, dword [eax - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45982f
push esi
push ecx
call fcn.0049f7fe
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.0049f7fe
mov eax, dword [ebp - 0x744]
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.0049fb4b
mov esp, ebp
pop ebp
ret 4
call fcn.004a4b9f
call fcn.004253a0
int3