Function at 0x140300410
Capabilities:
Convert ip address from string

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r13
push r15
sub rsp, 0x5e8
mov rax, qword [0x14058f6b8]
xor rax, rsp
mov qword [rsp + 0x5d0], rax
mov rsi, qword [rcx + 0x10]
mov rbx, rdx
mov qword [rsp + 0x70], rsi
mov rbp, rcx
mov qword [rsp + 0x68], 0
call fcn.1402e35b0
mov rdx, rbx
mov qword [rsp + 0x80], rax
mov rcx, rbp
mov rdi, rax
call fcn.1402e3590
mov rcx, qword [rbx + 0xd8]
mov r13, rax
mov rax, qword [rsi + 8]
movzx r15d, byte [rdi + 0x68]
mov qword [rsp + 0x88], rax
mov rax, qword [r13 + 0x18]
mov qword [rsp + 0x78], rax
mov rax, qword [r13 + 0x40]
mov qword [rsp + 0x60], rax
mov rax, qword [r13 + 0x88]
mov qword [rsp + 0x58], rax
movzx eax, byte [rdi + 0x69]
mov rdi, qword [rsi + 0x20]
mov byte [rsp + 0x50], al
test rcx, rcx
je 0x1403004b8
cmp byte [rcx + 0x1b4], 0
jne 0x1403004d8
call fcn.1401f5930
test eax, eax
je 0x140300d07
mov rax, qword [rbx + 0xd8]
test rax, rax
je 0x1403004d8
mov byte [rax + 0x1b4], 1
mov qword [rsp + 0x630], r12
mov qword [rsp + 0x5e0], r14
mov dword [r13 + 0x70], 1
cmp r15d, 7
ja case.default.0x14030050e
lea rsi, [0x140000000]
movsxd rax, r15d
mov eax, dword [rsi + rax*4 + 0x300d20]
add rax, rsi
jmp rax
call fcn.1403e59b0
cmp qword [rdi], 0
mov r12, rax
je 0x140300681
mov rcx, qword [rbp + 0x10]
mov rsi, qword [rcx + 0x20]
mov r9, qword [rsi + 8]
test r9, r9
je 0x14030064c
mov rcx, qword [rbp + 8]
test rcx, rcx
je 0x14030063b
cmp byte [rcx + 0x24], 0
je 0x14030063b
mov r8d, 0x400
lea rdx, [rsp + 0x1d0]
mov rcx, r9
call fcn.1403de060
call fcn.1401f30a0
mov rcx, qword [rsi + 8]
call fcn.1403de670
cmp eax, 1
jne 0x140300583
lea r8, str.SSL_shutdown_finished
jmp 0x140300622
mov rcx, qword [rsi + 8]
lea rdx, [rsp + 0x1d0]
mov r8d, 0x400
call fcn.1403de060
mov rcx, qword [rsi + 8]
mov edx, eax
call fcn.1403dd670
mov r14d, eax
mov edx, eax
test eax, eax
je 0x14030061b
sub edx, 2
je 0x140300612
sub edx, 1
je 0x140300609
cmp edx, 3
je 0x14030061b
call fcn.1401f3540
test eax, eax
je 0x1403005dd
mov r8d, 0x400
lea rdx, [rsp + 0x1d0]
mov ecx, eax
call fcn.140301200
jmp 0x1403005e5
mov ecx, r14d
call fcn.1402ff2a0
mov r14, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r9, r14
lea r8, str.SSL_shutdown__error:__s__errno__d
mov rdx, rbp
mov dword [rsp + 0x20], eax
mov rcx, rbx
call fcn.1402ea6d0
jmp 0x14030062d
lea r8, str.SSL_shutdown_send_blocked
jmp 0x140300622
lea r8, str.SSL_shutdown_sent
jmp 0x140300622
lea r8, str.SSL_shutdown__EOF_from_server
mov rdx, rbp
mov rcx, rbx
call fcn.1402ea6d0
call fcn.1401f30a0
mov rcx, qword [rsi + 8]
call fcn.1403de4c0
mov rcx, qword [rsi + 8]
call fcn.1403dcf60
mov qword [rsi + 8], 0
mov rcx, qword [rsi]
test rcx, rcx
je 0x140300664
call fcn.1403dbf60
mov qword [rsi], 0
mov byte [rsi + 0x24], 0
mov rcx, qword [rsi + 0x18]
test rcx, rcx
je 0x14030067a
call fcn.140206870
mov qword [rsi + 0x18], 0
lea rsi, [0x140000000]
mov rcx, r12
call fcn.1403dc160
mov qword [rdi], rax
test rax, rax
jne 0x1403006c7
call fcn.1401f3ad0
mov ecx, eax
lea rdx, [rsp + 0xd0]
mov r8d, 0x100
call fcn.140301200
mov r8, rax
lea rdx, str.SSL:_couldnt_create_a_context:__s
mov rcx, rbx
call fcn.1402ea550
mov eax, 0x1b
jmp 0x1403008e8
xor r9d, r9d
mov rcx, rax
lea edx, [r9 + 0x21]
lea r8d, [r9 + 0x10]
call fcn.1403dbb70
cmp qword [rbx + 0x268], 0
je case.default.0x140300719
cmp byte [rbx + 0xa37], 0
je case.default.0x140300719
mov rcx, qword [rdi]
lea rdx, [0x1403012a0]
call fcn.1403dc7b0
mov rcx, qword [rdi]
xor r8d, r8d
mov r9, rbp
lea edx, [r8 + 0x10]
call fcn.1403dbb70
mov ecx, dword [rsi + r15*4 + 0x300d40]
add rcx, rsi
jmp rcx
cmp byte [r13 + 0xb2], 0
mov eax, 0x82024854
mov r12, qword [rdi]
mov r15d, 0x82024054
mov rcx, rbp
cmovne r15d, eax
call fcn.1402e35b0
xor r8d, r8d
mov r14, rax
mov esi, 0x302
movzx r9d, byte [rax + 0x68]
mov edx, r9d
sub edx, 1
je 0x14030077c
sub edx, 3
je 0x14030077c
sub edx, 1
je 0x140300777
sub edx, 1
je 0x14030076f
cmp edx, 1
jne 0x140300782
lea r8d, [rsi + 2]
jmp 0x140300787
mov r8d, 0x303
jmp 0x140300787
mov r8d, esi
jmp 0x140300787
mov r8d, 0x301
test r9d, r9d
je 0x14030079e
xor r9d, r9d
mov rcx, r12
lea edx, [r9 + 0x7b]
call fcn.1403dbb70
test eax, eax
je 0x1403008e3
mov eax, dword [r14 + 0x64]
cmp eax, 0x50000
jg 0x1403007b9
je 0x1403007d7
cmp eax, 0x40000
jne 0x1403007c7
mov esi, 0x301
jmp 0x1403007d7
cmp eax, 0x60000
je 0x1403007d2
cmp eax, 0x70000
je 0x1403007cb
xor esi, esi
jmp 0x1403007d7
mov esi, 0x304
jmp 0x1403007d7
mov esi, 0x303
xor r9d, r9d
mov r8d, esi
mov rcx, r12
lea edx, [r9 + 0x7c]
call fcn.1403dbb70
test eax, eax
je 0x1403008e3
mov rcx, qword [rdi]
mov edx, r15d
call fcn.1403dc7d0
mov r15, qword [rsp + 0x70]
mov rdx, qword [r15 + 0x18]
test rdx, rdx
je 0x140300867
lea rcx, [rsp + 0xa0]
call fcn.1402e2950
test eax, eax
jne 0x1403008d4
mov r8d, dword [rsp + 0xc4]
lea rdx, [rsp + 0xa0]
mov rcx, qword [rdi]
call fcn.1403dc570
test eax, eax
jne 0x1403008d4
mov rdx, qword [r15 + 0x18]
lea rcx, [rsp + 0xa0]
call fcn.1402e2a10
lea r8, [rsp + 0xa0]
mov rcx, rbx
lea rdx, str.ALPN:_curl_offers__s
call fcn.1402ea630
mov r8, qword [rsp + 0x78]
mov r9, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
test r8, r8
jne 0x140300889
test r9, r9
jne 0x140300889
test rcx, rcx
je 0x140300918
mov rax, qword [r13 + 0xa8]
mov rdx, qword [rdi]
mov qword [rsp + 0x40], rax
mov rax, qword [r13 + 0xa0]
mov qword [rsp + 0x38], rax
mov rax, qword [r13 + 0x98]
mov qword [rsp + 0x30], rax
mov rax, qword [r13 + 0x90]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov rcx, rbx
call fcn.1402ff350
test eax, eax
jne 0x140300918
mov eax, 0x3a
jmp 0x1403008e8
lea rdx, str.Error_setting_ALPN
mov rcx, rbx
call fcn.1402ea550
mov eax, 0x23
mov r12, qword [rsp + 0x630]
mov r14, qword [rsp + 0x5e0]
mov rcx, qword [rsp + 0x5d0]
xor rcx, rsp
call fcn.140398000
add rsp, 0x5e8
pop r15
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov r14, qword [rsp + 0x80]
mov rsi, qword [r14 + 0x20]
test rsi, rsi
je 0x14030095d
mov rcx, qword [rdi]
mov rdx, rsi
call fcn.1403dc6a0
mov r8, rsi
mov rcx, rbx
test eax, eax
jne 0x140300951
lea rdx, str.failed_setting_cipher_list:__s
call fcn.1402ea550
mov eax, 0x3b
jmp 0x1403008e8
lea rdx, str.Cipher_selection:__s
call fcn.1402ea630
mov rsi, qword [r14 + 0x28]
test rsi, rsi
je 0x14030099d
mov rcx, qword [rdi]
mov rdx, rsi
call fcn.1403e1cf0
mov r8, rsi
mov rcx, rbx
test eax, eax
jne 0x140300991
lea rdx, str.failed_setting_TLS_1.3_cipher_suite:__s
call fcn.1402ea550
mov eax, 0x3b
jmp 0x1403008e8
lea rdx, str.TLS_1.3_cipher_selection:__s
call fcn.1402ea630
mov rcx, qword [rdi]
mov edx, 1
call fcn.1403dc7e0
mov rsi, qword [r14 + 0x58]
test rsi, rsi
je 0x1403009e5
mov rcx, qword [rdi]
xor r8d, r8d
mov r9, rsi
lea edx, [r8 + 0x5c]
call fcn.1403dbb70
test eax, eax
jne 0x1403009e5
mov r8, rsi
lea rdx, str.failed_setting_curves_list:__s
mov rcx, rbx
call fcn.1402ea550
mov eax, 0x3b
jmp 0x1403008e8
mov rcx, qword [rdi]
xor edx, edx
cmp byte [rsp + 0x50], dl
setne dl
xor r8d, r8d
call fcn.1403dc7f0
call fcn.1403117c0
test al, al
je 0x140300a11
mov rcx, qword [rdi]
lea rdx, [0x140301050]
call fcn.1403dc7a0
mov rcx, qword [rdi]
xor r9d, r9d
mov r8d, 0x301
lea edx, [r9 + 0x2c]
call fcn.1403dbb70
mov rcx, qword [rdi]
lea rdx, [0x140301060]
call fcn.1403e0590
cmp qword [rbx + 0x5a0], 0
je 0x140300aa2
cmp byte [rdi + 0x24], 0
jne 0x140300a5f
mov r8, qword [rdi]
mov rdx, rbx
mov rcx, rbp
call fcn.1402ff030
test eax, eax
jne 0x1403008e8
mov byte [rdi + 0x24], 1
mov dl, 1
mov rcx, rbx
call fcn.1402d8150
mov r8, qword [rbx + 0x5a8]
mov rcx, rbx
mov rdx, qword [rdi]
call qword [rbx + 0x5a0]
xor edx, edx
mov rcx, rbx
mov esi, eax
call fcn.1402d8150
test esi, esi
je 0x140300aa2
lea rdx, str.error_signaled_by_ssl_ctx_callback
mov rcx, rbx
call fcn.1402ea550
mov eax, esi
jmp 0x1403008e8
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x140300ab0
call fcn.1403dcf60
mov rcx, qword [rdi]
call fcn.1403dda90
mov qword [rdi + 8], rax
test rax, rax
jne 0x140300ada
lea rdx, str.SSL:_couldnt_create_a_context__handle_
mov rcx, rbx
call fcn.1402ea550
mov eax, 0x1b
jmp 0x1403008e8
mov r8, rbp
xor edx, edx
mov rcx, rax
call fcn.1403de5b0
cmp byte [r14 + 0x6b], 0
je 0x140300b02
mov rcx, qword [rdi + 8]
xor r9d, r9d
lea edx, [r9 + 0x41]
lea r8d, [r9 + 1]
call fcn.1403dcab0
mov rcx, qword [rdi + 8]
call fcn.1403de4c0
mov rsi, qword [rsp + 0x88]
lea r8, [rsp + 0x90]
mov rdx, rsi
mov qword [rdi + 0x10], 0
mov ecx, 2
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jne 0x140300b83
lea r8, [rsp + 0x90]
mov rdx, rsi
lea ecx, [rax + 0x17]
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jne 0x140300b83
xor r8d, r8d
mov rdx, rsi
mov rcx, rbx
call fcn.1402e4010
test rax, rax
je 0x140300b77
mov rcx, qword [rdi + 8]
xor r8d, r8d
mov r9, rax
lea edx, [r8 + 0x37]
call fcn.1403dcab0
test eax, eax
jne 0x140300b83
lea rdx, str.Failed_set_SNI
jmp 0x1403008db
mov rcx, qword [rdi + 8]
mov r8, rbp
xor edx, edx
call fcn.1403de5b0
cmp byte [r13 + 0x6c], 0
je 0x140300c16
mov rcx, rbx
call fcn.1402e3fa0
xor r9d, r9d
lea r8, [rsp + 0x68]
mov rdx, rbx
mov rcx, rbp
call fcn.1402e3b40
test al, al
jne 0x140300c0e
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rdi + 8]
call fcn.1403e0990
mov rcx, rbx
test eax, eax
jne 0x140300c02
call fcn.1402e3fd0
call fcn.1401f3540
mov ecx, eax
lea rdx, [rsp + 0xd0]
mov r8d, 0x100
call fcn.140301200
mov r8, rax
lea rdx, str.SSL:_SSL_set_session_failed:__s
mov rcx, rbx
call fcn.1402ea550
jmp 0x1403008e3
lea rdx, str.SSL_reusing_session_ID
call fcn.1402ea630
mov rcx, rbx
call fcn.1402e3fd0
lea rdx, str.OpenSSL_CF_BIO
mov ecx, 0x401
call fcn.1402068c0
mov rbx, rax
test rax, rax
je 0x140300cbb
lea rdx, [0x140300170]
mov rcx, rax
call fcn.1402069d0
lea rdx, [0x140300070]
mov rcx, rbx
call fcn.1402069b0
lea rdx, [0x1402fffe0]
mov rcx, rbx
call fcn.140206990
lea rdx, [0x1402fffa0]
mov rcx, rbx
call fcn.140206980
lea rdx, [0x140300060]
mov rcx, rbx
call fcn.1402069a0
mov rcx, rbx
mov qword [rdi + 0x18], rbx
call fcn.1401f8b00
mov rbx, rax
test rax, rax
je 0x140300cbf
mov rdx, rbp
mov rcx, rax
call fcn.1401f8f90
mov rcx, qword [rdi + 8]
mov r8, rbx
mov rdx, rbx
call fcn.1403de280
xor eax, eax
mov dword [r15 + 4], 1
jmp 0x1403008e8
mov qword [rdi + 0x18], rbx
mov eax, 0x1b
jmp 0x1403008e8
lea rdx, str.No_SSLv2_support
mov rcx, rbx
call fcn.1402ea550
mov eax, 4
jmp 0x1403008e8
lea rdx, str.No_SSLv3_support
mov rcx, rbx
call fcn.1402ea550
mov eax, 4
jmp 0x1403008e8
lea rdx, str.Unrecognized_parameter_passed_via_CURLOPT_SSLVERSION
jmp 0x1403008db
lea rdx, str.Insufficient_randomness
mov rcx, rbx
call fcn.1402ea550
mov eax, 0x23
jmp 0x1403008f8