Function at 0x482d90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x513380
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0xb0]
mov esi, ecx
add eax, dword [edi + 0xb4]
mov ecx, dword [edi + 0xb8]
add ecx, 4
cmp ecx, eax
ja case.default.0x482dee
push 4
lea edx, [esp + 0x1c]
push edx
mov ecx, edi
call fcn.00488750
mov eax, dword [esp + 0x18]
cmp eax, 3
ja case.default.0x482dee
jmp dword [eax*4 + 0x4836fc]
mov al, byte [esi + 0x188]
test al, al
je case.default.0x482dee
mov eax, dword [0x55b9cc]
mov ecx, dword [eax + 0xcb0]
mov al, byte [ecx + 0x188]
test al, al
mov dword [esp + 0x14], str.S
jne 0x482e28
mov dword [esp + 0x14], str._____C
lea edx, [esp + 0x20]
lea ebx, [edi + 0x80]
push edx
mov ecx, ebx
call fcn.0047fef0
mov eax, dword [eax]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x60], esp
push str.New_Connect_attempt_from__s
mov dword [esp + 0x80], 0
call fcn.00402110
mov edx, dword [0x55cd0c]
lea ecx, [esp + 0x24]
push ecx
push edx
call fcn.004a7680
add esp, 0x10
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
push eax
push str.NetHost::serviceInPacketSpecial
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x68], esp
push str._s__s_____s
mov byte [esp + 0x88], 1
call fcn.00402110
mov edx, dword [0x55cd0c]
mov eax, dword [edx + 0x87c]
push eax
call fcn.0041fe10
add esp, 0x14
lea ecx, [esp + 0x1c]
call fcn.00401d50
lea ecx, [esp + 0x20]
mov dword [esp + 0x74], 0xffffffff
call fcn.00401d50
sub esp, 0x10
mov ecx, ebx
mov eax, dword [ecx]
mov edx, esp
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov ecx, esi
call fcn.00481fa0
test eax, eax
je 0x482f89
lea edx, [esp + 0x28]
push edx
mov ecx, ebx
call fcn.0047fef0
mov eax, dword [eax]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x60], esp
push str._s_already_exists
mov dword [esp + 0x80], 2
call fcn.00402110
mov edx, dword [0x55cd0c]
lea ecx, [esp + 0x2c]
push ecx
push edx
call fcn.004a7680
add esp, 0x10
mov eax, dword [eax]
push eax
push str.NetHost::serviceInPacketSpecial
push ecx
mov ecx, esp
mov dword [esp + 0x64], esp
push str._s__:__s
mov byte [esp + 0x84], 3
call fcn.00402110
mov ecx, dword [0x55cd0c]
mov edx, dword [ecx + 0x85c]
push edx
call fcn.00475320
add esp, 0x10
lea ecx, [esp + 0x24]
call fcn.00401d50
lea ecx, [esp + 0x28]
call fcn.00401d50
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, esi
call fcn.0042ae20
test al, al
je 0x48306d
lea eax, [esp + 0x30]
push eax
mov ecx, ebx
call fcn.0047fef0
mov ecx, dword [eax]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x60], esp
push str.Sending_FULL_to__s
mov dword [esp + 0x80], 4
call fcn.00402110
mov eax, dword [0x55cd0c]
lea edx, [esp + 0x34]
push edx
push eax
call fcn.004a7680
add esp, 0x10
mov ecx, dword [eax]
push ecx
push str.NetHost::serviceInPacketSpecial
push ecx
mov ecx, esp
mov dword [esp + 0x64], esp
push str._s__:__s
mov byte [esp + 0x84], 5
call fcn.00402110
mov edx, dword [0x55cd0c]
mov eax, dword [edx + 0x85c]
push eax
call fcn.00475320
add esp, 0x10
lea ecx, [esp + 0x2c]
call fcn.00401d50
lea ecx, [esp + 0x30]
mov dword [esp + 0x74], 0xffffffff
call fcn.00401d50
push ecx
mov ecx, esp
mov dword [esp + 0x5c], esp
push str.Server_is_full.
call fcn.00402110
mov edx, dword [ebx]
mov eax, dword [ebx + 4]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [ebx + 8]
mov dword [ecx + 4], eax
mov eax, dword [ebx + 0xc]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov ecx, esi
call fcn.00482150
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x5245f0
lea ecx, [esp + 0x10]
call fcn.00402110
push 0x20
lea ecx, [esp + 0x10]
push ecx
mov ecx, edi
mov dword [esp + 0x7c], 6
call fcn.004892c0
lea edx, [esi + 0x250]
push edx
lea eax, [esp + 0x10]
push eax
call fcn.00482050
add esp, 8
test al, al
push ecx
mov dword [esp + 0x5c], esp
mov ecx, esp
je 0x4830f9
push str.Incompatible_game.
call fcn.00402110
mov edx, dword [ebx]
mov eax, dword [ebx + 4]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [ebx + 8]
mov dword [ecx + 4], eax
mov eax, dword [ebx + 0xc]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov ecx, esi
call fcn.00482150
lea ecx, [esp + 0xc]
call fcn.00401d50
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push str.3.20
call fcn.00402110
mov ecx, dword [0x55cd0c]
call fcn.004a7620
fstp qword [esp + 0x58]
lea ecx, [esp + 0x60]
push ecx
mov ecx, edi
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
call fcn.00488eb0
fld qword [esp + 0x60]
fadd qword [0x527238]
fcomp qword [esp + 0x58]
fnstsw ax
test ah, 5
jp 0x483197
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
push ecx
mov dword [esp + 0x5c], esp
mov edi, esp
push edx
push eax
push str.3.20
push ecx
mov ecx, esp
mov dword [esp + 0x6c], esp
push str.You_need_at_least_version__s_of_the_game__you_have__.2lf_.
call fcn.00402110
mov ecx, dword [0x55cd0c]
push edi
push ecx
call fcn.004a7680
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
add esp, 8
mov edx, esp
mov dword [edx], eax
mov eax, dword [ebx + 8]
mov dword [edx + 4], ecx
mov ecx, dword [ebx + 0xc]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
jmp 0x4830d5
push 0x5245f0
lea ecx, [esp + 0x14]
call fcn.00402110
push 0x10
lea edx, [esp + 0x14]
push edx
mov ecx, edi
mov byte [esp + 0x7c], 7
call fcn.004892c0
mov eax, dword [0x55b9cc]
mov ecx, dword [eax + 0xcb0]
mov al, byte [ecx + 0x188]
test al, al
mov ebx, str.S
jne 0x4831d7
mov ebx, str._____C
push ecx
mov ecx, esp
mov dword [esp + 0x5c], esp
push str.Accepting_connection...
call fcn.00402110
mov eax, dword [0x55cd0c]
lea edx, [esp + 0x38]
push edx
push eax
call fcn.004a7680
add esp, 0xc
mov ecx, dword [eax]
push ecx
push str.NetHost::serviceInPacketSpecial
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x68], esp
push str._s__s_____s
mov byte [esp + 0x88], 8
call fcn.00402110
mov edx, dword [0x55cd0c]
mov eax, dword [edx + 0x87c]
push eax
call fcn.0041fe10
add esp, 0x14
lea ecx, [esp + 0x34]
mov byte [esp + 0x74], 7
call fcn.00401d50
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x5c], esp
push edx
call fcn.00401da0
push edi
mov ecx, esi
call fcn.004829e0
mov edi, eax
push edi
mov ecx, esi
call fcn.00481ca0
mov eax, dword [0x55b9cc]
mov ecx, dword [eax + 0xcb0]
mov al, byte [ecx + 0x188]
test al, al
mov ebx, str.S
jne 0x483282
mov ebx, str._____C
push ecx
mov ecx, esp
mov dword [esp + 0x5c], esp
push str.Done.
call fcn.00402110
mov eax, dword [0x55cd0c]
lea edx, [esp + 0x3c]
push edx
push eax
call fcn.004a7680
add esp, 0xc
mov ecx, dword [eax]
push ecx
push str.NetHost::serviceInPacketSpecial
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x68], esp
push str._s__s_____s
mov byte [esp + 0x88], 9
call fcn.00402110
mov edx, dword [0x55cd0c]
mov eax, dword [edx + 0x87c]
push eax
call fcn.0041fe10
add esp, 0x14
lea ecx, [esp + 0x38]
mov byte [esp + 0x74], 7
call fcn.00401d50
mov edx, dword [esi]
push edi
mov ecx, esi
call dword [edx + 0x2c]
lea ecx, [esp + 0x10]
call fcn.00401d50
jmp 0x4830dc
mov al, byte [esi + 0x188]
test al, al
jne case.default.0x482dee
lea eax, [esp + 0x40]
lea ebx, [edi + 0x80]
push eax
mov ecx, ebx
call fcn.0047fef0
mov ecx, dword [eax]
push ecx
push str.CLIENT
push ecx
mov ecx, esp
mov dword [esp + 0x64], esp
push str._s:_Connection_acccepted_by__s
mov dword [esp + 0x84], 0xa
call fcn.00402110
mov eax, dword [0x55cd0c]
lea edx, [esp + 0x48]
push edx
push eax
call fcn.004a7680
add esp, 0x14
mov ecx, dword [eax]
push ecx
push str.NetHost::serviceInPacketSpecial
push ecx
mov ecx, esp
mov dword [esp + 0x64], esp
push str._s__:__s
mov byte [esp + 0x84], 0xb
call fcn.00402110
mov edx, dword [0x55cd0c]
mov eax, dword [edx + 0x85c]
push eax
call fcn.00475320
add esp, 0x10
lea ecx, [esp + 0x3c]
call fcn.00401d50
lea ecx, [esp + 0x40]
mov dword [esp + 0x74], 0xffffffff
call fcn.00401d50
mov ecx, esi
call fcn.0042ae20
test al, al
jne case.default.0x482dee
sub esp, 0x10
mov ecx, ebx
mov eax, dword [ecx]
mov edx, esp
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov ecx, esi
call fcn.00481fa0
test eax, eax
je 0x48346a
lea edx, [esp + 0x48]
push edx
mov ecx, ebx
call fcn.0047fef0
mov eax, dword [eax]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x60], esp
push str._s_already_exists
mov dword [esp + 0x80], 0xc
call fcn.00402110
mov edx, dword [0x55cd0c]
lea ecx, [esp + 0x4c]
push ecx
push edx
call fcn.004a7680
add esp, 0x10
mov eax, dword [eax]
push eax
push str.NetHost::serviceInPacketSpecial
push ecx
mov ecx, esp
mov dword [esp + 0x64], esp
push str._s__:__s
mov byte [esp + 0x84], 0xd
call fcn.00402110
mov ecx, dword [0x55cd0c]
mov edx, dword [ecx + 0x85c]
push edx
call fcn.00475320
add esp, 0x10
lea ecx, [esp + 0x44]
call fcn.00401d50
lea ecx, [esp + 0x48]
jmp 0x4830e0
push 0x5245f0
lea ecx, [esp + 0x10]
call fcn.00402110
push 0x20
lea eax, [esp + 0x10]
push eax
mov ecx, edi
mov dword [esp + 0x7c], 0xe
call fcn.004892c0
lea ecx, [esi + 0x250]
push ecx
lea edx, [esp + 0x10]
push edx
call fcn.00482050
add esp, 8
test al, al
push ecx
mov dword [esp + 0x5c], esp
mov ecx, esp
je 0x4834d7
push str.Incompatible_game.
call fcn.00402110
mov ecx, dword [ebx]
mov edx, dword [ebx + 4]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebx + 8]
mov dword [eax + 4], edx
mov edx, dword [ebx + 0xc]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
jmp 0x4830d5
push str.3.20
call fcn.00402110
mov ecx, dword [0x55cd0c]
call fcn.004a7620
fstp qword [esp + 0x58]
lea eax, [esp + 0x60]
push eax
mov ecx, edi
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
call fcn.00488eb0
fld qword [esp + 0x60]
fadd qword [0x527238]
push ecx
fcomp qword [esp + 0x5c]
mov dword [esp + 0x5c], esp
fnstsw ax
test ah, 5
jp 0x483563
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x64]
mov edi, esp
push ecx
push edx
push str.3.20
push ecx
mov ecx, esp
mov dword [esp + 0x6c], esp
push str.Server_must_be_at_least_version__s_of_the_game__its__.2lf_.
call fcn.00402110
mov eax, dword [0x55cd0c]
push edi
push eax
call fcn.004a7680
mov edx, dword [esi]
add esp, 0x18
mov ecx, esi
call dword [edx + 0x38]
jmp 0x4830dc
mov ecx, esp
push str.ServerPlayer
call fcn.00402110
push edi
mov ecx, esi
call fcn.004829e0
mov ebx, eax
push 4
lea eax, [ebx + 0x78]
push eax
mov ecx, edi
call fcn.00488750
push 4
lea ecx, [esi + 0x80]
push ecx
mov ecx, edi
call fcn.00488750
mov edx, dword [esi]
push ebx
mov ecx, esi
call dword [edx + 0x2c]
jmp 0x4830dc
call fcn.004fd868
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
push 0xffffffffffffffff
lea eax, [esp + 0x14]
push eax
mov ecx, edi
mov dword [esp + 0x7c], 0xf
call fcn.004892c0
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x5c], esp
push edx
call fcn.00401da0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x38]
lea ecx, [esp + 0x10]
jmp 0x4830e0
mov al, byte [esi + 0x188]
test al, al
mov dword [esp + 0x14], str.SERVER
jne 0x483607
mov dword [esp + 0x14], str.CLIENT
lea ecx, [esp + 0x50]
lea ebx, [edi + 0x80]
push ecx
mov ecx, ebx
call fcn.0047fef0
mov edx, dword [eax]
mov eax, dword [esp + 0x14]
push edx
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x64], esp
push str._s:_New_DISCONNECT_notify_from__s
mov dword [esp + 0x84], 0x10
call fcn.00402110
mov edx, dword [0x55cd0c]
lea ecx, [esp + 0x58]
push ecx
push edx
call fcn.004a7680
add esp, 0x14
mov eax, dword [eax]
push eax
push str.NetHost::serviceInPacketSpecial
push ecx
mov ecx, esp
mov dword [esp + 0x64], esp
push str._s__:__s
mov byte [esp + 0x84], 0x11
call fcn.00402110
mov ecx, dword [0x55cd0c]
mov edx, dword [ecx + 0x85c]
push edx
call fcn.00475320
add esp, 0x10
lea ecx, [esp + 0x4c]
call fcn.00401d50
lea ecx, [esp + 0x50]
mov dword [esp + 0x74], 0xffffffff
call fcn.00401d50
mov ecx, dword [edi + 0xb4]
mov eax, dword [edi + 0xb0]
add eax, ecx
mov ecx, dword [edi + 0xb8]
add ecx, 4
cmp ecx, eax
ja case.default.0x482dee
push 4
lea edx, [esp + 0x58]
push edx
mov ecx, edi
call fcn.00488750
mov eax, dword [esp + 0x54]
push ebx
push eax
mov ecx, esi
call fcn.00481f50
test eax, eax
je case.default.0x482dee
push 0
push eax
mov ecx, esi
call fcn.00481ed0
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4