Function at 0x140184460
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov rax, qword [0x1405c5108]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov r15d, edx
mov dword [rsp + 0x30], r15d
xor r14d, r14d
cmp edx, 0x800
jb 0x1401844b2
xor al, al
jmp 0x1401848c7
cmp dword [0x1405cbc98], r15d
je 0x1401848c5
call fcn.140030180
mov qword [rbp - 0x70], rax
mov rdi, r15
lea rsi, [0x14052a3d0]
mov rsi, qword [rsi + r15*8]
mov qword [rbp - 0x78], rsi
mov rbx, qword [0x1405cbc88]
test rbx, rbx
je 0x1401844f8
cmp qword [rbx], rsi
jae 0x140184544
test rbx, rbx
je 0x1401844f8
mov rcx, rbx
call fcn.14007eaa0
mov ecx, 0x28
call fcn.1403de180
mov rbx, rax
mov qword [rsp + 0x38], rax
lea rax, [rsi - 1]
and rax, 0xffffffffffe00000
add rax, 0x200000
mov qword [rbx], rax
mov dword [rbx + 8], r14d
mov qword [rbx + 0x10], rax
xor eax, eax
mov dword [rbx + 0x18], eax
mov qword [rbx + 0x20], r14
lea edx, [rax + 0x40]
mov rcx, qword [rbx]
call fcn.1403ed5b4
mov qword [rbx + 0x20], rax
mov qword [0x1405cbc88], rbx
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
xorps xmm1, xmm1
movups xmmword [rbp - 0x58], xmm1
test r15d, r15d
je 0x1401845b3
nop word [rax + rax]
xor edx, edx
mov r8d, 0xe0
lea rcx, [rbp - 0x40]
call fcn.1403e0ed0
mov dword [rbp + 0x98], 0x80000008
mov r8d, 0x20
lea rdx, [rbp - 0x68]
lea rcx, [rbp - 0x40]
call fcn.1400154d0
lea rcx, [rbp - 0x40]
call fcn.1400156f0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x58], xmm1
sub rdi, 1
jne 0x140184560
mov rbx, qword [0x1405cbc88]
movups xmmword [rbp - 0x68], xmm0
movups xmmword [rbp - 0x58], xmm1
lea r8, [rbp - 0x68]
mov rdx, rsi
mov rcx, qword [rbx + 0x20]
call fcn.140193420
mov rax, qword [0x1405cbc88]
mov rcx, qword [rax + 0x20]
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x68], rsi
mov rdx, rsi
shr rdx, 6
mov dword [rsp + 0x78], edx
lea eax, [rdx - 1]
mov r12d, 1
test edx, eax
jne 0x140184605
mov qword [rsp + 0x7c], r12
bsr eax, edx
mov dword [rbp - 0x7c], eax
jmp 0x140184642
bsr ecx, edx
add ecx, 0x20
mov dword [rbp - 0x7c], ecx
mov r9, r12
shl r9, cl
mov r8d, edx
xor edx, edx
mov rax, r9
div r8
mov rcx, rax
imul rcx, r8
sub r9, rcx
lea rcx, [r9 + r9]
cmp rcx, r8
jae 0x140184638
mov dword [rbp - 0x80], r12d
jmp 0x14018463e
inc eax
mov dword [rbp - 0x80], r14d
mov dword [rsp + 0x7c], eax
lea r13, [rsi + 0xff]
shr r13, 6
mov rbx, r13
shl rbx, 4
mov rdi, qword [0x1405cbca8]
mov rcx, rdi
mov rdx, qword [0x1405cbca0]
sub rcx, rdx
sar rcx, 2
cmp rbx, rcx
jae 0x140184677
lea rax, [rdx + rbx*4]
jmp 0x1401846b9
jbe 0x1401846c0
mov rax, qword [0x1405cbcb0]
sub rax, rdx
sar rax, 2
cmp rbx, rax
jbe 0x14018469d
mov rdx, rbx
lea rcx, [0x1405cbca0]
call fcn.140082260
jmp 0x1401846c0
sub rbx, rcx
lea rbx, [rbx*4]
mov r8, rbx
xor edx, edx
mov rcx, rdi
call fcn.1403e0ed0
lea rax, [rdi + rbx]
mov qword [0x1405cbca8], rax
call fcn.1403dd23c
cmp eax, 1
cmovb eax, r12d
mov r14d, eax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x68], xmm0
xor esi, esi
mov qword [rbp - 0x58], rsi
test eax, eax
je 0x1401848f7
movabs rax, 0xfffffffffffffff
cmp r14, rax
ja 0x140184906
mov edx, r14d
lea rcx, [rbp - 0x68]
call fcn.14017bea0
xor ebx, ebx
xor r15d, r15d
mov rsi, qword [rbp - 0x58]
mov rdi, qword [rbp - 0x60]
lea r8, [0x1405cbc88]
xor edx, edx
mov rax, r15
div r14
mov rcx, rax
lea rax, [r15 + r13]
mov r15, rax
mov qword [rsp + 0x38], rax
xor edx, edx
div r14
mov qword [rsp + 0x40], r8
mov dword [rsp + 0x48], ecx
mov dword [rsp + 0x4c], eax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x50], rax
cmp rdi, rsi
je 0x1401847b1
mov ecx, 0x18
call fcn.1403de180
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rax], xmm0
movsd xmm1, qword [rsp + 0x50]
movsd qword [rax + 0x10], xmm1
mov qword [rsp + 0x40], rax
lea r15, [rdi + 8]
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x140184e20]
xor edx, edx
xor ecx, ecx
call fcn.1403ec4ac
mov qword [rdi], rax
test rax, rax
je 0x140184912
add rdi, 0x10
mov qword [rbp - 0x60], rdi
mov r15, qword [rsp + 0x38]
jmp 0x1401847ca
lea r8, [rsp + 0x40]
mov rdx, rdi
lea rcx, [rbp - 0x68]
call fcn.140184c10
mov rsi, qword [rbp - 0x58]
mov rdi, qword [rbp - 0x60]
inc rbx
cmp rbx, r14
jb 0x140184711
mov r15d, dword [rsp + 0x30]
mov r14, qword [rbp - 0x68]
mov rbx, r14
cmp r14, rdi
je 0x140184833
nop word [rax + rax]
cmp dword [rbx + 8], 0
je 0x14018493a
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [rbx + 8], eax
je 0x14018492f
movups xmm0, xmmword [rbx]
movaps xmmword [rsp + 0x40], xmm0
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.1403dd25c
test eax, eax
jne 0x140184924
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
add rbx, 0x10
cmp rbx, rdi
jne 0x1401847f0
test r14, r14
je 0x14018488a
mov rax, r14
cmp r14, rdi
je 0x140184853
cmp dword [rax + 8], 0
jne 0x140184900
add rax, 0x10
cmp rax, rdi
jne 0x140184840
sub rsi, r14
and rsi, 0xfffffffffffffff0
mov rax, r14
cmp rsi, 0x1000
jb 0x14018487f
add rsi, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14018490c
mov rdx, rsi
mov rcx, r14
call fcn.1403de1bc
mov rax, qword [rbp - 0x78]
mov qword [0x1405cbc90], rax
mov dword [0x1405cbc98], r15d
call fcn.140030180
sub rax, qword [rbp - 0x70]
mov qword [rsp + 0x20], rax
mov r9d, r15d
lea r8, str.e_45_1me_1_37m_miner___e_0m
lea rdx, str._s_e_0_33mKawPowe_0m_light_cache_for_epoch_e_1_37m_ue_0m_calculated_e_1_30m__llums_e_0m
mov ecx, 6
call fcn.1400260f0
mov al, 1
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.1403de160
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov rdi, qword [rbp - 0x60]
jmp 0x1401847db
call fcn.1403e96f8
nop
call fcn.1400041d0
nop
call fcn.1403e528c
nop
mov dword [r15], 0
mov ecx, 6
call fcn.1403dcadc
nop
mov ecx, 2
call fcn.1403dcadc
int3
mov ecx, 5
call fcn.1403dcadc
int3
mov ecx, r12d
call fcn.1403dcadc
int3