Function at 0x180b8271
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x181d600c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
and dword [ebp - 8], 0
push ebx
push esi
push edi
mov dword [ebp - 0x10], eax
mov esi, ecx
lea eax, [ebp - 8]
mov dword [ebp - 0xc], esi
push eax
push ecx
push 0x181bfc3c
call fcn.180b92e2
mov edi, dword [ebp - 8]
mov ebx, eax
test ebx, ebx
js 0x180b8499
lfence
mov eax, dword [esi + 4]
mov ecx, edi
push dword [eax + 0x48]
push str.platform
call fcn.1808a8ec
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
js 0x180b8499
lfence
mov eax, dword [esi + 4]
mov ecx, edi
push dword [eax + 0x4c]
push str.version
call fcn.1808a8ec
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
js 0x180b8499
lfence
mov eax, dword [esi + 4]
mov ecx, edi
push dword [eax + 0x50]
push 0x181bfc18
call fcn.1808a8ec
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
js 0x180b8499
lfence
mov eax, dword [esi + 4]
mov ecx, edi
push dword [eax + 0x54]
push str.arch
call fcn.1808a8ec
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
js 0x180b8499
mov eax, dword [esi + 4]
lea ecx, [ebp - 8]
push 0
push dword [eax + 0x58]
call fcn.18013596
mov esi, dword [ebp - 8]
mov ecx, edi
push esi
push str.product_type
call fcn.1808a8ec
add esp, 0x10
lea ecx, [esi - 0x10]
mov ebx, eax
call fcn.18006f72
test ebx, ebx
js 0x180b8499
mov esi, dword [ebp - 0xc]
xor ecx, ecx
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x64]
cmp dword [eax - 0xc], ecx
je 0x180b839b
lfence
mov eax, dword [esi + 4]
mov ecx, edi
push dword [eax + 0x64]
push str.os_region_name
call fcn.1808a8ec
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
js 0x180b8499
xor ecx, ecx
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x68]
cmp dword [eax - 0xc], ecx
je 0x180b83c9
lfence
mov eax, dword [esi + 4]
mov ecx, edi
push dword [eax + 0x68]
push str.os_region_nation
call fcn.1808a8ec
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
js 0x180b8499
xor ecx, ecx
mov ebx, dword [esi + 4]
mov edx, 0x181b207c
mov eax, dword [ebx + 0x64]
cmp dword [eax - 0xc], ecx
jne 0x180b83e1
mov eax, dword [ebx + 0x68]
cmp dword [eax - 0xc], ecx
je 0x180b840a
cmp byte [ebx + 0x6c], 0
jne 0x180b83ec
mov edx, 0x181a7308
push edx
push str.os_region_dma
mov ecx, edi
call fcn.1808a8ec
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
js 0x180b8499
mov edx, 0x181b207c
mov eax, dword [esi + 4]
cmp byte [eax + 0x5c], 0
jne 0x180b8418
mov edx, 0x181a7308
push edx
push str.is_wip
mov ecx, edi
call fcn.1808a8ec
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
js 0x180b8499
mov eax, dword [esi + 4]
cmp byte [eax + 0x5c], 0
je 0x180b8453
lfence
mov eax, dword [esi + 4]
mov ecx, edi
push dword [eax + 0x60]
push str.wip_branch
call fcn.1808a8ec
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
js 0x180b8499
mov eax, dword [esi + 4]
cmp byte [eax + 0x6d], 0
mov eax, 0x181b207c
jne 0x180b8466
mov eax, 0x181a7308
push eax
push str.is_in_lockdown_mode
mov ecx, edi
call fcn.1808a8ec
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
js 0x180b8499
mov ecx, dword [ebp - 0x10]
push 0
push edi
push ecx
mov eax, dword [ecx]
mov esi, dword [eax + 0x54]
mov ecx, esi
call dword [0x181663e8]
call esi
mov ebx, eax
test ebx, ebx
js 0x180b8499
xor ebx, ebx
test edi, edi
je 0x180b84ad
mov ecx, dword [edi]
push edi
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x181663e8]
call esi
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.18122438
leave
ret 4