Function at 0x140001a60
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [0x14035e2b0]
xor rax, rsp
mov qword [rbp + 0x18], rax
mov r15, rcx
mov rsi, qword [rbp + 0x90]
mov qword [rbp - 0x50], rsi
xor r12d, r12d
mov dword [rsp + 0x30], r12d
mov rbx, qword [rsi + 8]
test rbx, rbx
je 0x140001ab3
lock inc dword [rbx + 8]
mov rbx, qword [rsi + 8]
mov qword [rsp + 0x50], rbx
mov edi, 0xffffffff
test rbx, rbx
je 0x140001aef
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140001aef
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140001aef
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov ecx, dword [rbp + 0x80]
sub ecx, 0x6000002
je 0x140001c8b
cmp ecx, 4
jne 0x140001caa
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
movups xmmword [rbp - 0x18], xmm0
mov dword [rbp - 0x28], r12d
mov qword [rbp - 0x10], r12
mov r8d, dword [rsi + 0x10]
mov rdx, qword [rsi]
lea rcx, [rbp - 0x28]
call fcn.140004cd0
nop
mov qword [rbp - 8], r12
mov qword [rbp + 8], r12
mov qword [rbp + 0x10], reloc.WS2_32.dll_ntohs
mov byte [rbp - 8], 0
mov dword [rsp + 0x30], 2
cmp dword [rbp - 0x28], 6
jne 0x140001d08
mov eax, dword [rbp - 0x20]
test rax, rax
je 0x140001b90
mov rax, qword [rbp - 0x18]
movups xmm1, xmmword [rax]
movaps xmmword [rbp - 0x70], xmm1
movsd xmm0, qword [rax + 0x10]
movsd qword [rbp - 0x60], xmm0
movd eax, xmm1
cmp eax, 5
jne 0x140001d33
mov r8d, dword [rbp - 0x68]
mov rdx, qword [rbp - 0x60]
lea rcx, [rbp - 8]
call fcn.140005010
nop
mov rbx, qword [rbp - 0x10]
test rbx, rbx
je 0x140001baf
mov rcx, rbx
call fcn.14001c810
mov edx, gethostname
mov rcx, rbx
call fcn.1401dee30
nop
mov ecx, 0x28
call fcn.1401dee38
mov r14, rax
mov qword [rsp + 0x38], rax
lea rdx, [rbp - 8]
lea rcx, [rbp - 0x48]
call fcn.140005470
mov rbx, rax
mov qword [rsp + 0x40], rax
mov qword [r14], r15
lea rcx, [r14 + 8]
mov rdx, rax
call fcn.140005470
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x140001c20
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x140001c1b
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140001d02
mov rcx, r8
call fcn.1401dee30
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], r12d
mov r9, r14
lea r8, [0x1400024f0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
mov rdx, qword [rbp + 0x10]
cmp rdx, 0x10
jb 0x140001caa
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001c84
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001d5d
call fcn.1401dee30
jmp 0x140001caa
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], r12d
mov r9, r15
lea r8, [0x140001f50]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
mov rbx, qword [rsi + 8]
test rbx, rbx
je 0x140001cda
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140001cda
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x140001cda
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbp + 0x18]
xor rcx, rsp
call fcn.1401dee10
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.1401ee17c
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x60]
call fcn.140004860
lea rdx, [0x1403540a0]
lea rcx, [rsp + 0x60]
call fcn.1401e13ec
int3
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], rax
lea rcx, [rsp + 0x78]
call fcn.140004860
lea rdx, [0x1403540a0]
lea rcx, [rsp + 0x78]
call fcn.1401e13ec
nop
call fcn.1401ee17c
int3