Function at 0x140031610
Capabilities:
Check for software breakpoints

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0x90
mov rbx, qword [rcx]
lea rdx, [rbp - 9]
mov r12, qword [rcx + 0x10]
xor eax, eax
mov qword [rcx + 0x20], rax
mov r15, rcx
xor sil, sil
mov word [rbp - 0x29], 0x15ff
mov rcx, rbx
mov dword [rbp - 0x27], 2
mov word [rbp - 0x23], 0x8eb
mov r14d, eax
mov qword [rbp - 0x21], rax
mov r13d, eax
mov word [rbp - 0x49], 0x25ff
mov edi, eax
mov dword [rbp - 0x47], eax
mov qword [rbp - 0x43], rax
mov qword [rbp - 0x39], 0x25ff0e70
mov qword [rbp - 0x31], rax
mov byte [rbp + 0x67], sil
mov byte [rbp + 0x6f], al
mov qword [rbp + 0x77], rax
call fcn.1400308c0
mov r9d, dword [rbp + 0x18]
mov r8d, eax
bt r9d, 0xc
jb 0x1400318da
mov r10, rbx
cmp sil, 5
jb 0x1400316c0
mov r8d, ntohs
mov qword [rbp - 0x43], rbx
lea r10, [rbp - 0x49]
lea r13d, [r8 - 0xd]
jmp 0x140031844
movzx eax, byte [rbp + 4]
and al, 0xc7
cmp al, 5
jne 0x140031716
movzx eax, byte [rbp - 9]
lea rdi, [rbp - 0x19]
mov ecx, r8d
lea r10, [rbp - 0x19]
mov rsi, rbx
mov edx, ebx
rep movsb byte [rdi], byte [rsi]
sub edx, r12d
mov ecx, r9d
add edx, dword [rbp + 0x14]
shr rcx, 2
and ecx, 0xf
sub rax, rcx
mov dword [rbp + rax - 0x1d], edx
cmp byte [rbp + 2], 0xff
jne 0x140031840
cmp byte [rbp + 6], 4
jne 0x140031840
mov r13d, 1
jmp 0x140031840
movzx edx, byte [rbp + 2]
cmp dl, 0xe8
jne 0x140031740
movsxd rax, dword [rbp + 0xc]
lea r10, [rbp - 0x29]
movzx ecx, byte [rbp - 9]
add rax, rbx
add rcx, rax
mov r8d, reloc.WSOCK32.dll_recv
mov qword [rbp - 0x21], rcx
jmp 0x140031844
movzx eax, dl
and al, 0xfd
cmp al, 0xe9
jne 0x14003179e
movzx ecx, byte [rbp - 9]
movsx rax, byte [rbp + 0xc]
add rcx, rbx
cmp dl, 0xeb
je 0x14003175e
movsxd rax, dword [rbp + 0xc]
add rcx, rax
mov rax, qword [r15]
cmp rax, rcx
ja 0x140031781
add rax, 5
cmp rcx, rax
jae 0x140031781
cmp rdi, rcx
mov r14, rcx
cmovae r14, rdi
jmp 0x140031844
xor r13d, r13d
mov qword [rbp - 0x43], rcx
cmp rbx, r14
lea r10, [rbp - 0x49]
mov r8d, ntohs
setae r13b
jmp 0x140031844
movzx esi, byte [rbp + 3]
movzx ecx, dl
and cl, 0xf0
cmp cl, 0x70
je 0x1400317d4
movzx eax, dl
and al, 0xfc
cmp al, 0xe0
je 0x1400317d4
movzx eax, sil
and al, 0xf0
cmp al, 0x80
je 0x1400317d4
and dl, 0xfe
cmp dl, 0xc2
jne 0x140031840
xor r13d, r13d
cmp rbx, r14
setae r13b
jmp 0x140031840
movzx edi, byte [rbp - 9]
add rdi, rbx
cmp cl, 0x70
je 0x1400317ed
movzx eax, dl
and al, 0xfc
cmp al, 0xe0
movsxd rax, dword [rbp + 0xc]
jne 0x1400317f2
movsx rax, byte [rbp + 0xc]
add rdi, rax
mov rax, qword [r15]
cmp rax, rdi
ja 0x140031814
add rax, 5
cmp rdi, rax
jae 0x140031814
cmp qword [rbp + 0x77], rdi
mov r14, rdi
cmovae r14, qword [rbp + 0x77]
jmp 0x140031840
movzx eax, dl
and al, 0xfc
cmp al, 0xe0
je 0x1400318da
cmp dl, 0xf
mov qword [rbp - 0x31], rdi
mov ecx, esi
lea r10, [rbp - 0x39]
cmovne ecx, edx
mov r8d, reloc.WSOCK32.dll_recv
and cl, 0xf
xor cl, 0x71
mov byte [rbp - 0x39], cl
movzx esi, byte [rbp + 0x67]
cmp rbx, r14
jae 0x140031856
movzx eax, byte [rbp - 9]
cmp r8d, eax
jne 0x1400318da
movzx r12d, byte [rbp + 0x6f]
lea eax, [r8 + r12]
cmp eax, 0x32
ja 0x1400318da
mov eax, dword [r15 + 0x24]
cmp eax, 8
jae 0x1400318da
mov byte [rax + r15 + 0x28], sil
mov rsi, r10
mov eax, dword [r15 + 0x24]
mov ecx, r8d
mov byte [rax + r15 + 0x30], r12b
mov rax, qword [r15 + 0x10]
inc dword [r15 + 0x24]
lea rdi, [rax + r12]
add r12b, r8b
rep movsb byte [rdi], byte [rsi]
movzx esi, byte [rbp + 0x67]
add sil, byte [rbp - 9]
mov byte [rbp + 0x6f], r12b
mov byte [rbp + 0x67], sil
test r13d, r13d
jne 0x1400318f7
movzx ebx, sil
lea rdx, [rbp - 9]
add rbx, qword [r15]
mov rdi, r14
movzx r12d, r12b
mov rcx, rbx
mov qword [rbp + 0x77], r14
add r12, rax
call fcn.1400308c0
mov r9d, dword [rbp + 0x18]
mov r8d, eax
bt r9d, 0xc
jae 0x1400316a0
xor eax, eax
mov rbx, qword [rsp + 0xe8]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
cmp sil, 5
jae 0x1400319fa
mov r8, qword [r15]
movzx edi, sil
add rdi, r8
movzx edx, byte [rdi]
test dl, dl
je 0x14003191c
cmp dl, 0x90
je 0x14003191c
cmp dl, 0xcc
jne 0x14003194a
movzx eax, sil
mov ecx, 1
mov esi, 5
sub esi, eax
cmp esi, ecx
jbe 0x1400319fa
mov eax, ecx
cmp byte [rax + rdi], dl
jne 0x140031946
inc ecx
cmp ecx, esi
jb 0x140031934
jmp 0x1400319fa
movzx esi, byte [rbp + 0x67]
cmp sil, 2
jae 0x140031991
test dl, dl
je 0x140031962
cmp dl, 0x90
je 0x140031962
cmp dl, 0xcc
jne 0x1400318da
movzx eax, sil
mov ecx, 1
mov esi, 2
sub esi, eax
cmp esi, ecx
jbe 0x140031991
nop word [rax + rax]
mov eax, ecx
cmp byte [rax + rdi], dl
jne 0x1400318da
inc ecx
cmp ecx, esi
jb 0x140031980
lea rcx, [r8 - 5]
mov r8d, gethostbyname
lea rdx, [rbp - 9]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
cmp dword [rbp + 0x17], 0x1000
jne 0x1400318da
test byte [rbp + 0x1b], 0xf0
je 0x1400318da
mov rax, qword [r15]
movzx edx, byte [rax - 5]
test dl, dl
je 0x1400319d5
cmp dl, 0x90
je 0x1400319d5
cmp dl, 0xcc
jne 0x1400318da
mov ecx, 1
add rax, 0xfffffffffffffffc
nop
cmp byte [rax], dl
jne 0x1400318da
inc ecx
inc rax
cmp ecx, 5
jb 0x1400319e0
mov dword [r15 + 0x20], 1
mov rcx, qword [r15 + 8]
mov eax, 1
mov qword [rbp - 0x43], rcx
mov ecx, dword [rbp - 0x41]
movsd xmm0, qword [rbp - 0x49]
movzx edx, r12b
add rdx, qword [r15 + 0x10]
mov qword [r15 + 0x18], rdx
movsd qword [rdx], xmm0
mov dword [rdx + 8], ecx
movzx ecx, word [rbp - 0x3d]
mov word [rdx + 0xc], cx
jmp 0x1400318dc