Function at 0x45fbd0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dbcb3
mov eax, dword fs:[0]
push eax
sub esp, 0x73c
mov eax, dword [0x50b0c0]
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 - 0x748], eax
mov dword [ebp - 0x744], 1
mov dword [ebp - 0x740], 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 - 0x744], 1
je 0x460410
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.004a6623
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 0x45fce6
push ecx
call fcn.004613c0
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 0x45fd36
push 0x18
call fcn.004a6623
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.0045b8c0
mov ecx, dword [ebp - 0x4a4]
add ecx, 1
mov dword [ebp - 0x4a4], ecx
je 0x460334
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 esi, dword [esi + eax*4]
mov edi, esi
movups xmmword [ebp - 0x4cc], xmm0
mov dword [ebp - 0x4bc], 0
mov dword [ebp - 0x4b8], 0
cmp dword [esi + 0x14], 7
jbe 0x45fdb2
mov edi, dword [esi]
mov esi, dword [esi + 0x10]
cmp esi, 0x7ffffffe
ja 0x460432
cmp esi, 7
ja 0x45fde2
mov dword [ebp - 0x4bc], esi
mov dword [ebp - 0x4b8], 7
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x4cc], xmm0
jmp 0x45fe4f
mov eax, esi
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x45fdf5
mov eax, SysReAllocString
jmp 0x45fe00
cmp eax, 0xa
mov ecx, 0xa
cmovb eax, ecx
mov dword [ebp - 0x720], eax
lea eax, [ebp - 0x720]
push eax
lea eax, [ebp - 0x4cc]
push eax
call fcn.0042b3b0
mov ecx, dword [ebp - 0x720]
mov dword [ebp - 0x4b8], ecx
lea ecx, [esi*2 + 2]
push ecx
push edi
push eax
mov dword [ebp - 0x4cc], eax
mov dword [ebp - 0x4bc], esi
call fcn.004a81b0
mov edx, dword [ebp - 0x4a8]
add esp, 0x14
mov ecx, dword [ebp - 0x4ac]
dec ecx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x4b0]
and ecx, edx
mov ecx, dword [eax + ecx*4]
call fcn.0042b090
sub dword [ebp - 0x4a4], 1
jne 0x45fe79
mov dword [ebp - 0x4a8], 0
jmp 0x45fe7f
inc dword [ebp - 0x4a8]
push 0x208
lea eax, [ebp - 0x4a0]
push 0
push eax
call fcn.004a8730
cmp dword [ebp - 0x4b8], 7
lea eax, [ebp - 0x4cc]
cmova eax, dword [ebp - 0x4cc]
push eax
lea eax, [ebp - 0x4a0]
push 0x4f1270
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
lea eax, [ebp - 0x4a0]
push 0x4f2b00
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x250
lea eax, [ebp - 0x71c]
push 0
push eax
call fcn.004a8730
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 0x4602e2
nop dword [eax]
cmp word [ebp - 0x6f0], 0x2e
je 0x4602c5
push 0x208
lea eax, [ebp - 0x298]
push 0
push eax
call fcn.004a8730
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 0x4600fe
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 0x45ff91
sub esi, ecx
sar esi, 1
cmp esi, 0x7ffffffe
ja 0x460432
cmp esi, 7
ja 0x45ffe6
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.004a81b0
add esp, 0xc
xor eax, eax
mov word [ebp + esi - 0x73c], ax
jmp 0x460050
mov eax, esi
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x45fff9
mov eax, SysReAllocString
jmp 0x460004
cmp eax, 0xa
mov ecx, 0xa
cmovb eax, ecx
mov dword [ebp - 0x720], eax
lea eax, [ebp - 0x720]
push eax
lea eax, [ebp - 0x73c]
push eax
call fcn.0042b3b0
mov ecx, dword [ebp - 0x720]
mov edi, eax
mov dword [ebp - 0x72c], esi
lea eax, [ebp - 0x298]
add esi, esi
mov dword [ebp - 0x73c], edi
push esi
push eax
push edi
mov dword [ebp - 0x728], ecx
call fcn.004a81b0
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 0x46007f
push ecx
lea ecx, [ebp - 0x4b4]
call fcn.004613c0
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 0x4600ca
push 0x18
call fcn.004a6623
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 edi, dword [ebp - 0x724]
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
jmp 0x4602c5
push 0x80
lea eax, [ebp - 0x90]
push 0
push eax
call fcn.004a8730
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.004bd5f4
lea eax, [ebp - 0x90]
push eax
push 0x4f2b98
call fcn.004bcdb3
add esp, 0x38
test eax, eax
jne 0x4602c5
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]
nop dword [eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x460170
sub esi, ecx
sar esi, 1
cmp esi, 0x7ffffffe
ja 0x460432
cmp esi, 7
ja 0x4601c5
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.004a81b0
add esp, 0xc
xor eax, eax
mov word [ebp + esi - 0x73c], ax
jmp 0x460235
mov eax, esi
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x4601d8
mov eax, SysReAllocString
jmp 0x4601e3
cmp eax, 0xa
mov ecx, 0xa
cmovb eax, ecx
mov dword [ebp - 0x720], eax
lea eax, [ebp - 0x720]
push eax
lea eax, [ebp - 0x73c]
push eax
call fcn.0042b3b0
mov ecx, dword [ebp - 0x720]
mov edi, eax
mov dword [ebp - 0x72c], esi
lea eax, [ebp - 0x298]
add esi, esi
mov dword [ebp - 0x73c], edi
push esi
push eax
push edi
mov dword [ebp - 0x728], ecx
call fcn.004a81b0
add esp, 0x14
xor eax, eax
mov word [esi + edi], ax
mov edi, dword [ebp - 0x724]
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x740]
mov eax, dword [edx + 4]
cmp eax, dword [edx + 8]
je 0x460272
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 0x460287
lea ecx, [ebp - 0x73c]
push ecx
push eax
mov ecx, edx
call fcn.00461890
mov ecx, dword [ebp - 0x728]
mov byte [ebp - 4], 2
cmp ecx, 7
jbe 0x4602c5
mov edx, dword [ebp - 0x73c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4602bb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46042d
push ecx
push edx
call fcn.004a6653
add esp, 8
lea eax, [ebp - 0x71c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x45ff10
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x4b8]
cmp ecx, 7
jbe 0x460326
mov edx, dword [ebp - 0x4cc]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x46031c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46042d
push ecx
push edx
call fcn.004a6653
add esp, 8
mov ecx, dword [ebp - 0x4a4]
test ecx, ecx
jne 0x45fd70
test ecx, ecx
je 0x46037b
nop dword [eax + eax]
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.0042b090
mov ecx, dword [ebp - 0x4a4]
sub ecx, 1
mov dword [ebp - 0x4a4], ecx
jne 0x460340
mov dword [ebp - 0x4a8], 0
mov ecx, dword [ebp - 0x4b0]
test ecx, ecx
je 0x4603ef
mov esi, dword [ebp - 0x4ac]
test esi, esi
jle 0x4603b4
nop
mov eax, dword [ecx + esi*4 - 4]
dec esi
test eax, eax
je 0x4603aa
push 0x18
push eax
call fcn.004a6653
mov ecx, dword [ebp - 0x4b0]
add esp, 8
test esi, esi
jg 0x460390
mov esi, dword [ebp - 0x4ac]
shl esi, 2
mov eax, ecx
cmp esi, 0x1000
jb 0x4603d1
mov ecx, dword [eax - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46042d
push esi
push ecx
call fcn.004a6653
add esp, 8
mov dword [ebp - 0x4b0], 0
mov dword [ebp - 0x4ac], 0
mov eax, dword [ebp - 0x4b4]
push 8
push eax
mov dword [ebp - 0x4b4], 0
call fcn.004a6653
mov eax, dword [ebp - 0x740]
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.004a69a0
mov esp, ebp
pop ebp
ret 4
call fcn.004abd0f
call fcn.0042a670
int3