Function at 0x140005e10
Capabilities:
Execute command

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x14000c040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, qword [rcx + 0x10]
movzx eax, byte [rbx]
and eax, 0xf
cmp eax, 8
ja case.default.0x140005e51
cdqe
lea r8, [0x140000000]
mov qword [rsp + 0x58], rdi
mov eax, dword [r8 + rax*4 + 0x634c]
add rax, r8
jmp rax
mov rcx, qword [0x14000c810]
mov byte [rcx + 0x13], 0
movzx eax, byte [rbx + 1]
mov byte [rcx + 0xe], al
movzx eax, byte [rbx + 3]
and al, 0xf
mov byte [rcx + 0x14], al
movzx eax, byte [rbx + 3]
shr al, 4
mov byte [rcx + 0x15], al
movzx eax, byte [rbx + 4]
and al, 0xf
mov byte [rcx + 0x16], al
movzx eax, byte [rbx + 4]
shr al, 4
mov byte [rcx + 0x17], al
movzx eax, byte [rbx + 5]
and al, 0xf
mov byte [rcx + 0x18], al
movzx eax, byte [rbx + 5]
shr al, 4
mov byte [rcx + 0x19], al
movzx eax, byte [rbx + 6]
and al, 0xf
mov byte [rcx + 0x1a], al
movzx eax, byte [rbx + 6]
shr al, 4
mov byte [rcx + 0x1b], al
movzx eax, byte [rbx + 7]
and al, 0xf
mov byte [rcx + 0x1c], al
movzx eax, byte [rbx + 7]
shr al, 4
mov byte [rcx + 0x1d], al
movzx eax, byte [rbx + 8]
and al, 0xf
mov byte [rcx + 0x1e], al
movzx eax, byte [rbx + 8]
shr al, 4
mov byte [rcx + 0x1f], al
movzx eax, byte [rbx + 9]
and al, 0xf
mov byte [rcx + 0x20], al
movzx eax, byte [rbx + 9]
shr al, 4
mov byte [rcx + 0x21], al
movzx eax, byte [rbx + 0xa]
and al, 0xf
mov byte [rcx + 0x22], al
movzx eax, byte [rbx + 0xa]
shr al, 4
mov byte [rcx + 0x23], al
jmp 0x140006334
movzx eax, byte [rbx + 1]
mov edi, 0x3f0
mov r8, qword [0x14000c810]
and al, 0xf
mov byte [r8 + 7], al
movzx eax, byte [rbx + 1]
shr al, 4
mov byte [r8 + 6], al
cmp word [rbx + 2], di
je 0x140005f5d
lea rcx, [0x140009518]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
movzx r8d, word [rbx + 2]
lea rcx, str.Error:_Client_v_d_does_not_match_Server_v_d_n
mov edx, edi
call fcn.140005cf0
lea rcx, str.pause
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov r8, qword [0x14000c810]
mov r9, qword [0x14000c818]
mov ecx, dword [r9 + 0x96b28]
and ecx, 0xffe7fbff
mov dword [r9 + 0x96b28], ecx
movzx edx, word [rbx + 4]
sub edx, 1
je 0x140005f97
sub edx, 1
je 0x140005f91
cmp edx, 1
jne 0x140005fa2
bts ecx, 0xa
jmp 0x140005f9b
bts ecx, 0x14
jmp 0x140005f9b
bts ecx, 0x13
mov dword [r9 + 0x96b28], ecx
mov eax, dword [0x14000c7a0]
lea rcx, [rsp + 0x28]
mov dword [r8 + 0x34], eax
mov edx, ntohl
mov eax, dword [0x14000c7a4]
mov dword [r8 + 0x38], eax
mov eax, dword [0x14000c7a8]
mov dword [r8 + 0x3c], eax
lea r8d, [rdx - 0xc]
movsd xmm0, qword [0x14000c7a0]
mov eax, dword [0x14000c7a8]
movsd qword [rsp + 0x29], xmm0
mov byte [rsp + 0x28], 0xd1
mov dword [rsp + 0x31], eax
call fcn.140001950
mov r8, rax
call fcn.140001a20
mov rax, qword [0x14000c810]
mov dword [rax], 4
jmp 0x140006334
mov r9, qword [0x14000c810]
movzx edx, byte [rbx + 1]
mov eax, edx
and eax, 0xf
movzx r8d, byte [r9 + 7]
cmp eax, r8d
je 0x140006334
jae 0x14000602f
lea ecx, [rax + 1]
jmp 0x140006036
mov ecx, dword [rsp + 0x20]
cmova ecx, eax
shr dl, 4
lea eax, [rcx + rcx*2]
mov byte [r9 + 6], dl
movsd xmm0, qword [rbx + 2]
shl eax, 2
movsxd rcx, eax
movsd qword [rcx + r9 + 0x34], xmm0
mov eax, dword [rbx + 0xa]
mov dword [rcx + r9 + 0x3c], eax
jmp 0x140006334
movzx ecx, byte [rbx + 1]
mov rax, qword [0x14000c818]
shr cl, 5
and cl, 3
add cl, cl
inc cl
mov byte [rax + 0x98853], cl
movzx ecx, byte [rbx + 1]
mov rax, qword [0x14000c810]
and cl, 0x1f
mov byte [rax + 0xb], cl
mov dword [rax], 7
jmp 0x140006334
movzx r8d, byte [rbx + 1]
mov r9, qword [0x14000c810]
mov edx, r8d
and edx, 7
shr r8d, 4
movzx eax, byte [r9 + 7]
cmp edx, eax
je 0x140006334
jae 0x1400060c0
lea ecx, [rdx + 1]
jmp 0x1400060c7
mov ecx, dword [rsp + 0x20]
cmova ecx, edx
mov rax, qword [0x14000c818]
lea ecx, [rcx*2 + 0x86e84]
and ecx, 0xffffff
mov word [rcx + rax], r8w
movzx ecx, byte [rbx + 1]
shr cl, 3
and cl, 1
mov byte [rdx + r9 + 0x2c], cl
jmp 0x140006334
mov rax, qword [0x14000c810]
mov byte [rax + 5], 0
mov dword [rax], 9
jmp 0x140006334
mov rax, qword [0x14000c810]
mov dword [rax], ntohl
jmp 0x140006334
mov rcx, qword [0x14000c810]
cmp dword [rcx], 0xa
jl 0x140006334
mov r9, qword [0x14000c818]
cmp dword [r9 + 0x8d0f8], 0xffffffff
jne 0x140006334
movzx eax, byte [rbx + 1]
movzx ecx, byte [rcx + 7]
and eax, 7
cmp eax, ecx
je 0x140006334
jae 0x14000615c
lea r10d, [rax + 1]
jmp 0x140006165
mov r10d, dword [rsp + 0x20]
cmova r10d, eax
movzx edx, byte [rbx + 3]
test dl, 0x40
je 0x140006175
and edx, 0xffffffbf
bts edx, 0xa
test dl, dl
jns 0x140006181
btr edx, 7
bts edx, 0xb
lea rdi, [r8 + 0xc6c0]
movsxd rax, r10d
mov ecx, dword [rdi + rax*4]
lea rdi, [rdi + rax*4]
lea r8d, [r10 + r10*4]
mov eax, ecx
not eax
shl r8d, 4
and eax, edx
add r8d, 0x96804
and r8d, 0xffffff
xor r11d, r11d
add r8, r9
mov dword [r8 + 0x14], eax
mov eax, edx
not eax
mov dword [r8 + 0x1c], ecx
and eax, ecx
mov dword [r8 + 0x10], edx
mov dword [r8 + 0x18], eax
mov ecx, 0x80
lea eax, [rcx + 0x7f]
test dl, 1
je 0x1400061de
mov word [r8 + 6], r11w
jmp 0x1400061ef
test dl, 2
je 0x1400061ea
mov word [r8 + 6], ax
jmp 0x1400061ef
mov word [r8 + 6], cx
test dl, 4
je 0x1400061fb
mov word [r8 + 4], r11w
jmp 0x14000620c
test dl, 8
je 0x140006207
mov word [r8 + 4], ax
jmp 0x14000620c
mov word [r8 + 4], cx
mov dword [rdi], edx
lea eax, [r10*4 + 0x9900c]
and eax, 0xffffff
mov r8d, dword [rax + r9]
movzx eax, byte [rbx + 4]
and r8d, 0xffffff
mov byte [r8 + r9 + 0x2d5], al
movzx eax, byte [rbx + 5]
mov byte [r8 + r9 + 0x2d6], al
movzx eax, byte [rbx + 6]
mov byte [r8 + r9 + 0x2d7], al
movzx eax, byte [rbx + 7]
mov byte [r8 + r9 + 0x2d9], al
movzx eax, byte [rbx + 8]
mov byte [r8 + r9 + 0x2da], al
movzx eax, byte [rbx + 9]
mov byte [r8 + r9 + 0x2db], al
movzx eax, byte [rbx + 0xa]
mov byte [r8 + r9 + 0x2dd], al
movzx eax, byte [rbx + 0xb]
mov byte [r8 + r9 + 0x2de], al
movzx eax, byte [rbx + 0xc]
mov byte [r8 + r9 + 0x2df], al
movzx eax, byte [rbx + 1]
movzx edx, byte [rbx + 2]
shr al, 3
movzx ecx, al
mov eax, 0xfff
shl dx, 5
or dx, cx
and dx, ax
mov word [r8 + r9 + 0x39a], dx
jmp 0x140006334
mov rdx, qword [0x14000c810]
movzx ecx, byte [rbx + 1]
movzx eax, byte [rdx + 7]
cmp ecx, eax
je 0x140006334
lea r8d, [rcx + 1]
jb 0x1400062d8
mov r8d, dword [rsp + 0x20]
cmovbe ecx, r8d
xor r11d, r11d
lea eax, [rcx + rcx*4]
shl eax, 4
add eax, 0x96804
and eax, 0xffffff
add rax, qword [0x14000c818]
mov qword [rax + 0x10], 0x20
mov dword [rax + 0x18], r11d
mov dword [rax + 0x1c], 0x20
movzx eax, byte [rdx + 0xf]
mov dword [rdx + rax*8 + 0x94], ecx
movzx eax, byte [rdx + 0xf]
lea rcx, [rdx + rax*8]
movzx eax, word [rbx + 2]
mov word [rcx + 0x98], ax
movzx eax, byte [rbx + 4]
mov byte [rcx + 0x9a], al
inc byte [rdx + 0xf]
mov rdi, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140007890
add rsp, 0x40
pop rbx
ret