Function at 0x438620
Capabilities:
Get geographical location

Disassembly:
mov ecx, dword [0x1898054]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x29c]
cmp eax, dword [ecx + 8]
jbe 0x438a83
sub esp, 0x31c
mov eax, dword [0x1898054]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov ecx, dword [esp + 0x320]
cmp dword [eax + 0x18], ecx
je 0x438a6c
test byte [ecx], al
lea eax, [ecx + 0x318]
mov dword [esp + 0x318], eax
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 1
call fcn.0047cfc0
movzx eax, byte [esp + 0xc]
test al, al
je 0x4389e7
mov eax, dword [esp + 0x320]
lea ecx, [eax + 0x2fc]
mov dword [esp + 0x30c], ecx
nop
mov dword [esp], ecx
call fcn.0040dea0
mov eax, dword [esp + 0x320]
mov ecx, dword [eax + 0x300]
test ecx, ecx
jne 0x438711
add eax, 0x1f0
mov dword [esp + 0x314], eax
nop
nop
mov ecx, dword [esp + 0x30c]
mov dword [esp], ecx
call fcn.0040e0c0
mov eax, dword [esp + 0x318]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0047d1f0
nop
mov eax, dword [esp + 0x314]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.0047d110
add esp, 0x31c
ret
mov dword [esp + 0x300], 0
mov ecx, dword [0x176ccb4]
mov edx, dword [eax + 0x300]
lea ebx, [esp + 0x300]
mov dword [esp], ecx
mov dword [esp + 4], 0xffffffff
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 2
call fcn.00438390
mov eax, dword [esp + 0x20]
test eax, eax
je 0x438a0b
nop
nop
mov eax, dword [esp + 0x30c]
mov dword [esp], eax
call fcn.0040e0c0
mov dword [esp + 0x25], 0
lea edi, [esp + 0x28]
mov ecx, 0xb6
xor eax, eax
rep stosd dword es:[edi], eax
lea eax, [esp + 0x34]
and eax, 0xfffffff0
mov dword [esp + 0x310], eax
mov dword [eax], 0x10001
nop
nop
lea ecx, [0x1897e78]
mov dword [esp], ecx
call fcn.0040dea0
mov eax, dword [esp + 0x300]
mov ecx, dword [0x176cc4c]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004381b0
cmp dword [esp + 8], 0xffffffff
je 0x438975
mov eax, dword [esp + 0x300]
mov ecx, dword [0x176cc80]
mov edx, dword [esp + 0x310]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.00438200
nop
nop
lea eax, [0x1897e78]
mov dword [esp], eax
call fcn.0040e0c0
mov eax, dword [esp + 0x320]
mov ecx, dword [eax]
mov edx, dword [esp + 0x310]
mov ebx, dword [edx + 0xc4]
test ecx, ecx
je 0x438838
cmp dword [ecx], ebx
jae 0x438838
cmp dword [ecx + 4], ebx
ja 0x43885a
mov ecx, dword [eax + 0x30]
test ecx, ecx
je 0x438848
cmp dword [ecx], ebx
jae 0x438848
cmp dword [ecx + 4], ebx
ja 0x43885a
mov ecx, dword [eax + 0x50]
test ecx, ecx
je 0x438858
cmp dword [ecx], ebx
jae 0x438858
cmp dword [ecx + 4], ebx
ja 0x43885a
xor ecx, ecx
test ecx, ecx
jne 0x438862
xor ebx, ebx
jmp 0x43888d
mov dword [esp + 0x308], ecx
mov dword [esp], ecx
call fcn.0043bdd0
movzx eax, byte [esp + 4]
mov ecx, dword [esp + 0x308]
mov edx, dword [esp + 0x310]
mov ebx, eax
mov eax, dword [esp + 0x320]
test bl, bl
je 0x438908
mov eax, dword [edx + 0xb8]
mov ebx, dword [edx + 0xc4]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 0
call fcn.0043be40
movzx eax, byte [esp + 0x10]
test al, al
je 0x438908
mov eax, dword [esp + 0x14]
lea ecx, [0x477660]
mov edx, dword [esp + 0x310]
mov ebx, dword [edx + 0xc4]
add ebx, 0xfffffffc
mov ebp, ebx
nop
mov dword [ebx], eax
nop
mov dword [edx + 0xc4], ebp
nop
mov dword [edx + 0xb8], ecx
mov eax, dword [esp + 0x300]
mov ecx, dword [0x176cc7c]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.00438200
mov eax, dword [esp + 0x318]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0047d1f0
mov eax, dword [esp + 0x320]
add eax, 0x1f0
nop
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.0047d110
mov eax, dword [esp + 0x300]
mov ecx, dword [0x176cc68]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004381b0
mov eax, dword [esp + 0x300]
mov ecx, dword [0x176ccc8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004381b0
add esp, 0x31c
ret
mov eax, dword [esp + 0x320]
add eax, 0x1f0
mov dword [esp + 0x314], eax
nop
nop
lea ecx, [0x1897e78]
mov dword [esp], ecx
call fcn.0040e0c0
mov eax, dword [esp + 0x300]
mov ecx, dword [0x176ccc8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004381b0
mov eax, dword [esp + 0x318]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0047d1f0
nop
mov eax, dword [esp + 0x314]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.0047d110
add esp, 0x31c
ret
mov eax, dword [esp + 0x320]
add eax, 0x1f0
nop
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.0047d110
add esp, 0x31c
ret
call fcn.004777f0
mov eax, dword [esp]
mov dword [esp + 0x304], eax
call fcn.0043c2c0
lea eax, [0xee92b3]
mov dword [esp], eax
mov dword [esp + 4], 0x30
call fcn.0043cb20
mov eax, dword [esp + 0x304]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0043c810
call fcn.0043c4c0
call fcn.0043c320
lea eax, [0xed620d]
mov dword [esp], eax
mov dword [esp + 4], 0x28
call fcn.0046fe20
lea eax, [0xea18fe]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call fcn.0046fe20
nop
call fcn.00475700
jmp fcn.00438620