Function at 0x140007330
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 r15d, r8b
mov r14, rdx
mov rsi, rcx
lea rbx, [rcx + 8]
mov qword [rbp - 0x29], rbx
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x14000737c
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 0x140007397
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 rax, qword [rsi + 0x60]
cmp qword [rsi + 0x58], rax
je 0x1400073e4
mov rdx, r14
cmp qword [r14 + 0x18], 0xf
jbe 0x1400073ae
mov rdx, qword [r14]
lea rcx, [rsi + 0x1f8]
cmp qword [rsi + 0x210], 0xf
jbe 0x1400073c6
mov rcx, qword [rsi + 0x1f8]
mov r8, qword [rsi + 0x208]
cmp r8, qword [r14 + 0x10]
jne 0x1400073e4
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400073e4
mov dil, 1
jmp 0x140007855
lea rax, [rsi + 0x1e8]
mov r13, qword [rax]
mov rdi, qword [r13 + 8]
cmp byte [rdi + 0x19], 0
jne 0x140007455
mov r12, qword [r14 + 0x10]
mov qword [rbp - 0x49], r12
mov rdx, r14
cmp qword [r14 + 0x18], 0xf
jbe 0x14000740d
mov rdx, qword [r14]
lea rcx, [rdi + 0x20]
cmp qword [rdi + 0x38], 0xf
jbe 0x14000741c
mov rcx, qword [rdi + 0x20]
mov r15, qword [rdi + 0x30]
mov r8, r15
cmp r12, r15
cmovb r8, r12
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400074c0
js 0x1400074c9
mov r13, rdi
mov rdi, qword [rdi]
cmp byte [rdi + 0x19], 0
je 0x140007400
lea rax, [rsi + 0x1e8]
movzx r15d, byte [rbp + 0x77]
cmp byte [r13 + 0x19], 0
jne 0x140007852
lea r8, [r13 + 0x20]
mov rdx, r14
mov rcx, rax
call fcn.140019360
test al, al
jne 0x140007852
test r15b, r15b
jne 0x14000749a
mov rcx, qword [rsi + 0x58]
mov rdx, qword [rsi + 0x60]
cmp rcx, rdx
je 0x14000749a
lea r8, [rsi + 0x58]
call fcn.140016760
mov rax, qword [rsi + 0x58]
mov qword [rsi + 0x60], rax
lea rcx, [rsi + 0x1e8]
mov r8, r14
lea rdx, [rbp - 0x19]
call fcn.1400163a0
mov rcx, qword [rax]
mov rcx, qword [rcx + 0x78]
test rcx, rcx
jne 0x1400074d2
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_]
int3
cmp r15, r12
jae 0x14000743d
mov rdi, qword [rdi + 0x10]
jmp 0x140007443
mov rax, qword [rcx]
call qword [rax + SafeArrayGetElemsize]
mov r12d, eax
xor r13d, r13d
mov edi, r13d
lea rcx, [rsi + 0x58]
test r15b, r15b
jne 0x1400074fe
mov qword [rbp + 0x7f], r12
mov rdx, qword [rcx + 0x10]
sub rdx, qword [rcx]
sar rdx, 4
cmp r12, rdx
jmp 0x140007528
mov r8, qword [rcx]
mov rdi, qword [rcx + 8]
sub rdi, r8
sar rdi, 4
add r12d, edi
mov edx, r12d
mov qword [rbp + 0x7f], rdx
lea rcx, [rsi + 0x58]
mov rax, qword [rcx + 0x10]
sub rax, r8
sar rax, 4
cmp rdx, rax
jbe 0x140007533
lea rdx, [rbp + 0x7f]
call fcn.1400167e0
cmp edi, r12d
jae 0x14000763d
nop dword [rax]
mov r8, r14
lea rdx, [rbp + 0x17]
lea rcx, [rsi + 0x1e8]
call fcn.1400163a0
mov dword [rbp + 0x67], edi
mov rax, qword [rax]
mov rcx, qword [rax + 0xb8]
test rcx, rcx
je 0x140007776
mov rax, qword [rcx]
lea r8, [rbp + 0x67]
mov rdx, rsi
call qword [rax + SafeArrayGetElemsize]
mov rbx, rax
mov qword [rbp - 9], rax
mov ecx, SafeArrayPutElement
call fcn.140066550
mov qword [rbp - 0x39], 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 [rsi + 0x60]
cmp rdx, qword [rsi + 0x68]
je 0x1400075d2
mov qword [rdx], rbx
mov qword [rdx + 8], rax
movdqu xmmword [rbp - 0x59], xmm0
add qword [rsi + 0x60], 0x10
jmp 0x1400075e0
lea r8, [rbp - 0x59]
lea rcx, [rsi + 0x58]
call fcn.14001bae0
nop
mov rcx, qword [rbp - 0x51]
test rcx, rcx
je 0x14000761d
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14000761d
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 0x14000761d
mov rcx, qword [rbp - 0x51]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rsi + 0x60]
mov rcx, qword [rcx - 0x10]
call fcn.14002ba60
inc edi
cmp edi, r12d
jb 0x140007540
movzx r15d, byte [rbp + 0x77]
xor r13d, r13d
mov eax, 1
xchg byte [rsi + 0x120], al
lea rcx, [rsi + 0x1f8]
cmp rcx, r14
je 0x14000766a
mov rdx, r14
cmp qword [r14 + 0x18], 0xf
jbe 0x140007661
mov rdx, qword [r14]
mov r8, qword [r14 + 0x10]
call fcn.140013df0
mov byte [rsi + 0x218], r15b
lea r14, [rsi + 0x258]
call fcn.140066390
mov rcx, qword [r14]
cmp byte [r14 + 0x10], 0
je 0x1400076a4
lea r8, [r14 + 0x18]
lea rdx, [rcx + 0x28]
mov r9, 0xffffffffffffffff
mov rcx, qword [rcx + 0x68]
call fcn.140016e80
mov byte [r14 + 0x10], 0
call fcn.140066390
mov qword [rbp - 0x31], 0xf4240
lea rdx, [rbp - 0x31]
mov rcx, r14
call fcn.140011b60
lea rax, [0x140007c30]
mov qword [rbp - 0x69], rax
mov qword [rbp - 0x61], rsi
mov rdi, qword [r14]
lea rax, [rbp - 0x69]
mov qword [rbp - 1], rax
lea rdx, [rbp - 0x69]
mov ecx, 0x58
call fcn.140004650
mov rbx, rax
mov qword [rbp + 7], rax
mov qword [rax + 0x20], r13
lea rax, [0x14001d570]
mov qword [rbx + 0x28], rax
mov qword [rbx], r13
mov qword [rbx + 8], r13
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], r13
mov dword [rbx + 0x30], r13d
mov dword [rbx + 0x38], r13d
call fcn.140066390
mov qword [rbx + 0x40], rax
movups xmm0, xmmword [rbp - 0x69]
movups xmmword [rbx + 0x48], xmm0
mov qword [rbp + 0xf], rbx
mov byte [r14 + 0x10], 1
lea r9, [r14 + 0x18]
lea rdx, [rdi + 0x28]
mov qword [rsp + 0x20], rbx
lea r8, [r14 + 8]
mov rcx, qword [rdi + 0x68]
call fcn.14001d6e0
nop
cmp dword [rsi + 0x238], 0
je 0x1400077c8
mov rdx, qword [rsi + 0x250]
mov eax, r13d
xchg dword [rdx + 0x34], eax
cmp dword [rsi + 0x238], 0
jne 0x14000777d
mov ecx, 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 [rsi + 0x238], eax
jne 0x140007797
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movups xmm0, xmmword [rsi + 0x230]
movaps xmmword [rbp - 0x19], xmm0
xor edx, edx
lea rcx, [rbp - 0x19]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
je 0x1400077be
mov ecx, 2
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
xorps xmm0, xmm0
movups xmmword [rsi + 0x230], xmm0
lea rax, [rsi + 0x240]
lea rcx, [0x140005a80]
mov qword [rbp - 0x69], rcx
mov qword [rbp - 0x61], rax
mov ecx, SafeArrayGetElemsize
call fcn.140066550
movups xmm0, xmmword [rbp - 0x69]
movups xmmword [rax], xmm0
mov qword [rbp + 0x7f], rax
lea rcx, [rbp - 0x41]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r13d
mov r9, rax
lea r8, [0x14001d960]
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 0x140007842
cmp dword [rsi + 0x238], 0
jne 0x14000783b
movaps xmm1, xmmword [rbp - 0x49]
movups xmmword [rsi + 0x230], xmm1
mov dil, 1
mov rbx, qword [rbp - 0x29]
jmp 0x140007855
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov dword [rbp - 0x41], r13d
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