Function at 0x1400ba910
Capabilities:
Create thread

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x600
mov rax, qword [0x140304470]
xor rax, rsp
mov qword [rsp + 0x5f8], rax
mov rdi, rcx
xor eax, eax
mov r15d, eax
mov dword [rsp + 0x38], eax
mov qword [r11 - 0x2e8], rax
mov qword [r11 - 0x2d8], rax
mov ecx, reloc.WS2_32.dll_ntohs
mov qword [r11 - 0x2d0], rcx
mov byte [rsp + 0x340], al
lea rdx, [0x1402b3c74]
mov qword [r11 - 0x2c8], rdx
xorps xmm0, xmm0
movups xmmword [rsp + 0x368], xmm0
movups xmmword [rsp + 0x378], xmm0
xorps xmm1, xmm1
movups xmmword [rsp + 0x390], xmm1
movups xmmword [rsp + 0x3a0], xmm1
mov qword [r11 - 0x278], rdx
movups xmmword [rsp + 0x3b8], xmm0
movups xmmword [rsp + 0x3c8], xmm0
mov qword [r11 - 0x250], rdx
movups xmmword [rsp + 0x3e0], xmm1
movups xmmword [rsp + 0x3f0], xmm1
mov byte [rsp + 0x404], al
mov byte [rsp + 0x40c], al
mov qword [r11 - 0x218], rax
mov word [rsp + 0x418], ax
mov qword [r11 - 0x208], rax
mov qword [r11 - 0x1f0], rcx
mov qword [r11 - 0x1f8], 7
mov eax, dword [str.progpow]
mov dword [rsp + 0x420], eax
movzx eax, word [0x1402b861c]
mov word [rsp + 0x424], ax
movzx eax, byte [0x1402b861e]
mov byte [rsp + 0x426], al
mov byte [rsp + 0x427], 0
mov qword [r11 - 0x338], rdx
xorps xmm2, xmm2
movups xmmword [rsp + 0x2f8], xmm2
movups xmmword [rsp + 0x308], xmm2
movups xmm0, xmmword [rsp + 0x2f0]
movups xmmword [rsp + 0x388], xmm0
movups xmm1, xmmword [rsp + 0x300]
movups xmmword [rsp + 0x398], xmm1
unpckhpd xmm2, xmm2
movsd qword [rsp + 0x3a8], xmm2
mov r12, 0xffffffffffffffff
mov r13d, r12d
lea rsi, [rdi + 0x518]
mov ebx, dword [rdi + 0x568]
mov r14, qword [rsi + 8]
mov rdx, qword [rsi]
mov rcx, r14
sub rcx, rdx
sar rcx, 3
cmp rbx, rcx
jae 0x1400baaae
lea rax, [rdx + rbx*8]
jmp 0x1400baae9
jbe 0x1400baaed
mov rax, qword [rsi + 0x10]
sub rax, rdx
sar rax, 3
cmp rbx, rax
jbe 0x1400baacd
mov rdx, rbx
mov rcx, rsi
call fcn.1400bebb0
jmp 0x1400baaed
sub rbx, rcx
lea rbx, [rbx*8]
mov r8, rbx
xor edx, edx
mov rcx, r14
call sub.VCRUNTIME140.dll_memset
lea rax, [r14 + rbx]
mov qword [rsi + 8], rax
lea rsi, [rdi + 0x530]
mov ebx, dword [rdi + 0x568]
mov r14, qword [rsi + 8]
mov rdx, qword [rsi]
mov rcx, r14
sub rcx, rdx
sar rcx, 3
cmp rbx, rcx
jae 0x1400bab16
lea rax, [rdx + rbx*8]
jmp 0x1400bab51
jbe 0x1400bab55
mov rax, qword [rsi + 0x10]
sub rax, rdx
sar rax, 3
cmp rbx, rax
jbe 0x1400bab35
mov rdx, rbx
mov rcx, rsi
call fcn.1400bebb0
jmp 0x1400bab55
sub rbx, rcx
lea rbx, [rbx*8]
mov r8, rbx
xor edx, edx
mov rcx, r14
call sub.VCRUNTIME140.dll_memset
lea rax, [r14 + rbx]
mov qword [rsi + 8], rax
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x18]
test al, al
jne 0x1400bab8f
mov rcx, qword [rsp + 0x5f8]
xor rcx, rsp
call fcn.140218dc0
lea r11, [rsp + 0x600]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r14d, r14d
nop dword [rax]
nop word [rax + rax]
mov eax, dword [rdi + 0x80]
nop
cmp eax, 1
jne 0x1400baca2
lock cmpxchg byte [rdi + 0x500], r14b
lea rbx, [rdi + 0x298]
mov rcx, rbx
jne 0x1400bb177
mov qword [rsp + 0x38], rbx
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x1400babe1
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
nop
lea rdx, [rdi + 0x3e0]
lea rcx, [rsp + 0x460]
call fcn.1400589c0
or r15d, 1
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
nop
lea rax, [0x1402b3c74]
mov qword [rsp + 0x560], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x568], xmm0
movups xmmword [rsp + 0x578], xmm0
mov r8d, 0x20
lea rdx, [rsp + 0x568]
lea rcx, [rsp + 0x4b0]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
sete al
test al, al
je 0x1400bac68
lea rcx, [rsp + 0x540]
call fcn.140034440
lea rcx, [rsp + 0x460]
call fcn.140034440
jmp 0x1400baba0
cmp byte [rsp + 0x524], 0
je 0x1400bacdc
cmp r13d, dword [rsp + 0x520]
je 0x1400bacdc
mov rcx, rdi
call fcn.14005e750
test al, al
jne 0x1400bacb6
lea rcx, [rsp + 0x540]
call fcn.140034440
lea rcx, [rsp + 0x460]
call fcn.140034440
call fcn.140202980
mov ebx, eax
test eax, eax
jne 0x1400bb2b6
jmp 0x1400bb228
cmp byte [rsp + 0x524], 0
je 0x1400bb36d
mov r13d, dword [rsp + 0x520]
movzx eax, byte [rdi + 0x500]
nop
test al, al
jne 0x1400bac49
cmp byte [rsp + 0x52c], 0
je 0x1400bb372
mov eax, 0xaaaaaaab
mul dword [rsp + 0x528]
shr edx, 1
mov esi, edx
cmp qword [rdi + 0x3c8], 0
jne 0x1400bada3
mov qword [rdi + 0x3c8], rsi
mov rcx, qword [rdi + 0x3d0]
test rcx, rcx
je 0x1400bad20
call fcn.1400212f0
mov ecx, reloc.WS2_32.dll_recv
call fcn.140219078
mov rbx, rax
mov qword [rsp + 0x58], rax
mov ecx, 8
call fcn.140219078
mov qword [rax], rdi
mov qword [rsp + 0x60], rax
or r15d, 2
lea r14, [rbx + 8]
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x1400bed20]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbx], rax
test rax, rax
je 0x1400bae6a
mov rcx, qword [rdi + 0x3d0]
mov qword [rdi + 0x3d0], rbx
test rcx, rcx
je 0x1400bada0
cmp dword [rcx + 8], 0
jne 0x1400bb026
mov edx, reloc.WS2_32.dll_recv
call fcn.1402193dc
xor r14d, r14d
cmp r12, rsi
je 0x1400bb037
mov rcx, qword [rdi + 0x3d0]
test rcx, rcx
je 0x1400badbd
call fcn.1400212f0
cmp rsi, qword [rdi + 0x3c8]
je 0x1400baecb
mov qword [rdi + 0x3c8], rsi
mov ecx, reloc.WS2_32.dll_recv
call fcn.140219078
mov rbx, rax
mov qword [rsp + 0x68], rax
mov ecx, 8
call fcn.140219078
mov qword [rax], rdi
mov qword [rsp + 0x70], rax
or r15d, 4
lea r14, [rbx + 8]
mov qword [rsp + 0x28], r14
xor r12d, r12d
mov dword [rsp + 0x20], r12d
mov r9, rax
lea r8, [0x1400bed20]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbx], rax
test rax, rax
je 0x1400baf87
mov rcx, qword [rdi + 0x3d0]
mov qword [rdi + 0x3d0], rbx
test rcx, rcx
je 0x1400bae51
cmp dword [rcx + 8], r12d
jne 0x1400bb026
lea edx, [r12 + 0x10]
call fcn.1402193dc
mov rbx, qword [rdi + 0x3d0]
cmp dword [rbx + 8], 0
jne 0x1400bae7d
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [r14], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rbx + 8], eax
jne 0x1400bae93
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
movups xmm0, xmmword [rbx]
movaps xmmword [rsp + 0x90], xmm0
xor edx, edx
lea rcx, [rsp + 0x90]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
je 0x1400baebd
mov ecx, 2
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
xorps xmm0, xmm0
movups xmmword [rsp + 0xb8], xmm0
movups xmmword [rbx], xmm0
mov r12, rsi
xor byte [rdi + 0x502], 1
lea rdx, str.e_33mcu
lea rcx, [rsp + 0xe8]
call fcn.140094f70
nop
lea rdx, str.Launching_period
lea rcx, [rsp + 0xf8]
call fcn.140035d70
mov rdx, rsi
lea rcx, [rsp + 0xf8]
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]
lea rdx, str._ProgPow_kernel
lea rcx, [rsp + 0xf8]
call fcn.140035d70
nop
lea rdx, [rsp + 0x440]
lea rcx, [rsp + 0x100]
call fcn.140034220
lea rcx, [rsp + 0x440]
call fcn.140095420
mov rdx, qword [rsp + 0x458]
cmp rdx, 0x10
jb 0x1400baf9b
inc rdx
mov rcx, qword [rsp + 0x440]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400baf96
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400baf96
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov dword [r14], r12d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
call fcn.1402193dc
lea rcx, [rsp + 0xe8]
call fcn.1400041d0
nop
lea rax, [rsi + 1]
mov qword [rdi + 0x3c8], rax
mov ecx, reloc.WS2_32.dll_recv
call fcn.140219078
mov rbx, rax
mov qword [rsp + 0x78], rax
mov ecx, 8
call fcn.140219078
mov qword [rax], rdi
mov qword [rsp + 0x40], rax
or r15d, 0x18
lea rsi, [rbx + 8]
mov qword [rsp + 0x28], rsi
xor r14d, r14d
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x1400bed20]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbx], rax
test rax, rax
je 0x1400bb0b7
mov rcx, qword [rdi + 0x3d0]
mov qword [rdi + 0x3d0], rbx
test rcx, rcx
je 0x1400bb037
cmp dword [rcx + 8], r14d
je 0x1400bb02d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
mov edx, reloc.WS2_32.dll_recv
call fcn.1402193dc
lea rdx, [rsp + 0x460]
lea rcx, [rsp + 0x340]
call fcn.1400579d0
cmp qword [rsp + 0x500], 0
jne 0x1400bb075
cmp qword [rsp + 0x508], r14
jne 0x1400bb075
cmp qword [rsp + 0x510], r14
jne 0x1400bb075
cmp qword [rsp + 0x518], r14
je 0x1400bb094
mov ecx, r14d
lea rax, [rsp + 0x500]
movzx edx, byte [rax - 0x78]
cmp dl, byte [rax]
jb 0x1400bb0c6
ja 0x1400bb094
inc ecx
inc rax
cmp ecx, 0x20
jb 0x1400bb080
movaps xmm0, xmmword [rsp + 0x480]
movups xmmword [rsp + 0x318], xmm0
movaps xmm1, xmmword [rsp + 0x490]
movsd xmm0, qword [rsp + 0x4a0]
jmp 0x1400bb0e7
mov dword [rsi], r14d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
movups xmm0, xmmword [rsp + 0x4f8]
movups xmmword [rsp + 0x318], xmm0
movups xmm1, xmmword [rsp + 0x508]
movsd xmm0, qword [rsp + 0x518]
movsd qword [rsp + 0x338], xmm0
movups xmmword [rsp + 0x328], xmm1
lea rdx, [rsp + 0x5d0]
lea rcx, [rsp + 0x318]
call fcn.1400b6d40
mov rbx, rax
mov edx, 0xc0
mov rcx, rax
call fcn.1400b7c00
movups xmm1, xmmword [rbx]
movups xmmword [rsp + 0x5a8], xmm1
movups xmm0, xmmword [rbx + 0x10]
movups xmmword [rsp + 0x5b8], xmm0
movd r8d, xmm1
cmp dword [rbx + 0x20], 1
jbe 0x1400bb14d
mov eax, dword [rsp + 0x5ac]
shl rax, 0x20
or r8, rax
lea rax, [rsp + 0x460]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x410]
lea rdx, [rsp + 0x390]
mov rcx, rdi
call fcn.1400bda50
jmp 0x1400bac49
mov qword [rsp + 0x48], rbx
mov byte [rsp + 0x50], 0
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x1400bb193
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
mov byte [rsp + 0x50], 1
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
add rax, 0x7a120
imul rcx, rax, 0x64
movabs rax, 0x112e0be826d694b3
imul rcx
sar rdx, 0x1a
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov qword [rsp + 0x2e0], rdx
imul rax, rdx, 0x3b9aca00
sub rcx, rax
mov dword [rsp + 0x2e8], ecx
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll__Mtx_current_owns]
test eax, eax
jne 0x1400bb1f2
lea ecx, [rax + 4]
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
lea r8, [rsp + 0x2e0]
mov rdx, rbx
lea rcx, [rdi + 0x338]
call qword [sym.imp.MSVCP140.dll__Cnd_timedwait]
test eax, 0xfffffffd
je 0x1400bb21a
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
nop
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
jmp 0x1400baba0
mov rdx, qword [rsp + 0x438]
cmp rdx, 0x10
jb 0x1400bb267
inc rdx
mov rcx, qword [rsp + 0x420]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400bb262
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400bb2a5
call fcn.1402193dc
mov rdx, qword [rsp + 0x358]
cmp rdx, 0x10
jb 0x1400bab62
inc rdx
mov rcx, qword [rsp + 0x340]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400bb2ac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400bb2ac
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1402193dc
jmp 0x1400bab62
mov edx, 1
lea rcx, [rsp + 0x1e0]
call fcn.140032230
nop
lea rdx, str.CUDA_error_in_func
lea rcx, [rsp + 0x1f0]
call fcn.140035d70
lea rdx, str.dev::eth::CUDAMiner::workLoop
mov rcx, rax
call fcn.140035d70
lea rdx, str._at_line
mov rcx, rax
call fcn.140035d70
mov edx, 0x131
mov rcx, rax
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___int____ptr64]
lea rdx, str._calling_cudaDeviceReset___failed_with_error
mov rcx, rax
call fcn.140035d70
mov rdi, rax
mov ecx, ebx
call fcn.1402030c0
mov rdx, rax
mov rcx, rdi
call fcn.140035d70
lea rdx, [rsp + 0x2f0]
lea rcx, [rsp + 0x1e0]
call fcn.140032210
mov r8d, 1
mov rdx, rax
lea rcx, [rsp + 0xc8]
call fcn.1400b8bf0
lea rdx, [0x1402faca0]
lea rcx, [rsp + 0xc8]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.140055e30
call fcn.140055e30
int3