Function at 0x140158500
Capabilities:
Create thread

Disassembly:
mov byte [rsp + 0x18], r8b
mov byte [rsp + 0x10], dl
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0x98
mov qword [rbp - 0x29], 0xfffffffffffffffe
movzx r12d, dl
mov r14, rcx
call fcn.140317990
mov rbx, rax
call fcn.140317974
cqo
idiv rbx
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
add rcx, rax
movabs rax, 0x431bde82d7b634db
imul rcx
mov r13, rdx
sar r13, 0x12
mov rax, r13
shr rax, 0x3f
add r13, rax
mov rdi, qword [r14 + 0x58]
xor ecx, ecx
mov esi, ecx
mov r15, qword [r14 + 0x60]
sub r15, rdi
add r15, 3
shr r15, 2
cmp rdi, qword [r14 + 0x60]
cmova r15, rcx
test r15, r15
je 0x1401585ff
nop word [rax + rax]
mov eax, dword [rdi]
mov dword [rbp + 0x67], eax
mov qword [rbp + 0x7f], r14
mov rdx, qword [r14 + 0x48]
lea rax, [rbp + 0x77]
lea r9, [rbp + 0x7f]
lea r8, [0x140158c10]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x6f]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x67]
mov qword [rsp + 0x20], rax
cmp qword [r14 + 0x50], rdx
je 0x1401585e5
call fcn.140159690
add qword [r14 + 0x48], 0x10
jmp 0x1401585ee
lea rcx, [r14 + 0x40]
call fcn.140159740
add rdi, 4
inc rsi
cmp rsi, r15
jne 0x1401585a0
movzx r12d, byte [rbp + 0x6f]
mov rcx, r14
call fcn.140159270
cmp qword [r14 + 0x38], 0
je 0x140158685
mov rcx, qword [r14 + 0x30]
mov rax, qword [rcx]
cmp rax, rcx
je 0x140158685
nop word [rax + rax]
mov rdx, qword [rax + 0x28]
mov r8, qword [rdx + 0x28]
test r8, r8
je 0x14015863c
mov edx, dword [r8 + 0x18]
shr edx, 1
and dl, 1
jne 0x14015871b
mov rdx, qword [rax + 0x10]
cmp byte [rdx + 0x19], 0
je 0x140158668
mov rdx, qword [rax + 8]
cmp byte [rdx + 0x19], 0
jne 0x140158663
cmp rax, qword [rdx + 0x10]
jne 0x140158663
mov rax, rdx
mov rdx, qword [rdx + 8]
cmp byte [rdx + 0x19], 0
je 0x140158650
mov rax, rdx
jmp 0x140158680
mov rax, rdx
mov rdx, qword [rdx]
cmp byte [rdx + 0x19], 0
jne 0x140158680
mov rax, rdx
mov rdx, qword [rdx]
cmp byte [rdx + 0x19], 0
je 0x140158674
cmp rax, rcx
jne 0x140158620
mov rbx, qword [r14 + 0x58]
mov ecx, 0x18
call fcn.1403195d4
mov byte [rax], r12b
mov ecx, dword [rbx]
mov dword [rax + 4], ecx
mov qword [rax + 8], r14
lea rcx, [0x140158ec0]
mov qword [rax + 0x10], rcx
mov qword [rbp + 0x67], rax
lea rcx, [rbp - 0x11]
mov qword [rsp + 0x28], rcx
xor esi, esi
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x140159bb0]
xor edx, edx
xor ecx, ecx
call fcn.140342370
mov qword [rbp - 0x19], rax
test rax, rax
je 0x14015893c
cmp dword [rbp - 0x11], esi
je 0x14015894a
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [rbp - 0x11], eax
je 0x140158955
movaps xmm0, xmmword [rbp - 0x19]
movdqa xmmword [rbp - 9], xmm0
xor edx, edx
lea rcx, [rbp - 9]
call fcn.140317d94
test eax, eax
jne 0x140158931
cmp qword [r14 + 8], rsi
jne 0x14015871d
jmp 0x14015891d
xor esi, esi
cmp qword [r14 + 0x38], 0
jne 0x1401587e3
mov rbx, qword [r14 + 0x58]
mov ecx, 0x30
call fcn.1403195d4
mov qword [rbp + 0x67], rax
mov rdx, qword [r14 + 8]
mov qword [rax], 1
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], rsi
xor ecx, ecx
mov qword [rax + 0x20], rcx
mov qword [rax + 0x28], rsi
mov edx, dword [rbx]
mov dword [rbp - 0x19], edx
mov qword [rbp - 0x11], rax
movzx eax, byte [rbp + 0x67]
mov byte [rsp + 0x20], al
lea r9, [rbp - 0x19]
lea rdx, [rbp - 9]
lea rcx, [r14 + 0x30]
call fcn.14013d9f0
call fcn.140317990
mov rbx, rax
call fcn.140317974
cqo
idiv rbx
mov rcx, rax
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
imul rdx, rcx, 0x3b9aca00
add rdx, rax
movabs rax, 0x431bde82d7b634db
imul rdx
sar rdx, 0x12
mov r9, rdx
shr r9, 0x3f
add r9, rdx
sub r9, r13
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.1400265c0
jmp 0x140158917
mov rbx, qword [r14 + 8]
test rbx, rbx
je 0x1401587fe
mov rax, qword [r14 + 0x58]
mov edx, dword [rax]
mov rcx, r14
call fcn.140158390
mov qword [rax + 0x10], rbx
lea rdx, [rbp - 9]
mov rcx, r14
call fcn.140158b60
mov rdi, qword [rbp - 9]
mov rsi, qword [rbp - 1]
cmp rdi, rsi
jne 0x140158820
lea r15, [0x140455730]
jmp 0x140158835
lea rax, str.e_1_31m
lea r15, str.e_1_33m
test rdi, rdi
cmove r15, rax
call fcn.140317990
mov rbx, rax
call fcn.140317974
cqo
idiv rbx
mov rcx, rax
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
imul rdx, rcx, 0x3b9aca00
add rdx, rax
movabs rax, 0x431bde82d7b634db
imul rdx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
xorps xmm0, xmm0
test rsi, rsi
je 0x1401588da
test rdi, rdi
js 0x14015888f
cvtsi2sd xmm0, rdi
jmp 0x1401588a7
mov rcx, rdi
shr rcx, 1
mov rax, rdi
and eax, 1
or rcx, rax
cvtsi2sd xmm0, rcx
addsd xmm0, xmm0
xorps xmm1, xmm1
test rsi, rsi
js 0x1401588b6
cvtsi2sd xmm1, rsi
jmp 0x1401588ce
mov rcx, rsi
shr rcx, 1
mov rax, rsi
and eax, 1
or rcx, rax
cvtsi2sd xmm1, rcx
addsd xmm1, xmm1
divsd xmm0, xmm1
mulsd xmm0, qword [0x14045b470]
sub rdx, r13
mov r9, qword [rbp + 7]
shr r9, 0x14
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rdi
movsd qword [rsp + 0x28], xmm0
mov qword [rsp + 0x20], r15
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.1400265c0
mov byte [r14], 1
mov al, 1
add rsp, 0x98
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, 2
call fcn.1403175f4
nop
mov dword [rbp - 0x11], esi
mov ecx, 6
call fcn.1403175f4
nop
mov ecx, 1
call fcn.1403175f4
int3
mov ecx, 5
call fcn.1403175f4
int3