Function at 0x10040ebb0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x328
mov r14, rdx
mov rbx, rcx
lea rdx, str.previousblockhash
mov qword [rsp + 0xe0], 0
mov qword [rsp + 0xe8], 0
mov rcx, r14
mov qword [rsp + 0xf0], 0
mov qword [rsp + 0xf8], 0
mov dword [rsp + 0x100], 0
call fcn.100437ea0
mov rcx, rax
call fcn.100438480
lea rdx, str.target
mov rcx, r14
mov r12, rax
call fcn.100437ea0
mov rcx, rax
call fcn.100438480
lea rdx, str.transactions
mov rcx, r14
mov r13, rax
call fcn.100437ea0
lea rdx, str.rules
mov rcx, r14
mov qword [rsp + 0x78], rax
call fcn.100437ea0
lea rdx, [0x100441a41]
mov rcx, r14
mov rbp, rax
call fcn.100437ea0
mov rcx, rax
call fcn.1004386b0
lea rdx, str.curtime
mov rcx, r14
mov qword [rsp + 0x68], rax
mov rdi, rax
call fcn.100437ea0
mov rcx, rax
call fcn.1004386b0
lea rdx, str.bits
mov rcx, r14
mov qword [rsp + 0x70], rax
mov r15, rax
call fcn.100437ea0
mov rcx, rax
call fcn.100438480
lea rdx, str.height
mov rcx, r14
mov qword [rsp + 0x50], rax
call fcn.100437ea0
mov rcx, rax
call fcn.1004386b0
lea rdx, str.coinbasevalue
mov rcx, r14
mov qword [rsp + 0x80], rax
call fcn.100437ea0
mov rcx, rax
call fcn.1004386b0
lea rdx, str.coinbaseaux
mov rcx, r14
mov qword [rsp + 0x60], rax
call fcn.100437ea0
lea rdx, str.flags
mov rcx, rax
mov rsi, rax
call fcn.100437ea0
mov rcx, rax
call fcn.100438480
lea rdx, str.default_witness_commitment
mov rcx, r14
mov qword [rsp + 0x58], rax
call fcn.100437ea0
mov rcx, rax
call fcn.100438480
mov qword [rsp + 0x88], rax
test r12, r12
je 0x100407b78
test r13, r13
je 0x100407b78
test edi, edi
je 0x100407b78
test r15d, r15d
je 0x100407b78
cmp qword [rsp + 0x50], 0
sete al
test rsi, rsi
sete dl
or eax, edx
cmp qword [rsp + 0x58], 0
sete dl
or al, dl
mov r15d, eax
jne 0x100407b78
test rbp, rbp
je 0x100407325
mov rcx, rbp
call fcn.1004380d0
test eax, eax
jle 0x100407325
xor r14d, r14d
sub eax, 1
mov qword [rsp + 0x370], rbx
mov rbx, r14
mov r14, rax
jmp 0x1004072d3
mov rbx, rax
mov rdx, rbx
mov rcx, rbp
call fcn.1004380f0
mov rcx, rax
call fcn.100438480
mov rsi, rax
test rax, rax
je 0x100407314
xor eax, eax
cmp byte [rsi], 0x21
mov ecx, 6
sete al
lea rdi, str.segwit
add rsi, rax
repe cmpsb byte [rsi], byte [rdi]
seta al
sbb al, 0
test al, al
jne 0x100407f40
lea rax, [rbx + 1]
cmp rbx, r14
jne 0x1004072d0
mov rbx, qword [rsp + 0x370]
mov byte [rsp + 0x93], 0
mov rsi, qword [0x10044cf20]
cmp byte [rsi], 0
je 0x100407574
cmp byte [0x100456840], 0
jne 0x100407356
mov rax, qword [0x10044cf80]
cmp byte [rax], 0
je 0x100407fe8
lea r14, [rsp + 0x210]
mov r9, r12
mov edx, 0x100
lea r8, str.previousblockhash:__s
mov rcx, r14
call sub.cygwin1.dll_snprintf
xor r8d, r8d
mov rdx, r14
mov ecx, 7
call fcn.100433050
cmp byte [rsi], 0
je 0x100407574
cmp byte [0x100456840], 0
jne 0x1004073af
mov rax, qword [0x10044cf80]
cmp byte [rax], 0
je 0x100407fd0
lea r14, [rsp + 0x210]
mov r9, r13
lea r8, str.target:__s
mov edx, 0x100
mov rcx, r14
call sub.cygwin1.dll_snprintf
xor r8d, r8d
mov rdx, r14
mov ecx, 7
call fcn.100433050
cmp byte [rsi], 0
je 0x100407574
cmp byte [0x100456840], 0
jne 0x100407400
mov rax, qword [0x10044cf80]
cmp byte [rax], 0
je 0x100407fb8
lea r14, [rsp + 0x210]
mov r9d, dword [rsp + 0x68]
lea r8, str.version:__d
mov edx, 0x100
mov rcx, r14
call sub.cygwin1.dll_snprintf
xor r8d, r8d
mov rdx, r14
mov ecx, 7
call fcn.100433050
cmp byte [rsi], 0
je 0x100407574
cmp byte [0x100456840], 0
jne 0x100407453
mov rax, qword [0x10044cf80]
cmp byte [rax], 0
je 0x100407fa0
lea r14, [rsp + 0x210]
mov r9d, dword [rsp + 0x70]
lea r8, str.curtime:__d
mov edx, 0x100
mov rcx, r14
call sub.cygwin1.dll_snprintf
xor r8d, r8d
mov rdx, r14
mov ecx, 7
call fcn.100433050
cmp byte [rsi], 0
je 0x100407574
cmp byte [0x100456840], 0
jne 0x1004074a6
mov rax, qword [0x10044cf80]
cmp byte [rax], 0
je 0x100407f88
lea r14, [rsp + 0x210]
mov r9, qword [rsp + 0x50]
lea r8, str.bits:__s
mov edx, 0x100
mov rcx, r14
call sub.cygwin1.dll_snprintf
xor r8d, r8d
mov rdx, r14
mov ecx, 7
call fcn.100433050
cmp byte [rsi], 0
je 0x100407574
cmp byte [0x100456840], 0
jne 0x1004074f9
mov rax, qword [0x10044cf80]
cmp byte [rax], 0
je 0x100407f70
lea r14, [rsp + 0x210]
mov r9d, dword [rsp + 0x80]
lea r8, str.height:__d
mov edx, 0x100
mov rcx, r14
call sub.cygwin1.dll_snprintf
xor r8d, r8d
mov rdx, r14
mov ecx, 7
call fcn.100433050
cmp byte [rsi], 0
je 0x100407574
cmp byte [0x100456840], 0
jne 0x10040754b
mov rax, qword [0x10044cf80]
cmp byte [rax], 0
je 0x100407f58
lea r14, [rsp + 0x210]
mov r9, qword [rsp + 0x58]
lea r8, str.flags:__s
mov edx, 0x100
mov rcx, r14
call sub.cygwin1.dll_snprintf
xor r8d, r8d
mov rdx, r14
mov ecx, 7
call fcn.100433050
lea rax, [rbx + 0x3f0]
mov rcx, rax
mov qword [rsp + 0x98], rax
call sub.cygwin1.dll_pthread_mutex_lock
test eax, eax
jne 0x1004080d0
lea rax, [rbx + 0x3f8]
mov rcx, rax
mov qword [rsp + 0xa0], rax
call sub.cygwin1.dll_pthread_rwlock_wrlock
mov dword [rsp + 0x94], eax
test eax, eax
jne 0x100408128
lea r14, [rsp + 0xc0]
mov r8d, 0x20
mov rdx, r12
mov rcx, r14
call fcn.100420910
mov eax, dword [rsp + 0xdc]
lea rdx, [rbx + 0x400]
mov r8d, 0x20
mov dword [rbx + 0x400], eax
mov eax, dword [rsp + 0xd8]
mov dword [rbx + 0x404], eax
mov eax, dword [rsp + 0xd4]
mov dword [rbx + 0x408], eax
mov eax, dword [rsp + 0xd0]
mov dword [rbx + 0x40c], eax
mov eax, dword [rsp + 0xcc]
mov dword [rbx + 0x410], eax
mov eax, dword [rsp + 0xc8]
mov dword [rbx + 0x414], eax
mov eax, dword [rsp + 0xc4]
mov dword [rbx + 0x418], eax
mov eax, dword [rsp + 0xc0]
mov dword [rbx + 0x41c], eax
lea rax, [rbx + 0x7bc]
mov rcx, rax
mov qword [rsp + 0xa8], rax
call fcn.100420790
mov r8d, 0x20
mov rdx, r13
mov rcx, r14
call fcn.100420910
mov eax, dword [rsp + 0xdc]
bswap eax
mov dword [rbx + 0x420], eax
mov eax, dword [rsp + 0xd8]
bswap eax
mov dword [rbx + 0x424], eax
mov eax, dword [rsp + 0xd4]
bswap eax
mov dword [rbx + 0x428], eax
mov eax, dword [rsp + 0xd0]
bswap eax
mov dword [rbx + 0x42c], eax
mov eax, dword [rsp + 0xcc]
bswap eax
mov dword [rbx + 0x430], eax
mov eax, dword [rsp + 0xc8]
bswap eax
mov dword [rbx + 0x434], eax
mov eax, dword [rsp + 0xc4]
bswap eax
mov dword [rbx + 0x438], eax
mov eax, dword [rsp + 0xc0]
bswap eax
mov dword [rbx + 0x43c], eax
mov rax, qword [rbx + 0x438]
test rax, rax
js 0x100407c50
pxor xmm1, xmm1
cvtsi2sd xmm1, rax
mov rax, qword [rbx + 0x430]
mulsd xmm1, qword [0x100448120]
test rax, rax
js 0x100407c30
pxor xmm0, xmm0
cvtsi2sd xmm0, rax
mulsd xmm0, qword [0x100448128]
mov rax, qword [rbx + 0x428]
addsd xmm1, xmm0
test rax, rax
js 0x100407c10
pxor xmm0, xmm0
cvtsi2sd xmm0, rax
mulsd xmm0, qword [0x100448130]
mov rax, qword [rbx + 0x420]
addsd xmm0, xmm1
test rax, rax
js 0x100407bf0
pxor xmm1, xmm1
cvtsi2sd xmm1, rax
addsd xmm0, xmm1
ucomisd xmm0, qword [0x1004480c0]
jnp 0x100408168
movsd xmm1, qword [0x100448110]
divsd xmm1, xmm0
mov r14, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
movsd qword [rbx + 0x838], xmm1
lea r8, str._08x
mov edx, 9
lea r12, [rbx + 0x800]
mov eax, r14d
mov r9d, edi
bswap eax
mov dword [rbx + 0x45c], eax
mov eax, edi
bswap eax
mov dword [rbx + 0x460], eax
lea rax, [rbx + 0x818]
mov rcx, rax
mov qword [rsp + 0x68], rax
call sub.cygwin1.dll_snprintf
mov r9d, r14d
mov edx, 9
mov rcx, r12
lea r8, str._08x
call sub.cygwin1.dll_snprintf
mov rdi, qword [rsp + 0x50]
mov edx, 9
lea rcx, [rbx + 0x80c]
lea r8, [0x1004410e7]
mov qword [rsp + 0x70], rcx
mov r9, rdi
call sub.cygwin1.dll_snprintf
mov eax, dword [rsp + 0x60]
lea rcx, [rbx + 0x464]
mov rdx, rdi
mov r8d, 4
mov dword [rbx + 0x708], eax
call fcn.100420910
mov rdx, qword [rsp + 0x78]
mov rcx, rbx
call fcn.100403080
xor r10d, r10d
cmp byte [rsp + 0x93], 0
jne 0x100407e88
cmp dword [rbx + 0x67c], 2
jg 0x100407864
add qword [rbx + 0x240], 1
mov rax, qword [rsp + 0x80]
xor edx, edx
lea r13, [rbx + 0x688]
mov qword [rbx + 0x688], 0
lea rcx, [rbx + 0x689]
mov dword [rsp + 0x50], r10d
mov dword [rbx + 0x474], eax
mov qword [rbx + 0x690], 0
mov word [r13 + 0x28], dx
mov edx, eax
mov qword [r13 + 0x10], 0
mov qword [r13 + 0x18], 0
mov qword [r13 + 0x20], 0
call fcn.100420b80
mov r15, qword [rsp + 0x58]
mov ebp, eax
mov rcx, r15
lea edi, [rbp + 2]
add ebp, 1
call sub.cygwin1.dll_strlen
movsxd rbp, ebp
movsxd rcx, edi
mov rdx, r15
shr rax, 1
add rcx, r13
mov byte [rbx + rbp + 0x688], al
movsxd r8, eax
mov rsi, rax
add esi, edi
lea rdi, str.gbt_solo_decode
lea ebp, [rsi + 0x1d]
call fcn.100420910
lea rcx, [rsp + 0xb0]
call fcn.1004218f0
mov rdx, qword [rsp + 0xb0]
movsxd rax, esi
lea ecx, [rsi + 0xa]
movsxd rcx, ecx
mov byte [rbx + rax + 0x688], 0xfe
lea r9, str.cgminer.c
mov r8d, 0xa
mov dword [rbx + rax + 0x689], edx
lea edx, [rsi + 5]
add rcx, r13
movsxd rdx, edx
mov byte [rbx + rdx + 0x688], 0xfe
mov rdx, qword [rsp + 0xb8]
mov dword [rbx + rax + 0x68e], edx
lea rdx, str._tcgminer42
mov dword [rsp + 0x28], 0xc6f
mov qword [rsp + 0x20], rdi
call fcn.100423600
mov r15, qword [0x100454ad0]
lea eax, [rsi + 0x14]
mov r10d, dword [rsp + 0x50]
cdqe
mov byte [rbx + rax + 0x688], 8
test r15, r15
lea eax, [rsi + 0x3e]
mov dword [rbx + 0x734], eax
je 0x1004079ee
mov rcx, r15
mov r14d, 0x20
movsxd rbp, ebp
call sub.cygwin1.dll_strlen
lea r9, str.cgminer.c
mov rdx, r15
cmp eax, 0x20
cmovle r14d, eax
add esi, 0x1e
movsxd rcx, esi
mov byte [rbx + rbp + 0x688], r14b
add rcx, r13
mov r8d, r14d
lea ebp, [r14 + rsi]
mov dword [rsp + 0x28], 0xc7c
mov qword [rsp + 0x20], rdi
call fcn.100423600
mov r10d, dword [rsp + 0x50]
lea esi, [rbp + 1]
lea eax, [rbp + 0x55]
mov byte [rbx + 0x688], bpl
movsxd r15, ebp
movsxd r14, esi
mov dword [rsp + 0x50], eax
mov rcx, qword [rbx + 0x728]
mov qword [rbx + 0x720], r14
add r14, 0x29
cmp byte [rsp + 0x93], 0
je 0x100407c70
lea edx, [r10 + 0xb]
mov dword [rsp + 0x50], r10d
mov dword [rsp + 0x94], edx
call fcn.10043bf30
mov dword [rsp + 0x20], 0xc91
lea ecx, [rbp + 0x55]
add ecx, dword [rsp + 0x94]
movsxd rcx, ecx
lea r9, str.gbt_solo_decode
mov edx, 1
lea r8, str.cgminer.c
call fcn.10041f380
mov r8d, esi
lea r9, str.cgminer.c
mov rdx, r13
mov qword [rbx + 0x728], rax
lea rcx, [rax + 0x29]
mov dword [rsp + 0x28], 0xc92
mov qword [rsp + 0x20], rdi
call fcn.100423600
mov rcx, qword [rbx + 0x728]
mov qword [rsp + 0x20], rdi
lea rdx, [0x100441b8f]
mov dword [rsp + 0x28], 0xc93
lea r9, str.cgminer.c
mov r8d, 4
add rcx, r14
call fcn.100423600
mov rsi, qword [rsp + 0x60]
mov rax, qword [rbx + 0x728]
lea rcx, [rsp + 0xe0]
mov r10d, dword [rsp + 0x50]
mov byte [rax + r15 + 0x2e], 2
mov rax, qword [rbx + 0x728]
lea edx, [r10 + 2]
mov qword [rax + r15 + 0x2f], rsi
mov rax, qword [rbx + 0x728]
lea rax, [rax + r15 + 0x51]
mov byte [rax + 8], dl
lea rdx, [rax + 0xb]
mov qword [rax], 0
mov byte [rax + 9], 0x6a
mov byte [rax + 0xa], r10b
cmp r10d, 8
jb 0x100408000
mov r8, qword [rsp + 0xe0]
add rax, 0x13
mov qword [rax - 8], r8
mov r8d, r10d
and rax, 0xfffffffffffffff8
mov r9, qword [rcx + r8 - 8]
mov qword [rdx + r8 - 8], r9
sub rdx, rax
lea r15d, [r10 + rdx]
sub rcx, rdx
and r15d, 0xfffffff8
cmp r15d, 8
jb 0x100407d12
and r15d, 0xfffffff8
xor edx, edx
mov r8d, edx
add edx, 8
mov r9, qword [rcx + r8]
mov qword [rax + r8], r9
cmp edx, r15d
jb 0x100407b5b
jmp 0x100407d12
cmp byte [0x100456840], 0
jne 0x100407b91
mov rax, qword [0x10044cf80]
movzx r15d, byte [rax]
test r15b, r15b
je 0x100407be0
mov r9d, dword [rbx]
lea r12, [rsp + 0x210]
mov edx, 0x100
xor r15d, r15d
lea r8, str.Pool__d_JSON_failed_to_decode_GBT
mov rcx, r12
call sub.cygwin1.dll_snprintf
xor r8d, r8d
mov rdx, r12
mov ecx, 3
call fcn.100433050
mov eax, r15d
add rsp, 0x328
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [0x10044cf70]
cmp dword [rax], 2
jle 0x100407bc3
jmp 0x100407b91
mov rdx, rax
and eax, 1
pxor xmm1, xmm1
shr rdx, 1
or rdx, rax
cvtsi2sd xmm1, rdx
addsd xmm1, xmm1
jmp 0x10040776b
mov rdx, rax
and eax, 1
pxor xmm0, xmm0
shr rdx, 1
or rdx, rax
cvtsi2sd xmm0, rdx
addsd xmm0, xmm0
jmp 0x100407746
mov rdx, rax
and eax, 1
pxor xmm0, xmm0
shr rdx, 1
or rdx, rax
cvtsi2sd xmm0, rdx
addsd xmm0, xmm0
jmp 0x100407721
mov rdx, rax
and eax, 1
pxor xmm1, xmm1
shr rdx, 1
or rdx, rax
cvtsi2sd xmm1, rdx
addsd xmm1, xmm1
jmp 0x100407700
call fcn.10043bf30
movsxd rcx, dword [rsp + 0x50]
mov dword [rsp + 0x20], 0xc91
lea r9, str.gbt_solo_decode
lea r8, str.cgminer.c
mov edx, 1
call fcn.10041f380
mov r8d, esi
lea r9, str.cgminer.c
mov rdx, r13
mov qword [rbx + 0x728], rax
lea rcx, [rax + 0x29]
mov dword [rsp + 0x28], 0xc92
mov qword [rsp + 0x20], rdi
call fcn.100423600
mov rcx, qword [rbx + 0x728]
mov dword [rsp + 0x28], 0xc93
lea r9, str.cgminer.c
mov qword [rsp + 0x20], rdi
mov r8d, 4
lea rdx, [0x100441b8f]
add rcx, r14
call fcn.100423600
mov rax, qword [rbx + 0x728]
mov rsi, qword [rsp + 0x60]
mov byte [rax + r15 + 0x2e], 1
mov rax, qword [rbx + 0x728]
mov qword [rax + r15 + 0x2f], rsi
mov eax, dword [rsp + 0x94]
mov rcx, qword [rsp + 0xa0]
mov qword [rbx + 0x388], 0
mov dword [rbx + 0x390], 4
lea eax, [rbp + rax + 0x55]
mov dword [rbx + 0x730], eax
call sub.cygwin1.dll_pthread_rwlock_unlock
test eax, eax
jne 0x100408180
mov rcx, qword [rsp + 0x98]
call sub.cygwin1.dll_pthread_mutex_unlock
test eax, eax
jne 0x1004081b8
mov rax, qword [0x10044d0b0]
lea r13, [rsp + 0x210]
call qword [rax]
mov rax, qword [str.000000800000000000000000000000000000000000000000000000000000000000000000000000000000000080020000]
mov r9, r12
mov rcx, r13
lea r8, [0x100441bca]
mov edx, 0x101
mov qword [rsp + 0x48], rax
lea rax, [0x100441bd9]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x30], rax
lea rax, [0x100441be8]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x20], rax
call sub.cygwin1.dll_snprintf
lea rcx, [rbx + 0x738]
mov r8d, pe_nt_image_headers64
mov rdx, r13
call fcn.100420910
mov r15d, eax
test al, al
jne 0x100407bc3
movabs rdi, 0x742064656c696146
movabs rbp, 0x696232786568206f
movabs rax, 0x6365645f6f6c6f73
mov dword [rsp + 0x138], 0x65646f
mov qword [rsp + 0x110], rdi
lea rdx, [rsp + 0x110]
movabs rdi, 0x726564616568206e
mov r8d, 1
mov qword [rsp + 0x118], rbp
movabs rbp, 0x5f746267206e6920
mov qword [rsp + 0x120], rdi
mov qword [rsp + 0x128], rbp
mov qword [rsp + 0x130], rax
nop word [rax + rax]
mov ecx, 3
call fcn.100433050
mov edx, 1
mov ecx, 1
call fcn.100405a50
nop dword [rax]
lea r13, [rsp + 0xe0]
mov rcx, qword [rsp + 0x78]
mov rdx, r13
call fcn.100402a70
test al, al
jne 0x100408020
cmp byte [0x100456840], 0
jne 0x100407eca
mov rax, qword [0x10044cf80]
cmp byte [rax], 0
jne 0x100407eca
mov rax, qword [0x10044cf70]
cmp dword [rax], 2
jle 0x100407bc3
mov ecx, 0x6174
xor r8d, r8d
movabs rdi, 0x616320726f727265
movabs rbp, 0x6e6974616c75636c
mov word [rsp + 0x22c], cx
lea rdx, [rsp + 0x210]
movabs rax, 0x73656e7469772067
mov ecx, 3
mov qword [rsp + 0x210], rdi
mov qword [rsp + 0x218], rbp
mov qword [rsp + 0x220], rax
mov dword [rsp + 0x228], 0x61642073
mov byte [rsp + 0x22e], 0
call fcn.100433050
jmp 0x100407bc3
mov byte [rsp + 0x93], 1
mov rbx, qword [rsp + 0x370]
jmp 0x10040732d
mov rax, qword [0x10044cf70]
cmp dword [rax], 6
jle 0x100407574
jmp 0x100407543
mov rdx, qword [0x10044cf70]
cmp dword [rdx], 6
jle 0x10040753a
jmp 0x1004074f1
mov rdx, qword [0x10044cf70]
cmp dword [rdx], 6
jle 0x1004074e8
jmp 0x10040749e
mov rdx, qword [0x10044cf70]
cmp dword [rdx], 6
jle 0x100407495
jmp 0x10040744b
mov rdx, qword [0x10044cf70]
cmp dword [rdx], 6
jle 0x100407442
jmp 0x1004073f8
mov rdx, qword [0x10044cf70]
cmp dword [rdx], 6
jle 0x1004073ef
jmp 0x1004073a7
mov rdx, qword [0x10044cf70]
cmp dword [rdx], 6
jle 0x10040739e
jmp 0x100407356
test r10b, 4
jne 0x10040824b
test r10d, r10d
je 0x100407d12
movzx edx, byte [rcx]
mov byte [rax + 0xb], dl
jmp 0x100407d12
lea rdi, [rsp + 0x110]
mov r8d, 0x24
mov rdx, r13
mov rcx, rdi
call fcn.100420790
cmp byte [rsi], 0
je 0x10040808e
cmp byte [0x100456840], 0
jne 0x10040805f
mov rax, qword [0x10044cf80]
cmp byte [rax], 0
jne 0x10040805f
mov rax, qword [0x10044cf70]
cmp dword [rax], 6
jle 0x10040808e
lea r13, [rsp + 0x210]
lea r8, str.calculated_witness_data:__s
mov edx, 0x100
mov r9, rdi
mov rcx, r13
call sub.cygwin1.dll_snprintf
xor r8d, r8d
mov rdx, r13
mov ecx, 7
call fcn.100433050
mov rax, qword [rsp + 0x88]
test rax, rax
je 0x1004080bb
mov rsi, rax
mov r8d, 0x48
mov rcx, rdi
add rsi, 4
mov rdx, rsi
call sub.cygwin1.dll_strncmp
test eax, eax
jne 0x1004081ed
mov r10d, 0x24
jmp 0x100407853
lea rdi, str.gbt_solo_decode
lea r12, [rsp + 0x210]
call sub.cygwin1.dll___errno
mov qword [rsp + 0x28], rdi
lea rdi, str.cgminer.c
lea r8, [0x100441b18]
mov dword [rsp + 0x30], 0xc30
mov qword [rsp + 0x20], rdi
mov r9d, dword [rax]
mov edx, 0x100
mov rcx, r12
call sub.cygwin1.dll_snprintf
mov r8d, 1
mov rdx, r12
jmp 0x100407e68
lea rdi, str.gbt_solo_decode
lea r12, [rsp + 0x210]
call sub.cygwin1.dll___errno
mov qword [rsp + 0x28], rdi
lea rdi, str.cgminer.c
lea r8, [0x100441858]
mov dword [rsp + 0x30], 0xc30
mov qword [rsp + 0x20], rdi
mov r9d, dword [rax]
jmp 0x100408107
movsd xmm1, qword [0x100448110]
je 0x100407789
jmp 0x10040777d
call sub.cygwin1.dll___errno
mov qword [rsp + 0x28], rdi
lea rdi, str.cgminer.c
lea r12, [rsp + 0x210]
mov dword [rsp + 0x30], 0xca7
lea r8, [0x100441650]
mov qword [rsp + 0x20], rdi
mov r9d, dword [rax]
jmp 0x100408107
call sub.cygwin1.dll___errno
mov qword [rsp + 0x28], rdi
lea rdi, str.cgminer.c
lea r12, [rsp + 0x210]
mov dword [rsp + 0x30], 0xca7
lea r8, [0x100441b98]
mov qword [rsp + 0x20], rdi
mov r9d, dword [rax]
jmp 0x100408107
cmp byte [0x100456840], 0
jne 0x100408212
mov rax, qword [0x10044cf80]
cmp byte [rax], 0
jne 0x100408212
mov rax, qword [0x10044cf70]
cmp dword [rax], 2
jle 0x100407bc3
mov qword [rsp + 0x20], rdi
mov r9, rsi
lea r12, [rsp + 0x210]
lea r8, str.bad_witness_data.__s____s
mov rcx, r12
mov edx, 0x100
call sub.cygwin1.dll_snprintf
xor r8d, r8d
mov rdx, r12
mov ecx, 3
call fcn.100433050
jmp 0x100407bc3
mov r8d, dword [rcx]
mov r15d, r10d
mov dword [rax + 0xb], r8d
mov eax, dword [rcx + r15 - 4]
mov dword [rdx + r15 - 4], eax
jmp 0x100407d12
push r13
push r12
push rbx
sub rsp, 0x120
mov r13, rcx
mov rbx, rdx
lea rdx, [0x100442282]
mov rcx, r8
call fcn.100437ea0
lea rcx, [r13 + 0x848]
mov r12, rax
call fcn.1004218f0
test r12, r12
je 0x10040ec80
cmp dword [r12], 7
je 0x10040ec80
cmp byte [r13 + 0x478], 0
mov rdx, r12
mov rcx, r13
jne 0x10040ec68
call fcn.10040e0d0
mov r12d, eax
test al, al
je 0x10040ece1
mov byte [rbx + 0x1d0], 1
lea rcx, [rbx + 0x180]
mov qword [rbx + 0x120], 0
mov qword [rbx + 0x128], 0
mov qword [rbx + 0x130], 0
mov qword [rbx + 0x138], 0
call fcn.1004218f0
mov eax, r12d
add rsp, 0x120
pop rbx
pop r12
pop r13
ret
add rsp, 0x120
pop rbx
pop r12
pop r13
jmp 0x1004070d0
cmp byte [0x100456840], 0
jne 0x10040ec95
mov rax, qword [0x10044cf80]
cmp byte [rax], 0
je 0x10040ecf8
lea rdx, [rsp + 0x20]
xor r8d, r8d
mov byte [rsp + 0x3c], 0
movabs rcx, 0x696146204e4f534a
movabs rbx, 0x64206f742064656c
mov qword [rsp + 0x20], rcx
movabs rax, 0x65722065646f6365
mov ecx, 3
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], 0x746c7573
call fcn.100433050
xor r12d, r12d
mov eax, r12d
add rsp, 0x120
pop rbx
pop r12
pop r13
ret
mov rax, qword [0x10044cf70]
cmp dword [rax], 2
jg 0x10040ec95
jmp 0x10040ece1