Function at 0x140083800
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, [0x1402b0e6a]
push rbx
sub rsp, 0x40
mov rax, qword [0x1403e9d30]
mov rcx, qword [rax]
call fcn.1400c1f10
mov rcx, rax
mov rbx, rax
call fcn.140107550
test rax, rax
je 0x140076950
mov edx, dword [rdi + 3]
lea rcx, [rdi + 0xf]
call fcn.140077e80
mov r12, rax
test rax, rax
je 0x1400769c7
lea rdi, [rax + 8]
mov rcx, rsi
call fcn.140107550
mov rcx, rdi
mov r13, rax
call fcn.140107550
mov rcx, rbx
add r13, rax
call fcn.140107550
lea rdx, [r13 + rax + 9]
lea rax, [rdx + 0xf]
shr rax, 4
shl rax, 4
call fcn.1400358f0
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.1402047d0
xor edx, edx
mov rcx, r13
call fcn.140075760
mov rcx, rbx
mov r13, rax
call fcn.140107550
mov rdx, r13
mov rcx, rbx
mov r8, rax
call fcn.140107570
test eax, eax
jne 0x140076980
mov rdx, r13
mov rcx, r12
call fcn.1400772f0
mov rcx, r12
mov r14d, eax
call fcn.140076aa0
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, [0x1402b0a12]
mov qword [rsp + 0x20], rax
call fcn.14005a0c0
jmp 0x140076934
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, [0x1402b0a12]
mov r14d, 0xffffffff
mov qword [rsp + 0x28], r13
call fcn.14005a0c0
mov rcx, r12
call fcn.140076aa0
mov rcx, r13
call sub.msvcrt.dll_free
jmp 0x140076934
mov eax, dword [rdi + 3]
mov r9d, 7
xor edx, edx
xor ecx, ecx
lea r8, [0x1402b0a12]
mov r14d, 0xffffffff
mov dword [rsp + 0x28], eax
lea rax, str.Cant_load_cert__size:__d
mov qword [rsp + 0x20], rax
call fcn.14005a0c0
jmp 0x140076934
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 0x1400839f0
mov r12, rcx
mov rcx, qword [rcx + 0x10]
mov rsi, r9
call fcn.1400a0650
mov r13, qword [rax + 0x40]
movzx eax, word [r11 + 1]
cmp ax, 0xc00
je 0x140083930
jbe 0x140083870
cmp ax, 0xf100
je 0x140083950
jbe 0x1400838b0
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 0x140083970
cmp ax, 0xa00
jne 0x1400838d8
mov edx, dword [r11 + 0x19]
mov eax, dword [r11 + 0x1d]
lea rcx, [r11 + 0xf]
lea rax, [rdx + rax + 0x12]
cmp rbx, rax
jne 0x1400839d5
add rsp, 0x48
mov rdx, r12
pop rbx
pop rsi
pop r12
pop r13
jmp fcn.14009f120
cmp ax, 0xc01
je 0x140083910
cmp ax, 0xf000
jne 0x140083920
add rsp, 0x48
mov r8, rbx
lea rdx, [r11 + 0xf]
mov rcx, r13
pop rbx
pop rsi
pop r12
pop r13
jmp 0x1400ebf60
cmp ax, 0x100
jne 0x140083920
lea r12, [r11 + 0xf]
mov rcx, r12
call fcn.1400909e0
cmp rbx, rax
jne 0x14008399f
add rsp, 0x48
mov r8, rsi
mov rdx, r12
mov rcx, r13
pop rbx
pop rsi
pop r12
pop r13
jmp fcn.1400f82b0
add rsp, 0x48
xor eax, eax
pop rbx
pop rsi
pop r12
pop r13
ret
mov eax, 0xfffffd66
jmp 0x14008385e
mov rdx, qword [r12 + 0x28]
add rsp, 0x48
mov rcx, r11
pop rbx
pop rsi
pop r12
pop r13
jmp 0x140076830
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.1400eb060
mov edx, dword [r11 + 0x35]
mov eax, dword [r11 + 0x39]
lea rcx, [r11 + 0xf]
lea rax, [rdx + rax + 0x2e]
cmp rbx, rax
jne 0x140083a26
add rsp, 0x48
mov r8, rsi
mov rdx, r12
pop rbx
pop rsi
pop r12
pop r13
jmp 0x1400a2000
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.14005a0c0
mov eax, 0xffffff9a
jmp 0x14008385e
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 0x1400839b0
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.14005a0c0
mov eax, 0xffffff9b
jmp 0x14008385e
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 0x1400839b0
push r14
push r13
push r12
push rbx
sub rsp, 0x38
test rdx, rdx
je 0x1400a20b8
mov r12, rcx
test rcx, rcx
je 0x1400a20b8
mov rcx, qword [rdx + 0x10]
mov rbx, rdx
mov r13, r8
call fcn.1400a0650
cmp qword [rax + 0x48], 0
mov rdx, rax
je 0x1400a20e2
mov ecx, dword [r12 + 0x26]
mov eax, dword [r12 + 0x2a]
mov r9, r13
lea r8, [rcx + rax + 0x2e]
mov rcx, r12
call fcn.1400a2130
mov r14d, eax
test eax, eax
jne 0x1400a2080
add rsp, 0x38
mov r8, rbx
mov rdx, r12
mov rcx, r13
pop rbx
pop r12
pop r13
pop r14
jmp fcn.1400a0a70
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.14005a0c0
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.14005a0c0
jmp 0x1400a20a2
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.14005a0c0
jmp 0x1400a20a2
push r13
push r12
mov r12, rcx
mov rcx, rdx
sub rsp, 0x28
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x50], r8
call fcn.14008eda0
mov rcx, qword [r12]
mov r13, rax
call fcn.1400a4180
test al, al
je 0x1400ebfb6
lea rdx, [r13 + 6]
mov rcx, r12
call fcn.1401bb650
test rax, rax
je 0x1400ebfb6
movzx eax, word [r13]
cmp ax, 0x11
ja 0x1400ebfd0
mov rdx, 0xfffffffffffdfb7f
bt rdx, rax
jb 0x1400ebfd0
mov r8, qword [rsp + 0x50]
mov rdx, r13
mov rcx, r12
call fcn.1400e62b0
add rsp, 0x28
pop r12
pop r13
ret
mov rcx, r13
call sub.msvcrt.dll_free
xor eax, eax
jmp 0x1400ebfc6