Function at 0x41bc80
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 0x5a006b
mov eax, dword fs:[0]
push eax
sub esp, 0xc68
mov eax, dword [0x629a40]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xc68], ecx
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0xc5c]
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0xc64], eax
xor eax, eax
push eax
push 0x61b488
mov dword [ebp - 0xc6c], esi
mov dword [ebp - 0xc48], 7
mov dword [ebp - 0xc4c], 0
mov word [ebp - 0xc5c], ax
call fcn.00404030
push 0x208
lea eax, [ebp - 0x424]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.00578b50
add esp, 0xc
lea eax, [ebp - 0xa3c]
push 0x208
push 0
push eax
call fcn.00578b50
add esp, 0xc
lea eax, [ebp - 0x62c]
push 0x208
push 0
push eax
call fcn.00578b50
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0x208
push 0
push eax
call fcn.00578b50
add esp, 0xc
lea eax, [ebp - 0xc44]
push 0x208
push 0
push eax
call fcn.00578b50
add esp, 0xc
lea eax, [ebp - 0x424]
push 0
push 0x2b
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edi, [ebp - 0x424]
add edi, 0xfffffffe
nop dword [eax + eax]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x41bd90
mov eax, dword [0x61b718]
mov edx, esi
mov dword [edi], eax
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x41bda5
lea edi, [ebp - 0x424]
sub edx, esi
add edi, 0xfffffffe
nop dword [eax + eax]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x41bdc0
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 - 0x424]
add edi, 0xfffffffe
mov cx, word [edi + 2]
lea edi, [edi + 2]
test cx, cx
jne 0x41bde3
mov dword [edi], eax
mov esi, ebx
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x41bdf3
lea edi, [ebp - 0x424]
sub ebx, esi
add edi, 0xfffffffe
nop dword [eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x41be10
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 - 0x424]
add ecx, 0xfffffffe
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x41be33
mov eax, dword [str..ini]
mov dword [ecx], eax
mov eax, dword [0x61b734]
mov dword [ecx + 4], eax
mov ax, word [0x61b738]
mov word [ecx + 8], ax
lea eax, [ebp - 0x424]
push eax
push 0x104
lea eax, [ebp - 0xa3c]
push eax
push 0x61b488
push str.InstallPath
push str.Globals
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0xa3c]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41be90
sub ecx, edx
sar ecx, 1
test ecx, ecx
jle 0x41bf03
xor ecx, ecx
movzx eax, word [ebp + ecx - 0xa3c]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x21e], ax
test ax, ax
jne 0x41bea5
push dword [ebp - 0xc64]
mov ecx, dword [ebp - 0xc68]
lea eax, [ebp - 0x21c]
push eax
call fcn.0041c980
test eax, eax
je 0x41bf03
cmp word [ebp - 0x21c], 0
jne 0x41beea
xor ecx, ecx
jmp 0x41c10f
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41bef3
jmp 0x41c10b
push 0x206
lea eax, [ebp - 0x832]
push 0
push eax
call fcn.00578b50
movups xmm0, xmmword [0x61b828]
mov ebx, dword [ebp - 0xc6c]
add esp, 0xc
mov eax, dword [0x61b838]
mov edx, ebx
movups xmmword [ebp - 0x834], xmm0
mov dword [ebp - 0x824], eax
mov esi, edx
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x41bf40
lea edi, [ebp - 0x834]
sub edx, esi
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x41bf56
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 - 0x834]
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 0x41c02c
lea eax, [ebp - 0xc70]
mov dword [ebp - 0xc70], 0x104
push eax
lea eax, [ebp - 0xc44]
push eax
push 0
push 0
push str.InstallPath
push dword [ebp - 0xc60]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41c02c
xor ecx, ecx
nop dword [eax + eax]
movzx eax, word [ebp + ecx - 0xc44]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x21e], ax
test ax, ax
jne 0x41bfd0
push dword [ebp - 0xc64]
mov ecx, dword [ebp - 0xc68]
lea eax, [ebp - 0x21c]
push eax
call fcn.0041c980
test eax, eax
je 0x41c02c
push dword [ebp - 0xc60]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0xc5c]
call fcn.00403c40
mov esi, 1
jmp 0x41c12b
push dword [ebp - 0xc60]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
sub esp, 8
lea eax, [ebp - 0x62c]
push eax
push ecx
call fcn.0041c380
lea edi, [ebp - 0x62c]
add edi, 0xfffffffe
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x41c051
mov eax, dword [0x61b718]
mov esi, ebx
mov dword [edi], eax
mov cx, word [ebx]
add ebx, 2
test cx, cx
jne 0x41c066
lea edi, [ebp - 0x62c]
sub ebx, esi
add edi, 0xfffffffe
nop dword [eax]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x41c080
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 - 0x62c]
add edi, 0xfffffffe
mov cx, word [edi + 2]
lea edi, [edi + 2]
test cx, cx
jne 0x41c0a3
mov dword [edi], eax
xor edx, edx
movzx eax, word [ebp + edx - 0x62c]
lea edx, [edx + 2]
mov word [ebp + edx - 0x21e], ax
test ax, ax
jne 0x41c0b3
push dword [ebp - 0xc64]
mov ecx, dword [ebp - 0xc68]
lea eax, [ebp - 0x21c]
push eax
call fcn.0041c980
test eax, eax
je 0x41c129
cmp word [ebp - 0x21c], 0
jne 0x41c0f5
xor ecx, ecx
jmp 0x41c10f
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41c100
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0xc5c]
call fcn.00404030
mov esi, 1
jmp 0x41c12b
xor esi, esi
mov ecx, dword [ebp - 0xc48]
cmp ecx, 8
jb 0x41c149
inc ecx
push ecx
push dword [ebp - 0xc5c]
lea ecx, [ebp - 0xc5c]
call fcn.004043b0
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 - 0x14]
xor ecx, ebp
call fcn.00572ac9
mov esp, ebp
pop ebp
ret 0xc