Function at 0x4033c0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45dc1c
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x479d28]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 3
ja case.default.0x403402
mov ecx, dword [ebp - 0x40]
jmp dword [ecx*4 + 0x4037a8]
mov edx, dword [0x47b51c]
and edx, 1
jne 0x40344b
mov eax, dword [0x47b51c]
or eax, 1
mov dword [0x47b51c], eax
mov dword [ebp - 4], 0
push str.Country
mov ecx, 0x47b518
call fcn.00408da0
push 0x461550
call fcn.00442b6a
add esp, 4
mov dword [ebp - 4], 0xffffffff
movzx ecx, byte [ebp + 0x10]
test ecx, ecx
je 0x40345c
mov dword [ebp - 0x44], 0x47b518
jmp 0x403465
mov edx, dword [ebp - 0x3c]
add edx, 4
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00408d80
mov edx, dword [ebp - 0x38]
or edx, 1
mov dword [ebp - 0x38], edx
mov eax, dword [ebp + 8]
jmp 0x403795
mov eax, dword [0x47b51c]
and eax, 2
jne 0x4034cb
mov ecx, dword [0x47b51c]
or ecx, 2
mov dword [0x47b51c], ecx
mov dword [ebp - 4], 1
push str.Capital
mov ecx, 0x47b514
call fcn.00408da0
push 0x461540
call fcn.00442b6a
add esp, 4
mov dword [ebp - 4], 0xffffffff
movzx edx, byte [ebp + 0x10]
test edx, edx
je 0x4034dc
mov dword [ebp - 0x48], 0x47b514
jmp 0x4034e2
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
push edx
mov ecx, dword [ebp + 8]
call fcn.00408d80
mov eax, dword [ebp - 0x38]
or eax, 1
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 8]
jmp 0x403795
mov ecx, dword [0x47b51c]
and ecx, 4
jne 0x403549
mov edx, dword [0x47b51c]
or edx, 4
mov dword [0x47b51c], edx
mov dword [ebp - 4], 2
push str.European_Championship
mov ecx, 0x47b510
call fcn.00408da0
push 0x461530
call fcn.00442b6a
add esp, 4
mov dword [ebp - 4], 0xffffffff
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x40355a
mov dword [ebp - 0x4c], 0x47b510
jmp 0x4035d3
mov ecx, dword [ebp - 0x3c]
add ecx, 8
call fcn.004092f0
test eax, eax
jne 0x4035a0
push 0x400
push 0
lea ecx, [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0x3c]
add ecx, 8
call fcn.00408370
mov dword [ebp - 0x50], eax
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x54], edx
mov dword [ebp - 4], 3
mov eax, dword [ebp - 0x38]
or eax, 2
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x58], ecx
jmp 0x4035c7
lea ecx, [ebp - 0x24]
call fcn.00408d60
mov dword [ebp - 0x5c], eax
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x60], edx
mov dword [ebp - 4], 4
mov eax, dword [ebp - 0x38]
or eax, 4
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x58], ecx
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
push edx
mov ecx, dword [ebp + 8]
call fcn.00408d80
mov eax, dword [ebp - 0x38]
or eax, 1
mov dword [ebp - 0x38], eax
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x38]
and ecx, 4
je 0x403609
and dword [ebp - 0x38], 0xfffffffb
lea ecx, [ebp - 0x24]
call fcn.004014d0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x38]
and edx, 2
je 0x403624
and dword [ebp - 0x38], 0xfffffffd
lea ecx, [ebp - 0x20]
call fcn.004014d0
mov eax, dword [ebp + 8]
jmp 0x403795
mov eax, dword [0x47b51c]
and eax, 8
jne 0x40366f
mov ecx, dword [0x47b51c]
or ecx, 8
mov dword [0x47b51c], ecx
mov dword [ebp - 4], 5
push str.Wiki
mov ecx, 0x47b50c
call fcn.00408da0
push 0x461520
call fcn.00442b6a
add esp, 4
mov dword [ebp - 4], 0xffffffff
movzx edx, byte [ebp + 0x10]
test edx, edx
je 0x403680
mov dword [ebp - 0x64], 0x47b50c
jmp 0x4036f7
mov ecx, dword [ebp - 0x3c]
add ecx, 8
call fcn.004092f0
test eax, eax
jne 0x4036c4
push 0x462d38
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x3c]
add ecx, 8
call fcn.004085a0
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 4], 6
mov edx, dword [ebp - 0x38]
or edx, 8
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x70], eax
jmp 0x4036eb
lea ecx, [ebp - 0x34]
call fcn.00408d60
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x78], ecx
mov dword [ebp - 4], 7
mov edx, dword [ebp - 0x38]
or edx, 0x10
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x64], edx
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00408d80
mov edx, dword [ebp - 0x38]
or edx, 1
mov dword [ebp - 0x38], edx
mov dword [ebp - 4], 6
mov eax, dword [ebp - 0x38]
and eax, 0x10
je 0x40372d
and dword [ebp - 0x38], 0xffffffef
lea ecx, [ebp - 0x34]
call fcn.004014d0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x38]
and ecx, 8
je 0x403748
and dword [ebp - 0x38], 0xfffffff7
lea ecx, [ebp - 0x30]
call fcn.004014d0
mov eax, dword [ebp + 8]
jmp 0x403795
mov edx, dword [0x47b51c]
and edx, 0x10
jne 0x40377c
mov eax, dword [0x47b51c]
or eax, 0x10
mov dword [0x47b51c], eax
mov ecx, 0x47b508
call fcn.00408d60
push 0x461510
call fcn.00442b6a
add esp, 4
push 0x47b508
mov ecx, dword [ebp + 8]
call fcn.00408d80
mov ecx, dword [ebp - 0x38]
or ecx, 1
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0xc