Function at 0x140154860
Capabilities:
Allocate or change rwx memory
Check for software breakpoints

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xa0
mov rax, qword [0x14074a3c0]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rsi, rcx
lea r14, [rcx + 8]
mov r8, r14
mov edx, dword [rcx]
mov ecx, dword [rcx + 4]
call fcn.1401f5ae0
test eax, eax
jne 0x140154af7
mov dword [rbp + 0x27], eax
lea rcx, [rbp - 0x39]
call fcn.140159e20
mov rcx, qword [rax]
mov qword [rbp - 9], rcx
lea rcx, [rbp - 9]
call fcn.1401554b0
mov r13, qword [rsi + 0x18]
mov r15, qword [rsi + 0x20]
mov qword [rbp - 0x39], r15
cmp r13, r15
je 0x140154aaa
nop
mov rdi, qword [r13]
mov qword [rbp - 0x11], rdi
mov ebx, dword [rdi + 0xc]
add rbx, qword [rsi + 0x10]
mov qword [rbp - 0x19], rbx
mov edx, dword [rdi + 0x10]
lea r9, [rbp + 0x27]
mov r8d, 0x40
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x140154ad9
mov r8d, dword [rdi + 0x10]
lea rax, [rbp - 9]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r8
mov r9, rbx
mov rdx, rbx
mov rcx, qword [r14]
call fcn.1401f6290
mov r12, rax
xor r14d, r14d
test rax, rax
je 0x140154a73
xor r15d, r15d
nop dword [rax]
nop word [rax + rax]
mov rbx, qword [rbp - 9]
mov ecx, dword [rbx + r15]
sub ecx, 0xde
cmp ecx, 1
ja 0x140154a54
xorps xmm0, xmm0
movups xmmword [rbp - 1], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xf], xmm1
mov qword [rbp + 0x1f], 0
lea rdx, [0x140339f1b]
lea rcx, [rbp + 0xf]
call fcn.140152080
nop
mov rbx, qword [rbx + r15 + 8]
mov qword [rbp - 1], rbx
mov dword [rbp + 0xb], r14d
xor eax, eax
mov dword [rbp + 7], eax
mov dil, 1
mov rdx, qword [rbp + 0x17]
movzx ecx, byte [rbx]
cmp cl, 0xcc
je 0x1401549ba
cmp cl, 0xf1
je 0x1401549ba
xor dil, dil
jmp 0x1401549fc
mov qword [rbp - 0x31], rbx
cmp rdx, qword [rbp + 0x1f]
je 0x1401549e3
mov ecx, reloc.WS2_32.dll_recv
call fcn.14014fe60
movups xmm0, xmmword [rbp - 0x31]
movups xmmword [rax], xmm0
mov rdx, qword [rbp + 0x17]
add rdx, 0x10
mov qword [rbp + 0x17], rdx
jmp 0x1401549f4
lea r8, [rbp - 0x31]
lea rcx, [rbp + 0xf]
call fcn.140149360
mov rdx, qword [rbp + 0x17]
mov eax, dword [rbp + 7]
inc eax
mov dword [rbp + 7], eax
inc rbx
test dil, dil
jne 0x1401549a8
cmp eax, 1
jbe 0x140154a2d
lea rcx, [rsi + 0x48]
mov rdx, qword [rsi + 0x50]
lea r8, [rbp - 1]
cmp rdx, qword [rsi + 0x58]
je 0x140154a27
call fcn.14014b620
add qword [rsi + 0x50], 0x28
jmp 0x140154a2d
call fcn.140149510
nop
lea rcx, [rbp + 0xf]
call fcn.140153b50
mov rdx, qword [rbp + 0xf]
test rdx, rdx
je 0x140154a54
mov r8, qword [rbp + 0x1f]
sub r8, rdx
sar r8, 4
lea rcx, [rbp + 0xf]
call fcn.140155670
nop
inc r14
add r15, 0xf0
cmp r14, r12
jb 0x140154950
mov rbx, qword [rbp - 0x19]
mov rdi, qword [rbp - 0x11]
mov r15, qword [rbp - 0x39]
mov rdx, r12
mov rcx, qword [rbp - 9]
call fcn.1401f6a50
mov edx, dword [rdi + 0x10]
lea r9, [rbp + 0x27]
mov r8d, reloc.WLDAP32.dll_Ordinal_32
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x140154add
add r13, 0x20
cmp r13, r15
lea r14, [rsi + 8]
jne 0x1401548e0
mov al, 1
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140335200
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
xor al, al
jmp 0x140154aac
lea rcx, [rbp - 0x31]
call fcn.14014e2a0
lea rdx, [0x1405b6c50]
lea rcx, [rbp - 0x31]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rcx, [rbp - 0x31]
call fcn.14014e2a0
lea rdx, [0x1405b6c50]
lea rcx, [rbp - 0x31]
call sub.VCRUNTIME140.dll__CxxThrowException
int3