Function at 0x1401a5150
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
mov eax, 0x58
call fcn.14012b0b0
sub rsp, rax
mov eax, dword [rcx + 0x48]
xor r13d, r13d
or r14d, 0xffffffff
mov dword [rbp + 0x48], 0x50
mov dword [rbp + 0x50], r13d
mov rbx, rcx
mov qword [rbp - 0x28], r13
mov r12d, r13d
cmp eax, 0x2112
jne 0x1401a51a0
cmp dword [rcx + 0x1a8], r12d
je 0x1401a5bf5
cmp eax, 0x2110
jne 0x1401a51ae
mov dword [rcx + 0x48], 0x2111
mov rax, qword [rcx + 8]
mov edx, 0x2111
mov dword [rcx + 0x1a8], 1
mov r9d, 1
lea rcx, [rbp + 0x58]
mov qword [rsp + 0x28], rcx
mov rcx, rbx
lea r8d, [rdx + 1]
mov dword [rsp + 0x20], 0x4000
call qword [rax + 0x60]
movsxd rsi, eax
cmp dword [rbp + 0x58], r12d
jne 0x1401a51f2
mov eax, esi
jmp 0x1401a5e0c
mov rcx, qword [rbx + 0x58]
mov qword [rbp + 0x60], rcx
mov r15, rcx
mov dword [rbx + 0x1a8], r13d
cmp esi, 0x23
jge 0x1401a5223
mov dword [rsp + 0x20], 0x3b2
lea r9, [0x1403b6b88]
mov r8d, 0xa0
jmp 0x1401a5dcb
movzx eax, byte [rcx + 1]
movzx edx, byte [rcx]
add rcx, 2
mov qword [rbp + 0x60], rcx
mov rcx, qword [rbx + 8]
shl edx, 8
or edx, eax
mov dword [rbx + 0x1ac], edx
mov rax, qword [rcx + 0xc8]
test byte [rax + 0x70], 8
je 0x1401a52a8
cmp edx, dword [rbx]
jle 0x1401a525a
cmp dword [rcx], 0x1ffff
jne 0x1401a52b4
xor r9d, r9d
xor r8d, r8d
mov rcx, rbx
lea edx, [r9 + 0x20]
call fcn.140179e40
mov rdx, qword [rbp + 0x60]
bt eax, 0xd
jae 0x1401a531b
movzx r8d, byte [rdx + 0x20]
mov ecx, r15d
sub ecx, edx
add ecx, esi
lea eax, [r8 + 0x21]
cmp eax, ecx
jb 0x1401a530a
mov dword [rsp + 0x20], 0x3da
lea r9, [0x1403b6ba8]
mov r8d, 0xa0
jmp 0x1401a5dcb
cmp edx, dword [rbx]
mov eax, r13d
setl al
test eax, eax
je 0x1401a525a
mov edx, Ordinal_142
mov dword [rsp + 0x20], 0x3c0
lea r9, [0x1403b6b98]
mov r8d, 0x10b
lea ecx, [rdx - 0x76]
call fcn.1401bb520
mov ecx, dword [rbx + 0x1ac]
mov eax, ecx
and eax, 0xffffff00
cmp eax, 0x300
jne 0x1401a52fe
cmp qword [rbx + 0xe8], r12
jne 0x1401a52fe
cmp qword [rbx + 0xf0], r12
jne 0x1401a52fe
mov dword [rbx], ecx
mov dword [rbp + 0x48], 0x46
jmp 0x1401a5ddf
cmp byte [r8 + rdx + 0x21], r12b
jne 0x1401a531b
mov eax, 1
jmp 0x1401a5e0c
movups xmm0, xmmword [rdx]
mov rax, qword [rbx + 0x80]
mov r13, rsi
movups xmmword [rax + 0xc0], xmm0
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rax + 0xd0], xmm1
mov rdx, qword [rbp + 0x60]
mov rax, rsi
add rdx, 0x20
mov qword [rbp + 0x60], rdx
movzx edi, byte [rdx]
inc rdx
sub rax, rdx
mov qword [rbp + 0x60], rdx
add rax, r15
cmp rax, rdi
jge 0x1401a5378
mov dword [rsp + 0x20], 0x3ec
lea r9, [0x1403b6bb8]
mov r8d, 0xa0
jmp 0x1401a5dcb
cmp edi, 0x20
ja 0x1401a5db6
mov dword [rbx + 0xa8], r12d
cmp dword [rbx + 0x3c], r12d
je 0x1401a539a
test dword [rbx + 0x19c], 0x10000
jne 0x1401a53d0
lea r9, [r15 + rsi]
mov r8d, edi
mov rcx, rbx
call fcn.14017d230
cmp eax, 1
jne 0x1401a53c7
mov rax, qword [rbx + 0x130]
mov ecx, dword [rax]
cmp dword [rbx], ecx
jne 0x1401a53d0
mov dword [rbx + 0xa8], 1
jmp 0x1401a53e5
cmp eax, 0xffffffff
je 0x1401a5df4
mov edx, 1
mov rcx, rbx
call fcn.14017cf40
test eax, eax
je 0x1401a5df4
mov r10, qword [rbp + 0x60]
mov rax, qword [rbx + 8]
add r10, rdi
mov qword [rbp + 0x60], r10
mov rcx, qword [rax + 0xc8]
test byte [rcx + 0x70], 8
je 0x1401a55f0
mov rax, r13
sub rax, r10
add rax, r15
cmp rax, 1
jge 0x1401a542e
mov dword [rsp + 0x20], 0x424
lea r9, [0x1403b6bd8]
mov r8d, 0xa0
jmp 0x1401a5dcb
movzx edi, byte [r10]
mov eax, r15d
inc r10
sub eax, r10d
mov qword [rbp + 0x60], r10
add eax, esi
cmp eax, edi
jae 0x1401a545f
mov dword [rsp + 0x20], 0x42b
lea r9, [0x1403b6be8]
mov r8d, 0xa0
jmp 0x1401a5dcb
xor r9d, r9d
xor r8d, r8d
mov rcx, rbx
lea edx, [r9 + 0x20]
call fcn.140179e40
bt eax, 0xd
jae 0x1401a5536
test edi, edi
je 0x1401a5536
mov rcx, qword [rbx + 0x88]
mov r8, rdi
mov rdx, qword [rbp + 0x60]
add rcx, 0x104
call fcn.140278ed0
mov rax, qword [rbx + 0x170]
mov r9, qword [rax + 0xc0]
test r9, r9
je 0x1401a54ec
mov rdx, qword [rbx + 0x88]
mov r8d, edi
add rdx, 0x104
mov rcx, rbx
call r9
test eax, eax
jne 0x1401a552f
mov dword [rbp + 0x48], Ordinal_46
lea r9, [0x1403b6c08]
mov dword [rsp + 0x20], 0x444
mov r8d, 0x134
jmp 0x1401a5dd2
mov rcx, qword [rbx + 0x88]
mov r8d, dword [rcx + 0x204]
lea rdx, [rcx + 4]
add rcx, 0x104
call fcn.14027b470
test eax, eax
je 0x1401a552f
mov dword [rbp + 0x48], Ordinal_46
lea r9, [0x1403b6c18]
mov dword [rsp + 0x20], 0x44d
mov r8d, 0x134
jmp 0x1401a5dd2
mov dword [rbp + 0x50], 1
mov r10, qword [rbp + 0x60]
mov rax, qword [rbx + 8]
add r10, rdi
mov qword [rbp + 0x60], r10
cmp dword [rax], 0x1ffff
jne 0x1401a55f0
mov ecx, dword [rbx + 0x1ac]
cmp ecx, 0xfefd
jg 0x1401a5578
test dword [rbx + 0x19c], 0x8000000
jne 0x1401a5578
mov dword [rbx], 0xfefd
call fcn.1401a9780
jmp 0x1401a55dd
mov rax, qword [rbx + 0x100]
test dword [rax + 0x54], 0x30000
je 0x1401a55be
mov edx, Ordinal_142
mov dword [rsp + 0x20], 0x45c
lea r9, [0x1403b6c28]
mov r8d, 0x183
lea ecx, [rdx - 0x76]
call fcn.1401bb520
mov eax, dword [rbx + 0x1ac]
mov dword [rbx], eax
mov dword [rbp + 0x48], 0x46
jmp 0x1401a5ddf
cmp ecx, 0xfeff
jg 0x1401a5619
test dword [rbx + 0x19c], 0x4000000
jne 0x1401a5619
mov dword [rbx], 0xfeff
call fcn.1401a9790
mov rcx, qword [rbx + 0x130]
mov qword [rbx + 8], rax
mov eax, dword [rbx]
mov dword [rcx], eax
mov r10, qword [rbp + 0x60]
mov rax, r13
sub rax, r10
add rax, r15
cmp rax, 2
jge 0x1401a564f
mov dword [rsp + 0x20], 0x471
lea r9, [0x1403b6c48]
mov r8d, 0xa0
jmp 0x1401a5dcb
mov edx, Ordinal_142
mov dword [rsp + 0x20], 0x466
lea r9, [0x1403b6c38]
mov r8d, 0x10b
lea ecx, [rdx - 0x76]
call fcn.1401bb520
mov eax, dword [rbx + 0x1ac]
mov dword [rbx], eax
mov dword [rbp + 0x48], 0x46
jmp 0x1401a5ddf
movzx edi, byte [r10]
movzx eax, byte [r10 + 1]
add r10, 2
shl edi, 8
or edi, eax
mov qword [rbp + 0x60], r10
jne 0x1401a5688
mov dword [rbp + 0x48], gethostbyname
lea r9, [0x1403b6c58]
mov dword [rsp + 0x20], 0x478
mov r8d, 0xb7
jmp 0x1401a5dd2
mov rdx, r13
lea ecx, [rdi + 1]
sub rdx, r10
add rdx, r15
cmp rdx, rcx
jge 0x1401a56ad
mov dword [rsp + 0x20], 0x480
lea r9, [0x1403b6c68]
jmp 0x1401a5dc5
lea r9, [rbp - 0x28]
mov r8d, edi
mov rdx, r10
mov rcx, rbx
call fcn.14017b550
test rax, rax
je 0x1401a5df4
mov rcx, qword [rbp + 0x60]
mov eax, edi
add rcx, rax
mov qword [rbp + 0x60], rcx
cmp dword [rbx + 0xa8], r12d
je 0x1401a5744
mov rax, qword [rbx + 0x130]
xor edi, edi
mov rcx, qword [rax + 0xd0]
mov esi, dword [rcx + 0x10]
mov rcx, qword [rbp - 0x28]
call fcn.1401a9e90
test eax, eax
jle 0x1401a571f
nop
mov rcx, qword [rbp - 0x28]
mov edx, edi
call fcn.1401aa050
cmp dword [rax + 0x10], esi
je 0x1401a5740
mov rcx, qword [rbp - 0x28]
inc edi
call fcn.1401a9e90
cmp edi, eax
jl 0x1401a5700
mov dword [rbp + 0x48], gethostbyname
lea r9, str.._ssl_s3_srvr.c
mov dword [rsp + 0x20], 0x4b8
mov r8d, Ordinal_219
jmp 0x1401a5dd2
mov rcx, qword [rbp + 0x60]
movzx r8d, byte [rcx]
mov rax, r13
inc rcx
mov qword [rbp - 0x18], r8
sub rax, rcx
mov qword [rbp + 0x60], rcx
add rax, r15
mov edi, r8d
cmp rax, r8
jge 0x1401a5778
mov dword [rsp + 0x20], 0x4c2
lea r9, [0x1403b63c8]
jmp 0x1401a5dc5
xor edx, edx
xor eax, eax
mov r14, rcx
test r8d, r8d
je 0x1401a5794
cmp byte [rax + rcx], r12b
je 0x1401a5794
inc edx
inc rax
cmp rax, rdi
jl 0x1401a5784
add rcx, r8
mov qword [rbp + 0x60], rcx
cmp edx, r8d
jl 0x1401a57ba
mov dword [rsp + 0x20], 0x4d1
lea r9, [0x1403b63d8]
mov r8d, 0xbb
jmp 0x1401a5dcb
cmp dword [rbx], 0x300
jl 0x1401a57fb
lea r8, [r15 + r13]
mov rcx, rbx
lea rdx, [rbp + 0x60]
call fcn.140188480
test eax, eax
jne 0x1401a57fb
mov edx, Ordinal_142
mov dword [rsp + 0x20], 0x4d8
lea r9, [0x1403b63e8]
lea ecx, [rax + 0x14]
lea r8d, [rdx + 0x59]
call fcn.1401bb520
jmp 0x1401a5df0
mov r8, qword [rbx + 0x80]
mov edx, 1
add r8, 0xa0
mov rcx, rbx
lea r9d, [rdx + 0x1f]
call fcn.140181e80
test eax, eax
jle 0x1401a5ddf
xor r13d, r13d
cmp dword [rbx + 0xa8], r12d
jne 0x1401a597f
cmp dword [rbx], 0x301
jl 0x1401a597f
cmp qword [rbx + 0x248], r12
je 0x1401a597f
mov rax, qword [rbx + 0x130]
mov rcx, rbx
mov qword [rbp - 0x20], r13
mov dword [rax + 0x10], gethostbyname
mov rdx, qword [rbx + 0x130]
mov rax, qword [rbx + 0x250]
mov r9, qword [rbp - 0x28]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x20]
lea r8, [rdx + 0x10]
mov qword [rsp + 0x20], rax
add rdx, 0x14
call qword [rbx + 0x248]
test eax, eax
je 0x1401a597f
mov rax, qword [rbp - 0x28]
mov rcx, qword [rbx + 0x130]
mov dword [rbx + 0xa8], 1
mov qword [rcx + 0xe0], rax
mov rax, qword [rbx + 0x130]
mov dword [rax + 0xb8], r13d
mov rcx, qword [rbp - 0x20]
mov qword [rbp - 0x28], r13
test rcx, rcx
jne 0x1401a591b
mov rcx, rbx
call fcn.14017a700
mov rdx, qword [rbx + 0x130]
mov r8, rax
mov rcx, rbx
mov rdx, qword [rdx + 0xe0]
call fcn.14018fb70
mov qword [rbp - 0x20], rax
mov rcx, rax
test rax, rax
jne 0x1401a591b
mov dword [rbp + 0x48], Ordinal_46
lea r9, [0x1403b63f8]
mov dword [rsp + 0x20], 0x502
mov r8d, 0xc1
jmp 0x1401a5dd2
mov rax, qword [rbx + 0x130]
mov qword [rax + 0xd0], rcx
mov rcx, qword [rbx + 0xb8]
test rcx, rcx
je 0x1401a593a
call fcn.1401a9c90
mov rcx, qword [rbx + 0xc0]
test rcx, rcx
je 0x1401a594b
call fcn.1401a9c90
mov rcx, qword [rbx + 0x130]
mov rcx, qword [rcx + 0xe0]
call fcn.1401a9bc0
mov rcx, qword [rbx + 0x130]
mov qword [rbx + 0xb8], rax
mov rcx, qword [rcx + 0xe0]
call fcn.1401a9bc0
mov qword [rbx + 0xc0], rax
mov rax, qword [rbx + 0x80]
mov qword [rax + 0x408], r13
mov rax, qword [rbx + 0x130]
mov r15d, dword [rax + 0xc8]
test r15d, r15d
je 0x1401a5aae
test dword [rbx + 0x19c], 0x20000
je 0x1401a59ca
mov dword [rsp + 0x20], 0x522
lea r9, [0x1403b6408]
mov r8d, 0x154
jmp 0x1401a5dd2
mov rcx, qword [rbx + 0x170]
mov esi, r13d
mov rcx, qword [rcx + 0xf8]
call fcn.1401a9e90
test eax, eax
jle 0x1401a5a36
nop dword [rax]
nop dword [rax + rax]
mov rcx, qword [rbx + 0x170]
mov edx, esi
mov rcx, qword [rcx + 0xf8]
call fcn.1401aa050
mov r12, rax
cmp r15d, dword [rax]
je 0x1401a5a28
mov rcx, qword [rbx + 0x170]
inc esi
mov rcx, qword [rcx + 0xf8]
call fcn.1401a9e90
cmp esi, eax
jl 0x1401a59f0
jmp 0x1401a5a36
mov rax, qword [rbx + 0x80]
mov qword [rax + 0x408], r12
mov rax, qword [rbx + 0x80]
cmp qword [rax + 0x408], 0
jne 0x1401a5a61
mov dword [rsp + 0x20], 0x52f
lea r9, [0x1403b6418]
mov r8d, 0x155
jmp 0x1401a5dd2
mov edx, r13d
mov rcx, r13
test rdi, rdi
je 0x1401a5a84
nop dword [rax]
movzx eax, byte [rcx + r14]
cmp eax, r15d
je 0x1401a5a84
inc edx
inc rcx
cmp rcx, rdi
jl 0x1401a5a70
cmp edx, dword [rbp - 0x18]
jl 0x1401a5b31
mov dword [rbp + 0x48], gethostbyname
lea r9, [0x1403b6428]
mov dword [rsp + 0x20], 0x53a
mov r8d, 0x156
jmp 0x1401a5dd2
cmp dword [rbx + 0xa8], r12d
jne 0x1401a5b2e
test dword [rbx + 0x19c], 0x20000
jne 0x1401a5b31
mov rax, qword [rbx + 0x170]
mov rcx, qword [rax + 0xf8]
test rcx, rcx
je 0x1401a5b31
call fcn.1401a9e90
mov r15d, eax
mov esi, r13d
test eax, eax
jle 0x1401a5b2e
nop word [rax + rax]
mov rcx, qword [rbx + 0x170]
mov edx, esi
mov rcx, qword [rcx + 0xf8]
call fcn.1401aa050
mov r12, rax
mov rcx, r13
mov edx, dword [rax]
test rdi, rdi
je 0x1401a5b27
movzx eax, byte [rcx + r14]
cmp edx, eax
je 0x1401a5ba9
inc rcx
cmp rcx, rdi
jl 0x1401a5b12
inc esi
cmp esi, r15d
jl 0x1401a5af0
mov r12, r13
cmp dword [rbx + 0xa8], 0
jne 0x1401a5cab
mov ecx, r13d
test r12, r12
je 0x1401a5b4a
mov ecx, dword [r12]
mov rax, qword [rbx + 0x130]
mov dword [rax + 0xc8], ecx
mov rax, qword [rbx + 0x130]
mov rcx, qword [rax + 0xe0]
test rcx, rcx
je 0x1401a5b6f
call fcn.1401a9c90
mov rcx, qword [rbx + 0x130]
mov rax, qword [rbp - 0x28]
mov qword [rcx + 0xe0], rax
cmp qword [rbp - 0x28], 0
jne 0x1401a5bbc
mov dword [rbp + 0x48], 0x50
lea r9, [0x1403b6438]
mov dword [rsp + 0x20], 0x56f
mov r8d, 0x44
jmp 0x1401a5dd2
mov rax, qword [rbx + 0x80]
mov qword [rax + 0x408], r12
jmp 0x1401a5b31
mov rcx, rbx
mov qword [rbp - 0x28], r13
call fcn.14018c1a0
test eax, eax
jne 0x1401a5bf1
mov edx, Ordinal_142
mov dword [rsp + 0x20], 0x574
lea r9, [0x1403b6448]
lea ecx, [rax + 0x14]
lea r8d, [rdx + 0x58]
call fcn.1401bb520
jmp 0x1401a5df0
or r14d, 0xffffffff
mov rdx, qword [rbx + 0x100]
mov rax, qword [rdx + 0x268]
test rax, rax
je 0x1401a5c4e
mov rdx, qword [rdx + 0x270]
mov rcx, rbx
call rax
test eax, eax
jne 0x1401a5c39
mov dword [rbp + 0x48], 0x50
lea r9, [0x1403b6458]
mov dword [rsp + 0x20], 0x57d
mov r8d, 0x179
jmp 0x1401a5dd2
jns 0x1401a5c47
mov dword [rbx + 0x28], 4
jmp 0x1401a5e09
mov dword [rbx + 0x28], 1
mov rcx, rbx
call fcn.14017a700
mov rdx, qword [rbx + 0x130]
mov r8, rax
mov rcx, rbx
mov rdx, qword [rdx + 0xe0]
call fcn.14018fb70
mov rcx, rax
test rax, rax
jne 0x1401a5c98
mov dword [rbp + 0x48], Ordinal_46
lea r9, [0x1403b6468]
mov dword [rsp + 0x20], 0x58a
mov r8d, 0xc1
jmp 0x1401a5dd2
mov rax, qword [rbx + 0x80]
mov qword [rax + 0x3a0], rcx
jmp 0x1401a5d51
test dword [rbx + 0x19c], 0x40000000
mov rdi, r13
mov rax, qword [rbx + 0x130]
mov rsi, r13
je 0x1401a5d3c
mov r15, qword [rax + 0xe0]
mov r14d, r13d
mov rcx, r15
call fcn.1401a9e90
test eax, eax
jle 0x1401a5d35
nop word [rax + rax]
mov edx, r14d
mov rcx, r15
call fcn.1401aa050
mov rcx, r15
test byte [rax + 0x1c], 0x20
cmovne rdi, rax
test byte [rax + 0x28], 2
cmovne rsi, rax
inc r14d
call fcn.1401a9e90
cmp r14d, eax
jl 0x1401a5ce0
test rdi, rdi
je 0x1401a5d20
mov rax, qword [rbx + 0x80]
mov qword [rax + 0x3a0], rdi
jmp 0x1401a5d51
test rsi, rsi
je 0x1401a5d35
mov rax, qword [rbx + 0x80]
mov qword [rax + 0x3a0], rsi
jmp 0x1401a5d51
mov rax, qword [rbx + 0x130]
mov rcx, qword [rbx + 0x80]
mov rax, qword [rax + 0xd0]
mov qword [rcx + 0x3a0], rax
mov rax, qword [rbx + 8]
mov rcx, qword [rax + 0xc8]
test byte [rcx + 0x70], 2
je 0x1401a5d6b
test byte [rbx + 0x140], 1
jne 0x1401a5d77
mov rcx, rbx
call fcn.140198540
test eax, eax
je 0x1401a5ddf
cmp dword [rbx], 0x300
jl 0x1401a5da6
lea rdx, [rbp + 0x48]
mov rcx, rbx
call fcn.140188090
test eax, eax
jne 0x1401a5da6
mov dword [rsp + 0x20], 0x5bd
lea r9, [0x1403b6478]
mov r8d, 0xe2
jmp 0x1401a5dd2
cmp dword [rbp + 0x50], 0
mov r14d, r13d
setne r14b
inc r14d
jmp 0x1401a5dfb
mov dword [rsp + 0x20], 0x3f2
lea r9, [0x1403b6bc8]
mov r8d, 0x9f
mov dword [rbp + 0x48], gethostbyname
mov edx, Ordinal_142
lea ecx, [rdx - 0x76]
call fcn.1401bb520
mov r8d, dword [rbp + 0x48]
mov edx, 2
mov rcx, rbx
call fcn.140186130
or r14d, 0xffffffff
mov dword [rbx + 0x48], 5
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x1401a5e09
call fcn.1401a9c90
mov eax, r14d
add rsp, 0x58
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret