Function at 0x140007320
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov byte [rsp + 0x18], r8b
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xc0
movzx r13d, r8b
mov r14, rdx
mov r15, rcx
lea rbx, [rcx + 8]
mov qword [rbp - 0x39], rbx
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x14000736c
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov eax, dword [rbx + 0x4c]
cmp eax, 0x7fffffff
jne 0x140007387
dec eax
mov dword [rbx + 0x4c], eax
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov r12, qword [r15 + 0x58]
cmp r12, qword [r15 + 0x60]
je 0x1400073e1
mov rdx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x14000739e
mov rdx, qword [r14]
lea rcx, [r15 + 0x1f8]
cmp qword [r15 + 0x210], 0x10
jb 0x1400073b6
mov rcx, qword [r15 + 0x1f8]
lea r9, [r14 + 0x10]
mov qword [rbp + 0x7f], r9
mov r8, qword [r15 + 0x208]
cmp r8, qword [r9]
jne 0x1400073e9
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400073db
mov dil, 1
jmp 0x140007869
mov r9, qword [rbp + 0x7f]
jmp 0x1400073e9
lea r9, [r14 + 0x10]
mov qword [rbp + 0x7f], r9
lea rcx, [r15 + 0x1e8]
mov rax, qword [rcx]
mov qword [rbp + 0x67], rax
mov rdi, qword [rax + 8]
cmp byte [rdi + 0x19], 0
jne 0x14000746d
mov r13, qword [r9]
mov qword [rbp - 0x29], r13
nop dword [rax + rax]
mov rdx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x14000741d
mov rdx, qword [r14]
lea rcx, [rdi + 0x20]
cmp qword [rdi + 0x38], 0x10
jb 0x14000742c
mov rcx, qword [rdi + 0x20]
mov r12, qword [rdi + 0x30]
mov r8, r12
cmp r13, r12
cmovb r8, r13
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400074d6
js 0x1400074df
mov rax, rdi
mov qword [rbp + 0x67], rax
mov rdi, qword [rdi]
cmp byte [rdi + 0x19], 0
je 0x140007410
mov r12, qword [r15 + 0x58]
lea rcx, [r15 + 0x1e8]
movzx r13d, byte [rbp + 0x77]
cmp byte [rax + 0x19], 0
jne 0x140007866
lea r8, [rax + 0x20]
mov rdx, r14
call fcn.140019720
test al, al
jne 0x140007866
test r13b, r13b
jne 0x1400074ad
mov rdx, qword [r15 + 0x60]
cmp r12, rdx
je 0x1400074ad
lea r8, [r15 + 0x58]
mov rcx, r12
call fcn.140016ce0
mov rax, qword [r15 + 0x58]
mov qword [r15 + 0x60], rax
mov r8, r14
lea rdx, [rbp - 0x49]
lea rbx, [r15 + 0x1e8]
mov rcx, rbx
call fcn.140016920
mov rcx, qword [rax]
mov rcx, qword [rcx + 0x78]
test rcx, rcx
jne 0x1400074ec
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_]
int3
cmp r12, r13
jae 0x14000744d
mov rdi, qword [rdi + 0x10]
mov rax, qword [rbp + 0x67]
jmp 0x140007457
mov rax, qword [rcx]
call qword [rax + SafeArrayGetElemsize]
mov r12d, eax
xor edi, edi
test r13b, r13b
lea r13, [r15 + 0x68]
jne 0x140007514
mov edx, r12d
mov rcx, qword [r13]
sub rcx, qword [r15 + 0x58]
sar rcx, 4
cmp r12, rcx
jmp 0x140007535
mov rdi, qword [r15 + 0x60]
sub rdi, qword [r15 + 0x58]
sar rdi, 4
add r12d, edi
mov edx, r12d
mov rax, qword [r13]
sub rax, qword [r15 + 0x58]
sar rax, 4
cmp rdx, rax
jbe 0x140007540
lea rcx, [r15 + 0x58]
call fcn.140013870
cmp edi, r12d
jae 0x140007648
nop dword [rax]
mov r8, r14
lea rdx, [rbp + 0xf]
mov rcx, rbx
call fcn.140016920
mov dword [rbp + 0x67], edi
mov rax, qword [rax]
mov rcx, qword [rax + 0xb8]
test rcx, rcx
je 0x140007785
mov rax, qword [rcx]
lea r8, [rbp + 0x67]
mov rdx, r15
call qword [rax + SafeArrayGetElemsize]
mov rbx, rax
mov qword [rbp - 0x19], rax
mov ecx, SafeArrayPutElement
call fcn.140066e10
mov qword [rbp - 0x11], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rcx, vtable.std::_Ref_count_class_dev::eth::Miner_.0
mov qword [rax], rcx
mov qword [rax + 0x10], rbx
mov qword [rbp - 0x59], rbx
mov qword [rbp - 0x51], rax
mov rdx, qword [r15 + 0x60]
cmp rdx, qword [r13]
je 0x1400075de
mov qword [rdx], rbx
mov qword [rdx + 8], rax
movdqu xmmword [rbp - 0x59], xmm0
add qword [r15 + 0x60], 0x10
jmp 0x1400075ec
lea r8, [rbp - 0x59]
lea rcx, [r15 + 0x58]
call fcn.14001be00
nop
mov rcx, qword [rbp - 0x51]
test rcx, rcx
je 0x140007629
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140007629
mov rbx, qword [rbp - 0x51]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140007629
mov rcx, qword [rbp - 0x51]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [r15 + 0x60]
mov rcx, qword [rcx - 0x10]
call fcn.14002bcf0
inc edi
cmp edi, r12d
lea rbx, [r15 + 0x1e8]
jb 0x140007550
mov eax, 1
xchg byte [r15 + 0x120], al
lea rcx, [r15 + 0x1f8]
cmp rcx, r14
je 0x140007679
cmp qword [r14 + 0x18], 0x10
jb 0x14000766a
mov r14, qword [r14]
mov r8, qword [rbp + 0x7f]
mov r8, qword [r8]
mov rdx, r14
call fcn.140014360
movzx eax, byte [rbp + 0x77]
mov byte [r15 + 0x218], al
lea rsi, [r15 + 0x258]
call fcn.140066c50
mov rcx, qword [rsi]
cmp byte [rsi + 0x10], 0
je 0x1400076b5
lea r8, [rsi + 0x18]
lea rdx, [rcx + 0x28]
mov r9, 0xffffffffffffffff
mov rcx, qword [rcx + 0x68]
call fcn.1400171f0
mov byte [rsi + 0x10], 0
call fcn.140066c50
mov qword [rbp + 0x7f], 0xf4240
lea rdx, [rbp + 0x7f]
mov rcx, rsi
call fcn.140011cc0
lea rax, [0x140007c90]
mov qword [rbp - 0x69], rax
mov qword [rbp - 0x61], r15
mov rdi, qword [rsi]
lea rax, [rbp - 0x69]
mov qword [rbp - 9], rax
lea rdx, [rbp - 0x69]
mov ecx, 0x58
call fcn.1400046d0
mov rbx, rax
mov qword [rbp - 1], rax
xor r12d, r12d
mov qword [rax + 0x20], r12
lea rax, [0x14001d8a0]
mov qword [rbx + 0x28], rax
mov qword [rbx], r12
mov qword [rbx + 8], r12
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], r12
mov dword [rbx + 0x30], r12d
mov dword [rbx + 0x38], r12d
call fcn.140066c50
mov qword [rbx + 0x40], rax
movups xmm0, xmmword [rbp - 0x69]
movups xmmword [rbx + 0x48], xmm0
mov qword [rbp + 7], rbx
mov byte [rsi + 0x10], 1
lea r9, [rsi + 0x18]
lea rdx, [rdi + 0x28]
mov qword [rsp + 0x20], rbx
lea r8, [rsi + 8]
mov rcx, qword [rdi + 0x68]
call fcn.14001da10
nop
cmp dword [r15 + 0x238], r12d
je 0x1400077da
mov rdx, qword [r15 + 0x250]
mov eax, r12d
xchg dword [rdx + 0x34], eax
cmp dword [r15 + 0x238], r12d
jne 0x14000778c
lea ecx, [r12 + 1]
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_]
int3
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [r15 + 0x238], eax
jne 0x1400077a7
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movups xmm0, xmmword [r15 + 0x230]
movaps xmmword [rbp - 0x29], xmm0
xor edx, edx
lea rcx, [rbp - 0x29]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
je 0x1400077cf
mov ecx, 2
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
xorps xmm0, xmm0
movups xmmword [r15 + 0x230], xmm0
lea rax, [r15 + 0x240]
lea rcx, [0x140005b00]
mov qword [rbp - 0x69], rcx
mov qword [rbp - 0x61], rax
mov ecx, SafeArrayGetElemsize
call fcn.140066e10
movups xmm0, xmmword [rbp - 0x69]
movups xmmword [rax], xmm0
mov qword [rbp - 0x29], rax
lea rcx, [rbp - 0x41]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r12d
mov r9, rax
lea r8, [0x14001dc90]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x49], rax
test rax, rax
je 0x140007856
cmp dword [r15 + 0x238], 0
jne 0x14000784f
movaps xmm1, xmmword [rbp - 0x49]
movups xmmword [r15 + 0x230], xmm1
mov dil, 1
mov rbx, qword [rbp - 0x39]
jmp 0x140007869
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov dword [rbp - 0x41], r12d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
xor dil, dil
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
movzx eax, dil
mov rbx, qword [rsp + 0x108]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret