Function at 0x100411810
Capabilities:
Encode data using xor
Terminate process

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x1f8
movaps xmmword [rsp + 0x1e0], xmm6
mov rsi, qword [rcx + 0x178]
cmp byte [rcx + 0x19a], 0
mov rbx, qword [rsi + 0x728]
mov dword [rsp + 0x64], 0
movzx edi, byte [rbx + 0x2a]
mov rbp, rcx
je 0x100411870
movaps xmm6, xmmword [rsp + 0x1e0]
add rsp, 0x1f8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov eax, dword [rcx + 0x20]
lea rdx, [rsp + 0x70]
mov r8d, 0x20
mov qword [rsp + 0x50], rdx
mov dword [rsp + 0x70], eax
mov eax, dword [rcx + 0x1c]
mov dword [rsp + 0x74], eax
mov eax, dword [rcx + 0x18]
mov dword [rsp + 0x78], eax
mov eax, dword [rcx + 0x14]
mov dword [rsp + 0x7c], eax
mov eax, dword [rcx + 0x10]
mov dword [rsp + 0x80], eax
mov eax, dword [rcx + 0xc]
mov dword [rsp + 0x84], eax
mov eax, dword [rcx + 8]
mov dword [rsp + 0x88], eax
mov eax, dword [rcx + 4]
mov dword [rsp + 0x8c], eax
lea rax, [rsp + 0x90]
mov rcx, rax
mov qword [rsp + 0x40], rax
call fcn.100420790
cmp dil, 4
jbe 0x1004127c0
lea r12, [rsi + 0x1d8]
mov rcx, r12
call sub.cygwin1.dll_pthread_mutex_lock
test eax, eax
jne 0x100412b0c
lea r13, [rsi + 0x1e0]
mov rcx, r13
call sub.cygwin1.dll_pthread_rwlock_wrlock
test eax, eax
jne 0x100412b90
cmp byte [rsi + 0x3b8], 0
jne 0x100411e80
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x4c], eax
cmp dword [rsi + 0x840], eax
je 0x100411934
mov dword [rsi + 0x840], eax
mov rcx, r13
call sub.cygwin1.dll_pthread_rwlock_unlock
test eax, eax
jne 0x100412bcc
mov rcx, r12
call sub.cygwin1.dll_pthread_mutex_unlock
test eax, eax
jne 0x100412c08
mov rax, qword [0x10044d0b0]
call qword [rax]
lea rcx, [0x100454a68]
call sub.cygwin1.dll_pthread_rwlock_wrlock
mov r13d, eax
test eax, eax
jne 0x100412c44
mov r14, qword [rsp + 0x40]
mov rcx, r14
call sub.cygwin1.dll_strlen
mov rdi, rax
mov ebx, eax
cmp rax, 0xb
jbe 0x100412c65
mov r10d, eax
mov edx, 0x9e3779b9
mov eax, 0xfeedbeef
mov r8, r14
mov ecx, 0x9e3779b9
nop dword [rax]
movzx r9d, byte [r8 + 5]
movzx r11d, byte [r8 + 4]
shl r9d, 8
mov r12d, r9d
movzx r9d, byte [r8 + 6]
shl r9d, 0x10
add r9d, r12d
add r11d, r9d
movzx r9d, byte [r8 + 7]
shl r9d, 0x18
add r9d, r11d
movzx r11d, byte [r8 + 8]
add edx, r9d
movzx r9d, byte [r8 + 9]
shl r9d, 8
mov r12d, r9d
movzx r9d, byte [r8 + 0xa]
shl r9d, 0x10
add r9d, r12d
add r11d, r9d
movzx r9d, byte [r8 + 0xb]
shl r9d, 0x18
add r9d, r11d
movzx r11d, byte [r8]
add eax, r9d
movzx r9d, byte [r8 + 1]
shl r9d, 8
mov r12d, r9d
movzx r9d, byte [r8 + 2]
shl r9d, 0x10
add r9d, r12d
add r11d, r9d
movzx r9d, byte [r8 + 3]
shl r9d, 0x18
add r9d, r11d
sub r9d, edx
sub edx, eax
sub r9d, eax
add ecx, r9d
mov r9d, eax
shr r9d, 0xd
xor ecx, r9d
mov r9d, ecx
sub edx, ecx
sub eax, ecx
shl r9d, 8
xor edx, r9d
mov r9d, edx
sub eax, edx
shr r9d, 0xd
xor eax, r9d
sub ecx, edx
sub r10d, 0xc
add r8, 0xc
mov r9d, eax
sub ecx, eax
sub edx, eax
shr r9d, 0xc
xor ecx, r9d
mov r9d, ecx
sub edx, ecx
sub eax, ecx
shl r9d, 0x10
xor edx, r9d
mov r9d, edx
sub eax, edx
sub ecx, edx
shr r9d, 5
xor eax, r9d
mov r9d, eax
sub ecx, eax
sub edx, eax
shr r9d, 3
xor ecx, r9d
mov r9d, ecx
sub edx, ecx
sub eax, ecx
shl r9d, 0xa
xor edx, r9d
mov r9d, edx
sub eax, edx
shr r9d, 0xf
xor eax, r9d
cmp r10d, 0xb
ja 0x1004119a8
add eax, edi
cmp r10d, 0xb
ja case.0x100411ae0.0
lea r9, [0x1004427f0]
movsxd r10, dword [r9 + r10*4]
add r9, r10
jmp r9
movzx r9d, byte [r8 + 0xa]
shl r9d, 0x18
add eax, r9d
movzx r9d, byte [r8 + 9]
shl r9d, 0x10
add eax, r9d
movzx r9d, byte [r8 + 8]
shl r9d, 8
add eax, r9d
movzx r9d, byte [r8 + 7]
shl r9d, 0x18
add edx, r9d
movzx r9d, byte [r8 + 6]
shl r9d, 0x10
add edx, r9d
movzx r9d, byte [r8 + 5]
shl r9d, 8
add edx, r9d
movzx r9d, byte [r8 + 4]
add edx, r9d
movzx r9d, byte [r8 + 3]
shl r9d, 0x18
add ecx, r9d
movzx r9d, byte [r8 + 2]
shl r9d, 0x10
add ecx, r9d
movzx r9d, byte [r8 + 1]
shl r9d, 8
add ecx, r9d
movzx r8d, byte [r8]
add ecx, r8d
lea r8d, [rdx + rax]
sub edx, eax
sub ecx, r8d
mov r8d, eax
shr r8d, 0xd
xor ecx, r8d
mov r8d, ecx
sub edx, ecx
sub eax, ecx
shl r8d, 8
xor edx, r8d
mov r8d, edx
sub eax, edx
sub ecx, edx
shr r8d, 0xd
xor eax, r8d
mov r8d, eax
sub ecx, eax
sub edx, eax
shr r8d, 0xc
xor ecx, r8d
mov r8d, ecx
sub edx, ecx
sub eax, ecx
shl r8d, 0x10
xor edx, r8d
mov r8d, edx
sub eax, edx
sub ecx, edx
shr r8d, 5
xor eax, r8d
mov r8d, eax
sub ecx, eax
sub edx, eax
shr r8d, 3
xor ecx, r8d
mov r14d, ecx
sub edx, ecx
sub eax, ecx
shl r14d, 0xa
xor edx, r14d
sub eax, edx
shr edx, 0xf
xor edx, eax
mov rax, qword [0x100454948]
mov r14d, edx
test rax, rax
je 0x100411e98
mov rdx, qword [rax + 0x48]
mov eax, dword [rdx + 8]
sub eax, 1
and eax, r14d
shl rax, 4
add rax, qword [rdx]
mov r12, qword [rax]
test r12, r12
je 0x100411e98
mov rax, qword [rdx + 0x20]
mov qword [rsp + 0x58], rsi
mov rsi, rdi
mov edi, ebx
mov rbx, qword [rsp + 0x40]
mov r15, rax
sub r12, rax
neg r15
jmp 0x100411c41
mov r12, qword [r12 + 0x68]
test r12, r12
je 0x100411e93
add r12, r15
cmp r14d, dword [r12 + 0x7c]
jne 0x100411c30
cmp edi, dword [r12 + 0x78]
jne 0x100411c30
mov rcx, qword [r12 + 0x70]
mov r8, rsi
mov rdx, rbx
call sub.cygwin1.dll_memcmp
test eax, eax
jne 0x100411c30
lea rcx, [0x100454a68]
mov rsi, qword [rsp + 0x58]
call sub.cygwin1.dll_pthread_rwlock_unlock
test eax, eax
jne 0x100412cd9
mov rax, qword [0x10044d0b0]
lea r13, [rsi + 0x318]
call qword [rax]
mov rax, qword [rsi + 0x318]
mov rdx, qword [r13 + 8]
xor rax, qword [rsp + 0x70]
xor rdx, qword [rsp + 0x78]
or rdx, rax
jne 0x100411cc7
mov rax, qword [r13 + 0x10]
mov rdx, qword [r13 + 0x18]
xor rax, qword [rsp + 0x80]
xor rdx, qword [rsp + 0x88]
or rdx, rax
je 0x100411d95
mov rdx, qword [rsp + 0x78]
mov rax, qword [rsp + 0x70]
xor rdx, qword [0x1004549c8]
xor rax, qword [0x1004549c0]
or rdx, rax
jne 0x10041226b
mov rdx, qword [rsp + 0x88]
mov rax, qword [rsp + 0x80]
xor rdx, qword [0x1004549d8]
xor rax, qword [0x1004549d0]
or rdx, rax
jne 0x10041226b
cmp byte [0x100456840], 0
jne 0x100411d30
mov rax, qword [0x10044cf80]
cmp byte [rax], 0
jne 0x100411d30
mov rax, qword [0x10044cf70]
cmp dword [rax], 5
jle 0x100411d67
mov eax, dword [rsp + 0x4c]
lea r12, [rsp + 0xe0]
mov edx, 0x100
lea r8, str.Pool__d_now_up_to_date_at_height__d
mov rcx, r12
mov dword [rsp + 0x20], eax
mov r9d, dword [rsi]
call sub.cygwin1.dll_snprintf
xor r8d, r8d
mov rdx, r12
mov ecx, 6
call fcn.100433050
lea rax, str.test_work_current
mov rdx, qword [rsp + 0x50]
mov rcx, r13
mov dword [rsp + 0x28], 0x15c8
mov qword [rsp + 0x20], rax
lea r9, str.cgminer.c
mov r8d, 0x20
call fcn.100423600
cmp byte [rbp + 0x198], 0
je 0x100411e74
mov eax, dword [0x100454a08]
add eax, 1
mov dword [0x100454a08], eax
mov dword [rbp + 0x1e4], eax
mov eax, dword [0x100453020]
sub eax, 3
cmp eax, 1
ja 0x1004127ee
cmp byte [rbp + 0x19c], 0
movzx eax, byte [0x100456840]
jne 0x100412859
test al, al
jne 0x100411e01
mov rax, qword [0x10044cf80]
cmp byte [rax], 0
jne 0x100411e01
mov rax, qword [0x10044cf70]
lea r12, [rsp + 0xe0]
cmp dword [rax], 4
jle 0x100411e4c
mov eax, dword [rsi]
cmp byte [rbp + 0x1d0], 0
lea rdx, [0x10044103a]
lea r9, str.GBT
cmove r9, rdx
lea r12, [rsp + 0xe0]
lea r8, str._sLONGPOLL_from_pool__d_requested_work_restart
mov edx, 0x100
mov dword [rsp + 0x20], eax
mov rcx, r12
call sub.cygwin1.dll_snprintf
xor r8d, r8d
mov rdx, r12
mov ecx, 5
call fcn.100433050
lea rcx, [0x100454a20]
call fcn.1004218f0
xor r9d, r9d
xor edx, edx
mov rcx, r12
lea r8, [0x100419600]
call sub.cygwin1.dll_pthread_create
test eax, eax
jne 0x1004127b6
mov byte [rbp + 0x198], 0
jmp 0x100411851
mov byte [rsi + 0x3b8], 0
mov byte [rbp + 0x198], 1
jmp 0x10041191e
mov rsi, qword [rsp + 0x58]
mov dword [rsp + 0x20], 0x155b
mov edx, 1
mov ecx, 0x88
lea r9, str.block_exists
lea r8, str.cgminer.c
call fcn.10041f380
mov r12, rax
test rax, rax
je 0x100412ef7
mov rdx, qword [rsp + 0x40]
mov rcx, rax
call sub.cygwin1.dll_strcpy
mov eax, dword [0x1004557a0]
mov rbx, qword [0x100454948]
lea edx, [rax + 1]
mov dword [r12 + 0x80], eax
mov dword [0x1004557a0], edx
test rbx, rbx
je 0x100412103
mov rax, qword [rbx + 0x48]
cmp dword [rax + 0x10], 6
jbe 0x100412103
lea r14, [rbx + 0x48]
mov r13d, 1
mov rdx, r14
xor eax, eax
xor r14d, r14d
xor edi, edi
nop
add edi, 1
mov r8, rdx
test r13d, r13d
je 0x100412aa1
xor ecx, ecx
jmp 0x100411f45
mov r9, qword [rbx + 0x48]
add r8, qword [r9 + 0x20]
cmp r13d, ecx
je 0x100411f51
mov r8, qword [r8 + 0x10]
add ecx, 1
test r8, r8
jne 0x100411f38
mov r9d, r13d
mov r10, rdx
mov rdx, r8
nop word [rax + rax]
test ecx, ecx
jne 0x100411fbb
test r9d, r9d
je 0x100412020
test rdx, rdx
je 0x100412030
mov r8, qword [rdx + 0x10]
test r8, r8
je 0x100411f87
mov r11, qword [rbx + 0x48]
add r8, qword [r11 + 0x20]
sub r9d, 1
test rax, rax
je 0x10041200b
mov r11, qword [rbx + 0x48]
mov r15, rdx
sub r15, qword [r11 + 0x20]
mov qword [rax + 0x10], r15
mov r15, rdx
mov rdx, r8
mov r8, qword [rbx + 0x48]
sub rax, qword [r8 + 0x20]
mov r11, rax
mov rax, r15
mov qword [rax + 8], r11
test ecx, ecx
je 0x100411f64
test r9d, r9d
je 0x100412a00
test rdx, rdx
je 0x100412a00
mov r8, qword [rbx + 0x48]
mov r11, qword [r8 + 0x20]
mov r15, r11
neg r15
mov r8d, dword [r10 + r15 + 0x80]
sub r8d, dword [rdx + r15 + 0x80]
test r8d, r8d
jle 0x100412a50
mov r8, qword [rdx + 0x10]
add r11, r8
test r8, r8
cmovne r8, r11
sub r9d, 1
test rax, rax
jne 0x100411f90
mov r14, rdx
mov rax, rdx
xor r11d, r11d
mov rdx, r8
jmp 0x100411fb3
test rdx, rdx
jne 0x100411f20
nop dword [rax]
test rax, rax
je 0x10041203d
mov qword [rax + 0x10], 0
cmp edi, 1
jbe 0x100412050
add r13d, r13d
test r14, r14
jne 0x100411f15
xor eax, eax
mov rdx, qword [rbx + 0x48]
mov qword [rdx + 0x18], rax
mov rax, qword [rbx + 0x48]
sub r14, qword [rax + 0x20]
mov rax, qword [r14 + 0x50]
mov qword [0x100454948], r14
lea rdx, [r14 + 0x48]
mov r13d, dword [r14 + 0x80]
test rax, rax
je 0x100412ed1
mov rcx, qword [r14 + 0x48]
cmp rdx, qword [rcx + 0x18]
je 0x100412f36
mov r8, qword [r14 + 0x58]
mov rcx, qword [rcx + 0x20]
mov rbx, r14
mov qword [rax + rcx + 0x10], r8
mov rcx, qword [rbx + 0x48]
test r8, r8
je 0x1004120b7
mov rax, qword [rcx + 0x20]
mov r9, qword [r14 + 0x50]
mov qword [r8 + rax + 8], r9
mov rcx, qword [rbx + 0x48]
mov eax, dword [rcx + 8]
sub eax, 1
and eax, dword [r14 + 0x7c]
shl rax, 4
add rax, qword [rcx]
sub dword [rax + 8], 1
cmp rdx, qword [rax]
je 0x100412f6d
mov rdx, qword [r14 + 0x60]
mov rax, qword [r14 + 0x68]
test rdx, rdx
je 0x1004120e6
mov qword [rdx + 0x20], rax
test rax, rax
je 0x1004120f3
mov rdx, qword [r14 + 0x60]
mov qword [rax + 0x18], rdx
mov rax, qword [rbx + 0x48]
sub dword [rax + 0x10], 1
mov rcx, r14
call fcn.10043bf30
mov rcx, r12
call sub.cygwin1.dll_strlen
mov rdi, rax
cmp eax, 0xb
jbe 0x100412eb7
mov r10d, eax
mov r9, r12
mov eax, 0xfeedbeef
mov edx, 0x9e3779b9
mov ecx, 0x9e3779b9
nop dword [rax]
movzx r8d, byte [r9 + 5]
movzx r11d, byte [r9 + 4]
mov r14d, r8d
movzx r8d, byte [r9 + 6]
shl r14d, 8
shl r8d, 0x10
add r8d, r14d
add r11d, r8d
movzx r8d, byte [r9 + 7]
shl r8d, 0x18
add r8d, r11d
movzx r11d, byte [r9 + 8]
add edx, r8d
movzx r8d, byte [r9 + 9]
mov r14d, r8d
movzx r8d, byte [r9 + 0xa]
shl r14d, 8
shl r8d, 0x10
add r8d, r14d
add r11d, r8d
movzx r8d, byte [r9 + 0xb]
shl r8d, 0x18
add r8d, r11d
movzx r11d, byte [r9]
add eax, r8d
movzx r8d, byte [r9 + 1]
mov r14d, r8d
movzx r8d, byte [r9 + 2]
shl r14d, 8
shl r8d, 0x10
add r8d, r14d
add r11d, r8d
movzx r8d, byte [r9 + 3]
shl r8d, 0x18
add r8d, r11d
sub r8d, edx
sub edx, eax
sub r8d, eax
add ecx, r8d
mov r8d, eax
shr r8d, 0xd
xor ecx, r8d
mov r8d, ecx
sub edx, ecx
sub eax, ecx
shl r8d, 8
xor edx, r8d
mov r8d, edx
sub eax, edx
shr r8d, 0xd
xor eax, r8d
sub ecx, edx
sub r10d, 0xc
add r9, 0xc
mov r8d, eax
sub ecx, eax
sub edx, eax
shr r8d, 0xc
xor ecx, r8d
mov r8d, ecx
sub edx, ecx
sub eax, ecx
shl r8d, 0x10
xor edx, r8d
mov r8d, edx
sub eax, edx
sub ecx, edx
shr r8d, 5
xor eax, r8d
mov r8d, eax
sub ecx, eax
sub edx, eax
shr r8d, 3
xor ecx, r8d
mov r8d, ecx
sub edx, ecx
sub eax, ecx
shl r8d, 0xa
xor edx, r8d
mov r8d, edx
sub eax, edx
shr r8d, 0xf
xor eax, r8d
cmp r10d, 0xb
ja 0x100412130
add eax, edi
cmp r10d, 0xb
ja case.0x100412268.0
lea r8, [0x100442820]
movsxd r10, dword [r8 + r10*4]
add r8, r10
jmp r8
mov rax, qword [0x10044cf20]
cmp byte [rax], 0
je 0x100411d95
cmp byte [0x100456840], 0
jne 0x1004122a0
mov rax, qword [0x10044cf80]
cmp byte [rax], 0
jne 0x1004122a0
mov rax, qword [0x10044cf70]
cmp dword [rax], 6
jle 0x100411d95
mov eax, dword [rsp + 0x4c]
lea r12, [rsp + 0xe0]
mov edx, 0x100
lea r8, str.Stale_data_from_pool__d_at_height__d
mov rcx, r12
mov dword [rsp + 0x20], eax
mov r9d, dword [rsi]
call sub.cygwin1.dll_snprintf
xor r8d, r8d
mov rdx, r12
mov ecx, 7
call fcn.100433050
jmp 0x100411d95
movzx r8d, byte [r9 + 0xa]
shl r8d, 0x18
add eax, r8d
movzx r8d, byte [r9 + 9]
shl r8d, 0x10
add eax, r8d
movzx r8d, byte [r9 + 8]
shl r8d, 8
add eax, r8d
movzx r8d, byte [r9 + 7]
shl r8d, 0x18
add edx, r8d
movzx r8d, byte [r9 + 6]
shl r8d, 0x10
add edx, r8d
movzx r8d, byte [r9 + 5]
shl r8d, 8
add edx, r8d
movzx r8d, byte [r9 + 4]
add edx, r8d
movzx r8d, byte [r9 + 3]
shl r8d, 0x18
add ecx, r8d
movzx r8d, byte [r9 + 2]
shl r8d, 0x10
add ecx, r8d
movzx r8d, byte [r9 + 1]
shl r8d, 8
add ecx, r8d
movzx r8d, byte [r9]
add ecx, r8d
lea r8d, [rdx + rax]
sub edx, eax
mov qword [r12 + 0x70], r12
sub ecx, r8d
mov r8d, eax
mov dword [r12 + 0x78], edi
shr r8d, 0xd
xor ecx, r8d
mov r8d, ecx
sub edx, ecx
sub eax, ecx
shl r8d, 8
xor edx, r8d
mov r8d, edx
sub eax, edx
sub ecx, edx
shr r8d, 0xd
xor eax, r8d
mov r8d, eax
sub ecx, eax
sub edx, eax
shr r8d, 0xc
xor r8d, ecx
mov ecx, r8d
sub edx, r8d
sub eax, r8d
shl ecx, 0x10
xor ecx, edx
mov edx, ecx
sub eax, ecx
sub r8d, ecx
shr edx, 5
xor edx, eax
mov eax, edx
sub r8d, edx
sub ecx, edx
shr eax, 3
xor r8d, eax
mov r15d, r8d
sub ecx, r8d
sub edx, r8d
shl r15d, 0xa
xor ecx, r15d
sub edx, ecx
shr ecx, 0xf
xor ecx, edx
mov dword [r12 + 0x7c], ecx
mov r15d, ecx
test rbx, rbx
je 0x100412cfa
mov rax, qword [rbx + 0x48]
lea r14, [r12 + 0x48]
mov qword [r12 + 0x58], 0
mov qword [r12 + 0x48], rax
mov rdx, qword [rbx + 0x48]
mov rax, qword [rdx + 0x18]
sub rax, qword [rdx + 0x20]
mov qword [r12 + 0x50], rax
mov rax, qword [rbx + 0x48]
mov rax, qword [rax + 0x18]
mov qword [rax + 0x10], r12
mov rax, qword [rbx + 0x48]
mov qword [rax + 0x18], r14
mov rax, qword [rbx + 0x48]
add dword [rax + 0x10], 1
mov rdx, qword [rbx + 0x48]
mov eax, dword [rdx + 8]
sub eax, 1
and eax, r15d
shl rax, 4
add rax, qword [rdx]
mov rdx, qword [rax]
add dword [rax + 8], 1
mov qword [r12 + 0x60], 0
mov qword [r12 + 0x68], rdx
mov rdx, qword [rax]
test rdx, rdx
je 0x100412466
mov qword [rdx + 0x18], r14
mov edx, dword [rax + 0xc]
mov qword [rax], r14
lea edx, [rdx + rdx*4 + 5]
add edx, edx
cmp dword [rax + 8], edx
jb 0x100412487
mov rax, qword [r12 + 0x48]
mov edi, dword [rax + 0x34]
test edi, edi
je 0x1004128b5
movzx edx, byte [rbp + 0x48]
mov eax, 0x1d
mov ecx, 0
sub eax, edx
mov edx, dword [rbp + 0x48]
shl eax, 3
cmovns ecx, eax
mov eax, 0xffff
bswap edx
shl rax, cl
test rax, rax
js 0x100412b72
pxor xmm6, xmm6
cvtsi2sd xmm6, rax
and edx, 0xffffff
pxor xmm0, xmm0
cvtsi2sd xmm0, edx
divsd xmm6, xmm0
ucomisd xmm6, qword [0x10043feb0]
jp 0x100412f79
comisd xmm6, xmmword [0x10043feb0]
jne 0x100412f79
lea r12, [rsp + 0xe0]
test r13d, r13d
je 0x100412507
mov rax, qword [0x10044cf20]
cmp byte [rax], 0
jne 0x100412808
lea rcx, [0x100454a68]
call sub.cygwin1.dll_pthread_rwlock_unlock
test eax, eax
jne 0x100412ce1
mov rax, qword [0x10044d0b0]
lea r14, [0x100455790]
call qword [rax]
mov rcx, r14
call sub.cygwin1.dll_pthread_mutex_lock
test eax, eax
jne 0x100413012
lea rcx, [0x100455798]
call sub.cygwin1.dll_pthread_rwlock_wrlock
test eax, eax
jne 0x100412f54
lea rcx, [0x100455780]
lea rdi, [0x1004565c0]
call fcn.1004218f0
mov rdx, qword [rsp + 0x40]
mov rcx, rdi
lea r15, str.set_curblock
call sub.cygwin1.dll_strcpy
mov qword [rsp + 0x20], r15
mov rdx, qword [rsp + 0x50]
lea r9, str.cgminer.c
mov dword [rsp + 0x28], 0x152c
mov r8d, 0x20
lea rcx, [0x1004549c0]
call fcn.100423600
mov rax, qword [0x100455780]
mov rcx, qword [0x100455788]
movabs rdx, 0x20c49ba5e353f7cf
mov qword [rsp + 0xe0], rax
mov rax, rcx
sar rcx, 0x3f
imul rdx
sar rdx, 7
mov rbx, rdx
sub rbx, rcx
mov rcx, r12
call sub.cygwin1.dll_localtime
lea rcx, [0x100454960]
lea r8, str.__02d:_02d:_02d._03d_
mov r9d, dword [rax + 8]
mov dword [rsp + 0x30], ebx
mov edx, dword [rax]
mov dword [rsp + 0x28], edx
mov eax, dword [rax + 4]
mov edx, 0x20
mov dword [rsp + 0x20], eax
call sub.cygwin1.dll_snprintf
lea rcx, [0x100455798]
call sub.cygwin1.dll_pthread_rwlock_unlock
test eax, eax
jne 0x100413061
mov rcx, r14
call sub.cygwin1.dll_pthread_mutex_unlock
test eax, eax
jne 0x100413034
mov rax, qword [0x10044d0b0]
call qword [rax]
mov rdx, rdi
lea rax, [0x1004565f9]
jmp 0x100412651
add rdx, 1
cmp rdx, rax
je 0x100412656
cmp byte [rdx], 0x30
je 0x100412648
mov r8d, 8
lea rcx, [0x1004549e0]
call fcn.10043c350
cmp byte [0x100456840], 0
mov byte [0x1004549e8], 0
jne 0x100412690
mov rax, qword [0x10044cf80]
cmp byte [rax], 0
jne 0x100412690
mov rax, qword [0x10044cf70]
cmp dword [rax], 5
jle 0x1004126c3
lea rax, [0x100454950]
lea r8, str.New_block:__s..._diff__s
mov rcx, r12
mov r9, rdi
mov qword [rsp + 0x20], rax
mov edx, 0x100
call sub.cygwin1.dll_snprintf
xor r8d, r8d
mov rdx, r12
mov ecx, 6
call fcn.100433050
test r13d, r13d
jne 0x100412aab
lea rax, str.test_work_current
mov dword [rsp + 0x28], 0x15a3
mov rdx, qword [rsp + 0x50]
lea rcx, [rsi + 0x318]
mov qword [rsp + 0x20], rax
lea r9, str.cgminer.c
mov r8d, 0x20
call fcn.100423600
cmp dword [0x1004557a0], 1
je 0x100411e74
mov eax, dword [0x100454a08]
add eax, 1
cmp byte [rbp + 0x198], 0
mov dword [0x100454a08], eax
mov dword [rbp + 0x1e4], eax
je 0x100412c81
cmp byte [rbp + 0x19c], 0
movzx eax, byte [0x100456840]
je 0x100412e47
test al, al
jne 0x10041275d
mov rax, qword [0x10044cf80]
cmp byte [rax], 0
jne 0x10041275d
mov rax, qword [0x10044cf70]
cmp dword [rax], 4
jle 0x10041278c
mov eax, dword [rsp + 0x4c]
lea r8, str.Stratum_from_pool__d_detected_new_block_at_height__d
mov dword [rsp + 0x20], eax
mov r9d, dword [rsi]
mov edx, 0x100
mov rcx, r12
call sub.cygwin1.dll_snprintf
xor r8d, r8d
mov rdx, r12
mov ecx, 5
call fcn.100433050
lea rcx, [0x100454a20]
call fcn.1004218f0
xor r9d, r9d
xor edx, edx
lea rcx, [rsp + 0x68]
lea r8, [0x100419600]
call sub.cygwin1.dll_pthread_create
test eax, eax
je 0x100411e74
call fcn.100405c60
nop dword [rax + rax]
lea r8, [rsp + 0x64]
add rbx, 0x2b
mov r9d, edi
test edi, edi
je 0x1004127e4
xor eax, eax
mov edx, eax
add eax, 1
movzx ecx, byte [rbx + rdx]
mov byte [r8 + rdx], cl
cmp eax, r9d
jb 0x1004127d2
sub dword [rsp + 0x64], 1
jmp 0x1004118e3
mov rbx, qword [rbp + 0x178]
call fcn.10040bb30
cmp rbx, rax
jne 0x100411e74
jmp 0x100411dc9
cmp byte [0x100456840], 0
jne 0x10041282d
mov rax, qword [0x10044cf80]
cmp byte [rax], 0
jne 0x10041282d
mov rax, qword [0x10044cf70]
cmp dword [rax], 6
jle 0x100412507
mov rcx, r12
mov r9d, r13d
mov edx, 0x100
lea r8, str.Deleted_block__d_from_database
call sub.cygwin1.dll_snprintf
xor r8d, r8d
mov rdx, r12
mov ecx, 7
call fcn.100433050
jmp 0x100412507
test al, al
jne 0x100412881
mov rax, qword [0x10044cf80]
cmp byte [rax], 0
jne 0x100412881
mov rax, qword [0x10044cf70]
lea r12, [rsp + 0xe0]
cmp dword [rax], 4
jle 0x100411e4c
lea r12, [rsp + 0xe0]
mov r9d, dword [rsi]
mov edx, 0x100
lea r8, str.Stratum_from_pool__d_requested_work_restart
mov rcx, r12
call sub.cygwin1.dll_snprintf
xor r8d, r8d
mov rdx, r12
mov ecx, 5
call fcn.100433050
jmp 0x100411e4c
mov ecx, dword [rax + 8]
mov edx, 1
shl rcx, 5
call sub.cygwin1.dll_calloc
mov rbx, rax
test rax, rax
je 0x1004130c8
mov rax, qword [r12 + 0x48]
xor r8d, r8d
mov ecx, dword [rax + 8]
mov edx, dword [rax + 0x10]
lea ecx, [rcx + rcx - 1]
test ecx, edx
mov ecx, dword [rax + 0xc]
setne r8b
add ecx, 1
shr edx, cl
add edx, r8d
mov dword [rax + 0x28], edx
mov rax, qword [r12 + 0x48]
mov dword [rax + 0x2c], 0
mov rcx, qword [r12 + 0x48]
mov eax, dword [rcx + 8]
test eax, eax
je 0x1004129ab
xor r10d, r10d
mov edx, r10d
shl rdx, 4
add rdx, qword [rcx]
mov r8, qword [rdx]
test r8, r8
jne 0x10041293b
jmp 0x10041299e
mov rax, qword [r12 + 0x48]
mov r8, r9
mov eax, dword [rax + 8]
lea ecx, [rax + rax - 1]
and ecx, dword [r8 + 0x34]
mov r9, qword [r8 + 0x20]
shl rcx, 4
add rcx, rbx
mov eax, dword [rcx + 8]
add eax, 1
mov dword [rcx + 8], eax
mov rdx, qword [r12 + 0x48]
cmp eax, dword [rdx + 0x28]
jbe 0x100412976
add dword [rdx + 0x2c], 1
mov r14, qword [r12 + 0x48]
xor edx, edx
mov eax, dword [rcx + 8]
div dword [r14 + 0x28]
mov dword [rcx + 0xc], eax
mov qword [r8 + 0x18], 0
mov rax, qword [rcx]
mov qword [r8 + 0x20], rax
test rax, rax
je 0x10041298e
mov qword [rax + 0x18], r8
mov qword [rcx], r8
test r9, r9
jne 0x100412930
mov rcx, qword [r12 + 0x48]
mov eax, dword [rcx + 8]
add r10d, 1
cmp r10d, eax
jb 0x100412917
mov rcx, qword [rcx]
call fcn.10043bf30
mov rax, qword [r12 + 0x48]
shl dword [rax + 8], 1
mov rax, qword [r12 + 0x48]
add dword [rax + 0xc], 1
mov rax, qword [r12 + 0x48]
mov qword [rax], rbx
mov rax, qword [r12 + 0x48]
mov edx, dword [rax + 0x10]
shr edx, 1
cmp dword [rax + 0x2c], edx
jbe 0x1004129e1
mov edi, dword [rax + 0x30]
add edi, 1
mov dword [rax + 0x30], edi
mov rax, qword [r12 + 0x48]
cmp dword [rax + 0x30], 1
jbe 0x100412487
mov dword [rax + 0x34], 1
jmp 0x100412487
xor r8d, r8d
test r10, r10
je 0x100412a19
mov r8, qword [r10 + 0x10]
test r8, r8
je 0x100412a19
mov r11, qword [rbx + 0x48]
add r8, qword [r11 + 0x20]
sub ecx, 1
test rax, rax
je 0x100412a40
test r10, r10
jne 0x100412a70
mov qword [rax + 0x10], 0
mov r10, r8
xor eax, eax
jmp 0x100411f60
test r10, r10
jne 0x100412a90
xor r14d, r14d
mov r10, r8
jmp 0x100411f60
xor r8d, r8d
test r10, r10
je 0x100412a19
mov r8, qword [r10 + 0x10]
add r11, r8
test r8, r8
cmovne r8, r11
jmp 0x100412a19
mov r11, qword [rbx + 0x48]
mov r15, r10
sub r15, qword [r11 + 0x20]
mov qword [rax + 0x10], r15
mov r15, r10
mov r10, r8
jmp 0x100411fa5
mov r14, r10
mov rax, r10
xor r11d, r11d
mov r10, r8
jmp 0x100411fb3
xor r9d, r9d
xor ecx, ecx
jmp 0x100411f54
mov rax, qword [0x10044cf20]
cmp byte [rax], 0
je 0x1004126cc
cmp byte [0x100456840], 0
jne 0x100412ae0
mov rax, qword [0x10044cf80]
cmp byte [rax], 0
jne 0x100412ae0
mov rax, qword [0x10044cf70]
cmp dword [rax], 6
jle 0x1004126cc
mov rcx, r12
mov r9d, r13d
mov edx, 0x100
lea r8, str.Deleted_block__d_from_database
call sub.cygwin1.dll_snprintf
xor r8d, r8d
mov rdx, r12
mov ecx, 7
call fcn.100433050
jmp 0x1004126cc
call sub.cygwin1.dll___errno
mov dword [rsp + 0x30], 0x1594
lea r12, [rsp + 0xe0]
lea rsi, str.test_work_current
mov qword [rsp + 0x28], rsi
lea rsi, str.cgminer.c
lea r8, [0x100441b18]
mov qword [rsp + 0x20], rsi
mov r9d, dword [rax]
mov edx, 0x100
mov rcx, r12
call sub.cygwin1.dll_snprintf
mov r8d, 1
mov rdx, r12
mov ecx, 3
call fcn.100433050
mov edx, 1
mov ecx, 1
call fcn.100405a50
mov rcx, rax
and eax, 1
pxor xmm6, xmm6
shr rcx, 1
or rcx, rax
cvtsi2sd xmm6, rcx
addsd xmm6, xmm6
jmp 0x1004124bc
call sub.cygwin1.dll___errno
mov dword [rsp + 0x30], 0x1594
lea r12, [rsp + 0xe0]
lea rsi, str.test_work_current
mov qword [rsp + 0x28], rsi
lea rsi, str.cgminer.c
lea r8, [0x100441858]
mov qword [rsp + 0x20], rsi
mov r9d, dword [rax]
jmp 0x100412b43
call sub.cygwin1.dll___errno
mov dword [rsp + 0x30], 0x159c
lea r12, [rsp + 0xe0]
lea rsi, str.test_work_current
mov qword [rsp + 0x28], rsi
lea rsi, str.cgminer.c
lea r8, [0x100441650]
mov qword [rsp + 0x20], rsi
mov r9d, dword [rax]
jmp 0x100412b43
lea rsi, str.test_work_current
lea r12, [rsp + 0xe0]
call sub.cygwin1.dll___errno
mov qword [rsp + 0x28], rsi
lea rsi, str.cgminer.c
lea r8, [0x100441b98]
mov dword [rsp + 0x30], 0x159c
mov qword [rsp + 0x20], rsi
mov r9d, dword [rax]
jmp 0x100412b43
call sub.cygwin1.dll___errno
lea r12, [rsp + 0xe0]
mov dword [rsp + 0x30], 0x1558
lea rsi, str.block_exists
jmp 0x100412bac
mov r10d, eax
mov r8, qword [rsp + 0x40]
mov eax, 0xfeedbeef
mov edx, 0x9e3779b9
mov ecx, 0x9e3779b9
jmp 0x100411ac6
cmp byte [0x100454e40], 0
movzx eax, byte [rsi + 0x478]
je 0x100412e03
test al, al
jne 0x10041278c
cmp byte [0x100456840], 0
jne 0x100412cc2
mov rax, qword [0x10044cf80]
cmp byte [rax], 0
jne 0x100412cc2
mov rax, qword [0x10044cf70]
cmp dword [rax], 4
jle 0x10041278c
mov eax, dword [rsp + 0x4c]
lea r8, str.New_block_detected_on_network_before_pool_notification_from_pool__d_at_height__d
mov dword [rsp + 0x20], eax
mov r9d, dword [rsi]
jmp 0x10041276f
lea r12, [rsp + 0xe0]
call sub.cygwin1.dll___errno
lea rsi, str.block_exists
mov dword [rsp + 0x30], 0x1573
jmp 0x100412be8
mov qword [r12 + 0x58], 0
mov ecx, 0x40
mov qword [r12 + 0x50], 0
call sub.cygwin1.dll_malloc
mov qword [r12 + 0x48], rax
test rax, rax
je 0x1004130c8
mov qword [rax + 8], 0
lea r14, [r12 + 0x48]
mov ecx, 0x200
mov qword [rax + 0x18], 0
mov qword [rax + 0x20], 0
mov qword [rax], 0
mov qword [rax + 0x10], 0
mov qword [rax + 0x28], 0
mov qword [rax + 0x30], 0
mov qword [rax + 0x38], 0
mov rax, qword [r12 + 0x48]
mov qword [rax + 0x18], r14
mov rax, qword [r12 + 0x48]
mov dword [rax + 8], 0x20
mov rax, qword [r12 + 0x48]
mov dword [rax + 0xc], 5
mov rax, qword [r12 + 0x48]
mov qword [rax + 0x20], 0x48
mov rdi, qword [r12 + 0x48]
call sub.cygwin1.dll_malloc
mov qword [rdi], rax
mov rax, qword [r12 + 0x48]
mov dword [rax + 0x38], 0xa0111fe1
mov rax, qword [r12 + 0x48]
mov rax, qword [rax]
test rax, rax
je 0x1004130c8
lea rdi, [rax + 8]
mov qword [rax], 0
mov qword [rax + 0x1f8], 0
and rdi, 0xfffffffffffffff8
sub rax, rdi
mov rcx, rax
mov rax, rbx
mov rbx, r12
add ecx, 0x200
shr ecx, 3
rep stosq qword [rdi], rax
mov qword [0x100454948], r12
jmp 0x100412429
test al, al
jne 0x10041278c
cmp byte [0x100456840], 0
jne 0x100412e30
mov rax, qword [0x10044cf80]
cmp byte [rax], 0
jne 0x100412e30
mov rax, qword [0x10044cf70]
cmp dword [rax], 4
jle 0x10041278c
mov eax, dword [rsp + 0x4c]
lea r8, str.New_block_detected_on_network_from_pool__d_at_height__d
mov dword [rsp + 0x20], eax
mov r9d, dword [rsi]
jmp 0x10041276f
test al, al
jne 0x100412e67
mov rax, qword [0x10044cf80]
cmp byte [rax], 0
jne 0x100412e67
mov rax, qword [0x10044cf70]
cmp dword [rax], 4
jle 0x10041278c
mov eax, dword [rsi]
mov esi, dword [rsp + 0x4c]
mov rcx, r12
mov edx, 0x100
cmp byte [rbp + 0x1d0], 0
lea r9, str.GBT
lea r8, str._sLONGPOLL_from_pool__d_detected_new_block_at_height__d
mov dword [rsp + 0x20], eax
lea rax, [0x10044103a]
mov dword [rsp + 0x28], esi
cmove r9, rax
call sub.cygwin1.dll_snprintf
xor r8d, r8d
mov rdx, r12
mov ecx, 5
call fcn.100433050
jmp 0x10041278c
mov r10d, eax
mov r9, r12
mov eax, 0xfeedbeef
mov edx, 0x9e3779b9
mov ecx, 0x9e3779b9
jmp 0x10041224e
mov r8, qword [r14 + 0x58]
mov rcx, qword [r14 + 0x48]
test r8, r8
je 0x1004130a5
cmp rdx, qword [rcx + 0x18]
je 0x100412f36
mov qword [0x100454948], r8
mov rbx, r8
jmp 0x10041209d
movabs rsi, 0x78655f6b636f6c62
mov byte [rsp + 0xf0], 0
movabs rdi, 0x4d4f4f2073747369
lea rdx, [rsp + 0xe0]
mov qword [rsp + 0xe0], rsi
mov r8d, 1
mov qword [rsp + 0xe8], rdi
jmp 0x100412b59
add rax, qword [rcx + 0x20]
mov qword [rcx + 0x18], rax
mov rax, qword [r14 + 0x50]
test rax, rax
je 0x10041302b
mov rcx, qword [r14 + 0x48]
jmp 0x10041208d
call sub.cygwin1.dll___errno
lea rsi, str.set_curblock
mov dword [rsp + 0x30], 0x1529
jmp 0x100412bac
mov rdx, qword [r14 + 0x68]
mov qword [rax], rdx
jmp 0x1004120d5
movsd xmm0, qword [0x100448118]
comisd xmm6, xmm0
jae 0x10041308e
cvttsd2si rcx, xmm6
xor r9d, r9d
mov r8d, 8
lea rdx, [0x100454950]
call fcn.100401390
cmp byte [0x100456840], 0
movsd qword [0x10043feb0], xmm6
jne 0x100412fda
mov rax, qword [0x10044cf80]
cmp byte [rax], 0
jne 0x100412fda
mov rax, qword [0x10044cf70]
lea r12, [rsp + 0xe0]
cmp dword [rax], 4
jle 0x1004124f2
lea r12, [rsp + 0xe0]
lea r9, [0x100454950]
mov edx, 0x100
mov rcx, r12
lea r8, str.Network_diff_set_to__s
call sub.cygwin1.dll_snprintf
xor r8d, r8d
mov rdx, r12
mov ecx, 5
call fcn.100433050
jmp 0x1004124f2
call sub.cygwin1.dll___errno
lea rsi, str.set_curblock
mov dword [rsp + 0x30], 0x1529
jmp 0x100412b28
mov r8, qword [r14 + 0x58]
jmp 0x100412ee8
call sub.cygwin1.dll___errno
lea rsi, str.cgminer.c
mov dword [rsp + 0x30], 0x152e
lea r8, [0x100441b98]
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rsi
mov r9d, dword [rax]
jmp 0x100412b43
call sub.cygwin1.dll___errno
lea rsi, str.cgminer.c
mov dword [rsp + 0x30], 0x152e
lea r8, [0x100441650]
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rsi
mov r9d, dword [rax]
jmp 0x100412b43
movapd xmm1, xmm6
subsd xmm1, xmm0
cvttsd2si rcx, xmm1
btc rcx, 0x3f
jmp 0x100412f90
mov rcx, qword [rcx]
xor ebx, ebx
call fcn.10043bf30
mov rcx, qword [r14 + 0x48]
call fcn.10043bf30
mov qword [0x100454948], 0
jmp 0x1004120fb
or ecx, 0xffffffff
call sub.cygwin1.dll_exit
nop
nop word cs:[rax + rax]
nop dword [rax]