Function at 0x140060300
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
mov ebx, edx
mov rax, qword [0x1404a7eb8]
xor rax, rsp
mov qword [rsp + 0x50], rax
test bl, 0x3f
je 0x140060347
mov dword [rsp + 0x20], 0x3a1
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_rsa_rsa_impl.c.inc
xor r15d, r15d
mov ecx, 4
xor edx, edx
mov r8d, 0x44
jmp 0x14006036e
cmp ebx, 0x3ffffff
jb 0x14006038e
mov dword [rsp + 0x20], 0x3c6
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_rsa_rsa_impl.c.inc
xor r15d, r15d
mov ecx, 4
xor edx, edx
mov r8d, 0x80
call fcn.1400885a0
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
cmp rcx, qword [0x1404a7eb8]
je 0x1400607ca
call fcn.14029fd30
int3
mov rdi, r9
mov r14, rcx
mov r13, qword [rsp + 0xd0]
mov eax, dword [r8 + 8]
test rax, rax
je 0x140060431
mov rcx, qword [r8]
mov r9, qword [rcx]
xor r9, 3
cmp eax, 2
jl 0x14006042c
mov edx, 1
cmp eax, 5
jb 0x140060420
lea r10, [rax - 1]
mov r11, r10
and r11, 0xfffffffffffffffc
lea rdx, [r11 + 1]
movq xmm1, r9
pxor xmm0, xmm0
xor r9d, r9d
nop dword [rax]
movdqu xmm2, xmmword [rcx + r9*8 + 8]
por xmm1, xmm2
movdqu xmm2, xmmword [rcx + r9*8 + 0x18]
por xmm0, xmm2
add r9, 4
cmp r11, r9
jne 0x1400603e0
por xmm0, xmm1
pshufd xmm1, xmm0, 0xee
por xmm1, xmm0
movq r9, xmm1
cmp r10, r11
je 0x14006042c
nop word cs:[rax + rax]
or r9, qword [rcx + rdx*8]
inc rdx
cmp rax, rdx
jne 0x140060420
test r9, r9
je 0x140060441
lea ebp, [rbx + rbx*4]
cmp byte [r13 + 0x28], 0
jne 0x1400604ce
jmp 0x14006045a
cmp dword [r8 + 0x10], 0
lea eax, [rbx*8]
lea ebp, [rbx + rbx*4]
cmove ebp, eax
cmp byte [r13 + 0x28], 0
jne 0x1400604ce
mov rcx, qword [r13 + 0x10]
mov r15, qword [r13 + 0x20]
cmp rcx, qword [r13 + 0x18]
jne 0x1400604b9
lea rax, [rcx + rcx*2]
shr rax, 1
test rcx, rcx
mov esi, 0x20
cmovne rsi, rax
cmp rsi, rcx
setbe al
mov rcx, rsi
shr rcx, 0x3d
setne cl
or cl, al
jne 0x1400604c7
lea rdx, [rsi*8]
mov rcx, qword [r13 + 8]
mov r12, r8
call fcn.1400987b0
mov r8, r12
test rax, rax
je 0x1400604c7
mov qword [r13 + 8], rax
mov qword [r13 + 0x18], rsi
mov rcx, qword [r13 + 0x10]
jmp 0x1400604bd
mov rax, qword [r13 + 8]
mov qword [rax + rcx*8], r15
inc qword [r13 + 0x10]
jmp 0x1400604ce
mov word [r13 + 0x28], 0x101
mov qword [rsp + 0x40], r8
mov rcx, r13
call fcn.140028b10
test rax, rax
je 0x1400607ab
mov r12, rax
xor r15d, r15d
mov esi, 1
mov rcx, r14
mov edx, ebx
xor r8d, r8d
mov r9d, 1
call fcn.1400377e0
test eax, eax
je 0x1400607ae
mov rax, qword [rsp + 0xd8]
cmp ebp, 2
cmovl ebp, esi
mov rsi, rax
dec ebp
mov dword [rsp + 0x34], ebp
xor ebp, ebp
mov dword [rsp + 0x30], 0
jmp 0x14006056b
mov rcx, r14
mov rdx, qword [rsp + 0xc0]
call fcn.1400284c0
xor ecx, ecx
test eax, eax
setle cl
test ecx, ecx
je 0x1400605bd
xor r15d, r15d
mov rcx, r14
mov edx, ebx
xor r8d, r8d
mov r9d, 1
call fcn.1400377e0
inc ebp
test eax, eax
je 0x1400607ae
test rsi, rsi
je 0x140060585
xor r15d, r15d
xor ecx, ecx
mov edx, ebp
mov r8, rsi
call qword [rsi + ioctlsocket]
test eax, eax
je 0x1400607ae
test rdi, rdi
je 0x140060530
mov rcx, r12
mov rdx, r14
mov r8, rdi
mov r9, r13
call fcn.140033d70
test eax, eax
je 0x1400607ab
mov rcx, r12
mov rdx, qword [rsp + 0xc8]
call fcn.1400284c0
test eax, eax
jg 0x140060530
jmp 0x14006054b
movsxd rax, dword [r14 + 8]
xor esi, esi
mov qword [rsp + 0x38], rax
cmp rax, 0x11
setge sil
shl esi, 9
add rsi, 0x200
inc ebp
mov r13d, 1
nop word cs:[rax + rax]
lea rax, [0x14039a4f0]
movzx r15d, word [rax + r13*2]
mov rcx, r14
mov edx, r15d
call fcn.14002baf0
xor ecx, ecx
test ax, ax
sete cl
test ecx, ecx
jne 0x1400606bd
inc r13
cmp rsi, r13
jne 0x1400605f0
lea rcx, [0x1404a9578]
lea rdx, [0x140027730]
call fcn.1400a4e60
mov rcx, r12
mov rdx, r14
lea r8, [0x1404a9580]
call fcn.1400270d0
test eax, eax
mov r13, qword [rsp + 0xd0]
je 0x1400607ab
lea rcx, [rsp + 0x4c]
mov rdx, r12
mov r8, qword [rsp + 0x40]
mov r9, r13
call fcn.140030ea0
test eax, eax
je 0x1400607ab
mov eax, dword [rsp + 0x4c]
test eax, eax
je 0x14006074c
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
lea rcx, [rsp + 0x48]
mov rdx, r14
xor r8d, r8d
mov r9, r13
call fcn.140036450
test eax, eax
je 0x1400607ab
cmp dword [rsp + 0x48], 0
je 0x14006074c
jmp 0x14006083e
movzx edx, r15w
mov r10, qword [rsp + 0x38]
test r10d, r10d
je 0x14006073c
mov rax, qword [r14]
xor rdx, qword [rax]
cmp r10d, 2
jl 0x14006073c
mov ecx, 1
cmp r10d, 5
jb 0x140060730
lea r8, [r10 - 1]
mov r9, r8
and r9, 0xfffffffffffffffc
lea rcx, [r9 + 1]
movq xmm1, rdx
pxor xmm0, xmm0
xor edx, edx
movdqu xmm2, xmmword [rax + rdx*8 + 8]
por xmm1, xmm2
movdqu xmm2, xmmword [rax + rdx*8 + 0x18]
por xmm0, xmm2
add rdx, 4
cmp r9, rdx
jne 0x1400606fc
por xmm0, xmm1
pshufd xmm1, xmm0, 0xee
por xmm1, xmm0
movq rdx, xmm1
cmp r8, r9
je 0x14006073c
or rdx, qword [rax + rcx*8]
inc rcx
cmp r10, rcx
jne 0x140060730
test rdx, rdx
jne 0x14006074c
cmp dword [r14 + 0x10], 0
je 0x14006061f
mov r15d, dword [rsp + 0x30]
cmp r15d, dword [rsp + 0x34]
je 0x14006080d
inc r15d
mov rsi, qword [rsp + 0xd8]
test rsi, rsi
mov r13, qword [rsp + 0xd0]
je 0x140060786
mov ecx, 2
mov edx, r15d
mov r8, rsi
call qword [rsi + ioctlsocket]
test eax, eax
je 0x1400607ab
mov dword [rsp + 0x30], r15d
xor r15d, r15d
mov rcx, r14
mov edx, ebx
xor r8d, r8d
mov r9d, 1
call fcn.1400377e0
test eax, eax
jne 0x14006056b
jmp 0x1400607ae
xor r15d, r15d
cmp byte [r13 + 0x28], 0
je 0x1400607de
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
cmp rcx, qword [0x1404a7eb8]
jne 0x140060388
mov eax, r15d
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [r13 + 8]
mov rcx, qword [r13 + 0x10]
lea rdx, [rcx - 1]
mov qword [r13 + 0x10], rdx
mov rax, qword [rax + rcx*8 - 8]
mov qword [r13 + 0x20], rax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
cmp rcx, qword [0x1404a7eb8]
je 0x1400607ca
jmp 0x140060388
mov dword [rsp + 0x20], 0x410
lea r9, str..._.._third_party_boringssl_src_crypto_fipsmodule_rsa_rsa_impl.c.inc
xor r15d, r15d
mov ecx, 4
xor edx, edx
mov r8d, 0x8d
call fcn.1400885a0
mov r13, qword [rsp + 0xd0]
jmp 0x1400607ae
mov r15d, 1
jmp 0x1400607ae