Function at 0x180007d60
Capabilities:
Encode data using base64
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x90
mov rax, qword [0x180045338]
xor rax, rsp
mov qword [rsp + 0x88], rax
lea ebx, [r8 + 5]
mov qword [rsp + 0x30], rdx
mov eax, r8d
mov dword [rsp + 0x24], ebx
cmp r8d, ebx
mov dword [rsp + 0x28], eax
movzx ebx, byte [rsp + 0x20]
mov rbp, rdx
mov r12, rcx
jae 0x180007f90
movzx r15d, byte [rsp + 0x20]
movabs r8, 0xaaaaaaaaaaaaaaab
mov rdi, qword [rsp + 0x30]
mov r14d, dword [rsp + 0x2c]
mov r13, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x30]
mov ecx, dword [rsp + 0x24]
mov byte [rsp + 0x20], bl
nop dword [rax]
sub eax, 0xa
je 0x1800080db
sub eax, 1
je 0x180007f90
sub eax, 4
je 0x180008094
sub eax, 1
je 0x180007fbe
cmp eax, 1
jne 0x180007f7e
mov r9, qword [rsp + 0x40]
cmp r9, qword [r12 + 0x10]
jae 0x180007f7e
mov ebx, dword [rsp + 0x2c]
mov ebp, 0x107
nop word [rax + rax]
mov eax, ebp
sub eax, 0x103
je 0x180007ef8
sub eax, 1
je 0x180007ed6
sub eax, 1
je 0x180007ead
sub eax, 1
je 0x180007e80
cmp eax, 1
jne 0x180007f4f
movzx ebx, byte [rsi]
movzx r15d, al
lea rax, [r9 + 1]
xor r13d, r13d
cmp rax, qword [r12 + 0x10]
jae 0x180007e78
movzx r14d, byte [rsi + 1]
jmp 0x180007f4f
xor r14d, r14d
jmp 0x180007f4f
xorps xmm0, xmm0
mov dword [rsp + 0x3c], 0
xor eax, eax
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x78], rax
movups xmmword [rsp + 0x58], xmm0
mov dword [rsp + 0x80], eax
movups xmmword [rsp + 0x68], xmm0
jmp 0x180007f4f
mov rax, qword [0x180049520]
lea rdx, [rsp + 0x48]
mov ecx, ebx
shr rcx, 2
movzx ecx, byte [rcx + rax]
mov byte [rdi], cl
inc rdi
mov rcx, r13
call sub.IMM32.dll_ImmGetCompositionFontA
mov dword [rsp + 0x38], eax
jmp 0x180007f4f
mov ecx, ebx
mov eax, r14d
and ecx, 3
shr eax, 4
shl ecx, 4
add ecx, eax
mov rax, qword [0x180049520]
movzx ecx, byte [rcx + rax]
mov byte [rdi], cl
inc rdi
jmp 0x180007f4f
xor ecx, ecx
movzx eax, r15b
cmp dword [rsp + 0x38], ecx
cmovne ecx, eax
lea rax, [r9 + 1]
movzx r15d, cl
cmp rax, qword [r12 + 0x10]
jae 0x180007f31
mov eax, dword [rsp + 0x3c]
mov ecx, r14d
and ecx, 0xf
shr eax, 6
lea ecx, [rax + rcx*4]
mov rax, qword [0x180049520]
movzx edx, byte [rcx + rax]
jmp 0x180007f33
mov dl, 0x3d
mov byte [rdi], dl
test r15b, r15b
je 0x180007f47
lea rdx, [rsp + 0x48]
mov rcx, r13
call sub.IMM32.dll_ImmSetCompositionFontA
mov byte [rdi + 1], 0x3d
add rdi, 2
mov r9, qword [rsp + 0x40]
dec ebp
cmp ebp, 0x102
ja 0x180007e30
mov rbp, qword [rsp + 0x30]
mov dword [rsp + 0x2c], ebx
movzx ebx, byte [rsp + 0x20]
movabs r8, 0xaaaaaaaaaaaaaaab
mov ecx, dword [rsp + 0x24]
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
cmp eax, ecx
jb 0x180007de0
movzx eax, bl
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.180039fa0
mov rbx, qword [rsp + 0xe0]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rax, r8
mul qword [r12 + 0x10]
xor eax, eax
shr rdx, 1
mov qword [rsp + 0x40], rax
lea rcx, [rdx + rdx*2]
test rcx, rcx
je 0x180007f7a
dec rcx
mov rax, r8
mul rcx
shr rdx, 1
inc rdx
lea rax, [rdx + rdx*2]
mov qword [rsp + 0x40], rax
mov r8d, 8
mov eax, r8d
sub eax, 8
je 0x180008021
cmp eax, 1
jne 0x180008078
movzx ecx, byte [rsi + 2]
mov rax, qword [0x180049520]
and ecx, 0x3f
movzx ecx, byte [rcx + rax]
mov byte [rdi], cl
inc rdi
add rsi, 3
jmp 0x180008078
mov rax, qword [0x180049520]
movzx ecx, byte [rsi]
shr rcx, 2
movzx ecx, byte [rcx + rax]
mov byte [rdi], cl
movzx ecx, byte [rsi]
movzx eax, byte [rsi + 1]
and ecx, 3
shl ecx, 4
shr eax, 4
add ecx, eax
mov rax, qword [0x180049520]
movzx ecx, byte [rcx + rax]
mov byte [rdi + 1], cl
movzx ecx, byte [rsi + 2]
movzx eax, byte [rsi + 1]
shr ecx, 6
and eax, 0xf
lea ecx, [rcx + rax*4]
mov rax, qword [0x180049520]
movzx ecx, byte [rcx + rax]
mov byte [rdi + 2], cl
add rdi, 3
inc r8d
cmp r8d, 0xa
jb 0x180007ff7
sub rdx, 1
jne 0x180007ff1
jmp 0x180007f70
mov rcx, qword [r12 + 0x10]
mov rax, r8
add rcx, 2
xor r8d, r8d
mul rcx
mov rcx, rbp
shr rdx, 1
shl rdx, 2
call fcn.18002f0b0
cmp qword [r12 + 0x18], 0x10
mov rsi, r12
jb 0x1800080c4
mov rsi, qword [r12]
cmp qword [rbp + 0x18], 0x10
mov rdi, rbp
jb 0x180007f70
mov rdi, qword [rbp]
jmp 0x180007f70
movzx ebx, byte [0x180049519]
mov byte [rsp + 0x20], bl
jmp 0x180007f7e