Function at 0x100194a6
Capabilities:
Get common file path
Query or enumerate registry value
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x350
mov eax, dword [0x10083304]
xor eax, esp
mov dword [esp + 0x34c], eax
and dword [esp + 0x1c], 0
lea eax, [esp + 0x144]
push ebx
mov ebx, dword [esp + 0x35c]
push ebp
push esi
mov esi, dword [esp + 0x360]
xor ebp, ebp
push edi
mov edi, dword [esp + 0x36c]
push 0x104
push eax
mov dword [esp + 0x38], ebx
call dword [sym.imp.kernel32.dll_GetSystemDirectoryW]
test eax, eax
je 0x10019907
cmp dword [esp + 0x370], ebp
je 0x10019504
and dword [ebx], ebp
and dword [edi], ebp
test esi, esi
jne 0x10019511
call fcn.100199e1
jmp 0x10019518
push esi
call sym.glib_lite.dll_Ordinal_359
pop ecx
mov ebx, eax
test ebx, ebx
je 0x10019907
push 0
push ebx
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionTime_Zones_
call sym.glib_lite.dll_Ordinal_357
mov esi, eax
xor eax, eax
push eax
push eax
push eax
push 0xffffffffffffffff
push esi
mov dword [esp + 0x54], esi
call fcn.1001a811
add esp, 0x20
mov dword [esp + 0x24], eax
test eax, eax
je 0x100198ec
push 0
push str.Dynamic_DST
push esi
call sym.glib_lite.dll_Ordinal_357
xor ecx, ecx
mov dword [esp + 0x38], eax
push ecx
push ecx
push ecx
push 0xffffffffffffffff
push eax
call fcn.1001a811
mov esi, eax
add esp, 0x20
mov dword [esp + 0x1c], esi
test esi, esi
je 0x100197e8
lea eax, [esp + 0x14]
push eax
push 1
push 0
push dword [esp + 0x30]
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100197e8
push 0x40
pop ecx
lea eax, [esp + 0x154]
mov dword [esp + 0x10], ecx
push eax
push 0
lea eax, [esp + 0x18]
push eax
push ecx
lea eax, [esp + 0x78]
push eax
push str.MUI_Std
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegLoadMUIStringW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x100195fe
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x40
push eax
lea eax, [esp + 0x6c]
push eax
push 0
push 0
push 0x10038858
push dword [esp + 0x28]
call esi
test eax, eax
jne 0x100197da
push 0x40
pop ecx
lea eax, [esp + 0x154]
mov dword [esp + 0x10], ecx
push eax
push 0
lea eax, [esp + 0x18]
push eax
push ecx
lea eax, [esp + 0xcc]
push eax
push str.MUI_Dlt
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegLoadMUIStringW]
test eax, eax
je 0x1001965c
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x40
push eax
lea eax, [esp + 0xc0]
push eax
push 0
push 0
push 0x10038870
push dword [esp + 0x28]
call esi
test eax, eax
jne 0x100197da
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x14]
push eax
push 1
push 0
push dword [esp + 0x28]
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1001985c
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 4
push eax
lea eax, [esp + 0x24]
push eax
push 0
push 0
push str.FirstEntry
push dword [esp + 0x28]
call esi
test eax, eax
jne 0x100197da
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 4
push eax
lea eax, [esp + 0x2c]
push eax
push 0
push 0
push str.LastEntry
push dword [esp + 0x28]
call esi
test eax, eax
jne 0x100197da
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x20]
add eax, 2
push 0x90
push eax
call sym.glib_lite.dll_Ordinal_200
mov esi, dword [esp + 0x28]
xor ebp, ebp
mov dword [edi], eax
mov dword [esp + 0x20], ebp
pop ecx
pop ecx
test eax, eax
je 0x100197d9
cmp esi, dword [esp + 0x28]
ja 0x100197d5
push esi
push 0x100388a4
lea eax, [esp + 0x144]
push 0xb
push eax
call fcn.1001997e
add esp, 0x10
mov dword [esp + 0x10], 0x2c
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x3c]
push eax
push 0
push 0
lea eax, [esp + 0x14c]
push eax
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100197ca
cmp esi, dword [esp + 0x20]
jbe 0x10019773
push 0x2c
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x118]
push eax
call sub.vcruntime140.dll_memcmp
add esp, 0xc
test eax, eax
je 0x100197bb
push 0x2c
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x118]
push eax
call sub.vcruntime140.dll_memcpy
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x48]
push eax
call fcn.100191f7
lea eax, [esp + 0x78]
push eax
mov eax, dword [edi]
add eax, ebp
push eax
call fcn.10019237
mov ecx, dword [edi]
add esp, 0x1c
test eax, eax
je 0x100197c7
inc dword [esp + 0x18]
mov dword [ecx + ebp], esi
add ebp, 0x90
inc esi
cmp dword [edi], 0
jne 0x10019704
jmp 0x100197d5
push ecx
jmp 0x100197cc
push dword [edi]
call sym.glib_lite.dll_Ordinal_109
and dword [edi], 0
pop ecx
mov ebp, dword [esp + 0x18]
inc ebp
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 0x1c]
push esi
call sym.glib_lite.dll_Ordinal_109
push dword [esp + 0x30]
call sym.glib_lite.dll_Ordinal_109
push dword [esp + 0x2c]
call sym.glib_lite.dll_Ordinal_109
push dword [esp + 0x40]
call sym.glib_lite.dll_Ordinal_109
mov eax, dword [edi]
add esp, 0x10
test eax, eax
je 0x10019900
mov dword [eax], 0x77c
lea eax, [ebp - 2]
mov ecx, dword [edi]
imul eax, eax, 0x90
imul esi, ebp, 0x90
mov edx, dword [eax + ecx]
mov eax, 0xbb7
cmp edx, eax
jl 0x1001983c
lea eax, [edx + 1]
cmp dword [esp + 0x370], 0
mov dword [esi + ecx - 0x90], eax
je 0x100198f5
mov eax, dword [esp + 0x30]
mov dword [eax], ebx
jmp 0x100198fc
lea eax, [esp + 0x14]
push eax
push 1
push 0
push dword [esp + 0x30]
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100197e4
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x2c
push eax
lea eax, [esp + 0x3c]
push eax
push 0
push 0
push 0x100388ac
push dword [esp + 0x28]
call esi
test eax, eax
jne 0x100197da
push 2
pop ebp
push 0x90
push ebp
call sym.glib_lite.dll_Ordinal_200
mov esi, eax
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x44]
mov dword [edi], esi
push eax
call fcn.100191f7
lea eax, [esp + 0x74]
push eax
push esi
call fcn.10019237
add esp, 0x18
test eax, eax
jne 0x100197da
push dword [edi]
call sym.glib_lite.dll_Ordinal_109
and dword [edi], 0
pop ecx
jmp 0x100197da
mov esi, dword [esp + 0x30]
jmp 0x100197e8
push ebx
call sym.glib_lite.dll_Ordinal_109
pop ecx
mov eax, ebp
jmp 0x10019909
push ebx
call sym.glib_lite.dll_Ordinal_109
pop ecx
xor eax, eax
mov ecx, dword [esp + 0x35c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100319bd
add esp, 0x350
ret