Function at 0x10196300
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1022c7a2
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x102bff3c]
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 edx, dword [ebp + 0x14]
xor ebx, ebx
mov cl, byte [ebp + 0x18]
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc0], esi
mov dword [ebp - 0xc4], edx
mov byte [ebp - 0xa7], cl
mov byte [ebp - 0xbc], cl
mov dword [ebp - 0xc8], ebx
mov dword [edx], eax
mov byte [ebp - 0xa6], bl
test cl, cl
je 0x10196398
push esi
lea ecx, [ebp - 0xac]
call fcn.1001f510
push 0x10288f74
push eax
mov ebx, 1
call fcn.10196130
add esp, 8
mov byte [ebp - 0xa5], bl
test al, al
jne 0x1019639f
mov byte [ebp - 0xa5], 0
or edi, 0xffffffff
test bl, 1
je 0x101963c4
mov edx, dword [ebp - 0xac]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x101963c4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0xa5], 0
je 0x10196665
call fcn.10012120
mov ecx, eax
test ecx, ecx
jne 0x101963e6
push 0x80004005
call fcn.1000dd70
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xac], eax
push dword [ebp + 0x10]
lea eax, [ebp - 0xac]
mov dword [ebp - 4], 0
push 0x10289060
push eax
call fcn.10020be8
push 0x64
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.101d1720
add esp, 0x18
lea ecx, [ebp - 0xcc]
push esi
call fcn.1001f510
push 0x10288a8c
push eax
mov byte [ebp - 4], 1
call fcn.10196130
add esp, 8
test al, al
mov eax, str.Default
jne 0x10196448
mov eax, esi
push eax
lea ecx, [ebp - 0xb8]
call fcn.1001f510
mov edx, dword [ebp - 0xcc]
mov eax, edi
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10196475
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0xb0]
lea ecx, [ebp - 0xb0]
push ebx
call fcn.1001f510
push 0x10288a8c
push eax
mov byte [ebp - 4], 4
call fcn.10196130
add esp, 8
test al, al
mov eax, str.Default
jne 0x101964a4
mov eax, ebx
push eax
lea ecx, [ebp - 0xb4]
call fcn.1001f510
mov edx, dword [ebp - 0xb0]
mov eax, edi
mov byte [ebp - 4], 6
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x101964d1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0xa4]
push 0
push eax
call fcn.101999e0
push str._settings.ini
push eax
lea eax, [ebp - 0x8c]
mov byte [ebp - 4], 7
push eax
call fcn.10026025
add esp, 0x14
cmp dword [eax + 0x14], 8
jb 0x10196500
mov eax, dword [eax]
mov esi, dword [ebp - 0xac]
push eax
push 0x32
lea eax, [ebp - 0x74]
push eax
push esi
push dword [ebp - 0xb4]
push dword [ebp - 0xb8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0x78]
cmp eax, 8
jb 0x10196541
inc eax
lea ecx, [ebp - 0x8c]
push eax
push dword [ebp - 0x8c]
call fcn.100114d0
xor eax, eax
mov dword [ebp - 0x78], 7
mov word [ebp - 0x8c], ax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x7c], 0
mov byte [ebp - 4], 6
cmp eax, 8
jb 0x1019657a
inc eax
lea ecx, [ebp - 0xa4]
push eax
push dword [ebp - 0xa4]
call fcn.100114d0
cmp dword [ebp - 0xc8], 0
je 0x101965ff
push dword [ebp - 0xc4]
lea eax, [ebp - 0x74]
push eax
call fcn.10195d50
mov edx, dword [ebp - 0xb4]
add esp, 8
test al, al
mov byte [ebp - 4], 3
mov eax, edi
setne bl
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x101965bb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xb8]
mov eax, edi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x101965dc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x101965f8
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
jmp 0x101966eb
mov edx, dword [ebp - 0xb4]
mov eax, edi
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10196620
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xb8]
mov eax, edi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10196641
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x1019665d
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0xc0]
jmp 0x1019666b
mov ebx, dword [ebp - 0xb0]
push 0
push dword [ebp - 0xbc]
push esi
call fcn.10196c30
mov esi, eax
add esp, 0xc
test esi, esi
je 0x101966e5
lea eax, [ebp - 0xbc]
mov dword [ebp - 0xbc], 4
push eax
push dword [ebp - 0xc4]
push 0
push 0
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x101966b0
mov byte [ebp - 0xa6], 1
mov eax, dword [0x102ddf8c]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, eax
je 0x101966cf
cmp esi, dword [0x102ddf88]
je 0x101966cf
push esi
call edi
mov eax, dword [0x102ddf8c]
cmp byte [ebp - 0xa7], 0
je 0x101966e5
push eax
call edi
mov dword [0x102ddf8c], 0
mov al, byte [ebp - 0xa6]
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.101b70aa
mov esp, ebp
pop ebp
ret