Function at 0x180032150
Capabilities:
Check for software breakpoints
Encode data using base64

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r14, rcx
mov ebp, r8d
lea ecx, [r8 + 0x8c4]
mov r9, rdx
mov dword [rsp + 0x80], ecx
mov ebx, dword [rsp + 0x80]
cmp r8d, ecx
jae 0x18003226c
mov rsi, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x88]
mov r12d, dword [rsp + 0x80]
mov r15d, dword [rsp + 0x80]
mov r13d, dword [rsp + 0x80]
movabs rdx, 0xaaaaaaaaaaaaaaab
cmp ebp, 0x27d
ja 0x180032485
je 0x180032478
cmp ebp, 0x107
ja 0x180032298
je 0x180032283
mov eax, ebp
sub eax, 5
je 0x180032225
sub eax, 0x47
je 0x180032219
cmp eax, 0x74
jne 0x18003225e
cmp qword [r9 + 0x18], 0x10
mov rdi, r9
jb 0x180032204
mov rdi, qword [r9]
mov rax, rdx
mul qword [r14 + 0x10]
shr rdx, 1
lea rax, [rdx + rdx*2]
mov qword [rsp + 0x28], rax
jmp 0x18003225e
test r14, r14
jne 0x18003225e
mov eax, 0xfffffff6
jmp 0x18003226e
mov rcx, qword [r14 + 0x10]
mov rax, rdx
add rcx, 2
xor r8d, r8d
mul rcx
mov rcx, r9
shr rdx, 1
shl rdx, 2
call fcn.18004ea90
cmp qword [r14 + 0x18], 0x10
mov rsi, r14
jb 0x180032252
mov rsi, qword [r14]
mov ecx, dword [rsp + 0x80]
mov r9, qword [rsp + 0x78]
add ebp, 0xbb
cmp ebp, ecx
jb 0x1800321b8
mov eax, ebx
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov edx, 0x28
lea ecx, [rdx - 0x27]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov qword [rsp + 0x20], rax
jmp 0x180032252
mov eax, ebp
sub eax, 0x17b
je 0x1800322b5
cmp eax, 0x47
jne 0x18003225e
cmp qword [rsp + 0x20], 0
jne 0x18003225e
mov eax, 0xfffffffa
jmp 0x18003226e
mov rax, qword [rsp + 0x28]
xor r9d, r9d
test rax, rax
je 0x180032391
lea rcx, [rax - 1]
mov rax, rdx
mul rcx
shr rdx, 1
inc rdx
lea r9, [rdx + rdx*2]
nop word [rax + rax]
mov r8d, 0xcf
mov eax, r8d
sub eax, 0xcf
je 0x180032319
sub eax, 1
je 0x180032300
cmp eax, 1
jne 0x180032370
add rsi, 3
jmp 0x180032370
movzx ecx, byte [rsi + 2]
mov rax, qword [0x18007bcf8]
and ecx, 0x3f
movzx ecx, byte [rcx + rax]
mov byte [rdi], cl
inc rdi
jmp 0x180032370
mov rax, qword [0x18007bcf8]
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 [0x18007bcf8]
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 [0x18007bcf8]
movzx ecx, byte [rcx + rax]
mov byte [rdi + 2], cl
add rdi, 3
inc r8d
cmp r8d, 0xd2
jb 0x1800322e6
sub rdx, 1
jne 0x1800322e0
mov ecx, dword [rsp + 0x80]
cmp r9, qword [r14 + 0x10]
jae 0x180032259
mov edx, 0xcc
cmp edx, 0xcc
je 0x180032446
cmp edx, 0x66cc
je 0x18003242d
cmp edx, 0xcccc
je 0x1800323d3
cmp edx, 0x132cc
jne 0x180032461
mov byte [rdi], 0x3d
inc rdi
jmp 0x180032461
mov ecx, r12d
mov eax, r15d
and ecx, 3
shr eax, 4
shl ecx, 4
add ecx, eax
mov rax, qword [0x18007bcf8]
movzx ecx, byte [rcx + rax]
lea rax, [r9 + 1]
mov byte [rdi], cl
cmp rax, qword [r14 + 0x10]
jae 0x180032420
mov ecx, r15d
mov eax, r13d
and ecx, 0xf
shr eax, 6
lea ecx, [rax + rcx*4]
mov rax, qword [0x18007bcf8]
movzx r8d, byte [rcx + rax]
mov byte [rdi + 1], r8b
add rdi, 2
jmp 0x180032461
mov r8b, 0x3d
mov byte [rdi + 1], r8b
add rdi, 2
jmp 0x180032461
mov rax, qword [0x18007bcf8]
mov ecx, r12d
shr rcx, 2
movzx ecx, byte [rcx + rax]
mov byte [rdi], cl
inc rdi
jmp 0x180032461
movzx r12d, byte [rsi]
lea rax, [r9 + 1]
cmp rax, qword [r14 + 0x10]
jae 0x18003245b
movzx r15d, byte [rsi + 1]
jmp 0x18003245e
xor r15d, r15d
xor r13d, r13d
add edx, 0x6600
cmp edx, 0x19800
jbe 0x1800323a0
jmp 0x180032252
mov rax, qword [rsp + 0x20]
mov byte [rax], 0
jmp 0x18003225e
cmp ebp, 0x338
je 0x180032507
cmp ebp, 0x3f3
je 0x1800324f6
cmp ebp, 0x4ae
je 0x1800324c2
cmp ebp, 0x569
je 0x1800324b6
cmp ebp, 0x624
je 0x18003226c
jmp 0x18003225e
mov ebx, dword [rsp + 0x88]
jmp 0x18003225e
mov r9, qword [rsp + 0x20]
mov r8, r14
mov edx, 0x103
xor ecx, ecx
call fcn.180047ae0
mov dword [rsp + 0x88], eax
cmp eax, 1
jge 0x180032252
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x180032252
mov rax, qword [rsp + 0x20]
mov dword [rax + 8], 0xfffffffb
jmp 0x18003225e
mov rcx, qword [rsp + 0x20]
movzx eax, byte [r14 + 9]
mov byte [rcx + 4], al
mov ecx, dword [rsp + 0x80]
jmp 0x18003225e