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

Disassembly:
push rbp
mov rbp, rsp
push r15
mov r15, r8
push r14
push r13
push r12
push rdi
mov rdi, rcx
push rsi
push rbx
and rsp, 0xfffffffffffffff0
sub rsp, 0xf0
mov rax, qword [r9 + 0x10]
mov qword [rbp + 0x18], rdx
mov qword [rsp + 0xd0], 0
mov qword [rsp + 0x58], rax
mov rax, qword [r9 + 0x18]
mov qword [rsp + 0xd8], 0
mov qword [rsp + 0x50], rax
mov rax, qword [r9]
mov qword [rsp + 0xe0], 0
mov qword [rsp + 0x70], rax
mov rax, qword [r9 + 8]
mov qword [rsp + 0xe8], 0
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x80], 0
mov qword [rsp + 0x88], 0
mov qword [rsp + 0x90], 0
mov qword [rsp + 0x98], 0
mov qword [rsp + 0x78], 0
mov rbx, qword [rsp + 0x70]
mov rax, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x98]
cmp rbx, rax
mov rcx, rsi
sbb rcx, rdx
setb r12b
cmp rax, rbx
mov rax, rdx
sbb rax, rsi
movzx esi, r12b
setb bl
sbb esi, 0
cmp esi, 1
je 0x1400e3d4a
cmp r12b, bl
je 0x1400e3cf8
cmp esi, 0xffffffff
jne 0x1400e3d48
lea r14, [rsp + 0xd0]
mov r8, qword [rbp + 0x18]
mov rdx, r15
mov rcx, rdi
mov r9, r14
call fcn.140211d30
test rax, rax
je 0x1400e3d4a
mov rcx, qword [rax + 0x20]
test rcx, rcx
je 0x1400e3d4a
xor r8d, r8d
mov edx, 0xfe
call fcn.1400941d0
mov qword [rsp + 0x60], rax
test rax, rax
je 0x1400e3b78
xor ebx, ebx
mov r13, rax
jmp 0x1400e38f8
cmp al, 0x10
je 0x1400e3c20
mov r13, qword [r13 + 8]
add ebx, 1
test r13, r13
je 0x1400e3b78
mov r12, qword [r13]
movzx eax, byte [r12]
cmp al, 0x11
je 0x1400e3b90
cmp al, 0x12
jne 0x1400e38e0
lea rdx, [r12 + 0x21]
mov r8d, 0x4d
mov rcx, r15
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x1400e38e8
mov rdx, r14
mov rcx, rdi
call fcn.1400f7d90
mov rdx, qword [rbp + 0x18]
mov rcx, rax
call fcn.140101e10
test eax, eax
jne 0x1400e38e8
mov rdx, qword [0x1403e9e10]
mov rcx, qword [r12 + 1]
mov r9, qword [r12 + 9]
mov rsi, qword [r12 + 0x11]
mov rax, qword [rdx + 0x10]
mov r12, qword [r12 + 0x19]
mov r11, rdx
mov qword [rsp + 0xb8], rcx
mov rdx, qword [rdx + 0x18]
mov qword [rsp + 0xb0], r9
xor rax, rsi
xor rdx, r12
or rax, rdx
jne 0x1400e39a0
mov rax, qword [r11]
mov rdx, qword [r11 + 8]
xor rax, rcx
xor rdx, r9
or rax, rdx
je 0x1400e38e8
nop word cs:[rax + rax]
xor r9d, r9d
lea r8, [rsp + 0xc8]
mov rdx, r14
mov rcx, rdi
mov qword [rsp + 0xc8], 0
call fcn.1401b1780
mov rax, qword [rsp + 0xc8]
test rax, rax
je 0x1400e38e8
mov ecx, dword [rax + 0x38]
test ecx, ecx
je 0x1400e38e8
cmp ebx, 9
jle 0x1400e39f0
cmp byte [0x1403f1240], 0
jne 0x1400e3cb8
mov edx, dword [rax + 0x3c]
test edx, edx
je 0x1400e3a40
movsxd rdx, ebx
shl rdx, 5
lea rdx, [rax + rdx + 0x6c]
mov rcx, qword [rdx]
mov rax, qword [rdx + 8]
xor rcx, qword [0x1403f1220]
xor rax, qword [0x1403f1228]
or rax, rcx
jne 0x1400e38e8
mov rcx, qword [rdx + 0x10]
mov rax, qword [rdx + 0x18]
xor rcx, qword [0x1403f1230]
xor rax, qword [0x1403f1238]
or rax, rcx
jne 0x1400e38e8
mov edx, 0x44
mov ecx, 1
call sub.msvcrt.dll_calloc
mov rdx, rax
test rax, rax
je 0x1400e3e0d
movdqa xmm0, xmmword [rsp + 0xd0]
mov rcx, qword [rsp + 0x78]
mov dword [rax + 0x20], ebx
movdqa xmm1, xmmword [rsp + 0xe0]
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm1
mov rax, qword [rsp + 0xb8]
mov qword [rdx + 0x34], rsi
mov qword [rdx + 0x24], rax
mov rax, qword [rsp + 0xb0]
mov qword [rdx + 0x3c], r12
mov qword [rdx + 0x2c], rax
mov qword [rsp + 0xb8], rdx
call fcn.1400f9220
mov rdx, qword [rsp + 0xb8]
mov rsi, qword [rsp + 0x68]
mov qword [rsp + 0xa8], 0
mov r8, qword [rsp + 0x80]
mov r9, qword [rsp + 0x88]
mov qword [rsp + 0x78], rax
add r8, qword [rdx + 0x34]
adc r9, qword [rdx + 0x3c]
setb cl
mov rax, qword [rdx + 0x24]
mov rdx, qword [rdx + 0x2c]
mov qword [rsp + 0x80], r8
movzx ecx, cl
add rax, qword [rsp + 0x90]
adc rdx, qword [rsp + 0x98]
mov qword [rsp + 0x88], r9
mov qword [rsp + 0xa0], rcx
add rax, qword [rsp + 0xa0]
mov rcx, rsi
mov r10, rax
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x70]
adc rdx, qword [rsp + 0xa8]
cmp rax, r10
mov r11, rdx
mov qword [rsp + 0x98], rdx
sbb rcx, rdx
setb dl
cmp r10, rax
mov rax, r11
sbb rax, rsi
movzx eax, dl
setb cl
sbb eax, 0
cmp eax, 1
je 0x1400e3b78
cmp dl, cl
je 0x1400e3c70
cmp eax, 0xffffffff
je 0x1400e38e8
nop dword [rax]
mov rcx, qword [rsp + 0x60]
call fcn.1400f9690
jmp 0x1400e3830
lea rdx, [r12 + 0x21]
mov r8d, 0x4d
mov rcx, r15
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x1400e38e8
mov rcx, qword [rbp + 0x18]
lea rdx, [r12 + 0x6e]
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x1400e38e8
mov rax, qword [r12 + 1]
mov rcx, qword [r12 + 9]
mov rdx, qword [0x1403e9e10]
mov rsi, qword [r12 + 0x11]
mov qword [rsp + 0xb8], rax
mov r12, qword [r12 + 0x19]
mov qword [rsp + 0xb0], rcx
xor rax, qword [rdx]
xor rcx, qword [rdx + 8]
or rax, rcx
jne 0x1400e39a0
mov rcx, qword [0x1403e9e10]
mov rax, qword [rcx + 0x10]
mov rdx, qword [rcx + 0x18]
xor rax, rsi
xor rdx, r12
or rax, rdx
jne 0x1400e39a0
jmp 0x1400e38e8
mov rsi, qword [r12 + 8]
test rsi, rsi
je 0x1400e38e8
lea rdx, [r12 + 0x10]
mov r8d, 0x4d
mov rcx, r15
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x1400e38e8
mov rax, qword [str._l__]
xor r12d, r12d
mov rcx, qword [rax]
mov rax, qword [rax + 8]
mov qword [rsp + 0xb8], rcx
mov qword [rsp + 0xb0], rax
jmp 0x1400e39a0
mov rsi, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
cmp rsi, r8
mov rdx, rcx
sbb rdx, r9
setb dl
cmp r8, rsi
mov rsi, r9
movzx edx, dl
sbb rsi, rcx
sbb edx, 0
cmp edx, 1
je 0x1400e3b78
cmp eax, 0xffffffff
je 0x1400e38e8
cmp edx, 0xffffffff
jne 0x1400e3b78
jmp 0x1400e38e8
mov qword [rsp + 0x48], rax
lea rax, str.Too_big_index__d__of_out_items__max_d_
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
mov r9d, 7
lea r8, str.dap_ledger
mov dword [rsp + 0x30], 0xa
mov dword [rsp + 0x28], ebx
call fcn.14005a0c0
mov rax, qword [rsp + 0x48]
jmp 0x1400e39f0
mov r14, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x80]
mov r10, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x88]
cmp r14, rdx
mov rax, r10
sbb rax, rcx
setb al
cmp rdx, r14
movzx eax, al
sbb rcx, r10
sbb eax, 0
cmp eax, 1
je 0x1400e3df1
cmp esi, 0xffffffff
je 0x1400e3885
cmp eax, 0xffffffff
je 0x1400e3885
nop dword [rax]
xor esi, esi
cmp qword [rsp + 0x78], 0
je 0x1400e3d61
cmp esi, 1
je 0x1400e3db7
cmp r12b, bl
je 0x1400e3d78
cmp esi, 0xffffffff
jne 0x1400e3db7
mov rcx, qword [rsp + 0x78]
xor edx, edx
call fcn.1400f9710
mov qword [rsp + 0x78], 0
jmp 0x1400e3ddb
mov rdi, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x88]
cmp rdi, rcx
mov rax, rdx
sbb rax, rbx
setb al
cmp rcx, rdi
mov rdi, rbx
movzx eax, al
sbb rdi, rdx
sbb eax, 0
cmp esi, 0xffffffff
jne 0x1400e3e03
cmp eax, 1
jne 0x1400e3d61
cmp qword [rbp + 0x30], 0
je 0x1400e3ddb
movdqa xmm2, xmmword [rsp + 0x90]
mov rax, qword [rbp + 0x30]
movdqa xmm3, xmmword [rsp + 0x80]
movups xmmword [rax], xmm2
movups xmmword [rax + 0x10], xmm3
mov rax, qword [rsp + 0x78]
lea rsp, [rbp - 0x38]
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
cmp esi, 0xffffffff
sete sil
movzx esi, sil
neg esi
jmp 0x1400e3d4a
cmp eax, 0xffffffff
jne 0x1400e3db7
jmp 0x1400e3d61
lea rax, [0x1402867c8]
mov r9d, 8
lea r8, str.dap_ledger
mov edx, 0x16cc
mov qword [rsp + 0x20], rax
lea rcx, str.dap_ledger_get_list_tx_outs_with_val
call fcn.14005a0c0
mov rax, qword [rsp + 0x78]
test rax, rax
je 0x1400e3e4b
xor edx, edx
mov rcx, rax
call fcn.1400f9710
mov rcx, qword [rsp + 0x60]
call fcn.1400f9690
mov qword [rsp + 0x78], 0
jmp 0x1400e3ddb