Function at 0x14000a460
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 0x14000a4b3
lock inc dword [rbx + 8]
mov rbx, qword [rsi + 8]
mov qword [rsp + 0x50], rbx
mov edi, 0xffffffff
test rbx, rbx
je 0x14000a4ef
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14000a4ef
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 0x14000a4ef
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, dword [rbp + 0x80]
cmp eax, 0x1000003
je 0x14000a6b1
cmp eax, 0x3000002
jne 0x14000a6d0
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 0x14000a72e
mov eax, dword [rbp - 0x20]
test rax, rax
je 0x14000a591
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 0x14000a759
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 0x14000a5b0
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
lea rcx, [r14 + 8]
mov qword [rcx], r12
mov qword [rcx + 0x10], r12
mov qword [rcx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rcx], 0
mov qword [r14], r15
cmp rcx, rax
je 0x14000a60c
mov rdx, rax
cmp qword [rax + 0x18], 0x10
jb 0x14000a602
mov rdx, qword [rax]
mov r8, qword [rax + 0x10]
call fcn.140005010
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14000a646
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14000a641
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000a728
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, [0x14000a9c0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
mov rdx, qword [rbp + 0x10]
cmp rdx, 0x10
jb 0x14000a6d0
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a6aa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000a783
call fcn.1401dee30
jmp 0x14000a6d0
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], r12d
mov r9, r15
lea r8, [0x14000ab60]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
mov rbx, qword [rsi + 8]
test rbx, rbx
je 0x14000a700
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14000a700
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x14000a700
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