Function at 0x18015e260
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov byte [rax + 0x18], r8b
mov byte [rax + 0x10], dl
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x98
movaps xmmword [rax - 0x58], xmm6
movzx r13d, r8b
movzx r14d, dl
mov rsi, rcx
call fcn.18002eaa0
mov r15, rax
mov qword [rbp - 0x29], rax
mov rdi, qword [rsi + 0x58]
mov r12, qword [rsi + 0x60]
cmp rdi, r12
je 0x18015e36f
mov qword [rbp + 0x7f], rsi
lea rcx, [0x18015e970]
mov r15d, dword [rdi]
mov dword [rbp + 0x67], r15d
mov r14, qword [rsi + 0x48]
cmp r14, qword [rsi + 0x50]
je 0x18015e32b
mov ecx, 0x18
call fcn.18031edd0
mov byte [rax], r13b
movzx ecx, byte [rbp + 0x6f]
mov byte [rax + 1], cl
mov dword [rax + 4], r15d
mov qword [rax + 8], rsi
lea rcx, [0x18015e970]
mov qword [rax + 0x10], rcx
mov qword [rbp + 0x67], rax
lea rcx, [r14 + 8]
mov qword [rsp + 0x28], rcx
xor r15d, r15d
mov dword [rsp + 0x20], r15d
mov r9, rax
lea r8, [0x18015f880]
xor edx, edx
xor ecx, ecx
call fcn.18032d054
mov qword [r14], rax
test rax, rax
je 0x18015e63e
add qword [rsi + 0x48], 0x10
jmp 0x18015e359
lea rax, [rbp + 0x77]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x6f]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x67]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x7f]
mov r8, rcx
mov rdx, r14
lea rcx, [rsi + 0x40]
call fcn.18015f290
add rdi, 4
cmp rdi, r12
jne 0x18015e2b1
movzx r14d, byte [rbp + 0x6f]
mov r15, qword [rbp - 0x29]
mov rcx, rsi
call fcn.18015ee80
cmp qword [rsi + 0x38], 0
je 0x18015e3f6
mov rax, qword [rsi + 0x30]
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x18015e3f6
nop dword [rax + rax]
mov rcx, qword [rax + 0x28]
mov rdx, qword [rcx + 0x28]
test rdx, rdx
je 0x18015e3ab
mov ecx, dword [rdx + 0x18]
shr ecx, 1
and cl, 1
jne 0x18015e4a3
mov rcx, qword [rax + 0x10]
cmp byte [rcx + 0x19], 0
je 0x18015e3d8
mov rcx, qword [rax + 8]
cmp byte [rcx + 0x19], 0
jne 0x18015e3d3
nop
cmp rax, qword [rcx + 0x10]
jne 0x18015e3d3
mov rax, rcx
mov rcx, qword [rcx + 8]
cmp byte [rcx + 0x19], 0
je 0x18015e3c0
mov rax, rcx
jmp 0x18015e3f0
mov rax, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], 0
jne 0x18015e3f0
mov rax, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], 0
je 0x18015e3e4
cmp byte [rax + 0x19], 0
je 0x18015e390
mov rbx, qword [rsi + 0x58]
mov ecx, 0x18
call fcn.18031edd0
mov byte [rax], r14b
mov ecx, dword [rbx]
mov dword [rax + 4], ecx
mov qword [rax + 8], rsi
lea rcx, [0x18015eb80]
mov qword [rax + 0x10], rcx
mov qword [rbp + 0x67], rax
lea rcx, [rbp - 0x21]
mov qword [rsp + 0x28], rcx
xor edi, edi
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x18015f820]
xor edx, edx
xor ecx, ecx
call fcn.18032d054
mov qword [rbp - 0x29], rax
test rax, rax
je 0x18015e630
cmp dword [rbp - 0x21], edi
je 0x18015e64d
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [rbp - 0x21], eax
je 0x18015e658
movaps xmm0, xmmword [rbp - 0x29]
movdqa xmmword [rbp - 0x19], xmm0
xor edx, edx
lea rcx, [rbp - 0x19]
call fcn.18031dd30
test eax, eax
jne 0x18015e625
cmp qword [rsi + 8], rdi
jne 0x18015e4a5
movaps xmm6, xmmword [rsp + 0x80]
add rsp, 0x98
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
xor edi, edi
cmp qword [rsi + 0x38], 0
jne 0x18015e526
mov rbx, qword [rsi + 0x58]
mov ecx, 0x30
call fcn.18031edd0
mov qword [rbp + 0x67], rax
mov rcx, qword [rsi + 8]
mov qword [rax], 1
mov qword [rax + 8], rdi
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], rdi
xor ecx, ecx
mov qword [rax + 0x20], rcx
mov qword [rax + 0x28], rdi
mov ecx, dword [rbx]
mov dword [rbp - 0x29], ecx
mov qword [rbp - 0x21], rax
lea rcx, [rsi + 0x30]
lea r8, [rbp - 0x29]
lea rdx, [rbp - 0x19]
call fcn.18015f4d0
call fcn.18002eaa0
sub rax, r15
mov r9, rax
lea r8, str.e_44me_1_37m_randomx_e_0m
lea rdx, str.e_0m_se_1_33mfailed_to_allocate_RandomX_datasets__switching_to_slow_modee_1_30m___llu_ms_e_0m
mov ecx, 4
call fcn.180025c20
mov byte [rsi], 1
mov al, 1
jmp 0x18015e487
cmp qword [rsi + 8], 0
je 0x18015e543
mov rax, qword [rsi + 0x58]
mov edx, dword [rax]
mov rcx, rsi
call fcn.18015e1a0
mov rcx, qword [rsi + 8]
mov qword [rax + 0x10], rcx
lea rdx, [rbp - 0x19]
mov rcx, rsi
call fcn.18015e8c0
mov rbx, qword [rbp - 0x19]
mov rdi, qword [rbp - 0x11]
cmp rbx, rdi
jne 0x18015e565
lea r14, [0x180480dd0]
jmp 0x18015e57a
lea rax, str.e_1_31m
lea r14, str.e_1_33m
test rbx, rbx
cmove r14, rax
xorps xmm6, xmm6
test rdi, rdi
je 0x18015e5d9
test rbx, rbx
js 0x18015e58e
cvtsi2sd xmm6, rbx
jmp 0x18015e5a6
mov rcx, rbx
shr rcx, 1
mov rax, rbx
and eax, 1
or rcx, rax
cvtsi2sd xmm6, rcx
addsd xmm6, xmm6
xorps xmm0, xmm0
test rdi, rdi
js 0x18015e5b5
cvtsi2sd xmm0, rdi
jmp 0x18015e5cd
mov rcx, rdi
shr rcx, 1
mov rax, rdi
and eax, 1
or rcx, rax
cvtsi2sd xmm0, rcx
addsd xmm0, xmm0
divsd xmm6, xmm0
mulsd xmm6, qword [0x1804876e0]
call fcn.18002eaa0
sub rax, r15
mov r9, qword [rbp - 9]
shr r9, 0x14
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rbx
movsd qword [rsp + 0x28], xmm6
mov qword [rsp + 0x20], r14
lea r8, str.e_44me_1_37m_randomx_e_0m
lea rdx, str._se_1_36m___e_0me_1_32mallocatede_0me_1_36m__4zu_MBe_0m_huge_pages__s_3.0f____u__ue_0me_1_30m___llu_ms_e_0m
mov ecx, 6
call fcn.180025c20
mov byte [rsi], 1
mov al, 1
jmp 0x18015e487
mov ecx, 2
call fcn.18031d5f0
nop
mov dword [rbp - 0x21], edi
mov ecx, 6
call fcn.18031d5f0
nop
mov dword [r14 + 8], r15d
mov ecx, 6
call fcn.18031d5f0
nop
mov ecx, 1
call fcn.18031d5f0
int3
mov ecx, 5
call fcn.18031d5f0
int3