Function at 0x405190
Capabilities:
Get geographical location

Disassembly:
push 0xffffffffffffffff
push 0x445d0c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
xor ebx, ebx
mov dword [esp + 4], ebx
mov eax, dword [esp + 0x28]
cmp eax, 3
push esi
mov esi, ecx
ja case.default.0x4051bf
jmp dword [eax*4 + 0x40549c]
mov cl, byte [0x45c7f0]
mov eax, 1
test al, cl
jne 0x405203
or dword [0x45c7f0], eax
push str.Country
mov ecx, 0x45c7ec
mov dword [esp + 0x24], ebx
call fcn.00404070
push 0x447a90
call fcn.0042242e
add esp, 4
mov dword [esp + 0x20], 0xffffffff
cmp byte [esp + 0x30], bl
mov eax, 0x45c7ec
jne 0x405211
lea eax, [esi + 4]
mov eax, dword [eax]
sub eax, 0x10
jmp 0x405472
test byte [0x45c7f0], 2
jne 0x405257
or dword [0x45c7f0], 2
push str.Capital
mov ecx, 0x45c7e8
mov dword [esp + 0x24], 1
call fcn.00404070
push 0x447a80
call fcn.0042242e
add esp, 4
mov dword [esp + 0x20], 0xffffffff
cmp byte [esp + 0x30], bl
je 0x405262
mov esi, 0x45c7e8
mov eax, dword [esi]
sub eax, 0x10
push eax
call fcn.00401d20
add esp, 4
mov edx, eax
mov eax, dword [esp + 0x28]
add edx, 0x10
pop esi
mov dword [eax], edx
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
test byte [0x45c7f0], 4
jne 0x4052ca
or dword [0x45c7f0], 4
push str.European_Championship
mov ecx, 0x45c7e4
mov dword [esp + 0x24], 2
call fcn.00404070
push 0x447a70
call fcn.0042242e
add esp, 4
mov dword [esp + 0x20], 0xffffffff
cmp byte [esp + 0x30], bl
je 0x4052d7
mov eax, 0x45c7e4
jmp 0x405314
cmp dword [esi + 0x10], ebx
jne 0x4052fe
push 0x400
push ebx
lea eax, [esp + 0x14]
push eax
lea ecx, [esi + 8]
call fcn.00404c90
mov dword [esp + 0x20], 3
mov ebx, 2
jmp 0x405310
lea ecx, [esp + 0x2c]
call fcn.00401dc0
mov ebx, 4
mov dword [esp + 0x20], ebx
mov dword [esp + 8], ebx
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00401d20
mov esi, dword [esp + 0x2c]
add eax, 0x10
or ebx, 1
add esp, 4
test bl, 4
mov dword [esi], eax
je 0x40533f
lea ecx, [esp + 0x2c]
and ebx, 0xfffffffb
call fcn.00401180
test bl, 2
je 0x40534d
lea ecx, [esp + 0xc]
call fcn.00401180
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
test byte [0x45c7f0], 8
jne 0x40539e
or dword [0x45c7f0], 8
push str.Wiki
mov ecx, 0x45c7e0
mov dword [esp + 0x24], 5
call fcn.00404070
push 0x447a60
call fcn.0042242e
add esp, 4
mov dword [esp + 0x20], 0xffffffff
cmp byte [esp + 0x30], bl
je 0x4053ab
mov eax, 0x45c7e0
jmp 0x4053eb
cmp dword [esi + 0x10], ebx
jne 0x4053d1
push 0x448a58
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esi + 8]
call fcn.00404ed0
mov dword [esp + 0x20], 6
mov ebx, 8
jmp 0x4053e7
lea ecx, [esp + 0x10]
call fcn.00401dc0
mov dword [esp + 0x20], 7
mov ebx, 0x10
mov dword [esp + 8], ebx
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00401d20
mov esi, dword [esp + 0x2c]
add eax, 0x10
or ebx, 1
add esp, 4
test bl, 0x10
mov dword [esi], eax
je 0x405416
lea ecx, [esp + 0x10]
and ebx, 0xffffffef
call fcn.00401180
test bl, 8
je 0x405424
lea ecx, [esp + 0x14]
call fcn.00401180
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
test byte [0x45c7f0], 0x10
jne 0x40546a
or dword [0x45c7f0], 0x10
call fcn.0043be8d
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
push 0x447a50
mov dword [0x45c7dc], eax
call fcn.0042242e
add esp, 4
mov eax, dword [0x45c7dc]
add eax, 0xfffffff0
push eax
call fcn.00401d20
mov ecx, eax
mov eax, dword [esp + 0x2c]
add esp, 4
add ecx, 0x10
mov dword [eax], ecx
mov ecx, dword [esp + 0x18]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc