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

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x88
lea rbp, [rsp + 0x80]
mov qword [rbp], 0xfffffffffffffffe
mov dword [rbp - 0x14], r8d
mov r12, rdx
mov qword [rbp - 0x10], rcx
lea rsi, [rbp - 8]
mov qword [rbp - 0x38], rsi
mov rax, qword [rbp - 0x38]
mov r13d, 0x83e9db0a
lea r15, [0x14072108c]
lea r14, [rbp - 0x58]
jmp 0x14036dc0f
mov eax, dword [0x140b7e128]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov r13d, 0xe970fefd
mov eax, 0xc45424fd
nop word [rax + rax]
cmove r13d, eax
cmp dword [0x140b7e12c], 0xa
cmovl r13d, eax
cmp r13d, 0xf48dccaa
jg 0x14036dd10
cmp r13d, 0xab517bfe
jg 0x14036dd60
cmp r13d, 0x9a8c1962
jg 0x14036dde8
cmp r13d, 0x8ff68344
jg 0x14036debd
cmp r13d, 0x83e9db0a
je 0x14036e0f1
cmp r13d, 0x8ee6c482
jne 0x14036dc0f
mov rcx, qword [rbp - 0x10]
call fcn.140320990
mov rcx, r15
call fcn.140342920
mov ecx, dword [0x140b85508]
lea edx, [rcx - 1]
imul edx, ecx
test dl, 1
sete byte [rbp - 1]
mov edx, dword [0x140b8550c]
mov ecx, 0x9e905ce4
mov ebx, 0x27cdb2b5
cmove ecx, ebx
cmp edx, 0xa
setl byte [rbp - 0x20]
cmovl ecx, ebx
mov edx, 0x203f4908
nop
cmp edx, 0x203f4907
jle 0x14036dce0
cmp edx, 0x38eaf512
je 0x14036e103
cmp edx, 0x27cdb2b5
je 0x14036dcf4
cmp edx, 0x203f4908
jne 0x14036dca0
movzx ebx, byte [rbp - 1]
cmp byte [rbp - 0x20], 0
mov edx, 0x9e905ce4
mov edi, 0xa2eac9e6
cmovne edx, edi
test bl, bl
cmovne edx, edi
jmp 0x14036dca0
cmp edx, 0x9e905ce4
je 0x14036dcfb
cmp edx, 0xa2eac9e6
jne 0x14036dca0
mov edx, ecx
jmp 0x14036dca0
mov edx, 0x38eaf512
jmp 0x14036dca0
mov edx, 0xa2eac9e6
jmp 0x14036dca0
cmp r13d, 0x32e36b7e
jg 0x14036dda0
cmp r13d, 0x1aa487b9
jg 0x14036de27
cmp r13d, 0xf89e5705
jg 0x14036df83
cmp r13d, 0xf48dccab
je 0x14036dbdd
cmp r13d, 0xf5a72519
jne 0x14036dc0f
mov rax, qword [rbp - 0x38]
mov r13d, 0x76f8979a
jmp 0x14036dc0f
cmp r13d, 0xc6ce44bd
jg 0x14036de59
cmp r13d, 0xb7ea03fb
jg 0x14036dfa8
cmp r13d, 0xab517bff
je 0x14036e11d
cmp r13d, 0xacc3860e
jne 0x14036dc0f
mov r13d, 0xfcf7abe5
jmp 0x14036dc0f
cmp r13d, 0x553d6fbd
jg 0x14036de8b
cmp r13d, 0x449bbd60
jg 0x14036e001
cmp r13d, 0x32e36b7f
je 0x14036e128
cmp r13d, 0x3b9be822
jne 0x14036dc0f
mov rcx, qword [rbp - 0x28]
call fcn.1406ad678
mov r13d, 0xcd652a40
jmp 0x14036dc0f
cmp r13d, 0xa610c6b7
jg 0x14036e03a
cmp r13d, 0x9a8c1963
je 0x14036e133
cmp r13d, 0x9e256327
jne 0x14036dc0f
cmp byte [rbp - 3], 0
mov r13d, 0x553d6fbe
mov eax, 0x4c7ff83f
cmovne r13d, eax
jmp 0x14036dc0f
cmp r13d, 0x1d1668c6
jg 0x14036e06c
cmp r13d, 0x1aa487ba
je 0x14036e152
cmp r13d, 0x1b3cde55
jne 0x14036dc0f
mov r13d, 0x3b9be822
jmp 0x14036dc0f
cmp r13d, 0xe51318ab
jg 0x14036e09a
cmp r13d, 0xc6ce44be
je 0x14036e192
cmp r13d, 0xcd652a40
jne 0x14036dc0f
mov r13d, 0x9a8c1963
jmp 0x14036dc0f
cmp r13d, 0x6315ffed
jg 0x14036e0d9
cmp r13d, 0x553d6fbe
je 0x14036e1c5
cmp r13d, 0x5771f6d8
jne 0x14036dc0f
mov r13d, 0x1b3cde55
jmp 0x14036dc0f
cmp r13d, 0x8ff68345
je 0x14036e1d0
cmp r13d, 0x93d6b878
jne 0x14036dc0f
mov rcx, qword [rbp - 0x10]
mov rdx, r14
call fcn.140350240
mov rcx, r14
call fcn.14028e1d0
mov eax, dword [0x140b7dfe0]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
sete al
cmp dword [0x140b7dfe4], 0xa
setl cl
or cl, al
mov eax, 0x43932f8c
mov ecx, 0x66505aa
cmovne eax, ecx
mov ecx, 0x43932f8c
mov edx, 0xc67e38d5
cmovne ecx, edx
mov edx, 0xf3e2cdc4
nop dword [rax + rax]
cmp edx, 0xf3e2cdc3
jle 0x14036df60
cmp edx, 0xf3e2cdc4
je 0x14036df78
cmp edx, 0x66505aa
je 0x14036df7c
cmp edx, 0x43932f8c
jne 0x14036df30
mov edx, 0xc67e38d5
jmp 0x14036df30
cmp edx, 0xa98d4f23
je 0x14036e1f6
cmp edx, 0xc67e38d5
jne 0x14036df30
mov edx, eax
jmp 0x14036df30
mov edx, ecx
jmp 0x14036df30
mov edx, 0xa98d4f23
jmp 0x14036df30
cmp r13d, 0xf89e5706
je 0x14036e226
cmp r13d, 0xfcf7abe5
jne 0x14036dc0f
mov r13d, 0xf5a72519
jmp 0x14036dc0f
cmp r13d, 0xb7ea03fc
je 0x14036e231
cmp r13d, 0xc45424fd
jne 0x14036dc0f
mov qword [rsp + 0x20], rsi
mov rcx, r12
mov edx, dword [rbp - 0x14]
mov r8d, 0x40000001
xor r9d, r9d
call qword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
test eax, eax
setne byte [rbp - 2]
mov eax, dword [0x140b7e128]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov r13d, 0xe970fefd
mov eax, 0xa91c739c
jmp 0x14036dc00
cmp r13d, 0x449bbd61
je 0x14036e250
cmp r13d, 0x4c7ff83f
jne 0x14036dc0f
mov eax, dword [0x140b7e128]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov r13d, 0xc6ce44be
mov eax, 0x449bbd61
jmp 0x14036dc00
cmp r13d, 0xa610c6b8
je 0x14036e2ae
cmp r13d, 0xa91c739c
jne 0x14036dc0f
cmp byte [rbp - 2], 0
mov r13d, 0x1d1668c7
mov eax, 0xa610c6b8
cmovne r13d, eax
jmp 0x14036dc0f
cmp r13d, 0x1d1668c7
je 0x14036e2c5
cmp r13d, 0x32a3e1ed
jne 0x14036dc0f
mov rcx, qword [rbp - 0x28]
call fcn.1406ad678
mov r13d, 0x32e36b7f
jmp 0x14036dc0f
cmp r13d, 0xe51318ac
je 0x14036e372
cmp r13d, 0xe970fefd
jne 0x14036dc0f
mov qword [rsp + 0x20], rsi
mov rcx, r12
mov edx, dword [rbp - 0x14]
mov r8d, 0x40000001
xor r9d, r9d
call qword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
mov r13d, 0xc45424fd
jmp 0x14036dc0f
cmp r13d, 0x6315ffee
jne 0x14036e455
mov r13d, 0xf89e5706
jmp 0x14036dc0f
mov dword [rbp - 8], 0
mov r13d, 0xf48dccab
jmp 0x14036dc0f
mov r13d, 0xacc3860e
mov rcx, qword [rbp - 0x10]
mov rdx, r15
mov r8, rax
call fcn.14028fb20
jmp 0x14036dc0f
mov r13d, 0xf5a72519
jmp 0x14036dc0f
mov r13d, 0x8ee6c482
jmp 0x14036dc0f
mov eax, dword [0x140b7e128]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov r13d, 0xe51318ac
mov eax, 0x93d6b878
jmp 0x14036dc00
mov r9, qword [rbp - 0x28]
mov qword [rsp + 0x20], rsi
mov rcx, r12
mov edx, dword [rbp - 0x14]
mov r8d, 0x40000001
call qword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
test eax, eax
setne byte [rbp - 3]
mov eax, dword [0x140b7e128]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov r13d, 0x8ff68345
mov eax, 0x9e256327
jmp 0x14036dc00
mov esi, dword [rbp - 8]
mov rdi, qword [rbp - 0x28]
mov rcx, r14
call fcn.140320990
mov r13d, 0x449bbd61
mov rcx, r14
mov rdx, rdi
lea r15, [0x14072108c]
mov r8, rsi
lea rsi, [rbp - 8]
call fcn.14028fb20
jmp 0x14036dc0f
mov r13d, 0x32a3e1ed
jmp 0x14036dc0f
mov r9, qword [rbp - 0x28]
mov qword [rsp + 0x20], rsi
mov rcx, r12
mov edx, dword [rbp - 0x14]
mov r8d, 0x40000001
call qword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
mov r13d, 0x1aa487ba
jmp 0x14036dc0f
mov qword [rbp - 0x20], r14
mov rcx, qword [rbp - 0x20]
call fcn.140347570
mov rax, qword [rbp - 0x30]
mov eax, dword [0x140b7e128]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov r13d, 0xe51318ac
mov eax, 0x6315ffee
jmp 0x14036dc00
mov r13d, 0xfcf7abe5
jmp 0x14036dc0f
mov eax, dword [0x140b7e128]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov r13d, 0x8ff68345
mov eax, 0x1aa487ba
jmp 0x14036dc00
mov qword [rbp - 0x30], r14
mov rax, qword [rbp - 0x30]
mov esi, dword [rbp - 8]
mov rdi, qword [rbp - 0x28]
mov rcx, r14
call fcn.140320990
mov rcx, r14
mov rdx, rdi
mov r8, rsi
call fcn.14028fb20
mov eax, dword [0x140b7e128]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov r13d, 0xc6ce44be
mov eax, 0x5771f6d8
cmove r13d, eax
cmp dword [0x140b7e12c], 0xa
cmovl r13d, eax
lea rsi, [rbp - 8]
lea r15, [0x14072108c]
jmp 0x14036dc0f
mov ecx, dword [rbp - 8]
call fcn.1406ad6ac
mov qword [rbp - 0x28], rax
mov r13d, 0xb7ea03fc
jmp 0x14036dc0f
mov rcx, qword [rbp - 0x10]
call fcn.140320990
mov rcx, r15
call fcn.140342920
mov ecx, dword [0x140b85508]
lea edx, [rcx - 1]
imul edx, ecx
test dl, 1
sete byte [rbp - 1]
mov edx, dword [0x140b8550c]
mov ecx, 0x9e905ce4
mov ebx, 0x27cdb2b5
cmove ecx, ebx
cmp edx, 0xa
setl byte [rbp - 0x20]
cmovl ecx, ebx
mov edx, 0x203f4908
nop dword [rax + rax]
cmp edx, 0x203f4907
jle 0x14036e350
cmp edx, 0x38eaf512
je 0x14036e41f
cmp edx, 0x27cdb2b5
je 0x14036e364
cmp edx, 0x203f4908
jne 0x14036e310
movzx ebx, byte [rbp - 1]
cmp byte [rbp - 0x20], 0
mov edx, 0x9e905ce4
mov edi, 0xa2eac9e6
cmovne edx, edi
test bl, bl
cmovne edx, edi
jmp 0x14036e310
cmp edx, 0x9e905ce4
je 0x14036e36b
cmp edx, 0xa2eac9e6
jne 0x14036e310
mov edx, ecx
jmp 0x14036e310
mov edx, 0x38eaf512
jmp 0x14036e310
mov edx, 0xa2eac9e6
jmp 0x14036e310
mov rcx, qword [rbp - 0x10]
mov rdx, r14
call fcn.140350240
mov rcx, r14
call fcn.14028e1d0
mov eax, dword [0x140b7dfe0]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
sete al
cmp dword [0x140b7dfe4], 0xa
setl cl
or cl, al
mov eax, 0x43932f8c
mov ecx, 0x66505aa
cmovne eax, ecx
mov ecx, 0x43932f8c
mov edx, 0xc67e38d5
cmovne ecx, edx
mov edx, 0xf3e2cdc4
nop word cs:[rax + rax]
nop dword [rax]
cmp edx, 0xf3e2cdc3
jle 0x14036e400
cmp edx, 0xf3e2cdc4
je 0x14036e414
cmp edx, 0x66505aa
je 0x14036e418
cmp edx, 0x43932f8c
jne 0x14036e3d0
mov edx, 0xc67e38d5
jmp 0x14036e3d0
cmp edx, 0xa98d4f23
je 0x14036e439
cmp edx, 0xc67e38d5
jne 0x14036e3d0
mov edx, eax
jmp 0x14036e3d0
mov edx, ecx
jmp 0x14036e3d0
mov edx, 0xa98d4f23
jmp 0x14036e3d0
mov r13d, 0xab517bff
mov rcx, qword [rbp - 0x10]
mov rdx, r15
mov r8, rax
call fcn.14028fb20
jmp 0x14036dc0f
mov qword [rbp - 0x20], r14
mov rcx, qword [rbp - 0x20]
call fcn.140347570
mov rax, qword [rbp - 0x30]
mov r13d, 0x93d6b878
jmp 0x14036dc0f
cmp r13d, 0x76f8979a
jne 0x14036dc0f
mov rax, qword [rbp - 0x10]
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret