Function at 0x1400e99e0
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push rbp
mov rbp, rsp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
and rsp, 0xfffffffffffffff0
sub rsp, 0x1a0
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x20], r8
mov dword [rsp + 0x58], r9d
test rdx, rdx
je 0x1400ed08f
mov rax, qword [rcx + 8]
mov r13, rcx
mov qword [rsp + 0x118], 0
mov qword [rsp + 0x120], 0
cmp qword [rax + 0xa8], 0
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0x128], 0
je 0x1400ec882
cmp qword [rbp + 0x20], 0
je 0x1400e9cd1
mov rax, qword [rbp + 0x20]
mov r11d, 0x7830
mov rdi, qword [rbp + 0x20]
mov word [rsp + 0x150], r11w
mov rcx, qword [rax]
lea rax, [0x140281430]
movzx edx, cl
mov rbx, rcx
mov r10, rcx
mov r8, rcx
movzx edx, word [rax + rdx*2]
shr rbx, 0x10
shr r10, 0x20
mov r11, rcx
movzx ebx, bl
movzx r10d, r10b
shr r8, 0x30
mov r9, rcx
movd xmm0, edx
movzx edx, word [rax + rbx*2]
movzx r8d, r8b
movzx esi, ch
shr r11, 0x18
shr rcx, 0x38
pinsrw xmm0, word [rax + rsi*2], 1
movd xmm3, edx
movzx edx, word [rax + r10*2]
shr r9, 0x28
movzx r11d, r11b
movzx r9d, r9b
pinsrw xmm3, word [rax + r11*2], 1
movd xmm1, edx
movzx edx, word [rax + r8*2]
pinsrw xmm1, word [rax + r9*2], 1
punpckldq xmm0, xmm3
movd xmm2, edx
pinsrw xmm2, word [rax + rcx*2], 1
mov rcx, qword [rdi + 8]
movzx edx, cl
mov rbx, rcx
punpckldq xmm1, xmm2
mov r10, rcx
movzx edx, word [rax + rdx*2]
shr rbx, 0x10
punpcklqdq xmm0, xmm1
shr r10, 0x20
movzx ebx, bl
movzx r10d, r10b
mov r8, rcx
mov r11, rcx
shr r8, 0x30
mov r9, rcx
movzx esi, ch
shr r11, 0x18
shr rcx, 0x38
movzx r8d, r8b
shr r9, 0x28
movzx r11d, r11b
movups xmmword [rsp + 0x152], xmm0
movd xmm0, edx
movzx edx, word [rax + rbx*2]
movzx r9d, r9b
pinsrw xmm0, word [rax + rsi*2], 1
movd xmm3, edx
movzx edx, word [rax + r10*2]
pinsrw xmm3, word [rax + r11*2], 1
movd xmm1, edx
movzx edx, word [rax + r8*2]
pinsrw xmm1, word [rax + r9*2], 1
punpckldq xmm0, xmm3
movd xmm2, edx
pinsrw xmm2, word [rax + rcx*2], 1
mov rcx, qword [rdi + 0x10]
movzx edx, cl
mov rbx, rcx
punpckldq xmm1, xmm2
mov r10, rcx
movzx edx, word [rax + rdx*2]
shr rbx, 0x10
punpcklqdq xmm0, xmm1
shr r10, 0x20
movzx ebx, bl
movzx r10d, r10b
mov r8, rcx
mov r11, rcx
shr r8, 0x30
mov r9, rcx
shr r11, 0x18
movzx esi, ch
shr r9, 0x28
movzx r8d, r8b
movzx r11d, r11b
shr rcx, 0x38
movups xmmword [rsp + 0x162], xmm0
movd xmm0, edx
movzx edx, word [rax + rbx*2]
movzx r9d, r9b
pinsrw xmm0, word [rax + rsi*2], 1
movd xmm3, edx
movzx edx, word [rax + r10*2]
pinsrw xmm3, word [rax + r11*2], 1
movd xmm1, edx
movzx edx, word [rax + r8*2]
pinsrw xmm1, word [rax + r9*2], 1
punpckldq xmm0, xmm3
movd xmm2, edx
pinsrw xmm2, word [rax + rcx*2], 1
punpckldq xmm1, xmm2
punpcklqdq xmm0, xmm1
movups xmmword [rsp + 0x172], xmm0
mov rcx, qword [rdi + 0x18]
mov byte [rsp + 0x192], 0
movzx edx, cl
mov rbx, rcx
mov r10, rcx
mov r8, rcx
movzx edx, word [rax + rdx*2]
shr rbx, 0x10
shr r10, 0x20
mov r11, rcx
movzx ebx, bl
movzx r10d, r10b
shr r8, 0x30
mov r9, rcx
movd xmm0, edx
movzx edx, word [rax + rbx*2]
movzx r8d, r8b
shr r11, 0x18
shr r9, 0x28
movzx esi, ch
movzx r11d, r11b
shr rcx, 0x38
movd xmm3, edx
movzx edx, word [rax + r10*2]
movzx r9d, r9b
pinsrw xmm0, word [rax + rsi*2], 1
pinsrw xmm3, word [rax + r11*2], 1
movd xmm1, edx
movzx edx, word [rax + r8*2]
pinsrw xmm1, word [rax + r9*2], 1
punpckldq xmm0, xmm3
movd xmm2, edx
pinsrw xmm2, word [rax + rcx*2], 1
punpckldq xmm1, xmm2
punpcklqdq xmm0, xmm1
movups xmmword [rsp + 0x182], xmm0
lea rax, [rsp + 0x128]
mov r8, qword [rbp + 0x20]
mov rdx, qword [rbp + 0x18]
mov rcx, r13
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x120]
movzx r9d, byte [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x118]
mov qword [rsp + 0x20], rax
call fcn.1400ed620
mov dword [rsp + 0x5c], eax
test eax, eax
jne 0x1400ea4a9
cmp byte [0x1403eb240], 0
mov eax, 0
lea r8, str.dap_ledger
cmove r8, rax
lea rax, [rsp + 0x150]
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], rax
lea rax, str.dap_ledger_tx_add___check_passed_for_tx__s
xor r9d, r9d
mov qword [rsp + 0x20], rax
call fcn.14005a150
mov rcx, qword [rsp + 0x118]
call fcn.1400f6120
mov rdx, qword [r13 + 8]
cmp byte [rdx + 0x84], 0
jne 0x1400ec4d0
mov qword [rsp + 0x50], 0
mov r15, qword [rsp + 0x118]
lea r14, [0x140281430]
mov dword [rsp + 0xc0], 0
test r15, r15
je 0x1400ea149
mov qword [rbp + 0x10], r13
mov r13, qword [rbp + 0x20]
nop dword [rax + rax]
mov rbx, qword [r15]
movzx esi, byte [rbx]
test sil, sil
je 0x1400eaf90
cmp sil, 0x50
je 0x1400eaf90
cmp sil, 0xf1
je 0x1400eafb7
cmp sil, 7
je 0x1400eafb7
cmp sil, 0x40
je 0x1400eb030
ja 0x1400eaf28
test sil, sil
je 0x1400eb5a0
cmp sil, 7
jne 0x1400eb512
mov edx, 0x98
mov ecx, 1
call sub.msvcrt.dll_calloc
mov rsi, rax
test rax, rax
je 0x1400ed100
movdqu xmm4, xmmword [rbx + 0x80]
movdqu xmm3, xmmword [r13]
movups xmmword [rax], xmm4
movdqu xmm5, xmmword [rbx + 0x90]
movdqu xmm4, xmmword [r13 + 0x10]
movups xmmword [rax + 0x10], xmm5
movdqu xmm2, xmmword [rbx + 0xa0]
movups xmmword [rax + 0x20], xmm2
movdqu xmm1, xmmword [rbx + 0xb0]
movups xmmword [rax + 0x40], xmm3
movups xmmword [rax + 0x30], xmm1
movups xmmword [rax + 0x50], xmm4
mov rax, qword [rsp + 0xb8]
lea r12, [rax + 0x68]
mov rcx, r12
call fcn.140031050
lea r10, [rsi + 0x3c]
mov r9, rsi
mov edx, 0x9e3779b9
mov ecx, 0x9e3779b9
mov r11d, 0xfeedbeef
movzx r8d, byte [r9 + 5]
movzx eax, byte [r9 + 6]
shl r8d, 8
shl eax, 0x10
add r8d, eax
movzx eax, byte [r9 + 4]
add r8d, eax
movzx eax, byte [r9 + 7]
shl eax, 0x18
add r8d, eax
movzx eax, byte [r9 + 9]
add edx, r8d
movzx r8d, byte [r9 + 0xa]
shl eax, 8
shl r8d, 0x10
add eax, r8d
movzx r8d, byte [r9 + 8]
add eax, r8d
movzx r8d, byte [r9 + 0xb]
shl r8d, 0x18
add eax, r8d
movzx r8d, byte [r9 + 2]
add r11d, eax
movzx eax, byte [r9 + 1]
shl r8d, 0x10
shl eax, 8
add eax, r8d
movzx r8d, byte [r9]
add eax, r8d
movzx r8d, byte [r9 + 3]
shl r8d, 0x18
add eax, r8d
sub eax, edx
sub edx, r11d
sub eax, r11d
add eax, ecx
mov ecx, r11d
shr ecx, 0xd
xor eax, ecx
mov ecx, edx
mov edx, eax
sub ecx, eax
sub r11d, eax
shl edx, 8
xor edx, ecx
mov ecx, r11d
mov r11d, edx
sub ecx, edx
shr r11d, 0xd
xor r11d, ecx
sub eax, edx
add r9, 0xc
mov ecx, r11d
sub eax, r11d
sub edx, r11d
shr ecx, 0xc
xor ecx, eax
mov eax, ecx
sub edx, ecx
sub r11d, ecx
shl eax, 0x10
xor eax, edx
mov edx, r11d
mov r11d, eax
sub edx, eax
sub ecx, eax
shr r11d, 5
xor r11d, edx
sub ecx, r11d
sub eax, r11d
mov edx, ecx
mov ecx, r11d
shr ecx, 3
xor ecx, edx
mov edx, ecx
sub eax, ecx
sub r11d, ecx
shl edx, 0xa
xor edx, eax
mov eax, r11d
mov r11d, edx
sub eax, edx
shr r11d, 0xf
xor r11d, eax
cmp r9, r10
jne 0x1400e9e89
movzx r8d, byte [rsi + 0x3f]
movzx r9d, byte [rsi + 0x3e]
lea eax, [r11 + 0x40]
mov qword [rsi + 0x88], rsi
mov dword [rsi + 0x90], 0x40
shl r9d, 0x10
shl r8d, 0x18
add r8d, r9d
movzx r9d, byte [rsi + 0x3c]
add r8d, r9d
movzx r9d, byte [rsi + 0x3d]
shl r9d, 8
add r8d, r9d
add ecx, r8d
mov r8d, eax
sub ecx, edx
shr r8d, 0xd
sub edx, eax
sub ecx, eax
xor ecx, r8d
mov r8d, ecx
sub edx, ecx
sub eax, ecx
shl r8d, 8
mov r11d, eax
xor edx, r8d
mov eax, edx
sub r11d, edx
sub ecx, edx
shr eax, 0xd
xor eax, r11d
sub ecx, eax
sub edx, eax
mov r8d, ecx
mov ecx, eax
shr ecx, 0xc
xor ecx, r8d
sub edx, ecx
sub eax, ecx
mov r8d, edx
mov edx, ecx
shl edx, 0x10
xor edx, r8d
sub eax, edx
sub ecx, edx
mov r8d, eax
mov eax, edx
shr eax, 5
xor eax, r8d
mov r8d, eax
sub ecx, eax
sub edx, eax
shr r8d, 3
xor ecx, r8d
mov edi, ecx
sub edx, ecx
sub eax, ecx
shl edi, 0xa
xor edi, edx
sub eax, edi
shr edi, 0xf
xor edi, eax
mov rax, qword [rsp + 0xb8]
mov dword [rsi + 0x94], edi
mov rax, qword [rax + 0x28]
test rax, rax
je 0x1400ec2d2
mov rax, qword [rax + 0x60]
mov rcx, qword [rsp + 0xb8]
mov qword [rsi + 0x70], 0
lea rbx, [rsi + 0x60]
mov qword [rsi + 0x60], rax
mov rax, qword [rcx + 0x28]
mov rdx, qword [rax + 0x60]
mov rax, qword [rdx + 0x18]
sub rax, qword [rdx + 0x20]
mov qword [rsi + 0x68], rax
mov rax, qword [rcx + 0x28]
mov rax, qword [rax + 0x60]
mov rax, qword [rax + 0x18]
mov qword [rax + 0x10], rsi
mov rax, qword [rcx + 0x28]
mov rax, qword [rax + 0x60]
mov qword [rax + 0x18], rbx
mov rax, qword [rcx + 0x28]
mov rax, qword [rax + 0x60]
add dword [rax + 0x10], 1
mov rax, qword [rsp + 0xb8]
mov rax, qword [rax + 0x28]
mov rdx, qword [rax + 0x60]
mov eax, dword [rdx + 8]
sub eax, 1
and eax, edi
shl rax, 4
add rax, qword [rdx]
mov rdx, qword [rax]
add dword [rax + 8], 1
mov qword [rsi + 0x78], 0
mov qword [rsi + 0x80], rdx
mov rdx, qword [rax]
test rdx, rdx
je 0x1400ea109
mov qword [rdx + 0x18], rbx
mov edx, dword [rax + 0xc]
mov qword [rax], rbx
lea edx, [rdx + rdx*4 + 5]
add edx, edx
cmp dword [rax + 8], edx
jb 0x1400ea12a
mov r8, qword [rsi + 0x60]
mov ebx, dword [r8 + 0x34]
test ebx, ebx
je 0x1400ec0f9
mov rcx, r12
call fcn.140030f90
nop word [rax + rax]
mov r15, qword [r15 + 8]
test r15, r15
jne 0x1400e9db0
mov r13, qword [rbp + 0x10]
mov r14, qword [rsp + 0x120]
mov byte [rsp + 0x98], 0
mov byte [rsp + 0x68], 0
mov rsi, r14
test r14, r14
jne 0x1400ea1a8
jmp 0x1400eaa9a
cmp al, 0x10
je 0x1400eb4a0
mov dword [rsp + 0x28], eax
lea rax, str.Unknown_item_type__d
xor r9d, r9d
xor edx, edx
mov qword [rsp + 0x20], rax
lea r8, str.dap_ledger
xor ecx, ecx
call fcn.14005a150
mov rsi, qword [rsi + 8]
test rsi, rsi
je 0x1400eaa9a
mov rbx, qword [rsi]
test rbx, rbx
je 0x1400eb4e0
movzx eax, byte [rbx]
cmp al, 0x61
je 0x1400eb6f0
cmp al, 0x11
je 0x1400eb460
cmp al, 0x12
jne 0x1400ea170
mov rax, qword [rbx + 1]
mov rdx, qword [rbx + 9]
lea r12, [rbx + 0x21]
mov rcx, qword [rbx + 0x11]
mov rbx, qword [rbx + 0x19]
mov qword [rsp + 0x130], rax
mov qword [rsp + 0x138], rdx
mov qword [rsp + 0x140], rcx
mov qword [rsp + 0xc0], rax
mov qword [rsp + 0xc8], rdx
mov qword [rsp + 0xe0], rcx
mov qword [rsp + 0x148], rbx
mov qword [rsp + 0xe8], rbx
mov rbx, qword [rsp + 0x128]
mov rax, qword [r13]
mov rax, qword [rax]
cmp qword [r12 + 1], rax
je 0x1400ea257
mov rcx, r12
call fcn.140078c70
movzx edi, byte [rsp + 0x98]
test al, al
mov eax, 1
cmove edi, eax
mov byte [rsp + 0x98], dil
mov rcx, r12
call fcn.140078d70
xor r9d, r9d
mov r8, rbx
lea rcx, [0x14027ed79]
mov rdx, rax
mov qword [rsp + 0xb0], rax
call fcn.140103d30
cmp byte [0x1403eb240], 0
mov r12, rax
jne 0x1400eb3e0
mov rax, qword [rsp + 0xb8]
lea r14, [rax + 0x60]
mov rcx, r14
call fcn.140030c20
mov rcx, r12
call sub.msvcrt.dll_strlen
mov r8, rax
mov rax, qword [r13 + 8]
mov rdi, qword [rax + 0x30]
test rdi, rdi
jne 0x1400eb070
mov rcx, r14
call fcn.140030f90
mov edx, 0x70
mov ecx, 1
call sub.msvcrt.dll_calloc
mov r15, rax
test rax, rax
je 0x1400ed16e
mov qword [rax], r12
mov rdx, rbx
lea rcx, [rax + 8]
call sub.msvcrt.dll_strcpy
mov rax, qword [rsp + 0xe0]
mov rdx, qword [rsp + 0xe8]
mov qword [rsp + 0x78], 0
add rax, qword [r15 + 0x22]
adc rdx, qword [r15 + 0x2a]
mov qword [r15 + 0x22], rax
setb al
movzx eax, al
mov qword [r15 + 0x2a], rdx
mov rdx, qword [rsp + 0xc8]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0xc0]
add rax, qword [r15 + 0x12]
adc rdx, qword [r15 + 0x1a]
add rax, qword [rsp + 0x70]
adc rdx, qword [rsp + 0x78]
cmp byte [0x1403eb240], 0
mov qword [r15 + 0x12], rax
mov qword [r15 + 0x1a], rdx
jne 0x1400ec29c
mov rcx, r14
call fcn.140031050
mov rdi, qword [r15]
mov rcx, r12
call sub.msvcrt.dll_strlen
mov r11, rax
mov r9, rdi
cmp eax, 0xb
jbe 0x1400ec8dd
mov r10d, eax
mov r8d, 0x9e3779b9
mov ecx, 0x9e3779b9
mov ebx, 0xfeedbeef
nop
movzx eax, byte [r9 + 5]
movzx edx, byte [r9 + 6]
shl eax, 8
shl edx, 0x10
add eax, edx
movzx edx, byte [r9 + 4]
add eax, edx
movzx edx, byte [r9 + 7]
shl edx, 0x18
add eax, edx
movzx edx, byte [r9 + 9]
add eax, r8d
movzx r8d, byte [r9 + 0xa]
shl edx, 8
shl r8d, 0x10
add edx, r8d
movzx r8d, byte [r9 + 8]
add edx, r8d
movzx r8d, byte [r9 + 0xb]
shl r8d, 0x18
add edx, r8d
movzx r8d, byte [r9 + 2]
add ebx, edx
movzx edx, byte [r9 + 1]
shl r8d, 0x10
shl edx, 8
add edx, r8d
movzx r8d, byte [r9]
add edx, r8d
movzx r8d, byte [r9 + 3]
shl r8d, 0x18
add edx, r8d
sub edx, eax
sub eax, ebx
sub edx, ebx
add edx, ecx
mov ecx, ebx
shr ecx, 0xd
xor edx, ecx
sub eax, edx
sub ebx, edx
mov ecx, eax
mov eax, edx
shl eax, 8
xor eax, ecx
sub ebx, eax
mov ecx, ebx
mov ebx, eax
shr ebx, 0xd
xor ebx, ecx
sub edx, eax
sub r10d, 0xc
add r9, 0xc
mov ecx, ebx
sub edx, ebx
sub eax, ebx
shr ecx, 0xc
xor ecx, edx
mov edx, ecx
sub eax, ecx
sub ebx, ecx
shl edx, 0x10
xor edx, eax
mov eax, edx
sub ebx, edx
sub ecx, edx
shr eax, 5
xor eax, ebx
sub ecx, eax
sub edx, eax
mov r8d, ecx
mov ecx, eax
shr ecx, 3
xor ecx, r8d
mov r8d, ecx
sub edx, ecx
sub eax, ecx
shl r8d, 0xa
xor r8d, edx
mov ebx, r8d
sub eax, r8d
shr ebx, 0xf
xor ebx, eax
cmp r10d, 0xb
ja 0x1400ea390
lea eax, [rbx + r11]
cmp r10d, 0xb
ja case.0x1400ea4a7.0
lea rbx, [0x14027fa68]
movsxd rdx, dword [rbx + r10*4]
add rdx, rbx
jmp rdx
cmp eax, 0x14
je 0x1400ea520
cmp eax, 7
je 0x1400ea520
cmp eax, 0x22
ja 0x1400eccfb
mov eax, eax
lea rdx, str.DAP_LEDGER_TX_CHECK_OK
mov rax, qword [rdx + rax*8]
mov qword [rsp + 0x30], rax
mov edx, 0
mov r9d, 5
lea rax, [rsp + 0x150]
mov qword [rsp + 0x28], rax
lea rax, str.dap_ledger_tx_add___tx__s_not_passed_the_check:__s
cmp byte [0x1403eb240], 0
lea r8, str.dap_ledger
mov qword [rsp + 0x20], rax
cmove r8, rdx
xor ecx, ecx
call fcn.14005a150
mov eax, dword [rsp + 0x5c]
lea rsp, [rbp - 0x38]
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
cmp byte [rsp + 0x58], 0
jne 0x1400ea50b
mov rax, qword [rbp + 0x20]
mov rdi, qword [rbp + 0x20]
movzx eax, byte [rax + 5]
movzx edx, byte [rdi + 4]
movzx ecx, byte [rdi + 7]
shl eax, 8
lea eax, [rax + rdx - 0x61c88647]
movzx edx, byte [rdi + 6]
shl ecx, 0x18
shl edx, 0x10
add eax, edx
lea edx, [rax + rcx]
movzx eax, byte [rdi + 9]
movzx ecx, byte [rdi + 8]
shl eax, 8
lea r8d, [rax + rcx - 0x1124111]
movzx eax, byte [rdi + 0xa]
movzx ecx, byte [rdi]
shl eax, 0x10
add r8d, eax
movzx eax, byte [rdi + 0xb]
shl eax, 0x18
add r8d, eax
movzx eax, byte [rdi + 1]
shl eax, 8
lea eax, [rcx + rax - 0x61c88647]
movzx ecx, byte [rdi + 2]
shl ecx, 0x10
add eax, ecx
movzx ecx, byte [rdi + 3]
shl ecx, 0x18
add eax, ecx
mov ecx, r8d
sub eax, edx
shr ecx, 0xd
sub eax, r8d
xor ecx, eax
mov eax, edx
sub eax, r8d
mov edx, ecx
sub r8d, ecx
sub eax, ecx
shl edx, 8
xor edx, eax
mov eax, edx
sub r8d, edx
sub ecx, edx
shr eax, 0xd
xor eax, r8d
sub ecx, eax
sub edx, eax
mov r8d, ecx
mov ecx, eax
shr ecx, 0xc
xor ecx, r8d
sub edx, ecx
mov r8d, edx
mov edx, ecx
shl edx, 0x10
sub eax, ecx
xor edx, r8d
sub eax, edx
sub ecx, edx
mov r8d, eax
mov eax, edx
shr eax, 5
xor eax, r8d
mov r8d, eax
sub ecx, eax
sub edx, eax
shr r8d, 3
xor r8d, ecx
mov r9d, r8d
sub edx, r8d
sub eax, r8d
shl r9d, 0xa
xor r9d, edx
movzx edx, byte [rdi + 0x11]
mov ecx, r9d
sub eax, r9d
shr ecx, 0xf
shl edx, 8
xor ecx, eax
movzx eax, byte [rdi + 0x12]
shl eax, 0x10
add edx, eax
movzx eax, byte [rdi + 0x10]
add edx, eax
movzx eax, byte [rdi + 0x13]
shl eax, 0x18
add edx, eax
movzx eax, byte [rdi + 0x15]
add edx, r9d
movzx r9d, byte [rdi + 0x16]
shl eax, 8
shl r9d, 0x10
add eax, r9d
movzx r9d, byte [rdi + 0x14]
add eax, r9d
movzx r9d, byte [rdi + 0x17]
shl r9d, 0x18
add eax, r9d
movzx r9d, byte [rdi + 0xe]
add eax, ecx
movzx ecx, byte [rdi + 0xd]
shl ecx, 8
shl r9d, 0x10
add ecx, r9d
movzx r9d, byte [rdi + 0xc]
add ecx, r9d
movzx r9d, byte [rdi + 0xf]
shl r9d, 0x18
add ecx, r9d
movzx r9d, byte [rdi + 0x1e]
add ecx, r8d
mov r8d, eax
sub ecx, edx
shr r8d, 0xd
sub edx, eax
sub ecx, eax
xor ecx, r8d
sub edx, ecx
sub eax, ecx
mov r8d, edx
mov edx, ecx
shl edx, 8
xor edx, r8d
sub eax, edx
sub ecx, edx
mov r8d, eax
mov eax, edx
shr eax, 0xd
xor eax, r8d
sub ecx, eax
sub edx, eax
mov r8d, ecx
mov ecx, eax
shr ecx, 0xc
xor ecx, r8d
sub edx, ecx
sub eax, ecx
mov r8d, edx
mov edx, ecx
shl edx, 0x10
xor edx, r8d
sub eax, edx
sub ecx, edx
mov r8d, eax
mov eax, edx
shr eax, 5
xor eax, r8d
mov r8d, eax
sub ecx, eax
sub edx, eax
shl r9d, 0x10
shr r8d, 3
xor r8d, ecx
mov ecx, edx
mov edx, r8d
sub ecx, r8d
sub eax, r8d
shl edx, 0xa
xor edx, ecx
mov ecx, edx
sub eax, edx
shr ecx, 0xf
xor ecx, eax
movzx eax, byte [rdi + 0x1f]
add ecx, 0x20
shl eax, 0x18
add eax, r9d
movzx r9d, byte [rdi + 0x1c]
add eax, r9d
movzx r9d, byte [rdi + 0x1d]
shl r9d, 8
add eax, r9d
movzx r9d, byte [rdi + 0x1a]
add eax, edx
movzx edx, byte [rdi + 0x1b]
shl r9d, 0x10
shl edx, 0x18
add edx, r9d
movzx r9d, byte [rdi + 0x18]
add edx, r9d
movzx r9d, byte [rdi + 0x19]
mov rdi, qword [rsp + 0xb8]
shl r9d, 8
lea r12, [rdi + 0x50]
add edx, r9d
add edx, r8d
mov r8d, ecx
sub edx, ecx
shr r8d, 0xd
sub edx, eax
sub eax, ecx
xor edx, r8d
sub eax, edx
mov r8d, eax
mov eax, edx
shl eax, 8
sub ecx, edx
xor eax, r8d
sub ecx, eax
sub edx, eax
mov r8d, ecx
mov ecx, eax
shr ecx, 0xd
xor ecx, r8d
sub edx, ecx
sub eax, ecx
mov r8d, edx
mov edx, ecx
shr edx, 0xc
xor edx, r8d
sub eax, edx
sub ecx, edx
mov r8d, eax
mov eax, edx
shl eax, 0x10
xor eax, r8d
mov r8d, eax
sub ecx, eax
sub edx, eax
shr r8d, 5
xor ecx, r8d
mov r8d, ecx
sub edx, ecx
sub eax, ecx
shr r8d, 3
xor r8d, edx
mov edx, eax
mov eax, ecx
mov rcx, r12
mov ebx, r8d
sub edx, r8d
sub eax, r8d
shl ebx, 0xa
xor ebx, edx
sub eax, ebx
shr ebx, 0xf
xor ebx, eax
call fcn.140030c20
mov rax, qword [rdi]
test rax, rax
je 0x1400ec7d3
mov rcx, qword [rax + 0x1a0]
mov eax, dword [rcx + 8]
sub eax, 1
and eax, ebx
shl rax, 4
add rax, qword [rcx]
mov rax, qword [rax]
test rax, rax
je 0x1400ecbde
mov r8, qword [rcx + 0x20]
mov r11, qword [rbp + 0x20]
mov rdx, r8
sub rax, r8
neg rdx
jmp 0x1400ea85b
mov rax, qword [rax + 0x1c0]
test rax, rax
je 0x1400ecbde
add rax, rdx
cmp dword [rax + 0x1d4], ebx
jne 0x1400ea848
cmp dword [rax + 0x1d0], 0x20
jne 0x1400ea848
mov r10, qword [rax + 0x1c8]
mov r9, qword [r10]
mov r8, qword [r10 + 8]
xor r9, qword [r11]
xor r8, qword [r11 + 8]
or r8, r9
jne 0x1400ea848
mov r9, qword [r10 + 0x10]
mov r8, qword [r10 + 0x18]
xor r9, qword [r11 + 0x10]
xor r8, qword [r11 + 0x18]
or r8, r9
jne 0x1400ea848
mov rcx, r12
call fcn.140030f90
jmp 0x1400ea50b
movzx edx, byte [r9 + 0xa]
shl edx, 0x18
add eax, edx
movzx edx, byte [r9 + 9]
shl edx, 0x10
add eax, edx
movzx edx, byte [r9 + 8]
shl edx, 8
add eax, edx
movzx edx, byte [r9 + 7]
shl edx, 0x18
add r8d, edx
movzx edx, byte [r9 + 6]
shl edx, 0x10
add r8d, edx
movzx edx, byte [r9 + 5]
shl edx, 8
add r8d, edx
movzx edx, byte [r9 + 4]
add r8d, edx
movzx edx, byte [r9 + 3]
shl edx, 0x18
add ecx, edx
movzx edx, byte [r9 + 2]
shl edx, 0x10
add ecx, edx
movzx edx, byte [r9 + 1]
shl edx, 8
add ecx, edx
movzx edx, byte [r9]
add ecx, edx
lea edx, [rax + r8]
mov qword [r15 + 0x60], rdi
sub ecx, edx
mov edx, eax
shr edx, 0xd
xor ecx, edx
mov edx, r8d
sub edx, eax
mov r8d, ecx
sub eax, ecx
sub edx, ecx
shl r8d, 8
mov ebx, eax
xor edx, r8d
mov eax, edx
sub ebx, edx
sub ecx, edx
shr eax, 0xd
xor eax, ebx
sub ecx, eax
sub edx, eax
mov r8d, ecx
mov ecx, eax
shr ecx, 0xc
xor ecx, r8d
sub edx, ecx
sub eax, ecx
mov r8d, edx
mov edx, ecx
shl edx, 0x10
xor edx, r8d
sub eax, edx
sub ecx, edx
mov r8d, eax
mov eax, edx
shr eax, 5
xor eax, r8d
sub ecx, eax
sub edx, eax
mov r8d, ecx
mov ecx, eax
shr ecx, 3
xor ecx, r8d
mov ebx, ecx
sub edx, ecx
sub eax, ecx
mov rcx, r12
shl ebx, 0xa
xor ebx, edx
sub eax, ebx
shr ebx, 0xf
xor ebx, eax
mov dword [r15 + 0x6c], ebx
call sub.msvcrt.dll_strlen
mov r8, qword [r13 + 8]
mov dword [r15 + 0x68], eax
mov rax, qword [r8 + 0x30]
test rax, rax
je 0x1400ec432
mov rax, qword [rax + 0x38]
mov qword [r15 + 0x48], 0
lea rdi, [r15 + 0x38]
mov qword [r15 + 0x38], rax
mov rax, qword [r8 + 0x30]
mov rdx, qword [rax + 0x38]
mov rax, qword [rdx + 0x18]
sub rax, qword [rdx + 0x20]
mov qword [r15 + 0x40], rax
mov rax, qword [r8 + 0x30]
mov rax, qword [rax + 0x38]
mov rax, qword [rax + 0x18]
mov qword [rax + 0x10], r15
mov rax, qword [r13 + 8]
mov rax, qword [rax + 0x30]
mov rax, qword [rax + 0x38]
mov qword [rax + 0x18], rdi
mov rax, qword [r13 + 8]
mov rax, qword [rax + 0x30]
mov rax, qword [rax + 0x38]
add dword [rax + 0x10], 1
mov rax, qword [r13 + 8]
mov rax, qword [rax + 0x30]
mov rdx, qword [rax + 0x38]
mov eax, dword [rdx + 8]
sub eax, 1
and eax, ebx
shl rax, 4
add rax, qword [rdx]
mov rdx, qword [rax]
add dword [rax + 8], 1
mov qword [r15 + 0x50], 0
mov qword [r15 + 0x58], rdx
mov rdx, qword [rax]
test rdx, rdx
je 0x1400eaa45
mov qword [rdx + 0x18], rdi
mov edx, dword [rax + 0xc]
mov qword [rax], rdi
lea edx, [rdx + rdx*4 + 5]
add edx, edx
cmp dword [rax + 8], edx
jb 0x1400eaa65
mov rdi, qword [r15 + 0x38]
mov ebx, dword [rdi + 0x34]
test ebx, ebx
je 0x1400ec8f5
mov rcx, r14
call fcn.140030f90
mov rdx, r15
mov rcx, r13
call fcn.140162050
nop dword [rax + rax]
mov rcx, qword [rsp + 0xb0]
call sub.msvcrt.dll_free
mov rsi, qword [rsi + 8]
test rsi, rsi
jne 0x1400ea1a8
mov rcx, qword [rbp + 0x18]
xor r8d, r8d
mov edx, 0x90
call fcn.1400931f0
test rax, rax
je 0x1400ec3a7
cmp qword [0x1403eb250], 0
je 0x1400ec3a7
mov rcx, rax
call fcn.1400f5ee0
mov r8, qword [rbp + 0x18]
mov edx, 0x90
mov rcx, r13
mov r9d, 1
call qword [0x1403eb250]
mov edx, 0x1d8
mov ecx, 1
call sub.msvcrt.dll_calloc
mov rbx, rax
test rax, rax
je 0x1400ed144
mov rax, qword [rbp + 0x20]
mov rcx, qword [rbp + 0x18]
movdqu xmm5, xmmword [rax + 0x10]
movdqu xmm2, xmmword [rax]
movups xmmword [rbx + 0x10], xmm5
movups xmmword [rbx], xmm2
movaps xmmword [rsp + 0xe0], xmm5
call fcn.140090080
mov rsi, rax
test rax, rax
jne 0x1400ec700
xor eax, eax
mov qword [rbx + 0x20], rax
call fcn.140104340
mov rcx, qword [rbp + 0x18]
mov edx, 0xfe
lea r8, [rsp + 0x114]
mov qword [rbx + 0x30], rax
mov dword [rsp + 0x114], 0
call fcn.1400931f0
mov rcx, rax
mov eax, dword [rsp + 0x114]
mov dword [rbx + 0x38], eax
test rcx, rcx
je 0x1400eab75
call fcn.1400f5ee0
mov rdx, qword [rsp + 0x128]
lea rcx, [rbx + 0x40]
call fcn.1400fe420
movzx eax, byte [rsp + 0x68]
mov rsi, qword [rsp + 0xb8]
mov byte [rbx + 0x50], al
lea r12, [rsi + 0x38]
mov rcx, r12
call fcn.140031050
call fcn.1400f7090
movzx edx, byte [rbx + 4]
movzx ecx, byte [rbx + 8]
mov qword [rbx + 0x28], rax
movzx eax, byte [rbx + 5]
movzx r8d, byte [rbx]
shl eax, 8
lea edx, [rdx + rax - 0x61c88647]
movzx eax, byte [rbx + 6]
shl eax, 0x10
add edx, eax
movzx eax, byte [rbx + 7]
shl eax, 0x18
add edx, eax
movzx eax, byte [rbx + 9]
shl eax, 8
lea eax, [rcx + rax - 0x1124111]
movzx ecx, byte [rbx + 0xa]
shl ecx, 0x10
add eax, ecx
movzx ecx, byte [rbx + 0xb]
shl ecx, 0x18
add eax, ecx
movzx ecx, byte [rbx + 1]
shl ecx, 8
lea r8d, [r8 + rcx - 0x61c88647]
movzx ecx, byte [rbx + 2]
shl ecx, 0x10
add r8d, ecx
movzx ecx, byte [rbx + 3]
shl ecx, 0x18
add r8d, ecx
mov ecx, eax
sub r8d, edx
shr ecx, 0xd
sub edx, eax
sub r8d, eax
xor ecx, r8d
sub edx, ecx
sub eax, ecx
mov r8d, edx
mov edx, ecx
shl edx, 8
xor edx, r8d
sub eax, edx
sub ecx, edx
mov r8d, eax
mov eax, edx
shr eax, 0xd
xor eax, r8d
sub ecx, eax
mov r8d, ecx
mov ecx, eax
shr ecx, 0xc
sub edx, eax
xor ecx, r8d
sub edx, ecx
sub eax, ecx
mov r8d, edx
mov edx, ecx
shl edx, 0x10
xor edx, r8d
sub eax, edx
sub ecx, edx
mov r8d, eax
mov eax, edx
shr eax, 5
xor eax, r8d
mov r8d, eax
sub ecx, eax
sub edx, eax
shr r8d, 3
xor r8d, ecx
mov r9d, r8d
sub edx, r8d
sub eax, r8d
shl r9d, 0xa
xor r9d, edx
movzx edx, byte [rbx + 0x11]
mov ecx, r9d
sub eax, r9d
shr ecx, 0xf
shl edx, 8
xor ecx, eax
movzx eax, byte [rbx + 0x12]
shl eax, 0x10
add edx, eax
movzx eax, byte [rbx + 0x10]
add edx, eax
movzx eax, byte [rbx + 0x13]
shl eax, 0x18
add edx, eax
movzx eax, byte [rbx + 0x15]
add edx, r9d
movzx r9d, byte [rbx + 0x16]
shl eax, 8
shl r9d, 0x10
add eax, r9d
movzx r9d, byte [rbx + 0x14]
add eax, r9d
movzx r9d, byte [rbx + 0x17]
shl r9d, 0x18
add eax, r9d
movzx r9d, byte [rbx + 0xe]
add eax, ecx
movzx ecx, byte [rbx + 0xd]
shl r9d, 0x10
shl ecx, 8
add ecx, r9d
movzx r9d, byte [rbx + 0xc]
add ecx, r9d
movzx r9d, byte [rbx + 0xf]
shl r9d, 0x18
add ecx, r9d
movzx r9d, byte [rbx + 0x1e]
add ecx, r8d
mov r8d, eax
sub ecx, edx
shr r8d, 0xd
sub edx, eax
sub ecx, eax
xor ecx, r8d
sub edx, ecx
sub eax, ecx
mov r8d, edx
mov edx, ecx
shl edx, 8
xor edx, r8d
sub eax, edx
sub ecx, edx
mov r8d, eax
mov eax, edx
shr eax, 0xd
xor eax, r8d
sub ecx, eax
sub edx, eax
mov r8d, ecx
mov ecx, eax
shr ecx, 0xc
xor ecx, r8d
sub edx, ecx
sub eax, ecx
mov r8d, edx
mov edx, ecx
shl edx, 0x10
xor edx, r8d
sub eax, edx
sub ecx, edx
shl r9d, 0x10
mov r8d, eax
mov eax, edx
shr eax, 5
xor eax, r8d
mov r8d, eax
sub ecx, eax
sub edx, eax
shr r8d, 3
xor r8d, ecx
mov ecx, edx
mov edx, r8d
sub ecx, r8d
sub eax, r8d
shl edx, 0xa
xor edx, ecx
mov ecx, edx
sub eax, edx
shr ecx, 0xf
xor ecx, eax
movzx eax, byte [rbx + 0x1f]
add ecx, 0x20
shl eax, 0x18
add eax, r9d
movzx r9d, byte [rbx + 0x1c]
add eax, r9d
movzx r9d, byte [rbx + 0x1d]
shl r9d, 8
add eax, r9d
movzx r9d, byte [rbx + 0x1a]
add eax, edx
movzx edx, byte [rbx + 0x1b]
shl r9d, 0x10
shl edx, 0x18
add edx, r9d
movzx r9d, byte [rbx + 0x18]
add edx, r9d
movzx r9d, byte [rbx + 0x19]
mov qword [rbx + 0x1c8], rbx
mov dword [rbx + 0x1d0], 0x20
shl r9d, 8
add edx, r9d
add edx, r8d
mov r8d, ecx
sub edx, ecx
sub edx, eax
shr r8d, 0xd
sub eax, ecx
xor r8d, edx
mov edx, r8d
sub eax, r8d
sub ecx, r8d
shl edx, 8
xor edx, eax
mov eax, edx
sub ecx, edx
sub r8d, edx
shr eax, 0xd
xor eax, ecx
mov ecx, eax
sub r8d, eax
sub edx, eax
shr ecx, 0xc
xor ecx, r8d
sub edx, ecx
sub eax, ecx
mov r8d, edx
mov edx, ecx
shl edx, 0x10
xor edx, r8d
sub eax, edx
sub ecx, edx
mov r8d, eax
mov eax, edx
shr eax, 5
xor eax, r8d
mov r8d, eax
sub ecx, eax
sub edx, eax
shr r8d, 3
xor ecx, r8d
mov edi, ecx
sub edx, ecx
sub eax, ecx
shl edi, 0xa
xor edi, edx
sub eax, edi
shr edi, 0xf
xor edi, eax
mov dword [rbx + 0x1d4], edi
mov rax, qword [rsi + 0x10]
test rax, rax
je 0x1400ecc36
mov rdx, qword [rax + 0x1a0]
mov r8, qword [rsp + 0xb8]
mov qword [rbx + 0x1a0], rdx
mov rdx, qword [rbx + 0x20]
mov rcx, qword [rdx]
mov rdx, qword [rax + 0x20]
cmp qword [rdx], rcx
ja 0x1400ec520
mov rdx, qword [r8 + 0x10]
mov rdx, qword [rdx + 0x1a0]
add rax, qword [rdx + 0x20]
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1400eaea1
mov rcx, qword [rsp + 0xb8]
lea rsi, [rbx + 0x1a0]
mov qword [rbx + 0x1b0], 0
mov rax, qword [rcx + 0x10]
mov rdx, qword [rax + 0x1a0]
mov rax, qword [rdx + 0x18]
sub rax, qword [rdx + 0x20]
mov qword [rbx + 0x1a8], rax
mov rax, qword [rcx + 0x10]
mov rax, qword [rax + 0x1a0]
mov rax, qword [rax + 0x18]
mov qword [rax + 0x10], rbx
mov rax, qword [rcx + 0x10]
mov rax, qword [rax + 0x1a0]
mov qword [rax + 0x18], rsi
mov rax, qword [rcx + 0x10]
jmp 0x1400ec58e
cmp sil, 0x50
je 0x1400eb660
cmp sil, 0xf1
jne 0x1400eb512
mov rax, qword [rbx + 0x80]
test rax, rax
je 0x1400ea138
movdqu xmm5, xmmword [r13]
movups xmmword [rax + 0x20], xmm5
movdqu xmm2, xmmword [r13 + 0x10]
movups xmmword [rax + 0x30], xmm2
mov rax, qword [rbp + 0x10]
mov rdx, qword [rbx + 0x80]
mov rax, qword [rax + 8]
cmp byte [rax + 0x84], 0
je 0x1400ea138
mov rcx, qword [rbp + 0x10]
call fcn.1401b6e80
jmp 0x1400ea138
mov rax, qword [rbx + 0x80]
mov edx, dword [rax + 0x38]
mov eax, dword [rax + 0x3c]
cmp edx, eax
jbe 0x1400eb6b8
add dword [rsp + 0xc0], 1
cmp sil, 0xf1
jne 0x1400e9dd3
movdqu xmm4, xmmword [rbx + 4]
mov rcx, qword [rbp + 0x10]
lea r8, [rsp + 0xf0]
movaps xmmword [rsp + 0xf0], xmm4
movdqu xmm5, xmmword [rbx + 0x14]
movaps xmmword [rsp + 0x100], xmm5
mov rdx, qword [rbx + 0x28]
call fcn.1401b7580
test al, al
jne 0x1400e9ddd
mov rax, qword [rbx + 0x28]
xor edx, edx
xor ecx, ecx
mov r9d, 7
lea r8, str.dap_ledger
add rax, 2
mov qword [rsp + 0x28], rax
lea rax, str.Insufficient_supply_for_token__s
mov qword [rsp + 0x20], rax
call fcn.14005a150
cmp sil, 0x40
jne 0x1400e9de7
nop word [rax + rax]
mov rax, qword [rbx + 0x80]
movdqu xmm3, xmmword [r13]
movups xmmword [rax + 0x30], xmm3
movdqu xmm3, xmmword [r13 + 0x10]
movups xmmword [rax + 0x40], xmm3
mov rax, qword [rbp + 0x10]
mov r8, qword [rbx + 0x80]
mov rdx, qword [rax + 8]
mov rcx, qword [rax]
call fcn.1401b66f0
jmp 0x1400ea138
mov dword [rsp + 0x90], r8d
mov r10, r12
cmp r8d, 0xb
jbe 0x1400ec284
mov ecx, 0x9e3779b9
mov eax, 0xfeedbeef
mov r11d, r8d
mov r15d, 0x9e3779b9
mov r9d, ecx
mov ecx, eax
nop dword [rax]
movzx eax, byte [r10 + 5]
movzx edx, byte [r10 + 6]
shl eax, 8
shl edx, 0x10
add eax, edx
movzx edx, byte [r10 + 4]
add eax, edx
movzx edx, byte [r10 + 7]
shl edx, 0x18
add eax, edx
movzx edx, byte [r10 + 0xa]
add r15d, eax
movzx eax, byte [r10 + 9]
shl edx, 0x10
shl eax, 8
add eax, edx
movzx edx, byte [r10 + 8]
add eax, edx
movzx edx, byte [r10 + 0xb]
shl edx, 0x18
add edx, eax
lea eax, [rdx + rcx]
movzx ecx, byte [r10 + 1]
movzx edx, byte [r10 + 2]
shl ecx, 8
shl edx, 0x10
add ecx, edx
movzx edx, byte [r10]
add ecx, edx
movzx edx, byte [r10 + 3]
shl edx, 0x18
add ecx, edx
mov edx, eax
sub ecx, r15d
shr edx, 0xd
sub r15d, eax
sub ecx, eax
lea ecx, [rcx + r9]
xor edx, ecx
mov ecx, r15d
mov r15d, edx
sub ecx, edx
sub eax, edx
shl r15d, 8
xor r15d, ecx
sub eax, r15d
sub edx, r15d
mov ecx, eax
mov eax, r15d
shr eax, 0xd
xor eax, ecx
mov ecx, edx
mov edx, eax
sub ecx, eax
sub r15d, eax
sub r11d, 0xc
shr edx, 0xc
add r10, 0xc
xor edx, ecx
mov ecx, r15d
mov r15d, edx
sub ecx, edx
sub eax, edx
shl r15d, 0x10
xor r15d, ecx
sub eax, r15d
sub edx, r15d
mov ecx, eax
mov eax, r15d
shr eax, 5
xor eax, ecx
mov r9d, eax
sub edx, eax
sub r15d, eax
shr r9d, 3
xor r9d, edx
mov edx, r9d
sub r15d, r9d
sub eax, r9d
shl edx, 0xa
xor r15d, edx
mov ecx, r15d
sub eax, r15d
shr ecx, 0xf
xor ecx, eax
cmp r11d, 0xb
ja 0x1400eb0a0
mov eax, ecx
mov ecx, r9d
add eax, r8d
cmp r11d, 0xb
ja case.0x1400eb1c8.0
lea rdx, [0x14027fa98]
movsxd r9, dword [rdx + r11*4]
add r9, rdx
jmp r9
movzx edx, byte [r10 + 0xa]
shl edx, 0x18
add eax, edx
movzx edx, byte [r10 + 9]
shl edx, 0x10
add eax, edx
movzx edx, byte [r10 + 8]
shl edx, 8
add eax, edx
movzx edx, byte [r10 + 7]
shl edx, 0x18
add r15d, edx
movzx edx, byte [r10 + 6]
shl edx, 0x10
add r15d, edx
movzx edx, byte [r10 + 5]
shl edx, 8
add r15d, edx
movzx edx, byte [r10 + 4]
add r15d, edx
movzx edx, byte [r10 + 3]
shl edx, 0x18
add ecx, edx
movzx edx, byte [r10 + 2]
shl edx, 0x10
add ecx, edx
movzx edx, byte [r10 + 1]
shl edx, 8
add ecx, edx
movzx edx, byte [r10]
add ecx, edx
lea edx, [rax + r15]
sub ecx, edx
mov edx, eax
shr edx, 0xd
xor ecx, edx
mov edx, r15d
sub edx, eax
mov r9d, ecx
sub eax, ecx
sub edx, ecx
shl r9d, 8
xor edx, r9d
mov r9d, edx
sub eax, edx
sub ecx, edx
shr r9d, 0xd
xor eax, r9d
sub ecx, eax
sub edx, eax
mov r9d, ecx
mov ecx, eax
shr ecx, 0xc
xor ecx, r9d
sub edx, ecx
sub eax, ecx
mov r9d, edx
mov edx, ecx
shl edx, 0x10
xor edx, r9d
sub eax, edx
sub ecx, edx
mov r9d, eax
mov eax, edx
shr eax, 5
xor eax, r9d
sub ecx, eax
sub edx, eax
mov r9d, ecx
mov ecx, eax
shr ecx, 3
xor ecx, r9d
mov r9d, ecx
sub edx, ecx
sub eax, ecx
shl r9d, 0xa
xor r9d, edx
mov rdx, qword [rdi + 0x38]
sub eax, r9d
shr r9d, 0xf
xor r9d, eax
mov eax, dword [rdx + 8]
sub eax, 1
and eax, r9d
shl rax, 4
add rax, qword [rdx]
mov r15, qword [rax]
test r15, r15
je 0x1400ea2bc
mov rax, qword [rdx + 0x20]
mov r8d, r8d
mov qword [rbp + 0x10], r13
mov qword [rsp + 0x80], rbx
mov r13, r8
mov rbx, r12
mov rdi, rax
mov qword [rsp + 0xa0], rsi
sub r15, rax
mov esi, dword [rsp + 0x90]
neg rdi
mov r12, rdi
mov edi, r9d
jmp 0x1400eb328
mov r15, qword [r15 + 0x58]
test r15, r15
je 0x1400eb698
add r15, r12
cmp dword [r15 + 0x6c], edi
jne 0x1400eb318
cmp dword [r15 + 0x68], esi
jne 0x1400eb318
mov rcx, qword [r15 + 0x60]
mov r8, r13
mov rdx, rbx
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x1400eb318
mov rcx, r14
mov r13, qword [rbp + 0x10]
mov rsi, qword [rsp + 0xa0]
call fcn.140030f90
mov rax, qword [rsp + 0xe0]
add rax, qword [r15 + 0x22]
mov rcx, rbx
mov rdx, qword [rsp + 0xe8]
adc rdx, qword [r15 + 0x2a]
mov qword [r15 + 0x22], rax
setb al
mov qword [r15 + 0x2a], rdx
mov rdx, qword [rsp + 0xc8]
mov qword [rsp + 0xd8], 0
movzx eax, al
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xc0]
add rax, qword [r15 + 0x12]
adc rdx, qword [r15 + 0x1a]
add rax, qword [rsp + 0xd0]
adc rdx, qword [rsp + 0xd8]
mov qword [r15 + 0x1a], rdx
mov qword [r15 + 0x12], rax
call sub.msvcrt.dll_free
mov rdx, r15
mov rcx, r13
call fcn.140162050
jmp 0x1400eaa80
movdqa xmm4, xmmword [rsp + 0xc0]
lea rcx, [rsp + 0xf0]
movdqa xmm5, xmmword [rsp + 0xe0]
movaps xmmword [rsp + 0x130], xmm4
movaps xmmword [rsp + 0x140], xmm5
movaps xmmword [rsp + 0xf0], xmm4
movaps xmmword [rsp + 0x100], xmm5
call fcn.140105920
mov qword [rsp + 0x30], r12
xor ecx, ecx
xor r9d, r9d
mov qword [rsp + 0x28], rax
mov r14, rax
lea rax, str.GOT__s_to_addr:__s
xor edx, edx
mov qword [rsp + 0x20], rax
lea r8, str.dap_ledger
call fcn.14005a150
mov rcx, r14
call sub.msvcrt.dll_free
jmp 0x1400ea28c
movdqu xmm5, xmmword [rbx + 1]
movdqu xmm4, xmmword [rbx + 0x11]
lea r12, [rbx + 0x21]
mov byte [rsp + 0x68], 1
add rbx, 0x6e
movaps xmmword [rsp + 0x130], xmm5
movaps xmmword [rsp + 0x140], xmm4
movaps xmmword [rsp + 0xc0], xmm5
movaps xmmword [rsp + 0xe0], xmm4
jmp 0x1400ea227
mov rax, qword [0x1403e41a0]
lea r12, [rbx + 0x10]
mov qword [rsp + 0xe8], 0
movdqa xmm4, xmmword [rax]
mov rax, qword [rbx + 8]
mov rbx, qword [rsp + 0x128]
mov qword [rsp + 0xe0], rax
movaps xmmword [rsp + 0xc0], xmm4
jmp 0x1400ea227
lea rax, str.Cant_detect_tx_ticker_or_matching_output__cant_append_balances_cache
cmp byte [0x1403eb240], 0
lea r8, str.dap_ledger
mov r9d, 5
mov qword [rsp + 0x20], rax
cmove r8, rbx
xor edx, edx
xor ecx, ecx
call fcn.14005a150
jmp 0x1400ea19b
lea rax, str.Unknown_item_type__d_in_ledger_TX_bound_for_IN_part
mov dword [rsp + 0x28], esi
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
mov r9d, 7
lea r8, str.dap_ledger
call fcn.14005a150
movzx eax, word [rbx + 2]
mov r12, qword [rbx + 0x80]
movdqu xmm4, xmmword [r13]
mov rdi, qword [rbp + 0x10]
add rax, 3
shl rax, 5
add rax, r12
movups xmmword [rax], xmm4
movdqu xmm5, xmmword [r13 + 0x10]
movups xmmword [rax + 0x10], xmm5
mov eax, dword [r12 + 0x3c]
add eax, 1
mov dword [r12 + 0x3c], eax
mov rdx, qword [rdi + 8]
cmp byte [rdx + 0x84], 0
jne 0x1400eb720
cmp dword [r12 + 0x38], eax
jne 0x1400ea138
mov rax, qword [rbp + 0x18]
mov rax, qword [rax]
mov qword [r12 + 0x51], rax
jmp 0x1400ea138
lea rdi, [rbx + 0x28]
lea rcx, [rbx + 0x32]
mov qword [rsp + 0x60], rdi
call fcn.140078d70
mov r8, rdi
xor r9d, r9d
lea rcx, [0x14027ed79]
mov rdx, rax
mov qword [rsp + 0x90], rax
call fcn.140103d30
mov rdi, rax
mov qword [rsp + 0xb0], rax
mov rax, qword [rbp + 0x10]
mov rax, qword [rax + 8]
lea rcx, [rax + 0x60]
mov qword [rsp + 0xa0], rax
call fcn.140030c20
mov rcx, rdi
call sub.msvcrt.dll_strlen
mov rdi, qword [rbp + 0x10]
mov qword [rsp + 0x98], rax
mov rdi, qword [rdi + 8]
mov qword [rsp + 0xa0], rdi
mov rdi, qword [rdi + 0x30]
test rdi, rdi
jne 0x1400ebb90
mov rcx, qword [rsp + 0xa0]
add rcx, 0x60
call fcn.140030f90
cmp byte [0x1403eb240], 0
jne 0x1400ec3f4
mov rcx, qword [rsp + 0x90]
call sub.msvcrt.dll_free
mov rcx, qword [rsp + 0xb0]
call sub.msvcrt.dll_free
jmp 0x1400eb538
mov rax, qword [rbx + 0x28]
lea rcx, [0x1403eb258]
movzx edi, byte [rax + 1]
call fcn.140030c20
mov r8, qword [0x1403eb260]
test r8, r8
jne 0x1400eba90
lea rcx, [0x1403eb258]
call fcn.140030f90
jmp 0x1400eb538
mov r12, rbx
mov rsi, qword [rsp + 0xa0]
mov r13, qword [rbp + 0x10]
mov rbx, qword [rsp + 0x80]
jmp 0x1400ea2bc
mov dword [rsp + 0x30], eax
lea rax, str.____Irrelevant_prev_tx:_out_items_mismatch__d____d
mov r9d, 7
xor ecx, ecx
mov dword [rsp + 0x28], edx
lea r8, str.dap_ledger
xor edx, edx
mov qword [rsp + 0x20], rax
call fcn.14005a150
jmp 0x1400ea138
lea r12, [0x1403eb258]
movzx edi, byte [rbx + 1]
mov rcx, r12
call fcn.140030c20
mov rcx, qword [0x1403eb260]
test rcx, rcx
jne 0x1400ebf88
mov rcx, r12
call fcn.140030f90
jmp 0x1400ea19b
mov rcx, qword [r12 + 0x20]
call fcn.140090080
mov r9d, 0x170
mov qword [rsp + 0xb0], 0
mov r8, rax
add rax, 0x170
mov qword [rsp + 0xa0], rax
jne 0x1400ec376
mov rdi, qword [rsp + 0xb0]
lea rsi, [r12 + 0x30]
mov ecx, 0x2e
rep movsq qword [rdi], qword [rsi]
mov rcx, r9
mov rdx, qword [r12 + 0x20]
call sub.msvcrt.dll_memcpy
mov edx, 0x43
mov ecx, 1
call sub.msvcrt.dll_calloc
mov rdx, rax
mov eax, 0x7830
mov word [rdx], ax
mov rax, qword [r12]
mov r11, rax
mov r9, rax
mov rcx, rax
movzx esi, al
shr r11, 0x10
shr r9, 0x20
mov r10, rax
mov r8, rax
shr rcx, 0x30
movzx r11d, r11b
movzx r9d, r9b
shr r10, 0x18
movzx ecx, cl
movzx esi, word [r14 + rsi*2]
movzx r11d, word [r14 + r11*2]
movzx ebx, ah
movzx r9d, word [r14 + r9*2]
shr r8, 0x28
movzx r10d, r10b
shr rax, 0x38
movzx ecx, word [r14 + rcx*2]
movzx r8d, r8b
movd xmm0, esi
movd xmm3, r11d
pinsrw xmm0, word [r14 + rbx*2], 1
pinsrw xmm3, word [r14 + r10*2], 1
movd xmm1, r9d
movd xmm2, ecx
pinsrw xmm1, word [r14 + r8*2], 1
pinsrw xmm2, word [r14 + rax*2], 1
punpckldq xmm0, xmm3
punpckldq xmm1, xmm2
punpcklqdq xmm0, xmm1
movups xmmword [rdx + 2], xmm0
mov rax, qword [r12 + 8]
mov r11, rax
mov r9, rax
mov rcx, rax
movzx esi, al
shr r11, 0x10
shr r9, 0x20
mov r10, rax
mov r8, rax
shr rcx, 0x30
movzx r11d, r11b
movzx r9d, r9b
shr r10, 0x18
movzx ecx, cl
movzx esi, word [r14 + rsi*2]
movzx r11d, word [r14 + r11*2]
movzx ebx, ah
movzx r9d, word [r14 + r9*2]
shr r8, 0x28
movzx r10d, r10b
shr rax, 0x38
movzx ecx, word [r14 + rcx*2]
movzx r8d, r8b
movd xmm0, esi
movd xmm3, r11d
pinsrw xmm0, word [r14 + rbx*2], 1
pinsrw xmm3, word [r14 + r10*2], 1
movd xmm1, r9d
movd xmm2, ecx
pinsrw xmm1, word [r14 + r8*2], 1
pinsrw xmm2, word [r14 + rax*2], 1
punpckldq xmm0, xmm3
punpckldq xmm1, xmm2
punpcklqdq xmm0, xmm1
movups xmmword [rdx + 0x12], xmm0
mov rax, qword [r12 + 0x10]
mov r11, rax
mov r9, rax
mov rcx, rax
movzx esi, al
shr r11, 0x10
shr r9, 0x20
mov r10, rax
mov r8, rax
shr rcx, 0x30
movzx r11d, r11b
movzx r9d, r9b
shr r10, 0x18
movzx ecx, cl
movzx esi, word [r14 + rsi*2]
movzx r11d, word [r14 + r11*2]
movzx ebx, ah
movzx r9d, word [r14 + r9*2]
shr r8, 0x28
movzx r10d, r10b
shr rax, 0x38
movzx ecx, word [r14 + rcx*2]
movzx r8d, r8b
movd xmm0, esi
movd xmm3, r11d
pinsrw xmm0, word [r14 + rbx*2], 1
pinsrw xmm3, word [r14 + r10*2], 1
movd xmm1, r9d
movd xmm2, ecx
pinsrw xmm1, word [r14 + r8*2], 1
pinsrw xmm2, word [r14 + rax*2], 1
punpckldq xmm0, xmm3
punpckldq xmm1, xmm2
punpcklqdq xmm0, xmm1
movups xmmword [rdx + 0x22], xmm0
mov rax, qword [r12 + 0x18]
mov rcx, rax
movzx esi, al
movzx ebx, ah
mov r11, rax
shr rcx, 0x30
movzx esi, word [r14 + rsi*2]
mov r10, rax
mov r9, rax
movzx ecx, cl
mov r8, rax
shr rax, 0x38
mov byte [rdx + 0x42], 0
movzx ecx, word [r14 + rcx*2]
shr r11, 0x10
shr r9, 0x20
movd xmm0, esi
shr r10, 0x18
movzx r11d, r11b
movzx r9d, r9b
shr r8, 0x28
movd xmm2, ecx
movzx r11d, word [r14 + r11*2]
movzx r10d, r10b
movzx r8d, r8b
pinsrw xmm2, word [r14 + rax*2], 1
movsxd rax, dword [rsp + 0xc0]
pinsrw xmm0, word [r14 + rbx*2], 1
movzx r9d, word [r14 + r9*2]
movd xmm3, r11d
lea rbx, [rax + rax*8]
mov rax, qword [rsp + 0x50]
pinsrw xmm3, word [r14 + r10*2], 1
mov rdi, qword [rsp + 0xb0]
movd xmm1, r9d
pinsrw xmm1, word [r14 + r8*2], 1
mov qword [rbx*8 + 0x10], 0
mov qword [rbx*8 + 0x18], rax
punpckldq xmm0, xmm3
mov rax, qword [rsp + 0xa0]
punpckldq xmm1, xmm2
mov qword [rbx*8], 0
mov qword [rbx*8 + 8], 0
punpcklqdq xmm0, xmm1
mov qword [rbx*8 + 0x20], 0
mov qword [rbx*8 + 0x30], 0
mov dword [rbx*8 + 0x10], 0x61
mov qword [rbx*8 + 0x28], rdx
mov qword [rbx*8 + 0x38], rdi
mov qword [rbx*8 + 0x40], rax
movups xmmword [rdx + 0x32], xmm0
call fcn.1400f7090
mov qword [rbx*8 + 8], rax
mov eax, dword [r12 + 0x3c]
jmp 0x1400eb583
lea ecx, [rdi + 0x112410d]
mov edx, 0x9f49bac6
mov r9d, 0xfeedbef3
xor ecx, 0x7f76d
mov eax, ecx
sub edx, ecx
sub r9d, ecx
shl eax, 8
xor eax, edx
mov edx, eax
sub r9d, eax
sub ecx, eax
shr edx, 0xd
xor edx, r9d
sub ecx, edx
sub eax, edx
mov r9d, ecx
mov ecx, edx
shr ecx, 0xc
xor ecx, r9d
sub eax, ecx
sub edx, ecx
mov r9d, eax
mov eax, ecx
shl eax, 0x10
xor eax, r9d
sub edx, eax
sub ecx, eax
mov r9d, edx
mov edx, eax
shr edx, 5
xor edx, r9d
mov r9d, edx
sub ecx, edx
sub eax, edx
shr r9d, 3
xor ecx, r9d
sub eax, ecx
sub edx, ecx
mov r9d, ecx
mov rcx, qword [r8 + 0x18]
shl r9d, 0xa
xor eax, r9d
mov esi, dword [rcx + 8]
sub edx, eax
shr eax, 0xf
xor eax, edx
lea edx, [rsi - 1]
and edx, eax
shl rdx, 4
add rdx, qword [rcx]
mov rsi, qword [rdx]
test rsi, rsi
je 0x1400eb684
mov rcx, qword [rcx + 0x20]
mov rdx, rcx
sub rsi, rcx
neg rdx
jmp 0x1400ebb50
mov rsi, qword [rsi + 0x38]
test rsi, rsi
je 0x1400eb684
add rsi, rdx
cmp dword [rsi + 0x4c], eax
jne 0x1400ebb40
cmp dword [rsi + 0x48], 4
jne 0x1400ebb40
mov rcx, qword [rsi + 0x40]
cmp dword [rcx], edi
jne 0x1400ebb40
lea rcx, [0x1403eb258]
call fcn.140030f90
mov rax, qword [rsi + 0x10]
test rax, rax
je 0x1400eb538
mov r8, qword [rbx + 0x28]
mov rdx, qword [rbp + 0x18]
mov rcx, qword [rbp + 0x10]
call rax
jmp 0x1400eb538
mov dword [rsp + 0x4c], eax
mov r9, qword [rsp + 0xb0]
cmp eax, 0xb
jbe 0x1400eca4c
mov ecx, 0x9e3779b9
mov edx, 0x9e3779b9
mov eax, 0xfeedbeef
mov r10d, dword [rsp + 0x98]
mov r11d, ecx
nop
movzx ecx, byte [r9 + 5]
movzx r8d, byte [r9 + 6]
shl ecx, 8
shl r8d, 0x10
add ecx, r8d
movzx r8d, byte [r9 + 4]
add ecx, r8d
movzx r8d, byte [r9 + 7]
shl r8d, 0x18
add ecx, r8d
movzx r8d, byte [r9 + 0xa]
add edx, ecx
movzx ecx, byte [r9 + 9]
shl r8d, 0x10
shl ecx, 8
add ecx, r8d
movzx r8d, byte [r9 + 8]
add ecx, r8d
movzx r8d, byte [r9 + 0xb]
shl r8d, 0x18
add ecx, r8d
movzx r8d, byte [r9 + 2]
add eax, ecx
movzx ecx, byte [r9 + 1]
shl r8d, 0x10
shl ecx, 8
add ecx, r8d
movzx r8d, byte [r9]
add ecx, r8d
movzx r8d, byte [r9 + 3]
shl r8d, 0x18
add ecx, r8d
mov r8d, eax
sub ecx, edx
shr r8d, 0xd
sub edx, eax
sub ecx, eax
lea ecx, [rcx + r11]
xor ecx, r8d
sub edx, ecx
sub eax, ecx
mov r8d, edx
mov edx, ecx
shl edx, 8
xor edx, r8d
sub eax, edx
mov r8d, eax
mov eax, edx
shr eax, 0xd
xor eax, r8d
sub ecx, edx
sub r10d, 0xc
add r9, 0xc
sub ecx, eax
sub edx, eax
mov r8d, ecx
mov ecx, eax
shr ecx, 0xc
xor ecx, r8d
sub edx, ecx
sub eax, ecx
mov r8d, edx
mov edx, ecx
shl edx, 0x10
xor edx, r8d
sub eax, edx
sub ecx, edx
mov r8d, eax
mov eax, edx
shr eax, 5
xor eax, r8d
mov r11d, eax
sub ecx, eax
sub edx, eax
shr r11d, 3
xor r11d, ecx
mov ecx, edx
mov edx, r11d
sub ecx, r11d
sub eax, r11d
shl edx, 0xa
xor edx, ecx
sub eax, edx
mov ecx, eax
mov eax, edx
shr eax, 0xf
xor eax, ecx
cmp r10d, 0xb
ja 0x1400ebbc0
mov ecx, r11d
add eax, dword [rsp + 0x98]
cmp r10d, 0xb
ja case.0x1400ebcf7.0
lea r8, [0x14027fac8]
movsxd r10, dword [r8 + r10*4]
add r10, r8
jmp r10
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, [rax + rdx]
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
sub eax, edx
sub ecx, edx
mov r8d, eax
mov eax, edx
shr eax, 0xd
xor eax, r8d
sub ecx, eax
sub edx, eax
mov r8d, ecx
mov ecx, eax
shr ecx, 0xc
xor ecx, r8d
sub edx, ecx
sub eax, ecx
mov r8d, edx
mov edx, ecx
shl edx, 0x10
xor edx, r8d
sub eax, edx
sub ecx, edx
mov r8d, eax
mov eax, edx
shr eax, 5
xor eax, r8d
mov r8d, eax
sub ecx, eax
sub edx, eax
shr r8d, 3
xor ecx, r8d
mov esi, ecx
sub edx, ecx
sub eax, ecx
shl esi, 0xa
xor edx, esi
sub eax, edx
shr edx, 0xf
mov esi, edx
mov rdx, qword [rdi + 0x38]
xor esi, eax
mov eax, dword [rdx + 8]
sub eax, 1
and eax, esi
shl rax, 4
add rax, qword [rdx]
mov r12, qword [rax]
test r12, r12
je 0x1400eb620
mov rax, qword [rdx + 0x20]
mov r8d, dword [rsp + 0x98]
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x98], r15
mov rdi, rax
mov qword [rbp + 0x20], r13
sub r12, rax
mov r13d, dword [rsp + 0x4c]
neg rdi
mov r15, r8
mov rbx, rdi
mov edi, esi
mov rsi, qword [rsp + 0xb0]
jmp 0x1400ebe61
mov r12, qword [r12 + 0x58]
test r12, r12
je 0x1400ec26e
add r12, rbx
cmp dword [r12 + 0x6c], edi
jne 0x1400ebe50
cmp dword [r12 + 0x68], r13d
jne 0x1400ebe50
mov rcx, qword [r12 + 0x60]
mov r8, r15
mov rdx, rsi
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x1400ebe50
mov rcx, qword [rsp + 0xa0]
mov r15, qword [rsp + 0x98]
mov rbx, qword [rsp + 0x68]
mov r13, qword [rbp + 0x20]
add rcx, 0x60
call fcn.140030f90
cmp byte [0x1403eb240], 0
jne 0x1400ec091
mov r8, qword [rbx + 0x14]
mov r10, qword [r12 + 0x22]
mov qword [rsp + 0x88], 0
mov r9, qword [rbx + 0x1c]
mov rax, qword [rbx + 4]
mov r11, qword [r12 + 0x2a]
mov rsi, qword [r12 + 0x12]
sub r10, r8
mov rdx, qword [rbx + 0xc]
mov rdi, qword [r12 + 0x1a]
mov qword [r12 + 0x22], r10
sbb r11, r9
sub rsi, rax
mov rax, r8
mov rcx, qword [rbp + 0x10]
sbb rdi, rdx
mov qword [rsp + 0xa0], rsi
mov rsi, r10
mov rdx, r9
mov qword [rsp + 0xa8], rdi
shrd rax, r9, 1
mov rdi, r11
shrd rsi, r11, 1
shr rdi, 1
shr rdx, 1
add rax, rsi
mov r9, qword [rsp + 0xa8]
adc rdx, rdi
and r8, r10
mov qword [r12 + 0x2a], r11
mov rdi, r8
mov r8, qword [rsp + 0xa0]
and edi, 1
mov qword [rsp + 0x80], rdi
add rax, qword [rsp + 0x80]
adc rdx, qword [rsp + 0x88]
mov rax, rdx
xor edx, edx
shr rax, 0x3f
sub r8, rax
sbb r9, rdx
mov qword [r12 + 0x12], r8
mov rdx, r12
mov qword [r12 + 0x1a], r9
call fcn.140162050
jmp 0x1400eb63e
lea edx, [rdi + 0x112410d]
mov r8d, 0x9f49bac6
mov rcx, qword [rcx + 0x18]
xor edx, 0x7f76d
mov eax, edx
sub r8d, edx
mov ebx, dword [rcx + 8]
shl eax, 8
xor eax, r8d
mov r8d, 0xfeedbef3
sub r8d, edx
mov r9d, eax
sub edx, eax
sub r8d, eax
shr r9d, 0xd
xor r9d, r8d
mov r8d, r9d
sub edx, r9d
sub eax, r9d
shr r8d, 0xc
xor r8d, edx
sub eax, r8d
sub r9d, r8d
mov edx, eax
mov eax, r8d
shl eax, 0x10
xor eax, edx
mov edx, eax
sub r9d, eax
sub r8d, eax
shr edx, 5
xor edx, r9d
mov r9d, r8d
mov r8d, edx
sub r9d, edx
sub eax, edx
shr r8d, 3
xor r8d, r9d
sub eax, r8d
sub edx, r8d
mov r9d, eax
mov eax, r8d
shl eax, 0xa
xor eax, r9d
sub edx, eax
shr eax, 0xf
xor eax, edx
lea edx, [rbx - 1]
and edx, eax
shl rdx, 4
add rdx, qword [rcx]
mov rbx, qword [rdx]
test rbx, rbx
je 0x1400eb713
mov rcx, qword [rcx + 0x20]
mov rdx, rcx
sub rbx, rcx
neg rdx
jmp 0x1400ec058
mov rbx, qword [rbx + 0x38]
test rbx, rbx
je 0x1400eb713
add rbx, rdx
cmp dword [rbx + 0x4c], eax
jne 0x1400ec048
cmp dword [rbx + 0x48], 4
jne 0x1400ec048
mov rcx, qword [rbx + 0x40]
cmp dword [rcx], edi
jne 0x1400ec048
mov rcx, r12
call fcn.140030f90
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x1400ea19b
mov rdx, qword [rbp + 0x18]
xor r8d, r8d
mov rcx, r13
call rax
jmp 0x1400ea19b
movdqu xmm5, xmmword [rbx + 4]
lea rcx, [rsp + 0xf0]
movaps xmmword [rsp + 0xf0], xmm5
movdqu xmm1, xmmword [rbx + 0x14]
movaps xmmword [rsp + 0x100], xmm1
call fcn.140105920
xor ecx, ecx
xor r9d, r9d
xor edx, edx
mov rsi, rax
mov rax, qword [rsp + 0xb0]
lea r8, str.dap_ledger
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], rax
lea rax, str.SPEND__s_from_addr:__s
mov qword [rsp + 0x20], rax
call fcn.14005a150
mov rcx, rsi
call sub.msvcrt.dll_free
jmp 0x1400ebeb2
mov ecx, dword [r8 + 8]
mov edx, 1
mov qword [rsp + 0xb0], r8
shl rcx, 5
call sub.msvcrt.dll_calloc
mov rdi, rax
test rax, rax
je 0x1400ed164
mov r8, qword [rsp + 0xb0]
mov edx, dword [r8 + 8]
mov eax, dword [r8 + 0x10]
mov ecx, dword [r8 + 0xc]
lea edx, [rdx + rdx - 1]
test edx, eax
setne dl
add ecx, 1
shr eax, cl
movzx edx, dl
add edx, eax
mov dword [r8 + 0x28], edx
mov rax, qword [rsi + 0x60]
mov dword [rax + 0x2c], 0
mov r8, qword [rsi + 0x60]
mov eax, dword [r8 + 8]
test eax, eax
je 0x1400ec21f
xor r10d, r10d
nop dword [rax + rax]
mov edx, r10d
shl rdx, 4
add rdx, qword [r8]
mov rdx, qword [rdx]
test rdx, rdx
jne 0x1400ec1a7
jmp 0x1400ec212
mov qword [r8 + 0x18], rdx
mov r8, qword [rsi + 0x60]
mov qword [rax], rdx
test rcx, rcx
je 0x1400ec20e
mov eax, dword [r8 + 8]
mov rdx, rcx
lea eax, [rax + rax - 1]
and eax, dword [rdx + 0x34]
mov rcx, qword [rdx + 0x20]
shl rax, 4
add rax, rdi
mov r11d, dword [rax + 8]
lea r9d, [r11 + 1]
mov dword [rax + 8], r9d
cmp r9d, dword [r8 + 0x28]
jbe 0x1400ec1ee
add dword [r8 + 0x2c], 1
mov r9, qword [rsi + 0x60]
mov r8d, dword [rax + 0xc]
mov r11d, dword [r9 + 0x28]
imul r11d, r8d
cmp dword [rax + 8], r11d
jbe 0x1400ec1ee
add r8d, 1
mov dword [rax + 0xc], r8d
mov qword [rdx + 0x18], 0
mov r8, qword [rax]
mov qword [rdx + 0x20], r8
test r8, r8
jne 0x1400ec190
mov qword [rax], rdx
mov r8, qword [rsi + 0x60]
test rcx, rcx
jne 0x1400ec1a0
mov eax, dword [r8 + 8]
add r10d, 1
cmp r10d, eax
jb 0x1400ec170
mov rcx, qword [r8]
call sub.msvcrt.dll_free
mov rax, qword [rsi + 0x60]
shl dword [rax + 8], 1
mov rax, qword [rsi + 0x60]
add dword [rax + 0xc], 1
mov rax, qword [rsi + 0x60]
mov qword [rax], rdi
mov rax, qword [rsi + 0x60]
mov edx, dword [rax + 0x10]
shr edx, 1
cmp dword [rax + 0x2c], edx
jbe 0x1400ec251
mov edi, dword [rax + 0x30]
lea ebx, [rdi + 1]
mov dword [rax + 0x30], ebx
mov rax, qword [rsi + 0x60]
cmp dword [rax + 0x30], 1
jbe 0x1400ea12a
mov dword [rax + 0x34], 1
jmp 0x1400ea12a
mov r15, qword [rsp + 0x98]
mov rbx, qword [rsp + 0x68]
mov r13, qword [rbp + 0x20]
jmp 0x1400eb620
mov r11d, r8d
mov r15d, 0x9e3779b9
mov ecx, 0x9e3779b9
mov eax, 0xfeedbeef
jmp 0x1400eb1b1
mov rax, qword [rsp + 0xb0]
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x30], rbx
lea r8, str.dap_ledger
mov qword [rsp + 0x28], rax
lea rax, str.Create_new_balance_item:__s__s
mov qword [rsp + 0x20], rax
call fcn.14005a150
jmp 0x1400ea359
pxor xmm0, xmm0
mov ecx, 0x40
movups xmmword [rsi + 0x68], xmm0
call sub.msvcrt.dll_malloc
mov qword [rsi + 0x60], rax
mov r8, rax
test rax, rax
je 0x1400ed164
lea rbx, [rsi + 0x60]
mov qword [rax + 0x10], 0
mov edx, 1
mov ecx, 0x200
mov qword [rax + 0x28], 0
mov qword [rax + 0x30], 0
mov qword [rax + 0x38], 0
mov qword [rax + 0x18], rbx
mov rax, qword [0x140281630]
mov qword [r8 + 0x20], 0x60
mov qword [r8 + 8], rax
mov qword [rsp + 0xb0], r8
call sub.msvcrt.dll_calloc
mov r8, qword [rsp + 0xb0]
mov qword [r8], rax
mov dword [r8 + 0x38], 0xa0111fe1
test rax, rax
je 0x1400ed164
mov rax, qword [rsp + 0xb8]
mov qword [rax + 0x28], rsi
mov rax, rsi
jmp 0x1400ea0c0
mov rdx, rax
mov ecx, 1
mov qword [rsp + 0x98], r8
call sub.msvcrt.dll_calloc
mov r8, qword [rsp + 0x98]
mov qword [rsp + 0xb0], rax
lea r9, [rax + 0x170]
jmp 0x1400eb753
mov rcx, qword [rbp + 0x18]
xor r8d, r8d
mov edx, 0x91
call fcn.1400931f0
test rax, rax
je 0x1400eaae2
cmp qword [0x1403eb250], 0
je 0x1400eaae2
mov rcx, rax
call fcn.1400f5ee0
mov r8, qword [rbp + 0x18]
mov edx, 0x91
mov rcx, r13
mov r9d, 1
call qword [0x1403eb250]
jmp 0x1400eaae2
mov rax, qword [rsp + 0x60]
mov r9d, 7
xor edx, edx
xor ecx, ecx
lea r8, str.dap_ledger
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x28], rax
lea rax, str.____Attempt_to_SPEND_from_some_non_existent_balance____:__s__s
mov qword [rsp + 0x20], rax
call fcn.14005a150
jmp 0x1400eb63e
pxor xmm0, xmm0
mov ecx, 0x40
mov qword [rsp + 0xc0], r8
movups xmmword [r15 + 0x40], xmm0
call sub.msvcrt.dll_malloc
mov qword [r15 + 0x38], rax
mov r12, rax
test rax, rax
je 0x1400ed164
lea rdi, [r15 + 0x38]
mov qword [rax + 0x10], 0
mov edx, 1
mov ecx, 0x200
mov qword [rax + 0x28], 0
mov qword [rax + 0x30], 0
mov qword [rax + 0x38], 0
mov qword [rax + 0x18], rdi
mov rax, qword [0x140281630]
mov qword [r12 + 0x20], 0x38
mov qword [r12 + 8], rax
call sub.msvcrt.dll_calloc
mov dword [r12 + 0x38], 0xa0111fe1
mov qword [r12], rax
test rax, rax
je 0x1400ed164
mov r8, qword [rsp + 0xc0]
mov qword [r8 + 0x30], r15
jmp 0x1400ea9fb
lea rdx, [rax + rax*8 + 9]
shl rdx, 3
je 0x1400ec72a
mov ecx, 1
call sub.msvcrt.dll_calloc
test rax, rax
je 0x1400ec72a
mov rax, qword [r13]
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x1400e9d74
lea r8, [0x14027d163]
lea rcx, [0x14027d0bd]
call fcn.1400fe7d0
mov qword [rsp + 0x50], rax
jmp 0x1400e9d7d
mov rsi, qword [rsp + 0xb8]
mov qword [rbx + 0x1b0], rax
mov rdx, qword [rsi + 0x10]
mov rdx, qword [rdx + 0x1a0]
mov rdx, qword [rdx + 0x20]
mov rdx, qword [rax + rdx + 8]
mov qword [rbx + 0x1a8], rdx
test rdx, rdx
je 0x1400ec7c7
mov rcx, qword [rsi + 0x10]
mov rcx, qword [rcx + 0x1a0]
mov rcx, qword [rcx + 0x20]
mov qword [rdx + rcx + 0x10], rbx
mov rdx, qword [rsi + 0x10]
mov rdx, qword [rdx + 0x1a0]
lea rsi, [rbx + 0x1a0]
mov rdx, qword [rdx + 0x20]
mov qword [rax + rdx + 8], rbx
mov rax, qword [rsp + 0xb8]
mov rax, qword [rax + 0x10]
mov rax, qword [rax + 0x1a0]
add dword [rax + 0x10], 1
mov rax, qword [rsp + 0xb8]
mov rax, qword [rax + 0x10]
mov rdx, qword [rax + 0x1a0]
mov eax, dword [rdx + 8]
sub eax, 1
and eax, edi
shl rax, 4
add rax, qword [rdx]
mov rdx, qword [rax]
add dword [rax + 8], 1
mov qword [rbx + 0x1b8], 0
mov qword [rbx + 0x1c0], rdx
mov rdx, qword [rax]
test rdx, rdx
je 0x1400ec5e0
mov qword [rdx + 0x18], rsi
mov edx, dword [rax + 0xc]
mov qword [rax], rsi
lea edx, [rdx + rdx*4 + 5]
add edx, edx
cmp dword [rax + 8], edx
jb 0x1400ec604
mov r14, qword [rbx + 0x1a0]
mov edi, dword [r14 + 0x34]
test edi, edi
je 0x1400eca68
mov rcx, r12
call fcn.140030f90
mov rax, qword [r13 + 8]
mov rsi, qword [rax + 0x98]
test rsi, rsi
je 0x1400ec639
nop dword [rax]
mov rax, qword [rsi]
mov r8, qword [rbx + 0x20]
mov rdx, r13
mov rcx, qword [rax + 8]
call qword [rax]
mov rsi, qword [rsi + 8]
test rsi, rsi
jne 0x1400ec620
cmp byte [rsp + 0x98], 0
je 0x1400ec67b
mov rax, qword [r13 + 8]
mov rbx, qword [rax + 0x90]
test rbx, rbx
je 0x1400ec67b
mov rsi, qword [rbp + 0x18]
mov rdi, qword [rbp + 0x20]
nop dword [rax + rax]
mov rax, qword [rbx]
mov r8, rdi
mov rdx, rsi
mov rcx, r13
mov r9, qword [rax + 8]
call qword [rax]
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x1400ec660
mov rdi, qword [rsp + 0xb8]
xor ecx, ecx
lea rdx, [rdi + 0xd0]
call fcn.140034360
add qword [rdi + 0xe0], 1
mov rax, qword [r13 + 8]
cmp byte [rax + 0x84], 0
je 0x1400ec861
mov qword [0], 0
mov qword [8], 0
mov qword [0x10], 0
mov qword [0x18], 0
mov qword [0x20], 0
mov qword [0x28], 0
mov qword [0x30], 0
ud2
mov ecx, 1
mov rdx, rax
call sub.msvcrt.dll_calloc
mov rcx, rax
test rax, rax
je 0x1400eab2e
mov rdx, qword [rbp + 0x18]
mov r8, rsi
call sub.msvcrt.dll_memcpy
jmp 0x1400eab30
lea rax, [0x14027d09a]
mov r9d, 8
xor ebx, ebx
mov edx, 0x118c
mov qword [rsp + 0x20], rax
lea r8, str.dap_ledger
lea rcx, str.dap_ledger_tx_add
call fcn.14005a150
mov dword [rsp + 0x5c], 0xffffffff
mov qword [rsp + 0x50], 0
mov rcx, qword [rsp + 0x118]
test rcx, rcx
je 0x1400ec77b
xor edx, edx
call fcn.1400f5f60
mov rcx, qword [rsp + 0x120]
test rcx, rcx
je 0x1400ec78d
call fcn.1400f5ee0
mov rcx, qword [rsp + 0x128]
test rcx, rcx
je 0x1400ec79f
call sub.msvcrt.dll_free
mov rax, qword [r13 + 8]
cmp byte [rax + 0x84], 0
je 0x1400ea50b
test bl, bl
je 0x1400ea50b
mov rcx, qword [rsp + 0x50]
call sub.msvcrt.dll_free
jmp 0x1400ea50b
mov qword [rsi + 0x10], rbx
mov rdx, rbx
jmp 0x1400ec56b
mov edx, 0x1d8
mov ecx, 1
call sub.msvcrt.dll_calloc
mov r13, rax
test rax, rax
je 0x1400ed0c7
mov rax, qword [rbp + 0x20]
mov rcx, qword [rbp + 0x18]
movdqu xmm2, xmmword [rax]
movdqu xmm4, xmmword [rax + 0x10]
movups xmmword [r13], xmm2
movups xmmword [r13 + 0x10], xmm4
movaps xmmword [rsp + 0xe0], xmm2
call fcn.140090080
mov rsi, rax
test rax, rax
jne 0x1400ecd15
mov rcx, r13
call sub.msvcrt.dll_free
mov r9d, 8
mov edx, 0x1170
lea rax, [0x14027d09a]
mov qword [rsp + 0x20], rax
lea r8, str.dap_ledger
lea rcx, str.dap_ledger_tx_add
call fcn.14005a150
mov dword [rsp + 0x5c], 0xffffffff
jmp 0x1400ea50b
cmp qword [rsp + 0x50], 0
setne bl
cmp byte [rsp + 0x58], 0
jne 0x1400ec767
mov rcx, r13
call fcn.1401f19b0
jmp 0x1400ec767
mov rdi, rax
xor ecx, ecx
lea rdx, [rax + 0xb0]
call fcn.140034360
mov rax, qword [rdi + 0xb0]
mov qword [rdi + 0xe0], 0
mov qword [rdi + 0xc0], rax
mov eax, dword [rdi + 0xb8]
mov dword [rdi + 0xc8], eax
call fcn.1400d3530
test al, al
jne 0x1400eccd3
mov rax, qword [rsp + 0xb8]
mov qword [rax + 0xa8], 0
jmp 0x1400e9a51
mov r10d, eax
mov r8d, 0x9e3779b9
mov ecx, 0x9e3779b9
mov ebx, 0xfeedbeef
jmp 0x1400ea48b
mov ecx, dword [rdi + 8]
mov edx, 1
shl rcx, 5
call sub.msvcrt.dll_calloc
mov r12, rax
test rax, rax
je 0x1400ed164
mov edx, dword [rdi + 8]
mov eax, dword [rdi + 0x10]
mov ecx, dword [rdi + 0xc]
lea edx, [rdx + rdx - 1]
test edx, eax
setne dl
add ecx, 1
shr eax, cl
movzx edx, dl
add edx, eax
mov dword [rdi + 0x28], edx
mov rax, qword [r15 + 0x38]
mov dword [rax + 0x2c], 0
mov r8, qword [r15 + 0x38]
mov eax, dword [r8 + 8]
test eax, eax
je 0x1400ec9fd
xor r10d, r10d
nop
mov edx, r10d
shl rdx, 4
add rdx, qword [r8]
mov rdx, qword [rdx]
test rdx, rdx
jne 0x1400ec987
jmp 0x1400ec9f0
mov qword [r8 + 0x18], rdx
mov r8, qword [r15 + 0x38]
mov qword [rax], rdx
test rcx, rcx
je 0x1400ec9ec
mov eax, dword [r8 + 8]
mov rdx, rcx
lea eax, [rax + rax - 1]
and eax, dword [rdx + 0x34]
mov rcx, qword [rdx + 0x20]
shl rax, 4
add rax, r12
mov edi, dword [rax + 8]
lea r9d, [rdi + 1]
mov dword [rax + 8], r9d
cmp r9d, dword [r8 + 0x28]
jbe 0x1400ec9cc
add dword [r8 + 0x2c], 1
mov r9, qword [r15 + 0x38]
mov r8d, dword [rax + 0xc]
mov edi, dword [r9 + 0x28]
imul edi, r8d
cmp dword [rax + 8], edi
jbe 0x1400ec9cc
add r8d, 1
mov dword [rax + 0xc], r8d
mov qword [rdx + 0x18], 0
mov r8, qword [rax]
mov qword [rdx + 0x20], r8
test r8, r8
jne 0x1400ec970
mov qword [rax], rdx
mov r8, qword [r15 + 0x38]
test rcx, rcx
jne 0x1400ec980
mov eax, dword [r8 + 8]
add r10d, 1
cmp r10d, eax
jb 0x1400ec950
mov rcx, qword [r8]
call sub.msvcrt.dll_free
mov rax, qword [r15 + 0x38]
shl dword [rax + 8], 1
mov rax, qword [r15 + 0x38]
add dword [rax + 0xc], 1
mov rax, qword [r15 + 0x38]
mov qword [rax], r12
mov rax, qword [r15 + 0x38]
mov edx, dword [rax + 0x10]
shr edx, 1
cmp dword [rax + 0x2c], edx
jbe 0x1400eca2f
mov edi, dword [rax + 0x30]
lea ebx, [rdi + 1]
mov dword [rax + 0x30], ebx
mov rax, qword [r15 + 0x38]
cmp dword [rax + 0x30], 1
jbe 0x1400eaa65
mov dword [rax + 0x34], 1
jmp 0x1400eaa65
mov edx, 0x9e3779b9
mov ecx, 0x9e3779b9
mov eax, 0xfeedbeef
mov r10d, dword [rsp + 0x98]
jmp 0x1400ebcd8
mov ecx, dword [r14 + 8]
mov edx, 1
shl rcx, 5
call sub.msvcrt.dll_calloc
mov rsi, rax
test rax, rax
je 0x1400ed164
mov edx, dword [r14 + 8]
mov eax, dword [r14 + 0x10]
mov ecx, dword [r14 + 0xc]
lea edx, [rdx + rdx - 1]
test edx, eax
setne dl
add ecx, 1
shr eax, cl
movzx edx, dl
add edx, eax
mov dword [r14 + 0x28], edx
mov rax, qword [rbx + 0x1a0]
mov dword [rax + 0x2c], 0
mov r8, qword [rbx + 0x1a0]
mov eax, dword [r8 + 8]
test eax, eax
je 0x1400ecb82
xor r10d, r10d
nop dword [rax]
mov edx, r10d
shl rdx, 4
add rdx, qword [r8]
mov rdx, qword [rdx]
test rdx, rdx
jne 0x1400ecb0a
jmp 0x1400ecb75
mov qword [rcx + 0x18], rdx
mov r8, qword [rbx + 0x1a0]
mov qword [rax], rdx
test r9, r9
je 0x1400ecb71
mov eax, dword [r8 + 8]
mov rdx, r9
lea eax, [rax + rax - 1]
and eax, dword [rdx + 0x34]
mov r9, qword [rdx + 0x20]
shl rax, 4
add rax, rsi
mov ecx, dword [rax + 8]
add ecx, 1
mov dword [rax + 8], ecx
cmp ecx, dword [r8 + 0x28]
jbe 0x1400ecb4e
add dword [r8 + 0x2c], 1
mov r8, qword [rbx + 0x1a0]
mov ecx, dword [rax + 0xc]
mov r14d, dword [r8 + 0x28]
imul r14d, ecx
cmp dword [rax + 8], r14d
jbe 0x1400ecb4e
add ecx, 1
mov dword [rax + 0xc], ecx
mov qword [rdx + 0x18], 0
mov rcx, qword [rax]
mov qword [rdx + 0x20], rcx
test rcx, rcx
jne 0x1400ecaf0
mov qword [rax], rdx
mov r8, qword [rbx + 0x1a0]
test r9, r9
jne 0x1400ecb03
mov eax, dword [r8 + 8]
add r10d, 1
cmp r10d, eax
jb 0x1400ecad0
mov rcx, qword [r8]
call sub.msvcrt.dll_free
mov rax, qword [rbx + 0x1a0]
shl dword [rax + 8], 1
mov rax, qword [rbx + 0x1a0]
add dword [rax + 0xc], 1
mov rax, qword [rbx + 0x1a0]
mov qword [rax], rsi
mov rax, qword [rbx + 0x1a0]
mov edx, dword [rax + 0x10]
shr edx, 1
cmp dword [rax + 0x2c], edx
ja 0x1400ecd0a
mov dword [rax + 0x30], edi
mov rax, qword [rbx + 0x1a0]
cmp dword [rax + 0x30], 1
jbe 0x1400ec604
mov dword [rax + 0x34], 1
jmp 0x1400ec604
mov eax, dword [rcx + 0x10]
cmp eax, 0x270f
jbe 0x1400ec7d3
cmp byte [0x1403eb240], 0
je 0x1400ea89b
lea rax, [rsp + 0x150]
mov r9d, 5
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x30], rax
lea rax, str.Threshold_for_tranactions_is_overfulled___zu_max___dropping_down_tx__s__added_nothing
lea r8, str.dap_ledger
mov qword [rsp + 0x28], 0x2710
mov qword [rsp + 0x20], rax
call fcn.14005a150
jmp 0x1400ea89b
pxor xmm0, xmm0
mov ecx, 0x40
movups xmmword [rbx + 0x1a8], xmm0
call sub.msvcrt.dll_malloc
mov qword [rbx + 0x1a0], rax
mov r14, rax
test rax, rax
je 0x1400ed164
lea rsi, [rbx + 0x1a0]
mov qword [rax + 0x10], 0
mov edx, 1
mov ecx, 0x200
mov qword [rax + 0x28], 0
mov qword [rax + 0x30], 0
mov qword [rax + 0x38], 0
mov qword [rax + 0x18], rsi
mov rax, qword [0x140281630]
mov qword [r14 + 0x20], 0x1a0
mov qword [r14 + 8], rax
call sub.msvcrt.dll_calloc
mov dword [r14 + 0x38], 0xa0111fe1
mov qword [r14], rax
test rax, rax
je 0x1400ed164
mov rax, qword [rsp + 0xb8]
mov qword [rax + 0x10], rbx
mov rax, rbx
jmp 0x1400ec58e
mov rdi, qword [rsp + 0xb8]
lea rdx, [0x1401b8d50]
mov ecx, 0x1f4
mov r8, rdi
call fcn.140104960
mov qword [rdi + 0xa8], rax
jmp 0x1400e9a51
movsxd rcx, dword [rsp + 0x5c]
call fcn.1400dcbd0
jmp 0x1400ea4c9
mov edi, dword [rax + 0x30]
add edi, 1
jmp 0x1400ecbbe
mov ecx, 1
mov rdx, rax
call sub.msvcrt.dll_calloc
mov rcx, rax
test rax, rax
je 0x1400ec822
mov rdx, qword [rbp + 0x18]
mov r8, rsi
call sub.msvcrt.dll_memcpy
mov qword [r13 + 0x20], rax
call fcn.1400f7090
mov dword [r13 + 0x1d4], ebx
mov qword [r13 + 0x28], rax
mov rax, qword [rsp + 0xb8]
mov qword [r13 + 0x1c8], r13
mov dword [r13 + 0x1d0], 0x20
mov rax, qword [rax]
test rax, rax
je 0x1400ecff3
mov rax, qword [rax + 0x1a0]
mov rsi, qword [rsp + 0xb8]
mov qword [r13 + 0x1b0], 0
lea rdi, [r13 + 0x1a0]
mov qword [r13 + 0x1a0], rax
mov rax, qword [rsi]
mov rdx, qword [rax + 0x1a0]
mov rax, qword [rdx + 0x18]
sub rax, qword [rdx + 0x20]
mov qword [r13 + 0x1a8], rax
mov rax, qword [rsi]
mov rax, qword [rax + 0x1a0]
mov rax, qword [rax + 0x18]
mov qword [rax + 0x10], r13
mov rax, qword [rsi]
mov rax, qword [rax + 0x1a0]
mov qword [rax + 0x18], rdi
mov rax, qword [rsi]
mov rax, qword [rax + 0x1a0]
add dword [rax + 0x10], 1
mov rax, qword [rsp + 0xb8]
mov rax, qword [rax]
mov rdx, qword [rax + 0x1a0]
mov eax, dword [rdx + 8]
sub eax, 1
and eax, ebx
shl rax, 4
add rax, qword [rdx]
mov rdx, qword [rax]
add dword [rax + 8], 1
mov qword [r13 + 0x1b8], 0
mov qword [r13 + 0x1c0], rdx
mov rdx, qword [rax]
test rdx, rdx
je 0x1400ece29
mov qword [rdx + 0x18], rdi
mov edx, dword [rax + 0xc]
mov qword [rax], rdi
lea edx, [rdx + rdx*4 + 5]
add edx, edx
cmp dword [rax + 8], edx
jb 0x1400ecfb5
mov rdi, qword [r13 + 0x1a0]
mov ebx, dword [rdi + 0x34]
test ebx, ebx
jne 0x1400ecfb5
mov ecx, dword [rdi + 8]
mov edx, 1
shl rcx, 5
call sub.msvcrt.dll_calloc
mov rsi, rax
test rax, rax
je 0x1400ed164
mov edx, dword [rdi + 8]
mov eax, dword [rdi + 0x10]
mov ecx, dword [rdi + 0xc]
lea edx, [rdx + rdx - 1]
test edx, eax
setne dl
add ecx, 1
shr eax, cl
movzx edx, dl
add edx, eax
mov dword [rdi + 0x28], edx
mov rax, qword [r13 + 0x1a0]
mov dword [rax + 0x2c], 0
mov r10, qword [r13 + 0x1a0]
mov eax, dword [r10 + 8]
test eax, eax
je 0x1400ecf60
xor r9d, r9d
mov edx, r9d
shl rdx, 4
add rdx, qword [r10]
mov rdx, qword [rdx]
test rdx, rdx
jne 0x1400eceea
jmp 0x1400ecf53
mov qword [rcx + 0x18], rdx
mov r10, qword [r13 + 0x1a0]
mov qword [rax], rdx
test r8, r8
je 0x1400ecf4f
mov eax, dword [r10 + 8]
mov rdx, r8
lea eax, [rax + rax - 1]
and eax, dword [rdx + 0x34]
mov r8, qword [rdx + 0x20]
shl rax, 4
add rax, rsi
mov edi, dword [rax + 8]
lea ecx, [rdi + 1]
mov dword [rax + 8], ecx
cmp ecx, dword [r10 + 0x28]
jbe 0x1400ecf2c
add dword [r10 + 0x2c], 1
mov r10, qword [r13 + 0x1a0]
mov ecx, dword [rax + 0xc]
mov edi, dword [r10 + 0x28]
imul edi, ecx
cmp dword [rax + 8], edi
jbe 0x1400ecf2c
add ecx, 1
mov dword [rax + 0xc], ecx
mov qword [rdx + 0x18], 0
mov rcx, qword [rax]
mov qword [rdx + 0x20], rcx
test rcx, rcx
jne 0x1400eced0
mov qword [rax], rdx
mov r10, qword [r13 + 0x1a0]
test r8, r8
jne 0x1400ecee3
mov eax, dword [r10 + 8]
add r9d, 1
cmp r9d, eax
jb 0x1400eceb0
mov rcx, qword [r10]
call sub.msvcrt.dll_free
mov rax, qword [r13 + 0x1a0]
shl dword [rax + 8], 1
mov rax, qword [r13 + 0x1a0]
add dword [rax + 0xc], 1
mov rax, qword [r13 + 0x1a0]
mov qword [rax], rsi
mov rax, qword [r13 + 0x1a0]
mov edx, dword [rax + 0x10]
shr edx, 1
cmp dword [rax + 0x2c], edx
jbe 0x1400ecf9e
mov edi, dword [rax + 0x30]
lea ebx, [rdi + 1]
mov dword [rax + 0x30], ebx
mov rax, qword [r13 + 0x1a0]
cmp dword [rax + 0x30], 1
jbe 0x1400ecfb5
mov dword [rax + 0x34], 1
cmp byte [0x1403eb240], 0
je 0x1400ea89b
lea rax, [rsp + 0x150]
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], rax
lea rax, str.Tx__s_added_to_threshold
lea r8, str.dap_ledger
mov qword [rsp + 0x20], rax
call fcn.14005a150
jmp 0x1400ea89b
pxor xmm0, xmm0
mov ecx, 0x40
movups xmmword [r13 + 0x1a8], xmm0
call sub.msvcrt.dll_malloc
mov qword [r13 + 0x1a0], rax
mov rsi, rax
test rax, rax
je 0x1400ed164
lea rdi, [r13 + 0x1a0]
mov qword [rax + 0x10], 0
mov edx, 1
mov ecx, 0x200
mov qword [rax + 0x28], 0
mov qword [rax + 0x30], 0
mov qword [rax + 0x38], 0
mov qword [rax + 0x18], rdi
mov rax, qword [0x140281630]
mov qword [rsi + 0x20], 0x1a0
mov qword [rsi + 8], rax
call sub.msvcrt.dll_calloc
mov dword [rsi + 0x38], 0xa0111fe1
mov qword [rsi], rax
test rax, rax
je 0x1400ed164
mov rax, qword [rsp + 0xb8]
mov qword [rax], r13
mov rax, r13
jmp 0x1400ecdd8
lea rax, str.NULL_tx_detected
cmp byte [0x1403eb240], 0
lea r8, str.dap_ledger
mov r9d, 7
mov qword [rsp + 0x20], rax
cmove r8, rdx
xor ecx, ecx
call fcn.14005a150
mov dword [rsp + 0x5c], 0xffffffff
jmp 0x1400ea50b
lea rax, [0x14027d09a]
mov r9d, 8
lea r8, str.dap_ledger
mov edx, 0x1169
mov qword [rsp + 0x20], rax
lea rcx, str.dap_ledger_tx_add
call fcn.14005a150
mov dword [rsp + 0x5c], 0xffffffff
jmp 0x1400ea50b
lea rax, [0x14027d09a]
mov r13, qword [rbp + 0x10]
mov r9d, 8
lea r8, str.dap_ledger
mov qword [rsp + 0x20], rax
mov edx, 0x11bb
lea rcx, str.dap_ledger_tx_add
call fcn.14005a150
cmp qword [rsp + 0x50], 0
mov dword [rsp + 0x5c], 0xffffffff
setne bl
jmp 0x1400ec767
lea rax, [0x14027d09a]
mov r9d, 8
mov edx, 0x1277
mov qword [rsp + 0x20], rax
lea r8, str.dap_ledger
jmp 0x1400ed122
mov ecx, 0xffffffff
call sub.msvcrt.dll_exit
lea rax, str.Memory_allocation_error_in_s_load_cache_gdb_loaded_txs_callback
mov r9d, 8
mov edx, 0x1256
mov qword [rsp + 0x20], rax
lea r8, str.dap_ledger
jmp 0x1400ed122