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

Disassembly:
mov qword [rsp + 0x20], rbx
jmp 0x1404dc946
push rbp
mov bpl, 0xdb
cmp bx, 0x187e
movsx ebp, ax
push rsi
btr bp, dx
cmovne bp, bx
btr bp, 0x3d
push rdi
jmp 0x1404dc966
push r12
rcl r12b, cl
push r13
push r14
xor edi, edx
cmp dil, 0xbe
push r15
rcr r14w, cl
shl bpl, cl
mov rbp, rsp
sub rsp, 0x60
rol r12b, cl
mov r14b, dl
xor ebx, ebx
bts r12w, ax
mov r14d, r8d
movzx di, r15b
bsf di, r10w
xor r12b, r10b
movsxd r12, ecx
shr dil, 0xb2
mov rdi, rdx
test cx, r15w
test r8d, r8d
jmp 0x1404dc9b8
je 0x1404dcebf
test rdx, rdx
jne 0x1404dc9f0
call fcn.1404b6d69
mov dword [rax], ebx
jmp 0x1404dc9d3
call fcn.1404b6d2b
mov dword [rax], 0x16
jmp 0x1404dc9e3
call fcn.1404b79b7
or eax, 0xffffffff
jmp 0x1404dcec5
mov rax, r12
shr r15d, cl
bt rcx, r14
xor cl, 0xac
lea rcx, [0x1400ba940]
bsf esi, esp
rcr si, 0x9a
and r13, 0x2f086477
and eax, 0x3f
rcr sil, cl
mov r13, r12
btr rsi, rbx
adc r15d, 0x5f075f1f
shrd si, r12w, 0x96
sar r13, 6
movsx r15, sp
sbb si, r14w
inc sil
lea r15, [rax + rax*8]
btr ax, 0x58
mov rcx, qword [rcx + r13*8]
rcr rsi, cl
movzx esi, bx
bswap rax
movsx esi, byte [rcx + r15*8 + 0x39]
lea eax, [rsi - 1]
cmp al, 1
jmp 0x1404dca61
ja 0x1404dca86
mov eax, r14d
cmc
jmp 0x1404dca74
not eax
cmp r13b, bpl
test al, 1
jmp 0x1404dca80
je 0x1404dc9c7
test byte [rcx + r15*8 + 0x38], 0x20
je 0x1404dcaaa
xor edx, edx
movsxd rcx, r15d
mov cx, 0x471b
mov ecx, r12d
mov r8b, al
lea r8d, [rdx + 2]
call fcn.1401079ce
mov ecx, r12d
jmp 0x1404dcab2
mov qword [rbp - 0x20], rbx
call fcn.1404e292f
test eax, eax
je 0x1404dccac
lea rax, [0x1400ba940]
mov rax, qword [rax + r13*8]
cmp ch, 0xcf
test dl, 0x84
cmp byte [rax + r15*8 + 0x38], bl
jmp 0x1404dcade
jge 0x1404dccac
call fcn.1404cade7
mov rcx, qword [rax + 0x90]
cmp qword [rcx + 0x138], rbx
jmp 0x1404dcafc
jne 0x1404dcb24
lea rax, [0x1400ba940]
cmc
test bl, 0x65
mov rax, qword [rax + r13*8]
cmp r8d, r10d
cmp byte [rax + r15*8 + 0x39], bl
jmp 0x1404dcb1e
je 0x1404dccac
lea rax, [0x1400ba940]
cqo
mov cl, 0xab
mov rcx, qword [rax + r13*8]
movsx dx, r12b
lea rdx, [rbp - 0x10]
jmp 0x1404dcb41
mov rcx, qword [rcx + r15*8 + 0x28]
call qword [sym.imp.KERNEL32.dll_GetConsoleMode]
test eax, eax
jmp 0x1404dcb53
je 0x1404dccac
test sil, sil
jmp 0x1404dcb61
je 0x1404dcc62
dec sil
cmc
jmp 0x1404dcb70
cmp sil, 1
jmp 0x1404dcb79
ja 0x1404dcded
lea r12, [rdi + r14]
mov qword [rbp - 0x30], rbx
test ecx, 0xee92729
mov r14, rdi
cmp rdi, r12
jmp 0x1404dcb98
jae 0x1404dcddc
mov esi, dword [rbp - 0x2c]
movzx eax, word [r14]
mov cx, cx
movzx ecx, ax
jmp 0x1404dcbb0
mov word [rbp - 0x10], ax
jmp 0x1404dcbb9
call fcn.1404e7184
movzx ecx, word [rbp - 0x10]
cmp ax, cx
jmp 0x1404dcbca
jne 0x1404dcc54
add esi, 2
cmp r14w, 0xe8b
test r10w, sp
mov dword [rbp - 0x2c], esi
cmc
stc
cmp r15w, ax
cmp cx, 0xa
jne 0x1404dcc33
mov ecx, 0xd
jmp 0x1404dcbfa
call fcn.1404e7184
mov ecx, 0xd
cmp r13w, 0x704a
cmp ax, cx
jmp 0x1404dcc12
jne 0x1404dcc54
inc esi
jmp 0x1404dcc1f
mov dword [rbp - 0x2c], esi
inc ebx
cmp r8w, 0x4ecf
jmp 0x1404dcc33
add r14, 2
cmp r15b, 0x23
stc
jmp 0x1404dcc41
cmp r14, r12
jmp 0x1404dcc49
jae 0x1404dcddc
jmp 0x1404dcba1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp - 0x30], eax
jmp 0x1404dcddc
mov r9d, r14d
movzx r8w, dil
lea rcx, [rbp - 0x30]
movzx r8, si
xchg r8w, r8w
mov rdx, 0x226c5cf6
mov r8, rdi
not rdx
movsxd rdx, r14d
mov edx, r12d
call fcn.1404dcf12
movsd xmm0, qword [rax]
mov bx, r15w
mov bx, 0x616f
jmp 0x1404dcc9f
mov ebx, dword [rax + 8]
jmp 0x1404dcca7
jmp 0x1404dcde6
lea rax, [0x1400ba940]
rcr ecx, 0xa0
bts rcx, rbx
xchg cx, cx
mov rcx, qword [rax + r13*8]
cmp byte [rcx + r15*8 + 0x38], bl
jge 0x1404dcd70
mov ecx, esi
cmc
clc
test sil, sil
jmp 0x1404dccd8
je 0x1404dcd4c
sub ecx, 1
je 0x1404dcd22
cmp ecx, 1
jmp 0x1404dccef
jne 0x1404dcded
mov r9d, r14d
lea rcx, [rbp - 0x30]
movsx r8d, bp
cwd
bswap rdx
mov r8, rdi
cwd
mov dh, 0x87
bswap dx
mov edx, r12d
jmp 0x1404dcd18
call fcn.1404ddb1d
jmp 0x1404dcc8e
mov r9d, r14d
mov r8b, 0x8d
setg r8b
cdq
lea rcx, [rbp - 0x30]
cwd
movsx r8w, r10b
movzx r8, cx
mov r8, rdi
mov edx, r12d
call fcn.1404dddc2
jmp 0x1404dcc8e
mov r9d, r14d
xchg ch, dl
lea rcx, [rbp - 0x30]
movsx rdx, r12w
mov r8, rdi
xchg dh, dl
mov edx, r12d
jmp 0x1404dcd66
call fcn.1404dd8d4
jmp 0x1404dcc8e
mov rcx, qword [rcx + r15*8 + 0x28]
sal r9w, cl
lea r9, [rbp - 0x2c]
ror r8w, cl
rol r8w, 0xaf
sub eax, eax
movsx r8, bp
mov r8d, r14d
and qword [rsp + 0x20], rax
cdq
setb dh
bswap dx
mov rdx, rdi
jmp 0x1404dcda3
mov qword [rbp - 0x30], rax
jmp 0x1404dcdac
mov dword [rbp - 0x28], eax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jmp 0x1404dcdbc
jne 0x1404dcdd1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp - 0x30], eax
shld bx, r14w, 7
mov ebx, dword [rbp - 0x28]
not al
dec ah
rol ax, 0xea
movsd xmm0, qword [rbp - 0x30]
nop
bsr eax, r9d
movsd qword [rbp - 0x20], xmm0
cbw
mov rax, qword [rbp - 0x20]
stc
cmp edi, 0x740e4178
test si, r10w
shr rax, 0x20
test eax, eax
jne 0x1404dceae
mov eax, dword [rbp - 0x20]
test eax, eax
jmp 0x1404dce12
je 0x1404dce5d
cmp eax, 5
jmp 0x1404dce20
jne 0x1404dce4b
call fcn.1404b6d2b
mov dword [rax], 9
jmp 0x1404dce36
call fcn.1404b6d69
mov dword [rax], 5
jmp 0x1404dce46
jmp 0x1404dc9e8
mov ecx, dword [rbp - 0x20]
jmp 0x1404dce53
call fcn.1404b6da0
jmp 0x1404dc9e8
lea rax, [0x1400ba940]
stc
test eax, eax
mov rax, qword [rax + r13*8]
test rdi, 0x37943394
test byte [rax + r15*8 + 0x38], 0x40
jmp 0x1404dce7d
je 0x1404dce8c
cmp byte [rdi], 0x1a
je 0x1404dcebf
call fcn.1404b6d2b
mov dword [rax], 0x1c
jmp 0x1404dce9c
call fcn.1404b6d69
and dword [rax], 0
jmp 0x1404dcea9
jmp 0x1404dc9e8
mov eax, dword [rbp - 0x1c]
clc
cmc
sub eax, ebx
jmp 0x1404dceba
jmp 0x1404dcec5
xor eax, eax
movzx r15, bp
mov rbx, qword [rsp + 0xb8]
add rsp, 0x60
xchg r15w, si
cmove r14d, r14d
movzx r14w, r8b
pop r15
bswap r12w
pop r14
pop r13
xchg r12b, r12b
pop r12
cmovl rsi, r15
movzx esi, r13w
pop rdi
movsx si, dl
setno sil
pop rsi
xchg bpl, bpl
movsx rbp, r11w
jmp 0x1404dcf0b
pop rbp
jmp 0x1404dcf11
ret