Function at 0x1400011a0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push r15
sub rsp, 0x158
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov ebx, 0xff
lea rcx, [rsp + 0x30]
mov edx, ebx
lea r8d, [rbx + 1]
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [0x1400056b0]
lea r8d, [rbx + 1]
xor r9d, r9d
lea rdx, [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_recv]
mov r15d, eax
cmp eax, 0xffffffff
jne 0x140001230
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x140001230
cmp eax, 0x2749
je 0x140001212
cmp eax, 0x2746
jne 0x140001588
mov rax, qword [0x140005728]
lea rcx, str.Reboot_n
mov dword [rax], 0xffffffff
call fcn.140001080
jmp 0x140001588
mov qword [rsp + 0x170], rbp
mov qword [rsp + 0x148], r13
xor r13d, r13d
mov ebp, r13d
test r15d, r15d
jle 0x140001578
mov r10, qword [0x140005728]
mov r11, qword [0x140005730]
mov qword [rsp + 0x178], rsi
mov qword [rsp + 0x180], rdi
mov edi, 0x80
mov qword [rsp + 0x150], r12
lea r12, [0x140000000]
mov qword [rsp + 0x140], r14
mov r14d, dword [rsp + 0x20]
nop
movsxd rax, ebp
lea rsi, [rsp + 0x30]
add rsi, rax
movzx ecx, byte [rsi]
mov eax, ecx
and ecx, 7
shr eax, 3
add ebp, eax
cmp ecx, 6
ja case.default.0x1400012bf
movsxd rax, ecx
mov ecx, dword [r12 + rax*4 + 0x15a4]
add rcx, r12
jmp rcx
movzx edx, byte [rsi + 1]
lea rcx, str.New_client__you_are_now:__d__d_n
and edx, 0xf
mov dword [r10 + 0x14], edx
movzx r8d, byte [rsi + 1]
shr r8d, 4
mov dword [r10 + 0x10], r8d
call fcn.140001080
mov r10, qword [0x140005728]
mov r11, qword [0x140005730]
mov dword [r10], 4
jmp case.default.0x1400012bf
movzx edx, byte [rsi + 1]
mov eax, r13d
mov ebx, edx
shr edx, 4
and ebx, 0xf
mov dword [r10 + 0x10], edx
cmp ebx, dword [r10 + 0x14]
cmovne eax, r14d
lea r14d, [rbx + 1]
cmovge r14d, eax
cmovg r14d, ebx
cmp r14d, edx
jge 0x14000137d
movsxd r9, r14d
lea eax, [r14 + 0x43742]
add r9, 0x40
add r9, r10
nop dword [rax]
lea r8d, [rax + 1]
lea ecx, [rax + rax]
and ecx, 0xffffff
lea edx, [r8 + r8]
and edx, 0xffffff
lea r9, [r9 + 1]
movzx eax, word [rdx + r11]
mov word [rcx + r11], ax
lea ecx, [r8 - 0x43742]
movzx eax, byte [r9]
mov byte [r9 - 1], al
lea eax, [r8]
cmp ecx, dword [r10 + 0x10]
jl 0x140001340
mov edx, dword [r10 + 0x14]
cmp edx, ebx
jle 0x14000138b
dec edx
mov dword [r10 + 0x14], edx
mov r8d, dword [r10 + 0x10]
lea rcx, str.New_client__you_are_now:__d__d_n
call fcn.140001080
mov r10, qword [0x140005728]
cmp dword [r10 + 0x14], r13d
jne 0x1400013b5
cmp dword [r10], 6
jne 0x1400013b5
mov dword [r10], 5
mov r11, qword [0x140005730]
mov ebx, 0xff
jmp case.default.0x1400012bf
mov dword [r10 + 0x18], 1
lea rcx, str.Got_Track:__d_n
movzx ebx, byte [rsi + 1]
mov edx, ebx
call fcn.140001080
mov r11, qword [0x140005730]
mov r10, qword [0x140005728]
mov byte [r11 + 0x98530], bl
mov ebx, 0xff
mov dword [r10], 7
jmp case.default.0x1400012bf
movzx eax, byte [rsi + 1]
lea rcx, str.Client:__d__Character:__d_n
mov ebx, eax
and eax, 7
shr ebx, 4
mov edx, eax
mov r8d, ebx
mov edi, eax
call fcn.140001080
mov r10, qword [0x140005728]
mov eax, r13d
mov r11, qword [0x140005730]
cmp edi, dword [r10 + 0x14]
cmovne eax, r14d
lea r14d, [rdi + 1]
cmovge r14d, eax
cmovg r14d, edi
lea eax, [r14*2 + 0x86e84]
and eax, 0xffffff
mov word [rax + r11], bx
mov ebx, 0xff
movzx eax, byte [rsi + 1]
shr al, 3
and al, 1
mov byte [rdi + r10 + 0x40], al
lea edi, [rbx - 0x7f]
jmp case.default.0x1400012bf
mov dword [r10 + 0xc], r13d
mov dword [r10], 9
jmp case.default.0x1400012bf
mov dword [r10], recv
jmp case.default.0x1400012bf
movzx edx, byte [rsi + 1]
mov eax, r13d
and edx, 7
cmp edx, dword [r10 + 0x14]
cmovne eax, r14d
lea r14d, [rdx + 1]
cmovge r14d, eax
cmovg r14d, edx
movzx edx, byte [rsi + 2]
test dl, 0x40
je 0x1400014c1
and edx, 0xffffffbf
bts edx, 0xa
test dl, dl
jns 0x1400014cd
btr edx, 7
bts edx, 0xb
movsxd rax, r14d
lea r8d, [r14 + r14*4]
shl r8d, 4
add r8d, 0x96804
and r8d, 0xffffff
lea r9, [rax*4 + 0x5660]
add r8, r11
mov ecx, dword [r9 + r12]
mov eax, ecx
not eax
and eax, edx
mov dword [r8 + 0x14], eax
mov eax, edx
not eax
mov dword [r8 + 0x10], edx
and eax, ecx
mov dword [r8 + 0x1c], ecx
mov dword [r8 + 0x18], eax
test dl, 1
je 0x14000151d
mov word [r8 + 6], r13w
jmp 0x14000152e
test dl, 2
je 0x140001529
mov word [r8 + 6], bx
jmp 0x14000152e
mov word [r8 + 6], di
test dl, 4
je 0x14000153a
mov word [r8 + 4], r13w
jmp 0x14000154b
test dl, 8
je 0x140001546
mov word [r8 + 4], bx
jmp 0x14000154b
mov word [r8 + 4], di
mov dword [r9 + r12], edx
cmp ebp, r15d
jl 0x140001290
mov r14, qword [rsp + 0x140]
mov r12, qword [rsp + 0x150]
mov rdi, qword [rsp + 0x180]
mov rsi, qword [rsp + 0x178]
mov rbp, qword [rsp + 0x170]
mov r13, qword [rsp + 0x148]
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.140001c80
add rsp, 0x158
pop r15
pop rbx
ret