Function at 0x140234830
Capabilities:
Check for software breakpoints

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov edi, r9d
mov rbx, rdx
mov r14, rcx
mov rax, qword [0x1403acd78]
xor rax, rsp
mov qword [rsp + 0x30], rax
xor ebp, ebp
test r9d, r9d
setne bpl
lea r15, [rsp + 0x2c]
movsxd rax, r8d
lea rsi, [rax - 1]
mov dword [rsp + 0x2c], esi
movzx ecx, byte [rbx + rax - 1]
test cl, cl
js 0x1401f4c10
movzx ecx, cl
movzx ecx, byte [r14 + rcx + 8]
test edi, edi
je 0x1401f4bc0
test cl, cl
je 0x1401f4d6b
add r8d, 0xfffffffe
mov esi, r8d
nop word cs:[rax + rax]
cmp rax, 1
je 0x1401f4d65
mov dword [rsp + 0x2c], esi
movzx ecx, byte [rbx + rax - 2]
test cl, cl
js 0x1401f4c10
movzx ecx, cl
dec esi
dec rax
cmp byte [r14 + rcx + 8], 0
jne 0x1401f4b90
jmp 0x1401f4d69
test cl, cl
jne 0x1401f4d6b
movsxd rax, r8d
add r8d, 0xfffffffe
mov esi, r8d
nop word cs:[rax + rax]
cmp rax, 1
je 0x1401f4d65
mov dword [rsp + 0x2c], esi
movzx ecx, byte [rbx + rax - 2]
test cl, cl
js 0x1401f4c10
movzx ecx, cl
dec esi
dec rax
cmp byte [r14 + rcx + 8], 0
je 0x1401f4be0
jmp 0x1401f4d69
movzx r9d, cl
mov byte [rsp + 0x20], 0xfd
mov rcx, rbx
xor edx, edx
mov r8, r15
call fcn.140247ee0
cmp eax, 0x7ff
jg 0x1401f4c60
mov ecx, eax
and ecx, 0x3f
mov ecx, dword [r14 + rcx*4 + 0x10c]
shr eax, 6
xor edx, edx
bt ecx, eax
setb dl
cmp edx, ebp
je 0x1401f4d57
jmp 0x1401f4d6b
cmp eax, 0xffff
ja 0x1401f4cc4
mov ecx, eax
shr ecx, 0xc
mov edx, eax
shr edx, 6
and edx, 0x3f
mov edx, dword [r14 + rdx*4 + 0x20c]
shr edx, cl
and edx, 0x10001
cmp edx, 1
jbe 0x1401f4c45
mov ecx, ecx
movsxd rdx, dword [r14 + rcx*4 + 0x30c]
mov r8, qword [r14 + 0x358]
cmp dword [r8 + rdx*4], eax
jg 0x1401f4cd8
mov ecx, dword [r14 + rcx*4 + 0x310]
cmp edx, ecx
jge 0x1401f4d50
movsxd r9, ecx
cmp dword [r8 + r9*4 - 4], eax
jle 0x1401f4d50
lea r9d, [rdx + rcx]
jmp 0x1401f4ce3
movsxd rdx, dword [r14 + 0x34c]
mov r8, qword [r14 + 0x358]
cmp dword [r8 + rdx*4], eax
jle 0x1401f4cfd
mov ecx, edx
jmp 0x1401f4d50
mov ecx, r9d
lea r9d, [rcx + rdx]
sar r9d, 1
cmp r9d, edx
je 0x1401f4d50
movsxd r10, r9d
cmp dword [r8 + r10*4], eax
jg 0x1401f4cdc
mov edx, r9d
lea r9d, [rcx + rdx]
jmp 0x1401f4ce3
mov ecx, dword [r14 + 0x350]
cmp edx, ecx
jge 0x1401f4d50
movsxd r9, ecx
cmp dword [r8 + r9*4 - 4], eax
jle 0x1401f4d50
lea r9d, [rdx + rcx]
jmp 0x1401f4d27
mov ecx, r9d
lea r9d, [rcx + rdx]
sar r9d, 1
cmp r9d, edx
je 0x1401f4d50
movsxd r10, r9d
cmp dword [r8 + r10*4], eax
jg 0x1401f4d20
mov edx, r9d
lea r9d, [rcx + rdx]
jmp 0x1401f4d27
and ecx, 1
cmp ecx, ebp
jne 0x1401f4d6b
mov r8d, dword [rsp + 0x2c]
test r8d, r8d
jg 0x1401f4b52
xor esi, esi
jmp 0x1401f4d6d
inc esi
inc esi
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140279500
mov eax, esi
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x1c0
mov ebp, r9d
mov r15d, r8d
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x1403acd78]
xor rax, rsp
mov qword [rsp + 0x1b8], rax
test r8d, r8d
jle 0x14023489f
mov rbx, qword [rdi + 0x28]
test rbx, rbx
je 0x1402348da
mov rcx, qword [rsp + 0x1b8]
xor rcx, rsp
call fcn.140279500
mov rcx, rbx
mov rdx, rsi
mov r8d, r15d
mov r9d, ebp
add rsp, 0x1c0
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
jmp 0x1401f4b20
xor ebx, ebx
test r15d, r15d
js 0x1402348ca
mov rcx, qword [rsp + 0x1b8]
xor rcx, rsp
call fcn.140279500
mov eax, ebx
add rsp, 0x1c0
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov rcx, rsi
call fcn.14028aa50
mov r15, rax
test r15d, r15d
je 0x1402348a6
mov rbx, qword [rdi + 0x58]
test rbx, rbx
je 0x140234915
mov rcx, qword [rsp + 0x1b8]
xor rcx, rsp
call fcn.140279500
mov rcx, rbx
mov rdx, rsi
mov r8d, r15d
mov r9d, ebp
add rsp, 0x1c0
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
jmp fcn.140238cd0
mov r8, qword [rdi + 0x50]
test r8, r8
je 0x140234978
cmp dword [r8 + 8], 0
je 0x140234978
cmp ebp, 1
mov r9d, reloc.WS2_32.dll_shutdown
sbb r9d, 0
lea rcx, [rsp + 0x38]
mov rdx, rdi
call fcn.140236720
cmp dword [rsp + 0x130], 0
je 0x14023496e
lea rdi, [rsp + 0x38]
mov rcx, rdi
mov rdx, rsi
mov r8d, r15d
mov r9d, ebp
call fcn.140238cd0
mov ebx, eax
mov rcx, rdi
call fcn.140236fd0
jmp 0x1402348a6
lea rcx, [rsp + 0x38]
call fcn.140236fd0
xor r12d, r12d
test ebp, ebp
setne r12b
lea r14, [rsp + 0x34]
mov ebx, r15d
nop dword [rax]
movsxd rax, ebx
lea rcx, [rax - 1]
mov dword [rsp + 0x34], ecx
movzx r9d, byte [rsi + rax - 1]
test r9b, r9b
jns 0x1402349bb
mov byte [rsp + 0x20], 0xfd
mov rcx, rsi
xor edx, edx
mov r8, r14
call fcn.140247ee0
mov r9d, eax
mov rax, rdi
nop
mov rcx, qword [rax + 0x28]
test rcx, rcx
jne 0x140234a00
mov rdx, rax
mov rax, qword [rax + 0x58]
test rax, rax
jne 0x1402349c0
xor eax, eax
cmp r9d, 0x10ffff
jg 0x140234a09
mov rcx, qword [rdx + 0x10]
cmp dword [rcx], r9d
jg 0x1402349f4
mov edx, dword [rdx + 0x1c]
lea eax, [rdx - 1]
cmp edx, 2
jge 0x140234a26
and al, 1
jmp 0x140234a09
mov rax, qword [rcx]
mov edx, r9d
call qword [rax + ioctlsocket]
movsx eax, al
cmp r12d, eax
jne 0x1402348a6
mov ebx, dword [rsp + 0x34]
test ebx, ebx
jg 0x140234990
jmp 0x1402348a6
lea r8d, [rdx - 2]
cmp dword [rcx + r8*4], r9d
jle 0x1402349f4
cmp edx, 2
je 0x1402349f4
mov r8d, eax
shr r8d, 1
xor edx, edx
jmp 0x140234a4f
mov edx, r8d
lea r8d, [rax + rdx]
sar r8d, 1
cmp r8d, edx
je 0x1402349f4
movsxd r10, r8d
cmp dword [rcx + r10*4], r9d
jle 0x140234a40
mov eax, r8d
jmp 0x140234a43