Function at 0x401760
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b976e
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x4e7950]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x224], 0
mov ecx, 0x4ed708
call fcn.004025b0
movzx eax, al
test eax, eax
jne 0x4017cc
push 0x4ed708
mov ecx, dword [ebp + 8]
call fcn.00401e20
mov ecx, dword [ebp - 0x224]
or ecx, 1
mov dword [ebp - 0x224], ecx
mov eax, dword [ebp + 8]
jmp 0x401d7f
push 0x4cefcc
lea ecx, [ebp - 0xf0]
call fcn.00401e40
mov dword [ebp - 4], 0
xor eax, eax
lea esi, [ebp - 0xec]
call fcn.00430260
mov byte [ebp - 4], 1
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1c8], esp
push 0x4cefd0
call fcn.004026d0
mov dword [ebp - 0x228], eax
push str.http:__api.rili.bainuonet.com_open_rili_ip.json
lea edx, [ebp - 0xec]
push edx
call fcn.004312a0
mov dword [ebp - 0x22c], eax
cmp dword [ebp - 0x22c], 0
je 0x401cdf
lea edi, [ebp - 0x120]
lea ecx, [ebp - 0xec]
call fcn.00431ab0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x120]
call fcn.00402630
movzx eax, al
test eax, eax
je 0x4018bd
push 0x4cf038
mov ecx, 0x4ed708
call fcn.00401ee0
push 0x4ed708
mov ecx, dword [ebp + 8]
call fcn.00401e20
mov ecx, dword [ebp - 0x224]
or ecx, 1
mov dword [ebp - 0x224], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x120]
call fcn.00402610
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xec]
call fcn.00430320
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf0]
call fcn.00408680
mov eax, dword [ebp + 8]
jmp 0x401d7f
lea edx, [ebp - 0x1b4]
push edx
call fcn.00435260
mov byte [ebp - 4], 3
push 0
lea esi, [ebp - 0x104]
call fcn.00432630
mov byte [ebp - 4], 4
push 0
lea esi, [ebp - 0x1c4]
call fcn.00432630
mov byte [ebp - 4], 5
push 1
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x120]
lea ecx, [ebp - 0x1b4]
call fcn.00435300
movzx ecx, al
test ecx, ecx
jne 0x4019a4
push 0x4cf040
mov ecx, 0x4ed708
call fcn.00401ee0
push 0x4ed708
mov ecx, dword [ebp + 8]
call fcn.00401e20
mov edx, dword [ebp - 0x224]
or edx, 1
mov dword [ebp - 0x224], edx
mov byte [ebp - 4], 4
lea eax, [ebp - 0x1c4]
call fcn.00432990
mov byte [ebp - 4], 3
lea eax, [ebp - 0x104]
call fcn.00432990
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1b4]
call fcn.00401da0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x120]
call fcn.00402610
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xec]
call fcn.00430320
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf0]
call fcn.00408680
mov eax, dword [ebp + 8]
jmp 0x401d7f
lea eax, [ebp - 0x104]
call fcn.00433500
movzx eax, al
test eax, eax
jne 0x401a4a
push 0x4cf048
mov ecx, 0x4ed708
call fcn.00401ee0
push 0x4ed708
mov ecx, dword [ebp + 8]
call fcn.00401e20
mov ecx, dword [ebp - 0x224]
or ecx, 1
mov dword [ebp - 0x224], ecx
mov byte [ebp - 4], 4
lea eax, [ebp - 0x1c4]
call fcn.00432990
mov byte [ebp - 4], 3
lea eax, [ebp - 0x104]
call fcn.00432990
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1b4]
call fcn.00401da0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x120]
call fcn.00402610
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xec]
call fcn.00430320
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf0]
call fcn.00408680
mov eax, dword [ebp + 8]
jmp 0x401d7f
mov ecx, 0x4cf050
lea eax, [ebp - 0x104]
call fcn.004330c0
mov ecx, eax
call fcn.00432cd0
test eax, eax
ja 0x401aa6
mov byte [ebp - 4], 4
lea eax, [ebp - 0x1c4]
call fcn.00432990
mov byte [ebp - 4], 3
lea eax, [ebp - 0x104]
call fcn.00432990
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1b4]
call fcn.00401da0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x120]
call fcn.00402610
jmp 0x401c98
mov ecx, str.data
lea eax, [ebp - 0x104]
call fcn.004330c0
lea esi, [ebp - 0x1c4]
call fcn.00432a90
push 0x4c8eeb
lea esi, [ebp - 0x1f4]
call fcn.00432750
mov byte [ebp - 4], 6
lea edx, [ebp - 0x1f4]
push edx
mov eax, str.city
lea esi, [ebp - 0x204]
lea ecx, [ebp - 0x1c4]
call fcn.004334c0
mov dword [ebp - 0x230], eax
mov eax, dword [ebp - 0x230]
mov dword [ebp - 0x234], eax
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x234]
call fcn.00432b20
push eax
lea ecx, [ebp - 0x1e4]
call fcn.004025d0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1e4]
lea edi, [ebp - 0x220]
call fcn.0042f0b0
mov dword [ebp - 0x238], eax
mov ecx, dword [ebp - 0x238]
mov dword [ebp - 0x23c], ecx
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x23c]
call fcn.00402730
push eax
lea ecx, [ebp - 0xf0]
call fcn.00401ee0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x220]
call fcn.00402710
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1e4]
call fcn.00402610
mov byte [ebp - 4], 6
lea eax, [ebp - 0x204]
call fcn.00432990
mov byte [ebp - 4], 5
lea eax, [ebp - 0x1f4]
call fcn.00432990
lea ecx, [ebp - 0xf0]
call fcn.004025b0
movzx edx, al
test edx, edx
je 0x401c43
push 0x4cf068
mov ecx, 0x4ed708
call fcn.00401ee0
push 0x4ed708
mov ecx, dword [ebp + 8]
call fcn.00401e20
mov eax, dword [ebp - 0x224]
or eax, 1
mov dword [ebp - 0x224], eax
mov byte [ebp - 4], 4
lea eax, [ebp - 0x1c4]
call fcn.00432990
mov byte [ebp - 4], 3
lea eax, [ebp - 0x104]
call fcn.00432990
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1b4]
call fcn.00401da0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x120]
call fcn.00402610
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xec]
call fcn.00430320
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf0]
call fcn.00408680
mov eax, dword [ebp + 8]
jmp 0x401d7f
lea ecx, [ebp - 0xf0]
push ecx
mov ecx, 0x4ed708
call fcn.00401ec0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x1c4]
call fcn.00432990
mov byte [ebp - 4], 3
lea eax, [ebp - 0x104]
call fcn.00432990
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1b4]
call fcn.00401da0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x120]
call fcn.00402610
xor edx, edx
jne 0x401833
push 0x4ed708
mov ecx, dword [ebp + 8]
call fcn.00401e20
mov eax, dword [ebp - 0x224]
or eax, 1
mov dword [ebp - 0x224], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xec]
call fcn.00430320
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf0]
call fcn.00408680
mov eax, dword [ebp + 8]
jmp 0x401d7f
push 0x4cf070
mov ecx, 0x4ed708
call fcn.00401ee0
push 0x4ed708
mov ecx, dword [ebp + 8]
call fcn.00401e20
mov ecx, dword [ebp - 0x224]
or ecx, 1
mov dword [ebp - 0x224], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xec]
call fcn.00430320
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf0]
call fcn.00408680
mov eax, dword [ebp + 8]
jmp 0x401d7f
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00480723
mov esp, ebp
pop ebp
ret