Function at 0x458760
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x570930]
xor eax, dword [ebp + 4]
push ebx
push esi
push edi
push 0x21
push 0x56871c
push str.cl_xmodelcheck
mov dword [ebp - 8], eax
call fcn.00439350
mov eax, dword [eax + 0x20]
add esp, 0xc
push str.sv_running
mov dword [0x572d68], eax
call fcn.00439280
xor edi, edi
add esp, 4
cmp eax, edi
je 0x45885d
fld dword [eax + 0x1c]
fcomp dword [0x568e64]
fnstsw ax
test ah, 0x44
jnp 0x45885d
mov eax, dword [0x14073d0]
push 0x10
call fcn.00460480
mov ecx, dword [0x16bdb58]
mov edx, dword [ecx + 0x20]
mov dword [ebp - 0x14], eax
mov eax, dword [0x16b2aac]
add esp, 4
cmp edx, edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x10], eax
jle 0x458850
lea ebx, [eax + 0x528b8]
mov edi, edi
cmp dword [eax], 3
jl 0x45882e
mov edx, dword [0x16bdb78]
mov eax, dword [edx + 4]
mov ecx, dword [ebp + 8]
push eax
push ecx
push str.loadingnewmap_n_s_n_s
call fcn.0044ace0
add esp, 0xc
push eax
sub esp, 0x14
mov edi, esp
mov ecx, 5
mov esi, ebx
push 1
rep movsd dword es:[edi], dword [esi]
call fcn.00449490
mov eax, dword [ebp - 0x10]
add esp, 0x1c
xor edi, edi
mov ecx, dword [ebp - 0xc]
mov edx, dword [0x16bdb58]
mov esi, dword [edx + 0x20]
inc ecx
add eax, 0x5a8fc
add ebx, 0x5a8fc
cmp ecx, esi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], eax
jl 0x4587f0
push 0xfa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x458860
mov dword [ebp - 0x14], edi
call fcn.0040ee60
call fcn.00401a20
call fcn.00418e30
mov eax, dword [0x1432860]
cmp eax, edi
je 0x45887e
push edi
call eax
add esp, 4
mov dword [0x155f3d4], edi
mov dword [0x155f3cc], edi
call fcn.00457970
push str._______Server_Initialization________n
call fcn.004357b0
mov eax, dword [ebp + 8]
add esp, 4
push eax
push str.Server:__s_n
call fcn.004357b0
add esp, 8
call fcn.00401a20
call fcn.00418e30
call fcn.00457970
xor ebx, ebx
mov esi, 0x877728
cmp byte [esi], 0
je 0x4588cf
mov ecx, ebx
call fcn.00407600
add esi, 0x1d0
inc ebx
cmp esi, 0x879428
jl 0x4588c3
call fcn.00432090
call fcn.00460420
mov esi, 0x16519b8
lea ecx, [ecx]
mov eax, dword [esi]
cmp eax, edi
je 0x4588ff
push eax
call fcn.00526479
add esp, 4
add esi, 4
cmp esi, 0x16539b8
jl 0x4588f0
push 0x1853b
push edi
push 0x16515a0
mov dword [ebp - 0xc], 0x614ec
mov dword [ebp - 0x10], edi
call fcn.004324b0
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov eax, ecx
and ecx, 3
je 0x458957
and eax, 0xfffffffc
mov ebx, 0x16515a0
add ebx, eax
mov eax, dword [ebp - 0x10]
cmp ecx, 2
jl 0x458950
mov word [ebx], ax
cmp ecx, 2
je 0x458957
mov byte [ebx + 2], al
jmp 0x458957
cmp ecx, 0
je 0x458957
mov byte [ebx], al
mov edi, 1
push edi
call fcn.0042ccd0
mov eax, dword [0x1407420]
add esp, 4
test eax, eax
je 0x4589a2
mov edi, edi
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x45899c
mov byte [ecx + 0x312], 0
mov ecx, dword [eax + 4]
mov byte [ecx + 0x311], 0
mov edx, dword [eax + 4]
mov byte [edx + 0x310], 0
mov ecx, dword [eax + 4]
mov byte [ecx + 0x313], 0
mov eax, dword [eax]
test eax, eax
jne 0x458970
mov eax, dword [0x14073b8]
test eax, eax
mov esi, dword [sym.imp.WINMM.dll_timeGetTime]
jne 0x4589be
call esi
mov dword [0x16c35c0], eax
mov dword [0x14073b8], edi
call esi
sub eax, dword [0x16c35c0]
push eax
call fcn.00526324
mov eax, dword [0x14073b8]
add esp, 4
test eax, eax
jne 0x4589e5
call esi
mov dword [0x16c35c0], eax
mov dword [0x14073b8], edi
call esi
mov esi, dword [0x16c35c0]
mov ebx, eax
sub ebx, esi
call fcn.00526331
mov esi, eax
shl esi, 0x10
call fcn.00526331
xor esi, eax
xor esi, ebx
push esi
mov dword [0x16515ac], esi
call fcn.0042d2b0
mov eax, dword [0x1407428]
mov ecx, dword [0x1407420]
add esp, 4
cmp eax, ecx
je 0x458a33
call fcn.0042cb50
mov edx, dword [0x1407420]
mov dword [0x1407428], edx
mov eax, dword [0x140742c]
cmp eax, dword [0x1407424]
je 0x458a4f
call fcn.0042cbd0
mov eax, dword [0x1407424]
mov dword [0x140742c], eax
mov edi, 0x16519b8
mov eax, 0x559228
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x458a60
sub eax, edx
lea ebx, [eax + 1]
push ebx
call fcn.005268b7
mov esi, eax
add esp, 4
test esi, esi
je 0x458b3c
push ebx
push 0
push esi
call fcn.00432670
mov eax, 0x559228
mov edx, esi
add esp, 0xc
sub edx, eax
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x458a94
mov dword [edi], esi
add edi, 4
cmp edi, 0x16539b8
jl 0x458a54
mov eax, str.sv_running
call fcn.004391f0
mov eax, dword [eax*4 + 0x8ad048]
test eax, eax
mov dword [ebp - 0xc], eax
je 0x458b28
mov edx, dword [eax]
test edx, edx
je 0x458b82
mov ebx, str.sv_running
mov esi, 0x1869f
sub ebx, edx
lea esp, [esp]
movsx eax, byte [edx + ebx]
movsx ecx, byte [edx]
inc edx
mov edi, esi
dec esi
test edi, edi
je 0x458b15
cmp eax, ecx
je 0x458b11
cmp eax, 0x61
jl 0x458b00
cmp eax, 0x7a
jg 0x458b00
sub eax, 0x20
cmp ecx, 0x61
jl 0x458b0d
cmp ecx, 0x7a
jg 0x458b0d
sub ecx, 0x20
cmp eax, ecx
jne 0x458b6e
test eax, eax
jne 0x458ae0
mov eax, dword [ebp - 0xc]
fld dword [eax + 0x1c]
fcomp dword [0x568e64]
fnstsw ax
test ah, 0x44
jp 0x458ba4
call fcn.00438be0
call fcn.00458160
mov edi, 1
jmp 0x458cba
call fcn.00462b20
push 0x10
push str.WIN_OUT_OF_MEM_TITLE
call fcn.00462450
add esp, 4
push eax
push str.WIN_OUT_OF_MEM_BODY
call fcn.00462450
add esp, 4
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0xffffffffffffffff
call fcn.00527e27
xor edx, edx
cmp eax, ecx
setge dl
lea edx, [edx + edx - 1]
mov eax, edx
test eax, eax
je 0x458b15
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x28]
test eax, eax
mov dword [ebp - 0xc], eax
jne 0x458ac3
call fcn.00438be0
call fcn.00458160
mov edi, 1
jmp 0x458cba
push 0x40
push 0
push 0x894a48
mov dword [ebp - 0xc], 0x100
mov dword [ebp - 0x10], 0
call fcn.004324b0
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov eax, ecx
and ecx, 3
je 0x458bf3
and eax, 0xfffffffc
mov ebx, 0x894a48
add ebx, eax
mov eax, dword [ebp - 0x10]
cmp ecx, 2
jl 0x458bec
mov word [ebx], ax
cmp ecx, 2
je 0x458bf3
mov byte [ebx + 2], al
jmp 0x458bf3
cmp ecx, 0
je 0x458bf3
mov byte [ebx], al
push 0x220
push 0
push 0x8ac7c0
mov dword [ebp - 0xc], 0x880
mov dword [ebp - 0x10], 0
call fcn.004324b0
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov eax, ecx
and ecx, 3
je 0x458c45
and eax, 0xfffffffc
mov ebx, 0x8ac7c0
add ebx, eax
mov eax, dword [ebp - 0x10]
cmp ecx, 2
jl 0x458c3e
mov word [ebx], ax
cmp ecx, 2
je 0x458c45
mov byte [ebx + 2], al
jmp 0x458c45
cmp ecx, 0
je 0x458c45
mov byte [ebx], al
push 0x200
push 0
push 0x894248
mov dword [ebp - 0xc], 0x800
mov dword [ebp - 0x10], 0
call fcn.004324b0
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov eax, ecx
and ecx, 3
je 0x458c97
and eax, 0xfffffffc
mov ebx, 0x894248
add ebx, eax
mov eax, dword [ebp - 0x10]
cmp ecx, 2
jl 0x458c90
mov word [ebx], ax
cmp ecx, 2
je 0x458c97
mov byte [ebx + 2], al
jmp 0x458c97
cmp ecx, 0
je 0x458c97
mov byte [ebx], al
mov ecx, dword [0x16bdb58]
mov eax, dword [ecx + 0x14]
test eax, eax
mov edi, 1
mov dword [0x894240], edi
mov dword [0x1407400], edi
je 0x458cba
call fcn.00458220
mov ecx, dword [0x16b2ab0]
mov ebx, dword [ebp + 8]
imul ecx, ecx, 0xf0
mov eax, 0x20
xor esi, esi
call fcn.00432170
mov ecx, dword [0x16b2ab4]
imul ecx, ecx, 0x5c
mov dword [0x16b2ac0], eax
mov eax, 0x20
mov dword [0x16b2ab8], esi
call fcn.00432170
mov ecx, dword [0x16b2aa8]
mov dword [0x16b2ac4], eax
xor ecx, 4
push str.map_restart
push str.nextmap
mov eax, edi
mov dword [0x16b2abc], esi
mov dword [0x16b2ac8], esi
mov dword [0x16b2acc], esi
mov dword [0x16b2ad8], esi
mov dword [0x16b2adc], esi
mov dword [0x16b2ae0], esi
mov dword [0x16b2ae4], esi
mov dword [0x16b2aa8], ecx
call fcn.00439650
push ebx
push str.maps_mp__s.bsp
call fcn.0044ace0
push eax
call fcn.00458450
add esp, 4
push 0x56871c
push str.cl_paused
mov eax, edi
call fcn.00439650
add esp, 0x18
push esi
push ebx
push str.maps_mp__s.bsp
call fcn.0044ace0
add esp, 8
lea ecx, [ebp - 0x10]
mov edx, eax
call fcn.00419c90
add esp, 4
push ebx
push str.mapname
mov eax, edi
call fcn.00439650
mov dl, byte [0x14073dc]
add dl, 0x10
movzx eax, dl
add esp, 8
test al, 0xf0
mov dword [0x14073dc], eax
jne 0x458db3
add eax, 0x10
mov dword [0x14073dc], eax
push eax
push 0x5675c4
call fcn.0044ace0
push eax
push str.sv_serverid
mov eax, edi
call fcn.00439650
mov eax, dword [0x163b3f0]
mov dword [0x16515a8], eax
push 0x5685e4
push str.sv_serverRestarting
mov eax, edi
mov dword [0x16515a0], edi
call fcn.00439650
add esp, 0x18
push 2
push ebx
push str.maps_mp__s.bsp
call fcn.0044ace0
add esp, 8
push eax
call fcn.00433e90
add esp, 8
push 0x456800
mov ebx, str.game
mov dword [0xa9cc58], edi
call fcn.004602e0
add esp, 4
test eax, eax
mov dword [0x14073d0], eax
jne 0x458e37
push 0x55df9c
push eax
call fcn.00435ad0
add esp, 8
mov edx, dword [ebp - 0x14]
mov ecx, dword [0x8931c4]
push edx
xor ebx, ebx
push ebx
mov dword [0x8931bc], ecx
call fcn.00457a60
add esp, 8
mov esi, 3
jmp 0x458e60
add dword [0x16b2aa4], 0x64
mov eax, dword [0x14073d0]
push 9
call fcn.00460480
mov eax, dword [0x163a218]
add esp, 4
inc eax
mov dword [0x163a218], eax
jne 0x458e89
mov dword [0x163a218], edi
mov eax, dword [0x16b2aa4]
push eax
mov eax, dword [0x14073d0]
push 0xa
mov dword [0x14073d8], edi
call fcn.00460480
mov eax, dword [0x140741c]
add esp, 8
cmp eax, ebx
mov dword [0x14073d8], ebx
je 0x458ebf
mov ecx, dword [0x8931c4]
mov dword [0x8931c8], ecx
dec esi
jne 0x458e60
call fcn.00458060
mov edx, dword [0x16bdb58]
mov eax, dword [edx + 0x20]
xor ebx, ebx
test eax, eax
jle 0x458f3d
xor esi, esi
jmp 0x458ee0
mov eax, dword [0x16b2aac]
cmp dword [esi + eax], 2
jl 0x458f29
movzx eax, word [esi + eax + 0x5a8f0]
push eax
mov eax, dword [0x14073d0]
push ebx
push 2
call fcn.00460480
add esp, 0xc
test eax, eax
je 0x458f1d
mov ecx, dword [0x16b2aac]
push eax
lea edx, [esi + ecx]
push edx
call fcn.00453d80
add esp, 8
jmp 0x458f29
mov eax, dword [0x16b2aac]
mov dword [esi + eax], 2
mov ecx, dword [0x16bdb58]
mov eax, dword [ecx + 0x20]
inc ebx
add esi, 0x5a8fc
cmp ebx, eax
jl 0x458ee0
mov edx, dword [0x16b2a8c]
mov eax, dword [edx + 0x20]
test eax, eax
je 0x458f98
call fcn.0043bb80
mov esi, eax
push esi
push str.sv_paks
mov eax, edi
call fcn.00439650
mov eax, esi
add esp, 8
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x458f66
sub eax, edx
mov dword [ebp - 0x14], eax
jne 0x458f81
push str.WARNING:_sv_pure_set_but_no_PK3_files_loaded_n
call fcn.004357b0
add esp, 4
call fcn.0043bc20
push eax
push str.sv_pakNames
mov eax, edi
call fcn.00439650
add esp, 8
jmp 0x458fbd
push 0x559228
push str.sv_paks
mov eax, edi
call fcn.00439650
push 0x559228
push str.sv_pakNames
mov eax, edi
call fcn.00439650
add esp, 0x10
call fcn.0043bdc0
push eax
push str.sv_referencedPaks
mov eax, edi
call fcn.00439650
call fcn.0043be90
push eax
push str.sv_referencedPakNames
mov eax, edi
call fcn.00439650
mov esi, dword [0x163b404]
add esp, 0x10
test esi, esi
mov byte [0x8ad848], 0
je 0x459016
mov bl, 8
test byte [esi + 0x10], bl
je 0x45900f
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push eax
push 0x8ad848
call fcn.0044b300
add esp, 8
mov esi, dword [esi + 0x24]
test esi, esi
jne 0x458ff7
push 0x3ff
lea ecx, [ebp - 0x414]
push 0x8ad848
push ecx
call fcn.00525500
mov ebx, dword [0x163b40c]
add esp, 0xc
lea edx, [ebp - 0x414]
push edx
and ebx, 0xfffffff7
push edi
mov byte [ebp - 0x15], 0
mov dword [0x163b40c], ebx
call fcn.00457be0
mov esi, dword [0x163b404]
add esp, 8
test esi, esi
mov byte [0x8ad448], 0
je 0x459083
test byte [esi + 0x10], 4
je 0x45907c
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push eax
push 0x8ad448
call fcn.0044b150
add esp, 8
mov esi, dword [esi + 0x24]
test esi, esi
jne 0x459063
push 0x8ad448
push 0
call fcn.00457be0
mov ecx, dword [0x163b40c]
mov esi, dword [0x163b404]
and ecx, 0xfffffffb
add esp, 8
test esi, esi
mov dword [0x163b40c], ecx
je 0x4590d8
jmp 0x4590b0
mov eax, dword [esi + 0x10]
test ah, 8
je 0x4590d1
mov ecx, dword [esi + 4]
mov edx, dword [esi]
push ecx
push edx
push 0x8c
mov ebx, 0x40
call fcn.00457ef0
add esp, 0xc
mov esi, dword [esi + 0x24]
test esi, esi
jne 0x4590b0
and dword [0x163b40c], 0xfffff7ff
push 0x56871c
push str.sv_serverRestarting
mov eax, edi
mov dword [0x16515a0], 2
mov dword [0x16b2af4], 0xff676981
call fcn.00439650
add esp, 8
push str.____________________________________n
call fcn.004357b0
mov ecx, dword [ebp - 8]
xor ecx, dword [ebp + 4]
add esp, 4
call fcn.0052e7b9
pop edi
pop esi
pop ebx
pop ecx
pop ecx
mov esp, ebp
pop ebp
ret