Function at 0x14003b1b0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, qword [rcx + 8]
mov rsi, rdx
mov rdi, rcx
mov rcx, rsi
lea rdx, [rbx + 0x1488]
call fcn.14003a750
test al, al
jne 0x14003ada9
lea rcx, [rbx + 0x18]
call fcn.14003c510
mov rbx, qword [rdi + 8]
lea rcx, [rbx + 0x1488]
mov rdx, rsi
call fcn.14003a600
mov rcx, qword [rdi + 8]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x14003b1b0
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x100
mov rax, qword [0x1400a82e8]
xor rax, rsp
mov qword [rsp + 0xf0], rax
mov rsi, rcx
cmp dword [rcx + 0x1438], 0
je 0x14003b1ea
call fcn.14003b0c0
xor eax, eax
xchg byte [rsi], al
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov cl, 0xc
call fcn.14004a160
lea rdx, str.Resuming_mining.
mov rcx, rbx
call fcn.140002d00
xor ecx, ecx
call fcn.14004a160
lea rdx, [0x140003c90]
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, [rsp + 0x60]
mov rcx, qword [rsi + 8]
call fcn.140044500
nop
mov rcx, qword [rsi + 8]
call fcn.1400463a0
mov rdi, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov cl, 0xc
call fcn.14004a160
lea rdx, str.New_job__diff
mov rcx, rdi
call fcn.140002d00
xor ecx, ecx
call fcn.14004a160
mov rbx, qword [rsp + 0x98]
mov cl, 0xc
call fcn.14004a160
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_long_unsigned___int64_____ptr64]
xor ecx, ecx
call fcn.14004a160
lea rdx, [0x140003c90]
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov edx, dword [rsi + 0x1428]
mov ebx, dword [rsi + 0x1424]
lea rax, [rsi + 0x9c]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 0x20
mov dword [rsp + 0x50], 0xffffffff
sub edx, ebx
lea rcx, [rsp + 0x40]
cmp edx, 0xffffffff
jne 0x14003b2cc
call fcn.14003ade0
jmp 0x14003b2d3
inc edx
call fcn.14003a930
lea ebp, [rax + rbx]
mov rdi, qword [rsi + 0x1448]
mov rbx, qword [rsi + 0x1440]
cmp rbx, rdi
je 0x14003b309
nop dword [rax]
mov rcx, qword [rbx]
mov rax, qword [rcx]
mov r8d, ebp
lea rdx, [rsp + 0x60]
call qword [rax]
add rbx, 0x10
cmp rbx, rdi
jne 0x14003b2f0
mov ecx, reloc.WS2_32.dll_recv
call fcn.14006b270
test rax, rax
je 0x14003b326
mov qword [rax], rsi
lea rcx, [0x14003b650]
mov qword [rax + 8], rcx
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x140039b50]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14003b3aa
cmp dword [rsi + 0x1438], 0
jne 0x14003b3a3
movaps xmm0, xmmword [rsp + 0x30]
movups xmmword [rsi + 0x1430], xmm0
lea rcx, [rsp + 0x60]
call fcn.14003a3d0
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.14006b910
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov dword [rsp + 0x38], 0
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3