Function at 0x14003b800
Capabilities:
Initialize winsock library

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x890]
sub rsp, 0x990
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x9e0], rbx
mov rax, qword [0x14010b358]
xor rax, rsp
mov qword [rbp + 0x880], rax
mov rdi, rdx
mov ebx, ecx
mov dword [rsp + 0x30], ecx
mov qword [rsp + 0x38], rdx
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [0x140136de8], rax
lea rdx, [rbp + 0x5b0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
movzx eax, word [rbp + 0x5b8]
mov word [0x140136de0], ax
mov eax, dword [str.Monero]
mov dword [0x140136ce0], eax
movzx eax, word [0x1400dfa8c]
mov word [0x140136ce4], ax
movzx eax, byte [0x1400dfa8e]
mov byte [0x140136ce6], al
mov dword [0x140136dc8], 0x524d58
mov eax, dword [str.XMR:]
mov dword [0x140135850], eax
movzx eax, byte [0x1400dfa94]
mov byte [0x140135854], al
mov byte [0x140132ed0], 0
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
xor r15d, r15d
mov eax, r15d
lea rsi, sym.NsGpuCNMiner.exe_.t_bF._Ay7_Z__E9S6_euXX:_ghT:_5mi
nop word [rax + rax]
mov dword [rsi + rax*4 + 0x1359e0], r15d
mov dword [rsi + rax*4 + 0x135950], r15d
mov dword [rsi + rax*4 + 0x1366a0], r15d
mov dword [rsi + rax*4 + 0x136950], r15d
mov dword [rsi + rax*4 + 0x1367a0], 0xffffff9c
mov dword [rsi + rax*4 + 0x136ad0], r15d
mov dword [rsi + rax*4 + 0x136a50], r15d
mov dword [rsi + rax*4 + 0x1368d0], 1
mov dword [rsi + rax*4 + 0x1369d0], r15d
mov dword [rsi + rax*4 + 0x136830], r15d
mov dword [rsi + rax*4 + 0x136720], r15d
cmp rax, 0x20
jae 0x14003c540
mov byte [rax + rsi + 0x1368b0], r15b
mov qword [rsi + rax*8 + 0x136bd0], r15
mov dword [rsi + rax*4 + 0x136b50], r15d
mov byte [rax + rsi + 0x135b38], 1
inc rax
cmp rax, 0x20
jl 0x14003b8f0
mov ecx, 0x202
lea rdx, [rbp + 0x5d0]
call qword [sym.imp.WS2_32.dll_WSAStartup]
call fcn.1400330d0
mov rdx, qword [rdi]
mov qword [rbp + 0x5a8], shutdown
mov qword [rbp + 0x5a0], r15
mov byte [rbp + 0x590], r15b
cmp byte [rdx], r15b
jne 0x14003b9c2
mov r8, r15
jmp 0x14003b9cf
or r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r15b
jne 0x14003b9c6
lea rcx, [rbp + 0x590]
call fcn.140002630
nop
lea rcx, [rbp + 0x590]
call fcn.1400254b0
nop
cmp qword [rbp + 0x5a8], 0x10
jb 0x14003b9ff
mov rcx, qword [rbp + 0x590]
call fcn.140089328
mov qword [rbp + 0x5a8], shutdown
mov qword [rbp + 0x5a0], r15
mov byte [rbp + 0x590], 0
mov dword [reloc.WS2_32.dll_accept], 4
mov rax, qword [0x140132e80]
test rax, rax
jne 0x14003ba63
cmp byte [0x140132e79], al
jne 0x14003ba6b
mov ecx, 0xa8
call fcn.1400893b4
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14003ba54
mov rcx, rax
call fcn.140025f10
jmp 0x14003ba57
mov rax, r15
mov qword [0x140132e80], rax
test rax, rax
je 0x14003ba6b
mov rcx, rax
call fcn.140026160
mov qword [0x140135938], r15
mov qword [0x140135940], r15
cmp ebx, 1
je 0x14003ba90
cmp ebx, 2
je 0x14003ba8a
mov rdx, rdi
mov ecx, ebx
jmp 0x14003baaf
mov rcx, qword [rdi + 8]
jmp 0x14003ba92
xor ecx, ecx
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x30]
call fcn.14003ade0
mov ecx, dword [rsp + 0x30]
cmp ecx, 1
jle 0x14003bab4
mov rdx, qword [rsp + 0x38]
call fcn.140034c70
cmp dword [0x14013585c], 0
jne 0x14003bbc8
mov byte [rbp + 0x770], 0
mov r8d, 0xfa
lea rdx, [rbp + 0x770]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rcx, [rbp + 0x770]
or rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x14003baf0
movsxd rcx, eax
test eax, eax
jle 0x14003bb14
cmp byte [rbp + rcx + 0x770], 0x5c
je 0x14003bb14
dec eax
dec rcx
test rcx, rcx
jg 0x14003bb00
inc eax
movsxd rcx, eax
cmp rcx, 0x104
jae 0x14003bbc2
mov byte [rbp + rcx + 0x770], 0
mov rcx, r15
lea rbx, [0x140132ed0]
nop dword [rax + rax]
movzx eax, byte [rbp + rcx + 0x770]
mov byte [rcx + rbx], al
lea rcx, [rcx + 1]
test al, al
jne 0x14003bb40
xor ecx, ecx
call fcn.14008bd34
mov rcx, rax
mov r8d, 0xa
lea rdx, [rbp + 0x770]
call fcn.14008a0a0
lea rcx, [rbx - 1]
lea rcx, [rcx + 1]
cmp byte [rcx], 0
jne 0x14003bb73
lea r8, [rbp + 0x770]
xor edx, edx
nop word [rax + rax]
movzx eax, byte [r8 + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x14003bb90
dec rbx
lea rbx, [rbx + 1]
cmp byte [rbx], 0
jne 0x14003bba3
mov rax, qword [str._log.txt]
mov qword [rbx], rax
movzx eax, byte [0x1400dfaa0]
mov byte [rbx + 8], al
jmp 0x14003bbc8
call fcn.140089f2c
int3
movzx eax, byte [0x140132ecf]
neg al
sbb ecx, ecx
mov dword [0x140132ec0], ecx
call fcn.14003a560
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov dword [0x140132ec0], r15d
call fcn.140036be0
mov edi, r15d
mov r8, qword [0x140139ae8]
mov rcx, r8
mov r9, qword [0x140139ae0]
sub rcx, r9
movabs r12, 0xa57eb50295fad40b
mov rax, r12
imul rcx
add rdx, rcx
sar rdx, 9
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov r14d, 6
test edx, edx
jle 0x14003bd76
mov rsi, r15
nop
lea r10, [rsp + 0x50]
lea rdx, [rsi + r9]
lea rcx, [rsp + 0x50]
mov rax, rdx
or rax, rcx
and eax, 0xf
jne 0x14003bcc1
mov rax, r14
nop dword [rax]
movaps xmm0, xmmword [rdx]
movaps xmmword [rcx], xmm0
movaps xmm1, xmmword [rdx + 0x10]
movaps xmmword [rcx + 0x10], xmm1
movaps xmm0, xmmword [rdx + 0x20]
movaps xmmword [rcx + 0x20], xmm0
movaps xmm1, xmmword [rdx + 0x30]
movaps xmmword [rcx + 0x30], xmm1
movaps xmm0, xmmword [rdx + 0x40]
movaps xmmword [rcx + 0x40], xmm0
movaps xmm1, xmmword [rdx + 0x50]
movaps xmmword [rcx + 0x50], xmm1
movaps xmm0, xmmword [rdx + 0x60]
movaps xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movaps xmm1, xmmword [rdx + 0x70]
movaps xmmword [rcx - 0x10], xmm1
lea rdx, [rdx + 0x80]
dec rax
jne 0x14003bc60
movaps xmm0, xmmword [rdx]
movaps xmmword [rcx], xmm0
mov rax, qword [rdx + 0x10]
mov qword [rcx + 0x10], rax
jmp 0x14003bccf
mov r8d, 0x318
mov rcx, r10
call fcn.1400889a0
lea rcx, [rsp + 0x50]
call fcn.140032920
test al, al
jne 0x14003bd33
movsxd rbx, edi
imul rbx, rbx, 0x318
mov r8, qword [0x140139ae0]
add r8, rbx
lea rdx, str.Pool__s_removed_from_the_list_n
xor ecx, ecx
call fcn.140010790
mov r8, qword [0x140139ae0]
add r8, rbx
lea rcx, [r8 + 0x318]
mov rdx, qword [0x140139ae8]
call fcn.140053f60
mov r8, qword [0x140139ae8]
sub r8, 0x318
mov qword [0x140139ae8], r8
jmp 0x14003bd43
inc edi
add rsi, 0x318
mov r8, qword [0x140139ae8]
mov rcx, r8
mov r9, qword [0x140139ae0]
sub rcx, r9
mov rax, r12
imul rcx
add rdx, rcx
sar rdx, 9
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp edi, edx
jl 0x14003bc40
lea rsi, sym.NsGpuCNMiner.exe_.t_bF._Ay7_Z__E9S6_euXX:_ghT:_5mi
cmp r9, r8
jne 0x14003bda1
lea r8, str.No_pools_specified__Specify_at_least_one_pool_in__epools.txt__file_or_in___o__parameter.__n
mov edx, 3
xor ecx, ecx
call fcn.140010980
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call fcn.14008b658
int3
sub r8, r9
mov rax, r12
imul r8
add rdx, r8
sar rdx, 9
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rax, [0x1400dfa10]
lea rcx, [0x1400dfa14]
cmp rdx, 1
cmova rcx, rax
lea r8, reloc.WS2_32.dll_WSAStartup
lea rax, [0x1400da5e0]
cmova rax, r8
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
mov r9, rdx
lea r8, [0x140135850]
lea rdx, str._s__d_pool_s__s_specified_n
xor ecx, ecx
call fcn.140010790
mov r8, qword [0x140139ae0]
mov r9d, dword [r8 + 0x300]
lea rdx, str.Main_pool_is__s:_d_n
xor ecx, ecx
call fcn.140010790
cmp dword [0x1401359dc], 0
je 0x14003be3d
lea r8, str._n_NO_FEE__MODE___SOME_OPTIMIZATIONS_WILL_BE_DISABLED_n
mov edx, 3
xor ecx, ecx
call fcn.140010980
mov edx, 1
lea rcx, [0x140037460]
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov rbx, rax
call fcn.140012320
mov dword [0x140135b58], eax
mov dword [0x140136824], eax
mov dword [0x140136820], r15d
mov edi, r15d
add rbx, 0x3a98
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
cmp rax, rbx
jae 0x14003bea2
cmp edi, 0x1e
jg 0x14003bea2
mov ecx, 0x226
call qword [sym.imp.KERNEL32.dll_Sleep]
inc edi
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
cmp rax, rbx
jb 0x14003be85
or ecx, 0xffffffff
call fcn.140013100
mov byte [0x140135870], 0
mov byte [0x140136d00], 0
mov dword [0x140136cd4], r15d
lea rbx, [0x140135b70]
mov rdx, qword [0x140139ae0]
mov rcx, rbx
mov rax, rdx
or rax, rbx
and eax, 0xf
jne 0x14003bf41
mov rax, r14
nop
movaps xmm0, xmmword [rdx]
movaps xmmword [rcx], xmm0
movaps xmm1, xmmword [rdx + 0x10]
movaps xmmword [rcx + 0x10], xmm1
movaps xmm0, xmmword [rdx + 0x20]
movaps xmmword [rcx + 0x20], xmm0
movaps xmm1, xmmword [rdx + 0x30]
movaps xmmword [rcx + 0x30], xmm1
movaps xmm0, xmmword [rdx + 0x40]
movaps xmmword [rcx + 0x40], xmm0
movaps xmm1, xmmword [rdx + 0x50]
movaps xmmword [rcx + 0x50], xmm1
movaps xmm0, xmmword [rdx + 0x60]
movaps xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movaps xmm1, xmmword [rdx + 0x70]
movaps xmmword [rcx - 0x10], xmm1
lea rdx, [rdx + 0x80]
dec rax
jne 0x14003bee0
movaps xmm0, xmmword [rdx]
movaps xmmword [rcx], xmm0
mov rax, qword [rdx + 0x10]
mov qword [rcx + 0x10], rax
jmp 0x14003bf4c
mov r8d, 0x318
call fcn.1400889a0
cmp byte [0x140135c70], 0
jne 0x14003bf7e
mov rcx, qword [0x140135938]
test rcx, rcx
je 0x14003bf7e
lea rdx, [0x140135c70]
sub rdx, rcx
nop dword [rax + rax]
movzx eax, byte [rcx]
mov byte [rdx + rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x14003bf70
cmp byte [0x140135d70], 0
jne 0x14003bfae
mov rcx, qword [0x140135940]
test rcx, rcx
je 0x14003bfae
lea rdx, [0x140135d70]
sub rdx, rcx
nop dword [rax]
movzx eax, byte [rcx]
mov byte [rdx + rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x14003bfa0
lea r9, [rbp + 0x270]
lea rcx, [rbp + 0x270]
mov rax, rbx
or rax, rcx
and eax, 0xf
jne 0x14003c031
nop word [rax + rax]
movaps xmm0, xmmword [rbx]
movaps xmmword [rcx], xmm0
movaps xmm1, xmmword [rbx + 0x10]
movaps xmmword [rcx + 0x10], xmm1
movaps xmm0, xmmword [rbx + 0x20]
movaps xmmword [rcx + 0x20], xmm0
movaps xmm1, xmmword [rbx + 0x30]
movaps xmmword [rcx + 0x30], xmm1
movaps xmm0, xmmword [rbx + 0x40]
movaps xmmword [rcx + 0x40], xmm0
movaps xmm1, xmmword [rbx + 0x50]
movaps xmmword [rcx + 0x50], xmm1
movaps xmm0, xmmword [rbx + 0x60]
movaps xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movaps xmm1, xmmword [rbx + 0x70]
movaps xmmword [rcx - 0x10], xmm1
lea rbx, [rbx + 0x80]
dec r14
jne 0x14003bfd0
movaps xmm0, xmmword [rbx]
movaps xmmword [rcx], xmm0
mov rax, qword [rbx + 0x10]
mov qword [rcx + 0x10], rax
jmp 0x14003c042
mov r8d, 0x318
mov rdx, rbx
mov rcx, r9
call fcn.1400889a0
lea rcx, [rbp + 0x270]
call fcn.140032920
cmp dword [0x140135b58], 0
jne 0x14003c06d
lea rdx, str.No_cards_found__exit_n
xor ecx, ecx
call fcn.140010790
xor ecx, ecx
call fcn.14008b658
int3
call fcn.14000f370
mov rcx, qword [0x140139ae8]
sub rcx, qword [0x140139ae0]
mov rax, r12
imul rcx
add rdx, rcx
sar rdx, 9
mov rax, rdx
shr rax, 0x3f
add rdx, rax
xor ecx, ecx
cmp rdx, 1
jne 0x14003c0ad
lea rdx, str.1_pool_specified._n
call fcn.140010790
jmp 0x14003c0bc
mov r8, rdx
lea rdx, str._d_pools_specified._n
call fcn.140010790
mov r8d, dword [0x14010dc20]
test r8d, r8d
je 0x14003c0fa
xor ecx, ecx
cmp byte [reloc.WS2_32.dll_accept], cl
jne 0x14003c0ee
lea rdx, str.Remote_management_is_enabled_on_port__d_n
call fcn.140010790
lea rdx, str.Warning:_use_negative__mport_option_value__read_only_mode__or_disable_remote_management_entirely_if_you_think_that_you_can_be_attacked_via_this_port__n
xor ecx, ecx
call fcn.140010790
jmp 0x14003c0fa
lea rdx, str.Remote_management__READ_ONLY_MODE__is_enabled_on_port__d_n
call fcn.140010790
lea rcx, str.Press__m__key_for_tune_mode___s__for_current_statistics___0_.._9__to_turn_on_off_cards___r__to_reload_pools_n
call fcn.140089ff4
mov ebx, r15d
mov eax, dword [0x140135b58]
test eax, eax
jle 0x14003c132
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
movsxd rax, ebx
mov qword [rsi + rax*8 + 0x135e90], rcx
inc ebx
mov eax, dword [0x140135b58]
cmp ebx, eax
jl 0x14003c113
lea esi, [rax + rax]
test esi, esi
jle 0x14003c172
mov rbx, r15
mov edi, esi
nop
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], r15d
mov r9, rbx
lea r8, [0x1400374c0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
inc rbx
dec rdi
jne 0x14003c140
xor ecx, ecx
call fcn.14008bd34
mov qword [0x140135b68], rax
mov rdx, qword [0x140135938]
test rdx, rdx
je 0x14003c1b6
cmp byte [rdx], 0
jne 0x14003c196
mov r8, r15
jmp 0x14003c1aa
or r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x14003c1a0
lea rcx, [0x14011df28]
call fcn.140002630
mov rdx, qword [0x140135940]
test rdx, rdx
je 0x14003c1e6
cmp byte [rdx], 0
jne 0x14003c1cc
mov r8, r15
jmp 0x14003c1da
or r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x14003c1d0
lea rcx, [0x14011df48]
call fcn.140002630
mov word [0x14010dc70], 0
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], r15d
lea r9, [0x14010dc70]
lea r8, [0x14003a550]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov rdx, qword [0x140135938]
test rdx, rdx
je 0x14003c256
cmp byte [rdx], 0
jne 0x14003c233
mov r8, r15
jmp 0x14003c24a
or r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x14003c240
lea rcx, [0x14012e568]
call fcn.140002630
mov rdx, qword [0x140135940]
test rdx, rdx
je 0x14003c286
cmp byte [rdx], 0
jne 0x14003c26c
mov r8, r15
jmp 0x14003c27a
or r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x14003c270
lea rcx, [0x14012e588]
call fcn.140002630
mov word [0x14011e2b0], 1
cmp dword [0x1401359dc], 0
jne 0x14003c2c6
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], r15d
lea r9, [0x14011e2b0]
lea r8, [0x14003a550]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], r15d
xor r9d, r9d
lea r8, [0x14003ac10]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
cmp dword [0x14010dc20], 0
je 0x14003c338
mov ecx, gethostbyname
call fcn.1400893b4
mov rcx, rax
test rax, rax
je 0x14003c31e
mov qword [rax + 0x18], r15
mov byte [rax + 0x14], 0
mov byte [rax + 0xc], 0
mov dword [rax + 0x10], 0xffffffff
lea rax, vtable.TUniSimpleThread.0
mov qword [rcx], rax
jmp 0x14003c321
mov rcx, r15
mov qword [rcx + 0x20], r15
lea rax, [0x14001dc70]
mov qword [rcx + 0x28], rax
mov rax, qword [rcx]
mov dl, 1
call qword [rax + reloc.WS2_32.dll_recv]
mov r13d, r15d
movsxd r12, esi
nop
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rbx, qword [0x140139b38]
lea rcx, [rbx + 0x38]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.14000f600
lea rcx, [rbx + 0x38]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
inc r13d
mov dword [rsp + 0x40], r13d
mov eax, 0x66666667
imul r13d
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea ecx, [rdx + rdx*4]
add ecx, ecx
cmp r13d, ecx
jne 0x14003c340
mov ecx, dword [0x1401368d0]
lea eax, [rcx - 1]
cmp eax, 4
ja 0x14003c3b7
lea ecx, [rcx + rcx*4]
add ecx, ecx
mov eax, r13d
cdq
idiv ecx
test edx, edx
jne 0x14003c3e2
mov rbx, qword [0x140139b38]
lea rcx, [rbx + 0x38]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor r9d, r9d
xor r8d, r8d
mov dl, 1
mov rcx, rbx
call fcn.14000f600
lea rcx, [rbx + 0x38]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor r15b, r15b
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r14d, eax
xor edi, edi
xor esi, esi
test r12, r12
jle 0x14003c48a
lea r13, sym.NsGpuCNMiner.exe_.t_bF._Ay7_Z__E9S6_euXX:_ghT:_5mi
nop word [rax + rax]
mov rax, qword [r13 + rsi*8 + 0x135e90]
cmp r14, rax
cmovb rax, r14
mov rbx, r14
sub rbx, rax
mov r9, rbx
mov r8d, edi
lea rdx, str.watchdog___thread__d__hb_time__d_n
mov ecx, 2
call fcn.140010790
cmp rbx, 0xea60
jbe 0x14003c47b
mov r9d, edi
mov edx, 3
xor ecx, ecx
cmp dword [0x140135840], ecx
je 0x14003c468
lea r8, str.WATCHDOG:_Thread__d_hangs_in_OpenCL_call__exit_n
call fcn.140010980
mov r15b, 1
jmp 0x14003c47b
lea r8, str.WATCHDOG:_Thread__d_hangs_in_OpenCL_call__you_need_to_restart_miner_:___n
call fcn.140010980
mov byte [0x14013585b], 1
inc edi
inc rsi
cmp rsi, r12
jl 0x14003c410
mov r13d, dword [rsp + 0x40]
cmp byte [0x14013585b], 0
je 0x14003c4b2
lea r8, str.WATCHDOG:_GPU_memory_error__you_need_to_restart_miner_:___n
mov edx, 3
xor ecx, ecx
call fcn.140010980
mov eax, dword [0x140135840]
test eax, eax
jne 0x14003c4c6
jmp 0x14003c4b8
mov eax, dword [0x140135840]
test r15b, r15b
jne 0x14003c4c6
cmp byte [0x14013585b], r15b
je 0x14003c4da
cmp dword [0x140135b34], 0
jl 0x14003c4d6
call fcn.14003aa40
jmp 0x14003c4da
test eax, eax
jne 0x14003c538
cmp dword [0x140135b34], 0x14
jl 0x14003c340
xor ecx, ecx
call fcn.14008bd34
mov rdx, qword [0x140135b68]
mov rcx, rax
call fcn.14008d054
cvttsd2si ecx, xmm0
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, dword [0x140135b34]
jl 0x14003c340
lea rdx, str.Restart_by_timer_n
xor ecx, ecx
call fcn.140010790
call fcn.14003aa40
jmp 0x14003c340
xor ecx, ecx
call fcn.14008b658
int3
call fcn.140089f2c
int3