Function at 0x140055bf0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x168
movups xmmword [rsp + 0x150], xmm6
lea rbp, [rsp + 0x50]
mov dword [rsp + 0x1b0], ecx
mov rcx, rbp
call fcn.14040e530
mov ecx, 0x10
call fcn.14053f0d0
mov r14, qword [rsp + 0x50]
mov r15, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rsi, rax
lea r13, [r14 + 8]
mov rcx, r13
call r15
mov rdi, qword [r14 + 0x38]
lea rbx, [0x1406215a0]
test rdi, rdi
jne 0x140055c6d
jmp 0x1400560ff
mov rdi, qword [rdi + 0x20]
test rdi, rdi
je 0x1400560ff
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x140055c60
mov rdx, rbx
call fcn.1404e0d50
test al, al
je 0x140055c60
mov r12, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, r13
lea r13, [rdi + 0x38]
lea rbx, [rsi + 8]
call r12
mov qword [rsi], rdi
mov rcx, r13
call r15
mov rax, rbx
mov edx, 0x9e3779b9
mov r9, qword [rdi + 0x668]
movabs r14, 0x15390948f40feac7
shr rax, 3
add rax, rbx
lea rcx, [r9 + 1]
mov r10, rax
mov r11, rax
mov qword [rdi + 0x668], rcx
shl r10, 6
shr r11, 2
add r10, r11
add r10, rdx
add r10, r9
xor rax, r10
mov r8, rax
mul r14
mov rbx, r8
shr rdx, 4
lea r15, [rdx + rdx*2]
shl r15, 6
add rdx, r15
sub rbx, rdx
lea rdi, [rdi + rbx*8]
mov rbx, qword [rdi + 0x60]
test rbx, rbx
je 0x14005626a
mov rcx, r13
mov qword [rsi + 8], rbx
call r12
mov ecx, dword [rsp + 0x1b0]
mov rdx, rsi
call fcn.1400735c0
mov qword [rsp + 0x40], 0
mov rsi, qword [0x14061cca0]
mov r12, qword [rsi + 8]
sub r12, qword [rsi]
mov esi, 0x1f4
sar r12, 6
imul r13d, r12d, 0xaaaaaaab
lea r13d, [r13 - 1]
mov r10d, dword [rsp + 0x1b0]
test r10d, r10d
jne 0x1400561ed
call fcn.140071680
lea r8, [rsp + 0x1b0]
movq xmm6, rbp
mov qword [rsp + 0x40], rax
mov edi, dword [rsp + 0x1b0]
movq xmm2, r8
punpcklqdq xmm6, xmm2
call fcn.14008f500
xor edx, edx
mov rcx, rax
mov qword [rsp + 0xf0], rdx
mov r14, rax
call sub.msvcrt.dll_malloc
test rax, rax
je 0x1400568c8
add rax, r14
mov r9, qword [0x14061b260]
lea r8, [0x1400556e0]
lea rbx, [rax - 0x50]
xor bl, bl
mov dword [rbx + 0x28], edi
lea rdi, [rsp + 0xf0]
lea rcx, [rbx - 0x40]
mov qword [rbx], r14
mov qword [rbx + 0x10], r14
sub r14, rax
mov qword [rbx + 8], rax
lea rdx, [r14 + rcx]
mov qword [rbx + 0x18], rbp
mov qword [rbx + 0x20], r9
mov qword [rbx + 0x48], rdi
movups xmmword [rbx + 0x30], xmm6
call sym.miner.exe_make_fcontext
mov rdx, rax
test rax, rax
je 0x1400567f0
lea r15, [rsp + 0x30]
mov r8, rbx
mov rcx, r15
call sym.miner.exe_jump_fcontext
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x14005680a
xor r8d, r8d
mov rcx, r15
call sym.miner.exe_jump_fcontext
mov r12, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [r12 + 0x30]
mov qword [r12 + 0x30], rcx
test rdx, rdx
jne 0x14005651d
mov rax, qword [rsp + 0xf0]
pxor xmm3, xmm3
lea r15, [rsp + 0xd0]
mov rcx, rdi
mov rdx, r15
movups xmmword [rax + 0x10], xmm3
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0xf0], rbp
call fcn.14048d3b0
mov rcx, qword [rsp + 0xd0]
test rcx, rcx
je 0x140055e99
mov r11, qword [rcx]
call qword [r11 + 0x20]
xor r14d, r14d
xor r8d, r8d
mov rbx, qword [rsp + 0x60]
xor edx, edx
mov dword [rsp + 0x70], r8d
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x80], r14
lock xadd dword [rbx + 0x30], edx
test edx, edx
je 0x140056363
pxor xmm4, xmm4
xor r9d, r9d
lea rcx, [0x140552c20]
mov qword [rsp + 0xd0], rbx
mov qword [rsp + 0x140], r9
mov qword [rsp + 0x148], r9
mov qword [rsp + 0xd8], rdi
movups xmmword [rsp + 0xf0], xmm4
movups xmmword [rsp + 0x100], xmm4
movups xmmword [rsp + 0x110], xmm4
movups xmmword [rsp + 0x120], xmm4
movups xmmword [rsp + 0x130], xmm4
call fcn.1403e4940
mov r12, qword [rax]
mov qword [rax], r15
mov r14, rax
mov qword [rsp + 0xe0], r12
lea r12, [rsp + 0x70]
nop word cs:[rax + rax]
mov r9, r12
mov r8, rdi
mov edx, 0xffffffff
mov rcx, rbx
call fcn.1404276f0
test rax, rax
jne 0x140055f40
mov rcx, qword [rsp + 0xe0]
mov rbx, rdi
lea r12, [rsp + 0x140]
mov qword [r14], rcx
mov r14, qword [sym.imp.msvcrt.dll__aligned_free]
nop dword [rax]
mov rcx, qword [rbx]
test rcx, rcx
je 0x140055f83
call r14
add rbx, 8
cmp r12, rbx
jne 0x140055f78
cmp qword [rsp + 0x148], 0
je 0x140055fa4
lea rcx, [rsp + 0x148]
call fcn.140508250
lea r12, [0x140558318]
lea r14, [0x1405582e8]
mov rax, qword [0x1405583f8]
mov r10, qword [rsp + 0x80]
movq xmm1, r14
movq xmm6, r12
punpcklqdq xmm1, xmm6
mov qword [rsp + 0xa0], rax
movups xmmword [rsp + 0x90], xmm1
test r10b, 1
je 0x140055ffa
sub r10, 1
jne 0x1400562f5
cmp dword [rsp + 0x70], 0
jne 0x1400562f5
xor r12d, r12d
mov r14, qword [0x14061c330]
mov edx, dword [rsp + 0x1b0]
cmp byte [r14], 0
jne 0x1400563bd
cmp dword [rsp + 0x1b0], 0
je 0x140056352
lock sub dword [0x1406a3168], 1
je 0x140056399
call fcn.140071680
mov qword [rsp + 0x48], rax
mov r9, qword [rsp + 0x40]
test r9, r9
je 0x14005605f
mov rcx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x40]
sub rcx, rax
cmp rcx, 0x3e7f
jg 0x14005638f
lea esi, [rsi + rsi*2]
cmp esi, 0x1f41
jg 0x1400563ce
mov eax, esi
mov r10d, 2
cdq
idiv r10d
mov esi, eax
cmp byte [r14], 0
je 0x140056098
mov edx, dword [rsp + 0x1b0]
mov r8d, esi
lea rcx, str.Reconnect__d_in__d_ms
call fcn.140073170
lea rcx, [rsp + 0xd0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x1400567a2
cmp qword [rsp + 0xd0], 0
jle 0x1400567d6
mov rbx, qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov r15d, 4
lea rdi, [rsp + 0xf0]
mov rcx, rdi
call rbx
test eax, eax
jne 0x140056417
sub r15d, 1
jne 0x1400560d2
mov r8d, 0x1a6
lea rdx, [0x140557cd8]
lea rcx, [0x140557d50]
call qword [sym.imp.msvcrt.dll__assert]
mov r12, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, r13
call r12
mov ecx, 0x670
call fcn.14053f0d0
mov rdi, qword [rsp + 0x60]
mov rbx, rax
lea rcx, [0x14062cb50]
xor eax, eax
xor edx, edx
mov qword [rbx], rcx
lea rcx, [rbx + 0x38]
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rbp
mov qword [rbx + 0x20], rdx
mov qword [rbx + 0x28], rbp
mov qword [rbx + 0x30], rdi
call fcn.14043c010
lea rdi, [rbx + 0x68]
mov r9d, ebx
xor r8d, r8d
xor eax, eax
and rdi, 0xfffffffffffffff8
mov qword [rbx + 0x60], r8
xor r10d, r10d
xor edx, edx
sub r9d, edi
mov qword [rbx + 0x660], r8
lea r11, [0x1406215a0]
lea ecx, [r9 + 0x668]
shr ecx, 3
rep stosq qword [rdi], rax
mov qword [rbx + 0x668], r10
mov rcx, r13
mov qword [rbx + 8], r11
mov qword [rbx + 0x10], rdx
call r15
mov r8, qword [r14 + 0x38]
mov rdi, r8
test r8, r8
jne 0x1400561c5
mov qword [rbx + 0x20], r8
mov rdi, rbx
mov qword [r14 + 0x38], rbx
jmp 0x140055c89
mov rdi, qword [rdi + 0x20]
test rdi, rdi
je 0x1400562ec
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x1400561b8
lea rdx, [0x1406215a0]
call fcn.1404e0d50
test al, al
je 0x1400561b8
mov r14, qword [rbx]
mov rcx, rbx
call qword [r14 + 8]
jmp 0x140055c89
mov r14, qword [0x14061c1a0]
mov r12, qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea r15, [rsp + 0xd0]
movzx r11d, byte [r14]
test r11b, r11b
jne 0x140056468
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x1400567bc
cmp qword [rsp + 0xd0], 0
jle 0x140056788
mov ebx, 4
lea rdi, [rsp + 0xf0]
mov rcx, rdi
call r12
test eax, eax
jne 0x1400563d8
sub ebx, 1
jne 0x14005623d
mov r8d, 0x1a6
lea rdx, [0x140557cd8]
lea rcx, [0x140557d50]
call qword [sym.imp.msvcrt.dll__assert]
mov ecx, 0x88
call fcn.14053f0d0
pxor xmm0, xmm0
xor ecx, ecx
lea r9, [0x14041b230]
mov rbx, rax
mov qword [rax + 0x10], rcx
lea rcx, [rbx + 0x38]
mov qword [rax + 0x28], r9
movups xmmword [rax], xmm0
movups xmmword [rax + 0x18], xmm0
xor eax, eax
mov dword [rbx + 0x30], eax
call fcn.14043c010
mov r15, qword [rdi + 0x60]
pxor xmm1, xmm1
mov byte [rbx + 0x60], 0
movups xmmword [rbx + 0x68], xmm1
movups xmmword [rbx + 0x78], xmm1
test r15, r15
je 0x1400562e3
lea rcx, [r15 + 0x78]
call fcn.14043b3d0
lea rcx, [r15 + 0x68]
call fcn.14043b3d0
lea rcx, [r15 + 0x38]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov edx, 0x88
mov rcx, r15
call fcn.14053f090
mov qword [rdi + 0x60], rbx
jmp 0x140055d11
mov r8, qword [r14 + 0x38]
jmp 0x1400561a5
lea rdx, [rsp + 0x70]
mov rcx, r15
call fcn.140490f20
mov rdx, r15
mov rcx, rdi
call fcn.140502d90
mov rcx, r15
lea r12, [0x14062d820]
call fcn.140515aa0
movdqu xmm2, xmmword [rsp + 0x70]
mov r15, qword [rsp + 0x80]
lea rdx, [rsp + 0x90]
mov rcx, rdi
mov qword [rsp + 0xf0], r12
mov qword [rsp + 0x110], r15
movups xmmword [rsp + 0x100], xmm2
call fcn.14040bd50
lea rcx, str.Trying_again...
call fcn.140072ed0
jmp 0x140056031
mov eax, 1
mov edx, eax
xchg dword [rbx + 0x34], edx
test edx, edx
je 0x140056545
xor ebx, ebx
xor ecx, ecx
mov dword [rsp + 0x70], ecx
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x80], rbx
jmp 0x140055fa4
mov esi, 0x1f4
jmp 0x14005607c
cmp byte [r14], 0
je 0x140056031
test r12b, r12b
je 0x140056534
lea rcx, str.onnection_failed_
call fcn.140072ed0
jmp 0x140056031
lea rcx, str.return__d
call fcn.140073170
jmp 0x140056015
mov esi, 0xfa0
jmp 0x14005607c
fild qword [rsp + 0xf0]
fmul dword [0x1405583c0]
or rcx, 0xffffffffffffffff
fild qword [rsp + 0xd0]
fdivp st(1)
fisttp qword [rsp + 0x28]
mov rdx, qword [rsp + 0x28]
add rdx, 0x4c4b40
mov qword [rsp + 0xf0], rdx
mov rdx, rdi
call fcn.14008bc10
jmp 0x140056203
fild qword [rsp + 0xf0]
fmul dword [0x1405583c0]
movsxd r8, esi
mov rdx, rdi
imul r12, r8, 0xf4240
or rcx, 0xffffffffffffffff
fild qword [rsp + 0xd0]
fdivp st(1)
fisttp qword [rsp + 0x28]
mov r11, qword [rsp + 0x28]
add r12, r11
mov qword [rsp + 0xf0], r12
call fcn.14008bc10
mov r14, qword [rsp + 0x60]
xor r9d, r9d
xchg dword [r14 + 0x34], r9d
jmp 0x140055d55
xor r8d, r8d
xchg dword [0x1406a3160], r8d
mov edx, 1
lock xadd dword [0x1406a3168], edx
add edx, 1
cmp edx, r13d
jne 0x140056491
cmp r13d, 1
jg 0x1400565f6
mov r15, qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov r12, qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea r14, [rsp + 0xd0]
mov eax, dword [0x1406a3168]
cmp r13d, eax
je 0x14005670e
mov r10d, dword [0x1406a3160]
test r10d, r10d
jne 0x14005670e
mov rcx, r14
call r15
test eax, eax
je 0x14005673a
cmp qword [rsp + 0xd0], 0
jle 0x140056720
mov ebx, 4
lea rdi, [rsp + 0xf0]
mov rcx, rdi
call r12
test eax, eax
jne 0x140056690
sub ebx, 1
jne 0x1400564f0
mov r8d, 0x1a6
lea rdx, [0x140557cd8]
lea rcx, [0x140557d50]
call qword [sym.imp.msvcrt.dll__assert]
lea r9, [0x1404782e0]
xor r8d, r8d
mov rcx, r15
call sym.miner.exe_ontop_fcontext
jmp 0x140055e52
lea rcx, str.onnection_lost_
call fcn.140072ed0
jmp 0x140056031
xchg dword [rbx + 0x38], eax
test eax, eax
jne 0x140056375
mov rcx, qword [rbx + 0x28]
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
test eax, eax
jne 0x140056375
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r8, [0x1405580a0]
lea rdx, [0x140558060]
mov r9, qword [0x1405583d8]
cmp eax, 1
mov r10d, 2
movq xmm5, rdx
movq xmm0, r8
mov dword [rsp + 0xd0], eax
sbb r10, 0xffffffffffffffff
lea r11, [0x14054d5e0]
punpcklqdq xmm5, xmm0
mov qword [rsp + 0xc0], r9
mov qword [rsp + 0xe0], r10
mov qword [rsp + 0xd8], r11
movups xmmword [rsp + 0xb0], xmm5
test eax, eax
je 0x140056375
lea r8, [0x1405580d6]
mov rdx, r15
mov rcx, rdi
call fcn.140477550
lea rdx, [rsp + 0xb0]
mov rcx, rdi
call fcn.14040bd50
call fcn.1404770a0
lea rbx, [rsp + 0xf0]
add rax, 0x77359400
or rcx, 0xffffffffffffffff
mov rdx, rbx
mov qword [rsp + 0xf0], rax
call fcn.14008bc10
mov r12, qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov r14, qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea rdi, [rsp + 0xd0]
mov r9d, dword [0x1406a3164]
test r9d, r9d
je 0x140056491
mov rcx, rdi
call r12
test eax, eax
je 0x14005676e
cmp qword [rsp + 0xd0], 0
jle 0x140056754
mov r15d, 4
mov rcx, rbx
call r14
test eax, eax
jne 0x1400566cf
sub r15d, 1
jne 0x140056666
mov r8d, 0x1a6
lea rdx, [0x140557cd8]
lea rcx, [0x140557d50]
call qword [sym.imp.msvcrt.dll__assert]
fild qword [rsp + 0xf0]
fmul dword [0x1405583c0]
mov rdx, rdi
or rcx, 0xffffffffffffffff
fild qword [rsp + 0xd0]
fdivp st(1)
fisttp qword [rsp + 0x28]
mov r8, qword [rsp + 0x28]
add r8, 0xf4240
mov qword [rsp + 0xf0], r8
call fcn.14008bc10
jmp 0x1400564a7
fild qword [rsp + 0xf0]
fmul dword [0x1405583c0]
mov rdx, rbx
fild qword [rsp + 0xd0]
fdivp st(1)
fisttp qword [rsp + 0x28]
mov rcx, qword [rsp + 0x28]
add rcx, 0x5f5e100
mov qword [rsp + 0xf0], rcx
or rcx, 0xffffffffffffffff
call fcn.14008bc10
jmp 0x140056633
mov r11d, 1
xchg dword [0x1406a3160], r11d
jmp 0x140055d66
mov r8d, 0x19c
lea rdx, [0x140557cd8]
lea rcx, [0x140557d10]
call qword [sym.imp.msvcrt.dll__assert]
mov r8d, 0x197
lea rdx, [0x140557cd8]
lea rcx, [0x140557d10]
call qword [sym.imp.msvcrt.dll__assert]
mov r8d, 0x19c
lea rdx, [0x140557cd8]
lea rcx, [0x140557d10]
call qword [sym.imp.msvcrt.dll__assert]
mov r8d, 0x197
lea rdx, [0x140557cd8]
lea rcx, [0x140557d10]
call qword [sym.imp.msvcrt.dll__assert]
mov r8d, 0x19c
lea rdx, [0x140557cd8]
lea rcx, [0x140557d10]
call qword [sym.imp.msvcrt.dll__assert]
mov r8d, 0x197
lea rdx, [0x140557cd8]
lea rcx, [0x140557d10]
call qword [sym.imp.msvcrt.dll__assert]
mov r8d, 0x197
lea rdx, [0x140557cd8]
lea rcx, [0x140557d10]
call qword [sym.imp.msvcrt.dll__assert]
mov r8d, 0x19c
lea rdx, [0x140557cd8]
lea rcx, [0x140557d10]
call qword [sym.imp.msvcrt.dll__assert]
mov r8d, 0xcd
lea rdx, str.C:include_boost_context_fiber_fcontext.hpp
lea rcx, str.nullptr___fctx
call qword [sym.imp.msvcrt.dll__assert]
mov r8d, 0x145
lea rdx, str.C:include_boost_context_fiber_fcontext.hpp
lea rcx, str.nullptr___fctx_
call qword [sym.imp.msvcrt.dll__assert]
mov r15, qword [rsp + 0xe0]
mov rcx, rdi
mov rbx, rax
mov qword [r14], r15
call fcn.1404200a0
mov rcx, rbx
call fcn.14053f220
call fcn.14053f430
mov r12d, 1
jmp 0x140055ffd
mov ecx, 8
call fcn.14053f1b0
mov rdi, qword [0x14061be60]
lea r8, [fcn.140531510]
lea rdx, [0x140624a20]
mov rcx, rax
add rdi, 0x10
mov qword [rax], rdi
call fcn.14053f880
mov rbx, rax
jmp 0x14005683a