Function at 0x4508b0
Capabilities:
Get geographical location

Disassembly:
mov ecx, dword [0xf335f8]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x450bf7
sub esp, 0xc
mov eax, dword [esp + 0x18]
test byte [eax], al
mov ecx, dword [0xf339d0]
mov edx, dword [0xf335f8]
mov edx, dword fs:[edx]
mov edx, dword [edx]
test ecx, ecx
jne 0x4508e8
mov ecx, dword [esp + 0x14]
jmp 0x45090d
call fcn.0046d740
mov dword [edi], edx
mov ecx, dword [eax]
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0x14]
mov dword [edi + 8], ecx
mov ebx, dword [eax + 0xc]
mov dword [edi + 0xc], ebx
mov ebx, dword [eax + 4]
mov dword [edi + 0x10], ebx
mov ebx, dword [eax + 8]
mov dword [edi + 0x14], ebx
mov dword [eax], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov edx, dword [esp + 0x10]
lea ebx, [edx + 4]
mov ebp, dword [edx + 4]
xor esi, esi
jmp 0x45093a
mov edi, dword [ecx]
mov esi, ebp
mov ebp, edi
mov edi, ecx
mov ecx, ebx
mov ebx, edi
test ebp, ebp
je 0x450b27
mov esi, dword [ebp + 0xc]
cmp ecx, esi
je 0x450959
mov ebx, ecx
cmp esi, ecx
jbe 0x450954
lea ecx, [ebp + 8]
jmp 0x45092e
lea ecx, [ebp + 4]
jmp 0x45092e
movzx ecx, byte [esp + 0x1c]
test cl, cl
je 0x450abf
mov ecx, dword [0xf339d0]
test ecx, ecx
je 0x45097c
call fcn.0046d700
mov dword [edi], eax
mov ecx, dword [ebx]
mov dword [edi + 4], ecx
mov dword [ebx], eax
mov ecx, dword [ebp + 0x20]
mov dword [eax + 0x20], ecx
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edx
mov ecx, dword [0xf339d0]
mov edx, dword [ebp + 0x28]
test ecx, ecx
je 0x4509aa
call fcn.0046d700
mov dword [edi], edx
mov ecx, dword [eax + 0x28]
mov dword [edi + 4], ecx
mov dword [eax + 0x28], edx
mov ecx, dword [0xf339d0]
mov edx, dword [ebp + 8]
test ecx, ecx
je 0x4509c7
call fcn.0046d700
mov dword [edi], edx
mov ecx, dword [eax + 8]
mov dword [edi + 4], ecx
mov dword [eax + 8], edx
mov ecx, dword [0xf339d0]
mov ebx, dword [ebp + 4]
test ecx, ecx
je 0x4509e4
call fcn.0046d700
mov dword [edi], ebx
mov ecx, dword [eax + 4]
mov dword [edi + 4], ecx
mov dword [eax + 4], ebx
test edx, edx
je 0x450a05
mov ecx, dword [0xf339d0]
test ecx, ecx
je 0x450a02
call fcn.0046d700
mov dword [edi], eax
mov ecx, dword [edx + 0x28]
mov dword [edi + 4], ecx
mov dword [edx + 0x28], eax
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x450a26
mov edx, dword [0xf339d0]
test edx, edx
je 0x450a23
call fcn.0046d700
mov dword [edi], eax
mov edx, dword [ecx + 0x28]
mov dword [edi + 4], edx
mov dword [ecx + 0x28], eax
mov ecx, dword [0xf339d0]
test ecx, ecx
je 0x450a3d
call fcn.0046d700
mov dword [edi], ebp
mov ecx, dword [eax + 0x2c]
mov dword [edi + 4], ecx
mov dword [eax + 0x2c], ebp
mov ecx, dword [0xf339d0]
mov edx, dword [ebp + 0x30]
test ecx, ecx
je 0x450a5a
call fcn.0046d700
mov dword [edi], edx
mov ecx, dword [eax + 0x30]
mov dword [edi + 4], ecx
mov dword [eax + 0x30], edx
test edx, edx
jne 0x450a7b
mov ecx, dword [0xf339d0]
test ecx, ecx
je 0x450a78
call fcn.0046d700
mov dword [edi], ebp
mov ecx, dword [eax + 0x30]
mov dword [edi + 4], ecx
mov dword [eax + 0x30], ebp
mov eax, dword [0xf339d0]
test eax, eax
je 0x450aa1
mov eax, dword [ebp + 0x28]
call fcn.0046d720
mov dword [edi], eax
mov eax, dword [ebp + 8]
mov dword [edi + 4], eax
mov eax, dword [ebp + 4]
mov dword [edi + 8], eax
mov eax, dword [ebp + 0x30]
mov dword [edi + 0xc], eax
mov dword [ebp + 0x28], 0
mov dword [ebp + 8], 0
mov dword [ebp + 4], 0
mov dword [ebp + 0x30], 0
jmp 0x450b23
mov ecx, dword [ebp + 0x30]
test ecx, ecx
je 0x450ae2
mov edx, dword [0xf339d0]
test edx, edx
je 0x450add
call fcn.0046d700
mov dword [edi], eax
mov edx, dword [ecx + 0x2c]
mov dword [edi + 4], edx
mov dword [ecx + 0x2c], eax
jmp 0x450afc
mov ecx, dword [0xf339d0]
test ecx, ecx
je 0x450af9
call fcn.0046d700
mov dword [edi], eax
mov ecx, dword [ebp + 0x2c]
mov dword [edi + 4], ecx
mov dword [ebp + 0x2c], eax
mov ecx, dword [0xf339d0]
test ecx, ecx
je 0x450b19
call fcn.0046d710
mov dword [edi], eax
mov ecx, dword [ebp + 0x30]
mov dword [edi + 4], ecx
mov ecx, dword [eax + 0x2c]
mov dword [edi + 8], ecx
mov dword [ebp + 0x30], eax
mov dword [eax + 0x2c], 0
add esp, 0xc
ret
mov ecx, dword [0xf335f8]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov ebp, dword [ecx + 0x94]
mov dword [esp + 8], ebp
mov edi, dword [ecx + 0x98]
shl ebp, 0x11
mov edx, dword [esp + 8]
xor ebp, edx
mov edx, edi
xor edi, ebp
shr ebp, 7
xor ebp, edi
mov edi, edx
shr edx, 0x10
xor edx, ebp
lea ebp, [edi + edx]
or ebp, 1
mov dword [ecx + 0x94], edi
mov dword [ecx + 0x98], edx
mov dword [eax + 0x20], ebp
mov ecx, dword [0xf339d0]
test ecx, ecx
je 0x450b92
call fcn.0046d720
mov dword [edi], esi
mov ecx, dword [eax + 0x28]
mov dword [edi + 4], ecx
mov dword [edi + 8], eax
mov ecx, dword [ebx]
mov dword [edi + 0xc], ecx
mov dword [eax + 0x28], esi
mov dword [ebx], eax
mov ecx, dword [esp + 0x10]
jmp 0x450ba5
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [eax + 0x28]
test edx, edx
je 0x450bda
mov ebx, dword [edx + 0x20]
cmp dword [eax + 0x20], ebx
jae 0x450bda
cmp dword [edx + 8], eax
je 0x450bcc
cmp dword [edx + 4], eax
jne 0x450bde
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.00450f20
jmp 0x450b9d
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.00451040
jmp 0x450b9d
add esp, 0xc
ret
lea eax, [0x98d600]
mov dword [esp], eax
lea eax, [0xb26ac0]
mov dword [esp + 4], eax
call fcn.0043c940
nop
call fcn.0046c2f0
jmp fcn.004508b0