Function at 0x140003520
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x1a8
mov r15, rdx
lea rdx, str.rules
mov qword [rsp + 0x1f0], rcx
call fcn.140096430
mov rsi, rax
test rax, rax
je 0x14000355b
cmp dword [rax], 1
je 0x140003640
xor ebp, ebp
mov rcx, qword [rsp + 0x1f0]
lea rdx, str.mutable
call fcn.140096430
mov r14, rax
test rax, rax
je 0x140003582
cmp dword [rax], 1
je 0x1400037f8
xor r12d, r12d
xor edi, edi
mov rcx, qword [rsp + 0x1f0]
lea rdx, str.height
call fcn.140096430
test rax, rax
je 0x1400035a5
cmp dword [rax], 3
je 0x1400035f8
lea rdx, str.JSON_invalid_height
xor ecx, ecx
call fcn.140007630
mov qword [rsp + 0x20], 0
xor edi, edi
xor r13d, r13d
xor r14d, r14d
mov rcx, r14
call fcn.1400b5948
mov rcx, qword [rsp + 0x20]
call fcn.1400b5948
mov rcx, r13
call fcn.1400b5948
mov eax, edi
add rsp, 0x1a8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, rax
call fcn.140096970
mov rcx, qword [rsp + 0x1f0]
lea rdx, [0x14016d743]
mov dword [r15 + 0xa0], eax
call fcn.140096430
test rax, rax
je 0x140003629
cmp dword [rax], 3
je 0x140003740
lea rdx, str.JSON_invalid_version
xor ecx, ecx
call fcn.140007630
jmp 0x1400035b3
mov rcx, rax
call fcn.140096650
mov r13d, eax
test eax, eax
jle 0x14000355b
xor ebp, ebp
xor edi, edi
lea r12, str.segwit
mov r14d, 1
test al, 1
je 0x140003706
xor edx, edx
mov rcx, rsi
call fcn.140096670
mov rcx, rax
call fcn.140096880
mov rdi, rax
test rax, rax
je 0x14000369e
mov rdx, r12
mov rcx, rax
mov ebp, 1
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x140003958
mov edi, 1
cmp r13d, 1
jne 0x140003706
jmp 0x14000355d
lea rdx, str._segwit
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
cmove ebp, r14d
add edi, 1
mov rcx, rsi
mov edx, edi
call fcn.140096670
mov rcx, rax
call fcn.140096880
mov rbx, rax
test rax, rax
je 0x1400036fa
mov rdx, r12
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x1400037d8
mov ebp, 1
add edi, 1
cmp r13d, edi
je 0x14000355d
mov edx, edi
mov rcx, rsi
call fcn.140096670
mov rcx, rax
call fcn.140096880
mov rbx, rax
test rax, rax
je 0x1400036c5
mov rdx, r12
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x1400036b0
mov ebp, 1
jmp 0x1400036c5
mov rcx, rax
lea r14, str.previousblockhash
call fcn.140096970
mov rcx, qword [rsp + 0x1f0]
mov rdx, r14
mov dword [rsp + 0x28], eax
call fcn.140096430
mov rcx, rax
test rax, rax
je 0x140003972
call fcn.140096880
mov rdx, rax
test rax, rax
je 0x1400039d5
lea r14, [rsp + 0xa0]
mov r8d, 0x20
mov rcx, r14
call fcn.140008910
test al, al
je 0x140003981
mov rcx, qword [rsp + 0x1f0]
lea rdx, str.rx_epoch_duration
call fcn.140096430
test rax, rax
je 0x1400037c0
cmp dword [rax], 3
je 0x140003998
lea rdx, str.JSON_invalid_rx_epoch_duration
xor ecx, ecx
call fcn.140007630
jmp 0x1400035b3
lea rdx, str._segwit
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
cmove ebp, r14d
jmp 0x1400036fa
mov rcx, rax
call fcn.140096650
mov r8d, eax
test eax, eax
jle 0x140003582
xor r12d, r12d
xor edi, edi
xor r13d, r13d
test al, 1
je 0x14000386b
xor edx, edx
mov rcx, r14
mov dword [rsp + 0x20], eax
call fcn.140096670
mov rcx, rax
call fcn.140096880
mov r8d, dword [rsp + 0x20]
test rax, rax
mov rsi, rax
je 0x14000385b
lea rdx, str.coinbase_append
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
mov r8d, dword [rsp + 0x20]
test eax, eax
jne 0x140003930
mov edi, 1
mov r13d, 1
cmp r8d, 1
je 0x140003587
mov esi, r8d
jmp 0x1400038ce
lea rdx, str.submit_coinbase
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
mov eax, 1
cmove r12d, eax
add r13d, 1
mov rcx, r14
mov edx, r13d
call fcn.140096670
mov rcx, rax
call fcn.140096880
mov rbx, rax
test rax, rax
je 0x1400038c1
lea rdx, str.coinbase_append
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x140003910
mov edi, 1
add r13d, 1
cmp esi, r13d
je 0x140003587
mov edx, r13d
mov rcx, r14
call fcn.140096670
mov rcx, rax
call fcn.140096880
mov rbx, rax
test rax, rax
je 0x14000388a
lea rdx, str.coinbase_append
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x140003870
mov edi, 1
jmp 0x14000388a
lea rdx, str.submit_coinbase
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
mov edx, 1
test eax, eax
cmove r12d, edx
jmp 0x1400038c1
lea rdx, str.submit_coinbase
mov rcx, rsi
mov dword [rsp + 0x20], r8d
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
mov r8d, dword [rsp + 0x20]
test eax, eax
sete r12b
jmp 0x14000385b
lea rdx, str._segwit
mov rcx, rdi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
sete bpl
jmp 0x14000369e
mov r8, r14
lea rdx, str.JSON_key__s_not_found
call fcn.140007630
lea rdx, str.JSON_invalid_previousblockhash
xor ecx, ecx
call fcn.140007630
jmp 0x1400035b3
mov rcx, rax
call fcn.140096970
mov rcx, qword [rsp + 0x1f0]
lea rdx, str.curtime
mov dword [rsp + 0x30], eax
call fcn.140096430
test rax, rax
je 0x1400039c2
cmp dword [rax], 3
je 0x1400039e8
lea rdx, str.JSON_invalid_curtime
xor ecx, ecx
call fcn.140007630
jmp 0x1400035b3
mov r8, r14
lea rdx, str.JSON_key__s_is_not_a_string
xor ecx, ecx
call fcn.140007630
jmp 0x140003981
mov rcx, rax
lea r13, str.bits
call fcn.140096970
mov rcx, qword [rsp + 0x1f0]
mov rdx, r13
mov dword [rsp + 0x68], eax
call fcn.140096430
mov rcx, rax
test rax, rax
je 0x140003e54
call fcn.140096880
mov rdx, rax
test rax, rax
je 0x140003e76
lea rcx, [rsp + 0x90]
mov r8d, 4
call fcn.140008910
test al, al
je 0x140003e63
mov rcx, qword [rsp + 0x1f0]
lea rdx, str.transactions
call fcn.140096430
mov qword [rsp + 0x38], rax
test rax, rax
je 0x140003a6c
mov ecx, dword [rax]
mov dword [rsp + 0x6c], ecx
cmp ecx, 1
je 0x140003a7f
lea rdx, str.JSON_invalid_transactions
xor ecx, ecx
call fcn.140007630
jmp 0x1400035b3
mov rcx, qword [rsp + 0x38]
call fcn.140096650
mov dword [rsp + 0x44], eax
test eax, eax
jle 0x14000432b
xor esi, esi
xor r13d, r13d
lea rbx, str.data
test al, 1
jne 0x140003df0
mov byte [rsp + 0x20], dil
mov rdi, qword [rsp + 0x38]
mov byte [rsp + 0x48], bpl
mov ebp, eax
mov edx, r13d
mov rcx, rdi
call fcn.140096670
mov rdx, rbx
mov rcx, rax
call fcn.140096430
mov rcx, rax
call fcn.140096880
mov rcx, rax
test rax, rax
je 0x140003a6c
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
lea edx, [r13 + 1]
mov rcx, rdi
shr rax, 1
add esi, eax
call fcn.140096670
mov rdx, rbx
mov rcx, rax
call fcn.140096430
mov rcx, rax
call fcn.140096880
mov rcx, rax
test rax, rax
je 0x140003a6c
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add r13d, 2
shr rax, 1
add esi, eax
cmp ebp, r13d
jne 0x140003aba
movzx edi, byte [rsp + 0x20]
movzx ebp, byte [rsp + 0x48]
mov dword [rsp + 0x50], esi
mov rcx, qword [rsp + 0x1f0]
lea rdx, str.coinbasetxn
call fcn.140096430
test rax, rax
je 0x140003e89
mov rcx, rax
lea rdx, str.data
call fcn.140096430
mov rcx, rax
call fcn.140096880
test rax, rax
je 0x140003ebc
mov rcx, rax
mov qword [rsp + 0x48], rax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
shr rax, 1
lea r8d, [rax + 0x64]
mov dword [rsp + 0x60], eax
mov rsi, rax
movsxd rcx, r8d
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov qword [rsp + 0x20], rax
cmp esi, 0x3b
jle 0x140003ecb
mov rdx, qword [rsp + 0x48]
movsxd r8, esi
mov rcx, rax
call fcn.140008910
test al, al
je 0x140003ecb
mov r11d, dword [rsp + 0x44]
lea r10d, [r11 + 2]
add r11d, 1
mov dword [rsp + 0x74], r10d
mov dword [rsp + 0x70], r11d
test dil, dil
jne 0x1400040a2
movsxd rdx, dword [rsp + 0x70]
lea rdi, [rsp + 0x97]
mov rcx, rdi
mov qword [rsp + 0x78], rdx
call fcn.140008c40
mov ebx, dword [rsp + 0x60]
mov r10d, dword [rsp + 0x50]
mov esi, eax
lea r8d, [rbx + rax]
add r8d, r10d
lea eax, [r8 + r8 + 1]
movsxd rcx, eax
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
movsxd r8, esi
mov rdx, rdi
mov qword [r15 + 0xa8], rax
mov rcx, rax
call fcn.140008590
mov rdx, qword [rsp + 0x20]
lea ecx, [rsi + rsi]
movsxd r8, ebx
movsxd rcx, ecx
add rcx, qword [r15 + 0xa8]
mov rsi, r8
call fcn.140008590
mov rdi, qword [r15 + 0xa8]
mov rcx, rdi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov r11d, dword [rsp + 0x74]
mov rbx, rax
and r11d, 0xfffffffe
shl r11d, 5
movsxd rcx, r11d
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov ecx, 0x8000
mov r13, rax
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov rdx, qword [rsp + 0x20]
mov r8d, esi
mov rcx, r13
mov qword [rsp + 0x48], rax
call fcn.14000c2b0
cmp dword [rsp + 0x44], 0
mov rax, qword [rsp + 0x48]
jle 0x140004340
test r12b, r12b
je 0x1400046e9
mov qword [rsp + 0x48], r13
lea r12, [r13 + 0x20]
mov rbx, rax
mov r13d, dword [rsp + 0x6c]
mov qword [rsp + 0x50], 0x8000
jmp 0x140003d42
test bpl, bpl
jne 0x140003da2
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
shr rax, 1
mov rsi, rax
movsxd r8, eax
cmp qword [rsp + 0x50], r8
jae 0x140003d10
mov rcx, rbx
mov qword [rsp + 0x58], r8
call fcn.1400b5948
lea eax, [rsi + rsi]
cdqe
mov rcx, rax
mov qword [rsp + 0x50], rax
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov r8, qword [rsp + 0x58]
mov rbx, rax
mov rdx, rdi
mov rcx, rbx
call fcn.140008910
test al, al
je 0x140003d7b
mov r8d, esi
mov rdx, rbx
mov rcx, r12
mov edi, r13d
call fcn.14000c2b0
add r13d, 1
add r12, 0x20
cmp dword [rsp + 0x44], edi
jle 0x140004338
mov rcx, qword [rsp + 0x38]
lea edx, [r13 - 1]
call fcn.140096670
lea rdx, str.data
mov rcx, rax
mov rsi, rax
call fcn.140096430
mov rcx, rax
call fcn.140096880
mov rdi, rax
test rax, rax
jne 0x140003cc8
test bpl, bpl
jne 0x140003da2
mov r13, qword [rsp + 0x48]
mov rcx, rbx
mov qword [rsp + 0x28], rcx
lea rdx, str.JSON_invalid_transactions
xor ecx, ecx
xor edi, edi
call fcn.140007630
mov r14, qword [rsp + 0x28]
jmp 0x1400035c4
lea rdx, str.txid
mov rcx, rsi
call fcn.140096430
mov rcx, rax
call fcn.140096880
mov rdx, rax
test rax, rax
je 0x1400049d8
mov r8d, 0x20
mov rcx, r12
mov edi, r13d
call fcn.140008910
test al, al
je 0x1400049d8
mov edx, 0x20
mov rcx, r12
call fcn.140008110
jmp 0x140003d30
mov rcx, qword [rsp + 0x38]
xor edx, edx
call fcn.140096670
mov rdx, rbx
mov rcx, rax
call fcn.140096430
mov rcx, rax
call fcn.140096880
mov rcx, rax
test rax, rax
je 0x140003a6c
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov r13d, 1
shr rax, 1
cmp dword [rsp + 0x44], 1
mov dword [rsp + 0x50], eax
je 0x140003b36
mov byte [rsp + 0x20], dil
mov esi, dword [rsp + 0x50]
mov byte [rsp + 0x48], bpl
mov rdi, qword [rsp + 0x38]
mov ebp, dword [rsp + 0x44]
jmp 0x140003aba
mov r8, r13
lea rdx, str.JSON_key__s_not_found
call fcn.140007630
lea rdx, str.JSON_invalid_bits
xor ecx, ecx
call fcn.140007630
jmp 0x1400035b3
mov r8, r13
lea rdx, str.JSON_key__s_is_not_a_string
xor ecx, ecx
call fcn.140007630
jmp 0x140003e63
cmp dword [0x1401b94cc], 0
jne 0x140003ee6
cmp byte [0x14016501d], 0
je 0x140004318
lea rdx, str.No_payout_address_provided__switching_to_getwork
mov ecx, 3
call fcn.140007630
mov byte [0x14016501e], 0
jmp 0x1400035b3
mov ecx, 0x64
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov qword [rsp + 0x20], rax
lea rdx, str.JSON_invalid_coinbasetxn
xor ecx, ecx
xor edi, edi
xor r13d, r13d
call fcn.140007630
xor r14d, r14d
jmp 0x1400035c4
mov rcx, qword [rsp + 0x1f0]
lea rdx, str.coinbasevalue
mov qword [rsp + 0x20], rax
call fcn.140096430
mov rcx, rax
test rax, rax
je 0x140004305
mov r11d, dword [rax]
mov rax, qword [rsp + 0x20]
lea r8d, [r11 - 3]
cmp r8d, 1
ja 0x140004305
mov qword [rsp + 0x20], rax
cmp r11d, 3
je 0x140004acd
call fcn.140096a30
mov rdx, qword [rsp + 0x20]
vcvttsd2si r13, xmm0
mov ecx, 0x100
mov qword [rsp + 0x48], rdx
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov esi, dword [0x14016ef28]
mov ecx, 8
mov ebx, dword [r15 + 0xa0]
mov byte [rax + 4], 1
mov r10, rax
lea rdi, [rax + 5]
mov r8, qword [rsp + 0x48]
lea r9d, [rbx - 1]
mov dword [rax], 1
mov qword [rsp + 0x20], rax
xor eax, eax
cmp r9d, 0xf
rep stosd dword [rdi], eax
mov dword [r10 + 0x25], esi
ja 0x140004c02
add ebx, 0x50
mov byte [r10 + 0x2b], 0
mov edx, 0x2c
mov ecx, 0x2c
mov byte [r10 + 0x2a], bl
mov rdi, r13
mov r9, qword [rsp + 0x20]
lea ebx, [rdx - 0x2a]
mov qword [rsp + 0x48], r8
shr rdi, 0x28
mov r8, r13
lea r10d, [rbp + 1]
mov r11d, r13d
mov rax, rdi
mov byte [r9 + 0x29], bl
movzx ebx, dil
sar r8, 0x20
movzx edi, r8b
shr r11d, 0x18
mov dword [r9 + rcx], esi
mov esi, r13d
and eax, 0xff00
movzx r11d, r11b
shr esi, 0x10
movzx r10d, r10b
or rax, rbx
movzx esi, sil
mov rbx, r13
movzx r13d, r13b
shl rax, 8
shr r8d, 0x18
or rax, rdi
movzx edi, bh
shl rax, 8
or rax, r11
shl rax, 8
or rax, rsi
lea esi, [rdx + 4]
shl rax, 8
movsxd rbx, esi
or rax, rdi
lea edi, [rdx + 0xe]
shl rax, 8
or rax, r13
shl rax, 8
or rax, r10
mov qword [r9 + rbx], rax
lea eax, [rdx + 0xd]
lea rdx, [0x1401b94a0]
mov byte [r9 + rcx + 0xc], r8b
movsxd r8, dword [0x1401b94cc]
cdqe
movsxd rcx, edi
add rcx, r9
mov byte [r9 + rax], r8b
mov rsi, r8
add esi, edi
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
test bpl, bpl
mov rdx, qword [rsp + 0x48]
jne 0x140004adf
mov ecx, dword [rsp + 0x44]
lea r9d, [rcx + 2]
add ecx, 1
mov dword [rsp + 0x74], r9d
mov dword [rsp + 0x70], ecx
mov r10, qword [rsp + 0x20]
movsxd r11, esi
xor ebx, ebx
lea esi, [rsi + 4]
mov dword [rsp + 0x60], esi
mov dword [r10 + r11], ebx
cmp byte [0x1401b9420], 0
lea rsi, [0x1401b9420]
je 0x14000419c
mov rcx, rsi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov rdx, rax
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x20]
movzx edi, byte [rax + 0x29]
add edi, edx
cmp edi, 0x64
jg 0x14000418b
mov ecx, edx
lea rdi, [rsp + 0xc0]
lea rdx, str.coinbaseaux
rep movsb byte [rdi], byte [rsi]
mov rcx, qword [rsp + 0x1f0]
call fcn.140096430
mov rbx, rax
test rax, rax
je 0x14000410a
cmp dword [rax], 0
je 0x1400041cb
mov ebx, dword [rsp + 0x48]
test ebx, ebx
je 0x140003bdc
mov r13, qword [rsp + 0x20]
mov r8d, dword [rsp + 0x60]
movzx r9d, byte [r13 + 0x29]
lea r10d, [r8 - 0x2a]
sub r10d, r9d
lea edx, [r9 + rbx]
lea rsi, [r13 + r9 + 0x2a]
movsxd r8, r10d
cmp edx, 0x4b
jg 0x1400042be
mov eax, dword [rsp + 0x48]
mov rdx, rsi
lea edi, [rax + 1]
movsxd rcx, edi
add rcx, rsi
call sub.api_ms_win_crt_private_l1_1_0.dll_memmove
mov rcx, qword [rsp + 0x20]
add byte [rcx + 0x29], dil
movzx r13d, byte [rsp + 0x48]
add rsi, 1
mov byte [rsi - 1], r13b
movsxd r8, dword [rsp + 0x48]
lea rdx, [rsp + 0xc0]
mov rcx, rsi
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add dword [rsp + 0x60], edi
jmp 0x140003bdc
lea rdx, str.Signature_does_not_fit_in_coinbase__skipping
mov ecx, 1
call fcn.140007630
mov rcx, qword [rsp + 0x1f0]
lea rdx, str.coinbaseaux
call fcn.140096430
mov rbx, rax
test rax, rax
je 0x140003bdc
cmp dword [rax], 0
jne 0x140003bdc
xor ecx, ecx
mov dword [rsp + 0x48], ecx
mov rcx, rbx
lea r13, [rsp + 0x130]
call fcn.1400964c0
lea r9, [rsp + 0xc0]
mov qword [rsp + 0x78], r13
mov r13, rbx
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x80], r9
jmp 0x14000420c
mov rdx, qword [rsp + 0x58]
mov rcx, r13
call fcn.140096510
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x14000410a
mov rcx, qword [rsp + 0x58]
call fcn.140096590
mov rcx, rax
call fcn.140096880
mov rsi, rax
test rax, rax
je 0x1400042ab
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
shr rax, 1
mov rbx, rax
cmp eax, 0x64
jg 0x1400042ab
mov rcx, qword [rsp + 0x78]
movsxd r8, eax
mov rdx, rsi
mov qword [rsp + 0x88], r8
call fcn.140008910
test al, al
je 0x1400042ab
mov r8, qword [rsp + 0x20]
mov r10d, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x88]
movzx r11d, byte [r8 + 0x29]
add r11d, r10d
add r11d, ebx
cmp r11d, 0x64
jg 0x1400041fa
movsxd rdi, r10d
mov rax, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x78]
mov rdx, rdi
add edx, ebx
add rdi, rax
rep movsb byte [rdi], byte [rsi]
mov dword [rsp + 0x48], edx
jmp 0x1400041fa
lea rdx, str.JSON_invalid_coinbaseaux
xor ecx, ecx
call fcn.140007630
jmp 0x14000410a
lea r11d, [r9 + rbx + 2]
xor r9d, r9d
mov rdx, rsi
cmp r11d, 0x64
setle r9b
add r9d, r9d
lea edi, [rbx + r9]
mov dword [rsp + 0x58], r9d
movsxd rcx, edi
add rcx, rsi
call sub.api_ms_win_crt_private_l1_1_0.dll_memmove
mov ebx, dword [rsp + 0x58]
add byte [r13 + 0x29], dil
cmp ebx, 2
jne 0x14000416d
mov byte [rsi], 0x4c
add rsi, 1
jmp 0x14000415f
lea rdx, str.JSON_invalid_coinbasevalue
xor ecx, ecx
call fcn.140007630
jmp 0x1400035b3
lea rdx, str.No_payout_address_provided
xor ecx, ecx
call fcn.140007630
jmp 0x1400035b3
xor r10d, r10d
mov dword [rsp + 0x50], r10d
jmp 0x140003b36
mov r13, qword [rsp + 0x48]
mov rax, rbx
mov rcx, rax
call fcn.1400b5948
mov edi, dword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
cmp edi, 1
jle 0x14000456d
test dil, 1
jne 0x140004543
sar edi, 1
mov rbx, r13
mov rsi, r13
movsxd rbp, edi
mov rcx, rbp
shl rcx, 5
lea r12, [rcx + r13]
sub rcx, 0x20
shr rcx, 5
add rcx, 1
and ecx, 7
je 0x140004473
cmp rcx, 1
je 0x140004451
cmp rcx, 2
je 0x140004438
cmp rcx, 3
je 0x14000441f
cmp rcx, 4
je 0x140004406
cmp rcx, 5
je 0x1400043ed
cmp rcx, 6
je 0x1400043d4
mov r8d, 0x40
mov rdx, r13
lea rbx, [r13 + 0x20]
mov rcx, r13
call fcn.14000c2b0
lea rsi, [r13 + 0x40]
mov rdx, rsi
mov rcx, rbx
mov r8d, 0x40
add rbx, 0x20
call fcn.14000c2b0
add rsi, 0x40
mov rdx, rsi
mov rcx, rbx
mov r8d, 0x40
add rbx, 0x20
call fcn.14000c2b0
add rsi, 0x40
mov rdx, rsi
mov rcx, rbx
mov r8d, 0x40
add rbx, 0x20
call fcn.14000c2b0
add rsi, 0x40
mov rdx, rsi
mov rcx, rbx
mov r8d, 0x40
add rbx, 0x20
call fcn.14000c2b0
add rsi, 0x40
mov rdx, rsi
mov rcx, rbx
mov r8d, 0x40
add rbx, 0x20
call fcn.14000c2b0
add rsi, 0x40
mov rdx, rsi
mov rcx, rbx
mov r8d, 0x40
add rbx, 0x20
call fcn.14000c2b0
add rsi, 0x40
cmp r12, rbx
je 0x140004351
mov rdx, rsi
mov rcx, rbx
mov r8d, 0x40
call fcn.14000c2b0
lea rcx, [rbx + 0x20]
lea rdx, [rsi + 0x40]
mov r8d, 0x40
call fcn.14000c2b0
lea rcx, [rbx + 0x40]
lea rdx, [rsi + 0x80]
mov r8d, 0x40
call fcn.14000c2b0
lea rcx, [rbx + 0x60]
lea rdx, [rsi + 0xc0]
mov r8d, 0x40
call fcn.14000c2b0
lea rcx, [rbx + 0x80]
lea rdx, [rsi + 0x100]
mov r8d, 0x40
call fcn.14000c2b0
lea rcx, [rbx + 0xa0]
lea rdx, [rsi + 0x140]
mov r8d, 0x40
call fcn.14000c2b0
lea rcx, [rbx + 0xc0]
lea rdx, [rsi + 0x180]
mov r8d, 0x40
call fcn.14000c2b0
lea rcx, [rbx + 0xe0]
lea rdx, [rsi + 0x1c0]
mov r8d, 0x40
add rbx, 0x100
add rsi, 0x200
call fcn.14000c2b0
cmp r12, rbx
jne 0x140004473
jmp 0x140004351
shl rbp, 5
add edi, 1
lea rdx, [r13 + rbp - 0x20]
lea r8, [r13 + rbp]
vmovdqu xmm3, xmmword [rdx]
vmovdqu xmmword [r8], xmm3
vmovdqu xmm4, xmmword [rdx + 0x10]
vmovdqu xmmword [r8 + 0x10], xmm4
jmp 0x140004364
mov r8d, dword [rsp + 0x28]
xor r10d, r10d
bswap r8d
mov dword [r15], r8d
mov r11, r10
neg r11
mov ecx, dword [r14 + r11]
mov dword [r15 + r10 + 0x20], ecx
sub r10, 4
cmp r10, 0xffffffffffffffe0
jne 0x14000457b
xor ebp, ebp
mov esi, dword [r13 + rbp]
bswap esi
mov dword [r15 + rbp + 0x24], esi
add rbp, 4
cmp rbp, 0x20
jne 0x140004596
mov r9d, dword [rsp + 0x68]
xor r14d, r14d
mov ecx, 0x19
xor edx, edx
lea rbx, [rsp + 0x130]
mov eax, r14d
lea rbp, str.target
mov rdi, rbx
mov r12d, r9d
rep stosd dword [rdi], eax
mov eax, r9d
bswap r12d
mov dword [r15 + 0x44], r12d
div dword [rsp + 0x30]
mov rcx, rbx
lea rdx, str.Scash_RandomX_Epoch__d
lea rdi, [r15 + 0x4c]
mov r8d, eax
call fcn.140001540
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
lea rcx, [r15 + 0xd0]
mov rdx, rbx
mov r8d, eax
call fcn.14000c2b0
mov eax, r14d
mov ecx, 0xd
mov rdx, rbp
mov r8d, dword [rsp + 0x90]
mov dword [r15 + 0x48], r8d
rep stosd dword [rdi], eax
mov dword [r15 + 0x50], 0x80000000
mov rcx, qword [rsp + 0x1f0]
mov dword [r15 + 0x7c], 0x280
call fcn.140096430
mov rcx, rax
test rax, rax
je 0x1400049b1
call fcn.140096880
mov rdx, rax
test rax, rax
je 0x140004c7a
lea rsi, [rsp + 0xc0]
mov r8d, 0x20
mov rcx, rsi
call fcn.140008910
mov edi, eax
test al, al
je 0x1400049c0
xor r10d, r10d
mov r11, r10
neg r11
mov r9d, dword [rsi + r11]
bswap r9d
mov dword [r15 + r10 + 0x9c], r9d
sub r10, 4
cmp r10, 0xffffffffffffffe0
jne 0x140004689
mov rcx, qword [rsp + 0x1f0]
lea rdx, str.workid
call fcn.140096430
mov rcx, rax
test rax, rax
je 0x140004ca4
cmp dword [rax], 2
je 0x140004c90
lea rdx, str.JSON_invalid_workid
xor ecx, ecx
xor edi, edi
xor r14d, r14d
call fcn.140007630
jmp 0x1400035c4
lea r12, [rdi + rbx]
test bpl, bpl
jne 0x1400049fc
lea rdx, [r13 + 0x20]
mov r8d, 0x8000
xor r10d, r10d
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x60], r8
mov dword [rsp + 0x58], r10d
test byte [rsp + 0x44], 1
jne 0x1400048b2
mov qword [rsp + 0x1f8], r15
mov rbx, rax
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x48], r13
mov r13, r8
mov edx, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x38]
call fcn.140096670
lea rdx, str.data
mov rcx, rax
call fcn.140096430
mov rcx, rax
call fcn.140096880
mov rsi, rax
test rax, rax
je 0x140003d7b
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov rbp, rax
mov rdi, rax
shr rbp, 1
movsxd r15, ebp
cmp r13, r15
jae 0x14000479a
lea r14d, [rbp + rbp]
mov rcx, rbx
call fcn.1400b5948
movsxd r13, r14d
mov rcx, r13
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov rbx, rax
mov r8, r15
mov rdx, rsi
mov rcx, rbx
call fcn.140008910
test al, al
je 0x140003d7b
mov r14, qword [rsp + 0x50]
mov r8d, ebp
mov r15d, dword [rsp + 0x58]
mov rdx, rbx
lea rbp, [r12 + rdi]
mov rcx, r14
add r15d, 1
add r14, 0x20
call fcn.14000c2b0
mov rdx, rsi
mov rcx, r12
call sub.api_ms_win_crt_string_l1_1_0.dll_strcpy
mov rcx, qword [rsp + 0x38]
mov edx, r15d
call fcn.140096670
lea rdx, str.data
mov rcx, rax
call fcn.140096430
mov rcx, rax
call fcn.140096880
mov rsi, rax
test rax, rax
je 0x140003d7b
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov rdi, rax
mov r12, rax
shr rdi, 1
movsxd r8, edi
cmp r13, r8
jae 0x14000484c
mov rcx, rbx
mov qword [rsp + 0x50], r8
call fcn.1400b5948
lea r9d, [rdi + rdi]
movsxd r13, r9d
mov rcx, r13
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov r8, qword [rsp + 0x50]
mov rbx, rax
mov rdx, rsi
mov rcx, rbx
call fcn.140008910
test al, al
je 0x140003d7b
mov r8d, edi
mov rdx, rbx
mov rcx, r14
add r15d, 1
mov dword [rsp + 0x58], r15d
add r12, rbp
call fcn.14000c2b0
mov rdx, rsi
mov rcx, rbp
call sub.api_ms_win_crt_string_l1_1_0.dll_strcpy
lea rdx, [r14 + 0x20]
mov qword [rsp + 0x50], rdx
cmp dword [rsp + 0x44], r15d
jne 0x140004735
mov r13, qword [rsp + 0x48]
mov r15, qword [rsp + 0x1f8]
mov rax, rbx
mov r14, qword [rsp + 0x60]
jmp 0x140004340
mov rcx, qword [rsp + 0x38]
xor edx, edx
mov qword [rsp + 0x48], rax
call fcn.140096670
lea rdx, str.data
mov rcx, rax
call fcn.140096430
mov rcx, rax
call fcn.140096880
mov rcx, qword [rsp + 0x48]
test rax, rax
mov rdi, rax
je 0x140003d83
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov r11, qword [rsp + 0x48]
mov rbp, rax
mov rbx, rax
shr rbp, 1
movsxd r8, ebp
cmp qword [rsp + 0x60], r8
jae 0x140004933
mov rcx, r11
mov qword [rsp + 0x48], r8
call fcn.1400b5948
lea eax, [rbp + rbp]
cdqe
mov rcx, rax
mov qword [rsp + 0x60], rax
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov r8, qword [rsp + 0x48]
mov r11, rax
mov rcx, r11
mov rdx, rdi
mov qword [rsp + 0x48], r11
call fcn.140008910
mov rcx, qword [rsp + 0x48]
test al, al
je 0x140003d83
mov rsi, qword [rsp + 0x50]
mov rdx, rcx
mov r8d, ebp
mov dword [rsp + 0x58], 1
mov rcx, rsi
add rsi, 0x20
call fcn.14000c2b0
mov rcx, r12
mov rdx, rdi
add r12, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcpy
cmp dword [rsp + 0x44], 1
mov qword [rsp + 0x50], rsi
mov rax, qword [rsp + 0x48]
je 0x140004340
mov qword [rsp + 0x48], r13
mov rbx, rax
mov r13, qword [rsp + 0x60]
mov qword [rsp + 0x1f8], r15
mov qword [rsp + 0x60], r14
jmp 0x140004735
mov r8, rbp
lea rdx, str.JSON_key__s_not_found
call fcn.140007630
lea rdx, str.JSON_invalid_target
xor ecx, ecx
xor edi, edi
call fcn.140007630
xor r14d, r14d
jmp 0x1400035c4
mov r13, qword [rsp + 0x48]
lea rdx, str.JSON_invalid_transaction_txid
xor ecx, ecx
mov qword [rsp + 0x28], rbx
xor edi, edi
call fcn.140007630
mov r14, qword [rsp + 0x28]
jmp 0x1400035c4
mov qword [rsp + 0x48], rax
lea rdi, [r13 + 0x20]
xor ebp, ebp
mov qword [rsp + 0x50], r13
jmp 0x140004a76
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov rsi, rax
lea rdx, str.txid
mov rcx, r13
call fcn.140096430
mov rcx, rax
call fcn.140096880
mov rdx, rax
test rax, rax
je 0x140004abe
mov r8d, 0x20
mov rcx, rdi
add ebp, 1
call fcn.140008910
test al, al
je 0x140004abe
mov rcx, rdi
mov edx, 0x20
add rdi, 0x20
call fcn.140008110
mov rcx, r12
mov rdx, rbx
add r12, rsi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcpy
cmp dword [rsp + 0x44], ebp
je 0x140004aaf
mov rcx, qword [rsp + 0x38]
mov edx, ebp
call fcn.140096670
lea rdx, str.data
mov rcx, rax
mov r13, rax
call fcn.140096430
mov rcx, rax
call fcn.140096880
mov rbx, rax
test rax, rax
jne 0x140004a0e
xor esi, esi
jmp 0x140004a19
mov rax, qword [rsp + 0x48]
mov r13, qword [rsp + 0x50]
jmp 0x140004340
mov rbx, qword [rsp + 0x48]
mov r13, qword [rsp + 0x50]
jmp 0x1400049dd
call fcn.140096970
mov rdx, qword [rsp + 0x20]
movsxd r13, eax
jmp 0x140003f3f
mov r8d, dword [rsp + 0x44]
mov qword [rsp + 0x58], rdx
mov edx, 0x20
xor ebx, ebx
add r8d, 2
movsxd rcx, r8d
mov dword [rsp + 0x74], r8d
call sub.api_ms_win_crt_heap_l1_1_0.dll_calloc
mov r10, qword [rsp + 0x20]
movsxd r11, esi
mov r13, rax
lea eax, [rsi + 8]
cdqe
mov qword [r10 + r11], rbx
lea rdi, [r13 + 0x20]
mov rbx, qword [rsp + 0x58]
mov dword [r10 + rax], 0xaa246a26
lea eax, [rsi + 0xc]
cdqe
mov qword [rsp + 0x60], rdi
mov word [r10 + rax], 0xa921
lea eax, [rsi + 0xe]
cdqe
mov qword [rsp + 0x48], rdi
xor edi, edi
mov byte [r10 + rax], 0xed
jmp 0x140004bae
mov rcx, qword [rsp + 0x38]
mov edx, edi
call fcn.140096670
lea rdx, str.hash
mov rcx, rax
call fcn.140096430
mov rcx, rax
test rax, rax
je 0x140004c49
call fcn.140096880
mov rcx, qword [rsp + 0x48]
mov r8d, 0x20
add edi, 1
mov rdx, rax
mov qword [rsp + 0x58], rcx
call fcn.140008910
add qword [rsp + 0x48], 0x20
test al, al
je 0x140004c49
mov rcx, qword [rsp + 0x58]
mov edx, 0x20
call fcn.140008110
mov edx, dword [rsp + 0x44]
cmp edi, edx
jl 0x140004b4a
add edx, 1
mov dword [rsp + 0x70], edx
mov edi, edx
cmp edi, 1
jle 0x140004d93
test dil, 1
jne 0x140004d6b
add edi, 1
xor ebx, ebx
sar edi, 1
mov rdx, rbx
mov rcx, rbx
mov r8d, 0x40
add rbx, 1
shl rdx, 6
shl rcx, 5
add rdx, r13
add rcx, r13
call fcn.14000c2b0
cmp edi, ebx
jg 0x140004bd9
jmp 0x140004bbf
mov r10, qword [rsp + 0x20]
mov edx, 0x2b
jmp 0x140004c2e
lea r9d, [rbx - 0x80]
mov byte [r11], bl
lea eax, [rdx + 1]
cmp r9d, 0x7f
ja 0x140004c29
movsxd rcx, eax
lea eax, [rdx + 2]
mov byte [r10 + rcx], 0
sar ebx, 8
mov edx, eax
movsxd rcx, edx
lea r11, [r10 + rcx]
test ebx, ebx
jne 0x140004c0e
mov rdi, qword [rsp + 0x20]
lea eax, [rdx - 0x2b]
mov byte [rdi + 0x2a], al
jmp 0x140003fa7
lea rdx, str.JSON_invalid_transaction_hash
xor ecx, ecx
mov qword [rsp + 0x28], r13
xor edi, edi
mov qword [rsp + 0x30], rbx
xor r13d, r13d
call fcn.140007630
mov rcx, qword [rsp + 0x28]
call fcn.1400b5948
mov r14, qword [rsp + 0x30]
jmp 0x1400035c4
mov r8, rbp
lea rdx, str.JSON_key__s_is_not_a_string
xor ecx, ecx
call fcn.140007630
jmp 0x1400049c0
call fcn.140096880
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll__strdup
mov qword [r15 + 0xb0], rax
mov rcx, qword [rsp + 0x1f0]
lea rdx, str.longpollid
call fcn.140096430
cmp byte [0x14016501f], 0
mov r15, rax
je 0x1400049d0
test rax, rax
je 0x1400049d0
cmp dword [rax], 2
jne 0x1400049d0
mov rcx, qword [0x1401b90c8]
call fcn.1400b5948
mov rcx, r15
call fcn.140096880
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll__strdup
cmp byte [0x1401b90be], 0
mov qword [0x1401b90c8], rax
jne 0x1400049d0
mov rcx, qword [rsp + 0x1f0]
lea rdx, str.longpolluri
call fcn.140096430
mov rcx, rax
test rax, rax
je 0x140004d2b
cmp dword [rax], 2
je 0x140004d61
mov rcx, qword [0x1401b94e8]
call sub.api_ms_win_crt_string_l1_1_0.dll__strdup
movsxd r12, dword [0x14016500c]
mov byte [0x1401b90be], 1
mov rdx, rax
imul rbx, r12, 0x18
add rbx, qword [0x1401b9098]
mov rcx, qword [rbx + 0x10]
call fcn.14000c070
jmp 0x1400049d0
call fcn.140096880
mov rcx, rax
jmp 0x140004d32
movsxd rcx, edi
shl rcx, 5
lea rax, [r13 + rcx - 0x20]
lea rdx, [r13 + rcx]
vmovdqu xmm1, xmmword [rax]
vmovdqu xmmword [rdx], xmm1
vmovdqu xmm2, xmmword [rax + 0x10]
vmovdqu xmmword [rdx + 0x10], xmm2
jmp 0x140004bd2
mov rdi, qword [rsp + 0x60]
xor eax, eax
mov ecx, 8
lea r9d, [rsi + 0xf]
mov r8, qword [rsp + 0x20]
mov rdx, r13
mov qword [rsp + 0x48], r13
add esi, 0x2f
rep stosd dword [rdi], eax
movsxd rcx, r9d
add rcx, r8
mov r8d, 0x40
call fcn.14000c2b0
mov rcx, qword [rsp + 0x48]
call fcn.1400b5948
jmp 0x14000408d