Function at 0x10012980
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x10043a38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
push edi
mov esi, ecx
call fcn.10014680
mov edi, eax
mov dword [esp + 8], 0
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x24], 0
call fcn.100173b0
mov eax, dword [eax]
add esp, 4
lea ecx, [esp + 0xc]
push ecx
push 0x2001f
push 0
push eax
push edi
mov dword [esp + 0x20], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test edi, edi
jne 0x100129fd
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x100129f3
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0xc]
mov edi, eax
mov dword [esp + 8], edx
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10012a1b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test edi, edi
jne 0x10012c54
push ebx
lea eax, [esi + 0x68]
push eax
lea ecx, [esp + 0x10]
push 0x10047ab8
push ecx
call fcn.10017fe0
lea edx, [esi + 0x6c]
push edx
lea eax, [esp + 0x1c]
push 0x10047a74
push eax
call fcn.10017fe0
lea ecx, [esi + 0x70]
push ecx
lea edx, [esp + 0x28]
push str.country
push edx
call fcn.10017fe0
lea eax, [esi + 0x7c]
push eax
lea ecx, [esp + 0x34]
push str.server_req_url
push ecx
call fcn.10017fe0
lea edx, [esi + 0x78]
push edx
lea eax, [esp + 0x40]
push str.cfg_last_modified
push eax
call fcn.10017fe0
lea ecx, [esi + 0x80]
push ecx
lea edx, [esp + 0x4c]
push str.group
push edx
call fcn.10017fe0
add esp, 0x48
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.100124c0
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call fcn.1000ee60
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x10]
lea eax, [esi + 0x98]
push eax
lea ecx, [esp + 0x18]
push ecx
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push str.cfg_time_stamp
mov ebx, 4
push edx
mov dword [esp + 0x30], ebx
call edi
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x10]
lea ecx, [esi + 0x88]
push ecx
lea edx, [esp + 0x18]
push edx
push 0
push str.next_settings_check
push eax
mov dword [esp + 0x30], ebx
call edi
lea ecx, [esp + 0x18]
push ecx
lea edx, [esi + 0x8c]
push edx
lea eax, [esp + 0x18]
push eax
push 0
mov dword [esp + 0x28], ebx
push str.settings_check_interval
mov ecx, dword [esp + 0x20]
push ecx
call edi
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x10]
lea eax, [esi + 0x90]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0
push str.impr_type
push edx
mov dword [esp + 0x30], ebx
call edi
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x10]
lea ecx, [esi + 0x94]
push ecx
lea edx, [esp + 0x18]
push edx
push 0
push str.active_type
push eax
mov dword [esp + 0x30], ebx
call edi
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x10]
lea edx, [esi + 0x9c]
push edx
lea eax, [esp + 0x18]
push eax
push 0
push str.service_support
push ecx
mov dword [esp + 0x30], ebx
call edi
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x10]
lea eax, [esi + 0xa0]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0
push str.snooze_time
push edx
mov dword [esp + 0x30], ebx
call edi
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x10]
lea ecx, [esi + 0xb4]
push ecx
lea edx, [esp + 0x18]
push edx
push 0
push str.xml_type
push eax
mov dword [esp + 0x30], ebx
call edi
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x18]
push eax
push 0
push str.hide_before_nav
push ecx
mov dword [esp + 0x2c], 1
mov dword [esp + 0x30], ebx
call edi
test eax, eax
jne 0x10012c13
cmp dword [esp + 0x10], ebx
jne 0x10012c13
mov edx, dword [esp + 0x14]
mov dword [esi + 0xa8], edx
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x10]
lea ecx, [esi + 0x38]
push ecx
lea edx, [esp + 0x18]
push edx
push 0
push str.up_impr_count
push eax
mov dword [esp + 0x30], ebx
call edi
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x18]
push ecx
add esi, 0x3c
push esi
lea edx, [esp + 0x18]
push edx
push 0
push str.up_last_impr
push eax
mov dword [esp + 0x30], ebx
call edi
pop ebx
mov eax, dword [esp + 8]
test eax, eax
je 0x10012c63
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x18]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret