Function at 0x140027ae0
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb8
mov ebx, r9d
mov r14, rcx
mov edi, dword [rsp + 0x120]
mov rax, qword [0x1403a1f58]
xor rax, rsp
mov qword [rsp + 0xb0], rax
cmp r8, 0xffffffffffffffff
jne 0x140027b29
mov rcx, rdx
mov rsi, rdx
call fcn.1402660b0
mov rdx, rsi
mov r8, rax
test edi, edi
mov esi, 0x2806
cmovne esi, edi
lea eax, [rbx - 0x1000]
cmp eax, 5
jae 0x140027b48
mov ecx, reloc.WS2_32.dll_socket
bt ecx, ebx
jb 0x140027b94
mov dword [rsp + 0x20], 0x78
lea r9, str..._.._third_party_boringssl_src_crypto_asn1_a_mbstr.c
mov ecx, ntohs
xor edx, edx
mov r8d, 0xb6
call fcn.14004bbe0
mov ebp, 0xffffffff
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.14025cd50
mov eax, ebp
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov qword [rsp + 0x38], r14
mov eax, eax
lea rcx, fcn.140033b30
mov rbp, qword [rcx + rax*8]
lea rcx, [0x1402a7748]
mov edi, dword [rcx + rax*4]
lea r14, [rsp + 0xa0]
mov rcx, r14
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], r8
call fcn.1400322e0
mov rcx, r14
call fcn.140029b00
test rax, rax
mov qword [rsp + 0x30], rbp
je 0x140027d1c
mov dword [rsp + 0x44], edi
mov r12, qword [rsp + 0x130]
lea eax, [rbx - 0x1002]
test eax, 0xfffffffd
sete byte [rsp + 0x2f]
xor edi, edi
lea r13, [rsp + 0xa0]
lea r14, [rsp + 0x70]
xor r15d, r15d
jmp 0x140027c24
add r15, rax
mov rcx, r13
call fcn.140029b00
test rax, rax
je 0x140027d21
mov rcx, r13
mov rdx, r14
call rbp
test eax, eax
je 0x140027e35
test rdi, rdi
jne 0x140027c50
cmp dword [rsp + 0x70], 0xfeff
sete al
and al, byte [rsp + 0x2f]
cmp al, 1
je 0x140027f7b
test sil, 2
je 0x140027ca5
mov ebp, dword [rsp + 0x70]
cmp ebp, 0x80
jb 0x140027c70
and esi, 0xfffffffd
jmp 0x140027ca0
mov ecx, ebp
call fcn.140093490
test eax, eax
jne 0x140027ca0
cmp ebp, 0x3d
ja 0x140027d0f
mov eax, ebp
movabs rcx, 0x2400fb8100000000
bt rcx, rax
jae 0x140027d0f
nop word cs:[rax + rax]
mov rbp, qword [rsp + 0x30]
mov ecx, dword [rsp + 0x70]
mov eax, esi
and eax, 0xffffffef
cmp ecx, 0x7f
cmovbe eax, esi
test sil, 0x10
cmove eax, esi
mov edx, eax
and edx, 0xfffffffb
cmp ecx, 0x100
cmovb edx, eax
test al, 4
cmove edx, eax
mov esi, edx
and esi, 0xfffff7ff
cmp ecx, 0x10000
cmovb esi, edx
test edx, 0x800
cmove esi, edx
test esi, esi
je 0x140027e55
inc rdi
call fcn.140033dc0
test r12, r12
jle 0x140027c10
cmp rdi, r12
jbe 0x140027c10
jmp 0x140027e62
mov eax, esi
and eax, 0xfffffffd
cmp ebp, 0x3f
cmovne esi, eax
jmp 0x140027ca0
xor r15d, r15d
xor edi, edi
mov r14, qword [rsp + 0x128]
test r14, r14
mov rax, qword [rsp + 0x38]
jle 0x140027d6d
cmp rdi, r14
jae 0x140027d6d
mov dword [rsp + 0x20], 0xae
lea r9, str..._.._third_party_boringssl_src_crypto_asn1_a_mbstr.c
mov ecx, ntohs
xor edx, edx
mov r8d, 0xae
call fcn.14004bbe0
lea rcx, str.minsize_zu
mov rdx, r14
call fcn.14004be40
jmp 0x140027b69
mov r14d, 0x1001
lea r13, [0x140033ef0]
mov ebp, reloc.WS2_32.dll_send
test sil, 2
jne 0x140027dcc
mov ebp, reloc.WS2_32.dll_shutdown
test sil, 0x10
jne 0x140027dcc
mov ebp, shutdown
test sil, 4
jne 0x140027dcc
test esi, 0x800
jne 0x140028006
test esi, 0x100
jne 0x140028023
test esi, 0x2000
jne 0x140028041
mov dword [rsp + 0x20], 0xce
jmp 0x140027f83
mov r15, rdi
test rax, rax
je 0x140027b6e
mov rsi, qword [rax]
mov r12, rsi
test rsi, rsi
jne 0x140027df6
mov ecx, ebp
call fcn.1400299e0
mov r12, rax
test rax, rax
je 0x140027b69
lea rcx, [rsp + 0x70]
call fcn.140030ce0
cmp r14d, ebx
jne 0x140027e97
mov rcx, r12
mov rdx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x50]
call fcn.140029810
test eax, eax
je 0x140027fea
mov dword [r12 + 4], ebp
mov rax, qword [rsp + 0x38]
mov qword [rax], r12
jmp 0x140027b6e
mov dword [rsp + 0x20], 0x83
lea r9, str..._.._third_party_boringssl_src_crypto_asn1_a_mbstr.c
mov ecx, ntohs
xor edx, edx
mov r8d, dword [rsp + 0x44]
jmp 0x140027b64
mov dword [rsp + 0x20], 0xa0
jmp 0x140027f83
mov dword [rsp + 0x20], 0xa7
lea r9, str..._.._third_party_boringssl_src_crypto_asn1_a_mbstr.c
mov ecx, ntohs
xor edx, edx
mov r8d, 0xad
call fcn.14004bbe0
lea rcx, str.maxsize_zu
mov rdx, r12
call fcn.14004be40
jmp 0x140027b69
inc r15
lea rcx, [rsp + 0x70]
mov rdx, r15
call fcn.140030cf0
test eax, eax
je 0x140027fea
lea rbx, [rsp + 0xa0]
mov rcx, rbx
mov rdx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x50]
call fcn.1400322e0
mov rcx, rbx
call fcn.140029b00
test rax, rax
je 0x140027f19
lea rdi, [rsp + 0xa0]
lea rbx, [rsp + 0x6c]
lea r14, [rsp + 0x70]
mov rcx, rdi
mov rdx, rbx
call qword [rsp + 0x30]
test eax, eax
je 0x140027f9c
mov edx, dword [rsp + 0x6c]
mov rcx, r14
call r13
test eax, eax
je 0x140027f9c
mov rcx, rdi
call fcn.140029b00
test rax, rax
jne 0x140027ee8
mov qword [rsp + 0x60], 0
lea rcx, [rsp + 0x70]
xor edx, edx
call fcn.140031320
test eax, eax
je 0x140027fbf
lea rcx, [rsp + 0x70]
lea rdx, [rsp + 0x60]
lea r8, [rsp + 0x58]
call fcn.140030da0
test eax, eax
je 0x140027fbf
mov r8, qword [rsp + 0x58]
test r8, r8
je 0x140027fbf
mov rax, r8
shr rax, 0x1f
jne 0x140027fbf
mov dword [r12 + 4], ebp
dec r8d
mov rdx, qword [rsp + 0x60]
mov rcx, r12
call fcn.1400299b0
jmp 0x140027e28
mov dword [rsp + 0x20], 0x8e
lea r9, str..._.._third_party_boringssl_src_crypto_asn1_a_mbstr.c
mov ecx, ntohs
xor edx, edx
mov r8d, 0x7e
jmp 0x140027b64
mov dword [rsp + 0x20], 0xf4
lea r9, str..._.._third_party_boringssl_src_crypto_asn1_a_mbstr.c
mov ecx, ntohs
xor edx, edx
mov r8d, 0x44
call fcn.14004bbe0
jmp 0x140027fea
mov dword [rsp + 0x20], 0xfe
lea r9, str..._.._third_party_boringssl_src_crypto_asn1_a_mbstr.c
mov ecx, ntohs
xor edx, edx
mov r8d, 0x44
call fcn.14004bbe0
mov rcx, qword [rsp + 0x60]
call fcn.140093110
test rsi, rsi
jne 0x140027ff7
mov rcx, r12
call fcn.140029980
lea rcx, [rsp + 0x70]
call fcn.140030d80
jmp 0x140027b69
add rdi, rdi
mov r14d, 0x1002
lea r13, [fcn.140033f20]
mov ebp, 0x1e
mov r15, rdi
jmp 0x140027dcf
shl rdi, 2
mov r14d, 0x1004
lea r13, [0x140033f80]
mov ebp, 0x1c
mov r15, rdi
jmp 0x140027dcf
mov r14d, 0x1000
lea r13, [fcn.140033df0]
mov ebp, ntohs
jmp 0x140027dcf