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

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
stc
cmp dl, r10b
add bpl, r9b
push rsi
jmp 0x1404da000
push rdi
shr bpl, cl
push r12
or r12w, dx
bswap rdi
push r13
sub r12b, r13b
push r14
adc r12b, r10b
shld r14w, si, 0xba
push r15
mov rbp, rsp
sub rsp, 0x60
rol r14w, 0x1d
xor ebx, ebx
sub r12w, r14w
bts r12w, ax
mov r14d, r8d
movsxd r12, ecx
mov rdi, rdx
jmp 0x1404da044
test r8d, r8d
je 0x1404da50e
test rdx, rdx
jmp 0x1404da055
jne 0x1404da084
call fcn.1404b44de
mov dword [rax], ebx
call fcn.1404b449b
mov dword [rax], 0x16
jmp 0x1404da072
call fcn.1404b5134
or eax, 0xffffffff
jmp 0x1404da07f
jmp 0x1404da51b
mov rax, r12
ror r15d, cl
lea rcx, [0x1400ba940]
and eax, 0x3f
not r15d
shld rsi, r8, 0x5d
mov r13, r12
rol sil, 0x3d
sar r13, 6
movsxd r15, r9d
lea r15, [rax + rax*8]
sub ax, 0x7193
shl al, cl
mov rcx, qword [rcx + r13*8]
mov sil, 0xc5
cdqe
bswap eax
movsx esi, byte [rcx + r15*8 + 0x39]
movzx ax, sil
mov ax, 0x5502
btc ax, 0x7e
lea eax, [rsi - 1]
cmc
clc
cmp al, 1
jmp 0x1404da0df
ja 0x1404da0f7
mov eax, r14d
not eax
test al, 1
jmp 0x1404da0f1
je 0x1404da05b
test byte [rcx + r15*8 + 0x38], 0x20
je 0x1404da121
xor edx, edx
not r8w
mov ecx, r12d
mov r8b, r8b
sets r8b
lea r8d, [rdx + 2]
jmp 0x1404da11c
call fcn.1401e3d04
mov ecx, r12d
jmp 0x1404da129
mov qword [rbp - 0x20], rbx
jmp 0x1404da132
call fcn.1404dff6f
test eax, eax
jmp 0x1404da13e
je 0x1404da306
lea rax, [0x1400ba940]
mov rax, qword [rax + r13*8]
test r13b, al
cmp byte [rax + r15*8 + 0x38], bl
jmp 0x1404da15c
jge 0x1404da306
call fcn.1404c852c
mov rcx, qword [rax + 0x90]
cmp qword [rcx + 0x138], rbx
jmp 0x1404da17a
jne 0x1404da19b
lea rax, [0x1400ba940]
clc
cmc
mov rax, qword [rax + r13*8]
cmp r11b, r10b
cmp byte [rax + r15*8 + 0x39], bl
je 0x1404da306
lea rax, [0x1400ba940]
movzx edx, r14w
movsx dx, r12b
not dh
mov rcx, qword [rax + r13*8]
lea rdx, [rbp - 0x10]
mov rcx, qword [rcx + r15*8 + 0x28]
jmp 0x1404da1bf
call qword [sym.imp.KERNEL32.dll_GetConsoleMode]
test eax, eax
je 0x1404da306
test sil, sil
jmp 0x1404da1d5
je 0x1404da2c6
dec sil
stc
jmp 0x1404da1e4
cmp sil, 1
jmp 0x1404da1ed
ja 0x1404da437
lea r12, [rdi + r14]
movsx r14, bx
sbb r14d, 0x73fb7e32
mov qword [rbp - 0x30], rbx
cmc
bsf r14d, r14d
btr r14d, 0x75
mov r14, rdi
test dil, r11b
cmp rdi, r12
jmp 0x1404da21e
jae 0x1404da423
mov esi, dword [rbp - 0x2c]
movzx eax, bx
movzx rax, di
movzx eax, word [r14]
jmp 0x1404da23b
movzx ecx, ax
jmp 0x1404da243
mov word [rbp - 0x10], ax
jmp 0x1404da24c
call fcn.1404e47c1
movzx ecx, word [rbp - 0x10]
cmp ax, cx
jmp 0x1404da25d
jne 0x1404da2b3
add esi, 2
cmc
cmp r15b, 0x68
mov dword [rbp - 0x2c], esi
cmp cx, 0xa
jne 0x1404da2a1
mov ecx, 0xd
jmp 0x1404da282
call fcn.1404e47c1
mov ecx, 0xd
cmp ax, cx
jmp 0x1404da294
jne 0x1404da2b3
inc esi
mov dword [rbp - 0x2c], esi
inc ebx
add r14, 2
cmp r14, r12
jae 0x1404da423
jmp 0x1404da22e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp - 0x30], eax
jmp 0x1404da2c1
jmp 0x1404da423
mov r9d, r14d
cdq
setb dl
mov dx, 0x474e
lea rcx, [rbp - 0x30]
not dl
mov r8, rdi
xchg dx, dx
bswap rdx
mov edx, r12d
jmp 0x1404da2e8
call fcn.1404da572
movsd xmm0, qword [rax]
setne bl
movsx bx, r11b
mov ebx, dword [rax + 8]
jmp 0x1404da301
jmp 0x1404da428
lea rax, [0x1400ba940]
bts rcx, r10
mov rcx, qword [rax + r13*8]
stc
cmp byte [rcx + r15*8 + 0x38], bl
jmp 0x1404da320
jge 0x1404da3c9
mov ecx, esi
test sil, sil
jmp 0x1404da330
je 0x1404da3a0
sub ecx, 1
jmp 0x1404da33e
je 0x1404da378
cmp ecx, 1
jmp 0x1404da34c
jne 0x1404da437
mov r9d, r14d
lea rcx, [rbp - 0x30]
movzx rdx, r8w
bswap r8
mov r8, rdi
not rdx
mov edx, r12d
jmp 0x1404da36e
call fcn.1404db1b6
jmp 0x1404da2ed
mov r9d, r14d
lea rcx, [rbp - 0x30]
cdq
mov r8, rdi
movsxd rdx, ebx
movsx edx, r9w
movsx dx, dl
mov edx, r12d
jmp 0x1404da396
call fcn.1404db414
jmp 0x1404da2ed
mov r9d, r14d
xchg ch, ch
lea rcx, [rbp - 0x30]
movsx r8, r13w
cwd
mov r8, rdi
cmovbe dx, r12w
mov edx, r12d
jmp 0x1404da3bf
call fcn.1404daf80
jmp 0x1404da2ed
mov rcx, qword [rcx + r15*8 + 0x28]
stc
lea r9, [rbp - 0x2c]
sub eax, eax
mov r8d, r14d
and qword [rsp + 0x20], rax
cwd
mov rdx, rdi
jmp 0x1404da3e7
mov qword [rbp - 0x30], rax
jmp 0x1404da3f0
mov dword [rbp - 0x28], eax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jmp 0x1404da400
jne 0x1404da41d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp - 0x30], eax
jmp 0x1404da41d
mov ebx, dword [rbp - 0x28]
test al, r12b
movsd xmm0, qword [rbp - 0x30]
movsd qword [rbp - 0x20], xmm0
movsx rax, si
inc ax
mov al, dil
mov rax, qword [rbp - 0x20]
stc
jmp 0x1404da441
shr rax, 0x20
test eax, eax
jmp 0x1404da44c
jne 0x1404da4f9
mov eax, dword [rbp - 0x20]
test cl, 0x6e
test r12, r15
test eax, eax
jmp 0x1404da462
je 0x1404da4ad
cmp eax, 5
jmp 0x1404da470
jne 0x1404da49b
call fcn.1404b449b
mov dword [rax], 9
jmp 0x1404da486
call fcn.1404b44de
mov dword [rax], 5
jmp 0x1404da496
jmp 0x1404da077
mov ecx, dword [rbp - 0x20]
jmp 0x1404da4a3
call fcn.1404b450a
jmp 0x1404da077
lea rax, [0x1400ba940]
test bh, 0xf6
cmc
mov rax, qword [rax + r13*8]
clc
test byte [rax + r15*8 + 0x38], 0x40
jmp 0x1404da4c8
je 0x1404da4dc
cmp byte [rdi], 0x1a
jmp 0x1404da4d6
je 0x1404da50e
call fcn.1404b449b
mov dword [rax], 0x1c
call fcn.1404b44de
and dword [rax], 0
jmp 0x1404da4f4
jmp 0x1404da077
mov eax, dword [rbp - 0x1c]
test edi, 0x364f1c69
jmp 0x1404da507
sub eax, ebx
jmp 0x1404da51b
sub eax, eax
shl r14b, 0x2b
xadd r12b, dil
shr rdi, cl
mov rbx, qword [rsp + 0xb8]
clc
add rsp, 0x60
cmovae si, r12w
mov dil, r13b
pop r15
movzx r12d, r13w
movsxd rdi, ebx
pop r14
movzx r13, si
movsx si, r11b
mov r13w, 0x7c64
pop r13
movsx r12, sp
pop r12
mov sil, 0xd4
movsx rdi, bx
pop rdi
setae sil
bswap ebp
pop rsi
mov rbp, 0x172c6d6d
movzx ebp, r8w
pop rbp
jmp 0x1404da571
ret