Function at 0x438730
Capabilities:
Get geographical location

Disassembly:
mov ecx, dword [0x1652dc4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x29c]
cmp eax, dword [ecx + 8]
jbe 0x438b93
sub esp, 0x31c
mov eax, dword [0x1652dc4]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov ecx, dword [esp + 0x320]
cmp dword [eax + 0x18], ecx
je 0x438b7c
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.0047d6a0
movzx eax, byte [esp + 0xc]
test al, al
je 0x438af7
mov eax, dword [esp + 0x320]
lea ecx, [eax + 0x2fc]
mov dword [esp + 0x30c], ecx
nop
mov dword [esp], ecx
call fcn.0040df30
mov eax, dword [esp + 0x320]
mov ecx, dword [eax + 0x300]
test ecx, ecx
jne 0x438821
add eax, 0x1f0
mov dword [esp + 0x314], eax
nop
nop
mov ecx, dword [esp + 0x30c]
mov dword [esp], ecx
call fcn.0040e150
mov eax, dword [esp + 0x318]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0047d8d0
nop
mov eax, dword [esp + 0x314]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.0047d7f0
add esp, 0x31c
ret
mov dword [esp + 0x300], 0
mov ecx, dword [0x1545c34]
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.004384a0
mov eax, dword [esp + 0x20]
test eax, eax
je 0x438b1b
nop
nop
mov eax, dword [esp + 0x30c]
mov dword [esp], eax
call fcn.0040e150
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, [0x1652c34]
mov dword [esp], ecx
call fcn.0040df30
mov eax, dword [esp + 0x300]
mov ecx, dword [0x1545bcc]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004382c0
cmp dword [esp + 8], 0xffffffff
je 0x438a85
mov eax, dword [esp + 0x300]
mov ecx, dword [0x1545c00]
mov edx, dword [esp + 0x310]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.00438310
nop
nop
lea eax, [0x1652c34]
mov dword [esp], eax
call fcn.0040e150
mov eax, dword [esp + 0x320]
mov ecx, dword [eax]
mov edx, dword [esp + 0x310]
mov ebx, dword [edx + 0xc4]
test ecx, ecx
je 0x438948
cmp dword [ecx], ebx
jae 0x438948
cmp dword [ecx + 4], ebx
ja 0x43896a
mov ecx, dword [eax + 0x30]
test ecx, ecx
je 0x438958
cmp dword [ecx], ebx
jae 0x438958
cmp dword [ecx + 4], ebx
ja 0x43896a
mov ecx, dword [eax + 0x50]
test ecx, ecx
je 0x438968
cmp dword [ecx], ebx
jae 0x438968
cmp dword [ecx + 4], ebx
ja 0x43896a
xor ecx, ecx
test ecx, ecx
jne 0x438972
xor ebx, ebx
jmp 0x43899d
mov dword [esp + 0x308], ecx
mov dword [esp], ecx
call fcn.0043bd70
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 0x438a18
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.0043bde0
movzx eax, byte [esp + 0x10]
test al, al
je 0x438a18
mov eax, dword [esp + 0x14]
lea ecx, [0x477e00]
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 [0x1545bfc]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.00438310
mov eax, dword [esp + 0x318]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0047d8d0
mov eax, dword [esp + 0x320]
add eax, 0x1f0
nop
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.0047d7f0
mov eax, dword [esp + 0x300]
mov ecx, dword [0x1545be8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004382c0
mov eax, dword [esp + 0x300]
mov ecx, dword [0x1545c48]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004382c0
add esp, 0x31c
ret
mov eax, dword [esp + 0x320]
add eax, 0x1f0
mov dword [esp + 0x314], eax
nop
nop
lea ecx, [0x1652c34]
mov dword [esp], ecx
call fcn.0040e150
mov eax, dword [esp + 0x300]
mov ecx, dword [0x1545c48]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004382c0
mov eax, dword [esp + 0x318]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0047d8d0
nop
mov eax, dword [esp + 0x314]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.0047d7f0
add esp, 0x31c
ret
mov eax, dword [esp + 0x320]
add eax, 0x1f0
nop
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.0047d7f0
add esp, 0x31c
ret
call fcn.00477f90
mov eax, dword [esp]
mov dword [esp + 0x304], eax
call fcn.0043c260
lea eax, [0xdbad71]
mov dword [esp], eax
mov dword [esp + 4], 0x30
call fcn.0043cac0
mov eax, dword [esp + 0x304]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0043c7b0
call fcn.0043c460
call fcn.0043c2c0
lea eax, [0xda8669]
mov dword [esp], eax
mov dword [esp + 4], 0x28
call fcn.00470130
lea eax, [0xd757a5]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call fcn.00470130
nop
call fcn.00475ec0
jmp fcn.00438730