Function at 0x2edd72ec0
Capabilities:
Encode data using base64
Encode data using xor

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xd8
mov r13d, ecx
mov edi, edx
mov esi, r8d
mov r12, r9
push r12
pslld mm2, 0x1a
nop
dec r12d
por mm7, mm1
subps xmm7, xmm6
push r10
psrad mm2, 0x33
movlhps xmm1, xmm9
sar r10b, 0x16
nop
push r13
paddw mm3, mm4
pcmpgtd mm5, mm1
not r12
push rcx
punpcklbw mm7, mm3
ror r13d, 8
push r11
pcmpgtd mm1, mm4
pop r11
mov r12b, r10b
inc r10
pop rcx
nop
shl r12w, 0x17
inc r12d
pop r13
inc r12
movlhps xmm4, xmm15
inc r12
comiss xmm4, xmm6
pop r10
psrld mm0, 0x1f
psllq mm6, 0x3e
nop
psrlq mm7, 0x4a
sar r12, 0xd
pop r12
mov dword [rsp + 0x32], 0x746153
push r10
emms
not r10d
psraw mm6, 0xc
push r11
inc r11
add r10, r11
xchg r11w, r10w
push rdx
dec r11d
emms
rcr r10w, 0x13
pop rdx
sar r10b, 0xe
paddb mm0, mm6
sbb r10w, r11w
pop r11
sar r10b, 0x17
psrlw mm5, 0xe
emms
pop r10
mov dword [rsp + 0x38], 0x6034756f
mov word [rsp + 0x3c], 0x6c
push r10
mov r10, 2
push r11
pop r11
dec r10
jne 0x2edd72fa3
pop r10
lea rbp, [rsp + 0x38]
lea rbx, [rsp + 0x32]
mov rdx, rbp
mov rcx, rbx
call sub.msvcrt.dll__mbscmp
test eax, eax
jne 0x2edd73026
mov rax, rbx
lea rdx, [rsp + 0x35]
push r13
nop
push rbx
emms
shl bx, 2
push r15
andps xmm3, xmm10
add bx, r13w
pslld mm7, 0x2c
pop r15
inc r13
shl r13, 0x16
pop rbx
nop
pop r13
xor byte [rax], 0x42
push rcx
andnps xmm6, xmm7
pcmpgtb mm2, mm1
rcpss xmm6, xmm9
psraw mm7, 0x46
push rax
psrlq mm5, 0x54
neg ecx
pminsw mm2, mm7
nop
pop rax
emms
psadbw mm5, mm3
nop
dec ecx
pop rcx
inc rax
cmp rax, rdx
jne 0x2edd72fcf
jmp 0x2edd73062
mov rax, rbp
lea rdx, [rsp + 0x3d]
push r9
rcpps xmm7, xmm11
push r14
paddw mm5, mm4
movaps xmm15, xmm2
pop r14
pmaddwd mm6, mm0
pop r9
xor byte [rax], 0x43
push rax
mov rax, 2
push rcx
dec rcx
pop rcx
dec rax
jne 0x2edd7304f
pop rax
inc rax
cmp rax, rdx
jne 0x2edd7302e
push r14
pslld mm6, 0xa
movaps xmm2, xmm13
rcr r14b, 6
nop
sar r14, 0x10
psrlw mm1, 4
nop
emms
neg r14d
psrad mm2, 0x58
nop
pcmpeqw mm2, mm7
pop r14
mov dword [rsp + 0x38], r13d
push r12
mov r12, 1
push r15
push r13
pop r13
pop r15
dec r12
jne 0x2edd73097
pop r12
mov dword [rsp + 0x3c], edi
push r10
subss xmm12, xmm11
push r13
pcmpeqw mm2, mm7
nop
push r8
mulss xmm14, xmm12
emms
mov r8d, 6
push r12
not r13d
neg r13
neg r12d
or r13, r10
push rcx
minps xmm13, xmm14
punpckhbw mm1, mm5
dec rcx
addps xmm11, xmm13
rcpss xmm11, xmm3
pop rcx
nop
movups xmm14, xmm7
psubusw mm5, mm4
nop
pop r12
movhlps xmm5, xmm6
nop
emms
pop r8
emms
nop
pop r13
psrld mm1, 0x2b
pop r10
mov ecx, 0x10
call sub.msvcrt.dll_malloc
mov rcx, rax
push r9
dec r9
push r10
rcpps xmm4, xmm0
push rcx
emms
push r14
dec r10d
pop r14
or r9w, cx
pop rcx
add r10b, r9b
pop r10
ror r9b, 0xd
pop r9
mov edx, pe_nt_image_headers64
call sub.msvcrt.dll_realloc
mov rcx, rax
xor eax, eax
push rdx
addps xmm2, xmm3
psllq mm5, 0x2e
sar dl, 5
push r13
psrld mm0, 0x3b
pmulhuw mm2, mm0
emms
push r11
andnps xmm3, xmm8
sbb r13d, 0x12
push rax
add dl, r11b
pmullw mm0, mm5
pop rax
dec r13
nop
sub r11, 0xb
pop r11
emms
nop
pop r13
psrad mm2, 0x37
nop
pop rdx
xor dword [rcx + rax*4], 0x67
push r12
mov r12, 2
push r12
inc r12
push r10
cmp r10b, r12b
push r8
psrld mm0, 0x14
push r11
psllq mm7, 0x47
push r14
emms
push rbx
nop
pop rbx
sbb r11b, r10b
pop r14
psrld mm2, 0x21
pop r11
psraw mm3, 0x63
pop r8
mulss xmm15, xmm13
pop r10
emms
pop r12
dec r12
jne 0x2edd73191
pop r12
inc rax
cmp rax, 4
jne 0x2edd73147
call sub.msvcrt.dll_free
push r8
inc r8
push r13
emms
shr r8, 0xd
pop r13
rcl r8b, 8
pop r8
xor edx, edx
mov dword [rsp + 0x32], 0x7a4146
mov qword [rsp + 0x40], rdx
push r14
maxss xmm8, xmm7
psllq mm7, 0x32
comiss xmm5, xmm10
push r15
not r14w
punpckhbw mm7, mm4
paddd mm3, mm6
push r12
sbb r12w, r15w
shl r12w, 2
or r15b, r14b
pop r12
nop
emms
emms
pop r15
pslld mm3, 0x5e
nop
not r14d
pop r14
mov rcx, rbx
call sub.msvcrt.dll_strlen
cmp rax, 2
jne 0x2edd7326b
push r9
psubw mm6, mm5
push rdx
add r9, rdx
push r15
psrld mm1, 0x5a
pop r15
not r9
pop rdx
nop
pop r9
jmp 0x2edd73272
push r10
not r10d
pop r10
push r9
psrad mm2, 4
push rax
maxps xmm4, xmm1
push r15
psrld mm7, 0x26
push r13
not ax
push rcx
inc r9d
pop rcx
nop
pop r13
rol rax, 4
pop r15
nop
pop rax
emms
pop r9
lea rax, [fcn.2edd72ec0]
mov dword [rsp + 0x32], 0x7e257e5e
mov qword [rsp + 0x48], rax
mov word [rsp + 0x36], 0x77
push r11
nop
emms
movaps xmm8, xmm9
pcmpgtd mm5, mm2
paddw mm1, mm2
andps xmm9, xmm8
nop
pop r11
mov dword [rsp + 0x2e], 0x577026
push r15
inc r15d
push r13
pmaddwd mm0, mm1
push r11
test r11w, r13w
push rdx
dec r13d
pop rdx
packsswb mm3, mm1
pop r11
emms
pop r13
paddusw mm7, mm0
pop r15
lea rdi, [rsp + 0x2e]
mov rcx, rbx
mov rdx, rdi
call sub.msvcrt.dll__mbscmp
test eax, eax
jne 0x2edd7336e
mov rax, rbx
lea rdx, [rsp + 0x37]
cmp r13, 0x23
jne 0x2edd7332a
push rdx
ror dl, 0x14
push r9
psubusw mm4, mm6
emms
pop r9
nop
pop rdx
jmp 0x2edd7333a
push r10
pslld mm5, 6
push rbx
emms
paddw mm3, mm0
pop rbx
nop
pop r10
push r15
paddb mm7, mm1
push r14
emms
nop
pop r14
nop
pop r15
xor byte [rax], 0x57
push r14
movhlps xmm14, xmm13
push rbx
cmp ebx, r14d
psrld mm4, 9
pop rbx
andnps xmm14, xmm5
pop r14
inc rax
cmp rax, rdx
jne 0x2edd73313
jmp 0x2edd73411
mov rax, rdi
lea rdx, [rsp + 0x31]
push rdx
punpckhbw mm3, mm5
push r8
dec r8d
push rax
pcmpgtd mm2, mm1
push rcx
dec rdx
pop rcx
packssdw mm2, mm5
pop rax
addss xmm8, xmm6
pop r8
paddb mm0, mm6
pop rdx
xor byte [rax], 0x14
push rcx
nop
not cx
pminsw mm3, mm1
dec ecx
paddw mm5, mm1
push r8
rcpps xmm10, xmm5
movaps xmm5, xmm12
subps xmm8, xmm1
emms
push rax
maxps xmm14, xmm4
psubsb mm4, mm2
shl r8d, 0xe
push r10
rol r8d, 7
shl r10d, 0x13
push r13
or r8d, r10d
pop r13
nop
and r10d, r8d
pop r10
psllq mm3, 0x35
addps xmm12, xmm9
psadbw mm5, mm3
pop rax
punpckhbw mm0, mm3
psrld mm3, 0x5d
dec r8d
psrld mm4, 5
pop r8
psrlw mm4, 0x2a
nop
comiss xmm13, xmm0
psrlq mm3, 0x19
nop
pop rcx
inc rax
cmp rax, rdx
jne 0x2edd73376
cmp r13w, dx
jne 0x2edd7342a
push r8
emms
push rax
xchg r8, rax
cmp rax, r8
pop rax
psrad mm7, 0x69
pop r8
jmp 0x2edd73440
push r10
sar r10w, 0x17
push rcx
paddsb mm2, mm3
sbb r10w, cx
pop rcx
mulps xmm14, xmm1
pop r10
push rbx
movhlps xmm13, xmm9
push r15
xorps xmm5, xmm8
emms
pop r15
dec ebx
pop rbx
test esi, esi
je 0x2edd7368c
test r12, r12
je 0x2edd7368c
push r14
paddsb mm7, mm0
push rdx
mov dl, 0xe
push r15
adc rdx, r14
push r13
nop
push rcx
test ecx, r13d
push r10
psubw mm5, mm2
pop r10
nop
pop rcx
rcr r15b, 0x12
pop r13
xchg dl, r14b
pop r15
pcmpgtb mm0, mm3
pop rdx
psllq mm3, 0x67
pop r14
call fcn.2edd83a61
cmp esi, 0xf
jbe 0x2edd734df
push r15
psllq mm4, 0x37
psrad mm4, 0x1c
not r15b
push r14
dec r15
psrld mm0, 0x3e
emms
push r13
psrld mm2, 0x21
psraw mm0, 0x34
mov r15w, r13w
pop r13
test r15w, r14w
nop
emms
pop r14
nop
psrld mm6, 0x6b
punpcklwd mm5, mm7
pop r15
mov esi, 0xf
push r9
not r9b
push r12
psubw mm3, mm4
pop r12
sbb r9d, 8
pop r9
mov ecx, 8
call sub.msvcrt.dll_malloc
mov rcx, rax
xor eax, eax
push r11
maxps xmm1, xmm2
emms
push r12
pcmpgtd mm6, mm7
psraw mm3, 0x3f
push rcx
mov r12d, r11d
pmaxsw mm7, mm5
push r15
neg rcx
ror r12b, 6
push rax
mulps xmm9, xmm13
or r15b, cl
pop rax
nop
comiss xmm8, xmm2
pop r15
andnps xmm9, xmm3
comiss xmm13, xmm8
pop rcx
add r11b, r12b
sub r12w, 0xf
pop r12
emms
psubsb mm5, mm2
pop r11
xor dword [rcx + rax*4], 0x57
push r10
pcmpgtw mm6, mm7
rcl r10d, 5
sbb r10, 2
packssdw mm0, mm2
pandn mm6, mm1
subps xmm8, xmm5
nop
pop r10
test rax, rax
jne 0x2edd73574
mov eax, 1
jmp 0x2edd73500
call sub.msvcrt.dll_free
cmp r13, 0x36
jne 0x2edd735d8
push rdx
psrlw mm7, 0xf
neg dl
nop
psrld mm0, 0x20
emms
push rbx
nop
comiss xmm3, xmm4
packsswb mm7, mm2
pslld mm4, 0x50
pcmpgtb mm1, mm5
pop rbx
emms
psrld mm1, 0x34
pxor mm1, mm6
psadbw mm6, mm4
shl rdx, 0xa
nop
pop rdx
jmp 0x2edd73615
push r14
pcmpgtd mm5, mm0
mulss xmm3, xmm9
push r13
mov r14b, r13b
rol r14b, 5
push r8
nop
psrld mm0, 1
push r11
add r14b, r11b
psraw mm5, 0x59
pop r11
nop
movaps xmm13, xmm3
pop r8
inc r13
inc r14
pop r13
dec r14
sbb r14, 9
pop r14
push r8
pslld mm7, 0x48
psrlw mm4, 0x60
push r12
movaps xmm7, xmm15
not r8w
push rcx
neg r8b
sub cl, r12b
push r14
nop
emms
push r11
nop
rcpps xmm4, xmm7
pop r11
ucomiss xmm13, xmm7
and ecx, r12d
pop r14
psllq mm0, 0x45
neg r8
pop rcx
nop
nop
pop r12
nop
ucomiss xmm2, xmm4
pop r8
mov dword [rsp + 0x50], esi
push r12
mov r12, 1
push r15
push r13
pop r13
pop r15
dec r12
jne 0x2edd73665
pop r12
mov edx, esi
lea rcx, [rsp + 0x58]
mov r8, r12
shl rdx, 3
mov r9, rdx
call fcn.2edd814d3
jmp 0x2edd736cd
push r15
psllq mm4, 0x37
psrad mm4, 0x1c
not r15b
push r14
dec r15
psrld mm0, 0x3e
emms
push r13
psrld mm2, 0x21
psraw mm0, 0x34
mov r15w, r13w
pop r13
test r15w, r14w
nop
emms
pop r14
nop
psrld mm6, 0x6b
punpcklwd mm5, mm7
pop r15
xor eax, eax
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x32], 0x7e744e53
mov word [rsp + 0x36], 0x55
cmp r13b, 0x16
je 0x2edd7378c
push r15
emms
emms
push rbx
nop
pop rbx
psraw mm2, 0x53
psadbw mm7, mm5
pop r15
cmp r11, r15
je 0x2edd737ab
push rcx
pxor mm4, mm3
push r13
rcpps xmm13, xmm5
push r15
emms
push r10
emms
push r8
comiss xmm3, xmm6
pop r8
emms
pop r10
movups xmm14, xmm6
pop r15
sub r13, rcx
pop r13
emms
pop rcx
cmp r12, 0x4f
je 0x2edd737c3
push rbx
shl rbx, 0x11
pop rbx
cmp r10, r11
je 0x2edd73801
push r10
mov r10, 3
push r11
pop r11
dec r10
jne 0x2edd7374e
pop r10
cmp r9w, r15w
je 0x2edd73862
push rcx
andps xmm11, xmm13
push r13
sbb ecx, 0xd
push r14
sub r13w, cx
pop r14
emms
pop r13
packssdw mm1, mm5
pop rcx
cmp cx, ax
je 0x2edd73877
jne 0x2edd738af
push r9
not r9d
push r13
ucomiss xmm10, xmm14
push rax
neg r9
pop rax
pmaddwd mm3, mm1
pop r13
pand mm6, mm2
pop r9
jmp 0x2edd738af
push rcx
xorps xmm8, xmm15
push r10
pmaxub mm4, mm0
comiss xmm8, xmm10
pop r10
emms
pop rcx
jmp 0x2edd738af
push r8
dec r8d
psraw mm0, 0x59
psrlw mm3, 0x3d
push rbx
nop
psrad mm2, 0x28
nop
push r13
sub bl, r8b
not r8b
rcpps xmm13, xmm3
pop r13
mulss xmm0, xmm14
nop
psraw mm6, 0x2f
pop rbx
packuswb mm3, mm1
psrlq mm7, 0x54
dec r8
pop r8
jmp 0x2edd738af
push r11
punpcklwd mm0, mm2
push r12
emms
maxss xmm3, xmm2
push rax
sbb al, 1
comiss xmm8, xmm13
dec eax
push r13
movups xmm15, xmm3
emms
emms
packuswb mm7, mm3
push r15
mov r13b, 0xb
andps xmm3, xmm11
psllq mm3, 0x23
packsswb mm3, mm5
paddusw mm1, mm7
pop r15
emms
pandn mm2, mm5
andps xmm3, xmm11
inc r12d
pop r13
pminsw mm4, mm3
psrld mm3, 0x45
psadbw mm1, mm7
pop rax
adc r12, r11
not r11
pop r12
psrad mm2, 0x13
pop r11
jmp 0x2edd738af
push r9
mov r9d, 0xc
push r13
nop
pop r13
shr r9d, 3
pop r9
jmp 0x2edd738af
push r10
andps xmm12, xmm2
push r12
and r12d, r10d
push rbx
emms
push r15
dec r15d
push r14
nop
push r11
sub r14, r15
pop r11
pand mm1, mm3
pop r14
add r12b, r10b
pop r15
movups xmm1, xmm9
pop rbx
mulss xmm7, xmm8
pop r12
mov r10b, 0x14
pop r10
cmp r13w, 0x39
jne 0x2edd738bc
push rdx
emms
pop rdx
jmp 0x2edd738c4
push r8
psllq mm0, 0x37
pop r8
push r10
pmulhuw mm5, mm3
pop r10
mov rcx, rbx
call sub.msvcrt.dll_strlen
cmp rax, 4
jne 0x2edd7390d
push r13
emms
psllq mm0, 0x5a
push rbx
paddw mm7, mm0
pcmpeqb mm3, mm4
push rcx
rcl cx, 2
emms
push r10
emms
movhlps xmm12, xmm2
pop r10
not rbx
andps xmm4, xmm7
pop rcx
nop
psubusw mm1, mm2
pop rbx
dec r13d
nop
pop r13
jmp 0x2edd7397b
lea rax, [rsp + 0x37]
push r12
shl r12w, 0x13
push r14
ror r12d, 0xf
push rax
pslld mm5, 0x25
pop rax
psrlq mm1, 0x4b
pop r14
psrlq mm1, 0x44
pop r12
xor byte [rbx], 0x98
cmp r13w, r8w
jne 0x2edd73950
push rax
rcpss xmm15, xmm9
push r12
ror r12b, 0x16
pcmpeqb mm2, mm6
pop r12
emms
pop rax
jmp 0x2edd73961
push r14
emms
push rcx
xchg cx, r14w
mov r14, rcx
pop rcx
emms
pop r14
push r9
neg r9w
push r8
shl r8b, 0x12
nop
pop r8
nop
pop r9
inc rbx
cmp rbx, rax
jne 0x2edd73912
push r8
emms
pop r8
mov rcx, rbp
call fcn.2edd7cf76
nop
add rsp, 0xd8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret