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

Disassembly:
mov qword [rsp + 8], rbx
bt rax, 0x9f
push rbp
shl ah, 0x9e
movsx ax, r13b
xadd eax, eax
push rsi
push rdi
push r12
xadd bp, bp
bt bp, bx
adc r12b, 0xf5
push r13
shl sil, cl
sbb ax, r15w
push r14
rol r14b, cl
movzx r13, cx
push r15
lea rbp, [rsp - 0x27]
sar r15w, cl
movsx r13w, bl
sub rsp, 0x100
add ah, 0xe3
movsxd r15, r14d
mov rax, qword [0x1400b7288]
xor rax, rsp
mov qword [rbp + 0x17], rax
rcr si, cl
movsxd rsi, edx
adc r12b, 0xda
mov r15, r8
mov rax, rsi
test bl, cl
mov qword [rbp - 9], rcx
mov qword [rbp - 0x11], rax
lea rcx, [0x140000000]
movzx r13w, r13b
movsx r12w, r14b
btr r13w, r14w
and eax, 0x3f
add r14w, 0x5a8b
mov r13d, r9d
add r14b, dl
bswap r12w
add r13, r8
not r14w
mov qword [rbp - 0x21], r8
bts r12d, ebp
btr r12w, r10w
mov r12, rsi
cmovge r14, rsi
mov qword [rbp - 0x51], r13
xor r14w, 0x33c5
sal r14b, cl
bsf r14, r9
sar r12, 6
mov r14w, r11w
setnp r14b
bswap r14w
lea r14, [rax + rax*8]
movsx ax, cl
movzx rax, r15w
mov rax, qword [rcx + r12*8 + 0xba940]
jmp 0x1404dc110
mov rax, qword [rax + r14*8 + 0x28]
jmp 0x1404dc11a
mov qword [rbp - 0x49], rax
call qword [sym.imp.KERNEL32.dll_GetConsoleOutputCP]
sub edx, edx
movzx cx, r15b
lea rcx, [rsp + 0x50]
mov dword [rbp - 0x59], eax
jmp 0x1404dc138
call fcn.1404a5078
mov rcx, qword [rsp + 0x58]
shl dil, cl
setno bh
stc
sub r11d, r11d
xadd bx, di
mov dword [rbp - 0x69], r11d
bts edi, ebx
test r8b, 0x20
sar edx, cl
mov ebx, r11d
mov dword [rbp - 0x65], ebx
movsx di, r13b
xor dx, r12w
mov rdi, r15
sub dh, 0x88
bts dx, sp
bts rdx, rsi
mov edx, dword [rcx + 0xc]
bt cx, bx
mov ecx, r11d
clc
mov dword [rsp + 0x40], ecx
mov dword [rbp - 0x55], edx
jmp 0x1404dc195
cmp r15, r13
jae 0x1404dc97a
mov rax, rsi
rol sil, cl
sbb sil, 0x45
mov rsi, r15
rcr r15b, cl
sal cl, cl
sar rax, 6
add cl, r15b
cmp r11b, r14b
mov qword [rbp - 0x19], rax
mov cl, byte [rdi]
rcr r15w, 0x2e
mov r15d, 1
clc
mov byte [rsp + 0x44], cl
mov dword [rsp + 0x48], r11d
cmp edx, 0xfde9
jmp 0x1404dc1e0
jne 0x1404dc51d
lea r15, [0x140000000]
bsr r9w, di
test dil, spl
dec dh
mov edx, r11d
movsx esi, dx
mov r9, qword [r15 + rax*8 + 0xba940]
movsx esi, sp
mov rsi, r9
shld esi, esi, 0xab
mov rsi, r11
lea rax, [r9 + r14*8]
test rax, 0x26ac3f6b
stc
test ch, bl
cmp byte [rax + rsi + 0x3e], r11b
jmp 0x1404dc229
je 0x1404dc24c
inc edx
jmp 0x1404dc236
inc rsi
clc
test r12, rsp
cmp rsi, 5
jmp 0x1404dc246
jl 0x1404dc21f
test rsi, rsi
jmp 0x1404dc254
jle 0x1404dc452
mov rax, qword [r15 + r12*8 + 0xba940]
shrd r10, rdi, 0x36
rol cx, 0x88
cmp r11w, bx
mov r8, qword [rbp - 0x51]
ror cx, 0x5b
xor r10b, sil
sub r8, rdi
dec r10b
xchg cl, r13b
movzx ecx, byte [rax + r14*8 + 0x3e]
movsx r15d, byte [rcx + r15 + 0xb7d00]
movsx r13, cx
inc r10b
inc r15d
mov r13d, r15d
cmovne r10w, ax
sub r13d, edx
sbb r10, 0x71341e79
movsxd r10, r13d
stc
cmp r10, r8
jmp 0x1404dc2ba
jg 0x1404dc7ca
lea rax, [rbp - 1]
btc dx, r15w
or dx, bp
and r8b, 0xc9
mov rdx, r11
cmp bp, 0x91d
sub r9, rax
xor al, bpl
setle al
movsxd rcx, edi
lea r8, [r9 + r14*8]
shr cx, cl
cmc
lea rcx, [rbp - 1]
add rcx, rdx
mov al, bpl
setae al
inc rdx
jmp 0x1404dc301
mov al, byte [rcx + r8 + 0x3e]
stc
clc
mov byte [rcx], al
cmp rdx, rsi
jmp 0x1404dc312
jl 0x1404dc2ec
test r13d, r13d
jmp 0x1404dc320
jle 0x1404dc35c
lea rcx, [rbp - 1]
ror edx, cl
rol r8b, cl
mov r8, r10
sal dh, cl
btc dx, 0xf5
test r15w, r8w
add rcx, rsi
movzx rdx, sp
bswap dx
cdq
mov rdx, rdi
jmp 0x1404dc350
call fcn.1404a40af
xor r11d, r11d
sub r8b, 0x4d
mov rdx, r11
movsxd r8, r11d
shrd r8w, r10w, 0x24
lea r8, [0x140000000]
bsr cx, si
mov rcx, qword [r8 + r12*8 + 0xba940]
add rcx, rdx
jmp 0x1404dc383
inc rdx
test r9w, r15w
mov byte [rcx + r14*8 + 0x3e], r11b
cmc
cmp rdx, rsi
jmp 0x1404dc398
jl 0x1404dc373
lea rax, [rbp - 1]
rol dx, cl
xor edx, 0xa17655b
mov qword [rbp - 0x41], r11
sbb dl, bpl
setne dh
mov qword [rbp - 0x39], rax
lea r9, [rbp - 0x41]
rdtsc
or rcx, r15
bts edx, edi
mov eax, r11d
lea rdx, [rbp - 0x39]
rcr rcx, 0xad
test cx, 0x600f
cmp r15d, 4
movsxd r15, r8d
lea rcx, [rsp + 0x48]
mov r15b, r15b
sete al
movsxd r8, eax
movsx r15d, r9w
inc eax
cmovo r15w, sp
jmp 0x1404dc3ff
mov r8d, eax
cmovae r15, r9
jmp 0x1404dc40f
mov r15d, eax
jmp 0x1404dc417
call fcn.1404e1bf2
cmp rax, 0xffffffffffffffff
jmp 0x1404dc425
je 0x1404dc5de
lea eax, [r13 - 1]
mov r13, qword [rbp - 0x51]
movsxd rsi, eax
cmp r15w, 0x43b7
test r10w, r12w
test cx, 0x2c16
add rsi, rdi
jmp 0x1404dc44d
jmp 0x1404dc616
movzx eax, byte [rdi]
mov rdx, r13
add rsi, 0x75c10381
sub rdx, rdi
movsx ecx, bx
or ecx, 0x60b451ae
sbb si, 0x31ae
movsx rsi, byte [rax + r15 + 0xb7d00]
cbw
jmp 0x1404dc482
lea ecx, [rsi + 1]
rcr ah, cl
movsxd rax, ecx
cmp rax, rdx
jmp 0x1404dc492
jg 0x1404dc84f
cmp ecx, 4
movzx rbx, r10w
movsx cx, al
movsx r8d, dx
mov qword [rbp - 0x31], r11
setns ch
movsxd rax, edx
mov eax, r11d
movzx dx, r11b
movsx cx, dh
mov qword [rbp - 0x29], rdi
mov r8, 0x68d21c49
sete al
not r9
cmovb r9, r9
lea r9, [rbp - 0x31]
movsx ebx, si
mov cl, r14b
movsx rcx, si
inc eax
mov r8b, 0x79
movzx r8, r13w
xchg rdx, r8
lea rdx, [rbp - 0x29]
xchg bx, bx
mov r8d, eax
xchg bx, cx
cmovs ebx, edx
lea rcx, [rsp + 0x48]
mov ebx, eax
call fcn.1404e1bf2
cmp rax, 0xffffffffffffffff
je 0x1404dc5de
add rsi, rdi
mov r15d, ebx
jmp 0x1404dc616
lea rax, [0x140000000]
or cl, 0x72
mov rdx, qword [rax + r12*8 + 0xba940]
mov cl, byte [rdx + r14*8 + 0x3d]
test cl, 4
jmp 0x1404dc53c
je 0x1404dc56d
mov al, byte [rdx + r14*8 + 0x3e]
test sil, 0xfa
stc
and cl, 0xfb
mov byte [rbp + 7], al
mov al, r14b
mov al, byte [rdi]
mov byte [rdx + r14*8 + 0x3d], cl
lea rdx, [rbp + 7]
mov byte [rbp + 8], al
jmp 0x1404dc568
jmp 0x1404dc5ad
call fcn.1404ab7af
movzx ecx, byte [rdi]
clc
cmp rax, rdx
sub edx, edx
cmp r9, rbp
cmp word [rax + rcx*2], dx
jmp 0x1404dc587
jge 0x1404dc5ec
inc rsi
jmp 0x1404dc595
cmp rsi, r13
jmp 0x1404dc59d
jae 0x1404dc8ea
mov rdx, rdi
movzx r8, r9w
movsx ecx, bp
mov r8d, 2
movzx rcx, r14w
jmp 0x1404dc5c1
lea rcx, [rsp + 0x48]
jmp 0x1404dc5cb
call fcn.140276818
cmp eax, 0xffffffff
jmp 0x1404dc5d8
jne 0x1404dc616
cmp byte [rbp - 0x71], 0
jmp 0x1404dc5e7
jmp 0x1404dc8e1
mov r8, r15
mov cl, 0xf9
lea rcx, [rsp + 0x48]
mov dx, 0x69a5
movsx dx, bpl
cdq
mov rdx, rdi
call fcn.140276818
cmp eax, 0xffffffff
jmp 0x1404dc610
je 0x1404dc95f
mov ecx, dword [rbp - 0x59]
cmovae r9w, r10w
lea rax, [rbp + 0xf]
rol r8d, cl
sub ebx, ebx
lea r8, [rsp + 0x48]
or di, 0x112c
mov qword [rsp + 0x38], rbx
or r9w, r15w
btr di, 0x17
lea rdi, [rsi + 1]
xor r9w, 0x5292
mov qword [rsp + 0x30], rbx
movzx r9w, r8b
mov r9d, r15d
mov dword [rsp + 0x28], 5
cmp r9, r13
test spl, 0x76
jmp 0x1404dc66a
sub edx, edx
jmp 0x1404dc671
mov qword [rsp + 0x20], rax
jmp 0x1404dc67b
call fcn.1404c9e75
mov esi, eax
test eax, eax
jmp 0x1404dc689
je 0x1404dca17
mov rcx, qword [rbp - 0x49]
lea r9, [rsp + 0x4c]
cmovl rdx, rdi
mov r8d, eax
mov qword [rsp + 0x20], rbx
setle dh
cmovle rdx, rbp
movsx edx, ax
lea rdx, [rbp + 0xf]
jmp 0x1404dc6b7
call qword [sym.imp.KERNEL32.dll_WriteFile]
xor r11d, r11d
clc
cmc
test eax, eax
jmp 0x1404dc6c9
je 0x1404dca0e
mov r15d, dword [rsp + 0x40]
mov ebx, edi
cmp r14b, r13b
sub ebx, dword [rbp - 0x21]
add ebx, r15d
stc
mov dword [rbp - 0x65], ebx
cmp dword [rsp + 0x4c], esi
jmp 0x1404dc6ec
jb 0x1404dc8dd
cmp byte [rsp + 0x44], 0xa
jmp 0x1404dc6fc
jne 0x1404dc7ac
mov rcx, qword [rbp - 0x49]
movsx r8, si
cdqe
lea eax, [r11 + 0xd]
movsxd r8, r14d
jmp 0x1404dc71c
lea r9, [rsp + 0x4c]
movsxd r8, r10d
setns r8b
movsx rdx, di
mov word [rsp + 0x44], ax
cwd
jmp 0x1404dc738
lea r8d, [r11 + 1]
mov qword [rsp + 0x20], r11
movzx rdx, si
jmp 0x1404dc74d
lea rdx, [rsp + 0x44]
jmp 0x1404dc757
call qword [sym.imp.KERNEL32.dll_WriteFile]
sub r11d, r11d
jmp 0x1404dc765
test eax, eax
je 0x1404dc953
cmp dword [rsp + 0x4c], 1
jmp 0x1404dc777
jb 0x1404dc8dd
inc r15d
movzx esi, r15w
inc ebx
or sil, al
btr rsi, 0x9f
jmp 0x1404dc793
mov dword [rsp + 0x40], r15d
cmovnp rsi, rdi
add esi, 0x4cd03539
mov dword [rbp - 0x65], ebx
sbb sil, r12b
movsx rsi, di
mov rsi, rdi
test r8b, sil
cmp rdi, r13
jae 0x1404dc971
mov rax, qword [rbp - 0x19]
xchg rdx, rdx
mov edx, dword [rbp - 0x55]
jmp 0x1404dc1be
mov edx, r11d
test r8, r8
jmp 0x1404dc7d5
jle 0x1404dc847
sub rdi, rsi
setae cl
lea rbx, [0x140000000]
not al
dec cl
mov al, byte [rdi + rsi]
movzx cx, dil
inc edx
sub ch, 0xe9
xor cl, bpl
mov cl, sil
mov rcx, qword [rbx + r12*8 + 0xba940]
cmp r11b, 0x70
add rcx, rsi
inc rsi
cmc
cmp r11, 0x5177626c
jmp 0x1404dc81e
mov byte [rcx + r14*8 + 0x3e], al
cmova rax, rcx
bsr rax, r10
ror al, cl
movsxd rax, edx
stc
cmc
cmp rax, r8
jmp 0x1404dc83a
jl 0x1404dc7ec
mov ebx, dword [rbp - 0x65]
cmp r8b, 0xdd
add ebx, r8d
jmp 0x1404dc8da
mov r9d, r11d
clc
test rdx, rdx
jle 0x1404dc8d3
mov r13, qword [rbp - 0x11]
mov r8, r11
mov r10, r13
or r11b, 0xe7
bts r11w, r9w
movsxd rcx, edi
and r13d, 0x3f
sar r10, 6
inc ch
test r12b, al
lea r11, [r13*8]
add r11, r13
setne ch
movsxd rcx, r13d
mov al, byte [r8 + rdi]
movzx cx, al
movzx ecx, cx
xchg cx, cx
inc r9d
mov rcx, qword [r15 + r10*8 + 0xba940]
cmc
add rcx, r8
jmp 0x1404dc8b2
inc r8
cmc
mov byte [rcx + r11*8 + 0x3e], al
sbb rax, rbp
movsxd rax, r9d
cmp rax, rdx
jmp 0x1404dc8c9
jl 0x1404dc890
xor r11d, r11d
cmc
add ebx, edx
btc rcx, 0xc1
mov dword [rbp - 0x65], ebx
cmp byte [rbp - 0x71], r11b
mov ecx, dword [rsp + 0x40]
jmp 0x1404dc97e
mov al, byte [rdi]
xchg cx, r8w
mov r8b, spl
lea r8, [0x140000000]
jmp 0x1404dc8ff
mov rcx, qword [r8 + r12*8 + 0xba940]
jmp 0x1404dc90c
inc ebx
cmp r9d, r9d
mov dword [rbp - 0x65], ebx
test r11b, r10b
jmp 0x1404dc91c
mov byte [rcx + r14*8 + 0x3e], al
rcl al, 0x3d
adc al, 0x6d
and eax, 0x160745ad
mov rax, qword [r8 + r12*8 + 0xba940]
cmp r9b, 0x3c
stc
jmp 0x1404dc93d
or byte [rax + r14*8 + 0x3d], 4
cmp dl, dl
cmc
cmp byte [rbp - 0x71], dl
jmp 0x1404dc94e
jmp 0x1404dc8e1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp - 0x69], eax
ror ecx, 0xe8
mov ecx, dword [rsp + 0x40]
cmp byte [rbp - 0x71], 0
jmp 0x1404dc96c
jmp 0x1404dc97e
mov ecx, dword [rsp + 0x40]
stc
test di, r9w
cmp byte [rbp - 0x71], r11b
je 0x1404dc999
mov rax, qword [rsp + 0x50]
cmp sil, r13b
and dword [rax + 0x3a8], 0xfffffffd
add ah, 0x47
rol al, 0xec
mov rax, qword [rbp - 9]
cmp r15, rcx
cmc
movsd xmm0, qword [rbp - 0x69]
movsd qword [rax], xmm0
stc
mov dword [rax + 8], ecx
mov rcx, qword [rbp + 0x17]
stc
xor rcx, rsp
jmp 0x1404dc9bb
call fcn.1404a0519
mov rbx, qword [rsp + 0x140]
add rsp, 0x100
movsxd r14, esp
movsx r12, r14w
pop r15
pop r14
pop r13
movsx bp, dl
movsxd rsi, r8d
cmovl edi, edi
pop r12
movzx rsi, r12w
movsx rdi, r10w
movzx si, dl
pop rdi
xchg si, si
movsx rsi, r10w
pop rsi
bswap ebp
movsx bp, spl
xchg bpl, bpl
pop rbp
jmp 0x1404dca0d
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp - 0x69], eax
mov ecx, dword [rsp + 0x40]
test r10, r14
cmp byte [rbp - 0x71], bl
jmp 0x1404dca26
jmp 0x1404dc97e