Function at 0x140082f00
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, [0x1402ab730]
push rbx
sub rsp, 0x40
mov rax, qword [0x1403e40d0]
mov rcx, qword [rax]
call fcn.1400c0260
mov rcx, rax
mov rbx, rax
call fcn.140103eb0
test rax, rax
je 0x140076630
mov edx, dword [rdi + 3]
lea rcx, [rdi + 0xf]
call fcn.140077b60
mov r12, rax
test rax, rax
je 0x1400766a7
lea rdi, [rax + 8]
mov rcx, rsi
call fcn.140103eb0
mov rcx, rdi
mov r13, rax
call fcn.140103eb0
mov rcx, rbx
add r13, rax
call fcn.140103eb0
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.1401ffcb0
xor edx, edx
mov rcx, r13
call fcn.140075440
mov rcx, rbx
mov r13, rax
call fcn.140103eb0
mov rdx, r13
mov rcx, rbx
mov r8, rax
call fcn.140103ed0
test eax, eax
jne 0x140076660
mov rdx, r13
mov rcx, r12
call fcn.140076fd0
mov rcx, r12
mov r14d, eax
call fcn.140076780
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, [0x1402ab2d2]
mov qword [rsp + 0x20], rax
call fcn.14005a150
jmp 0x140076614
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, [0x1402ab2d2]
mov r14d, 0xffffffff
mov qword [rsp + 0x28], r13
call fcn.14005a150
mov rcx, r12
call fcn.140076780
mov rcx, r13
call sub.msvcrt.dll_free
jmp 0x140076614
mov eax, dword [rdi + 3]
mov r9d, 7
xor edx, edx
xor ecx, ecx
lea r8, [0x1402ab2d2]
mov r14d, 0xffffffff
mov dword [rsp + 0x28], eax
lea rax, str.Cant_load_cert__size:__d
mov qword [rsp + 0x20], rax
call fcn.14005a150
jmp 0x140076614
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 0x1400830f0
mov r12, rcx
mov rcx, qword [rcx + 0x10]
mov rsi, r9
call fcn.14009efe0
mov r13, qword [rax + 0x40]
movzx eax, word [r11 + 1]
cmp ax, 0xc00
je 0x140083030
jbe 0x140082f70
cmp ax, 0xf100
je 0x140083050
jbe 0x140082fb0
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 0x140083070
cmp ax, 0xa00
jne 0x140082fd8
mov edx, dword [r11 + 0x19]
mov eax, dword [r11 + 0x1d]
lea rcx, [r11 + 0xf]
lea rax, [rdx + rax + 0x12]
cmp rbx, rax
jne 0x1400830d5
add rsp, 0x48
mov rdx, r12
pop rbx
pop rsi
pop r12
pop r13
jmp fcn.14009dab0
cmp ax, 0xc01
je 0x140083010
cmp ax, 0xf000
jne 0x140083020
add rsp, 0x48
mov r8, rbx
lea rdx, [r11 + 0xf]
mov rcx, r13
pop rbx
pop rsi
pop r12
pop r13
jmp 0x1400e9080
cmp ax, 0x100
jne 0x140083020
lea r12, [r11 + 0xf]
mov rcx, r12
call fcn.140090080
cmp rbx, rax
jne 0x14008309f
add rsp, 0x48
mov r8, rsi
mov rdx, r12
mov rcx, r13
pop rbx
pop rsi
pop r12
pop r13
jmp fcn.1400f5040
add rsp, 0x48
xor eax, eax
pop rbx
pop rsi
pop r12
pop r13
ret
mov eax, 0xfffffd66
jmp 0x140082f5e
mov rdx, qword [r12 + 0x28]
add rsp, 0x48
mov rcx, r11
pop rbx
pop rsi
pop r12
pop r13
jmp 0x140076510
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.1400e8180
mov edx, dword [r11 + 0x35]
mov eax, dword [r11 + 0x39]
lea rcx, [r11 + 0xf]
lea rax, [rdx + rax + 0x2e]
cmp rbx, rax
jne 0x140083126
add rsp, 0x48
mov r8, rsi
mov rdx, r12
pop rbx
pop rsi
pop r12
pop r13
jmp 0x1400a0880
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.14005a150
mov eax, 0xffffff9a
jmp 0x140082f5e
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 0x1400830b0
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.14005a150
mov eax, 0xffffff9b
jmp 0x140082f5e
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 0x1400830b0
push r14
push r13
push r12
push rbx
sub rsp, 0x38
test rdx, rdx
je 0x1400a0938
mov r12, rcx
test rcx, rcx
je 0x1400a0938
mov rcx, qword [rdx + 0x10]
mov rbx, rdx
mov r13, r8
call fcn.14009efe0
cmp qword [rax + 0x48], 0
mov rdx, rax
je 0x1400a0962
mov ecx, dword [r12 + 0x26]
mov eax, dword [r12 + 0x2a]
mov r9, r13
lea r8, [rcx + rax + 0x2e]
mov rcx, r12
call fcn.1400a09b0
mov r14d, eax
test eax, eax
jne 0x1400a0900
add rsp, 0x38
mov r8, rbx
mov rdx, r12
mov rcx, r13
pop rbx
pop r12
pop r13
pop r14
jmp fcn.14009f400
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.14005a150
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.14005a150
jmp 0x1400a0922
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.14005a150
jmp 0x1400a0922
push r13
push r12
mov r12, rcx
mov rcx, rdx
sub rsp, 0x28
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x50], r8
call fcn.14008e440
mov rcx, qword [r12]
mov r13, rax
call fcn.1400a2a00
test al, al
je 0x1400e90d6
lea rdx, [r13 + 6]
mov rcx, r12
call fcn.1401b6aa0
test rax, rax
je 0x1400e90d6
movzx eax, word [r13]
cmp ax, 0x11
ja 0x1400e90f0
mov rdx, 0xfffffffffffdfb7f
bt rdx, rax
jb 0x1400e90f0
mov r8, qword [rsp + 0x50]
mov rdx, r13
mov rcx, r12
call fcn.1400e33d0
add rsp, 0x28
pop r12
pop r13
ret
mov rcx, r13
call sub.msvcrt.dll_free
xor eax, eax
jmp 0x1400e90e6