Function at 0x14014c890
Capabilities:
Encode data using base64 via winapi

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
lea rbp, [rax - 0x118]
sub rsp, 0x200
mov qword [rbp - 0x48], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
mov rax, qword [0x1402338a8]
xor rax, rsp
mov qword [rbp + 0xf8], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rbp - 0x40], rdx
xor esi, esi
mov dword [rsp + 0x30], esi
mov rdx, qword [rcx]
mov rcx, qword [r8]
mov rax, qword [r8 + 8]
sub rax, rcx
mov qword [rbp + 0xb8], rax
mov qword [rbp + 0xb0], rcx
mov rcx, qword [rdx + 0x38]
test rcx, rcx
je 0x14014ccf5
mov rax, qword [rcx]
lea r9, [rbp + 0xb8]
lea r8, [rbp + 0xb0]
lea rdx, [rbp + 0xe0]
mov rax, qword [rax + 0x10]
call qword [case.0x140055453.0]
mov rdx, qword [rbx + 8]
lea rcx, [rbp + 0x90]
call fcn.14000b4bc
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140044aa8
mov rbx, rax
lea rdx, str.authId
lea rcx, [rbp + 0x10]
call fcn.14000ec4c
mov rax, qword [rbx]
mov qword [rbx], rsi
mov qword [rbp + 0x30], rax
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14014c972
mov rax, qword [rcx]
lea edx, [rsi + 1]
mov rax, qword [rax + 0xc0]
call qword [case.0x140055453.0]
lea rbx, [rbp + 0xf0]
lea rax, [rbp + 0xe0]
sub ebx, eax
lea rax, [rbp + 0xb8]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x48], rsi
lea rax, [rbp + 0xb8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x40000001
mov edx, ebx
lea rcx, [rbp + 0xe0]
call qword [sym.imp.CRYPT32.dll_CryptBinaryToStringW]
test eax, eax
je 0x14014ccfb
movdqa xmm0, xmmword [0x1401cfe00]
movdqu xmmword [rbp + 0xd0], xmm0
mov word [rbp + 0xc0], si
lea rax, [rbp + 0xb8]
mov qword [rbp + 0xb0], rax
mov r8d, dword [rbp + 0xb8]
lea rdx, [rbp + 0xc0]
lea rcx, [rsp + 0x38]
call fcn.140039048
nop
mov r9, qword [rax]
cmp qword [r9 + 0x18], 8
jb 0x14014ca0a
mov r9, qword [r9]
mov rax, qword [rbp + 0xb0]
mov qword [rsp + 0x20], rax
mov r8d, 0x40000001
mov edx, ebx
lea rcx, [rbp + 0xe0]
call qword [sym.imp.CRYPT32.dll_CryptBinaryToStringW]
mov ebx, eax
lea rcx, [rsp + 0x38]
call fcn.140036b24
test ebx, ebx
je 0x14014cd1c
movups xmm0, xmmword [rbp + 0xc0]
movups xmmword [rbp - 0x38], xmm0
movups xmm1, xmmword [rbp + 0xd0]
movups xmmword [rbp - 0x28], xmm1
movdqa xmm0, xmmword [0x1401cfe00]
movdqu xmmword [rbp + 0xd0], xmm0
mov word [rbp + 0xc0], si
lea rcx, [rbp + 0xc0]
call fcn.14000f680
mov dword [rsp + 0x30], ntohs
lea rdx, [rbp - 0x38]
lea rcx, [rsp + 0x58]
call fcn.140044aa8
mov rbx, rax
lea rdx, [0x1401cfbd0]
lea rcx, [rbp + 0x38]
call fcn.14000ec4c
mov rax, qword [rbx]
mov qword [rbx], rsi
mov qword [rbp + 0x58], rax
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14014caca
mov rax, qword [rcx]
mov edx, 1
mov rax, qword [rax + 0xc0]
call qword [case.0x140055453.0]
lea rbx, [rbp + 0xf8]
lea rax, [rbp + 0xf0]
sub ebx, eax
lea rax, [rbp + 0xb8]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x68], rsi
lea rax, [rbp + 0xb8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x40000001
mov edx, ebx
lea rcx, [rbp + 0xf0]
call qword [sym.imp.CRYPT32.dll_CryptBinaryToStringW]
test eax, eax
je 0x14014cd3d
movdqa xmm0, xmmword [0x1401cfe00]
movdqu xmmword [rbp + 0xd0], xmm0
mov word [rbp + 0xc0], si
lea rax, [rbp + 0xb8]
mov qword [rsp + 0x38], rax
mov r8d, dword [rbp + 0xb8]
lea rdx, [rbp + 0xc0]
lea rcx, [rbp + 0xb0]
call fcn.140039048
nop
mov r9, qword [rax]
cmp qword [r9 + 0x18], 8
jb 0x14014cb62
mov r9, qword [r9]
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r8d, 0x40000001
mov edx, ebx
lea rcx, [rbp + 0xf0]
call qword [sym.imp.CRYPT32.dll_CryptBinaryToStringW]
mov ebx, eax
lea rcx, [rbp + 0xb0]
call fcn.140036b24
test ebx, ebx
je 0x14014ccd4
movups xmm0, xmmword [rbp + 0xc0]
movups xmmword [rbp - 0x18], xmm0
movups xmm1, xmmword [rbp + 0xd0]
movups xmmword [rbp - 8], xmm1
movdqa xmm0, xmmword [0x1401cfe00]
movdqu xmmword [rbp + 0xd0], xmm0
mov word [rbp + 0xc0], si
lea rcx, [rbp + 0xc0]
call fcn.14000f680
mov dword [rsp + 0x30], 0x7e
lea rdx, [rbp - 0x18]
lea rcx, [rsp + 0x60]
call fcn.140044aa8
mov rbx, rax
lea rdx, str.hash
lea rcx, [rbp + 0x60]
call fcn.14000ec4c
mov rax, qword [rbx]
mov qword [rbx], rsi
mov qword [rbp + 0x80], rax
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14014cc26
mov rax, qword [rcx]
mov edx, 1
mov rax, qword [rax + 0xc0]
call qword [case.0x140055453.0]
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], rsi
lea r8, [rbp + 0x88]
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x70]
call fcn.14013e178
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x40]
call fcn.140044b94
mov rcx, rax
lea rax, [0x1401cfba0]
mov qword [rdi], rax
mov rax, qword [rcx]
mov qword [rcx], rsi
mov qword [rdi + 8], rax
mov dword [rsp + 0x30], 0x7f
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14014cc96
mov rax, qword [rcx]
mov edx, 1
mov rax, qword [rax + 0xc0]
call qword [case.0x140055453.0]
nop
lea r9, [fcn.140014ae0]
mov edx, 0x28
lea r8d, [rdx - 0x25]
lea rcx, [rbp + 0x10]
call fcn.1401540a0
mov rax, rdi
mov rcx, qword [rbp + 0xf8]
xor rcx, rsp
call fcn.140154030
mov rbx, qword [rsp + 0x238]
add rsp, 0x200
pop rdi
pop rsi
pop rbp
ret
lea rdx, str.crypt_binary_to_string
lea rcx, [rbp - 0x78]
call fcn.14003a784
lea rdx, [0x14022b0c8]
lea rcx, [rbp - 0x78]
call fcn.1401556e8
nop
call fcn.14003b638
nop
lea rdx, str.crypt_binary_to_string
lea rcx, [rbp - 0x78]
call fcn.14003a784
lea rdx, [0x14022b0c8]
lea rcx, [rbp - 0x78]
call fcn.1401556e8
nop
lea rdx, str.crypt_binary_to_string
lea rcx, [rbp - 0x60]
call fcn.14003a784
lea rdx, [0x14022b0c8]
lea rcx, [rbp - 0x60]
call fcn.1401556e8
nop
lea rdx, str.crypt_binary_to_string
lea rcx, [rbp - 0x60]
call fcn.14003a784
lea rdx, [0x14022b0c8]
lea rcx, [rbp - 0x60]
call fcn.1401556e8
int3