Function at 0x411ff0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46df3e
mov eax, dword fs:[0]
push eax
sub esp, 0x118
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 - 0x104]
push 0
push eax
call fcn.00447720
add esp, 0xc
mov dword [ebp - 0x104], 0
lea ecx, [ebp - 0x104]
mov dword [ebp - 0x100], 0
call fcn.00410ed0
lea ecx, [ebp - 0x104]
mov dword [ebp - 4], 0
call fcn.00410fa0
lea ecx, [ebp - 0x104]
call fcn.00410ed0
push 0x47fc80
push str.resources_variants_list.xml
call fcn.0044ed3b
mov esi, eax
mov dword [ebp - 0x11c], fcn.00410ca0
add esp, 8
mov dword [ebp - 0x120], esi
lea eax, [ebp - 0x100]
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x104]
lea ecx, [ebp - 0x38]
push eax
sub esp, 8
push esi
call fcn.00410ba0
add esp, 0x10
mov byte [ebp - 4], 2
test esi, esi
je 0x4120c4
push esi
call fcn.00410ca0
add esp, 4
mov byte [ebp - 4], 0
cmp dword [ebp - 0x38], 0
je 0x41210c
push str.could_not_open_the_variants_list_file
push str.CityGenerator
push 0x45
call fcn.00426650
mov ecx, eax
call fcn.004266c0
lea ecx, [ebp - 0x104]
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
lea eax, [ebp - 0x3c]
xorps xmm0, xmm0
push eax
push str.VariantsList
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x104]
movups xmmword [ebp - 0x3c], xmm0
call fcn.00410ce0
mov ecx, eax
call fcn.00410cb0
mov edi, dword [ebp - 0x3c]
mov dword [ebp - 0x114], edi
cmp edi, dword [ebp - 0x34]
jne 0x41214b
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x38], eax
je 0x4120e6
test edi, edi
jne 0x412166
push 0x19c1
push str.d:projectsgraphicscitycommonpugipugixml.cpp
push str._wrap._root
call fcn.00453f1a
add esp, 0xc
push 0x47f6a8
lea eax, [ebp - 0x124]
mov dword [ebp - 0x14], edi
push eax
lea ecx, [ebp - 0x14]
call fcn.00410d70
mov edx, dword [eax]
test edx, edx
je 0x41218a
mov edx, dword [edx + 8]
test edx, edx
jne 0x41218f
mov edx, 0x47f195
mov ecx, edx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4121a6
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.00402250
push str.value
lea eax, [ebp - 0x11c]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x14]
call fcn.00410d70
mov eax, dword [eax]
test eax, eax
je 0x4121e1
mov edx, dword [eax + 8]
mov dword [ebp - 0x14], edx
test edx, edx
jne 0x4121e8
mov dword [ebp - 0x14], 0x47f195
mov ecx, dword [0x48f6bc]
mov esi, ecx
mov dword [ebp - 0x110], esi
mov eax, dword [ecx + 4]
cmp byte [eax + 0xd], 0
jne 0x4123b8
mov edi, eax
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
lea edx, [edi + 0x10]
cmovae eax, dword [ebp - 0x2c]
cmp dword [edi + 0x24], 0x10
jb 0x41221c
mov edx, dword [edi + 0x10]
mov ecx, dword [edi + 0x20]
mov esi, dword [ebp - 0x1c]
cmp esi, ecx
mov dword [ebp - 0x10c], ecx
cmovb ecx, esi
mov esi, dword [ebp - 0x110]
sub ecx, 4
mov dword [ebp - 0x108], ecx
jb 0x41225d
nop
mov ecx, dword [edx]
cmp ecx, dword [eax]
jne 0x412262
mov ecx, dword [ebp - 0x108]
add edx, 4
add eax, 4
sub ecx, 4
mov dword [ebp - 0x108], ecx
jae 0x412240
cmp ecx, 0xfffffffc
je 0x4122a2
mov cl, byte [edx]
cmp cl, byte [eax]
jne 0x41229b
cmp dword [ebp - 0x108], 0xfffffffd
je 0x4122a2
mov cl, byte [edx + 1]
cmp cl, byte [eax + 1]
jne 0x41229b
cmp dword [ebp - 0x108], 0xfffffffe
je 0x4122a2
mov cl, byte [edx + 2]
cmp cl, byte [eax + 2]
jne 0x41229b
cmp dword [ebp - 0x108], 0xffffffff
je 0x4122a2
mov cl, byte [edx + 3]
cmp cl, byte [eax + 3]
je 0x4122a2
sbb eax, eax
or eax, 1
jmp 0x4122a4
xor eax, eax
test eax, eax
jne 0x4122be
mov eax, dword [ebp - 0x10c]
mov ecx, dword [ebp - 0x1c]
cmp ecx, eax
jbe 0x4122ba
or eax, 0xffffffff
jmp 0x4122be
sbb eax, eax
neg eax
shr eax, 0x1f
test al, al
je 0x4122ca
mov edi, dword [edi + 8]
jmp 0x4122d4
mov esi, edi
mov edi, dword [edi]
mov dword [ebp - 0x110], esi
cmp byte [edi + 0xd], 0
je 0x412205
mov edi, dword [ebp - 0x114]
cmp esi, dword [0x48f6bc]
je 0x4123b8
cmp dword [esi + 0x24], 0x10
lea ecx, [esi + 0x10]
jb 0x4122fc
mov ecx, dword [esi + 0x10]
cmp dword [ebp - 0x18], 0x10
lea edx, [ebp - 0x2c]
mov eax, dword [esi + 0x20]
cmovae edx, dword [ebp - 0x2c]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x1c]
mov edi, eax
cmp dword [ebp - 0x10c], edi
mov edi, dword [ebp - 0x114]
cmovb eax, dword [ebp - 0x10c]
sub eax, 4
mov dword [ebp - 0x108], eax
jb 0x412350
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x412355
mov eax, dword [ebp - 0x108]
add edx, 4
add ecx, 4
sub eax, 4
mov dword [ebp - 0x108], eax
jae 0x412333
cmp eax, 0xfffffffc
je 0x412395
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x41238e
cmp dword [ebp - 0x108], 0xfffffffd
je 0x412395
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x41238e
cmp dword [ebp - 0x108], 0xfffffffe
je 0x412395
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x41238e
cmp dword [ebp - 0x108], 0xffffffff
je 0x412395
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x412395
sbb eax, eax
or eax, 1
jmp 0x412397
xor eax, eax
test eax, eax
jne 0x4123b1
mov eax, dword [ebp - 0x10c]
mov ecx, dword [ebp - 0x1c]
cmp eax, ecx
jbe 0x4123ad
or eax, 0xffffffff
jmp 0x4123b1
sbb eax, eax
neg eax
shr eax, 0x1f
test al, al
je 0x4123e7
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x110], eax
lea eax, [ebp - 0x110]
push ecx
push eax
push ecx
call fcn.00422120
push eax
add eax, 0x10
push eax
push esi
lea eax, [ebp - 0x118]
push eax
call fcn.004221c0
mov esi, dword [ebp - 0x118]
mov ecx, dword [ebp - 0x14]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4123f0
sub ecx, edx
push ecx
push dword [ebp - 0x14]
lea ecx, [esi + 0x28]
call fcn.00402250
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x412439
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41242f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41245c
push edx
push ecx
call fcn.0042f743
add esp, 8
test edi, edi
jne 0x412454
push 0x19cd
push str.d:projectsgraphicscitycommonpugipugixml.cpp
push str._wrap._root
call fcn.00453f1a
add esp, 0xc
mov edi, dword [edi + 0x18]
jmp 0x412138
call fcn.0044b2e7
int3