Function at 0x4824e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x513270
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
lea edi, [esi + 0x80]
push edi
mov ebx, ecx
push eax
mov dword [esp + 0x28], ebx
call fcn.00481f50
test eax, eax
mov dword [esi + 0x7c], eax
je 0x482842
mov ecx, edi
call fcn.0047fd40
mov ecx, dword [esi + 0x7c]
add ecx, 0x7c
push eax
call fcn.0047fd10
mov ecx, esi
call fcn.004891e0
mov eax, dword [esi + 0x7c]
mov ecx, dword [esi + 0x98]
cmp ecx, dword [eax + 0x90]
jle 0x482842
add eax, 0x8c
push eax
mov ecx, esi
call fcn.00488a90
mov ecx, dword [esi + 0x7c]
call fcn.00486ee0
mov edx, dword [esi + 0xb0]
mov ecx, dword [esi + 0xb4]
mov eax, dword [esi + 0xb8]
add edx, ecx
cmp eax, edx
jae 0x482842
push 1
lea eax, [esp + 0x17]
push eax
mov ecx, esi
mov byte [esp + 0x1b], 0
call fcn.00488e20
movzx eax, byte [esp + 0x13]
xor edi, edi
sub eax, edi
je 0x48275b
dec eax
jne 0x482812
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
mov dword [esp + 0x18], edi
call fcn.00488a90
push 4
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
mov dword [esp + 0x20], edi
call fcn.00488750
mov eax, dword [esi + 0xb4]
mov ecx, dword [esi + 0xb0]
mov edx, dword [esi + 0xb8]
add ecx, eax
mov eax, dword [esp + 0x14]
add edx, eax
cmp edx, ecx
ja 0x482842
push eax
mov ecx, esi
call fcn.00488f10
mov edi, eax
push 0xffffffffffffffff
push 0
mov ecx, edi
mov dword [esp + 0x34], edi
call fcn.00488840
cmp dword [esp + 0x18], eax
jne 0x48261f
mov ecx, dword [esi + 0x7c]
push edi
call fcn.00487260
jmp 0x48272b
mov eax, dword [0x55b9cc]
mov ecx, dword [eax + 0xcb0]
mov al, byte [ecx + 0x188]
test al, al
mov edi, str.S
jne 0x48263e
mov edi, str._____C
mov edx, dword [esi + 0x98]
push ecx
mov ebx, esp
mov dword [esp + 0x34], esp
push edx
lea eax, [esp + 0x30]
push eax
lea ecx, [esi + 0x80]
call fcn.0047fef0
mov ecx, dword [eax]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push str.WARNING:_received_corrupt_packet_contents__from_s__sequence_d_
mov dword [esp + 0x58], 0
call fcn.00402110
mov edx, dword [0x55cd0c]
push ebx
push edx
call fcn.004a7680
mov ecx, dword [0x55cd0c]
add esp, 0x14
lea eax, [esp + 0x28]
push eax
push ecx
call fcn.004a7680
add esp, 0xc
mov edx, dword [eax]
push edx
push str.NetHost::serviceInPacketNormal
push edi
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push str._s__s_____s
mov byte [esp + 0x58], 1
call fcn.00402110
mov eax, dword [0x55cd0c]
mov ecx, dword [eax + 0x87c]
push ecx
call fcn.0041fe10
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
add esp, 0x14
mov byte [esp + 0x44], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4826f2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov dword [esp + 0x44], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x482718
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x482727
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov ebx, dword [esp + 0x20]
mov eax, dword [esi + 0xb0]
mov edx, dword [esi + 0xb4]
mov ecx, dword [esi + 0xb8]
add eax, edx
cmp ecx, eax
jb 0x482585
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebx + 0x78]
call fcn.00480240
mov ecx, dword [eax + 0x90]
add eax, 0x90
inc ecx
mov dword [eax], ecx
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
mov dword [esp + 0x20], edi
call fcn.00488a90
mov edx, dword [esp + 0x1c]
mov ecx, dword [esi + 0x7c]
push edx
call fcn.00486eb0
mov edi, eax
test edi, edi
je 0x48272b
mov eax, dword [esi + 0x7c]
fld qword [eax + 0x98]
mov ecx, dword [0x55cd0c]
fmul qword [0x527a98]
mov ecx, dword [ecx + 0x878]
fadd qword [edi + 0x90]
fstp qword [esp + 0x30]
call fcn.004a65e0
fcomp qword [esp + 0x30]
fnstsw ax
test ah, 0x41
jne 0x48272b
mov edx, dword [esi + 0x7c]
add edx, 0x7c
mov ecx, dword [edx]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov edx, dword [edx + 0xc]
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 0x78]
push edi
mov dword [eax + 0xc], edx
call fcn.00480bf0
mov ecx, dword [ebx + 0x78]
call fcn.00480240
mov ecx, dword [eax + 0x94]
add eax, 0x94
inc ecx
mov dword [eax], ecx
jmp 0x48272b
push str.Received_unknown_command.
push str.NetHost::serviceInPacketNormal
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push str._s__:__s
call fcn.00402110
mov ecx, dword [0x55cd0c]
mov edx, dword [ecx + 0x85c]
push edx
call fcn.00475320
add esp, 0x10
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8