Function at 0x427740
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46ee39
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x48c06c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0xc8
call fcn.0042f713
push 0xc8
mov edi, eax
push 0
push edi
mov dword [ebp - 0x80], edi
call fcn.00447720
add esp, 0x10
mov dword [edi], 0
lea esi, [edi + 4]
mov ecx, edi
mov dword [esi], 0
call fcn.00410ed0
mov ecx, edi
mov dword [0x48f680], edi
call fcn.00410fa0
mov ecx, edi
call fcn.00410ed0
push 0x47fc80
push str.resources_resources.xml
call fcn.0044ed3b
mov ebx, eax
mov dword [ebp - 0x80], fcn.00410ca0
add esp, 8
mov dword [ebp - 0x84], ebx
push esi
sub esp, 8
mov dword [ebp - 4], 0
mov edx, dword [edi]
lea ecx, [ebp - 0x90]
push ebx
call fcn.00410ba0
add esp, 0x10
mov dword [ebp - 4], 1
test ebx, ebx
je 0x427808
push ebx
call fcn.00410ca0
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x90], 0
je 0x427830
push str.could_not_open_the_models_description_file
push str.Scene
push 0x57
call fcn.00426650
mov ecx, eax
call fcn.004266c0
push 0x1c
push str.resources_bounding_boxes.xml
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0xf
mov byte [ebp - 0x9c], 0
call fcn.00402250
lea ecx, [ebp - 0x9c]
mov dword [ebp - 4], 2
call fcn.00409ed0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x88]
cmp edx, 0x10
jb 0x4278b0
mov ecx, dword [ebp - 0x9c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4278a6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x427c5d
push edx
push ecx
call fcn.0042f743
add esp, 8
mov eax, dword fs:[0x2c]
mov esi, dword [eax]
mov eax, dword [0x48f7d8]
cmp eax, dword [esi + 4]
jle 0x4278f2
push 0x48f7d8
call fcn.0042f372
add esp, 4
cmp dword [0x48f7d8], 0xffffffff
jne 0x4278f2
push 0x470ad0
call fcn.0042f6f5
push 0x48f7d8
call fcn.0042f328
add esp, 8
call fcn.00411ff0
mov eax, dword [0x48f7d8]
cmp eax, dword [esi + 4]
jle 0x427931
push 0x48f7d8
call fcn.0042f372
add esp, 4
cmp dword [0x48f7d8], 0xffffffff
jne 0x427931
push 0x470ad0
call fcn.0042f6f5
push 0x48f7d8
call fcn.0042f328
add esp, 8
call fcn.00412470
mov eax, dword [0x48f7d8]
cmp eax, dword [esi + 4]
jle 0x427970
push 0x48f7d8
call fcn.0042f372
add esp, 4
cmp dword [0x48f7d8], 0xffffffff
jne 0x427970
push 0x470ad0
call fcn.0042f6f5
push 0x48f7d8
call fcn.0042f328
add esp, 8
call fcn.00412780
mov eax, dword [0x48f7d8]
cmp eax, dword [esi + 4]
jle 0x4279af
push 0x48f7d8
call fcn.0042f372
add esp, 4
cmp dword [0x48f7d8], 0xffffffff
jne 0x4279af
push 0x470ad0
call fcn.0042f6f5
push 0x48f7d8
call fcn.0042f328
add esp, 8
call fcn.00412d20
mov eax, dword [0x48f7d8]
cmp eax, dword [esi + 4]
jle 0x4279ee
push 0x48f7d8
call fcn.0042f372
add esp, 4
cmp dword [0x48f7d8], 0xffffffff
jne 0x4279ee
push 0x470ad0
call fcn.0042f6f5
push 0x48f7d8
call fcn.0042f328
add esp, 8
call fcn.004132c0
mov eax, dword [0x48f7d8]
cmp eax, dword [esi + 4]
jle 0x427a2d
push 0x48f7d8
call fcn.0042f372
add esp, 4
cmp dword [0x48f7d8], 0xffffffff
jne 0x427a2d
push 0x470ad0
call fcn.0042f6f5
push 0x48f7d8
call fcn.0042f328
add esp, 8
push ecx
mov ecx, 0x48f7d0
call fcn.00413bc0
mov dword [0x48f688], eax
mov eax, dword [0x48f7d8]
cmp eax, dword [esi + 4]
jle 0x427a77
push 0x48f7d8
call fcn.0042f372
add esp, 4
cmp dword [0x48f7d8], 0xffffffff
jne 0x427a77
push 0x470ad0
call fcn.0042f6f5
push 0x48f7d8
call fcn.0042f328
add esp, 8
sub esp, 0xc
mov ecx, 0x48f7d0
call fcn.00413980
lea ecx, [ebp - 0x1c]
mov dword [0x48f698], eax
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
push ecx
mov ecx, eax
movq qword [ebp - 0x1c], xmm0
call fcn.0040aa90
mov dword [ebp - 4], 3
xor ecx, ecx
mov ebx, dword [ebp - 0x18]
xor edi, edi
mov esi, dword [ebp - 0x1c]
sub ebx, esi
add ebx, 3
shr ebx, 2
cmp esi, dword [ebp - 0x18]
cmova ebx, ecx
test ebx, ebx
je 0x427b92
nop word [eax + eax]
mov ecx, dword [esi]
lea eax, [ebp - 0x7c]
push eax
call fcn.00408af0
movss xmm3, dword [ebp - 0x57]
movss xmm0, dword [0x4807d8]
comiss xmm3, xmm0
movss xmm1, dword [ebp - 0x4f]
movss xmm2, dword [ebp - 0x53]
ja 0x427b01
comiss xmm2, xmm0
ja 0x427b01
comiss xmm1, xmm0
jbe 0x427b2f
cvtps2pd xmm0, xmm1
sub esp, 0x18
lea eax, [ebp - 0x67]
movsd qword [esp + 0x10], xmm0
cvtps2pd xmm0, xmm2
movsd qword [esp + 8], xmm0
cvtps2pd xmm0, xmm3
movsd qword [esp], xmm0
push eax
push str._WARNING__model_name_s__aabbHalfX_f__aabbHalfY_f__aabbHalfZ_f__n
call fcn.00426620
add esp, 0x20
movss xmm3, dword [ebp - 0x77]
movss xmm0, dword [0x4807ec]
comiss xmm3, xmm0
movss xmm1, dword [ebp - 0x6f]
movss xmm2, dword [ebp - 0x73]
ja 0x427b55
comiss xmm2, xmm0
ja 0x427b55
comiss xmm1, xmm0
jbe 0x427b83
cvtps2pd xmm0, xmm1
sub esp, 0x18
lea eax, [ebp - 0x67]
movsd qword [esp + 0x10], xmm0
cvtps2pd xmm0, xmm2
movsd qword [esp + 8], xmm0
cvtps2pd xmm0, xmm3
movsd qword [esp], xmm0
push eax
push str._WARNING__model_name_s__x_f__y_f__z_f__n
call fcn.00426620
add esp, 0x20
inc edi
add esi, 4
cmp edi, ebx
jne 0x427ad0
mov esi, dword [ebp - 0x1c]
cmp dword [0x48f698], 0
je 0x427c11
push 0x10
push str.City_Information
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0xf
mov byte [ebp - 0xb4], 0
call fcn.00402250
lea eax, [ebp - 0xb4]
mov byte [ebp - 4], 4
push eax
call fcn.0040b6c0
mov edx, dword [ebp - 0xa0]
cmp edx, 0x10
jb 0x427c0e
mov ecx, dword [ebp - 0xb4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x427c04
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x427c62
push edx
push ecx
call fcn.0042f743
add esp, 8
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x427c41
mov ecx, dword [ebp - 0x14]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x427c37
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x427c67
push ecx
push esi
call fcn.0042f743
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042f1ff
mov esp, ebp
pop ebp
ret
call fcn.0044b2e7
call fcn.0044b2e7
call fcn.0044b2e7
int3