Function at 0x4132c0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46e02e
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x48c06c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0xc8
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.00447720
add esp, 0xc
mov dword [ebp - 0x110], 0
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x10c], 0
call fcn.00410ed0
lea ecx, [ebp - 0x110]
mov dword [ebp - 4], 0
call fcn.00410fa0
lea ecx, [ebp - 0x110]
call fcn.00410ed0
push 0x47fc80
push str.resources_cars.xml
call fcn.0044ed3b
mov esi, eax
mov dword [ebp - 0x128], fcn.00410ca0
add esp, 8
mov dword [ebp - 0x12c], esi
lea eax, [ebp - 0x10c]
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x110]
lea ecx, [ebp - 0x44]
push eax
sub esp, 8
push esi
call fcn.00410ba0
add esp, 0x10
mov byte [ebp - 4], 2
test esi, esi
je 0x413394
push esi
call fcn.00410ca0
add esp, 4
mov byte [ebp - 4], 0
cmp dword [ebp - 0x44], 0
je 0x4133bb
push str.could_not_open_the_cars_file
push str.CityGenerator
push 0x45
call fcn.00426650
mov ecx, eax
call fcn.004266c0
jmp 0x41394d
lea eax, [ebp - 0x48]
xorps xmm0, xmm0
push eax
push str.Cars
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0x110]
movups xmmword [ebp - 0x48], xmm0
call fcn.00410ce0
mov ecx, eax
call fcn.00410cb0
mov edi, dword [ebp - 0x48]
xorps xmm1, xmm1
movss dword [ebp - 0x11c], xmm1
movss dword [ebp - 0x1c], xmm1
mov dword [ebp - 0x118], edi
cmp edi, dword [ebp - 0x40]
jne 0x41340e
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x44], eax
je 0x413913
test edi, edi
jne 0x413429
push 0x19c1
push str.d:projectsgraphicscitycommonpugipugixml.cpp
push str._wrap._root
call fcn.00453f1a
add esp, 0xc
push str.popularity
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], edi
push eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x18], 0
call fcn.00410d70
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x38], 0
test eax, eax
je 0x413471
mov eax, dword [eax + 8]
mov ecx, 0x47f195
test eax, eax
cmovne ecx, eax
lea eax, [ebp - 0x38]
push eax
push 0x47f614
push ecx
call fcn.00409eb0
add esp, 0xc
push str.name
lea eax, [ebp - 0x128]
push eax
lea ecx, [ebp - 0x14]
call fcn.00410d70
mov edx, dword [eax]
test edx, edx
je 0x413492
mov edx, dword [edx + 8]
test edx, edx
jne 0x413497
mov edx, 0x47f195
mov ecx, edx
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4134b0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x34]
call fcn.00402250
mov byte [ebp - 4], 3
mov ecx, dword [0x48f6c4]
mov esi, ecx
mov dword [ebp - 0x14], esi
mov eax, dword [ecx + 4]
cmp byte [eax + 0xd], 0
jne 0x41367a
mov edi, eax
cmp dword [ebp - 0x20], 0x10
lea ecx, [ebp - 0x34]
lea edx, [edi + 0x10]
cmovae ecx, dword [ebp - 0x34]
cmp dword [edi + 0x24], 0x10
jb 0x4134f8
mov edx, dword [edi + 0x10]
mov eax, dword [edi + 0x20]
mov esi, dword [ebp - 0x24]
cmp esi, eax
mov dword [ebp - 0x18], eax
cmovb eax, esi
mov esi, dword [ebp - 0x14]
sub eax, 4
mov dword [ebp - 0x114], eax
jb 0x413531
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x413536
mov eax, dword [ebp - 0x114]
add edx, 4
add ecx, 4
sub eax, 4
mov dword [ebp - 0x114], eax
jae 0x413514
cmp eax, 0xfffffffc
je 0x413576
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x41356f
cmp dword [ebp - 0x114], 0xfffffffd
je 0x413576
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x41356f
cmp dword [ebp - 0x114], 0xfffffffe
je 0x413576
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x41356f
cmp dword [ebp - 0x114], 0xffffffff
je 0x413576
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x413576
sbb eax, eax
or eax, 1
jmp 0x413578
xor eax, eax
test eax, eax
jne 0x41358f
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x24]
cmp ecx, eax
jbe 0x41358b
or eax, 0xffffffff
jmp 0x41358f
sbb eax, eax
neg eax
shr eax, 0x1f
test al, al
je 0x41359b
mov edi, dword [edi + 8]
jmp 0x4135a2
mov esi, edi
mov edi, dword [edi]
mov dword [ebp - 0x14], esi
cmp byte [edi + 0xd], 0
je 0x4134e1
mov edi, dword [ebp - 0x118]
cmp esi, dword [0x48f6c4]
je 0x41367a
cmp dword [esi + 0x24], 0x10
lea ecx, [esi + 0x10]
jb 0x4135ca
mov ecx, dword [esi + 0x10]
cmp dword [ebp - 0x20], 0x10
lea edx, [ebp - 0x34]
mov eax, dword [esi + 0x20]
cmovae edx, dword [ebp - 0x34]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x24]
mov edi, eax
cmp dword [ebp - 0x14], edi
mov edi, dword [ebp - 0x118]
cmovb eax, dword [ebp - 0x14]
sub eax, 4
mov dword [ebp - 0x114], eax
jb 0x413615
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x41361a
mov eax, dword [ebp - 0x114]
add edx, 4
add ecx, 4
sub eax, 4
mov dword [ebp - 0x114], eax
jae 0x4135f8
cmp eax, 0xfffffffc
je 0x41365a
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x413653
cmp dword [ebp - 0x114], 0xfffffffd
je 0x41365a
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x413653
cmp dword [ebp - 0x114], 0xfffffffe
je 0x41365a
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x413653
cmp dword [ebp - 0x114], 0xffffffff
je 0x41365a
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x41365a
sbb eax, eax
or eax, 1
jmp 0x41365c
xor eax, eax
test eax, eax
jne 0x413673
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
cmp eax, ecx
jbe 0x41366f
or eax, 0xffffffff
jmp 0x413673
sbb eax, eax
neg eax
shr eax, 0x1f
test al, al
je 0x4136a3
lea eax, [ebp - 0x34]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push ecx
push eax
push ecx
call fcn.00421540
push eax
add eax, 0x10
push eax
push esi
lea eax, [ebp - 0x124]
push eax
call fcn.004215d0
mov esi, dword [ebp - 0x124]
movss xmm0, dword [ebp - 0x38]
addss xmm0, dword [ebp - 0x1c]
movss dword [esi + 0x28], xmm0
mov esi, dword [0x48f6c4]
mov eax, dword [esi + 4]
mov dword [ebp - 0x14], eax
cmp byte [eax + 0xd], 0
jne 0x41386e
mov edx, dword [ebp - 0x34]
mov edi, dword [ebp - 0x24]
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x20], 0x10
lea ecx, [ebp - 0x34]
cmovae ecx, edx
cmp dword [eax + 0x24], 0x10
lea edx, [eax + 0x10]
jb 0x4136e7
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x20]
cmp edi, eax
mov dword [ebp - 0x1c], eax
cmovb eax, edi
sub eax, 4
mov dword [ebp - 0x114], eax
jb 0x41371d
nop dword [eax]
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x413722
mov eax, dword [ebp - 0x114]
add edx, 4
add ecx, 4
sub eax, 4
mov dword [ebp - 0x114], eax
jae 0x413700
cmp eax, 0xfffffffc
je 0x413762
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x41375b
cmp dword [ebp - 0x114], 0xfffffffd
je 0x413762
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x41375b
cmp dword [ebp - 0x114], 0xfffffffe
je 0x413762
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x41375b
cmp dword [ebp - 0x114], 0xffffffff
je 0x413762
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x413762
sbb eax, eax
or eax, 1
jmp 0x413764
xor eax, eax
test eax, eax
jne 0x413778
mov eax, dword [ebp - 0x1c]
cmp edi, eax
jbe 0x413774
or eax, 0xffffffff
jmp 0x413778
sbb eax, eax
neg eax
shr eax, 0x1f
test al, al
mov eax, dword [ebp - 0x14]
je 0x413787
mov eax, dword [eax + 8]
jmp 0x41378b
mov esi, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
je 0x4136d1
mov edi, dword [ebp - 0x118]
cmp esi, dword [0x48f6c4]
je 0x41386e
cmp dword [esi + 0x24], 0x10
lea ecx, [esi + 0x10]
jb 0x4137b9
mov ecx, dword [esi + 0x10]
cmp dword [ebp - 0x20], 0x10
lea edx, [ebp - 0x34]
mov eax, dword [esi + 0x20]
cmovae edx, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x24]
mov edi, eax
cmp dword [ebp - 0x14], edi
mov edi, dword [ebp - 0x118]
cmovb eax, dword [ebp - 0x14]
sub eax, 4
mov dword [ebp - 0x114], eax
jb 0x413804
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x413809
mov eax, dword [ebp - 0x114]
add edx, 4
add ecx, 4
sub eax, 4
mov dword [ebp - 0x114], eax
jae 0x4137e7
cmp eax, 0xfffffffc
je 0x413849
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x413842
cmp dword [ebp - 0x114], 0xfffffffd
je 0x413849
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x413842
cmp dword [ebp - 0x114], 0xfffffffe
je 0x413849
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x413842
cmp dword [ebp - 0x114], 0xffffffff
je 0x413849
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x413849
sbb eax, eax
or eax, 1
jmp 0x41384b
xor eax, eax
test eax, eax
jne 0x413862
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
cmp eax, ecx
jbe 0x41385e
or eax, 0xffffffff
jmp 0x413862
sbb eax, eax
neg eax
shr eax, 0x1f
test al, al
jne 0x41386e
mov edx, dword [ebp - 0x18]
jmp 0x41389a
lea eax, [ebp - 0x34]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push ecx
push eax
push ecx
call fcn.00421540
push eax
add eax, 0x10
push eax
push esi
lea eax, [ebp - 0x120]
push eax
call fcn.004215d0
mov esi, dword [ebp - 0x120]
mov edx, dword [ebp - 0x34]
movss xmm0, dword [esi + 0x28]
movss dword [ebp - 0x1c], xmm0
movss xmm0, dword [ebp - 0x38]
addss xmm0, dword [ebp - 0x11c]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x20]
movss dword [ebp - 0x11c], xmm0
cmp eax, 0x10
jb 0x4138f0
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x4138e6
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x413973
push ecx
push edx
call fcn.0042f743
add esp, 8
test edi, edi
jne 0x41390b
push 0x19cd
push str.d:projectsgraphicscitycommonpugipugixml.cpp
push str._wrap._root
call fcn.00453f1a
add esp, 0xc
mov edi, dword [edi + 0x18]
jmp 0x4133f7
mov esi, dword [0x48f6c4]
mov eax, dword [esi]
mov dword [ebp - 0x1c], eax
cmp eax, esi
je 0x41394d
movss xmm1, dword [ebp - 0x11c]
nop word [eax + eax]
movss xmm0, dword [eax + 0x28]
lea ecx, [ebp - 0x1c]
divss xmm0, xmm1
movss dword [eax + 0x28], xmm0
call fcn.004084b0
mov eax, dword [ebp - 0x1c]
cmp eax, esi
jne 0x413930
lea ecx, [ebp - 0x110]
call fcn.00410fa0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042f1ff
mov esp, ebp
pop ebp
ret
call fcn.0044b2e7
int3