Function at 0x5502e0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x73b775
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x4b8
mov eax, dword [0x857060]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x474], ecx
mov edi, dword [ebx + 8]
mov ecx, edi
mov esi, dword [ebx + 0xc]
mov dword [ebp - 4], 0
mov dword [ebp - 0x484], edi
push esi
mov dword [ebp - 0x480], 0
call fcn.00449230
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x474]
mov ecx, eax
mov dword [ebp - 0x480], 1
cmp dword [eax + 0x14], 8
jb 0x55036d
mov ecx, dword [eax]
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x47c], esi
jb 0x550381
mov edx, dword [esi]
mov dword [ebp - 0x47c], edx
push dword [eax + 0x10]
mov edx, dword [esi + 0x10]
push ecx
mov ecx, dword [ebp - 0x47c]
push 0
call fcn.00457810
add esp, 0xc
mov dword [ebp - 0x47c], eax
cmp eax, 0xffffffff
je 0x55077e
xor ecx, ecx
mov dword [ebp - 0x460], 0
cmp dword [esi + 0x10], eax
mov word [ebp - 0x470], cx
mov ecx, eax
cmovb ecx, dword [esi + 0x10]
mov eax, esi
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x45c], 7
jb 0x5503d7
mov eax, dword [esi]
push ecx
push eax
lea ecx, [ebp - 0x470]
call fcn.00426d40
mov dword [ebp - 0x480], 3
mov dword [ebp - 4], 1
xor eax, eax
mov ecx, dword [ebp - 0x474]
mov word [ebp - 0x458], ax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x448], 0
mov edx, dword [ecx + 0x10]
add edx, dword [ebp - 0x47c]
mov dword [ebp - 0x444], 7
cmp eax, edx
jb 0x5507a0
sub eax, edx
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [esi + 0x14], 8
jb 0x55043f
mov esi, dword [esi]
push ecx
lea eax, [esi + edx*2]
push eax
lea ecx, [ebp - 0x458]
call fcn.00426d40
mov dword [ebp - 0x480], 7
xor eax, eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x42c], 7
mov word [ebp - 0x440], ax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x474]
mov esi, dword [ebp - 0x474]
push ecx
push 0
push 0
mov eax, dword [esi + 0x18]
push eax
push 0
mov dword [ebp - 0x47c], eax
mov byte [ebp - 0x475], 0
mov dword [ebp - 0x474], 0
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
test eax, eax
js 0x550509
lea eax, [ebp - 0x220]
push eax
push dword [ebp - 0x474]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x5504fb
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5504d2
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x440]
call fcn.00426d40
mov byte [ebp - 0x475], 1
push dword [ebp - 0x474]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x550559
lea eax, [ebp - 0x428]
push eax
push 1
push 0
push dword [ebp - 0x47c]
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x550559
lea ecx, [ebp - 0x428]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x550530
sub ecx, edx
lea eax, [ebp - 0x428]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x440]
call fcn.00426d40
mov byte [ebp - 0x475], 1
mov ecx, dword [ebp - 0x430]
test ecx, ecx
je 0x5505be
cmp dword [ebp - 0x42c], 8
lea eax, [ebp - 0x440]
cmovae eax, dword [ebp - 0x440]
cmp word [eax + ecx*2 - 2], 0x5c
jne 0x5505be
lea edx, [ecx - 1]
cmp edx, ecx
ja 0x5505a8
cmp dword [ebp - 0x42c], 8
lea eax, [ebp - 0x440]
mov dword [ebp - 0x430], edx
cmovae eax, dword [ebp - 0x440]
xor ecx, ecx
mov word [eax + edx*2], cx
jmp 0x5505b8
sub edx, ecx
lea ecx, [ebp - 0x440]
push 0
push edx
call fcn.0053c990
mov ecx, dword [ebp - 0x430]
cmp byte [ebp - 0x475], 0
je 0x550747
cmp dword [esi + 0x2c], 0
je 0x550604
push 1
push 0x79a7b0
lea ecx, [ebp - 0x440]
call fcn.0044a2e0
cmp dword [esi + 0x30], 8
lea eax, [esi + 0x1c]
jb 0x5505ef
mov eax, dword [esi + 0x1c]
push dword [esi + 0x2c]
lea ecx, [ebp - 0x440]
push eax
call fcn.0044a2e0
mov ecx, dword [ebp - 0x430]
mov byte [ebp - 4], 4
xor eax, eax
mov esi, dword [ebp - 0x460]
mov word [ebp - 0x4a0], ax
mov dword [ebp - 0x490], 0
mov dword [ebp - 0x48c], 7
lea eax, [ecx + esi]
mov dword [ebp - 0x480], 0xf
push eax
lea ecx, [ebp - 0x4a0]
call fcn.00457a30
cmp dword [ebp - 0x45c], 8
lea eax, [ebp - 0x470]
push esi
cmovae eax, dword [ebp - 0x470]
lea ecx, [ebp - 0x4a0]
push eax
call fcn.0044a2e0
cmp dword [ebp - 0x42c], 8
lea eax, [ebp - 0x440]
push dword [ebp - 0x430]
cmovae eax, dword [ebp - 0x440]
lea ecx, [ebp - 0x4a0]
push eax
call fcn.0044a2e0
cmp dword [ebp - 0x444], 8
lea eax, [ebp - 0x458]
push dword [ebp - 0x448]
cmovae eax, dword [ebp - 0x458]
lea ecx, [ebp - 0x4a0]
push eax
call fcn.0044a2e0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x4c8], xmm0
movups xmmword [ebp - 0x4b8], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0x4b8]
movq qword [ebp - 0x488], xmm0
movq qword [ebp - 0x4a8], xmm0
cmp edi, eax
je 0x55072f
mov ecx, edi
call fcn.00426ce0
movups xmm0, xmmword [ebp - 0x4c8]
xor eax, eax
mov dword [ebp - 0x4a8], 0
mov dword [ebp - 0x4a4], 7
movups xmmword [edi], xmm0
mov word [ebp - 0x4b8], ax
movq xmm0, qword [ebp - 0x488]
movq qword [edi + 0x10], xmm0
lea ecx, [ebp - 0x4b8]
call fcn.00426ce0
lea ecx, [ebp - 0x4a0]
call fcn.00426ce0
jmp 0x55075d
mov dword [edi + 0x10], 0
mov eax, edi
cmp dword [edi + 0x14], 8
jb 0x550758
mov eax, dword [edi]
xor ecx, ecx
mov word [eax], cx
lea ecx, [ebp - 0x440]
call fcn.00426ce0
lea ecx, [ebp - 0x458]
call fcn.00426ce0
lea ecx, [ebp - 0x470]
call fcn.00426ce0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.006d0965
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
call fcn.0044b3c0
int3