Function at 0x4194a0
Capabilities:
Get common file path
Get startup folder
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5feacb
mov eax, dword fs:[0]
push eax
sub esp, 0xc60
mov eax, dword [0x69def4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xc5c], ecx
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0xc58]
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0xc64], eax
xor eax, eax
push eax
push 0x6097e8
mov dword [ebp - 0xc68], esi
mov dword [ebp - 0xc44], 7
mov dword [ebp - 0xc48], 0
mov word [ebp - 0xc58], ax
call fcn.004072f0
push 0x208
lea eax, [ebp - 0x420]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.005d4b40
push 0x208
lea eax, [ebp - 0xa38]
push 0
push eax
call fcn.005d4b40
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.005d4b40
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.005d4b40
push 0x208
lea eax, [ebp - 0xc40]
push 0
push eax
call fcn.005d4b40
add esp, 0x3c
lea eax, [ebp - 0x420]
push 0
push 0x2b
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edi, [ebp - 0x420]
add edi, 0xfffffffe
nop dword [eax]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x4195a0
mov eax, dword [0x609b38]
mov edx, esi
mov dword [edi], eax
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x4195b5
lea edi, [ebp - 0x420]
sub edx, esi
add edi, 0xfffffffe
nop dword [eax + eax]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x4195d0
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x420]
add edi, 0xfffffffe
mov cx, word [edi + 2]
lea edi, [edi + 2]
test cx, cx
jne 0x4195f3
mov dword [edi], eax
mov esi, ebx
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x419603
lea edi, [ebp - 0x420]
sub ebx, esi
add edi, 0xfffffffe
nop dword [eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x419620
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x420]
add ecx, 0xfffffffe
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x419643
mov eax, dword [0x609b3c]
mov dword [ecx], eax
mov eax, dword [0x609b40]
mov dword [ecx + 4], eax
mov ax, word [0x609b44]
mov word [ecx + 8], ax
lea eax, [ebp - 0x420]
push eax
push 0x104
lea eax, [ebp - 0xa38]
push eax
push 0x6097e8
push str.InstallPath
push 0x60be24
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0xa38]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4196a0
sub ecx, edx
sar ecx, 1
test ecx, ecx
jle 0x419713
xor ecx, ecx
movzx eax, word [ebp + ecx - 0xa38]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x21a], ax
test ax, ax
jne 0x4196b5
push dword [ebp - 0xc64]
mov ecx, dword [ebp - 0xc5c]
lea eax, [ebp - 0x218]
push eax
call fcn.0041c950
test eax, eax
je 0x419713
cmp word [ebp - 0x218], 0
jne 0x4196fa
xor ecx, ecx
jmp 0x41992f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x419703
jmp 0x41992b
push 0x206
lea eax, [ebp - 0x82e]
push 0
push eax
call fcn.005d4b40
movups xmm0, xmmword [0x609c20]
mov ebx, dword [ebp - 0xc68]
add esp, 0xc
mov eax, dword [0x609c30]
mov edx, ebx
movups xmmword [ebp - 0x830], xmm0
mov dword [ebp - 0x820], eax
mov esi, edx
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x419750
lea edi, [ebp - 0x830]
sub edx, esi
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x419766
mov ecx, edx
lea eax, [ebp - 0xc60]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push eax
push 0x20019
push 0
mov ecx, edx
lea eax, [ebp - 0x830]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41983c
lea eax, [ebp - 0xc6c]
mov dword [ebp - 0xc6c], 0x104
push eax
lea eax, [ebp - 0xc40]
push eax
push 0
push 0
push str.InstallPath
push dword [ebp - 0xc60]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41983c
xor ecx, ecx
nop dword [eax + eax]
movzx eax, word [ebp + ecx - 0xc40]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x21a], ax
test ax, ax
jne 0x4197e0
push dword [ebp - 0xc64]
mov ecx, dword [ebp - 0xc5c]
lea eax, [ebp - 0x218]
push eax
call fcn.0041c950
test eax, eax
je 0x41983c
push dword [ebp - 0xc60]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0xc58]
call fcn.0040b200
mov esi, 1
jmp 0x41994b
push dword [ebp - 0xc60]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc5c]
lea eax, [ebp - 0x628]
push 0
push 0x26
push eax
push 0
call fcn.0041cd60
lea edi, [ebp - 0x628]
add edi, 0xfffffffe
nop dword [eax]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x419870
mov eax, dword [0x609b38]
mov esi, ebx
mov dword [edi], eax
mov cx, word [ebx]
add ebx, 2
test cx, cx
jne 0x419885
lea edi, [ebp - 0x628]
sub ebx, esi
add edi, 0xfffffffe
nop dword [eax + eax]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x4198a0
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x628]
add edi, 0xfffffffe
mov cx, word [edi + 2]
lea edi, [edi + 2]
test cx, cx
jne 0x4198c3
mov dword [edi], eax
xor edx, edx
movzx eax, word [ebp + edx - 0x628]
lea edx, [edx + 2]
mov word [ebp + edx - 0x21a], ax
test ax, ax
jne 0x4198d3
push dword [ebp - 0xc64]
mov ecx, dword [ebp - 0xc5c]
lea eax, [ebp - 0x218]
push eax
call fcn.0041c950
test eax, eax
je 0x419949
cmp word [ebp - 0x218], 0
jne 0x419915
xor ecx, ecx
jmp 0x41992f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x419920
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0xc58]
call fcn.004072f0
mov esi, 1
jmp 0x41994b
xor esi, esi
mov ecx, dword [ebp - 0xc44]
cmp ecx, 8
jb 0x419969
inc ecx
push ecx
push dword [ebp - 0xc58]
lea ecx, [ebp - 0xc58]
call fcn.004073f0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005cabbc
mov esp, ebp
pop ebp
ret 0xc