Function at 0x10012c80
Capabilities:
Get geographical location
Get number of processors
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x10043dbe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov eax, dword [esi + 0x44]
push ecx
sub eax, 0x10
mov dword [esp + 0x24], esp
mov edi, esp
push eax
call fcn.100022c0
add eax, 0x10
mov dword [edi], eax
lea eax, [esp + 0x24]
add esp, 4
push eax
call fcn.10019ef0
add esp, 8
xor ebx, ebx
lea ecx, [esi + 0x48]
push eax
mov dword [esp + 0x3c], ebx
call fcn.10008ea0
mov eax, dword [esp + 0x1c]
or edi, 0xffffffff
add eax, 0xfffffff0
mov dword [esp + 0x38], edi
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10012cf9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [esp + 0x1c]
push eax
call fcn.10018610
add esp, 4
lea ecx, [esi + 0x4c]
push eax
mov dword [esp + 0x3c], 1
call fcn.10008ea0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov dword [esp + 0x38], edi
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10012d38
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [esp + 0x1c]
push eax
call fcn.1001a1d0
add esp, 4
lea ecx, [esi + 0x50]
push eax
mov dword [esp + 0x3c], 2
call fcn.10008ea0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov dword [esp + 0x38], edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x10012d75
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
call fcn.10014680
mov ebp, eax
mov dword [esp + 0x10], ebx
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x3c], 3
call fcn.100173b0
mov eax, dword [eax]
add esp, 4
lea ecx, [esp + 0x1c]
push ecx
push 0x2001f
push ebx
push eax
mov dword [esp + 0x2c], ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push ebp
call ebx
mov edi, eax
test edi, edi
jne 0x10012dcf
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x10012dc5
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x1c]
mov edi, eax
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10012ded
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test edi, edi
je 0x10012e88
mov ecx, esi
call fcn.10011010
lea eax, [esp + 0x24]
push eax
call fcn.100173b0
mov eax, dword [eax]
add esp, 4
lea ecx, [esp + 0x1c]
push ecx
push 0x2001f
push 0
push eax
push ebp
mov dword [esp + 0x30], 0
call ebx
mov edi, eax
test edi, edi
jne 0x10012e42
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x10012e38
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x1c]
mov edi, eax
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10012e60
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test edi, edi
je 0x10012e88
mov eax, dword [esp + 0x10]
test eax, eax
je 0x10012e73
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
push 0x10046c94
lea ecx, [esp + 0x1c]
call fcn.10001f40
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
push str.sub_dist_id
mov ebx, 4
push ecx
mov byte [esp + 0x44], bl
call fcn.10017fe0
mov edx, dword [esp + 0x24]
mov eax, dword [edx - 0xc]
add esp, 0xc
test eax, eax
je 0x10012ece
lea eax, [esp + 0x18]
lea ecx, [esi + 0x58]
push eax
call fcn.10008ea0
mov eax, dword [esi + 0x44]
push 0x1004641c
push eax
call fcn.10036341
add esp, 8
test eax, eax
mov eax, str.pgl_ver_ie
je 0x10012eed
mov eax, str.pgl_ver_ff
push eax
lea ecx, [esp + 0x24]
call fcn.10001f40
mov edx, dword [esp + 0x20]
lea ecx, [esi + 0x64]
push ecx
push edx
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x44], 5
call fcn.10017fe0
lea ebp, [esi + 0x68]
push ebp
lea ecx, [esp + 0x20]
push 0x10047ab8
push ecx
call fcn.10017fe0
lea eax, [esi + 0x6c]
push eax
lea edx, [esp + 0x2c]
push 0x10047a74
push edx
call fcn.10017fe0
lea eax, [esi + 0x70]
push eax
lea ecx, [esp + 0x38]
push str.country
push ecx
call fcn.10017fe0
lea edx, [esi + 0x7c]
push edx
lea eax, [esp + 0x44]
push str.server_req_url
push eax
call fcn.10017fe0
lea ecx, [esi + 0x78]
push ecx
lea edx, [esp + 0x50]
push str.cfg_last_modified
push edx
call fcn.10017fe0
add esp, 0x48
lea eax, [esi + 0x80]
push eax
lea ecx, [esp + 0x14]
push str.group
push ecx
call fcn.10017fe0
lea eax, [esi + 0x84]
push eax
lea edx, [esp + 0x20]
push str.cx_server_location
push edx
call fcn.10017fe0
add esp, 0x18
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.100124c0
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.1000ee60
lea edi, [esi + 0x74]
push edi
lea edx, [esp + 0x14]
push str.activation_date
push edx
call fcn.10017fe0
mov eax, dword [edi]
mov ecx, dword [eax - 0xc]
add esp, 0xc
test ecx, ecx
jne 0x1001304f
push 0
call fcn.1003779b
add esp, 4
push str._d__b__Y__H:_M:_S
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edx
call fcn.100103d0
push eax
mov ecx, edi
mov byte [esp + 0x3c], 6
call fcn.10008ea0
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x38], 5
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1001302c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esp + 0x10]
lea eax, [eax + eax + 2]
push eax
push edi
push 1
push 0
push str.activation_date
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea edx, [esp + 0x24]
push edx
mov edx, dword [esp + 0x14]
lea eax, [esi + 0x98]
push eax
lea ecx, [esp + 0x24]
push ecx
push 0
push str.cfg_time_stamp
push edx
mov dword [esp + 0x3c], ebx
call edi
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x14]
lea ecx, [esi + 0x88]
push ecx
lea edx, [esp + 0x24]
push edx
push 0
push str.next_settings_check
push eax
mov dword [esp + 0x3c], ebx
call edi
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x14]
lea edx, [esi + 0x8c]
push edx
lea eax, [esp + 0x24]
push eax
push 0
push str.settings_check_interval
push ecx
mov dword [esp + 0x3c], ebx
call edi
lea edx, [esp + 0x24]
push edx
mov edx, dword [esp + 0x14]
lea eax, [esi + 0x90]
push eax
lea ecx, [esp + 0x24]
push ecx
push 0
push str.impr_type
push edx
mov dword [esp + 0x3c], ebx
call edi
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x14]
lea ecx, [esi + 0x94]
push ecx
lea edx, [esp + 0x24]
push edx
push 0
push str.active_type
push eax
mov dword [esp + 0x3c], ebx
call edi
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x14]
lea edx, [esi + 0x9c]
push edx
lea eax, [esp + 0x24]
push eax
push 0
push str.service_support
push ecx
mov dword [esp + 0x3c], ebx
call edi
lea edx, [esp + 0x24]
push edx
lea eax, [esi + 0xa0]
push eax
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x30], ebx
push 0
mov edx, dword [esp + 0x20]
push str.snooze_time
push edx
call edi
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x14]
lea ecx, [esi + 0xb0]
push ecx
lea edx, [esp + 0x24]
push edx
push 0
push str.installed
push eax
mov dword [esp + 0x3c], ebx
call edi
lea ecx, [esp + 0x24]
push ecx
lea eax, [esi + 0xb4]
push eax
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x24]
push edx
push 0
push str.xml_type
push eax
mov dword [esp + 0x3c], ebx
call edi
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x24]
push eax
push 0
push str.hide_before_nav
push ecx
mov dword [esp + 0x2c], 1
mov dword [esp + 0x3c], ebx
call edi
test eax, eax
jne 0x100131cd
cmp dword [esp + 0x1c], ebx
jne 0x100131cd
mov edx, dword [esp + 0x14]
mov dword [esi + 0xa8], edx
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x24]
push edx
push 0
push str.disable_user
push eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x3c], ebx
call edi
test eax, eax
jne 0x1001320a
cmp dword [esp + 0x1c], ebx
jne 0x1001320a
mov ecx, dword [esp + 0x14]
mov dword [esi + 0xac], ecx
lea edx, [esp + 0x24]
push edx
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
push ecx
push 0
push str.snooze_interval
push edx
mov dword [esp + 0x2c], 0x18
mov dword [esp + 0x3c], ebx
call edi
test eax, eax
jne 0x10013247
cmp dword [esp + 0x1c], ebx
jne 0x10013247
mov eax, dword [esp + 0x14]
mov dword [esi + 0xa4], eax
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x14]
lea edx, [esi + 0x38]
push edx
lea eax, [esp + 0x24]
push eax
push 0
push str.up_impr_count
push ecx
mov dword [esp + 0x3c], ebx
call edi
lea edx, [esp + 0x24]
push edx
mov edx, dword [esp + 0x14]
lea eax, [esi + 0x3c]
push eax
lea ecx, [esp + 0x30]
push ecx
push 0
push str.up_last_impr
push edx
mov dword [esp + 0x3c], ebx
call edi
mov eax, dword [ebp]
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x1001329b
mov ecx, dword [esi + 0x6c]
mov eax, dword [ecx - 0xc]
test eax, eax
jne 0x100132a7
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call fcn.10010bc0
mov ecx, esi
call fcn.1000ee00
mov eax, dword [esi + 4]
test eax, eax
jne 0x10013332
cmp dword [esi + 0xb4], 2
jne 0x10013301
push 0x12c
call fcn.10035f28
mov ebp, eax
add esp, 4
mov dword [esp + 0x28], ebp
test ebp, ebp
mov byte [esp + 0x38], 7
je 0x10013321
mov eax, dword [esi + 0x84]
push ecx
sub eax, 0x10
mov dword [esp + 0x28], esp
mov edi, esp
push eax
call fcn.100022c0
add eax, 0x10
add esp, 4
mov ecx, ebp
mov dword [edi], eax
call fcn.10024620
jmp 0x10013323
push 0x44
call fcn.10035f28
add esp, 4
mov dword [esp + 0x28], eax
test eax, eax
mov byte [esp + 0x38], 8
je 0x10013321
mov ecx, eax
call fcn.100202e0
jmp 0x10013323
xor eax, eax
mov ecx, eax
mov dword [esi + 4], ecx
mov eax, dword [ecx]
mov byte [esp + 0x38], 5
call dword [eax + 4]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x38], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10013354
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x38], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10013377
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x10013386
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
mov al, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x2c
ret