Function at 0x1401807f0
Capabilities:
Convert ip address from string

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x14043c0c0]
xor rax, rsp
mov qword [rbp + 0x170], rax
movsxd rax, r8d
mov rsi, rcx
mov r15d, 0x2a8
mov dword [rbp - 0x58], r8d
xor r8d, r8d
mov rdi, rdx
mov qword [rbp - 0x40], r8
mov rcx, qword [rdx + rax*8 + 0x1f0]
lea rax, [rax + rax*2]
lea r10, [rdx + rax*8]
mov qword [rbp - 0x30], rcx
mov edx, dword [rdx + 0x13c]
lea r11d, [r15 + 0x18]
mov qword [rbp - 0x28], r10
cmp edx, 2
jne 0x14018088b
cmp qword [rdi + 0x1f8], 0xffffffffffffffff
mov eax, r15d
cmovne eax, r11d
cmp dword [rax + rdi], edx
je 0x14018088b
mov r8, qword [rdi + 0x128]
mov ebx, dword [rdi + 0x360]
mov qword [rbp - 0x68], r8
xor r8d, r8d
jmp 0x1401808a1
mov rax, qword [rdi + 0xa0]
mov ebx, dword [rdi + 0x2e0]
mov qword [rbp - 0x68], rax
cmp edx, 2
jne 0x1401808db
cmp qword [rdi + 0x1f8], 0xffffffffffffffff
mov rax, r15
cmovne rax, r11
cmp dword [rax + rdi], 2
je 0x1401808db
mov rcx, qword [rdi + 0x3c0]
mov r14, qword [rsi + 0x668]
mov r13, qword [rsi + 0x6a0]
mov rax, qword [rsi + 0x6e0]
mov qword [rbp - 0x70], rcx
jmp 0x140180982
mov r14, qword [rsi + 0x5a0]
cmp edx, 2
jne 0x140180916
cmp qword [rdi + 0x1f8], 0xffffffffffffffff
mov rax, r15
cmovne rax, r11
cmp dword [rax + rdi], edx
je 0x140180916
mov rcx, qword [rdi + 0x3c0]
mov r13, qword [rsi + 0x6a0]
mov rax, qword [rsi + 0x6e0]
mov qword [rbp - 0x70], rcx
jmp 0x140180982
mov r13, qword [rsi + 0x5d8]
cmp edx, 2
jne 0x14018094a
cmp qword [rdi + 0x1f8], 0xffffffffffffffff
mov rax, r15
cmovne rax, r11
cmp dword [rax + rdi], edx
je 0x14018094a
mov rcx, qword [rdi + 0x3c0]
mov rax, qword [rsi + 0x6e0]
mov qword [rbp - 0x70], rcx
jmp 0x140180982
mov rcx, qword [rdi + 0x340]
mov qword [rbp - 0x70], rcx
cmp edx, 2
jne 0x140180977
cmp qword [rdi + 0x1f8], 0xffffffffffffffff
mov rax, r15
cmovne rax, r11
cmp dword [rax + rdi], edx
je 0x14018097b
mov rax, qword [rsi + 0x6e0]
jmp 0x140180982
mov qword [rbp - 0x70], rcx
mov rax, qword [rsi + 0x618]
mov qword [rbp - 0x78], rax
test rcx, rcx
je 0x140180990
mov rcx, r8
jmp 0x1401809df
cmp edx, 2
jne 0x1401809d8
cmp qword [rdi + 0x1f8], 0xffffffffffffffff
mov rax, r15
cmovne rax, r11
cmp dword [rax + rdi], edx
je 0x1401809d8
mov rax, qword [rdi + 0x370]
mov qword [rsp + 0x58], rax
mov rax, qword [rdi + 0x368]
mov qword [rsp + 0x68], rax
movzx eax, byte [rdi + 0x3d9]
mov byte [rsp + 0x50], al
mov rax, qword [rsi + 0x698]
jmp 0x140180aad
mov rcx, qword [rdi + 0x2f0]
mov qword [rsp + 0x58], rcx
cmp edx, 2
jne 0x140180a25
cmp qword [rdi + 0x1f8], 0xffffffffffffffff
mov rax, r15
mov qword [rsp + 0x58], rcx
cmovne rax, r11
cmp dword [rax + rdi], edx
je 0x140180a25
mov rax, qword [rdi + 0x368]
mov qword [rsp + 0x68], rax
movzx eax, byte [rdi + 0x3d9]
mov byte [rsp + 0x50], al
mov rax, qword [rsi + 0x698]
jmp 0x140180aad
mov r8, qword [rdi + 0x2e8]
mov qword [rsp + 0x68], r8
cmp edx, 2
jne 0x140180a63
cmp qword [rdi + 0x1f8], 0xffffffffffffffff
mov rax, r15
mov qword [rsp + 0x58], rcx
cmovne rax, r11
cmp dword [rax + rdi], edx
je 0x140180a68
movzx eax, byte [rdi + 0x3d9]
mov byte [rsp + 0x50], al
mov rax, qword [rsi + 0x698]
jmp 0x140180aad
mov qword [rsp + 0x68], r8
movzx r9d, byte [rdi + 0x359]
mov byte [rsp + 0x50], r9b
cmp edx, 2
jne 0x140180aa1
cmp qword [rdi + 0x1f8], 0xffffffffffffffff
mov rax, r15
mov qword [rsp + 0x68], r8
cmovne rax, r11
mov qword [rsp + 0x58], rcx
cmp dword [rax + rdi], edx
je 0x140180aa6
mov rax, qword [rsi + 0x698]
jmp 0x140180aad
mov byte [rsp + 0x50], r9b
mov rax, qword [rsi + 0x5d0]
mov r12, qword [r10 + 0x280]
mov qword [rsp + 0x78], rax
mov rax, qword [rsi + 0xd0]
mov qword [rsp + 0x70], r12
mov byte [rsp + 0x60], 0
test rax, rax
je 0x140180ad8
cmp byte [rax + 0x184], 0
jne 0x140180afe
call fcn.1402419d0
test eax, eax
je 0x1401819f5
mov rax, qword [rsi + 0xd0]
mov r11d, 0x2c0
test rax, rax
je 0x140180afe
mov byte [rax + 0x184], 1
cmp dword [rdi + 0x13c], 2
jne 0x140180b23
cmp qword [rdi + 0x1f8], 0xffffffffffffffff
mov rax, r15
cmovne rax, r11
cmp dword [rax + rdi], 2
lea rax, [rsi + 0x6c8]
jne 0x140180b2a
lea rax, [rsi + 0x600]
mov dword [rax], 1
cmp ebx, 7
ja case.default.0x140180b4d
lea rcx, [0x140000000]
movsxd rax, ebx
mov eax, dword [rcx + rax*4 + 0x181a34]
add rax, rcx
jmp rax
call fcn.14031e370
mov rcx, rax
call fcn.140313ef0
mov qword [r12 + 8], rax
test rax, rax
jne 0x140180bcf
call fcn.1402449d0
mov r8d, 0x100
mov byte [rbp - 0x10], 0
lea rdx, [rbp - 0x10]
mov ecx, eax
mov ebx, eax
call fcn.140244140
cmp byte [rbp - 0x10], 0
jne 0x140180bb2
test ebx, ebx
lea rcx, str.Unknown_error
lea rdx, str.No_error
mov r8d, 0x100
cmovne rdx, rcx
lea rcx, [rbp - 0x10]
call fcn.1401a6600
mov byte [rbp + 0xef], 0
lea r8, [rbp - 0x10]
mov rcx, rsi
lea rdx, str.SSL:_couldnt_create_a_context:__s
call fcn.140169a60
mov eax, 0x1b
jmp 0x140181a09
xor r9d, r9d
mov rcx, rax
lea edx, [r9 + 0x21]
lea r8d, [r9 + 0x10]
call fcn.140313910
cmp qword [rsi + 0x278], 0
je 0x140180c24
cmp byte [rsi + 0xb11], 0
je 0x140180c24
mov rcx, qword [r12 + 8]
lea rdx, [0x1401825c0]
call fcn.140314520
mov rcx, qword [r12 + 8]
xor r8d, r8d
mov r9, rdi
lea edx, [r8 + 0x10]
call fcn.140313910
mov rax, qword [rdi + 0x280]
mov qword [rax], rsi
mov r8d, dword [rdi + 0x13c]
mov r10d, 0x2c0
cmp r8d, 2
jne 0x140180c55
cmp qword [rdi + 0x1f8], 0xffffffffffffffff
mov rax, r15
cmovne rax, r10
cmp dword [rax + rdi], r8d
je 0x140180c55
movzx edx, byte [rsi + 0x70a]
jmp 0x140180c5c
movzx edx, byte [rsi + 0x642]
lea r9, [0x140000000]
movsxd rax, ebx
mov ecx, dword [r9 + rax*4 + 0x181a54]
add rcx, r9
jmp rcx
mov r12, qword [r12 + 8]
test dl, dl
mov eax, 0x82024854
mov r15d, 0x82024054
cmovne r15d, eax
cmp r8d, 2
jne 0x140180cae
cmp qword [rdi + 0x1f8], 0xffffffffffffffff
mov eax, 0x2a8
cmovne rax, r10
cmp dword [rax + rdi], r8d
je 0x140180cae
mov edx, dword [rdi + 0x360]
jmp 0x140180cb4
mov edx, dword [rdi + 0x2e0]
xor r9d, r9d
mov ecx, edx
mov r8d, r9d
mov ebx, 0x302
sub ecx, 1
je 0x140180ced
sub ecx, 3
je 0x140180ced
sub ecx, 1
je 0x140180ce8
sub ecx, 1
je 0x140180ce0
cmp ecx, 1
jne 0x140180cf3
lea r8d, [rbx + 2]
jmp 0x140180cf7
mov r8d, 0x303
jmp 0x140180cf7
mov r8d, ebx
jmp 0x140180cf7
mov r8d, 0x301
test edx, edx
je 0x140180d0f
mov edx, 0x7b
mov rcx, r12
call fcn.140313910
test eax, eax
je 0x140181a04
xor r9d, r9d
cmp dword [rdi + 0x13c], 2
jne 0x140180d3b
cmp qword [rdi + 0x1f8], 0xffffffffffffffff
mov eax, 0x2a8
mov ecx, 0x2c0
cmovne eax, ecx
cmp dword [rax + rdi], 2
je 0x140180d3b
mov eax, dword [rdi + 0x364]
jmp 0x140180d41
mov eax, dword [rdi + 0x2e4]
cmp eax, 0x50000
jg 0x140180d58
je 0x140180d77
cmp eax, 0x40000
jne 0x140180d66
mov ebx, 0x301
jmp 0x140180d77
cmp eax, 0x60000
je 0x140180d72
cmp eax, 0x70000
je 0x140180d6b
mov ebx, r9d
jmp 0x140180d77
mov ebx, 0x304
jmp 0x140180d77
mov ebx, 0x303
xor r9d, r9d
mov r8d, ebx
mov rcx, r12
lea edx, [r9 + 0x7c]
call fcn.140313910
test eax, eax
je 0x140181a04
mov edx, r15d
mov r15, qword [rsp + 0x70]
mov rcx, qword [r15 + 8]
call fcn.140314550
cmp byte [rdi + 0x3fa], 0
je 0x140180dbe
mov rcx, qword [r15 + 8]
lea rdx, [0x140182af0]
mov r8, rsi
call fcn.140314530
cmp byte [rdi + 0x3fb], 0
je 0x140180e05
mov rcx, qword [r15 + 8]
lea rdx, [rbp + 0xf0]
movabs rax, 0x312e312f70747468
mov byte [rbp + 0xf0], 8
mov r8d, 9
mov qword [rbp + 0xf1], rax
call fcn.1403142d0
test eax, eax
je 0x140180e05
lea rdx, str.Error_setting_ALPN
jmp 0x1401819fc
mov r10, qword [rbp - 0x78]
test r14, r14
jne 0x140180e1c
test r13, r13
jne 0x140180e1c
test r10, r10
je 0x140180f22
mov edx, dword [rdi + 0x13c]
mov r11d, 0x2a8
lea ebx, [r11 + 0x18]
cmp edx, 2
jne 0x140180e5c
cmp qword [rdi + 0x1f8], 0xffffffffffffffff
mov eax, r11d
cmovne eax, ebx
cmp dword [rax + rdi], edx
je 0x140180e5c
mov rax, qword [rbp - 0x68]
mov r8, qword [rsi + 0x700]
mov r9, qword [rsi + 0x6f8]
mov qword [rbp - 0x68], rax
jmp 0x140180e6f
mov r8, qword [rsi + 0x638]
mov r9, qword [rsi + 0x630]
cmp edx, 2
jne 0x140180e94
cmp qword [rdi + 0x1f8], 0xffffffffffffffff
mov rax, r11
cmovne rax, rbx
cmp dword [rax + rdi], 2
je 0x140180e94
mov rcx, qword [rsi + 0x6f0]
mov rax, qword [rsi + 0x6e8]
jmp 0x140180ec4
mov rcx, qword [rsi + 0x628]
cmp edx, 2
jne 0x140180ebd
cmp qword [rdi + 0x1f8], 0xffffffffffffffff
mov rax, r11
cmovne rax, rbx
cmp dword [rax + rdi], edx
je 0x140180ebd
mov rax, qword [rsi + 0x6e8]
jmp 0x140180ec4
mov rax, qword [rsi + 0x620]
movzx edx, byte [rsp + 0x50]
mov r11, qword [rbp - 0x70]
mov qword [rsp + 0x40], r8
mov r8, r14
mov qword [rsp + 0x38], r9
mov r9, r13
mov byte [rsp + 0x50], dl
mov rdx, qword [rsp + 0x68]
mov qword [rsp + 0x30], rcx
mov rcx, rsi
mov qword [rsp + 0x68], rdx
mov rdx, qword [rsp + 0x58]
mov qword [rsp + 0x58], rdx
mov rdx, qword [r15 + 8]
mov qword [rsp + 0x28], rax
mov qword [rbp - 0x70], r11
mov qword [rsp + 0x20], r10
call fcn.14017eb40
test eax, eax
jne 0x140180f22
mov eax, 0x3a
jmp 0x140181a09
cmp dword [rdi + 0x13c], 2
mov r14d, 0x2a8
lea r12d, [r14 + 0x18]
jne 0x140180f53
cmp qword [rdi + 0x1f8], 0xffffffffffffffff
mov eax, r14d
cmovne eax, r12d
cmp dword [rax + rdi], 2
je 0x140180f53
mov rbx, qword [rdi + 0x398]
jmp 0x140180f5a
mov rbx, qword [rdi + 0x318]
test rbx, rbx
je 0x140180f8b
mov rcx, qword [r15 + 8]
mov rdx, rbx
call fcn.140314420
test eax, eax
jne 0x140180f8b
mov r8, rbx
lea rdx, str.failed_setting_cipher_list:__s
mov rcx, rsi
call fcn.140169a60
mov eax, 0x3b
jmp 0x140181a09
cmp dword [rdi + 0x13c], 2
jne 0x140180fb2
cmp qword [rdi + 0x1f8], 0xffffffffffffffff
mov rax, r14
cmovne rax, r12
cmp dword [rax + rdi], 2
je 0x140180fb2
mov rbx, qword [rdi + 0x3a0]
jmp 0x140180fb9
mov rbx, qword [rdi + 0x320]
test rbx, rbx
je 0x140180fea
mov rcx, qword [r15 + 8]
mov rdx, rbx
call fcn.14031aaf0
test eax, eax
jne 0x140180fea
mov r8, rbx
lea rdx, str.failed_setting_TLS_1.3_cipher_suite:__s
mov rcx, rsi
call fcn.140169a60
mov eax, 0x3b
jmp 0x140181a09
mov rcx, qword [r15 + 8]
mov edx, 1
call fcn.140314560
cmp dword [rdi + 0x13c], 2
jne 0x14018101f
cmp qword [rdi + 0x1f8], 0xffffffffffffffff
mov rax, r14
cmovne rax, r12
cmp dword [rax + rdi], 2
je 0x14018101f
mov rbx, qword [rdi + 0x3d0]
jmp 0x140181026
mov rbx, qword [rdi + 0x350]
test rbx, rbx
je 0x14018105e
mov rcx, qword [r15 + 8]
xor r8d, r8d
mov r9, rbx
lea edx, [r8 + 0x5c]
call fcn.140313910
test eax, eax
jne 0x14018105e
mov r8, rbx
lea rdx, str.failed_setting_curves_list:__s
mov rcx, rsi
call fcn.140169a60
mov eax, 0x3b
jmp 0x140181a09
mov ecx, dword [rdi + 0x13c]
cmp ecx, 2
jne 0x140181086
cmp qword [rdi + 0x1f8], 0xffffffffffffffff
mov rax, r14
cmovne rax, r12
cmp dword [rax + rdi], ecx
je 0x140181086
movzx eax, byte [rdi + 0x3d9]
jmp 0x14018108d
movzx eax, byte [rdi + 0x359]
test al, al
jne 0x1401810c2
cmp ecx, 2
jne 0x1401810b3
cmp qword [rdi + 0x1f8], 0xffffffffffffffff
mov rax, r14
cmovne rax, r12
cmp dword [rax + rdi], ecx
je 0x1401810b3
movzx eax, byte [rdi + 0x3da]
jmp 0x1401810ba
movzx eax, byte [rdi + 0x35a]
test al, al
je 0x14018132d
cmp ecx, 2
jne 0x1401810e4
cmp qword [rdi + 0x1f8], 0xffffffffffffffff
mov rax, r14
cmovne rax, r12
cmp dword [rax + rdi], ecx
je 0x1401810e4
movzx eax, byte [rsi + 0x70e]
jmp 0x1401810eb
movzx eax, byte [rsi + 0x646]
test al, al
je 0x14018132d
mov rcx, qword [r15 + 8]
call fcn.140258190
lea rdx, str.ROOT
mov qword [rbp - 0x60], rax
xor ecx, ecx
call qword [sym.imp.CRYPT32.dll_CertOpenSystemStoreW]
mov qword [rbp - 0x48], rax
mov r15, rax
test rax, rax
je 0x140181328
xor eax, eax
xor edx, edx
mov rcx, r15
mov dword [rbp - 0x78], eax
mov r13d, eax
mov ebx, eax
call qword [sym.imp.CRYPT32.dll_CertEnumCertificatesInStore]
mov r12, rax
test rax, rax
je 0x14018130b
mov rcx, qword [r12 + 8]
mov r14, r13
mov qword [rbp - 0x38], rcx
test rcx, rcx
je 0x1401812b7
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov rcx, qword [r12 + 0x18]
lea rdx, [rbp - 0x50]
add rcx, 0x40
call qword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jg 0x1401812b7
mov rdx, qword [r12 + 0x18]
lea rcx, [rbp - 0x50]
add rdx, 0x48
call qword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jg 0x1401812b7
mov rdx, qword [r12 + 0x18]
lea r8, [rsp + 0x54]
mov ecx, dword [r12]
mov r9d, 2
call qword [sym.imp.CRYPT32.dll_CertGetIntendedKeyUsage]
test eax, eax
je 0x1401811c0
test byte [rsp + 0x54], 4
je 0x1401812b7
jmp 0x1401811ce
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1401812b7
lea r9, [rbp - 0x80]
xor r8d, r8d
xor edx, edx
mov rcx, r12
call qword [sym.imp.CRYPT32.dll_CertGetEnhancedKeyUsage]
test eax, eax
je 0x1401812b7
mov eax, dword [rbp - 0x80]
test eax, eax
je 0x140181210
cmp eax, ebx
jbe 0x140181210
mov edx, eax
mov rcx, r13
call qword [0x14068c8f8]
mov r13, rax
test rax, rax
je 0x1401812d3
mov eax, dword [rbp - 0x80]
mov dword [rbp - 0x78], eax
lea r9, [rbp - 0x80]
mov r8, r13
xor edx, edx
mov rcx, r12
call qword [sym.imp.CRYPT32.dll_CertGetEnhancedKeyUsage]
test eax, eax
je 0x1401812b7
mov r14d, dword [r13]
test r14d, r14d
jne 0x140181242
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x80092004
jne 0x1401812b7
jmp 0x140181275
xor ebx, ebx
test r14d, r14d
je 0x1401812b7
mov r15, qword [r13 + 8]
nop dword [rax]
mov rdx, qword [r15 + rbx*8]
lea rcx, str.1.3.6.1.5.5.7.3.1
call fcn.1401a6460
test eax, eax
je 0x140181271
inc ebx
cmp ebx, r14d
jb 0x140181250
mov r15, qword [rbp - 0x48]
jmp 0x1401812b7
mov r15, qword [rbp - 0x48]
mov r8d, dword [r12 + 0x10]
lea rdx, [rbp - 0x38]
xor ecx, ecx
call fcn.14023fad0
mov rbx, rax
test rax, rax
je 0x1401812b7
mov rcx, qword [rbp - 0x60]
mov rdx, rax
call fcn.14023df00
mov ecx, dword [rsp + 0x60]
cmp eax, 1
movzx ecx, cl
mov eax, 1
cmove ecx, eax
mov dword [rsp + 0x60], ecx
mov rcx, rbx
call fcn.14023fa80
mov rdx, r12
mov rcx, r15
call qword [sym.imp.CRYPT32.dll_CertEnumCertificatesInStore]
mov r12, rax
test rax, rax
je 0x14018130b
mov ebx, dword [rbp - 0x78]
jmp 0x140181140
lea rdx, str.SSL:_Out_of_memory_allocating_for_OID_list
mov rcx, rsi
call fcn.140169a60
mov rcx, r14
mov ebx, 0x1b
call qword [fcn.140198f38]
mov rcx, r12
call qword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
xor edx, edx
mov rcx, r15
call qword [sym.imp.CRYPT32.dll_CertCloseStore]
mov eax, ebx
jmp 0x140181a09
mov rcx, r13
call qword [fcn.140198f38]
mov rcx, r12
call qword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
xor edx, edx
mov rcx, r15
call qword [sym.imp.CRYPT32.dll_CertCloseStore]
mov r15, qword [rsp + 0x70]
mov rbx, qword [rbp - 0x70]
test rbx, rbx
je 0x140181483
xor r14d, r14d
cmp qword [rbx + 8], 0x7fffffff
jbe 0x140181350
lea ebx, [r14 + 0x4d]
jmp 0x140181452
mov rcx, qword [r15 + 8]
call fcn.140258190
mov r13, rax
test rax, rax
je 0x140181378
mov edx, dword [rbx + 8]
mov rcx, qword [rbx]
call fcn.140234a30
mov qword [rbp - 0x60], rax
mov rbx, rax
test rax, rax
jne 0x140181382
mov ebx, 0x1b
jmp 0x14018146d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.140240e60
mov r12, rax
test rax, rax
jne 0x1401813ac
mov rcx, rbx
call fcn.140233410
lea ebx, [r12 + 0x4d]
jmp 0x140181452
mov rcx, r12
xor ebx, ebx
call fcn.1402318c0
test eax, eax
jle 0x140181414
nop word [rax + rax]
mov edx, ebx
mov rcx, r12
call fcn.140231ac0
mov r15, rax
mov rdx, qword [rax]
test rdx, rdx
je 0x1401813e4
mov rcx, r13
call fcn.14023df00
test eax, eax
je 0x14018140c
inc r14d
mov rdx, qword [r15 + 8]
test rdx, rdx
je 0x1401813fc
mov rcx, r13
call fcn.14023df40
test eax, eax
je 0x14018140c
inc r14d
mov rcx, r12
inc ebx
call fcn.1402318c0
cmp ebx, eax
jl 0x1401813c0
jmp 0x14018140f
xor r14d, r14d
mov r15, qword [rsp + 0x70]
lea rdx, [fcn.14023fbd0]
mov rcx, r12
call fcn.1402318f0
mov rcx, qword [rbp - 0x60]
call fcn.140233410
test r14d, r14d
mov ebx, 0x4d
mov eax, 0
cmovg ebx, eax
jg 0x140181483
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x58], rax
movzx r12d, byte [rsp + 0x50]
test r12b, r12b
je 0x1401814ee
mov eax, dword [rsp + 0x60]
test al, al
jne 0x1401814ee
lea rdx, str.error_importing_CA_certificate_blob
mov rcx, rsi
call fcn.140169a60
mov eax, ebx
jmp 0x140181a09
movzx r12d, byte [rsp + 0x50]
test r12b, r12b
je 0x1401814ee
mov eax, dword [rsp + 0x60]
test al, al
jne 0x1401814ee
mov rbx, qword [rsp + 0x58]
mov r14, qword [rsp + 0x68]
test rbx, rbx
jne 0x1401814aa
test r14, r14
je 0x1401814ee
mov rcx, qword [r15 + 8]
mov r8, r14
mov rdx, rbx
call fcn.140313ee0
test eax, eax
jne 0x1401814ee
test r14, r14
lea r8, str.none
mov r9, r8
lea rdx, str.error_setting_certificate_verify_locations:__CAfile:__s_CApath:__s
cmovne r9, r14
mov rcx, rsi
test rbx, rbx
cmovne r8, rbx
call fcn.140169a60
mov eax, 0x4d
jmp 0x140181a09
mov r14, qword [rsp + 0x78]
test r14, r14
je 0x140181564
call fcn.14023e7e0
mov rcx, qword [r15 + 8]
mov rbx, rax
call fcn.140258190
mov rcx, rax
mov rdx, rbx
call fcn.14023df80
test rax, rax
je 0x140181548
mov r13d, 1
mov rdx, r14
mov r8d, r13d
mov rcx, rax
call fcn.14023eae0
test eax, eax
je 0x140181548
mov rcx, qword [r15 + 8]
call fcn.140258190
mov rcx, rax
lea edx, [r13 + 0xb]
call fcn.14023e350
jmp 0x14018156a
mov r8, r14
lea rdx, str.error_loading_CRL_file:__s
mov rcx, rsi
call fcn.140169a60
mov eax, 0x52
jmp 0x140181a09
mov r13d, 1
test r12b, r12b
je 0x1401815d8
mov rcx, qword [r15 + 8]
call fcn.140258190
mov rcx, rax
mov edx, 0x8000
call fcn.14023e350
cmp dword [rdi + 0x13c], 2
jne 0x1401815b2
cmp qword [rdi + 0x1f8], 0xffffffffffffffff
mov eax, 0x2a8
mov ecx, 0x2c0
cmovne eax, ecx
cmp dword [rax + rdi], 2
je 0x1401815b2
movzx eax, byte [rsi + 0x70c]
jmp 0x1401815b9
movzx eax, byte [rsi + 0x644]
test al, al
jne 0x1401815d8
test r14, r14
jne 0x1401815d8
mov rcx, qword [r15 + 8]
call fcn.140258190
mov rcx, rax
mov edx, 0x80000
call fcn.14023e350
mov rcx, qword [r15 + 8]
xor r14d, r14d
mov edx, r14d
test r12b, r12b
setne dl
xor r8d, r8d
call fcn.140314570
call fcn.14018b510
test al, al
je 0x140181609
mov rcx, qword [r15 + 8]
lea rdx, [0x140181e20]
call fcn.140314510
mov rcx, qword [r15 + 8]
xor r9d, r9d
mov r8d, 0x301
lea edx, [r9 + 0x2c]
call fcn.140313910
mov rcx, qword [r15 + 8]
lea rdx, [0x140181e30]
call fcn.140318b20
cmp qword [rsi + 0x608], r14
je 0x14018167c
mov dl, 1
mov rcx, rsi
call fcn.140159740
mov r8, qword [rsi + 0x610]
mov rcx, rsi
mov rdx, qword [r15 + 8]
call qword [rsi + 0x608]
xor edx, edx
mov rcx, rsi
mov ebx, eax
call fcn.140159740
test ebx, ebx
je 0x14018167c
lea rdx, str.error_signaled_by_ssl_ctx_callback
mov rcx, rsi
call fcn.140169a60
mov eax, ebx
jmp 0x140181a09
mov rcx, qword [r15 + 0x10]
test rcx, rcx
je 0x14018168a
call fcn.140315160
mov rcx, qword [r15 + 8]
call fcn.140315b30
mov qword [r15 + 0x10], rax
mov rcx, rax
test rax, rax
jne 0x1401816b8
lea rdx, str.SSL:_couldnt_create_a_context__handle_
mov rcx, rsi
call fcn.140169a60
mov eax, 0x1b
jmp 0x140181a09
cmp dword [rdi + 0x13c], 2
mov ebx, 0x2a8
lea r12d, [rbx + 0x18]
jne 0x1401816e7
cmp qword [rdi + 0x1f8], 0xffffffffffffffff
mov eax, ebx
cmovne eax, r12d
cmp dword [rax + rdi], 2
je 0x1401816e7
movzx eax, byte [rdi + 0x3db]
jmp 0x1401816ee
movzx eax, byte [rdi + 0x35b]
test al, al
je 0x140181701
xor r9d, r9d
mov r8d, r13d
lea edx, [r9 + 0x41]
call fcn.140314810
mov rcx, qword [r15 + 0x10]
call fcn.1403164f0
mov qword [r15 + 0x18], r14
lea r8, [rbp - 0x20]
mov r14, qword [rbp - 0x68]
mov ecx, 2
mov rdx, r14
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jne 0x140181772
lea r8, [rbp - 0x20]
mov rdx, r14
lea ecx, [rax + 0x17]
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jne 0x140181772
xor r8d, r8d
mov rdx, r14
mov rcx, rsi
call fcn.140164230
test rax, rax
je 0x140181766
mov rcx, qword [r15 + 0x10]
xor r8d, r8d
mov r9, rax
lea edx, [r8 + 0x37]
call fcn.140314810
test eax, eax
jne 0x140181772
lea rdx, str.Failed_set_SNI
jmp 0x1401819fc
movsxd r14, dword [rbp - 0x58]
mov rdx, rdi
mov r8d, r14d
mov rcx, rsi
call fcn.14017da20
test al, al
jne 0x1401817ec
call fcn.140244520
mov r8d, 0x100
mov byte [rbp - 0x10], 0
lea rdx, [rbp - 0x10]
mov ecx, eax
mov ebx, eax
call fcn.140244140
cmp byte [rbp - 0x10], 0
jne 0x1401817d4
test ebx, ebx
lea rcx, str.Unknown_error
lea rdx, str.No_error
mov r8d, 0x100
cmovne rdx, rcx
lea rcx, [rbp - 0x10]
call fcn.1401a6600
mov byte [rbp + 0xef], 0
lea r8, [rbp - 0x10]
mov rcx, rsi
lea rdx, str.SSL:_ossl_associate_connection_failed:__s
call fcn.140169a60
jmp 0x140181a04
cmp dword [rdi + 0x13c], 2
jne 0x140181813
cmp qword [rdi + 0x1f8], 0xffffffffffffffff
mov rax, rbx
cmovne rax, r12
cmp dword [rax + rdi], 2
je 0x140181813
movzx eax, byte [rsi + 0x6c4]
jmp 0x14018181a
movzx eax, byte [rsi + 0x5fc]
test al, al
je 0x1401818f1
mov rcx, rsi
call fcn.1401641c0
cmp dword [rdi + 0x13c], 2
jne 0x14018184a
cmp qword [rdi + 0x1f8], 0xffffffffffffffff
cmovne rbx, r12
cmp dword [rbx + rdi], 2
je 0x14018184a
mov r8b, 1
jmp 0x14018184d
xor r8b, r8b
xor eax, eax
mov dword [rsp + 0x28], r14d
lea r9, [rbp - 0x40]
mov qword [rsp + 0x20], rax
mov rdx, rdi
mov rcx, rsi
call fcn.140163d10
test al, al
jne 0x1401818e9
mov rdx, qword [rbp - 0x40]
mov rcx, qword [r15 + 0x10]
call fcn.140318ee0
test eax, eax
jne 0x1401818e9
mov rcx, rsi
call fcn.1401641f0
call fcn.140244520
mov r8d, 0x100
mov byte [rbp - 0x10], 0
lea rdx, [rbp - 0x10]
mov ecx, eax
mov ebx, eax
call fcn.140244140
cmp byte [rbp - 0x10], 0
jne 0x1401818d1
test ebx, ebx
lea rcx, str.Unknown_error
lea rdx, str.No_error
mov r8d, 0x100
cmovne rdx, rcx
lea rcx, [rbp - 0x10]
call fcn.1401a6600
mov byte [rbp + 0xef], 0
lea r8, [rbp - 0x10]
mov rcx, rsi
lea rdx, str.SSL:_SSL_set_session_failed:__s
call fcn.140169a60
jmp 0x140181a04
mov rcx, rsi
call fcn.1401641f0
lea rax, [r14 + 0x1d]
lea rax, [rax + rax*2]
cmp byte [rdi + rax*8], 0
je 0x14018194f
call fcn.14031aa50
mov rcx, rax
call fcn.140233ab0
lea r8, [r14 + r14*2]
mov rcx, rax
mov r9, qword [rdi + r8*8 + 0x2b0]
mov rbx, rax
xor r8d, r8d
mov r9, qword [r9 + 0x10]
lea edx, [r8 + 0x6d]
call fcn.140233250
mov rcx, qword [r15 + 0x10]
mov r8, rbx
mov rdx, rbx
call fcn.140316300
mov rax, qword [rbp - 0x28]
mov dword [rax + 0x27c], r13d
xor eax, eax
jmp 0x140181a09
mov edx, dword [rbp - 0x30]
mov rcx, qword [r15 + 0x10]
call fcn.1403165e0
test eax, eax
jne 0x14018193d
call fcn.140244520
mov r8d, 0x100
mov byte [rbp - 0x10], 0
lea rdx, [rbp - 0x10]
mov ecx, eax
mov ebx, eax
call fcn.140244140
cmp byte [rbp - 0x10], 0
jne 0x1401819ab
test ebx, ebx
lea rcx, str.Unknown_error
lea rdx, str.No_error
mov r8d, 0x100
cmovne rdx, rcx
lea rcx, [rbp - 0x10]
call fcn.1401a6600
mov byte [rbp + 0xef], 0
lea r8, [rbp - 0x10]
mov rcx, rsi
lea rdx, str.SSL:_SSL_set_fd_failed:__s
call fcn.140169a60
jmp 0x140181a04
lea rdx, str.No_SSLv2_support
mov rcx, rsi
call fcn.140169a60
mov eax, 4
jmp 0x140181a09
lea rdx, str.No_SSLv3_support
mov rcx, rsi
call fcn.140169a60
mov eax, 4
jmp 0x140181a09
lea rdx, str.Unrecognized_parameter_passed_via_CURLOPT_SSLVERSION
jmp 0x1401819fc
lea rdx, str.Insufficient_randomness
mov rcx, rsi
call fcn.140169a60
mov eax, 0x23
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.140154c90
mov rbx, qword [rsp + 0x2d8]
add rsp, 0x280
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret