Function at 0x498bd0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52a047
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x58b18c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x50], edi
xor eax, eax
mov dword [ebp - 0x48], eax
mov edx, dword [edi + 4]
mov esi, dword [edi]
sub edx, esi
mov dword [ebp - 0x4c], eax
mov eax, 0x2aaaaaab
imul edx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
jb 0x498d62
mov edi, dword [esi + 0x14]
mov ecx, esi
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x48], eax
cmp edi, 0x10
jb 0x498c3a
mov ecx, dword [esi]
push 5
push str._list
push eax
push ecx
call fcn.0041ae20
add esp, 0x10
test al, al
jne 0x498d15
mov eax, esi
cmp edi, 0x10
jb 0x498c5c
mov eax, dword [esi]
push 4
push str.list
push dword [ebp - 0x48]
push eax
call fcn.0041ae20
add esp, 0x10
test al, al
jne 0x498d15
mov eax, esi
cmp edi, 0x10
jb 0x498c80
mov eax, dword [esi]
push 1
push 0x56ae24
push dword [ebp - 0x48]
push eax
call fcn.0041ae20
add esp, 0x10
test al, al
jne 0x498d15
mov eax, esi
cmp edi, 0x10
jb 0x498ca0
mov eax, dword [esi]
push 5
push str._help
push dword [ebp - 0x48]
push eax
call fcn.0041ae20
add esp, 0x10
test al, al
jne 0x498d15
mov eax, esi
cmp edi, 0x10
jb 0x498cc0
mov eax, dword [esi]
push 4
push str.help
push dword [ebp - 0x48]
push eax
call fcn.0041ae20
add esp, 0x10
test al, al
jne 0x498d15
mov eax, esi
cmp edi, 0x10
jb 0x498ce0
mov eax, dword [esi]
push 2
push 0x56465c
push dword [ebp - 0x48]
push eax
call fcn.0041ae20
add esp, 0x10
test al, al
jne 0x498d15
cmp edi, 0x10
jb 0x498cfe
mov esi, dword [esi]
push 1
push 0x564658
push dword [ebp - 0x48]
push esi
call fcn.0041ae20
add esp, 0x10
test al, al
je 0x498d5f
push 1
mov dword [ebp - 4], 0
call fcn.004f4d9d
add esp, 4
mov dword [ebp - 0x54], eax
mov edi, dword [ebp - 0x50]
mov eax, 1
mov dword [ebp - 4], 1
mov edx, str.user
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x58]
mov ecx, dword [edi]
add ecx, 0x18
push eax
push ecx
call fcn.004dd3d0
add esp, 8
test al, al
je 0x498d62
mov byte [ebp - 0x41], 1
jmp 0x498d66
mov edi, dword [ebp - 0x50]
mov byte [ebp - 0x41], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x4c]
test al, 1
je 0x498d96
mov ecx, dword [ebp - 0x54]
and eax, 0xfffffffe
mov dword [ebp - 0x4c], eax
test ecx, ecx
je 0x498d96
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x498d96
mov ecx, dword [eax]
push 1
mov edx, dword [ecx]
mov ecx, eax
call edx
cmp byte [ebp - 0x41], 0
je 0x498e41
push 0x1ca6
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
push str._n_5You_can_use_the_following_user_commands:_n_1_cls_3___clears_the_screen._n_1_colors_5___change_colors_of_various_displayed_table_entries_and_game_information._n_1_c__IP:PORT__5___launches_your_Call_of_Duty_game_and_connect_to_currently_configured_game_server__n_or_optionally_specified_game_server_address_1_IP:PORT_5._n_1_cp__IP:PORT__5___launches_your_Call_of_Duty_game_and_connect_to_currently_configured_game_server__n_or_optionally_specified_game_server_address_1_IP:PORT__5using_a_private_slot._n_1_warn_player_pid_optional_reason_3___warns_the_player_whose_pid_number_is_equal_to_specified_player_pid._n__A_player_whos_been_warned_2_times_gets_automatically_kicked_off_the_server._n_1_w_player_pid_optional_reason_5___warns_the_player_whose_pid_number_is_equal_to_specified_player_pid._n__A_player_whos_been_warned_2_times_gets_automatically_kicked_off_the_server._n_1_kick_player_pid_optional_reason_3___kicks_the_player_whose_pid_number_is_equal_to_specified_player_pid._n_1_k_player_pid_optional_reason_5___kicks_the_player_whose_pid_number_is_equal_to_specified_player_pid._n_1_tempban_player_pid_time_duration_reason_3___temporarily_bans__for_time_duration_hours__default_24_hours__IP_address__n____of_player_whose_pid__112._n_1_tb_player_pid_time_duration_reason_5___temporarily_bans__for_time_duration_hours__default_24_hours__IP_address__n____of_player_whose_pid__112._n_1_ban_player_pid_optional_reason_3___bans_the_player_whose_pid_number_is_equal_to_specified_player_pid._n_1_b_player_pid_optional_reason_5___bans_the_player_whose_pid_number_is_equal_to_specified_player_pid._n_1_gb_player_pid_optional_reason_3___permanently_bans_players_IP_address_whose_pid_number_is_equal_to_specified_player_pid._n_1_globalban_player_pid_optional_reason_5___permanently_bans_players_IP_address_whose_pid_number_is_equal_to_specified_player_pid._n_1_status_3___retrieves_current_game_state__players_data__from_the_server__pid__score__ping__name__guid__ip__qport__rate_n_1_s_5___retrieves_current_game_state__players_data__from_the_server__pid__score__ping__name__guid__ip__qport__rate_n_1_t_1public_message_5___2___5sends_1public_message_5to_all_logged_in_1admins._n_1_y_3username_1private_message_2___5sends_1private_message_5to_1admin_5whose_username_is_1username._n_1_sort_player_data_ascdesc_3____sorts_players_data__for_example:__sort_pid_asc___sort_pid_desc___sort_score_asc__n____sort_score_desc___sort_ping_asc___sort_ping_desc___sort_name_asc___sort_name_desc___sort_ip_asc___sort_ip_desc__n____sort_geo_asc___sort_geo_desc_n_1_list_userrcon_5___shows_a_list_of_available_user_or_rcon_level_commands_that_are_available_for_admin_to_type_n____________________into_the_console_program._n_1_ranges_5___displays_data_about_all_1IP_address_range_bans._n_1_bans_3___displays_a_list_of_permanently_banned_IP_addresses._n_1_tempbans_5___displays_a_list_of_temporarily_banned_IP_addresses._n_1_banip_pidvalid_ip_address_optional_reason_3___bans_player_whose_pid_number_or_ip_address_is_equal_to_specified_pid__n____or_valid_ip_address__respectively._n_1_addip_pidvalid_ip_address_optional_reason_5___bans_player_whose_pid_number_or_ip_address_is_equal_to_specified_pid__n____or_valid_ip_address__respectively._n_1_ub_valid_ip_address_optional_reason_3___removes_temporarily_andor_permanently_banned_IP_address_valid_ip_address._n_1_unban_valid_ip_address_optional_reason_5___removes_temporarily_andor_permanently_banned_IP_address_valid_ip_address._n_1_m_map_name_game_type_3___loads_map_map_name_in_specified_game_mode_game_type__example:__m_mp_toujane_hq_n_1_map_map_name_game_type_5___loads_map_map_name_in_specified_game_mode_game_type__example:__map_mp_burgundy_ctf_n_1_maps_5___displays_all_available_playable_maps_n_1_rt_time_period_3___sets_time_period__automatic_checking_for_banned_players__to_time_period__5_30_seconds_.__n_1_config_rcon_abc123_5___changes_currently_used_1rcon_password_5to_1abc123_n_1_config_private_abc123_5___changes_current
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
call fcn.004185e0
push 1
push ecx
mov dword [ebp - 4], 2
lea edx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
push 1
cmovae edx, dword [ebp - 0x28]
push 1
push ecx
mov ecx, dword [0x598c18]
call fcn.004b4380
add esp, 0x14
mov edx, 0x56cad8
push 1
push ecx
push 0
push 1
push ecx
mov ecx, dword [0x598c18]
call fcn.004b4380
mov ecx, dword [ebp - 0x14]
add esp, 0x14
cmp ecx, 0x10
jb 0x4990e0
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x499068
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4990fb
jmp 0x499068
mov ecx, dword [edi + 4]
mov eax, 0x2aaaaaab
mov esi, dword [edi]
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
jb 0x498f98
mov edi, dword [esi + 0x14]
mov ecx, esi
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x48], eax
cmp edi, 0x10
jb 0x498e74
mov ecx, dword [esi]
push 5
push str._list
push eax
push ecx
call fcn.0041ae20
add esp, 0x10
test al, al
jne 0x498f4f
mov eax, esi
cmp edi, 0x10
jb 0x498e96
mov eax, dword [esi]
push 4
push str.list
push dword [ebp - 0x48]
push eax
call fcn.0041ae20
add esp, 0x10
test al, al
jne 0x498f4f
mov eax, esi
cmp edi, 0x10
jb 0x498eba
mov eax, dword [esi]
push 1
push 0x56ae24
push dword [ebp - 0x48]
push eax
call fcn.0041ae20
add esp, 0x10
test al, al
jne 0x498f4f
mov eax, esi
cmp edi, 0x10
jb 0x498eda
mov eax, dword [esi]
push 5
push str._help
push dword [ebp - 0x48]
push eax
call fcn.0041ae20
add esp, 0x10
test al, al
jne 0x498f4f
mov eax, esi
cmp edi, 0x10
jb 0x498efa
mov eax, dword [esi]
push 4
push str.help
push dword [ebp - 0x48]
push eax
call fcn.0041ae20
add esp, 0x10
test al, al
jne 0x498f4f
mov eax, esi
cmp edi, 0x10
jb 0x498f1a
mov eax, dword [esi]
push 2
push 0x56465c
push dword [ebp - 0x48]
push eax
call fcn.0041ae20
add esp, 0x10
test al, al
jne 0x498f4f
cmp edi, 0x10
jb 0x498f38
mov esi, dword [esi]
push 1
push 0x564658
push dword [ebp - 0x48]
push esi
call fcn.0041ae20
add esp, 0x10
test al, al
je 0x498f98
push 1
mov dword [ebp - 4], 3
call fcn.004f4d9d
add esp, 4
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x50]
mov edx, str.rcon
mov dword [ebp - 4], 4
mov eax, dword [ebp - 0x4c]
or eax, 2
mov ecx, dword [ecx]
mov dword [ebp - 0x4c], eax
add ecx, 0x18
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x58]
push eax
push ecx
call fcn.004dd3d0
add esp, 8
mov byte [ebp - 0x41], 1
test al, al
jne 0x498f9c
mov byte [ebp - 0x41], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x4c]
test al, 2
je 0x498fc6
mov ecx, dword [ebp - 0x54]
test ecx, ecx
je 0x498fc6
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x498fc6
mov ecx, dword [eax]
push 1
mov edx, dword [ecx]
mov ecx, eax
call edx
cmp byte [ebp - 0x41], 0
je 0x499074
push 0x784
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
push str._n_5You_can_use_the_following_rcon_commands:_n_1status_3___Retrieves_current_game_state__players_data__from_the_server__pid__score__ping___n_______________name__guid__ip__qport__rate_n_1clientkick_player_pid_optional_reason_5___Kicks_player_whose_pid_number_is_equal_to_specified_player_pid._n_1kick_name_optional_reason_3___Kicks_player_whose_name_is_equal_to_specified_name._n_1onlykick_name_no_color_codes_optional_reason_5___Kicks_player_whose_name_is_equal_to_specified_name_no_color_codes._n_1banclient_player_pid_optional_reason_3___Bans_player_whose_pid_number_is_equal_to_specified_player_pid._n_1banuser_name_optional_reason_5___Bans_player_whose_name_is_equal_to_specified_name._n_1tempbanclient_player_pid_optional_reason_3___Temporarily_bans_player_whose_pid_number_is_equal_to_specified_player_pid._n_1tempbanuser_name_optional_reason_5___Temporarily_bans_player_whose_name_is_equal_to_specified_name._n_1serverinfo_3___Retrieves_currently_active_server_settings._n_1map_rotate_5___Loads_next_map_on_the_server._n_1map_restart_3___Reloads_currently_played_map_on_the_server._n_1map_map_name_5___Immediately_loads_map_map_name_on_the_server._n_1fast_restart_3___Quickly_restarts_currently_played_map_on_the_server._n_1getinfo_5___Retrieves_basic_server_information_from_the_server._n_1mapname_5___Retrieves_and_displays_currently_played_maps_rcon_name_on_the_console._n_1g_gametype_3___Retrieves_and_displays_currently_played_matchs_gametype_on_the_console._n_1sv_maprotation_5___Retrieves_and_displays_servers_original_map_rotation_setting._n_1sv_maprotationcurrent_3___Retrieves_and_displays_servers_current_map_rotation_setting._n_1say__public_message__5___Displays__public_message__to_all_players_on_the_server.__n_____________________________The_sent_message_is_seen_by_all_players._n_1tell_player_pid__private_message__3___Sends__private_message__to_player_whose_pid__player_pid_n
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x40], xmm0
call fcn.004185e0
push 1
push ecx
mov dword [ebp - 4], 5
lea edx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 0x10
push 1
cmovae edx, dword [ebp - 0x40]
push 1
push ecx
mov ecx, dword [0x598c18]
call fcn.004b4380
add esp, 0x14
mov edx, 0x56cad8
push 1
push ecx
push 0
push 1
push ecx
mov ecx, dword [0x598c18]
call fcn.004b4380
mov ecx, dword [ebp - 0x2c]
add esp, 0x14
cmp ecx, 0x10
jb 0x4990e0
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x499068
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x499100
push ecx
push edx
call fcn.004f79ae
add esp, 8
jmp 0x4990e0
push 1
push ecx
push 0
push 1
push ecx
mov ecx, dword [0x598c18]
mov edx, 0x56d270
call fcn.004b4380
add esp, 0x14
mov edx, str.Type_2_list_rcon5_in_the_console_to_get_more_information_about_the_available_rcon_commands_nthat_you_can_run_in_the_console_window._n
push 1
push ecx
push 1
push 1
push ecx
mov ecx, dword [0x598c18]
call fcn.004b4380
add esp, 0x14
mov edx, str.Type_2_list_user5_in_the_console_to_get_more_information_about_the_available_user_commands_nthat_you_can_run_in_the_console_window._n
push 1
push ecx
push 1
push 1
push ecx
mov ecx, dword [0x598c18]
call fcn.004b4380
add esp, 0x14
mov edx, 0x56d3e0
push 1
push ecx
push 0
push 1
push ecx
mov ecx, dword [0x598c18]
call fcn.004b4380
add esp, 0x14
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.004f7466
mov esp, ebp
pop ebp
ret
call fcn.005094c8
call fcn.005094c8
int3