Function at 0x14022a1d0
Capabilities:
Check for software breakpoints

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb8
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x14039fd98]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov dword [rsp + 0x4c], r9d
test r9d, r9d
je 0x14022a283
mov qword [rsp + 0x38], rbx
mov rcx, rbx
mov rdx, rdi
mov r8d, esi
mov r9d, 1
call fcn.140225d40
test eax, eax
je 0x14022a2b4
mov r14d, eax
lea rcx, [rsp + 0x9c]
mov qword [rsp + 0x88], rcx
mov qword [rsp + 0x90], 0
mov dword [rsp + 0x98], 0
cmp dword [rsp + 0x4c], 1
jne 0x14022a2f8
mov rax, qword [rsp + 0x38]
mov r15d, dword [rax + 0xf8]
cmp r15d, 0x10
jg 0x14022a2bc
mov dword [rsp + 0x90], reloc.WS2_32.dll_recv
mov r15d, reloc.WS2_32.dll_recv
jmp 0x14022a2ee
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140265fe0
mov rcx, rbx
mov rdx, rdi
mov r8d, esi
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp 0x14022a900
xor r12d, r12d
jmp 0x14022a8cd
mov rcx, r15
call fcn.1401e96d0
test rax, rax
je 0x14022a2de
mov rcx, rax
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x90], r15d
jmp 0x14022a2ee
mov r15d, dword [rsp + 0x90]
mov rcx, qword [rsp + 0x88]
movsxd r8, r15d
xor edx, edx
call fcn.140268830
mov dword [rsp + 0x74], esi
sub esi, r14d
mov dword [rsp + 0x34], esi
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx + 0xd0]
mov r15d, dword [rax + 8]
movsxd rax, r15d
cmp byte [rcx + 0xfc], 0
lea rax, [rax + rax*2]
mov edx, 0
cmovne rdx, rax
add rdx, qword [rcx + 0xe0]
mov qword [rsp + 0x78], rdx
mov qword [rsp + 0x58], r15
jmp 0x14022a357
mov dword [rsp + 0x34], 0
mov r12d, 0
sub r14d, r11d
je 0x14022a8b3
mov rdx, qword [rcx + 0xe8]
cmp dword [rsp + 0x4c], 1
mov qword [rsp + 0x40], r14
jne 0x14022a590
test r15d, r15d
jle 0x14022a6d1
movsxd r8, r14d
lea eax, [r14 + 1]
mov qword [rsp + 0x50], rax
lea rax, [rdi + r8]
mov qword [rsp + 0x68], rax
movsxd rax, dword [rsp + 0x34]
mov qword [rsp + 0x60], rax
xor r12d, r12d
jmp 0x14022a3be
add rdx, rbp
mov rcx, qword [rsp + 0x38]
mov r14, qword [rsp + 0x40]
mov r15, qword [rsp + 0x58]
inc r12
cmp r12, r15
je 0x14022a6d1
mov rax, qword [rcx + 0xd8]
movsxd rbp, dword [rax + r12*4]
test rbp, rbp
je 0x14022a3b2
mov rax, qword [rsp + 0x78]
movzx eax, byte [rax + r12]
cmp eax, 0xff
je 0x14022a450
cmp al, 0xfe
jne 0x14022a4ae
movzx r9d, byte [rdx]
lea r10d, [r9 + 0xb]
mov ecx, 0xffffffff
cmp r10b, 0xcd
jb 0x14022a4ab
cmp ebp, 1
je 0x14022a4ab
movzx r10d, byte [rdx + 1]
mov r11d, r9d
and r11b, 0xf0
cmp r11b, 0xe0
jne 0x14022a458
and r9d, 0xf
lea rax, str._000000000000
movzx r9d, byte [r9 + rax]
shr r10d, 5
bt r9d, r10d
jae 0x14022a4ab
mov ecx, 0xfffffffe
cmp ebp, 2
je 0x14022a4ab
xor ecx, ecx
cmp byte [rdx + 2], 0xc0
setge cl
add ecx, 0xfffffffd
jmp 0x14022a4ab
add rdx, rbp
jmp 0x14022a3b2
cmp r9b, 0xdf
ja 0x14022a46b
xor ecx, ecx
cmp r10b, 0xc0
setl cl
not ecx
jmp 0x14022a4ab
shr r10, 4
lea rax, [0x140333c98]
movzx r10d, byte [r10 + rax]
and r9d, 7
bt r10d, r9d
jae 0x14022a4ab
mov ecx, 0xfffffffe
cmp ebp, 2
je 0x14022a4ab
cmp byte [rdx + 2], 0xbf
jg 0x14022a4ab
mov ecx, 0xfffffffd
cmp ebp, 3
je 0x14022a4ab
xor ecx, ecx
cmp byte [rdx + 3], 0xc0
setl cl
xor ecx, 0xfffffffd
lea eax, [rcx + rbp]
mov ecx, dword [rsp + 0x34]
cmp eax, ecx
mov r13d, ecx
cmovl r13d, eax
mov r9d, ebp
sub r9d, r13d
cmp r14d, r9d
jl 0x14022a3a0
movsxd rbx, r9d
mov rcx, qword [rsp + 0x50]
lea r9d, [rcx + r13]
mov r10d, dword [rsp + 0x34]
cmp eax, r10d
cmovl r10d, eax
sub r9d, r10d
lea r10d, [rbp + 1]
movsxd r11, eax
mov rax, qword [rsp + 0x60]
cmp r11, rax
cmovge r11, rax
sub r11, rbp
add r11, qword [rsp + 0x68]
mov rcx, r8
sub rcx, rbx
cmp byte [rdi + rcx], 0xc0
jl 0x14022a570
mov esi, dword [rsp + 0x98]
add esi, ebx
mov ecx, dword [rsp + 0x90]
cmp esi, ecx
mov eax, 0
cmovl ecx, eax
sub esi, ecx
mov rcx, qword [rsp + 0x88]
movsxd rsi, esi
cmp byte [rcx + rsi], 0
jne 0x14022a570
xor r14d, r14d
mov r15d, r10d
nop
movzx eax, byte [r11 + r14]
cmp al, byte [rdx + r14]
jne 0x14022a570
dec r15d
inc r14
cmp r15d, 1
jg 0x14022a540
cmp dword [rsp + 0x40], ebx
je 0x14022a8a6
mov byte [rcx + rsi], 1
inc dword [rsp + 0x94]
nop dword [rax]
sub r13d, 1
jb 0x14022a3a0
inc rbx
dec r11
cmp r9d, ebx
jne 0x14022a500
jmp 0x14022a3a0
test r15d, r15d
jle 0x14022a6be
mov r8, qword [rcx + 0xd8]
movsxd r9, r14d
lea rax, [rdi + r9]
mov qword [rsp + 0x68], rax
movsxd rax, dword [rsp + 0x34]
mov qword [rsp + 0x60], rax
xor r12d, r12d
xor ebp, ebp
xor r11d, r11d
jmp 0x14022a5d3
mov ebx, ebp
add rdx, r13
mov ebp, ebx
inc r12
cmp r12, r15
je 0x14022a6c3
movsxd r13, dword [r8 + r12*4]
test r13, r13
je 0x14022a5c7
mov rax, qword [rsp + 0x78]
movzx eax, byte [rax + r12]
cmp eax, 0xfe
mov ecx, r13d
cmovb ecx, eax
mov eax, dword [rsp + 0x34]
cmp ecx, eax
mov ebx, eax
cmovl ebx, ecx
mov r10d, r13d
sub r10d, ebx
cmp r14d, r10d
jl 0x14022a5c0
cmp ebx, ebp
jl 0x14022a5c0
movsxd rsi, r10d
mov dword [rsp + 0x50], r11d
movsxd r10, r11d
lea r11d, [r13 + 1]
movsxd r15, ecx
mov rax, qword [rsp + 0x60]
cmp r15, rax
cmovge r15, rax
sub r15, r13
add r15, qword [rsp + 0x68]
nop word cs:[rax + rax]
mov rax, r9
sub rax, rsi
cmp byte [rdi + rax], 0xc0
jl 0x14022a655
cmp ebx, ebp
jg 0x14022a670
cmp rsi, r10
jg 0x14022a670
cmp rsi, r9
jge 0x14022a6a8
lea eax, [rbx - 1]
inc rsi
dec r15
cmp ebx, ebp
mov ebx, eax
jg 0x14022a640
jmp 0x14022a6a8
xor ecx, ecx
mov r14d, r11d
nop word cs:[rax + rax]
movzx eax, byte [r15 + rcx]
cmp al, byte [rdx + rcx]
jne 0x14022a655
dec r14d
inc rcx
cmp r14d, 1
jg 0x14022a680
mov r11d, esi
mov r14, qword [rsp + 0x40]
mov r15, qword [rsp + 0x58]
jmp 0x14022a5c2
mov ebx, ebp
mov r14, qword [rsp + 0x40]
mov r15, qword [rsp + 0x58]
mov r11d, dword [rsp + 0x50]
jmp 0x14022a5c2
xor r11d, r11d
xor ebp, ebp
or ebp, r11d
mov rcx, qword [rsp + 0x38]
jne 0x14022a340
mov edx, dword [rsp + 0x94]
cmp dword [rsp + 0x34], 0
mov eax, dword [rsp + 0x74]
jne 0x14022a720
cmp r14d, eax
je 0x14022a720
test edx, edx
je 0x14022a7d0
movsxd rax, r14d
movzx r9d, byte [rdi + rax - 1]
test r9b, r9b
js 0x14022a80a
mov rcx, qword [rsp + 0x38]
mov edx, r9d
call fcn.1402233a0
mov ecx, 1
test al, al
jne 0x14022a852
jmp 0x14022a728
test edx, edx
je 0x14022a8ab
movsxd rcx, dword [rsp + 0x98]
movsxd rax, dword [rsp + 0x90]
mov rdx, qword [rsp + 0x88]
mov r9, rcx
inc r9
mov r8d, ecx
nop dword [rax]
cmp r9, rax
jge 0x14022a790
lea r10, [r9 + 1]
inc r8d
cmp byte [rdx + r9], 0
mov r9, r10
je 0x14022a750
mov byte [rdx + r10 - 1], 0
dec dword [rsp + 0x94]
mov eax, r8d
sub eax, dword [rsp + 0x98]
mov dword [rsp + 0x98], r8d
jmp 0x14022a7c8
mov r8, 0xffffffffffffffff
nop word [rax + rax]
cmp byte [rdx + r8 + 1], 0
lea r8, [r8 + 1]
je 0x14022a7a0
mov r9d, r8d
mov byte [rdx + r9], 0
dec dword [rsp + 0x94]
sub eax, ecx
mov dword [rsp + 0x98], r8d
add eax, r8d
sub r14d, eax
jmp 0x14022a894
mov rdx, rdi
mov r8d, r14d
mov r9d, 1
call fcn.140225d40
mov r12d, eax
test eax, eax
je 0x14022a8b3
sub r14d, r12d
mov eax, r14d
mov dword [rsp + 0x34], r14d
mov r14d, r12d
mov rcx, qword [rsp + 0x38]
jne 0x14022a357
jmp 0x14022a8b3
dec rax
mov dword [rsp + 0x84], eax
mov byte [rsp + 0x20], 0xfd
mov rcx, rdi
xor edx, edx
lea r8, [rsp + 0x84]
call fcn.140239000
mov esi, r14d
sub esi, dword [rsp + 0x84]
mov rcx, qword [rsp + 0x38]
mov edx, eax
call fcn.1402233a0
mov ecx, esi
neg ecx
test al, al
cmovne ecx, esi
test ecx, ecx
jle 0x14022a728
sub r14d, ecx
je 0x14022a8b0
add ecx, dword [rsp + 0x98]
mov eax, dword [rsp + 0x90]
cmp ecx, eax
mov edx, 0
cmovl eax, edx
sub ecx, eax
mov rax, qword [rsp + 0x88]
movsxd rdx, ecx
cmp byte [rax + rdx], 0
je 0x14022a88d
mov byte [rax + rdx], 0
dec dword [rsp + 0x94]
mov dword [rsp + 0x98], ecx
mov dword [rsp + 0x34], 0
mov rcx, qword [rsp + 0x38]
jmp 0x14022a357
xor r12d, r12d
jmp 0x14022a8bb
mov r12d, r14d
jmp 0x14022a8b3
xor r12d, r12d
mov rcx, qword [rsp + 0x88]
lea rax, [rsp + 0x9c]
cmp rcx, rax
je 0x14022a8cd
call fcn.1401e97a0
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140265fe0
mov eax, r12d
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rdi, rcx
mov rax, qword [0x14039fd98]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rax, qword [rcx + 0xd0]
mov r15d, dword [rax + 8]
movsxd rax, r15d
cmp byte [rcx + 0xfc], 0
lea rax, [rax + rax*2]
mov r12d, 0
cmovne r12, rax
mov rbx, rdx
add r12, qword [rcx + 0xe0]
mov rcx, qword [rdi + 0xc8]
mov rdx, rbx
xor r9d, r9d
call fcn.140225d40
test eax, eax
je 0x14022aa59
mov ebp, eax
movsxd r13, eax
movzx r9d, byte [rbx + r13 - 1]
test r9b, r9b
js 0x14022a9a0
mov rcx, rdi
mov edx, r9d
call fcn.1402233a0
mov r8d, 0xffffffff
test al, al
je 0x14022a9df
jmp 0x14022aa5d
lea rax, [r13 - 1]
mov dword [rsp + 0x2c], eax
mov byte [rsp + 0x20], 0xfd
mov rcx, rbx
xor edx, edx
lea r8, [rsp + 0x2c]
call fcn.140239000
mov r14d, ebp
sub r14d, dword [rsp + 0x2c]
mov rcx, rdi
mov edx, eax
call fcn.1402233a0
mov r8d, r14d
neg r8d
test al, al
cmovne r8d, r14d
test r8d, r8d
jg 0x14022aa5d
test r15d, r15d
jle 0x14022aa50
mov rax, qword [rdi + 0xd8]
mov rcx, qword [rdi + 0xe8]
add r13, rbx
xor edx, edx
jmp 0x14022aa0b
add rcx, r9
inc rdx
cmp rdx, r15
je 0x14022aa50
movsxd r9, dword [rax + rdx*4]
test r9, r9
je 0x14022aa00
cmp byte [r12 + rdx], 0xff
je 0x14022aa00
cmp r9d, ebp
jg 0x14022aa00
mov r10, r13
sub r10, r9
lea r11d, [r9 + 1]
xor r14d, r14d
nop dword [rax]
movzx esi, byte [r10 + r14]
cmp sil, byte [rcx + r14]
jne 0x14022aa00
dec r11d
inc r14
cmp r11d, 1
jg 0x14022aa30
jmp 0x14022aa5d
add r8d, ebp
jne 0x14022a94f
xor esi, esi
jmp 0x14022aa5f
mov esi, ebp
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140265fe0
mov eax, esi
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret