Function at 0x140167a20
Capabilities:
Check for time delay via queryperformancecounter
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x58]
sub rsp, 0x120
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
mov r15, rcx
xor r13d, r13d
mov r14d, r13d
mov dword [rbp + 0x68], r13d
mov qword [rbp - 0x80], 0x64
lea rax, [0x14016b6a0]
mov qword [rbp - 0x20], rax
lea rax, [0x14016c870]
mov qword [rbp - 0x18], rax
lea rax, [0x14016dda0]
mov qword [rbp - 0x10], rax
lea rax, [0x14016fce0]
mov qword [rbp - 8], rax
mov qword [rsp + 0x30], r13
xorps xmm7, xmm7
mov qword [rsp + 0x38], r13
movabs rbx, 0x3fffffffffffffff
movsd xmm6, qword [0x1405813c0]
nop word [rax + rax]
mov qword [rbp + 0x70], r13
lea rcx, [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
xorps xmm1, xmm1
cvtsi2sd xmm1, qword [rsp + 0x70]
mulsd xmm1, xmm6
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rsp + 0x78]
divsd xmm1, xmm0
movsd qword [rbp + 0x78], xmm1
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
mov qword [rsp + 0x68], r13
test r15, r15
je 0x140167b37
cmp r15, rbx
ja 0x140167dee
lea rdi, [r15*4]
mov rcx, rdi
call fcn.140004170
mov qword [rsp + 0x58], rax
lea rbx, [rdi + rax]
mov qword [rsp + 0x68], rbx
mov r8, rdi
xor edx, edx
mov rcx, rax
call fcn.1403e0ed0
mov qword [rsp + 0x60], rbx
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov rsi, r13
mov qword [rsp + 0x50], r13
mov rdi, r13
mov rbx, qword [rsp + 0x48]
test r15, r15
je 0x140167c22
nop dword [rax]
mov qword [rbp - 0x68], rdi
lea rax, [rbp - 0x20]
mov qword [rbp - 0x60], rax
lea rax, [rbp + 0x70]
mov qword [rbp - 0x58], rax
lea rax, [rsp + 0x58]
mov qword [rbp - 0x50], rax
lea rax, [rbp + 0x78]
mov qword [rbp - 0x48], rax
lea rax, [rbp - 0x80]
mov qword [rbp - 0x40], rax
cmp rbx, rsi
je 0x140167bfb
mov ecx, gethostbyname
call fcn.1403de180
movups xmm0, xmmword [rbp - 0x68]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rbp - 0x58]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rbp - 0x48]
movups xmmword [rax + 0x20], xmm0
or r14d, 1
mov dword [rbp + 0x68], r14d
mov qword [rbp - 0x30], rax
lea r14, [rbx + 8]
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r13d
mov r9, rax
lea r8, [0x140174140]
xor edx, edx
xor ecx, ecx
call fcn.1403ec4ac
mov qword [rbx], rax
test rax, rax
je 0x140167df4
add rbx, 0x10
mov qword [rsp + 0x48], rbx
mov r14d, dword [rbp + 0x68]
jmp 0x140167c16
lea r8, [rbp - 0x68]
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.140173e60
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
inc rdi
cmp rdi, r15
jb 0x140167b60
mov r12d, r13d
mov r14, r13
mov r13, qword [rsp + 0x40]
test r15, r15
je 0x140167c82
mov rdi, r13
cmp dword [rdi + 8], 0
je 0x140167e18
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [rdi + 8], eax
je 0x140167e0d
movups xmm0, xmmword [rdi]
movaps xmmword [rbp - 0x30], xmm0
xor edx, edx
lea rcx, [rbp - 0x30]
call fcn.1403dd25c
test eax, eax
jne 0x140167e02
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov rax, qword [rsp + 0x58]
add r12d, dword [rax + r14*4]
inc r14
add rdi, 0x10
cmp r14, r15
jb 0x140167c35
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
lea rcx, [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
xorps xmm1, xmm1
cvtsi2sd xmm1, qword [rbp - 0x78]
mulsd xmm1, xmm6
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rbp - 0x70]
divsd xmm1, xmm0
mov eax, r12d
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mulsd xmm0, xmm6
subsd xmm1, qword [rbp + 0x78]
divsd xmm0, xmm1
comisd xmm0, xmm7
jbe 0x140167cdc
mov rdi, qword [rbp + 0x70]
mov qword [rsp + 0x30], rdi
movaps xmm7, xmm0
jmp 0x140167ce1
mov rdi, qword [rsp + 0x30]
test r13, r13
je 0x140167d3b
mov rax, r13
cmp r13, rbx
je 0x140167d03
nop
cmp dword [rax + 8], 0
jne 0x140167e23
add rax, 0x10
cmp rax, rbx
jne 0x140167cf0
sub rsi, r13
and rsi, 0xfffffffffffffff0
mov rax, r13
cmp rsi, 0x1000
jb 0x140167d2f
add rsi, 0x27
mov r13, qword [r13 - 8]
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140167e29
mov rdx, rsi
mov rcx, r13
call fcn.1403de1bc
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140167d77
mov rdx, qword [rsp + 0x68]
sub rdx, rcx
and rdx, 0xfffffffffffffffc
mov rax, rcx
cmp rdx, 0x1000
jb 0x140167d72
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140167de8
call fcn.1403de1bc
mov rax, qword [rbp + 0x70]
inc rax
mov qword [rbp + 0x70], rax
cmp rax, 4
mov r14d, dword [rbp + 0x68]
movabs rbx, 0x3fffffffffffffff
mov r13d, 0
jb 0x140167ab4
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
cmp rax, 3
jb 0x140167ab0
mov rax, qword [rbp + rdi*8 - 0x20]
mov qword [0x1405c5e48], rax
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1403e528c
int3
call fcn.1400041d0
nop
mov dword [r14], r13d
mov ecx, 6
call fcn.1403dcadc
nop
mov ecx, 2
call fcn.1403dcadc
int3
mov ecx, 5
call fcn.1403dcadc
int3
mov ecx, 1
call fcn.1403dcadc
nop
call fcn.1403e96f8
int3
call fcn.1403e528c
int3