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

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x1a8
lea rbp, [rsp + 0x1e0]
xor eax, eax
mov qword [rbp - 0x1a8], rax
xorps xmm4, xmm4
movaps xmmword [rbp - 0x1a0], xmm4
movabs rax, 0xfffffffffffffeb0
movaps xmmword [rbp + rax - 0x40], xmm4
movaps xmmword [rbp + rax - 0x30], xmm4
movaps xmmword [rbp + rax - 0x20], xmm4
add rax, 0x30
jne 0x1400beb38
mov qword [rbp - 0x40], rax
mov rdx, rcx
lea rcx, [rbp - 0xf8]
lea r9, [rbp - 0x138]
mov r8d, 1
call fcn.14032c454
lea rcx, [rbp - 0xf8]
call fcn.1400be5b4
lea rcx, [rbp - 0xf8]
call fcn.1400be5f4
xor ebx, ebx
xor esi, esi
xor edi, edi
xor r14d, r14d
xor r15d, r15d
xor r13d, r13d
xor r12d, r12d
xor eax, eax
mov dword [rbp - 0xfc], eax
xor edx, edx
mov dword [rbp - 0x100], edx
jmp 0x1400bec4d
movzx edx, byte [rbp - 0xd0]
cmp edx, 2
je 0x1400bec61
cmp edx, 5
jne 0x1400bed60
lea rdx, [0x1405d2878]
cmp qword [rdx - 8], 0
jne 0x1400bef44
mov rax, qword [0x140ab6e60]
mov qword [rbp - 0x1b8], rax
mov rdx, qword [rax + 0x28]
test rdx, rdx
jne 0x1400bef4e
xor ecx, ecx
xor r8d, r8d
cmp byte [rbp - 0xcb], 0
je 0x1400bef5b
mov qword [rbp - 0x1a8], rcx
mov dword [rbp - 0x1a0], r8d
lea rdx, [rbp - 0x1a8]
lea rcx, [rbp - 0xf8]
call fcn.14032c760
test eax, eax
je 0x1400befaa
lea rcx, [rbp - 0xf8]
lea rdx, [0x1405af750]
call fcn.1400be788
mov rdi, rax
mov edx, dword [rbp - 0x100]
test edx, edx
jne 0x1400bec61
lea rcx, [rbp - 0xf8]
call fcn.1400be5b4
test eax, eax
jne 0x1400bebac
mov rcx, rdi
or rcx, r13
jne 0x1400bec89
test rbx, rbx
je 0x1400bed01
test r12d, r12d
jle 0x1400bec80
test rsi, rsi
je 0x1400beef8
test r15, r15
je 0x1400bef1e
lea rcx, [0x1405f4bb0]
call fcn.14000e6e0
mov qword [rbp - 0x1b0], rax
lea rcx, [rax + 0x18]
mov rdx, rbx
call fcn.14000e8f0
mov rbx, qword [rbp - 0x1b0]
lea rcx, [rbx + 0x20]
mov rdx, rsi
call fcn.14000e8f0
lea rcx, [rbx + 8]
mov rdx, rdi
call fcn.14000e8f0
lea rcx, [rbx + 0x10]
mov rdx, r14
call fcn.14000e8f0
lea rcx, [rbx + 0x28]
mov rdx, r15
call fcn.14000e8f0
lea rcx, [rbx + 0x30]
mov rdx, r13
call fcn.14000e8f0
mov dword [rbx + 0x38], r12d
mov esi, dword [rbp - 0xfc]
mov byte [rbx + 0x3c], sil
mov rax, rbx
jmp 0x1400bf6f8
lea rcx, [0x140621d88]
call fcn.14000e6e0
mov rbx, rax
mov rcx, rbx
lea rdx, [0x140585760]
call fcn.14022676c
mov rcx, rbx
call fcn.14000fa80
lea rcx, [0x14061a690]
call fcn.14000e6e0
mov rbx, rax
mov rcx, rbx
lea rdx, [0x140575788]
call fcn.14021da4c
mov rcx, rbx
call fcn.14000fa80
movzx ecx, byte [rbp - 0xd0]
call fcn.140328250
int3
call fcn.140328268
int3
xorps xmm0, xmm0
movups xmmword [rbp - 0x190], xmm0
movups xmmword [rbp - 0x180], xmm0
movups xmmword [rbp - 0x178], xmm0
lea rcx, [rbp - 0x190]
mov edx, 0x3b
mov r8d, 1
call fcn.14027cdec
movups xmm0, xmmword [rbp - 0x190]
movups xmmword [rbp - 0x168], xmm0
movups xmm0, xmmword [rbp - 0x180]
movups xmmword [rbp - 0x158], xmm0
mov rcx, qword [rbp - 0x170]
mov qword [rbp - 0x148], rcx
mov ecx, dword [rbp - 0x158]
cmp ecx, dword [rbp - 0x148]
ja 0x1400bee56
mov rdx, qword [rbp - 0x150]
mov eax, ecx
lea rdx, [rdx + rax*2]
mov eax, dword [rbp - 0x148]
sub eax, ecx
xor ecx, ecx
cmp eax, 0x12
jb 0x1400bee0d
lea rcx, [0x140599c50]
add rcx, 0xc
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
movups xmm2, xmmword [rcx + 0x14]
movups xmmword [rdx], xmm0
movups xmmword [rdx + 0x10], xmm1
movups xmmword [rdx + 0x14], xmm2
mov ecx, 1
test ecx, ecx
je 0x1400bee22
mov ecx, dword [rbp - 0x158]
add ecx, 0x12
mov dword [rbp - 0x158], ecx
jmp 0x1400bee35
lea rcx, [rbp - 0x168]
lea rdx, [0x140599c50]
call fcn.14027d22c
lea rcx, [rbp - 0x168]
movzx edx, byte [rbp - 0xd0]
call fcn.1404fa520
mov ebx, dword [rbp - 0x158]
cmp ebx, dword [rbp - 0x148]
jbe 0x1400bee5c
call fcn.1402267dc
int3
mov rcx, qword [rbp - 0x150]
mov edx, ebx
lea rcx, [rcx + rdx*2]
mov edx, dword [rbp - 0x148]
sub edx, ebx
xor ebx, ebx
cmp edx, 0x29
jb 0x1400bee93
lea rdx, [0x14055f328]
add rdx, 0xc
mov r8d, 0x52
call fcn.1401f46a0
mov ebx, 1
test ebx, ebx
je 0x1400beea8
mov ecx, dword [rbp - 0x158]
add ecx, 0x29
mov dword [rbp - 0x158], ecx
jmp 0x1400beebb
lea rcx, [rbp - 0x168]
lea rdx, [0x14055f328]
call fcn.14027d22c
lea rcx, [0x140621d88]
call fcn.14000e6e0
mov rbx, rax
lea rcx, [rbp - 0x168]
call fcn.14027cf88
mov dword [rbx + 0x48], 0x80131500
lea rcx, [rbx + 8]
mov rdx, rax
call fcn.14000e8f0
mov dword [rbx + 0x48], 0x80131501
mov rcx, rbx
call fcn.14000fa80
lea rcx, [0x140621d88]
call fcn.14000e6e0
mov rbx, rax
mov rcx, rbx
lea rdx, [0x1405857c8]
call fcn.14022676c
mov rcx, rbx
call fcn.14000fa80
lea rcx, [0x140621d88]
call fcn.14000e6e0
mov rbx, rax
mov rcx, rbx
lea rdx, [0x1405856e8]
call fcn.14022676c
mov rcx, rbx
call fcn.14000fa80
call fcn.140001e79
jmp 0x1400bebd7
lea rcx, [rdx + 0x10]
mov r8d, dword [rdx + 8]
jmp 0x1400bebf7
cmp byte [rbp - 0xca], 0
je 0x1400bef8a
mov qword [rbp - 0x1a8], rcx
mov dword [rbp - 0x1a0], r8d
lea rdx, [rbp - 0x1a8]
lea rcx, [rbp - 0xf8]
call fcn.14032cb30
jmp 0x1400bec25
mov rdx, qword [rbp - 0x60]
mov r10d, dword [rbp - 0x58]
cmp r8d, r10d
jne 0x1400befa1
mov r8d, r10d
call fcn.140224420
jmp 0x1400befa5
xor ecx, ecx
mov eax, ecx
jmp 0x1400bec25
mov rax, qword [rbp - 0x1b8]
mov rdx, qword [rax + 0x38]
test rdx, rdx
jne 0x1400befc1
xor ecx, ecx
xor r8d, r8d
jmp 0x1400befc9
lea rcx, [rdx + 0x10]
mov r8d, dword [rdx + 8]
movzx edx, byte [rbp - 0xd0]
cmp edx, 5
je 0x1400befde
cmp edx, 7
jne 0x1400bed4d
cmp byte [rbp - 0xcb], 0
je 0x1400bf00a
mov qword [rbp - 0x1a8], rcx
mov dword [rbp - 0x1a0], r8d
lea rdx, [rbp - 0x1a8]
lea rcx, [rbp - 0xf8]
call fcn.14032c760
jmp 0x1400bf051
cmp byte [rbp - 0xca], 0
je 0x1400bf036
mov qword [rbp - 0x1a8], rcx
mov dword [rbp - 0x1a0], r8d
lea rdx, [rbp - 0x1a8]
lea rcx, [rbp - 0xf8]
call fcn.14032cb30
jmp 0x1400bf051
mov rdx, qword [rbp - 0x60]
mov r10d, dword [rbp - 0x58]
cmp r8d, r10d
jne 0x1400bf04d
mov r8d, r10d
call fcn.140224420
jmp 0x1400bf051
xor ecx, ecx
mov eax, ecx
test eax, eax
je 0x1400bf070
lea rcx, [rbp - 0xf8]
lea rdx, [0x14059e250]
call fcn.1400be788
mov r14, rax
jmp 0x1400bec43
mov rax, qword [rbp - 0x1b8]
mov rdx, qword [rax + 8]
test rdx, rdx
jne 0x1400bf087
xor ecx, ecx
xor r8d, r8d
jmp 0x1400bf08f
lea rcx, [rdx + 0x10]
mov r8d, dword [rdx + 8]
movzx edx, byte [rbp - 0xd0]
cmp edx, 5
je 0x1400bf0a4
cmp edx, 7
jne 0x1400bed4d
cmp byte [rbp - 0xcb], 0
je 0x1400bf0d0
mov qword [rbp - 0x1a8], rcx
mov dword [rbp - 0x1a0], r8d
lea rdx, [rbp - 0x1a8]
lea rcx, [rbp - 0xf8]
call fcn.14032c760
jmp 0x1400bf117
cmp byte [rbp - 0xca], 0
je 0x1400bf0fc
mov qword [rbp - 0x1a8], rcx
mov dword [rbp - 0x1a0], r8d
lea rdx, [rbp - 0x1a8]
lea rcx, [rbp - 0xf8]
call fcn.14032cb30
jmp 0x1400bf117
mov rdx, qword [rbp - 0x60]
mov r10d, dword [rbp - 0x58]
cmp r8d, r10d
jne 0x1400bf113
mov r8d, r10d
call fcn.140224420
jmp 0x1400bf117
xor ecx, ecx
mov eax, ecx
test eax, eax
je 0x1400bf136
lea rcx, [rbp - 0xf8]
lea rdx, [0x1405a0718]
call fcn.1400be788
mov rbx, rax
jmp 0x1400bec43
mov rax, qword [rbp - 0x1b8]
mov rdx, qword [rax + 0x18]
test rdx, rdx
jne 0x1400bf14d
xor ecx, ecx
xor r8d, r8d
jmp 0x1400bf155
lea rcx, [rdx + 0x10]
mov r8d, dword [rdx + 8]
movzx edx, byte [rbp - 0xd0]
cmp edx, 5
je 0x1400bf16a
cmp edx, 7
jne 0x1400bed4d
cmp byte [rbp - 0xcb], 0
je 0x1400bf196
mov qword [rbp - 0x1a8], rcx
mov dword [rbp - 0x1a0], r8d
lea rdx, [rbp - 0x1a8]
lea rcx, [rbp - 0xf8]
call fcn.14032c760
jmp 0x1400bf1dd
cmp byte [rbp - 0xca], 0
je 0x1400bf1c2
mov qword [rbp - 0x1a8], rcx
mov dword [rbp - 0x1a0], r8d
lea rdx, [rbp - 0x1a8]
lea rcx, [rbp - 0xf8]
call fcn.14032cb30
jmp 0x1400bf1dd
mov rdx, qword [rbp - 0x60]
mov r10d, dword [rbp - 0x58]
cmp r8d, r10d
jne 0x1400bf1d9
mov r8d, r10d
call fcn.140224420
jmp 0x1400bf1dd
xor ecx, ecx
mov eax, ecx
test eax, eax
je 0x1400bf1fc
lea rcx, [rbp - 0xf8]
lea rdx, [0x1405a0748]
call fcn.1400be788
mov rsi, rax
jmp 0x1400bec43
mov rax, qword [rbp - 0x1b8]
mov rdx, qword [rax + 0x88]
test rdx, rdx
jne 0x1400bf216
xor ecx, ecx
xor r8d, r8d
jmp 0x1400bf21e
lea rcx, [rdx + 0x10]
mov r8d, dword [rdx + 8]
movzx edx, byte [rbp - 0xd0]
cmp edx, 5
je 0x1400bf233
cmp edx, 7
jne 0x1400bed4d
cmp byte [rbp - 0xcb], 0
je 0x1400bf25f
mov qword [rbp - 0x1a8], rcx
mov dword [rbp - 0x1a0], r8d
lea rdx, [rbp - 0x1a8]
lea rcx, [rbp - 0xf8]
call fcn.14032c760
jmp 0x1400bf2a6
cmp byte [rbp - 0xca], 0
je 0x1400bf28b
mov qword [rbp - 0x1a8], rcx
mov dword [rbp - 0x1a0], r8d
lea rdx, [rbp - 0x1a8]
lea rcx, [rbp - 0xf8]
call fcn.14032cb30
jmp 0x1400bf2a6
mov rdx, qword [rbp - 0x60]
mov r10d, dword [rbp - 0x58]
cmp r8d, r10d
jne 0x1400bf2a2
mov r8d, r10d
call fcn.140224420
jmp 0x1400bf2a6
xor ecx, ecx
mov eax, ecx
test eax, eax
je 0x1400bf2d0
lea rcx, [rbp - 0xf8]
lea rdx, [0x1405a6200]
call fcn.1400be92c
mov qword [rbp - 0x140], rax
mov r12d, dword [rbp - 0x13c]
jmp 0x1400bec43
mov rax, qword [rbp - 0x1b8]
mov rdx, qword [rax + 0x48]
test rdx, rdx
jne 0x1400bf2e7
xor ecx, ecx
xor r8d, r8d
jmp 0x1400bf2ef
lea rcx, [rdx + 0x10]
mov r8d, dword [rdx + 8]
movzx edx, byte [rbp - 0xd0]
cmp edx, 5
je 0x1400bf304
cmp edx, 7
jne 0x1400bed4d
cmp byte [rbp - 0xcb], 0
je 0x1400bf330
mov qword [rbp - 0x1a8], rcx
mov dword [rbp - 0x1a0], r8d
lea rdx, [rbp - 0x1a8]
lea rcx, [rbp - 0xf8]
call fcn.14032c760
jmp 0x1400bf377
cmp byte [rbp - 0xca], 0
je 0x1400bf35c
mov qword [rbp - 0x1a8], rcx
mov dword [rbp - 0x1a0], r8d
lea rdx, [rbp - 0x1a8]
lea rcx, [rbp - 0xf8]
call fcn.14032cb30
jmp 0x1400bf377
mov rdx, qword [rbp - 0x60]
mov r10d, dword [rbp - 0x58]
cmp r8d, r10d
jne 0x1400bf373
mov r8d, r10d
call fcn.140224420
jmp 0x1400bf377
xor ecx, ecx
mov eax, ecx
test eax, eax
je 0x1400bf43d
lea rcx, [rbp - 0xf8]
call fcn.1400be5b4
lea rcx, [rbp - 0xf8]
call fcn.1400be6c4
lea rcx, [0x140648f80]
call fcn.14000e6e0
mov r15, rax
mov rcx, qword [0x140ab8118]
mov rdx, qword [rcx + 8]
lea rcx, [r15 + 8]
call fcn.14000e8f0
lea rcx, [rbp - 0xf8]
call fcn.1400be5b4
test eax, eax
je 0x1400bec43
movzx eax, byte [rbp - 0xd0]
cmp eax, 1
jne 0x1400bf41f
lea rcx, [rbp - 0xf8]
call fcn.1400bf760
inc dword [r15 + 0x14]
mov rcx, qword [r15 + 8]
mov edx, dword [r15 + 0x10]
mov r8d, dword [rcx + 8]
cmp r8d, edx
jbe 0x1400bf412
lea r8d, [rdx + 1]
mov dword [r15 + 0x10], r8d
lea rcx, [rcx + rdx*8 + 0x10]
mov rdx, rax
call fcn.14000e8f0
jmp 0x1400bf428
mov rcx, r15
mov rdx, rax
call fcn.140456f1c
jmp 0x1400bf428
cmp eax, 4
je 0x1400bec43
lea rcx, [rbp - 0xf8]
call fcn.1400be5b4
test eax, eax
jne 0x1400bf3ce
jmp 0x1400bec43
mov rax, qword [rbp - 0x1b8]
mov rdx, qword [rax + 0x78]
test rdx, rdx
jne 0x1400bf454
xor ecx, ecx
xor r8d, r8d
jmp 0x1400bf45c
lea rcx, [rdx + 0x10]
mov r8d, dword [rdx + 8]
movzx edx, byte [rbp - 0xd0]
cmp edx, 5
je 0x1400bf471
cmp edx, 7
jne 0x1400bed4d
cmp byte [rbp - 0xcb], 0
je 0x1400bf49d
mov qword [rbp - 0x1a8], rcx
mov dword [rbp - 0x1a0], r8d
lea rdx, [rbp - 0x1a8]
lea rcx, [rbp - 0xf8]
call fcn.14032c760
jmp 0x1400bf4e4
cmp byte [rbp - 0xca], 0
je 0x1400bf4c9
mov qword [rbp - 0x1a8], rcx
mov dword [rbp - 0x1a0], r8d
lea rdx, [rbp - 0x1a8]
lea rcx, [rbp - 0xf8]
call fcn.14032cb30
jmp 0x1400bf4e4
mov rdx, qword [rbp - 0x60]
mov r10d, dword [rbp - 0x58]
cmp r8d, r10d
jne 0x1400bf4e0
mov r8d, r10d
call fcn.140224420
jmp 0x1400bf4e4
xor ecx, ecx
mov eax, ecx
test eax, eax
je 0x1400bf503
lea rcx, [rbp - 0xf8]
lea rdx, [0x1405a1fc8]
call fcn.1400be788
mov r13, rax
jmp 0x1400bec43
lea rax, str.ProtocolVersion
movzx edx, byte [rbp - 0xd0]
cmp edx, 5
je 0x1400bf51f
cmp edx, 7
jne 0x1400bed4d
cmp byte [rbp - 0xcb], 0
je 0x1400bf54e
mov qword [rbp - 0x1a8], rax
mov dword [rbp - 0x1a0], shutdown
lea rdx, [rbp - 0x1a8]
lea rcx, [rbp - 0xf8]
call fcn.14032c760
jmp 0x1400bf5aa
cmp byte [rbp - 0xca], 0
je 0x1400bf57d
mov qword [rbp - 0x1a8], rax
mov dword [rbp - 0x1a0], shutdown
lea rdx, [rbp - 0x1a8]
lea rcx, [rbp - 0xf8]
call fcn.14032cb30
jmp 0x1400bf5aa
mov rdx, qword [rbp - 0x60]
mov ecx, dword [rbp - 0x58]
cmp ecx, 0xf
jne 0x1400bf5a8
mov rcx, qword [rax]
mov r8, qword [rdx]
mov rax, qword [rax + 7]
mov rdx, qword [rdx + 7]
xor rcx, r8
xor rdx, rax
or rdx, rcx
sete al
movzx eax, al
jmp 0x1400bf5aa
xor eax, eax
test eax, eax
jne 0x1400bed27
mov rdx, qword [rbp - 0x1b8]
mov rdx, qword [rdx + 0x98]
test rdx, rdx
jne 0x1400bf5cb
xor ecx, ecx
xor eax, eax
jmp 0x1400bf5d2
lea rcx, [rdx + 0x10]
mov eax, dword [rdx + 8]
movzx edx, byte [rbp - 0xd0]
cmp edx, 5
je 0x1400bf5e7
cmp edx, 7
jne 0x1400bed4d
cmp byte [rbp - 0xcb], 0
je 0x1400bf632
mov qword [rbp - 0x1a8], rcx
mov dword [rbp - 0x1a0], eax
lea rdx, [rbp - 0x1a8]
lea rcx, [rbp - 0xf8]
call fcn.14032c760
test eax, eax
je 0x1400bf675
lea rcx, [rbp - 0xf8]
lea rdx, [0x1405af7a0]
call fcn.1400be71c
mov dword [rbp - 0xfc], eax
jmp 0x1400bec43
cmp byte [rbp - 0xca], 0
je 0x1400bf65d
mov qword [rbp - 0x1a8], rcx
mov dword [rbp - 0x1a0], eax
lea rdx, [rbp - 0x1a8]
lea rcx, [rbp - 0xf8]
call fcn.14032cb30
jmp 0x1400bf610
mov rdx, qword [rbp - 0x60]
mov r8d, dword [rbp - 0x58]
cmp eax, r8d
jne 0x1400bf671
call fcn.140224420
jmp 0x1400bf673
xor eax, eax
jmp 0x1400bf610
cmp byte [rbp - 0xd4], 0
je 0x1400bed5a
cmp byte [rbp - 0xd0], 5
jne 0x1400bf697
lea rcx, [rbp - 0xf8]
call fcn.14032c580
movzx ecx, byte [rbp - 0xd0]
cmp ecx, 1
je 0x1400bf6ac
cmp ecx, 3
jne 0x1400bec43
mov edx, dword [rbp - 0xa0]
cmp ecx, 3
je 0x1400bf6bc
cmp ecx, 1
jne 0x1400bf6be
dec edx
mov dword [rbp - 0x194], edx
lea rcx, [rbp - 0xf8]
call fcn.14032c580
mov ecx, dword [rbp - 0xa0]
movzx eax, byte [rbp - 0xd0]
cmp eax, 3
je 0x1400bf6e7
cmp eax, 1
jne 0x1400bf6e9
dec ecx
mov edx, dword [rbp - 0x194]
cmp edx, ecx
jl 0x1400bf6c4
jmp 0x1400bec43
add rsp, 0x1a8
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret