Function at 0x1400c8b80
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x48
cmp byte [rcx + 0x289], 0
je 0x1400c8e8c
mov qword [rsp + 0x58], rbx
mov rbx, qword [0x140140268]
mov qword [rsp + 0x60], rbp
movzx eax, byte [rbx + 0x23]
mov qword [rsp + 0x30], r13
test al, al
jne 0x1400c8bd2
mov rcx, qword [rbx + 0x10]
lea rdx, [0x14010771c]
xor r9d, r9d
or r8, 0xffffffffffffffff
mov byte [rsp + 0x20], 1
call fcn.1400e6e20
mov ebp, eax
jmp 0x1400c8e35
lea r13, [0x14010771c]
mov qword [rsp + 0x68], rsi
mov ebp, 1
mov qword [rsp + 0x38], r12
cmp qword [rbx + 8], r13
jne 0x1400c8bf7
mov r12, qword [rbx + 0x10]
shr r12, 1
jmp 0x1400c8bfa
mov r12, rbp
lea rcx, [r12 + 1]
lea rsi, [rcx + rcx]
cmp al, 2
jne 0x1400c8c19
mov rdx, r12
mov rcx, r13
call fcn.140006bc0
mov ebp, eax
jmp 0x1400c8e2b
mov r8, qword [0x14013b0d0]
cmp rsi, r8
jbe 0x1400c8c4c
cmp rsi, qword [rbx + 0x18]
jbe 0x1400c8c4c
lea r8, [0x1401035ac]
lea rdx, [0x140124720]
lea rcx, [0x140143150]
call fcn.14005f7b0
mov ebp, eax
jmp 0x1400c8e2b
cmp rcx, 2
jae 0x1400c8c66
xor r8d, r8d
mov rcx, rbx
lea edx, [r8 + 3]
call fcn.1400e74d0
jmp 0x1400c8e2b
movzx eax, byte [rbx + 0x21]
test al, 2
je 0x1400c8c83
mov rcx, qword [rbx]
and al, 0x3d
mov byte [rbx + 0x21], al
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
mov r8, qword [0x14013b0d0]
mov rcx, qword [rbx + 0x18]
and byte [rbx + 0x21], 0x82
mov qword [rsp + 0x40], rdi
cmp rsi, rcx
jbe 0x1400c8dfe
movzx r9d, byte [rbx + 0x20]
movzx eax, r9b
cmp r9b, bpl
jbe 0x1400c8cba
cmp al, 2
je 0x1400c8cfc
mov rdi, qword [rsp + 0x50]
mov rax, qword [rsp + 0x50]
jmp 0x1400c8df2
mov edi, 0x80
cmp rsi, rdi
ja 0x1400c8cfc
cmp rsi, 8
ja 0x1400c8cd1
mov edi, 8
jmp 0x1400c8cdd
mov eax, reloc.WSOCK32.dll_recv
cmp rsi, rax
cmovbe rdi, rax
mov rcx, rdi
call fcn.1400dd290
test rax, rax
jne 0x1400c8cf3
xor edx, edx
mov ebp, edx
jmp 0x1400c8e26
mov byte [rbx + 0x20], bpl
jmp 0x1400c8df2
cmp rsi, 0x20
jae 0x1400c8d0c
mov edi, SafeArrayAllocDescriptor
jmp 0x1400c8db6
mov edi, 0x208
cmp rsi, rdi
jb 0x1400c8db6
cmp rsi, 0x50000
jae 0x1400c8d72
pxor xmm0, xmm0
cvtsi2sd xmm0, rsi
test rsi, rsi
jns 0x1400c8d39
addsd xmm0, qword [0x1401279a8]
mulsd xmm0, qword [0x1401279e0]
movsd xmm1, qword [0x1401279d8]
xor eax, eax
comisd xmm0, xmm1
jbe 0x1400c8d68
subsd xmm0, xmm1
comisd xmm0, xmm1
jae 0x1400c8d68
movabs rdx, 0x8000000000000000
mov rax, rdx
cvttsd2si rdi, xmm0
add rdi, rax
jmp 0x1400c8db6
cmp rsi, 0x320000
jae 0x1400c8d84
lea rdi, [rsi + 0x8000]
jmp 0x1400c8db6
cmp rsi, 0xc80000
jae 0x1400c8daf
movabs rax, 0x47ae147ae147ae15
mov rdi, rsi
mul rsi
sub rdi, rdx
shr rdi, 1
add rdi, rdx
shr rdi, 6
add rdi, rsi
jmp 0x1400c8db6
lea rdi, [rsi + 0x20000]
cmp rdi, r8
cmova rdi, r8
cmp r9b, 2
jne 0x1400c8dd8
test rcx, rcx
je 0x1400c8dd8
mov rcx, qword [rbx + 8]
movzx esi, bpl
call qword [sym.imp.MSVCR100.dll_free]
jmp 0x1400c8ddb
xor sil, sil
test rdi, rdi
js 0x1400c8e4b
mov rcx, rdi
call qword [sym.imp.MSVCR100.dll_malloc]
test rax, rax
je 0x1400c8e4b
mov byte [rbx + 0x20], 2
and byte [rbx + 0x21], 0x7f
mov qword [rbx + 8], rax
mov qword [rbx + 0x18], rdi
mov rcx, qword [rbx + 8]
cmp rcx, r13
je 0x1400c8e14
lea r8, [r12 + r12]
mov rdx, r13
call qword [sym.imp.MSVCR100.dll_memmove]
mov rax, qword [rbx + 8]
lea rcx, [r12 + r12]
xor edx, edx
mov word [rcx + rax], dx
mov qword [rbx + 0x10], rcx
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x68]
mov r12, qword [rsp + 0x38]
mov r13, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x58]
mov eax, ebp
mov rbp, qword [rsp + 0x60]
add rsp, 0x48
ret
xor edx, edx
test sil, sil
je 0x1400c8e63
lea rax, [0x140141fa8]
mov qword [rbx + 0x18], rdx
mov qword [rbx + 8], rax
jmp 0x1400c8e6a
mov rax, qword [rbx + 8]
mov word [rax], dx
mov qword [rbx + 0x10], rdx
lea r8, [0x1401035ac]
lea rcx, [0x140143150]
lea rdx, str.Out_of_memory.
call fcn.14005f7b0
mov ebp, eax
jmp 0x1400c8e26
add rsp, 0x48
jmp fcn.14005f7b0