Function at 0x594580
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
push esi
push edi
push 0
call fcn.006d6ab0
add esp, 4
push eax
call fcn.006b7a50
add esp, 4
mov dword [ebp - 0x50], str.City
mov dword [ebp - 0x4c], 0x725e98
mov dword [ebp - 0x48], str.Dark
mov dword [ebp - 0x44], str.Prophecy
mov dword [ebp - 0x40], str.Sodium
mov dword [ebp - 0x3c], str.Shadow
mov dword [ebp - 0x38], str.Howling
mov dword [ebp - 0x34], str.Siren
mov dword [ebp - 0x90], str.Dipsy
mov dword [ebp - 0x8c], str.La_La
mov dword [ebp - 0x88], 0x725edc
mov dword [ebp - 0x84], str.Tinky_Winky
mov dword [ebp - 0x80], str.Eric
mov dword [ebp - 0x7c], str.George
mov dword [ebp - 0x78], str.Mike
mov dword [ebp - 0x74], str.Mark
mov dword [ebp - 0x70], 0x725f0c
mov dword [ebp - 0x6c], 0x725f10
mov dword [ebp - 0x68], str.Ollie
mov dword [ebp - 0x64], str.Simon
mov dword [ebp - 0x60], str.Samantha
mov dword [ebp - 0x5c], str.Biggus_Dickus
mov dword [ebp - 0x58], str.Sarah
mov dword [ebp - 0x54], str.Miranda
call fcn.006b7a10
and eax, 0x8000000f
jns 0x594663
dec eax
or eax, 0xfffffff0
inc eax
mov eax, dword [ebp + eax*4 - 0x90]
mov dword [ebp - 0x24], eax
mov byte [0x23f8878], 0
mov byte [0x23f8879], 0
mov byte [0x770d18], 1
mov byte [0x23f887a], 0
movzx ecx, byte [0x23f887b]
test ecx, ecx
jne 0x5947f4
mov edx, 1
shl edx, 0
movzx eax, byte [edx + 0xe5daa0]
test eax, eax
je 0x5946c1
mov ecx, 1
shl ecx, 0
mov byte [ecx + 0xe5daa0], 0
xor eax, eax
jmp 0x594bf9
call fcn.0049efb0
mov dword [ebp - 0x14], eax
call fcn.00404d80
call fcn.004196e0
test eax, eax
je 0x59474a
push str.Available_connections
push 0x1e
push 0x32
call fcn.00454570
add esp, 0xc
mov dword [ebp - 4], 0
jmp 0x5946fa
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x14]
jge 0x59473e
mov dword [ebp - 0xc], 0x32
imul ecx, dword [ebp - 4], 0xa
add ecx, 0x32
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
push edx
call fcn.0049efa0
add esp, 4
push eax
mov eax, dword [ebp - 4]
add eax, 1
push eax
push str._d_:__s
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.00454570
add esp, 0x14
jmp 0x5946f1
call fcn.0041ab60
call fcn.00418ca0
jmp 0x594751
xor eax, eax
jmp 0x594bf9
mov eax, 1
test eax, eax
je 0x5947f4
call fcn.0049b7c0
mov ecx, 1
shl ecx, 0
movzx edx, byte [ecx + 0xe5daa0]
test edx, edx
je 0x59478c
mov eax, 1
shl eax, 0
mov byte [eax + 0xe5daa0], 0
xor eax, eax
jmp 0x594bf9
mov dword [ebp - 4], 0
jmp 0x59479e
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x14]
jge 0x5947ef
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 0xe5daa2]
test ecx, ecx
je 0x5947ed
mov edx, dword [ebp - 4]
mov byte [edx + 0xe5daa2], 0
mov eax, dword [ebp - 4]
push eax
call fcn.0049ef80
add esp, 4
test eax, eax
je 0x5947db
mov byte [0x23f887b], 1
jmp 0x5947f4
push str.Failed_to_make_a_connection
call fcn.00594c00
add esp, 4
jmp 0x5946c1
jmp 0x594795
jmp 0x594751
mov ecx, 1
test ecx, ecx
je 0x594a29
call fcn.0049b7c0
mov edx, 1
shl edx, 0
movzx eax, byte [edx + 0xe5daa0]
test eax, eax
je 0x59482f
mov ecx, 1
shl ecx, 0
mov byte [ecx + 0xe5daa0], 0
xor eax, eax
jmp 0x594bf9
call fcn.0049f000
mov dword [ebp - 0x20], eax
call fcn.00404d80
call fcn.004196e0
test eax, eax
je 0x594913
push str.Choose_a_session_number
push 0x1e
push 0x32
call fcn.00454570
add esp, 0xc
cmp dword [ebp - 4], 0
jne 0x594871
push str.No_sessions_available
push 0x32
push 0x32
call fcn.00454570
add esp, 0xc
mov dword [ebp - 4], 0
jmp 0x594883
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x20]
jge 0x5948e3
mov dword [ebp - 0xc], 0x32
imul ecx, dword [ebp - 4], 0xa
add ecx, 0x32
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
push edx
lea eax, [ebp - 0x150]
push eax
call fcn.0049efe0
add esp, 8
mov ecx, 0x10
mov esi, eax
lea edi, [ebp - 0x110]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x110]
push ecx
mov edx, dword [ebp - 4]
add edx, 1
push edx
push str.Session__d_:__s
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00454570
add esp, 0x14
jmp 0x59487a
mov dword [ebp - 0xc], 0x32
mov edx, dword [ebp - 4]
add edx, 1
imul eax, edx, 0xa
add eax, 0x32
mov dword [ebp - 8], eax
push str.Press_H_to_host_a_new_game.
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.00454570
add esp, 0xc
call fcn.0041ab60
call fcn.00418ca0
mov eax, 1
imul ecx, eax, 0x23
movzx edx, byte [ecx + 0xe5daa0]
test edx, edx
je 0x5949c9
mov eax, 1
imul ecx, eax, 0x23
mov byte [ecx + 0xe5daa0], 0
call fcn.006b7a10
and eax, 0x80000007
jns 0x59494f
dec eax
or eax, 0xfffffff8
inc eax
mov dword [ebp - 0x1c], eax
call fcn.006b7a10
and eax, 0x80000007
jns 0x594963
dec eax
or eax, 0xfffffff8
inc eax
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
cmp edx, dword [ebp - 0x1c]
je 0x594952
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + eax*4 - 0x50]
push ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + edx*4 - 0x50]
push eax
push str._s__s
push 0x40
lea ecx, [ebp - 0xd0]
push ecx
call fcn.00594c70
add esp, 0x14
mov edx, dword [ebp - 0x24]
push edx
push 4
lea eax, [ebp - 0xd0]
push eax
call fcn.0049ef90
add esp, 0xc
test eax, eax
je 0x5949ba
mov byte [0x23f8879], 1
jmp 0x594a29
push str.Could_not_create_sessions
call fcn.00594c00
add esp, 4
jmp 0x594a24
mov dword [ebp - 4], 0
jmp 0x5949db
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x20]
jge 0x594a24
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 0xe5daa2]
test ecx, ecx
je 0x594a22
mov edx, dword [ebp - 4]
mov byte [edx + 0xe5daa2], 0
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.0049f020
add esp, 8
test eax, eax
je 0x594a15
jmp 0x594a29
push str.Could_not_join_session
call fcn.00594c00
add esp, 4
jmp 0x5949d2
jmp 0x5947f4
mov edx, 1
test edx, edx
je 0x594bf9
call fcn.0049b7c0
mov eax, 1
shl eax, 0
movzx ecx, byte [eax + 0xe5daa0]
test ecx, ecx
je 0x594a69
mov edx, 1
shl edx, 0
mov byte [edx + 0xe5daa0], 0
call fcn.0049f040
xor eax, eax
jmp 0x594bf9
call fcn.0049efc0
mov dword [ebp - 0x10], eax
call fcn.00404d80
call fcn.004196e0
test eax, eax
je 0x594b14
movzx eax, byte [0x23f8879]
test eax, eax
je 0x594aa8
lea ecx, [ebp - 0xd0]
push ecx
push str.Press_space_to_start_session:__s
push 0x1e
push 0x32
call fcn.00454570
add esp, 0x10
jmp 0x594ac0
lea edx, [ebp - 0xd0]
push edx
push str.Waiting_for_host_to_start_session:__s
push 0x1e
push 0x32
call fcn.00454570
add esp, 0x10
mov dword [ebp - 4], 0
jmp 0x594ad2
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jge 0x594b0f
mov dword [ebp - 0xc], 0x32
imul edx, dword [ebp - 4], 0xa
add edx, 0x32
mov dword [ebp - 8], edx
mov eax, dword [ebp - 4]
push eax
call fcn.0049efd0
add esp, 4
push eax
push 0x72606c
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.00454570
add esp, 0x10
jmp 0x594ac9
call fcn.0041ab60
call fcn.00418ca0
movzx eax, byte [0x23f8879]
test eax, eax
je 0x594b75
mov ecx, 1
imul edx, ecx, 0x39
movzx eax, byte [edx + 0xe5daa0]
test eax, eax
je 0x594b75
mov ecx, 1
imul edx, ecx, 0x39
mov byte [edx + 0xe5daa0], 0
call fcn.0049f080
mov byte [0x23f887a], al
movzx eax, byte [0x23f887a]
cmp eax, 0xff
je 0x594b75
mov byte [0x23f8878], 1
mov cl, byte [ebp - 0x10]
mov byte [0x770d18], cl
xor eax, eax
jmp 0x594bf9
push 0xc
push str.CNET_sizeof_NET_Message___d_n
call fcn.004017c0
add esp, 8
call fcn.0049f070
test eax, eax
je 0x594bf4
lea edx, [ebp - 0x30]
push edx
call fcn.0049f050
add esp, 4
movzx eax, byte [ebp - 0x30]
cmp eax, 0xfd
jne 0x594bf2
push str.NET_system_message_recieved_n
call fcn.004017c0
add esp, 4
movzx ecx, byte [ebp - 0x2c]
cmp ecx, 1
jne 0x594bd6
mov dl, byte [ebp - 0x2b]
mov byte [0x23f887a], dl
mov al, byte [ebp - 0x10]
mov byte [0x770d18], al
mov byte [0x23f8878], 1
xor eax, eax
jmp 0x594bf9
movzx ecx, byte [ebp - 0x2c]
cmp ecx, 2
je 0x594be8
movzx edx, byte [ebp - 0x2c]
cmp edx, 3
jne 0x594bf2
call fcn.0049f040
jmp 0x5947f4
jmp 0x594b84
jmp 0x594a29
pop edi
pop esi
mov esp, ebp
pop ebp
ret