Function at 0x1400599f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
lea rbp, [rsp - 0x2a0]
sub rsp, 0x3a0
mov rax, qword [0x1400cc020]
xor rax, rsp
mov qword [rbp + 0x290], rax
mov qword [rsp + 0x50], rcx
mov r12, r8
mov rcx, rdx
mov r13, rdx
xor r14d, r14d
xor ebx, ebx
call case.0x14002e419.0
mov qword [rsp + 0x58], rax
mov rdi, rax
test rax, rax
jne 0x140059acf
call fcn.14003d670
mov ebx, eax
call fcn.14003d670
mov edi, eax
call fcn.14006ac68
test ebx, ebx
lea rdx, str.Error
mov r8d, 0x100
lea rcx, [rbp - 0x70]
mov esi, dword [rax]
lea rax, str.No_error
cmove rdx, rax
mov byte [rbp - 0x70], r14b
call fcn.14006e660
mov byte [rbp + 0x8f], r14b
call fcn.14006ac68
cmp dword [rax], esi
je 0x140059a97
call fcn.14006ac68
mov dword [rax], esi
call fcn.14003d670
cmp edi, eax
je 0x140059aa7
mov ecx, edi
call fcn.14004fed0
lea r9, [rbp - 0x70]
mov r8, r13
lea rdx, str.schannel:_invalid_path_name_for_CA_file__s:__s
mov rcx, r12
call fcn.14002b570
xor ecx, ecx
mov ebx, 0x4d
call qword [fcn.14006baa8]
jmp 0x140059e47
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x3f8], r15
mov word [rbp - 0x7f], 0x6572
mov dword [rbp - 0x7a], 0x656c6946
mov word [rbp - 0x7c], 0x6574
mov word [rbp - 0x76], 0x41
mov byte [rbp - 0x7d], 0x61
mov byte [rbp - 0x80], 0x43
mov dword [rsp + 0x68], 0x6c6c642e
mov dword [rsp + 0x64], 0x32336c65
mov dword [rsp + 0x60], 0x6e72654b
mov byte [rsp + 0x6c], bl
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140059da6
xor r9d, r9d
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x80
mov edx, 0x80000000
mov rcx, rdi
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 1]
call rax
mov r15, rax
cmp rax, 0xffffffffffffffff
je 0x140059da6
lea rcx, [rsp + 0x60]
mov word [rsp + 0x72], 0x4674
mov word [rsp + 0x78], 0x7a69
mov word [rsp + 0x75], 0x656c
mov word [rsp + 0x7b], 0x7845
mov byte [rsp + 0x77], 0x53
mov word [rsp + 0x70], 0x6547
mov byte [rsp + 0x7d], bl
mov byte [rsp + 0x7a], 0x65
mov byte [rsp + 0x74], 0x69
mov dword [rsp + 0x68], 0x6c6c642e
mov dword [rsp + 0x64], 0x32336c65
mov dword [rsp + 0x60], 0x6e72654b
mov byte [rsp + 0x6c], bl
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140059d10
lea rdx, [rsp + 0x48]
mov rcx, r15
call rax
test eax, eax
je 0x140059d10
mov rdi, qword [rsp + 0x48]
cmp rdi, 0x100000
jle 0x140059c16
mov r8d, 0x100000
lea rdx, str.schannel:_CA_file_exceeds_max_size_of__u_bytes
mov rcx, r12
call fcn.14002b570
jmp 0x140059d38
lea rcx, [rdi + 1]
call qword [fcn.14006bcf0]
mov r14, rax
test rax, rax
jne 0x140059c30
lea ebx, [rax + 0x1b]
jmp 0x140059d3d
test rdi, rdi
je 0x140059cd3
nop dword [rax]
xor esi, esi
mov dword [rsp + 0x40], 0
lea rcx, [rsp + 0x70]
mov byte [rsp + 0x7c], sil
mov dword [rsp + 0x60], 0x64616552
mov dword [rsp + 0x65], 0x656c69
mov byte [rsp + 0x64], 0x46
mov dword [rsp + 0x78], 0x6c6c642e
mov dword [rsp + 0x74], 0x32336c65
mov dword [rsp + 0x70], 0x6e72654b
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140059cb6
mov r8d, edi
mov edx, ebx
sub r8d, ebx
mov qword [rsp + 0x20], rsi
add rdx, r14
lea r9, [rsp + 0x40]
mov rcx, r15
call rax
mov esi, eax
test esi, esi
je 0x140059cf4
mov eax, dword [rsp + 0x40]
test eax, eax
jne 0x140059cc6
mov edi, ebx
jmp 0x140059cc8
add ebx, eax
mov eax, ebx
cmp rax, rdi
jb 0x140059c40
mov rcx, qword [rsp + 0x50]
mov r9, r13
mov r8, rdi
mov byte [rdi + r14], 0
mov rdx, r14
mov qword [rsp + 0x20], r12
call fcn.1400595d0
mov ebx, eax
jmp 0x140059d3d
call fcn.14003d670
mov ecx, eax
lea rdx, [rbp + 0x190]
call fcn.140050120
lea rdx, str.schannel:_failed_to_read_from_CA_file__s:__s
jmp 0x140059d2a
call fcn.14003d670
mov ecx, eax
lea rdx, [rbp + 0x190]
call fcn.140050120
lea rdx, str.schannel:_failed_to_determine_size_of_CA_file__s:__s
mov r9, rax
mov r8, r13
mov rcx, r12
call fcn.14002b570
mov ebx, 0x4d
lea rcx, [rsp + 0x70]
mov word [rsp + 0x65], 0x6148
mov dword [rsp + 0x68], 0x656c64
mov dword [rsp + 0x60], 0x736f6c43
mov byte [rsp + 0x67], 0x6e
mov byte [rsp + 0x64], 0x65
mov dword [rsp + 0x78], 0x6c6c642e
mov dword [rsp + 0x74], 0x32336c65
mov dword [rsp + 0x70], 0x6e72654b
mov byte [rsp + 0x7c], 0
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140059d9e
mov rcx, r15
call rax
mov rcx, r14
jmp 0x140059e2f
call fcn.14003d670
mov ebx, eax
call fcn.14003d670
mov edi, eax
call fcn.14006ac68
test ebx, ebx
lea rdx, str.Error
mov r8d, 0x100
lea rcx, [rbp + 0x90]
mov esi, dword [rax]
lea rax, str.No_error
cmove rdx, rax
mov byte [rbp + 0x90], r14b
call fcn.14006e660
mov byte [rbp + 0x18f], r14b
call fcn.14006ac68
cmp dword [rax], esi
je 0x140059dff
call fcn.14006ac68
mov dword [rax], esi
call fcn.14003d670
cmp edi, eax
je 0x140059e0f
mov ecx, edi
call fcn.14004fed0
lea r9, [rbp + 0x90]
mov r8, r13
lea rdx, str.schannel:_failed_to_open_CA_file__s:__s
mov rcx, r12
call fcn.14002b570
xor ecx, ecx
mov ebx, 0x4d
call qword [fcn.14006baa8]
mov rcx, qword [rsp + 0x58]
call fcn.14006baa8
mov r15, qword [rsp + 0x3f8]
mov eax, ebx
mov rcx, qword [rbp + 0x290]
xor rcx, rsp
call fcn.140060fb0
add rsp, 0x3a0
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret