Function at 0x4470a0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fa775
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x78ca90]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xe0], eax
call fcn.004aa256
push eax
mov ecx, dword [ebp - 0xe0]
call fcn.00426c00
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 4
mov dword [ebp - 0xe4], ecx
call fcn.004aa256
push eax
mov ecx, dword [ebp - 0xe4]
call fcn.00426c00
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x10]
add edx, 8
mov dword [ebp - 0xc8], edx
call fcn.004aa256
push eax
mov ecx, dword [ebp - 0xc8]
call fcn.00426c00
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
add eax, 0x30
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x54]
mov dword [ecx], 0
mov edx, dword [ebp - 0x54]
mov dword [edx + 4], 0
mov eax, dword [ebp - 0x54]
mov dword [eax + 8], 0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x3c
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 0x5c]
mov dword [edx], 0
mov eax, dword [ebp - 0x5c]
mov dword [eax + 4], 0
mov ecx, dword [ebp - 0x5c]
mov dword [ecx + 8], 0
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x10]
add edx, 0x48
mov dword [ebp - 0x64], edx
mov eax, dword [ebp - 0x64]
mov dword [eax], 0
mov ecx, dword [ebp - 0x64]
mov dword [ecx + 4], 0
mov edx, dword [ebp - 0x64]
mov dword [edx + 8], 0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x10]
add eax, 0x54
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x6c]
mov dword [ecx], 0
mov edx, dword [ebp - 0x6c]
mov dword [edx + 4], 0
mov eax, dword [ebp - 0x6c]
mov dword [eax + 8], 0
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x20], 0
mov edx, dword [ebp + 8]
push edx
call fcn.006e62d0
add esp, 4
and eax, 1
jne 0x447202
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x20], 1
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x24], 0
mov edx, dword [ebp + 8]
push edx
call fcn.006e62d0
add esp, 4
and eax, 4
jne 0x447227
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x24], 1
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x28], 0
mov edx, dword [ebp + 8]
push edx
call fcn.006e62d0
add esp, 4
and eax, 2
jne 0x44724c
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x28], 1
mov ecx, dword [ebp + 8]
push ecx
call fcn.006e6720
add esp, 4
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x14], eax
mov eax, dword [ebp + 8]
push eax
call fcn.006e63d0
add esp, 4
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.00427d50
mov ecx, dword [ebp + 8]
push ecx
call fcn.006e6280
add esp, 4
push eax
mov ecx, dword [ebp - 0x10]
call fcn.00427d50
mov edx, dword [ebp + 8]
push edx
call fcn.006e66d0
add esp, 4
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x2c], eax
mov edx, dword [ebp + 8]
push edx
call fcn.006e6550
add esp, 4
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 8
call fcn.00427d50
push 0x6ee04c
mov ecx, dword [ebp - 0x10]
add ecx, 8
call fcn.00428bc0
test eax, eax
jne 0x447346
mov eax, dword [ebp - 0x10]
add eax, 8
mov dword [ebp - 0xa8], eax
mov ecx, 0x6f04e4
test ecx, ecx
jne 0x4472ea
mov dword [ebp - 0x8c], 0
jmp 0x44732f
mov dword [ebp - 0x30], 0x6f04e4
mov edx, dword [ebp - 0x30]
add edx, 2
mov dword [ebp - 0xa0], edx
mov eax, dword [ebp - 0x30]
mov cx, word [eax]
mov word [ebp - 0x66], cx
add dword [ebp - 0x30], 2
cmp word [ebp - 0x66], 0
jne 0x4472fd
mov edx, dword [ebp - 0x30]
sub edx, dword [ebp - 0xa0]
sar edx, 1
mov dword [ebp - 0xd4], edx
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0x8c]
push ecx
push 0x6f04e4
mov ecx, dword [ebp - 0xa8]
call fcn.00431460
mov edx, dword [ebp - 0x10]
mov dword [edx + 0xc], 0
movsd xmm0, qword [0x6ee098]
movsd qword [ebp - 0x120], xmm0
mov dword [ebp - 0x118], 0
push 0x6f04e4
mov ecx, dword [ebp - 0x10]
add ecx, 8
call fcn.00428bc0
test eax, eax
je 0x447441
push str._23:59:59
mov eax, dword [ebp - 0x10]
add eax, 8
push eax
lea ecx, [ebp - 0xd8]
push ecx
call fcn.004281d0
add esp, 0xc
mov dword [ebp - 0xd0], eax
mov edx, dword [ebp - 0x38]
or edx, 1
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0xd0]
mov ecx, dword [eax]
mov dword [ebp - 0xb0], ecx
push 0x409
push 0
mov edx, dword [ebp - 0xb0]
push edx
lea ecx, [ebp - 0x120]
call fcn.00430bc0
movzx eax, al
test eax, eax
je 0x447441
push 0
call fcn.005d2880
add esp, 4
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x104], edx
movsd xmm0, qword [0x6ee098]
movsd qword [ebp - 0x114], xmm0
mov dword [ebp - 0x10c], 0
lea ecx, [ebp - 0x108]
push ecx
lea ecx, [ebp - 0x114]
call fcn.00427e50
lea edx, [ebp - 0x114]
push edx
lea ecx, [ebp - 0x120]
call fcn.00428410
movzx eax, al
test eax, eax
je 0x447441
mov dword [ebp - 0x84], 1
jmp 0x44744b
mov dword [ebp - 0x84], 0
mov cl, byte [ebp - 0x84]
mov byte [ebp - 0x15], cl
mov edx, dword [ebp - 0x38]
and edx, 1
je 0x44747a
and dword [ebp - 0x38], 0xfffffffe
mov eax, dword [ebp - 0xd8]
sub eax, 0x10
mov dword [ebp - 0xb8], eax
mov ecx, dword [ebp - 0xb8]
call fcn.004312e0
movzx ecx, byte [ebp - 0x15]
test ecx, ecx
je 0x44748c
mov edx, dword [ebp - 0x10]
mov dword [edx + 0xc], 1
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x10], 0
push 6
mov ecx, dword [ebp + 8]
push ecx
call fcn.006e5f70
add esp, 8
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x1c], eax
push 1
mov eax, dword [ebp + 8]
push eax
call fcn.006e5f70
add esp, 8
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x18], eax
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x18], 0
jle 0x4474d3
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x10], 1
jmp 0x4474fa
push 2
mov ecx, dword [ebp + 8]
push ecx
call fcn.006e5f70
add esp, 8
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x18], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x18], 0
jle 0x4474fa
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp + 8]
push edx
call fcn.006e6740
add esp, 4
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x3c], 0
jmp 0x44751e
mov eax, dword [ebp - 0x3c]
add eax, 1
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
cmp ecx, dword [ebp - 0x94]
jge 0x4475f6
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.006e6760
add esp, 8
push eax
lea ecx, [ebp - 0x100]
call fcn.0043dd70
mov byte [ebp - 4], 7
cmp dword [ebp - 0x100], 0
je 0x447560
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x10], 1
cmp dword [ebp - 0xec], 0
je 0x44757b
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x18]
add eax, dword [ebp - 0xf0]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x18], eax
cmp dword [ebp - 0xf4], 1
jne 0x447598
lea edx, [ebp - 0x100]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x3c
call fcn.00448270
jmp 0x4475e2
cmp dword [ebp - 0xf4], 2
jne 0x4475c7
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x18]
sub ecx, dword [ebp - 0xf0]
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x18], ecx
lea eax, [ebp - 0x100]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x48
call fcn.00448270
jmp 0x4475e2
cmp dword [ebp - 0xf4], 3
jne 0x4475e2
lea ecx, [ebp - 0x100]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x54
call fcn.00448270
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x100]
call fcn.0043e040
jmp 0x447515
mov edx, dword [ebp + 8]
push edx
call fcn.006e6350
add esp, 4
push eax
lea ecx, [ebp - 0x74]
call fcn.00426d30
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax - 0xc]
mov dword [ebp - 0xc0], ecx
mov edx, dword [ebp - 0xc0]
push edx
lea ecx, [ebp - 0x74]
call fcn.00430fd0
mov dword [ebp - 0xdc], eax
push str.__r_n_t
mov eax, dword [ebp - 0xdc]
push eax
call fcn.005d4521
add esp, 8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x447acb
mov dword [ebp - 0x40], 0x6f1ba8
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x4c]
mov ax, word [edx]
mov word [ebp - 0x5e], ax
mov ecx, dword [ebp - 0x40]
cmp ax, word [ecx]
jne 0x4476a6
cmp word [ebp - 0x5e], 0
je 0x44769a
mov edx, dword [ebp - 0x4c]
mov ax, word [edx + 2]
mov word [ebp - 0x76], ax
mov ecx, dword [ebp - 0x40]
cmp ax, word [ecx + 2]
jne 0x4476a6
add dword [ebp - 0x4c], 4
add dword [ebp - 0x40], 4
cmp word [ebp - 0x76], 0
jne 0x44765e
mov dword [ebp - 0x90], 0
jmp 0x4476b1
sbb edx, edx
or edx, 1
mov dword [ebp - 0x90], edx
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0
je 0x447736
mov dword [ebp - 0x48], 0x6f1bbc
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x44]
mov ax, word [edx]
mov word [ebp - 0x78], ax
mov ecx, dword [ebp - 0x48]
cmp ax, word [ecx]
jne 0x447718
cmp word [ebp - 0x78], 0
je 0x44770f
mov edx, dword [ebp - 0x44]
mov ax, word [edx + 2]
mov word [ebp - 0x56], ax
mov ecx, dword [ebp - 0x48]
cmp ax, word [ecx + 2]
jne 0x447718
add dword [ebp - 0x44], 4
add dword [ebp - 0x48], 4
cmp word [ebp - 0x56], 0
jne 0x4476d3
mov dword [ebp - 0x7c], 0
jmp 0x447720
sbb edx, edx
or edx, 1
mov dword [ebp - 0x7c], edx
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 0
jne 0x447ab4
push str.__r_n_t
push 0
call fcn.005d4521
add esp, 8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x447ab4
lea ecx, [ebp - 0x28]
call fcn.00432fe0
lea ecx, [ebp - 0x24]
call fcn.00432fe0
lea ecx, [ebp - 0x20]
call fcn.00432fe0
mov byte [ebp - 4], 9
mov dword [ebp - 0x1c], 0
cmp dword [ebp - 0x14], 0
jne 0x447784
mov dword [ebp - 0x80], 0
jmp 0x4477c5
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
add edx, 2
mov dword [ebp - 0xa4], edx
mov eax, dword [ebp - 0x2c]
mov cx, word [eax]
mov word [ebp - 0x4e], cx
add dword [ebp - 0x2c], 2
cmp word [ebp - 0x4e], 0
jne 0x447796
mov edx, dword [ebp - 0x2c]
sub edx, dword [ebp - 0xa4]
sar edx, 1
mov dword [ebp - 0xac], edx
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x80]
push ecx
mov edx, dword [ebp - 0x14]
push edx
lea ecx, [ebp - 0x28]
call fcn.00431460
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0xb4], eax
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0xb4]
push edx
mov ecx, 0x793a00
call fcn.004aa729
test eax, eax
jne 0x447803
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x24]
call fcn.00427ca0
push str.ARC_INFO
lea ecx, [ebp - 0x28]
push ecx
call fcn.00447b90
add esp, 8
movzx edx, al
test edx, edx
jne 0x4479ff
push str.Editor
lea eax, [ebp - 0x28]
push eax
call fcn.00447b90
add esp, 8
movzx ecx, al
test ecx, ecx
jne 0x4479ff
push str.Viewer
lea edx, [ebp - 0x28]
push edx
call fcn.00447b90
add esp, 8
movzx eax, al
test eax, eax
jne 0x4479ff
push str.desktopAdvP
lea ecx, [ebp - 0x28]
push ecx
call fcn.00447b90
add esp, 8
movzx edx, al
test edx, edx
jne 0x4479ff
push str.desktopStdP
lea eax, [ebp - 0x28]
push eax
call fcn.00447b90
add esp, 8
movzx ecx, al
test ecx, ecx
jne 0x4479ff
push str.desktopBasicP
lea edx, [ebp - 0x28]
push edx
call fcn.00447b90
add esp, 8
movzx eax, al
test eax, eax
jne 0x4479ff
push str.StandardEngine
lea ecx, [ebp - 0x28]
push ecx
call fcn.00447b90
add esp, 8
movzx edx, al
test edx, edx
jne 0x4479ff
push str.CityEngAdv
lea eax, [ebp - 0x28]
push eax
call fcn.00447b90
add esp, 8
movzx ecx, al
test ecx, ecx
jne 0x4479ff
push str.CityEngBas
lea edx, [ebp - 0x28]
push edx
call fcn.00447b90
add esp, 8
movzx eax, al
test eax, eax
jne 0x4479ff
push str.ArcInfoFX
lea ecx, [ebp - 0x28]
push ecx
call fcn.00447b90
add esp, 8
movzx edx, al
test edx, edx
jne 0x4479ff
push str.EditorFX
lea eax, [ebp - 0x28]
push eax
call fcn.00447b90
add esp, 8
movzx ecx, al
test ecx, ecx
jne 0x4479ff
push str.ViewerFX
lea edx, [ebp - 0x28]
push edx
call fcn.00447b90
add esp, 8
movzx eax, al
test eax, eax
jne 0x4479ff
push str.desktopAdvPFX
lea ecx, [ebp - 0x28]
push ecx
call fcn.00447b90
add esp, 8
movzx edx, al
test edx, edx
jne 0x4479ff
push str.desktopStdPFX
lea eax, [ebp - 0x28]
push eax
call fcn.00447b90
add esp, 8
movzx ecx, al
test ecx, ecx
jne 0x4479ff
push str.desktopBasicPFX
lea edx, [ebp - 0x28]
push edx
call fcn.00447b90
add esp, 8
movzx eax, al
test eax, eax
jne 0x4479ff
push str.StandardEngineFX
lea ecx, [ebp - 0x28]
push ecx
call fcn.00447b90
add esp, 8
movzx edx, al
test edx, edx
jne 0x4479ff
push str.DesignerFX
lea eax, [ebp - 0x28]
push eax
call fcn.00447b90
add esp, 8
movzx ecx, al
test ecx, ecx
jne 0x4479ff
push str.CityEngAdvFX
lea edx, [ebp - 0x28]
push edx
call fcn.00447b90
add esp, 8
movzx eax, al
test eax, eax
jne 0x4479ff
push str.CityEngBasFX
lea ecx, [ebp - 0x28]
push ecx
call fcn.00447b90
add esp, 8
movzx edx, al
test edx, edx
je 0x447a06
mov dword [ebp - 0x1c], 1
push str.__r_n_t
push 0
call fcn.005d4521
add esp, 8
mov dword [ebp - 0x14], eax
push str.__r_n_t
push 0
call fcn.005d4521
add esp, 8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x447aa8
cmp dword [ebp - 0x14], 0
jne 0x447a42
mov dword [ebp - 0x88], 0
jmp 0x447a86
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
add ecx, 2
mov dword [ebp - 0xbc], ecx
mov edx, dword [ebp - 0x34]
mov ax, word [edx]
mov word [ebp - 0x6e], ax
add dword [ebp - 0x34], 2
cmp word [ebp - 0x6e], 0
jne 0x447a54
mov ecx, dword [ebp - 0x34]
sub ecx, dword [ebp - 0xbc]
sar ecx, 1
mov dword [ebp - 0xc4], ecx
mov edx, dword [ebp - 0xc4]
mov dword [ebp - 0x88], edx
mov eax, dword [ebp - 0x88]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x20]
call fcn.00431460
lea edx, [ebp - 0x28]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.00448110
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x28]
call fcn.00427c40
push str.__r_n_t
push 0
call fcn.005d4521
add esp, 8
mov dword [ebp - 0x14], eax
jmp 0x447647
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x74]
sub eax, 0x10
mov dword [ebp - 0xcc], eax
mov ecx, dword [ebp - 0xcc]
call fcn.004312e0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4