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

Disassembly:
push rbp
xor r9d, r9d
lea r8, str.chain_ca_folder
mov rbp, rsp
push r14
push r13
push r12
push rdi
mov rdi, rcx
push rsi
mov rsi, rdx
lea rdx, [0x1402a9d70]
push rbx
sub rsp, 0x40
mov rax, qword [0x1403e17b0]
mov rcx, qword [rax]
call fcn.1400bd830
mov rcx, rax
mov rbx, rax
call fcn.140100d20
test rax, rax
je 0x1400754d0
mov edx, dword [rdi + 3]
lea rcx, [rdi + 0xf]
call fcn.140076a00
mov r12, rax
test rax, rax
je 0x140075547
lea rdi, [rax + 8]
mov rcx, rsi
call fcn.140100d20
mov rcx, rdi
mov r13, rax
call fcn.140100d20
mov rcx, rbx
add r13, rax
call fcn.140100d20
lea rdx, [r13 + rax + 9]
lea rax, [rdx + 0xf]
shr rax, 4
shl rax, 4
call fcn.140035990
lea r8, str._s__s__s.dcert
sub rsp, rax
mov r9, rbx
mov qword [rsp + 0x28], rdi
lea r13, [rsp + 0x40]
mov qword [rsp + 0x20], rsi
mov rcx, r13
call fcn.1401fd9d0
xor edx, edx
mov rcx, r13
call fcn.1400742e0
mov rcx, rbx
mov r13, rax
call fcn.140100d20
mov rdx, r13
mov rcx, rbx
mov r8, rax
call fcn.140100d40
test eax, eax
jne 0x140075500
mov rdx, r13
mov rcx, r12
call fcn.140075e70
mov rcx, r12
mov r14d, eax
call fcn.140075620
mov rcx, r13
call sub.msvcrt.dll_free
lea rsp, [rbp - 0x30]
mov eax, r14d
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop rbp
ret
mov r9d, 7
xor edx, edx
xor ecx, ecx
mov r14d, 0xffffffff
lea rax, str.Not_found_chain_ca_folder_in_.cfg_file
lea r8, [0x1402a9912]
mov qword [rsp + 0x20], rax
call fcn.14005aec0
jmp 0x1400754b4
lea rax, str.Cert_path__s_is_not_in_ca_dir:__s
mov qword [rsp + 0x30], rbx
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
mov r9d, 7
lea r8, [0x1402a9912]
mov r14d, 0xffffffff
mov qword [rsp + 0x28], r13
call fcn.14005aec0
mov rcx, r12
call fcn.140075620
mov rcx, r13
call sub.msvcrt.dll_free
jmp 0x1400754b4
mov eax, dword [rdi + 3]
mov r9d, 7
xor edx, edx
xor ecx, ecx
lea r8, [0x1402a9912]
mov r14d, 0xffffffff
mov dword [rsp + 0x28], eax
lea rax, str.Cant_load_cert__size:__d
mov qword [rsp + 0x20], rax
call fcn.14005aec0
jmp 0x1400754b4
push r13
mov r11, rdx
push r12
push rsi
push rbx
sub rsp, 0x48
mov ebx, dword [rdx + 3]
lea rdx, [rbx + 0xf]
cmp rdx, r8
ja 0x140081f90
mov r12, rcx
mov rcx, qword [rcx + 0x10]
mov rsi, r9
call fcn.14009de40
mov r13, qword [rax + 0x40]
movzx eax, word [r11 + 1]
cmp ax, 0xc00
je 0x140081ed0
jbe 0x140081e10
cmp ax, 0xf100
je 0x140081ef0
jbe 0x140081e50
cmp ax, 0xffff
mov edx, 0
mov eax, 0xfffffd66
cmove eax, edx
add rsp, 0x48
pop rbx
pop rsi
pop r12
pop r13
ret
cmp ax, 0x200
je 0x140081f10
cmp ax, 0xa00
jne 0x140081e78
mov edx, dword [r11 + 0x19]
mov eax, dword [r11 + 0x1d]
lea rcx, [r11 + 0xf]
lea rax, [rdx + rax + 0x12]
cmp rbx, rax
jne 0x140081f75
add rsp, 0x48
mov rdx, r12
pop rbx
pop rsi
pop r12
pop r13
jmp fcn.14009c910
cmp ax, 0xc01
je 0x140081eb0
cmp ax, 0xf000
jne 0x140081ec0
add rsp, 0x48
mov r8, rbx
lea rdx, [r11 + 0xf]
mov rcx, r13
pop rbx
pop rsi
pop r12
pop r13
jmp 0x1400e5ed0
cmp ax, 0x100
jne 0x140081ec0
lea r12, [r11 + 0xf]
mov rcx, r12
call fcn.14008ef50
cmp rbx, rax
jne 0x140081f3f
add rsp, 0x48
mov r8, rsi
mov rdx, r12
mov rcx, r13
pop rbx
pop rsi
pop r12
pop r13
jmp fcn.1400f1e10
add rsp, 0x48
xor eax, eax
pop rbx
pop rsi
pop r12
pop r13
ret
mov eax, 0xfffffd66
jmp 0x140081dfe
mov rdx, qword [r12 + 0x28]
add rsp, 0x48
mov rcx, r11
pop rbx
pop rsi
pop r12
pop r13
jmp 0x1400753b0
add rsp, 0x48
mov r9, rsi
mov r8, rbx
mov rcx, r13
pop rbx
lea rdx, [r11 + 0xf]
pop rsi
pop r12
pop r13
jmp fcn.1400e4fd0
mov edx, dword [r11 + 0x35]
mov eax, dword [r11 + 0x39]
lea rcx, [r11 + 0xf]
lea rax, [rdx + rax + 0x2e]
cmp rbx, rax
jne 0x140081fc6
add rsp, 0x48
mov r8, rsi
mov rdx, r12
pop rbx
pop rsi
pop r12
pop r13
jmp 0x14009f6e0
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x30], rax
lea rax, str.Corrupted_trnsaction__datum_size__zd_is_not_equal_to_size_of_TX__zd
mov qword [rsp + 0x20], rax
mov r9d, 5
xor edx, edx
xor ecx, ecx
lea r8, str.chain_net
call fcn.14005aec0
mov eax, 0xffffff9a
jmp 0x140081dfe
mov qword [rsp + 0x30], rax
lea rax, str.Corrupted_anchor__datum_size__zd_is_not_equal_to_size_of_anchor__zd
mov qword [rsp + 0x28], rbx
jmp 0x140081f50
lea rax, str.Corrupted_datum_rejected:_wrong_size__zd_not_equal_or_less_than_datum_size__zd
mov qword [rsp + 0x30], r8
mov r9d, 1
xor ecx, ecx
mov qword [rsp + 0x28], rdx
lea r8, str.chain_net
xor edx, edx
mov qword [rsp + 0x20], rax
call fcn.14005aec0
mov eax, 0xffffff9b
jmp 0x140081dfe
mov qword [rsp + 0x30], rax
lea rax, str.Corrupted_decree__datum_size__zd_is_not_equal_to_size_of_decree__zd
mov qword [rsp + 0x28], rbx
jmp 0x140081f50
push r14
push r13
push r12
push rbx
sub rsp, 0x38
test rdx, rdx
je 0x14009f798
mov r12, rcx
test rcx, rcx
je 0x14009f798
mov rcx, qword [rdx + 0x10]
mov rbx, rdx
mov r13, r8
call fcn.14009de40
cmp qword [rax + 0x48], 0
mov rdx, rax
je 0x14009f7c2
mov ecx, dword [r12 + 0x26]
mov eax, dword [r12 + 0x2a]
mov r9, r13
lea r8, [rcx + rax + 0x2e]
mov rcx, r12
call fcn.14009f810
mov r14d, eax
test eax, eax
jne 0x14009f760
add rsp, 0x38
mov r8, rbx
mov rdx, r12
mov rcx, r13
pop rbx
pop r12
pop r13
pop r14
jmp fcn.14009e260
lea rax, str.Decree_verification_failed_
mov r9d, 7
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
lea r8, str.chain_net_decree
call fcn.14005aec0
add rsp, 0x38
mov eax, r14d
pop rbx
pop r12
pop r13
pop r14
ret
mov r9d, 7
xor edx, edx
xor ecx, ecx
mov r14d, 0xffffff9c
lea rax, str.Bad_arguments
lea r8, str.chain_net_decree
mov qword [rsp + 0x20], rax
call fcn.14005aec0
jmp 0x14009f782
mov r9d, 5
xor edx, edx
xor ecx, ecx
mov r14d, 0xffffff94
lea rax, str.Decree_is_not_inited_
lea r8, str.chain_net_decree
mov qword [rsp + 0x20], rax
call fcn.14005aec0
jmp 0x14009f782
push r13
push r12
mov r12, rcx
mov rcx, rdx
sub rsp, 0x28
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x50], r8
call fcn.14008d330
mov rcx, qword [r12]
mov r13, rax
call fcn.1400a1700
test al, al
je 0x1400e5f26
lea rdx, [r13 + 6]
mov rcx, r12
call fcn.1401b49a0
test rax, rax
je 0x1400e5f26
movzx eax, word [r13]
cmp ax, 0x11
ja 0x1400e5f40
mov rdx, 0xfffffffffffdfb7f
bt rdx, rax
jb 0x1400e5f40
mov r8, qword [rsp + 0x50]
mov rdx, r13
mov rcx, r12
call fcn.1400e0220
add rsp, 0x28
pop r12
pop r13
ret
mov rcx, r13
call sub.msvcrt.dll_free
xor eax, eax
jmp 0x1400e5f36