Function at 0x180020b50
Capabilities:
Encode data using base64 via winapi

Disassembly:
push rbp
sub rsp, 0xd0
lea rbp, [rsp + 0x80]
mov qword [rbp - 0x60], r9
mov qword [rbp - 0x58], r8
mov qword [rbp - 0x50], rdx
mov qword [rbp - 0x48], rcx
mov rax, qword [0x1800760a8]
xor rax, rbp
mov qword [rbp + 0x48], rax
mov dword [rbp - 0x3c], 0x62b565ca
mov eax, dword [rbp - 0x3c]
mov dword [rbp - 0x64], eax
sub eax, 0x912a312d
je 0x180020e35
jmp 0x180020b9b
mov eax, dword [rbp - 0x64]
sub eax, 0xb4ad4c48
je 0x180020e85
jmp 0x180020bae
mov eax, dword [rbp - 0x64]
sub eax, 0xbdafba12
je 0x180020deb
jmp 0x180020bc1
mov eax, dword [rbp - 0x64]
sub eax, 0xe1d301a4
je 0x180020e49
jmp 0x180020bd4
mov eax, dword [rbp - 0x64]
sub eax, 0xfa8730a4
je 0x180020e00
jmp 0x180020be7
mov eax, dword [rbp - 0x64]
sub eax, 0xfddd418e
je 0x180020e1f
jmp 0x180020bfa
mov eax, dword [rbp - 0x64]
sub eax, 0x9726642
je 0x180020e13
jmp 0x180020c0d
mov eax, dword [rbp - 0x64]
sub eax, 0x9a7eb58
je 0x180020e73
jmp 0x180020c20
mov eax, dword [rbp - 0x64]
sub eax, 0x16f66c5b
je 0x180020cce
jmp 0x180020c33
mov eax, dword [rbp - 0x64]
sub eax, 0x1f51a597
je 0x180020e67
jmp 0x180020c46
mov eax, dword [rbp - 0x64]
sub eax, 0x58157657
je 0x180020d78
jmp 0x180020c59
mov eax, dword [rbp - 0x64]
sub eax, 0x62b565ca
je 0x180020c84
jmp 0x180020c6c
mov eax, dword [rbp - 0x64]
sub eax, 0x748fff74
je 0x180020dce
jmp 0x180020c7f
jmp 0x180020ea4
mov eax, 0x10
mov qword [rbp - 0x70], rax
call fcn.18006c5e0
sub rsp, rax
mov rax, qword [rbp - 0x70]
mov rcx, rsp
mov qword [rbp - 0x20], rcx
call fcn.18006c5e0
sub rsp, rax
mov rax, qword [rbp - 0x70]
mov rcx, rsp
mov qword [rbp - 0x18], rcx
call fcn.18006c5e0
sub rsp, rax
mov rax, rsp
mov qword [rbp - 0x10], rax
mov dword [rbp - 0x3c], 0x16f66c5b
jmp 0x180020ea4
mov rcx, qword [rbp - 0x48]
mov rdx, qword [rbp - 0x50]
mov r8, qword [rbp - 0x60]
mov eax, 0x10
mov qword [rbp - 0x78], rax
call fcn.18006c5e0
sub rsp, rax
mov rax, qword [rbp - 0x78]
mov r9, rsp
mov qword [rbp - 8], r9
call fcn.18006c5e0
sub rsp, rax
mov rax, qword [rbp - 0x78]
mov r9, rsp
mov qword [rbp], r9
call fcn.18006c5e0
sub rsp, rax
mov rax, qword [rbp - 0x58]
mov r9, rsp
mov qword [rbp + 8], r9
mov qword [rbp - 0x30], r8
mov qword [rbp - 0x38], rax
mov rax, qword [rbp - 0x20]
mov qword [rax], rdx
mov rax, qword [rbp - 0x18]
mov qword [rax], rcx
mov rax, qword [rbp - 0x20]
mov rax, qword [rax]
mov ecx, eax
mov rax, qword [rbp - 0x10]
mov dword [rax], ecx
mov rax, qword [rbp - 0x30]
mov rax, qword [rax]
mov ecx, eax
mov rax, qword [rbp - 8]
mov dword [rax], ecx
mov rax, qword [rbp - 0x38]
mov qword [rbp + 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
mov dword [rbp + 0x1c], eax
mov rax, qword [rbp - 0x18]
mov rax, qword [rax]
mov qword [rbp + 0x20], rax
mov dword [rbp - 0x3c], 0x58157657
jmp 0x180020ea4
mov rax, qword [rbp - 8]
mov r9, qword [rbp + 0x10]
mov edx, dword [rbp + 0x1c]
mov rcx, qword [rbp + 0x20]
mov r8d, 0x40000001
sub rsp, 0x30
mov qword [rsp + 0x20], rax
call qword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
add rsp, 0x30
mov ecx, eax
mov rax, qword [rbp]
mov dword [rax], ecx
mov rax, qword [rbp + 8]
mov dword [rax], 0
mov rdx, qword [rbp]
mov eax, 0xfddd418e
mov ecx, 0x748fff74
cmp dword [rdx], 0
cmove eax, ecx
mov dword [rbp - 0x3c], eax
jmp 0x180020ea4
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetLastError]
add rsp, 0x20
mov dword [rbp + 0x2c], eax
mov dword [rbp - 0x3c], 0xbdafba12
jmp 0x180020ea4
mov rax, qword [rbp + 8]
mov ecx, dword [rbp + 0x2c]
mov dword [rax], ecx
mov dword [rbp - 0x3c], 0xfa8730a4
jmp 0x180020ea4
mov dword [rbp - 0x24], 0xffffffff
mov dword [rbp - 0x3c], 0x9726642
jmp 0x180020ea4
mov dword [rbp - 0x3c], 0x9a7eb58
jmp 0x180020ea4
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov qword [rbp + 0x30], rax
mov dword [rbp - 0x3c], 0x912a312d
jmp 0x180020ea4
mov rax, qword [rbp - 0x30]
mov qword [rbp + 0x38], rax
mov dword [rbp - 0x3c], 0xe1d301a4
jmp 0x180020ea4
mov rcx, qword [rbp + 0x30]
mov rax, qword [rbp + 0x38]
mov qword [rax], rcx
mov dword [rbp - 0x24], 0
mov dword [rbp - 0x3c], 0x1f51a597
jmp 0x180020ea4
mov dword [rbp - 0x3c], 0x9a7eb58
jmp 0x180020ea4
mov eax, dword [rbp - 0x24]
mov dword [rbp + 0x44], eax
mov dword [rbp - 0x3c], 0xb4ad4c48
jmp 0x180020ea4
mov eax, dword [rbp + 0x44]
mov dword [rbp - 0x7c], eax
mov rcx, qword [rbp + 0x48]
xor rcx, rbp
sub rsp, 0x20
call fcn.18006c560
mov eax, dword [rbp - 0x7c]
lea rsp, [rbp + 0x50]
pop rbp
ret
jmp 0x180020b85