Function at 0x1404deca8
Capabilities:
Encode data using base64
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
sub al, bh
rol al, cl
push rbp
push rsi
push rdi
push r12
push r13
push r14
movsx r12w, r9b
xor ebp, r15d
adc sil, bl
push r15
lea rbp, [rsp - 0x27]
sal ah, cl
sub sil, 0x11
rcl r14b, cl
sub rsp, 0x100
mov rax, qword [0x1400b7288]
mov r12b, bl
movzx si, r14b
xor rax, rsp
xor si, 0x889
bt r12d, r13d
mov qword [rbp + 0x17], rax
rcr r15b, cl
ror r12d, cl
sbb r14b, cl
movsxd rsi, edx
btc r14w, bp
xchg r13b, al
stc
mov r15, r8
add r12w, di
mov rax, rsi
ror r12b, cl
adc r12b, 0x89
shld r13d, esi, 0x60
mov qword [rbp - 9], rcx
ror cl, cl
bts r12d, r11d
and ecx, ebp
mov qword [rbp - 0x11], rax
sbb cl, r8b
lea rcx, [0x140000000]
shr r13w, cl
bswap r13w
and eax, 0x3f
bt r14, r8
mov r13d, r9d
sal r12d, cl
lea r13, [r13 + r8]
test al, r9b
mov qword [rbp - 0x21], r8
rol r14d, cl
bsr r12w, r8w
inc r12b
mov r12, rsi
shl r14b, cl
mov qword [rbp - 0x51], r13
shl r14b, cl
bt r14, rbp
sar r12, 6
lea r14, [rax + rax*8]
movsx rax, ax
cdqe
movzx ax, r15b
mov rax, qword [rcx + r12*8 + 0xba940]
jmp 0x1404ded9d
mov rax, qword [rax + r14*8 + 0x28]
jmp 0x1404deda7
mov qword [rbp - 0x49], rax
jmp 0x1404dedb0
call qword [sym.imp.KERNEL32.dll_GetConsoleOutputCP]
xor edx, edx
lea rcx, [rsp + 0x50]
jmp 0x1404dedc2
mov dword [rbp - 0x59], eax
call fcn.1404a7c8f
mov rcx, qword [rsp + 0x58]
shr bh, 0x95
xor bl, sil
movsx bx, bh
sub r11d, r11d
movsxd rdi, r15d
inc bx
mov dword [rbp - 0x69], r11d
shrd ebx, r9d, 0x6e
mov ebx, r11d
xor dh, 0xb7
mov dword [rbp - 0x65], ebx
mov rdi, r15
movzx rdx, r8w
shld edx, r15d, 0x5c
xadd dh, dl
mov edx, dword [rcx + 0xc]
mov cl, dil
btr cx, 0xb
xchg ch, ch
mov ecx, r11d
stc
test r15b, 0x47
clc
mov dword [rsp + 0x40], ecx
cmp spl, 0xb7
mov dword [rbp - 0x55], edx
cmp r15, r13
jae 0x1404df5fa
mov rax, rsi
bsf si, di
or sil, dil
adc sil, 0xad
mov rsi, r15
btc r15, 0x3b
sar rax, 6
dec cl
shr r15d, 0x79
mov qword [rbp - 0x19], rax
mov cl, byte [rdi]
mov r15d, 1
mov byte [rsp + 0x44], cl
cmc
mov dword [rsp + 0x48], r11d
jmp 0x1404dee6d
cmp edx, 0xfde9
jmp 0x1404dee78
jne 0x1404df17d
lea r15, [0x140000000]
cqo
rcl dx, cl
mov edx, r11d
cmc
clc
sbb r9b, r11b
mov r9, qword [r15 + rax*8 + 0xba940]
mov rsi, r11
lea rax, [r9 + r14*8]
cmc
cmp byte [rax + rsi + 0x3e], r11b
jmp 0x1404deeac
je 0x1404deec6
inc edx
jmp 0x1404deeb9
inc rsi
cmp rsi, 5
jl 0x1404deea2
test rsi, rsi
jmp 0x1404deece
jle 0x1404df0c1
mov rax, qword [r15 + r12*8 + 0xba940]
mov r8, qword [rbp - 0x51]
cmp dil, 0xaf
and r10w, 0x3764
sub cl, 0x3d
sub r8, rdi
xchg cl, r10b
mov cx, r14w
mov r13d, 0x489d6c2a
movzx ecx, byte [rax + r14*8 + 0x3e]
movsx r15d, byte [rcx + r15 + 0xb7d00]
movzx r10, dx
dec r13d
inc r15d
test si, cx
seta r13b
xchg r13w, r10w
mov r13d, r15d
sub r13d, edx
movzx r10d, r14w
movsxd r10, r13d
test si, bx
cmp r12, r12
jmp 0x1404def39
cmp r10, r8
jmp 0x1404def41
jg 0x1404df429
lea rax, [rbp - 1]
mov rdx, r11
sub r9, rax
mov al, r10b
lea r8, [r9 + r14*8]
lea rcx, [rbp - 1]
rcr al, cl
and al, al
add rcx, rdx
not al
inc rdx
rol al, cl
or al, 0xf4
mov al, byte [rcx + r8 + 0x3e]
mov byte [rcx], al
stc
cmp r11w, bp
cmp rdx, rsi
jmp 0x1404def80
jl 0x1404def58
test r13d, r13d
jmp 0x1404def8e
jle 0x1404defc5
lea rcx, [rbp - 1]
shl r8, cl
mov r8, r10
bt dx, sp
add rcx, rsi
movzx rdx, r8w
mov dx, si
movzx dx, dil
mov rdx, rdi
jmp 0x1404defb9
call fcn.1404a6cac
xor r11d, r11d
xor r8w, sp
mov rdx, r11
add r8b, 0xfc
lea r8, [0x140000000]
cmp r9b, 0x9a
sub rcx, 0x7916e3d
mov rcx, qword [r8 + r12*8 + 0xba940]
stc
clc
jmp 0x1404defed
add rcx, rdx
inc rdx
mov byte [rcx + r14*8 + 0x3e], r11b
clc
cmp rdx, rsi
jl 0x1404defde
lea rax, [rbp - 1]
stc
btc ecx, edx
xchg ch, cl
mov qword [rbp - 0x41], r11
mov qword [rbp - 0x39], rax
xor cl, ch
sar edx, 0xe2
lea r9, [rbp - 0x41]
adc cl, 0xe
mov eax, r11d
lea rdx, [rbp - 0x39]
movzx r8, r13w
jmp 0x1404df033
cmp r15d, 4
movsx r8w, bpl
lea rcx, [rsp + 0x48]
movzx r8w, r10b
jmp 0x1404df04f
sete al
movsx r15, r13w
xchg r8b, r15b
not r8b
inc eax
mov r15b, spl
movsx r8d, r14w
movsx r15w, r10b
mov r8d, eax
mov r15d, eax
jmp 0x1404df075
call fcn.1404e4849
cmp rax, 0xffffffffffffffff
jmp 0x1404df083
je 0x1404df230
lea eax, [r13 - 1]
sal r13b, 0x6d
sar r13w, cl
xor sil, cl
mov r13, qword [rbp - 0x51]
sal sil, cl
btr si, 0xe0
movsxd rsi, eax
jmp 0x1404df0b4
add rsi, rdi
jmp 0x1404df0bc
jmp 0x1404df269
movzx eax, byte [rdi]
test cl, dil
mov cl, 0xb2
mov rdx, r13
btc rsi, r13
ror ch, 0x4b
mov ch, 0x83
sub rdx, rdi
xor si, 0xc88
stc
movsx rsi, byte [rax + r15 + 0xb7d00]
sub rcx, 0x5564f19
lea ecx, [rsi + 1]
movsxd rax, ecx
cmp rax, rdx
jmp 0x1404df0fd
jg 0x1404df49e
cmp ecx, 4
xchg bx, ax
setg cl
cmovae rbx, rsi
mov qword [rbp - 0x31], r11
setnp r9b
cqo
mov eax, r11d
bswap rbx
mov qword [rbp - 0x29], rdi
sete al
not dl
movzx r8d, r13w
inc bh
lea r9, [rbp - 0x31]
movsx r8, r11w
not bl
cqo
inc eax
movsx rdx, r10w
not bl
lea rdx, [rbp - 0x29]
movzx r8w, r8b
mov r8d, eax
movsxd rcx, edx
movzx rbx, bx
lea rcx, [rsp + 0x48]
not bl
mov ebx, eax
call fcn.1404e4849
cmp rax, 0xffffffffffffffff
je 0x1404df230
add rsi, rdi
mov r15d, ebx
jmp 0x1404df178
jmp 0x1404df269
lea rax, [0x140000000]
mov rdx, qword [rax + r12*8 + 0xba940]
mov cl, byte [rdx + r14*8 + 0x3d]
test cl, 4
je 0x1404df1d4
mov al, byte [rdx + r14*8 + 0x3e]
stc
and cl, 0xfb
jmp 0x1404df1a8
mov byte [rbp + 7], al
jmp 0x1404df1b0
mov al, byte [rdi]
jmp 0x1404df1b7
mov byte [rdx + r14*8 + 0x3d], cl
xchg dl, dl
lea rdx, [rbp + 7]
jmp 0x1404df1c7
mov byte [rbp + 8], al
jmp 0x1404df1cf
jmp 0x1404df20b
call fcn.1404ae38e
movzx ecx, byte [rdi]
cmp sil, r10b
cmc
xor edx, edx
cmp word [rax + rcx*2], dx
jmp 0x1404df1eb
jge 0x1404df23e
inc rsi
clc
stc
cmp rsi, r13
jmp 0x1404df1fe
jae 0x1404df57f
mov rdx, rdi
movzx cx, bl
mov r8d, 2
seta cl
movsx rcx, cx
lea rcx, [rsp + 0x48]
call fcn.14011d2e0
cmp eax, 0xffffffff
jmp 0x1404df22a
jne 0x1404df269
cmp byte [rbp - 0x71], 0
jmp 0x1404df239
jmp 0x1404df571
mov r8, r15
xchg rdx, rdx
lea rcx, [rsp + 0x48]
mov dx, r10w
movzx dx, al
not dh
mov rdx, rdi
call fcn.14011d2e0
cmp eax, 0xffffffff
jmp 0x1404df263
je 0x1404df5d7
mov ecx, dword [rbp - 0x59]
lea rax, [rbp + 0xf]
rcr r8b, cl
xor ebx, ebx
lea r8, [rsp + 0x48]
ror r9b, 0x6a
mov qword [rsp + 0x38], rbx
bts r9w, r15w
sar r9b, 0xe
cmp r9b, bpl
lea rdi, [rsi + 1]
movzx r9, r13w
add r9b, 0x50
mov qword [rsp + 0x30], rbx
sal r9b, 0xa1
jmp 0x1404df2a9
mov r9d, r15d
cmp r13b, 0x64
mov dword [rsp + 0x28], 5
test r14b, 0xba
test r14w, ax
cmc
xor edx, edx
jmp 0x1404df2c8
mov qword [rsp + 0x20], rax
jmp 0x1404df2d2
call fcn.1404ccb19
mov esi, eax
cmc
stc
cmp ecx, r14d
test eax, eax
jmp 0x1404df2e5
je 0x1404df69a
mov rcx, qword [rbp - 0x49]
lea r9, [rsp + 0x4c]
bswap dx
cqo
movsx rdx, dx
mov r8d, eax
xchg dx, dx
movsx dx, spl
cqo
mov qword [rsp + 0x20], rbx
movsx rdx, r11w
movsxd rdx, r14d
movzx edx, r12w
lea rdx, [rbp + 0xf]
jmp 0x1404df323
call qword [sym.imp.KERNEL32.dll_WriteFile]
xor r11d, r11d
cmp cx, dx
test eax, eax
jmp 0x1404df336
je 0x1404df68b
mov r15d, dword [rsp + 0x40]
shr bx, cl
bsr bx, dx
mov bl, r14b
mov ebx, edi
stc
test r12b, 0xf4
sub ebx, dword [rbp - 0x21]
add ebx, r15d
mov dword [rbp - 0x65], ebx
test al, 0x20
cmp dword [rsp + 0x4c], esi
jmp 0x1404df366
jb 0x1404df569
cmp byte [rsp + 0x44], 0xa
jmp 0x1404df376
jne 0x1404df3ff
mov rcx, qword [rbp - 0x49]
movsx r8w, r14b
lea eax, [r11 + 0xd]
cwd
lea r9, [rsp + 0x4c]
movsxd rdx, ebx
xchg dl, dl
not dl
mov word [rsp + 0x44], ax
movzx r8w, bl
movzx r8, dx
lea r8d, [r11 + 1]
xchg dl, dh
mov qword [rsp + 0x20], r11
movsxd rdx, r8d
lea rdx, [rsp + 0x44]
jmp 0x1404df3bd
call qword [sym.imp.KERNEL32.dll_WriteFile]
xor r11d, r11d
test eax, eax
je 0x1404df5cb
cmp dword [rsp + 0x4c], 1
jmp 0x1404df3d8
jb 0x1404df569
inc r15d
movzx si, cl
inc ebx
rol rsi, cl
mov rsi, 0x777159ad
sal sil, cl
mov dword [rsp + 0x40], r15d
sbb sil, r13b
mov dword [rbp - 0x65], ebx
mov rsi, rdi
test dil, 0xf8
jmp 0x1404df40f
cmp rdi, r13
jmp 0x1404df417
jae 0x1404df5f0
mov rax, qword [rbp - 0x19]
mov edx, dword [rbp - 0x55]
jmp 0x1404dee51
mov edx, r11d
stc
test r8, r8
jmp 0x1404df435
jle 0x1404df496
sub rdi, rsi
lea rbx, [0x140000000]
mov ch, 0xb1
mov ch, bl
mov al, byte [rdi + rsi]
movzx rcx, r10w
inc edx
mov rcx, qword [rbx + r12*8 + 0xba940]
cmp r13w, 0x5477
add rcx, rsi
jmp 0x1404df469
inc rsi
cmc
mov byte [rcx + r14*8 + 0x3e], al
bt rax, 0xe3
shr al, 0x38
movsxd rax, edx
test r14w, r14w
test dil, 0xe6
cmp rax, r8
jmp 0x1404df48d
jl 0x1404df44a
mov ebx, dword [rbp - 0x65]
add ebx, r8d
jmp 0x1404df55f
mov r9d, r11d
test esp, ebx
test rdx, rdx
jmp 0x1404df4ab
jle 0x1404df55a
mov r13, qword [rbp - 0x11]
movzx rcx, r15w
rcr ecx, 0x17
mov r8, r11
sbb ecx, r15d
inc cx
mov r10, r13
add al, r9b
shl al, 0xfc
bt cx, dx
and r13d, 0x3f
rol cl, 0x63
sar r10, 6
lea r11, [r13*8]
movsx rcx, r13w
btc cx, 0xa7
add r11, r13
mov ecx, r9d
mov al, byte [r8 + rdi]
not ch
inc r9d
movzx cx, sil
sbb cx, 0x3da
movzx ecx, r8w
mov rcx, qword [r15 + r10*8 + 0xba940]
cmp r9d, edx
stc
clc
add rcx, r8
jmp 0x1404df520
inc r8
cmp bl, sil
test r14d, 0x18d82b10
cmc
mov byte [rcx + r11*8 + 0x3e], al
stc
test sil, r9b
movsxd rax, r9d
cmp dil, dl
cmc
cmp rax, rdx
jmp 0x1404df546
jl 0x1404df4f4
xor r11d, r11d
cmc
shrd rcx, r11, 0x64
btc cx, r11w
add ebx, edx
sub cl, spl
mov dword [rbp - 0x65], ebx
cmovs ecx, r12d
sbb rcx, rcx
cmp byte [rbp - 0x71], r11b
movzx rcx, si
mov ecx, dword [rsp + 0x40]
jmp 0x1404df57a
jmp 0x1404df603
mov al, byte [rdi]
inc cl
movzx rcx, r12w
lea r8, [0x140000000]
mov rcx, qword [r8 + r12*8 + 0xba940]
jmp 0x1404df59b
inc ebx
test r12b, sil
mov dword [rbp - 0x65], ebx
clc
mov byte [rcx + r14*8 + 0x3e], al
xor al, r11b
movzx eax, r14w
mov rax, qword [r8 + r12*8 + 0xba940]
or byte [rax + r14*8 + 0x3d], 4
cmp bx, 0x4b9
cmp byte [rbp - 0x71], dl
jmp 0x1404df571
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp - 0x69], eax
add cl, r15b
mov ecx, dword [rsp + 0x40]
cmp r8d, 0x5325495c
cmp byte [rbp - 0x71], 0
jmp 0x1404df5eb
jmp 0x1404df603
mov ecx, dword [rsp + 0x40]
cmc
jmp 0x1404df5fa
cmp byte [rbp - 0x71], r11b
jmp 0x1404df603
je 0x1404df622
mov rax, qword [rsp + 0x50]
cmp sil, 0x5a
and dword [rax + 0x3a8], 0xfffffffd
rcl ax, 0x4a
rcl al, cl
sub al, spl
mov rax, qword [rbp - 9]
cmp dl, dil
test rbx, r14
movsd xmm0, qword [rbp - 0x69]
jmp 0x1404df636
movsd qword [rax], xmm0
test esp, esi
cmp r14, r13
cmp r15b, 0x7e
mov dword [rax + 8], ecx
movzx cx, r14b
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
jmp 0x1404df657
call fcn.1404a30f1
mov rbx, qword [rsp + 0x140]
shl dil, cl
add rsp, 0x100
movzx ebp, bp
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
movsx ebp, r15w
not bpl
mov ebp, ebp
pop rbp
jmp 0x1404df68a
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp - 0x69], eax
sar ch, cl
shr ecx, 0xbf
clc
mov ecx, dword [rsp + 0x40]
jmp 0x1404df6a3
cmp byte [rbp - 0x71], bl
jmp 0x1404df603