Function at 0x1400ba900
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, [0x1402b3cf4]
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 [0x1402b867c]
mov word [rsp + 0x424], ax
movzx eax, byte [0x1402b867e]
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 0x1400baa9e
lea rax, [rdx + rbx*8]
jmp 0x1400baad9
jbe 0x1400baadd
mov rax, qword [rsi + 0x10]
sub rax, rdx
sar rax, 3
cmp rbx, rax
jbe 0x1400baabd
mov rdx, rbx
mov rcx, rsi
call fcn.1400beba0
jmp 0x1400baadd
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 0x1400bab06
lea rax, [rdx + rbx*8]
jmp 0x1400bab41
jbe 0x1400bab45
mov rax, qword [rsi + 0x10]
sub rax, rdx
sar rax, 3
cmp rbx, rax
jbe 0x1400bab25
mov rdx, rbx
mov rcx, rsi
call fcn.1400beba0
jmp 0x1400bab45
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 0x1400bab7f
mov rcx, qword [rsp + 0x5f8]
xor rcx, rsp
call fcn.140219010
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 0x1400bac92
lock cmpxchg byte [rdi + 0x500], r14b
lea rbx, [rdi + 0x298]
mov rcx, rbx
jne 0x1400bb168
mov qword [rsp + 0x38], rbx
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x1400babd1
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, [0x1402b3cf4]
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 0x1400bac58
lea rcx, [rsp + 0x540]
call fcn.140034440
lea rcx, [rsp + 0x460]
call fcn.140034440
jmp 0x1400bab90
cmp byte [rsp + 0x524], 0
je 0x1400baccc
cmp r13d, dword [rsp + 0x520]
je 0x1400baccc
mov rcx, rdi
call fcn.14005e750
test al, al
jne 0x1400baca6
lea rcx, [rsp + 0x540]
call fcn.140034440
lea rcx, [rsp + 0x460]
call fcn.140034440
call fcn.140202bd0
mov ebx, eax
test eax, eax
jne 0x1400bb2a7
jmp 0x1400bb219
cmp byte [rsp + 0x524], 0
je 0x1400bb35e
mov r13d, dword [rsp + 0x520]
movzx eax, byte [rdi + 0x500]
nop
test al, al
jne 0x1400bac39
cmp byte [rsp + 0x52c], 0
je 0x1400bb363
mov eax, 0xaaaaaaab
mul dword [rsp + 0x528]
shr edx, 2
mov esi, edx
cmp qword [rdi + 0x3c8], 0
jne 0x1400bad94
mov qword [rdi + 0x3c8], rsi
mov rcx, qword [rdi + 0x3d0]
test rcx, rcx
je 0x1400bad11
call fcn.1400212f0
mov ecx, reloc.WS2_32.dll_recv
call fcn.1402192c8
mov rbx, rax
mov qword [rsp + 0x58], rax
mov ecx, 8
call fcn.1402192c8
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, [0x1400bed10]
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 0x1400bae5b
mov rcx, qword [rdi + 0x3d0]
mov qword [rdi + 0x3d0], rbx
test rcx, rcx
je 0x1400bad91
cmp dword [rcx + 8], 0
jne 0x1400bb017
mov edx, reloc.WS2_32.dll_recv
call fcn.14021962c
xor r14d, r14d
cmp r12, rsi
je 0x1400bb028
mov rcx, qword [rdi + 0x3d0]
test rcx, rcx
je 0x1400badae
call fcn.1400212f0
cmp rsi, qword [rdi + 0x3c8]
je 0x1400baebc
mov qword [rdi + 0x3c8], rsi
mov ecx, reloc.WS2_32.dll_recv
call fcn.1402192c8
mov rbx, rax
mov qword [rsp + 0x68], rax
mov ecx, 8
call fcn.1402192c8
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, [0x1400bed10]
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 0x1400baf78
mov rcx, qword [rdi + 0x3d0]
mov qword [rdi + 0x3d0], rbx
test rcx, rcx
je 0x1400bae42
cmp dword [rcx + 8], r12d
jne 0x1400bb017
lea edx, [r12 + 0x10]
call fcn.14021962c
mov rbx, qword [rdi + 0x3d0]
cmp dword [rbx + 8], 0
jne 0x1400bae6e
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 0x1400bae84
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 0x1400baeae
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.140094f60
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.140095410
mov rdx, qword [rsp + 0x458]
cmp rdx, 0x10
jb 0x1400baf8c
inc rdx
mov rcx, qword [rsp + 0x440]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400baf87
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400baf87
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.14021962c
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.1402192c8
mov rbx, rax
mov qword [rsp + 0x78], rax
mov ecx, 8
call fcn.1402192c8
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, [0x1400bed10]
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 0x1400bb0a8
mov rcx, qword [rdi + 0x3d0]
mov qword [rdi + 0x3d0], rbx
test rcx, rcx
je 0x1400bb028
cmp dword [rcx + 8], r14d
je 0x1400bb01e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
mov edx, reloc.WS2_32.dll_recv
call fcn.14021962c
lea rdx, [rsp + 0x460]
lea rcx, [rsp + 0x340]
call fcn.1400579d0
cmp qword [rsp + 0x500], 0
jne 0x1400bb066
cmp qword [rsp + 0x508], r14
jne 0x1400bb066
cmp qword [rsp + 0x510], r14
jne 0x1400bb066
cmp qword [rsp + 0x518], r14
je 0x1400bb085
mov ecx, r14d
lea rax, [rsp + 0x500]
movzx edx, byte [rax - 0x78]
cmp dl, byte [rax]
jb 0x1400bb0b7
ja 0x1400bb085
inc ecx
inc rax
cmp ecx, 0x20
jb 0x1400bb071
movaps xmm0, xmmword [rsp + 0x480]
movups xmmword [rsp + 0x318], xmm0
movaps xmm1, xmmword [rsp + 0x490]
movsd xmm0, qword [rsp + 0x4a0]
jmp 0x1400bb0d8
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.1400b6d30
mov rbx, rax
mov edx, 0xc0
mov rcx, rax
call fcn.1400b7bf0
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 0x1400bb13e
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.1400bda40
jmp 0x1400bac39
mov qword [rsp + 0x48], rbx
mov byte [rsp + 0x50], 0
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x1400bb184
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 0x1400bb1e3
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 0x1400bb20b
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 0x1400bab90
mov rdx, qword [rsp + 0x438]
cmp rdx, 0x10
jb 0x1400bb258
inc rdx
mov rcx, qword [rsp + 0x420]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400bb253
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400bb296
call fcn.14021962c
mov rdx, qword [rsp + 0x358]
cmp rdx, 0x10
jb 0x1400bab52
inc rdx
mov rcx, qword [rsp + 0x340]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400bb29d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400bb29d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14021962c
jmp 0x1400bab52
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.140203310
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.1400b8be0
lea rdx, [0x1402facc8]
lea rcx, [rsp + 0xc8]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.140055e30
call fcn.140055e30
int3