Function at 0x458150
Capabilities:
Get geographical location

Disassembly:
mov ecx, dword [0x2305bc0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4584bf
sub esp, 0xc
mov eax, dword [esp + 0x18]
test byte [eax], al
mov ecx, dword [0x2305d70]
mov edx, dword [0x2305bc0]
mov edx, dword fs:[edx]
mov edx, dword [edx]
test ecx, ecx
jne 0x458188
mov ecx, dword [esp + 0x14]
jmp 0x4581ad
call fcn.0047b340
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 word [eax + 0x26], 0
mov edx, dword [esp + 0x10]
lea ebx, [edx + 4]
mov ebp, dword [edx + 4]
xor esi, esi
jmp 0x4581e0
mov edi, dword [ecx]
mov esi, ebp
mov ebp, edi
mov edi, ecx
mov ecx, ebx
mov ebx, edi
test ebp, ebp
je 0x4583ef
mov esi, dword [ebp + 0xc]
cmp ecx, esi
je 0x4581ff
mov ebx, ecx
cmp esi, ecx
jbe 0x4581fa
lea ecx, [ebp + 8]
jmp 0x4581d4
lea ecx, [ebp + 4]
jmp 0x4581d4
movzx ecx, byte [esp + 0x1c]
test cl, cl
je 0x458378
mov ecx, dword [0x2305d70]
test ecx, ecx
je 0x458222
call fcn.0047b300
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 [0x2305d70]
mov edx, dword [ebp + 0x28]
test ecx, ecx
je 0x458250
call fcn.0047b300
mov dword [edi], edx
mov ecx, dword [eax + 0x28]
mov dword [edi + 4], ecx
mov dword [eax + 0x28], edx
mov ecx, dword [0x2305d70]
mov edx, dword [ebp + 8]
test ecx, ecx
je 0x45826d
call fcn.0047b300
mov dword [edi], edx
mov ecx, dword [eax + 8]
mov dword [edi + 4], ecx
mov dword [eax + 8], edx
mov ecx, dword [0x2305d70]
mov ebx, dword [ebp + 4]
test ecx, ecx
je 0x45828a
call fcn.0047b300
mov dword [edi], ebx
mov ecx, dword [eax + 4]
mov dword [edi + 4], ecx
mov dword [eax + 4], ebx
test edx, edx
je 0x4582ab
mov ecx, dword [0x2305d70]
test ecx, ecx
je 0x4582a8
call fcn.0047b300
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 0x4582cc
mov edx, dword [0x2305d70]
test edx, edx
je 0x4582c9
call fcn.0047b300
mov dword [edi], eax
mov edx, dword [ecx + 0x28]
mov dword [edi + 4], edx
mov dword [ecx + 0x28], eax
mov ecx, dword [0x2305d70]
test ecx, ecx
je 0x4582e3
call fcn.0047b300
mov dword [edi], ebp
mov ecx, dword [eax + 0x2c]
mov dword [edi + 4], ecx
mov dword [eax + 0x2c], ebp
mov ecx, dword [0x2305d70]
mov edx, dword [ebp + 0x30]
test ecx, ecx
je 0x458300
call fcn.0047b300
mov dword [edi], edx
mov ecx, dword [eax + 0x30]
mov dword [edi + 4], ecx
mov dword [eax + 0x30], edx
test edx, edx
jne 0x458321
mov ecx, dword [0x2305d70]
test ecx, ecx
je 0x45831e
call fcn.0047b300
mov dword [edi], ebp
mov ecx, dword [eax + 0x30]
mov dword [edi + 4], ecx
mov dword [eax + 0x30], ebp
movzx ecx, word [ebp + 0x26]
mov word [eax + 0x26], cx
cmp cx, 0xffff
je 0x458334
inc ecx
mov word [eax + 0x26], cx
mov eax, dword [0x2305d70]
test eax, eax
je 0x45835a
mov eax, dword [ebp + 0x28]
call fcn.0047b320
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 0x4583eb
mov ecx, dword [ebp + 0x30]
test ecx, ecx
je 0x45839b
mov edx, dword [0x2305d70]
test edx, edx
je 0x458396
call fcn.0047b300
mov dword [edi], eax
mov edx, dword [ecx + 0x2c]
mov dword [edi + 4], edx
mov dword [ecx + 0x2c], eax
jmp 0x4583b5
mov ecx, dword [0x2305d70]
test ecx, ecx
je 0x4583b2
call fcn.0047b300
mov dword [edi], eax
mov ecx, dword [ebp + 0x2c]
mov dword [edi + 4], ecx
mov dword [ebp + 0x2c], eax
mov ecx, dword [0x2305d70]
test ecx, ecx
je 0x4583d2
call fcn.0047b310
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
movzx eax, word [ebp + 0x26]
cmp ax, 0xffff
je 0x4583eb
inc eax
mov word [ebp + 0x26], ax
add esp, 0xc
ret
mov ecx, dword [0x2305bc0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov ebp, dword [ecx + 0x4a4]
mov dword [esp + 8], ebp
mov edi, dword [ecx + 0x4a8]
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 + 0x4a4], edi
mov dword [ecx + 0x4a8], edx
mov dword [eax + 0x20], ebp
mov ecx, dword [0x2305d70]
test ecx, ecx
je 0x45845a
call fcn.0047b320
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 0x45846d
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [eax + 0x28]
test edx, edx
je 0x4584a2
mov ebx, dword [edx + 0x20]
cmp dword [eax + 0x20], ebx
jae 0x4584a2
cmp dword [edx + 8], eax
je 0x458494
cmp dword [edx + 4], eax
jne 0x4584a6
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.00458810
jmp 0x458465
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.00458930
jmp 0x458465
add esp, 0xc
ret
lea eax, [0xd26600]
mov dword [esp], eax
lea eax, [0x13c52f0]
mov dword [esp + 4], eax
call fcn.00441290
nop
call fcn.00479ef0
jmp fcn.00458150