Function at 0x10011010
Capabilities:
Get geographical location
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x10043a38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov ebx, ecx
call fcn.10014680
xor esi, esi
mov ebp, eax
mov dword [esp + 0x10], esi
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x2c], esi
call fcn.100173b0
mov eax, dword [eax]
add esp, 4
lea ecx, [esp + 0x14]
push ecx
push 0x2001f
push esi
push eax
push ebp
mov dword [esp + 0x28], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test edi, edi
jne 0x10011073
mov esi, dword [esp + 0x14]
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10011091
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test edi, edi
je 0x1001112c
lea eax, [esp + 0x18]
push eax
call fcn.100173b0
mov eax, dword [eax]
add esp, 4
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x18]
push edx
push 0
push 0x2001f
push 0
push 0
push 0
push eax
push ebp
mov dword [esp + 0x38], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov edi, eax
test edi, edi
jne 0x100110ea
test esi, esi
je 0x100110e0
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 0x14]
mov edi, eax
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10011108
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test edi, edi
je 0x1001112c
test esi, esi
je 0x10011117
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
mov edi, dword [ebx + 0x68]
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
call ebp
lea eax, [eax + eax + 2]
push eax
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 1
push 0
push 0x10047ab8
push esi
call edi
mov eax, dword [ebx + 0x6c]
push eax
mov dword [esp + 0x1c], eax
call ebp
mov edx, dword [esp + 0x18]
lea ecx, [eax + eax + 2]
push ecx
push edx
push 1
push 0
push 0x10047a74
push esi
call edi
mov eax, dword [ebx + 0x70]
push eax
mov dword [esp + 0x1c], eax
call ebp
mov ecx, dword [esp + 0x18]
lea eax, [eax + eax + 2]
push eax
push ecx
push 1
push 0
push str.country
push esi
call edi
mov eax, dword [ebx + 0x7c]
push eax
mov dword [esp + 0x1c], eax
call ebp
lea edx, [eax + eax + 2]
mov eax, dword [esp + 0x18]
push edx
push eax
push 1
push 0
push str.server_req_url
push esi
call edi
mov eax, dword [ebx + 0x78]
push eax
mov dword [esp + 0x1c], eax
call ebp
mov edx, dword [esp + 0x18]
lea ecx, [eax + eax + 2]
push ecx
push edx
push 1
push 0
push str.cfg_last_modified
push esi
call edi
mov eax, dword [ebx + 0x80]
push eax
mov dword [esp + 0x1c], eax
call ebp
mov ecx, dword [esp + 0x18]
lea eax, [eax + eax + 2]
push eax
push ecx
push 1
push 0
push str.group
push esi
call edi
mov eax, dword [ebx + 0x84]
mov dword [esp + 0x18], eax
push eax
call ebp
lea edx, [eax + eax + 2]
mov eax, dword [esp + 0x18]
push edx
push eax
push 1
push 0
push str.cx_server_location
push esi
call edi
mov ecx, dword [ebx + 0x98]
push 4
lea edx, [esp + 0x1c]
push edx
push 4
push 0
push str.cfg_time_stamp
push esi
mov dword [esp + 0x30], ecx
call edi
mov eax, dword [ebx + 0x88]
push 4
lea ecx, [esp + 0x1c]
push ecx
push 4
push 0
push str.next_settings_check
push esi
mov dword [esp + 0x30], eax
call edi
mov edx, dword [ebx + 0x8c]
push 4
lea eax, [esp + 0x1c]
push eax
push 4
push 0
push str.settings_check_interval
push esi
mov dword [esp + 0x30], edx
call edi
mov ecx, dword [ebx + 0x90]
push 4
lea edx, [esp + 0x1c]
push edx
push 4
push 0
push str.impr_type
push esi
mov dword [esp + 0x30], ecx
call edi
mov eax, dword [ebx + 0x94]
push 4
lea ecx, [esp + 0x1c]
push ecx
push 4
push 0
push str.active_type
push esi
mov dword [esp + 0x30], eax
call edi
mov edx, dword [ebx + 0x9c]
push 4
lea eax, [esp + 0x1c]
push eax
push 4
push 0
push str.service_support
push esi
mov dword [esp + 0x30], edx
call edi
mov ecx, dword [ebx + 0xb4]
push 4
lea edx, [esp + 0x1c]
push edx
push 4
push 0
push str.xml_type
push esi
mov dword [esp + 0x30], ecx
call edi
mov eax, dword [ebx + 0xa4]
push 4
lea ecx, [esp + 0x1c]
push ecx
push 4
push 0
push str.snooze_interval
push esi
mov dword [esp + 0x30], eax
call edi
mov edx, dword [ebx + 0x38]
push 4
lea eax, [esp + 0x1c]
push eax
push 4
push 0
push str.up_impr_count
push esi
mov dword [esp + 0x30], edx
call edi
mov ecx, dword [ebx + 0x3c]
push 4
lea edx, [esp + 0x1c]
push edx
push 4
push 0
push str.up_last_impr
push esi
mov dword [esp + 0x30], ecx
call edi
mov eax, dword [ebx + 0xa8]
cmp eax, 1
je 0x10011354
push 4
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push eax
push 4
push 0
push str.hide_before_nav
push esi
call edi
mov eax, dword [ebx + 0xac]
test eax, eax
je 0x10011375
push 4
lea ecx, [esp + 0x1c]
push ecx
push 4
push 0
push str.disable_user
push esi
mov dword [esp + 0x30], eax
call edi
cmp dword [ebx + 0xa0], 0xffffffff
jne 0x100113a4
push 0
call fcn.10036fcf
add esp, 4
push 4
lea edx, [esp + 0x1c]
push edx
push 4
push 0
push str.snooze_time
add eax, 0x4f1a0
push esi
mov dword [esp + 0x30], eax
call edi
lea eax, [esp + 0x10]
push eax
mov ecx, ebx
call fcn.1000eef0
lea ecx, [esp + 0x10]
push ecx
mov ecx, ebx
call fcn.10010ea0
test esi, esi
je 0x100113c7
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret