Function at 0x18005d0f0
Capabilities:
Check for software breakpoints

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
mov rax, qword [0x1801803c0]
xor rax, rsp
mov qword [rbp + 0x27], rax
xor edi, edi
mov word [rbp + 7], 0x15ff
mov qword [rbp + 0xf], rdi
mov r15b, dil
mov dword [rbp - 0x17], edi
mov r12b, dil
mov qword [rbp - 0x13], rdi
mov r13d, edi
mov qword [rbp - 1], rdi
mov rbx, rcx
mov byte [rbp - 0x49], dil
mov dword [rbp - 0x45], edi
mov qword [rcx + 0x20], rdi
mov dword [rbp + 9], 2
mov word [rbp + 0xd], 0x8eb
mov word [rbp - 0x19], 0x25ff
mov qword [rbp - 9], 0x25ff0e70
movzx r14d, r15b
lea rdx, [rbp - 0x41]
add r14, qword [rbx]
movzx r12d, r12b
mov rcx, r14
add r12, qword [rbx + 0x10]
call fcn.18005c0cc
test dword [rbp - 0x20], 0x1000
mov r8d, eax
jne 0x18005d423
mov r9d, 5
mov rsi, r14
cmp r15b, r9b
jb 0x18005d1b8
mov qword [rbp - 0x13], r14
lea rsi, [rbp - 0x19]
lea edx, [r9 - 4]
lea r8d, [r9 + 9]
jmp 0x18005d2a9
mov al, byte [rbp - 0x34]
and al, 0xc7
cmp al, r9b
jne 0x18005d20b
movzx eax, byte [rbp - 0x41]
lea rdi, [rbp + 0x17]
mov rcx, r8
mov edx, r14d
rep movsb byte [rdi], byte [rsi]
mov ecx, dword [rbp - 0x20]
lea rsi, [rbp + 0x17]
shr rcx, 2
sub edx, r12d
add edx, dword [rbp - 0x24]
and ecx, 0xf
sub rax, rcx
mov dword [rbp + rax + 0x13], edx
cmp byte [rbp - 0x36], 0xff
jne 0x18005d317
cmp byte [rbp - 0x32], 4
jne 0x18005d317
mov edx, 1
jmp 0x18005d2a9
movzx edx, byte [rbp - 0x36]
cmp dl, 0xe8
jne 0x18005d22f
movsxd rax, dword [rbp - 0x2c]
lea rsi, [rbp + 7]
movzx ecx, byte [rbp - 0x41]
add rax, r14
add rcx, rax
mov qword [rbp + 0xf], rcx
jmp 0x18005d311
mov al, dl
and al, 0xfd
cmp al, 0xe9
jne 0x18005d27e
movzx ecx, byte [rbp - 0x41]
movsx rax, byte [rbp - 0x2c]
add rcx, r14
cmp dl, 0xeb
je 0x18005d24c
movsxd rax, dword [rbp - 0x2c]
add rcx, rax
mov rax, qword [rbx]
cmp rax, rcx
ja 0x18005d26e
add rax, r9
cmp rcx, rax
jae 0x18005d26e
cmp r13, rcx
cmovae rcx, r13
mov r13, rcx
jmp 0x18005d317
mov qword [rbp - 0x13], rcx
lea rsi, [rbp - 0x19]
mov r8d, reloc.WS2_32.dll_ntohl
jmp 0x18005d2a1
mov cl, dl
and cl, 0xf0
cmp cl, 0x70
je 0x18005d2ae
mov al, dl
and al, 0xfc
cmp al, 0xe0
je 0x18005d2ae
mov al, byte [rbp - 0x35]
and al, 0xf0
cmp al, 0x80
je 0x18005d2ae
and dl, 0xfe
cmp dl, 0xc2
jne 0x18005d317
cmp r14, r13
mov edx, edi
setae dl
mov dword [rbp - 0x45], edx
jmp 0x18005d31a
movzx edi, byte [rbp - 0x41]
add rdi, r14
cmp cl, 0x70
je 0x18005d2c6
mov al, dl
and al, 0xfc
cmp al, 0xe0
movsxd rax, dword [rbp - 0x2c]
jne 0x18005d2cb
movsx rax, byte [rbp - 0x2c]
add rdi, rax
mov rax, qword [rbx]
cmp rax, rdi
ja 0x18005d2ea
add rax, r9
cmp rdi, rax
jae 0x18005d2ea
cmp r13, rdi
cmovae rdi, r13
mov r13, rdi
jmp 0x18005d317
mov al, dl
and al, 0xfc
cmp al, 0xe0
je 0x18005d423
movzx ecx, byte [rbp - 0x35]
lea rsi, [rbp - 9]
cmp dl, 0xf
mov qword [rbp - 1], rdi
cmovne ecx, edx
and cl, 0xf
xor cl, 0x71
mov byte [rbp - 9], cl
mov r8d, reloc.WS2_32.dll_recv
mov edx, dword [rbp - 0x45]
cmp r14, r13
jae 0x18005d32c
movzx eax, byte [rbp - 0x41]
cmp r8d, eax
jne 0x18005d423
movzx r12d, byte [rbp - 0x49]
lea eax, [r8 + r12]
cmp eax, 0x32
ja 0x18005d423
cmp dword [rbx + 0x24], 8
jae 0x18005d423
mov eax, dword [rbx + 0x24]
mov edi, r12d
mov r14d, 1
mov ecx, r8d
mov byte [rax + rbx + 0x28], r15b
mov eax, dword [rbx + 0x24]
mov byte [rax + rbx + 0x30], r12b
add r12b, r8b
add rdi, qword [rbx + 0x10]
add dword [rbx + 0x24], r14d
rep movsb byte [rdi], byte [rsi]
add r15b, byte [rbp - 0x41]
xor edi, edi
mov byte [rbp - 0x49], r12b
test edx, edx
je 0x18005d16a
cmp r15b, r9b
jae 0x18005d3f3
mov rdi, qword [rbx]
mov edx, r9d
movzx esi, r15b
movzx ecx, r15b
sub edx, esi
add rcx, rdi
call fcn.18005d454
test eax, eax
jne 0x18005d3f3
lea eax, [r14 + 1]
cmp r15b, al
jae 0x18005d3ba
sub eax, esi
mov edx, eax
call fcn.18005d454
test eax, eax
je 0x18005d423
lea rcx, [rdi - 5]
call fcn.18005c07c
test eax, eax
je 0x18005d423
mov rcx, qword [rbx]
mov al, byte [rcx - 5]
test al, al
je 0x18005d3d9
cmp al, 0x90
je 0x18005d3d9
cmp al, 0xcc
jne 0x18005d423
mov edx, r14d
add rcx, 0xfffffffffffffffc
cmp byte [rcx], al
jne 0x18005d423
add edx, r14d
add rcx, r14
cmp edx, 5
jb 0x18005d3e0
mov dword [rbx + 0x20], r14d
mov rcx, qword [rbx + 8]
mov eax, r14d
mov qword [rbp - 0x13], rcx
mov ecx, dword [rbp - 0x11]
movsd xmm0, qword [rbp - 0x19]
movzx edx, r12b
add rdx, qword [rbx + 0x10]
mov qword [rbx + 0x18], rdx
movsd qword [rdx], xmm0
mov dword [rdx + 8], ecx
movzx ecx, word [rbp - 0xd]
mov word [rdx + 0xc], cx
jmp 0x18005d425
xor eax, eax
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1800be890
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