Function at 0x100049c0
Capabilities:
Check http status code
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004abd8
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x1007100c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
call fcn.10003b00
mov esi, dword [sym.imp.VCRUNTIME140.dll___std_type_info_hash]
mov edi, eax
push 0x10072f28
call esi
add esp, 4
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x58]
mov ecx, edi
push eax
call fcn.10003ce0
test eax, eax
je 0x10004a2a
lea eax, [ebp - 0x58]
mov ecx, edi
push eax
call fcn.10003e90
mov ebx, dword [eax]
jmp 0x10004a2c
xor ebx, ebx
call fcn.10003b00
push 0x10073094
mov edi, eax
call esi
add esp, 4
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x5c]
mov ecx, edi
push eax
call fcn.10003ce0
test eax, eax
je 0x10004a5e
lea eax, [ebp - 0x5c]
mov ecx, edi
push eax
call fcn.10003e90
mov edi, dword [eax]
jmp 0x10004a60
xor edi, edi
mov dword [ebp - 0x64], edi
call fcn.10003b00
push 0x1007307c
mov dword [ebp - 0x54], eax
call esi
mov esi, dword [ebp - 0x54]
add esp, 4
mov dword [ebp - 0x60], eax
mov ecx, esi
lea eax, [ebp - 0x60]
push eax
call fcn.10003ce0
test eax, eax
je 0x10004a99
lea eax, [ebp - 0x60]
mov ecx, esi
push eax
call fcn.10003e90
mov esi, dword [eax]
jmp 0x10004a9b
xor esi, esi
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
cmp byte [eax], 0x2f
jne 0x1000537d
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x54], esp
push 1
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push 0x100572e8
mov byte [ecx], 0
call fcn.10003980
mov byte [ebp - 4], 1
sub esp, 0x18
lea eax, [ebp + 8]
mov dword [ebp - 0x44], esp
mov ecx, esp
push eax
call fcn.100058c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x50]
mov eax, dword [ebx]
push ecx
mov byte [ebp - 4], 0
mov ecx, ebx
call dword [eax + 0x14]
mov byte [ebp - 4], 3
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x50]
push 0xffffffffffffffff
push 1
push eax
call fcn.10005820
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
push 0x100572ec
call fcn.100064e0
test al, al
je 0x10004cd7
mov ecx, dword [ebp - 0x4c]
mov eax, 0x2aaaaaab
mov ebx, dword [ebp - 0x50]
sub ecx, ebx
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jbe 0x10004ccd
lea eax, [ebx + 0x18]
push eax
lea ecx, [ebp - 0x40]
call fcn.100058c0
mov byte [ebp - 4], 5
lea eax, [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push str.time
lea ecx, [ebp - 0x40]
mov byte [esi + 0x1c], 1
call fcn.100064e0
test al, al
je 0x10004bc1
mov ecx, dword [ebp - 0x4c]
mov eax, 0x2aaaaaab
mov ebx, dword [ebp - 0x50]
sub ecx, ebx
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
jbe 0x10004c73
cmp dword [ebx + 0x44], 0x10
lea eax, [ebx + 0x30]
jb 0x10004ba7
mov eax, dword [eax]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
imul ecx, eax, 0x927c0
mov eax, dword [0x10071060]
jmp 0x10004c71
push str.hideme
lea ecx, [ebp - 0x40]
call fcn.100064e0
test al, al
je 0x10004bdc
mov eax, dword [0x10071050]
jmp 0x10004c6a
push str.hideui
lea ecx, [ebp - 0x40]
call fcn.100064e0
test al, al
je 0x10004bf4
mov eax, dword [0x1007105c]
jmp 0x10004c6a
push str.hidefog
lea ecx, [ebp - 0x40]
call fcn.100064e0
test al, al
je 0x10004c0c
mov eax, dword [0x10071044]
jmp 0x10004c6a
push str.hideterrain
lea ecx, [ebp - 0x40]
call fcn.100064e0
test al, al
je 0x10004c24
mov eax, dword [0x1007104c]
jmp 0x10004c6a
push str.hidemodel
lea ecx, [ebp - 0x40]
call fcn.100064e0
test al, al
je 0x10004c3c
mov eax, dword [0x10071058]
jmp 0x10004c6a
push str.hidewater
lea ecx, [ebp - 0x40]
call fcn.100064e0
test al, al
je 0x10004c54
mov eax, dword [0x10071054]
jmp 0x10004c6a
push str.noparticle
lea ecx, [ebp - 0x40]
call fcn.100064e0
test al, al
je 0x10004c73
mov eax, dword [0x10071048]
xor ecx, ecx
cmp dword [eax], ecx
sete cl
mov dword [eax], ecx
lea eax, [esi + 4]
mov byte [esi + 0x1c], 0
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x10004cbb
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10004cb1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10004cb1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10049656
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov ebx, 1
jmp 0x100052a4
push str.help
lea ecx, [ebp - 0x28]
call fcn.100064e0
test al, al
je 0x10005043
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x44], esp
push 0x12
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push str.____set_time__num_
mov byte [ecx], 0
call fcn.10003980
mov byte [ebp - 4], 6
mov byte [ebp - 4], 4
call fcn.10004710
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x44], esp
push 0xe
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push str.____set_hideme
mov byte [ecx], 0
call fcn.10003980
mov byte [ebp - 4], 7
mov byte [ebp - 4], 4
call fcn.10004710
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x44], esp
push 0xe
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push str.____set_hideui
mov byte [ecx], 0
call fcn.10003980
mov byte [ebp - 4], 8
mov byte [ebp - 4], 4
call fcn.10004710
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x44], esp
push 0xf
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push str.____set_hidefog
mov byte [ecx], 0
call fcn.10003980
mov byte [ebp - 4], 9
mov byte [ebp - 4], 4
call fcn.10004710
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x44], esp
push 0x11
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push str.____set_hidewater
mov byte [ecx], 0
call fcn.10003980
mov byte [ebp - 4], 0xa
mov byte [ebp - 4], 4
call fcn.10004710
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x44], esp
push 0x11
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push str.____set_hidemodel
mov byte [ecx], 0
call fcn.10003980
mov byte [ebp - 4], 0xb
mov byte [ebp - 4], 4
call fcn.10004710
sub esp, 0x18
mov dword [ebp - 0x44], esp
mov ecx, esp
push 0x13
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push str.____set_hideterrain
mov byte [ecx], 0
call fcn.10003980
mov byte [ebp - 4], 0xc
mov byte [ebp - 4], 4
call fcn.10004710
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x44], esp
push 0x12
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push str.____set_noparticle
mov byte [ecx], 0
call fcn.10003980
mov byte [ebp - 4], 0xd
mov byte [ebp - 4], 4
call fcn.10004710
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x44], esp
push 0xb
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push str.____geonoff
mov byte [ecx], 0
call fcn.10003980
mov byte [ebp - 4], 0xe
mov byte [ebp - 4], 4
call fcn.10004710
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x44], esp
push 0xa
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push str.____geonon
mov byte [ecx], 0
call fcn.10003980
mov byte [ebp - 4], 0xf
mov byte [ebp - 4], 4
call fcn.10004710
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x44], esp
push 0xc
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push str.____absorbon
mov byte [ecx], 0
call fcn.10003980
mov byte [ebp - 4], 0x10
mov byte [ebp - 4], 4
call fcn.10004710
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x44], esp
push 0xd
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push str.____absorboff
mov byte [ecx], 0
call fcn.10003980
mov byte [ebp - 4], 0x11
mov byte [ebp - 4], 4
call fcn.10004710
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x44], esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
push 0x15
push str.____ignore_playername
call fcn.10003980
mov byte [ebp - 4], 0x12
mov byte [ebp - 4], 4
call fcn.10004710
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x44], esp
push 0x17
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push str.____unignore_playername
mov byte [ecx], 0
call fcn.10003980
mov byte [ebp - 4], 0x13
mov byte [ebp - 4], 4
call fcn.10004710
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x44], esp
push 0xb
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push str.____name_on
mov byte [ecx], 0
call fcn.10003980
mov byte [ebp - 4], 0x14
mov byte [ebp - 4], 4
call fcn.10004710
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x44], esp
push 0xc
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push str.____name_off
mov byte [ecx], 0
call fcn.10003980
mov byte [ebp - 4], 0x15
mov byte [ebp - 4], 4
call fcn.10004710
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x44], esp
push 0x3c
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push str.____lowgraphics______Type_it_again_to_turn_high_graphics_on.
mov byte [ecx], 0
call fcn.10003980
mov byte [ebp - 4], 0x16
mov byte [ebp - 4], 4
call fcn.10004710
jmp 0x100052a2
push str.coordinates
lea ecx, [ebp - 0x28]
call fcn.100064e0
test al, al
je 0x10005167
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x10005092
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10005088
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10005088
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10049656
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 0
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x10005123
mov edi, dword [ebp - 0x4c]
cmp esi, edi
je 0x100050c8
push ecx
mov ecx, esi
call fcn.10006460
add esi, 0x18
cmp esi, edi
jne 0x100050b6
mov esi, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x48]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x10005104
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10005104
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.10049656
add esp, 8
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x10005160
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10005156
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10005156
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10049656
add esp, 8
xor eax, eax
jmp 0x10005472
push str.geonoff
lea ecx, [ebp - 0x28]
call fcn.100064e0
test al, al
je 0x1000519d
push 0xffffffffffffffff
push 0xff00
push str.Geon_messages_have_been_turned_off.
mov eax, 0x6e72f0
call eax
add esp, 0xc
mov dword [0x10074ca8], 1
jmp 0x100052a2
push str.geonon
lea ecx, [ebp - 0x28]
call fcn.100064e0
test al, al
je 0x100051d3
push 0xffffffffffffffff
push 0xff00
push str.Geon_messages_have_been_turned_on.
mov eax, 0x6e72f0
mov dword [0x10074ca8], 0
call eax
add esp, 0xc
jmp 0x100052a2
push str.absorboff
lea ecx, [ebp - 0x28]
call fcn.100064e0
test al, al
je 0x10005209
push 0xffffffffffffffff
push 0xff00
push str.Absorb_messages_have_been_turned_off.
mov eax, 0x6e72f0
mov dword [0x10074ca4], 1
call eax
add esp, 0xc
jmp 0x100052a2
push 0x10057538
lea ecx, [ebp - 0x28]
call fcn.100064e0
test al, al
je 0x10005226
mov dword [0x9f3214], 1
jmp 0x100052a2
push str.absorbon
lea ecx, [ebp - 0x28]
call fcn.100064e0
test al, al
je 0x10005259
push 0xffffffffffffffff
push 0xff00
push str.Absorb_messages_have_been_turned_on.
mov eax, 0x6e72f0
mov dword [0x10074ca4], 0
call eax
add esp, 0xc
jmp 0x100052a2
push 0x10057570
lea ecx, [ebp - 0x28]
call fcn.100064e0
test al, al
je 0x1000528c
mov eax, 0x6b4fe0
call eax
mov eax, 0x6dae60
call eax
push 0
mov eax, 0x6ddb70
call eax
add esp, 4
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
mov eax, 0x6fff10
call eax
add esp, 4
xor ebx, ebx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x100052de
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100052d4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100052d4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10049656
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 0
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x10005428
mov eax, dword [ebp - 0x4c]
cmp esi, eax
je 0x1000531d
mov edi, eax
push ecx
mov ecx, esi
call fcn.10006460
add esi, 0x18
cmp esi, edi
jne 0x10005308
mov esi, dword [ebp - 0x50]
mov edi, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x48]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x10005359
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10005359
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.10049656
add esp, 8
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
jmp 0x10005428
cmp dword [edi + 8], 0
mov eax, dword [edi + 4]
je 0x100053ba
mov ecx, dword [eax]
lea edx, [ebp + 8]
lea ecx, [ecx + 8]
call fcn.100063d0
test al, al
je 0x10005426
lea eax, [ebp + 8]
push eax
lea ecx, [edi + 4]
call fcn.10005740
cmp dword [edi + 8], 0xc8
jb 0x10005426
lea ecx, [edi + 4]
call fcn.10005710
jmp 0x10005426
mov esi, dword [eax]
lea eax, [ebp + 8]
push eax
mov ebx, dword [esi + 4]
push ebx
push esi
call fcn.10006570
mov edx, eax
mov ecx, 0x7fffffe
mov eax, dword [edi + 8]
sub ecx, eax
cmp ecx, 1
jae 0x100053e6
push str.list_T__too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
inc eax
mov dword [edi + 8], eax
mov dword [esi + 4], edx
mov dword [ebx], edx
xor ebx, ebx
cmp dword [edi + 8], 0xc8
jb 0x10005428
mov eax, dword [edi + 4]
mov esi, dword [eax + 4]
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov dword [ecx], eax
mov ecx, dword [esi]
mov eax, dword [esi + 4]
push ecx
mov dword [ecx + 4], eax
lea ecx, [esi + 8]
dec dword [edi + 8]
call fcn.10006460
push 0x20
push esi
call fcn.10049656
add esp, 8
xor ebx, ebx
mov eax, dword [edi + 4]
mov eax, dword [eax]
mov dword [edi], eax
mov byte [edi + 0xc], 1
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x10005470
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10005466
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10005466
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10049656
add esp, 8
mov eax, ebx
mov byte [ebp + 8], 0
mov dword [ebp + 0x1c], 0xf
mov dword [ebp + 0x18], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100490d4
mov esp, ebp
pop ebp
ret 0x18