Function at 0x180b1a51
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x181c900c]
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 0x181b2918
call fcn.180b2ac2
mov edi, dword [ebp - 8]
mov ebx, eax
test ebx, ebx
js 0x180b1c79
lfence
mov eax, dword [esi + 4]
mov ecx, edi
push dword [eax + 0x48]
push str.platform
call fcn.18086af2
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
js 0x180b1c79
lfence
mov eax, dword [esi + 4]
mov ecx, edi
push dword [eax + 0x4c]
push str.version
call fcn.18086af2
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
js 0x180b1c79
lfence
mov eax, dword [esi + 4]
mov ecx, edi
push dword [eax + 0x50]
push 0x181b29a0
call fcn.18086af2
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
js 0x180b1c79
lfence
mov eax, dword [esi + 4]
mov ecx, edi
push dword [eax + 0x54]
push str.arch
call fcn.18086af2
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
js 0x180b1c79
mov eax, dword [esi + 4]
lea ecx, [ebp - 8]
push 0
push dword [eax + 0x58]
call fcn.18013547
mov esi, dword [ebp - 8]
mov ecx, edi
push esi
push str.product_type
call fcn.18086af2
add esp, 0x10
lea ecx, [esi - 0x10]
mov ebx, eax
call fcn.18007012
test ebx, ebx
js 0x180b1c79
mov esi, dword [ebp - 0xc]
xor ecx, ecx
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x64]
cmp dword [eax - 0xc], ecx
je 0x180b1b7b
lfence
mov eax, dword [esi + 4]
mov ecx, edi
push dword [eax + 0x64]
push str.os_region_name
call fcn.18086af2
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
js 0x180b1c79
xor ecx, ecx
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x68]
cmp dword [eax - 0xc], ecx
je 0x180b1ba9
lfence
mov eax, dword [esi + 4]
mov ecx, edi
push dword [eax + 0x68]
push str.os_region_nation
call fcn.18086af2
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
js 0x180b1c79
xor ecx, ecx
mov ebx, dword [esi + 4]
mov edx, 0x181a58cc
mov eax, dword [ebx + 0x64]
cmp dword [eax - 0xc], ecx
jne 0x180b1bc1
mov eax, dword [ebx + 0x68]
cmp dword [eax - 0xc], ecx
je 0x180b1bea
cmp byte [ebx + 0x6c], 0
jne 0x180b1bcc
mov edx, 0x1819c808
push edx
push str.os_region_dma
mov ecx, edi
call fcn.18086af2
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
js 0x180b1c79
mov edx, 0x181a58cc
mov eax, dword [esi + 4]
cmp byte [eax + 0x5c], 0
jne 0x180b1bf8
mov edx, 0x1819c808
push edx
push str.is_wip
mov ecx, edi
call fcn.18086af2
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
js 0x180b1c79
mov eax, dword [esi + 4]
cmp byte [eax + 0x5c], 0
je 0x180b1c33
lfence
mov eax, dword [esi + 4]
mov ecx, edi
push dword [eax + 0x60]
push str.wip_branch
call fcn.18086af2
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
js 0x180b1c79
mov eax, dword [esi + 4]
cmp byte [eax + 0x6d], 0
mov eax, 0x181a58cc
jne 0x180b1c46
mov eax, 0x1819c808
push eax
push str.is_in_lockdown_mode
mov ecx, edi
call fcn.18086af2
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
js 0x180b1c79
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 [0x1815d3d4]
call esi
mov ebx, eax
test ebx, ebx
js 0x180b1c79
xor ebx, ebx
test edi, edi
je 0x180b1c8d
mov ecx, dword [edi]
push edi
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x1815d3d4]
call esi
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.18118dc8
leave
ret 4