Function at 0x10019720
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x130
mov eax, dword [0x1008f304]
xor eax, esp
mov dword [esp + 0x12c], eax
mov ecx, dword [esp + 0x138]
mov eax, dword [esp + 0x134]
push ebx
mov ebx, dword [esp + 0x140]
push ebp
push esi
push edi
xor edi, edi
mov dword [esp + 0x34], ecx
mov dword [ecx], edi
mov dword [ebx], edi
test eax, eax
jne 0x10019762
call fcn.10019b26
jmp 0x10019769
push eax
call sym.glib_lite.dll_Ordinal_348
pop ecx
mov ebp, eax
test ebp, ebp
je 0x10019a68
push edi
push ebp
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionTime_Zones_
call sym.glib_lite.dll_Ordinal_346
push edi
mov esi, eax
push str.Dynamic_DST
push esi
mov dword [esp + 0x44], esi
call sym.glib_lite.dll_Ordinal_346
add esp, 0x18
mov dword [esp + 0x28], eax
lea eax, [esp + 0x14]
push eax
push 1
push edi
push esi
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10019a68
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x98]
mov dword [esp + 0x14], 0x40
push eax
push edi
push edi
push 0x100443d8
push dword [esp + 0x28]
call esi
test eax, eax
jne 0x10019a06
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x40
push eax
lea eax, [esp + 0xec]
push eax
push edi
push edi
push 0x100443dc
push dword [esp + 0x28]
call esi
test eax, eax
jne 0x10019a06
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x14]
push eax
push 1
push edi
push dword [esp + 0x34]
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10019993
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 4
push eax
lea eax, [esp + 0x20]
push eax
push edi
push edi
push str.FirstEntry
push dword [esp + 0x28]
call esi
test eax, eax
jne 0x10019a06
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 4
push eax
lea eax, [esp + 0x28]
push eax
push edi
push edi
push str.LastEntry
push dword [esp + 0x28]
call esi
test eax, eax
jne 0x10019a06
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x1c]
add eax, 2
push 0x90
push eax
call sym.glib_lite.dll_Ordinal_196
mov esi, dword [esp + 0x24]
mov dword [ebx], eax
mov eax, edi
pop ecx
pop ecx
mov dword [esp + 0x18], eax
cmp esi, dword [esp + 0x24]
ja 0x1001998e
mov dword [esp + 0x20], edi
push esi
push 0x10042d48
call sym.glib_lite.dll_Ordinal_349
pop ecx
pop ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], eax
push ecx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x14], 0x2c
push ecx
push edi
push edi
push eax
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10019980
push dword [esp + 0x30]
call sym.glib_lite.dll_Ordinal_105
pop ecx
cmp esi, dword [esp + 0x1c]
jbe 0x10019917
push 0x2c
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x6c]
push eax
call sub.vcruntime140.dll_memcmp
add esp, 0xc
test eax, eax
je 0x1001996f
push 0x2c
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x6c]
push eax
call sub.vcruntime140.dll_memcpy
lea eax, [esp + 0x9c]
push eax
lea eax, [esp + 0x48]
push eax
call fcn.100194cf
lea eax, [esp + 0xa4]
push eax
mov eax, dword [ebx]
add eax, dword [esp + 0x38]
push eax
call fcn.1001950f
mov ecx, dword [esp + 0x3c]
add esp, 0x1c
mov eax, dword [ebx]
mov dword [ecx + eax], esi
mov eax, dword [esp + 0x18]
inc eax
add ecx, 0x90
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ecx
jmp 0x10019973
mov eax, dword [esp + 0x18]
inc esi
cmp esi, dword [esp + 0x24]
jbe 0x100198b7
jmp 0x1001998e
push dword [ebx]
call sym.glib_lite.dll_Ordinal_105
mov eax, dword [esp + 0x1c]
pop ecx
mov dword [ebx], edi
lea edi, [eax + 1]
jmp 0x10019a06
lea eax, [esp + 0x14]
push eax
push 1
push edi
push dword [esp + 0x38]
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10019a10
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x2c
push eax
lea eax, [esp + 0x3c]
push eax
push edi
push edi
push 0x100443f8
push dword [esp + 0x28]
call esi
test eax, eax
jne 0x10019a06
push 2
pop edi
push 0x90
push edi
call sym.glib_lite.dll_Ordinal_196
mov esi, eax
lea eax, [esp + 0x98]
push eax
lea eax, [esp + 0x44]
mov dword [ebx], esi
push eax
call fcn.100194cf
lea eax, [esp + 0xa0]
push eax
push esi
call fcn.1001950f
add esp, 0x18
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [esp + 0x28]
call sym.glib_lite.dll_Ordinal_105
push dword [esp + 0x30]
call sym.glib_lite.dll_Ordinal_105
mov eax, dword [ebx]
pop ecx
pop ecx
test eax, eax
je 0x10019a61
mov dword [eax], 0x77c
lea eax, [edi - 2]
mov edx, dword [ebx]
imul eax, eax, 0x90
imul esi, edi, 0x90
mov ecx, dword [eax + edx]
mov eax, 0xbb7
cmp ecx, eax
jl 0x10019a50
lea eax, [ecx + 1]
mov dword [esi + edx - 0x90], eax
mov eax, dword [esp + 0x34]
mov dword [eax], ebp
mov eax, edi
jmp 0x10019a6a
push ebp
call sym.glib_lite.dll_Ordinal_105
pop ecx
xor eax, eax
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1003c212
add esp, 0x130
ret