Function at 0x140068300
Capabilities:
Resume thread
Suspend thread

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x9f0]
sub rsp, 0xaf0
mov qword [rbp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0xb48], rbx
mov rax, qword [0x1401222f0]
xor rax, rsp
mov qword [rbp + 0x9e0], rax
mov qword [rbp + 0x20], r8
mov r12d, edx
mov rsi, rcx
call fcn.140066040
test eax, eax
je 0x14006893a
xor r14d, r14d
mov qword [rbp - 0x70], r14
mov rcx, qword [rsi + 0x30]
mov rax, qword [rcx]
lea r8, [rbp - 0x70]
mov edx, r12d
call qword [rax + 0x78]
mov r8d, r12d
mov ecx, 0x1f03ff
cmp qword [rbp - 0x70], r14
jne 0x1400683a5
lea edx, [r14 + 1]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rbx, rax
test rax, rax
je 0x14006839d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r13d, r14d
jmp 0x140068928
mov r13d, 1
mov edx, r13d
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rbx, rax
test rax, rax
je 0x1400683ce
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r14
mov qword [rsp + 0x78], rcx
mov rax, qword [rbp - 0x70]
test rax, rax
je 0x140068404
mov r9, qword [rax]
lea r8, [rsp + 0x78]
lea rdx, [0x1400e79b0]
mov rcx, rax
call qword [r9]
mov rcx, qword [rsp + 0x78]
test eax, eax
cmovs rcx, r14
mov qword [rsp + 0x78], rcx
test rcx, rcx
jne 0x14006841c
mov edx, r12d
mov rcx, rsi
call fcn.140066de0
mov r13d, r14d
jmp 0x140068917
mov qword [rbp - 0x78], r14
mov rax, qword [rcx]
lea rdx, [rbp - 0x78]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
test eax, eax
je 0x140068441
mov edx, r12d
mov rcx, rsi
call fcn.140066de0
mov r13d, r14d
jmp 0x140068907
mov dword [rbp - 0x58], r14d
mov dword [rbp - 0x64], r14d
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], r14
xorps xmm1, xmm1
movdqu xmmword [rbp - 8], xmm1
mov dword [rbp + 8], 0xa
mov dword [rbp - 0x60], r14d
movdqu xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], r14
movdqu xmmword [rbp - 0x38], xmm1
mov dword [rbp - 0x28], 0xa
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x70]
mov rdx, qword [rsp + 0x78]
mov rcx, rsi
call fcn.1400653d0
test eax, eax
jne 0x1400684a0
mov r13d, r14d
jmp 0x1400687e5
mov qword [rbp + 0x28], r14
mov dword [rbp - 0x80], r14d
mov dword [rbp - 0x5c], r14d
mov rdi, r14
mov qword [rbp + 0x18], r14
mov rbx, r14
mov qword [rbp + 0x10], rbx
mov r14d, dword [rsp + 0x60]
mov r15, qword [rsp + 0x70]
cmp dword [rbp - 0x80], 1
jne 0x140068573
mov qword [rbp + 0x30], rdi
test rdi, rdi
je 0x1400684e1
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_htonl]
nop
test rdi, rdi
je 0x140068565
xor eax, eax
mov dword [rsp + 0x60], eax
mov qword [rsp + 0x68], rax
mov rax, qword [rdi]
lea r8, [rsp + 0x68]
lea rdx, [0x1400e79c0]
mov rcx, rdi
call qword [rax]
mov rcx, qword [rsp + 0x68]
test eax, eax
mov eax, 0
cmovs rcx, rax
mov qword [rsp + 0x68], rcx
test rcx, rcx
je 0x140068559
mov rax, qword [rcx]
lea rdx, [rsp + 0x60]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
cmp dword [rsp + 0x60], 1
jne 0x140068554
cmp rbx, rdi
je 0x140068554
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_htonl]
mov rcx, rbx
mov rbx, rdi
mov qword [rbp + 0x10], rbx
test rcx, rcx
je 0x140068554
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140068565
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
test rdi, rdi
je 0x140068573
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
xor eax, eax
mov qword [rbp + 0x18], rax
mov qword [rsp + 0x68], rdi
lea rax, [rbp - 0x60]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], r14d
mov qword [rsp + 0x30], r15
lea rax, [rbp - 0x80]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x5c]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x68]
mov r8, qword [rbp - 0x78]
mov rdx, qword [rsp + 0x78]
mov rcx, rsi
call fcn.1400660f0
mov rdi, qword [rsp + 0x68]
mov qword [rbp + 0x18], rdi
test eax, eax
je 0x1400686ba
test rbx, rbx
je 0x1400686ba
mov qword [rbp + 0x30], rdi
test rdi, rdi
je 0x1400685e6
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_htonl]
nop
test rdi, rdi
je 0x1400686a3
xor eax, eax
mov qword [rsp + 0x60], rax
mov rax, qword [rbx]
lea r8, [rsp + 0x60]
lea rdx, [0x1400e79c0]
mov rcx, rbx
call qword [rax]
mov rcx, qword [rsp + 0x60]
test eax, eax
mov eax, 0
cmovs rcx, rax
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x70], rax
mov rax, qword [rdi]
lea r8, [rsp + 0x70]
lea rdx, [0x1400e79c0]
mov rcx, rdi
call qword [rax]
mov rdx, qword [rsp + 0x70]
test eax, eax
mov eax, 0
cmovs rdx, rax
mov qword [rsp + 0x70], rdx
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
lea r8, [rbp - 0x68]
call qword [rax + 0x20]
test eax, eax
jne 0x140068729
cmp dword [rbp - 0x68], 1
jne 0x140068681
mov rcx, rbx
xor eax, eax
mov ebx, eax
mov qword [rbp + 0x10], rax
test rcx, rcx
je 0x140068681
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140068692
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x1400686a3
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
test rdi, rdi
je 0x1400684c4
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x1400684c4
mov edx, r12d
mov rcx, rsi
cmp eax, 1
jne 0x140068769
mov rax, qword [rbp + 0x20]
mov qword [rsp + 0x58], rax
lea rax, [rbp + 0x28]
mov qword [rsp + 0x50], rax
lea rax, [rbp + 0x40]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x64]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x510]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x58]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp - 0x78]
mov r8, rdi
call fcn.140068970
test eax, eax
je 0x140068756
jmp 0x1400684c4
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14006873a
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14006874b
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x140068761
mov edx, r12d
mov rcx, rsi
call fcn.140066de0
xor r14d, r14d
mov r13d, r14d
jmp 0x1400687c7
lea rax, [rbp - 0x50]
mov qword [rsp + 0x28], rax
movabs rax, 0x7fffffffffffffff
mov qword [rsp + 0x20], rax
mov r9d, 0x4d0
lea r8, [rbp + 0x40]
call fcn.140067640
mov r9, qword [rbp + 0x20]
lea r8, [rbp - 0x50]
lea rdx, [rbp - 0x20]
mov rcx, rsi
call fcn.140066f40
lea rcx, [rbp - 0x50]
call fcn.140066ca0
mov edx, r12d
mov rcx, rsi
call fcn.140066de0
mov rdx, qword [rbp + 0x20]
mov rcx, rsi
call fcn.140064a80
xor r14d, r14d
test rbx, rbx
je 0x1400687d6
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
test rdi, rdi
je 0x1400687e5
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
cmp qword [rbp - 0x40], 0
jbe 0x14006884e
nop dword [rax]
mov rbx, qword [rbp - 0x50]
mov eax, r14d
test rbx, rbx
setne al
test eax, eax
je 0x140068843
mov rax, qword [rbx]
mov qword [rbp - 0x50], rax
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140068817
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rax, qword [rbp - 0x30]
mov qword [rbx], rax
mov qword [rbp - 0x30], rbx
mov rax, qword [rbp - 0x40]
dec rax
mov qword [rbp - 0x40], rax
jne 0x14006883c
lea rcx, [rbp - 0x50]
call fcn.140066ca0
mov rax, qword [rbp - 0x40]
test rax, rax
jne 0x1400687f0
jmp 0x14006884e
mov ecx, 0x80004005
call fcn.140044890
int3
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x30], r14
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x140068877
mov rbx, qword [rcx]
call fcn.1400a82b0
mov rcx, rbx
test rbx, rbx
jne 0x140068863
mov qword [rbp - 0x38], r14
cmp qword [rbp - 0x10], 0
jbe 0x1400688de
nop
mov rbx, qword [rbp - 0x20]
mov eax, r14d
test rbx, rbx
setne al
test eax, eax
je 0x1400688d3
mov rax, qword [rbx]
mov qword [rbp - 0x20], rax
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400688a7
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rax, qword [rbp]
mov qword [rbx], rax
mov qword [rbp], rbx
mov rax, qword [rbp - 0x10]
dec rax
mov qword [rbp - 0x10], rax
jne 0x1400688cc
lea rcx, [rbp - 0x20]
call fcn.140066ca0
mov rax, qword [rbp - 0x10]
test rax, rax
jne 0x140068880
jmp 0x1400688de
mov ecx, 0x80004005
call fcn.140044890
int3
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
mov qword [rbp], r14
mov rcx, qword [rbp - 8]
test rcx, rcx
je 0x140068907
mov rbx, qword [rcx]
call fcn.1400a82b0
mov rcx, rbx
test rbx, rbx
jne 0x1400688f3
mov qword [rbp - 8], r14
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x140068917
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x140068928
mov rdx, qword [rcx]
call qword [rdx + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x140068937
mov rdx, qword [rcx]
call qword [rdx + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov eax, r13d
mov rcx, qword [rbp + 0x9e0]
xor rcx, rsp
call fcn.1400ab140
mov rbx, qword [rsp + 0xb48]
add rsp, 0xaf0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp