Function at 0x180036d80
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x110
mov eax, dword [0x1800c9760]
mov r10, rdx
mov r14, r9
mov r15, r8
mov rdx, rcx
test al, 1
jne 0x180036db7
or eax, 1
mov dword [0x1800c9760], eax
mov esi, dword [rsp + 0x160]
lea r8, [0x180000000]
mov qword [rsp + 0x150], rbx
mov edi, esi
mov qword [rsp + 0x108], r12
mov qword [rsp + 0x100], r13
lea ebp, [rsi - 0xe]
cmp esi, ebp
jbe 0x180036ef2
mov r12, qword [rsp + 0x170]
lea ebx, [rsi - 0x97]
mov r13, qword [rsp + 0x168]
mov r9d, 0x53
lea r11d, [r9 + 0xe]
lea r8d, [r9 - 0xf]
nop
cmp ebx, 0x4b
ja case.0x180036e39.1
lea rcx, [0x180000000]
movzx eax, byte [rcx + rbx + 0x37628]
mov ecx, dword [rcx + rax*4 + 0x375ec]
lea rax, [0x180000000]
add rcx, rax
jmp rcx
mov word [0x1800c9722], r9w
mov dword [0x1800c9723], 0x565554
mov dword [0x1800c9726], 0x5a595857
mov word [0x1800c972a], r11w
jmp case.0x180036e39.1
mov r11d, dword [r10 + 0xe8]
xor r9d, r9d
test r11d, r11d
jle 0x180036ed5
mov r10, qword [r10 + 0xe0]
nop word [rax + rax]
mov rax, qword [r10]
mov r8, rdx
add rax, 8
sub r8, rax
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x180036ea3
inc rax
test ecx, ecx
jne 0x180036e90
test edx, edx
je 0x180037080
mov rdx, qword [rsp + 0x140]
inc r9d
add r10, 8
cmp r9d, r11d
jl 0x180036e80
mov r10, qword [rsp + 0x148]
mov r8d, 0x44
mov rdx, qword [rsp + 0x140]
mov r9d, 0x53
lea r11d, [r9 + 0xe]
dec edi
dec ebx
cmp edi, ebp
ja 0x180036e10
lea r8, [0x180000000]
lea eax, [rsi + 0xf]
cmp esi, eax
jae case.0x180036e39.59
mov r15, qword [rsp + 0x70]
add esi, 0xffffff1e
mov rbx, qword [rsp + 0x70]
mov ebp, 0xf
mov r9, qword [0x1800c9758]
movabs r11, 0xaaaaaaaaaaaaaaab
mov rdi, qword [rsp + 0x70]
mov dword [rsp + 0x160], esi
movzx r13d, byte [rsp + 0x160]
mov r14d, dword [rsp + 0x160]
mov r12d, dword [rsp + 0x160]
mov qword [rsp + 0xb0], rbp
cmp esi, 0xe
ja case.default.0x180036f64
mov ecx, dword [r8 + rsi*4 + 0x37674]
add rcx, r8
jmp rcx
movups xmm0, xmmword [rdx]
movups xmmword [r10], xmm0
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [r10 + 0x10], xmm1
movups xmm0, xmmword [rdx + 0x20]
movups xmmword [r10 + 0x20], xmm0
movups xmm1, xmmword [rdx + 0x30]
movups xmmword [r10 + 0x30], xmm1
jmp case.0x180036e39.1
test r10, r10
jne case.0x180036e39.1
xor eax, eax
jmp 0x1800375c5
mov eax, dword [r10]
mov dword [rsp + 0x70], eax
jmp case.0x180036e39.1
mov word [0x1800c9713], r8w
mov dword [0x1800c9714], 0x474645
jmp case.0x180036e39.1
mov eax, 0x4b
mov word [0x1800c971a], ax
mov eax, 0x4c
mov word [0x1800c971b], ax
jmp case.0x180036e39.1
mov eax, 0x51
mov dword [0x1800c971c], 0x504f4e4d
mov word [0x1800c9720], ax
mov eax, 0x52
mov word [0x1800c9721], ax
jmp case.0x180036e39.1
mov dword [0x1800c9717], 0x4a4948
jmp case.0x180036e39.1
test r10, r10
je case.0x180036e39.1
test r14, r14
je case.0x180036e39.1
mov rcx, qword [r12]
test rcx, rcx
je case.0x180036e39.1
mov rax, qword [r15]
mov r8, rax
mov rdx, rax
imul rdx, qword [r13]
imul r8, rcx
mov rcx, qword [rsp + 0x140]
add rdx, r14
mov rcx, qword [rcx]
imul rcx, rax
add rcx, r10
call fcn.18007ce90
jmp 0x180036ebf
mov eax, 0x41
mov word [0x1800c9710], ax
mov eax, 0x4342
mov word [0x1800c9711], ax
jmp case.0x180036e39.1
mov rax, qword [rsp + 0x148]
mov rax, qword [rax + 0xe0]
mov rax, qword [rax + r9*8]
jmp 0x1800375c5
mov rax, qword [r10 + 0x18]
imul rax, qword [r10 + 8]
movzx ecx, byte [r10 + 1]
add rax, rcx
jmp 0x1800375c5
mov eax, 0x7a
mov dword [0x1800c973f], 0x79787776
mov word [0x1800c9743], ax
jmp case.default.0x180036f64
mov eax, 0x2b39
mov dword [0x1800c974a], 0x383736
mov word [0x1800c974d], ax
jmp case.default.0x180036f64
mov rcx, qword [r10 + 0x10]
lea r9, [0x1800c9710]
add rcx, 2
mov qword [0x1800c9758], r9
mov rax, r11
mul rcx
mov rax, rdx
shr rax, 1
shl rax, 2
mov qword [rsp + 0xd0], rax
jmp case.default.0x180036f64
mov rdx, qword [rsp + 0xa8]
cmp rdx, qword [r10 + 0x10]
jae case.default.0x180036f64
xor esi, esi
lea ebp, [rsi + 0xc]
nop
cmp esi, 0xb
ja case.default.0x180037144
mov ecx, dword [r8 + rsi*4 + 0x376b0]
add rcx, r8
jmp rcx
xor ecx, ecx
movzx eax, r13b
test r15, r15
cmovne ecx, eax
movzx r13d, cl
test cl, cl
je 0x18003716a
mov rcx, r15
call qword [sym.imp.USER32.dll_DestroyWindow]
mov r9, qword [0x1800c9758]
mov byte [rbx], 0x3d
inc rbx
jmp case.default.0x180037144
lea rax, [rdx + 1]
cmp rax, qword [r10 + 0x10]
jae 0x180037196
mov eax, dword [rsp + 0x7c]
mov ecx, r14d
and ecx, 0xf
shr eax, 6
lea eax, [rax + rcx*4]
movzx eax, byte [rax + r9]
jmp 0x180037198
mov al, 0x3d
mov r9d, dword [rsp + 0x84]
mov r8d, dword [rsp + 0x80]
mov edx, dword [rsp + 0x78]
mov rcx, qword [rsp + 0xb8]
mov byte [rbx], al
inc rbx
mov eax, dword [rsp + 0x8c]
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x94]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x9c]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x38], eax
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x20], rax
call qword [sym.imp.COMCTL32.dll_CreateToolbarEx]
mov r9, qword [0x1800c9758]
mov r15, rax
jmp case.default.0x180037144
movzx r12d, byte [rdi]
mov r13b, 1
mov qword [rsp + 0xb8], 0
mov dword [rsp + 0x78], 0x40000000
jmp case.default.0x180037144
mov dword [rsp + 0x7c], 0
jmp case.default.0x180037144
lea rax, [rdx + 1]
mov dword [rsp + 0x80], 0
mov dword [rsp + 0x84], 0
cmp rax, qword [r10 + 0x10]
jae 0x18003728e
movzx r14d, byte [rdi + 1]
jmp case.default.0x180037144
xor r14d, r14d
jmp case.default.0x180037144
mov ecx, r12d
mov dword [rsp + 0x88], 0
and ecx, 3
mov eax, r14d
shl ecx, 4
shr eax, 4
add ecx, eax
movzx ecx, byte [rcx + r9]
mov byte [rbx], cl
inc rbx
jmp case.default.0x180037144
mov dword [rsp + 0x8c], 0x20
jmp case.default.0x180037144
mov dword [rsp + 0x90], 1
jmp case.default.0x180037144
mov dword [rsp + 0x94], 0
mov dword [rsp + 0x98], 0
jmp case.default.0x180037144
mov eax, r12d
shr rax, 2
mov dword [rsp + 0x9c], 0
movzx eax, byte [rax + r9]
mov byte [rbx], al
inc rbx
jmp case.default.0x180037144
mov qword [rsp + 0xc0], 0
mov qword [rsp + 0xc8], 0
jmp case.default.0x180037144
xorps xmm0, xmm0
movups xmmword [rsp + 0xd8], xmm0
movups xmmword [rsp + 0xe8], xmm0
mov rdx, qword [rsp + 0xa8]
lea r8, [0x180000000]
mov r10, qword [rsp + 0x148]
inc esi
sub rbp, 1
jne 0x180037130
mov esi, dword [rsp + 0x160]
movabs r11, 0xaaaaaaaaaaaaaaab
mov rbp, qword [rsp + 0xb0]
jmp case.default.0x180036f64
mov rdx, qword [rsp + 0xd0]
xor r8d, r8d
mov rcx, qword [rsp + 0x140]
call fcn.18003bbc0
mov dword [rsp + 0xa0], 0
mov r9, qword [0x1800c9758]
movabs r11, 0xaaaaaaaaaaaaaaab
jmp case.default.0x180036f64
mov eax, 0x70
mov word [0x1800c9739], ax
mov eax, 0x75
mov word [0x1800c973e], ax
mov dword [0x1800c973a], 0x74737271
jmp case.default.0x180036f64
mov eax, 0x6766
mov word [0x1800c972f], ax
jmp case.default.0x180036f64
mov eax, 0x6a
mov word [0x1800c9733], ax
mov eax, 0x6e
mov dword [0x1800c9734], 0x6d6c6b
mov word [0x1800c9737], ax
mov eax, 0x6f
mov word [0x1800c9738], ax
jmp case.default.0x180036f64
mov eax, 0x30
mov word [0x1800c9744], ax
jmp case.default.0x180036f64
mov rax, r11
mul qword [r10 + 0x10]
xor eax, eax
shr rdx, 1
mov qword [rsp + 0xa8], rax
lea rcx, [rdx + rdx*2]
test rcx, rcx
je 0x1800374fe
dec rcx
mov rax, r11
mul rcx
shr rdx, 1
inc rdx
lea rax, [rdx + rdx*2]
mov qword [rsp + 0xa8], rax
nop dword [rax]
mov r8d, 0xc6
mov eax, r8d
sub eax, 0xc6
je 0x1800374d7
sub eax, 1
je 0x180037490
cmp eax, 1
jne 0x1800374e8
add rdi, 3
jmp 0x1800374e8
movzx eax, byte [rdi + 1]
movzx ecx, byte [rdi]
shr eax, 4
and ecx, 3
shl ecx, 4
add ecx, eax
movzx ecx, byte [rcx + r9]
mov byte [rbx], cl
movzx eax, byte [rdi + 2]
movzx ecx, byte [rdi + 1]
shr eax, 6
and ecx, 0xf
lea eax, [rax + rcx*4]
movzx eax, byte [rax + r9]
mov byte [rbx + 1], al
movzx eax, byte [rdi + 2]
and eax, 0x3f
movzx eax, byte [rax + r9]
mov byte [rbx + 2], al
add rbx, 3
jmp 0x1800374e8
movzx eax, byte [rdi]
shr rax, 2
movzx eax, byte [rax + r9]
mov byte [rbx], al
inc rbx
inc r8d
cmp r8d, 0xc9
jb 0x180037476
sub rdx, 1
jne 0x180037470
mov ecx, dword [rsp + 0xa0]
call qword [sym.imp.RPCRT4.dll_I_RpcMapWin32Status]
jmp 0x18003739f
mov eax, 0x65
mov dword [0x1800c972b], 0x646362
mov word [0x1800c972e], ax
jmp case.default.0x180036f64
mov eax, 0x31
mov word [0x1800c9745], ax
mov eax, 0x32
mov word [0x1800c9746], ax
mov dword [0x1800c9747], 0x353433
jmp case.default.0x180036f64
mov eax, 0x2f
mov word [0x1800c974f], ax
jmp case.default.0x180036f64
cmp qword [r10 + 0x18], 0x10
mov rdi, r10
jb 0x180037567
mov rdi, qword [r10]
cmp qword [rdx + 0x18], 0x10
mov rbx, rdx
jb case.default.0x180036f64
mov rbx, qword [rdx]
jmp case.default.0x180036f64
mov eax, 0x68
mov word [0x1800c9731], ax
mov eax, 0x69
mov word [0x1800c9732], ax
mov r10, qword [rsp + 0x148]
lea r8, [0x180000000]
mov rdx, qword [rsp + 0x140]
inc esi
sub rbp, 1
mov dword [rsp + 0x160], esi
mov qword [rsp + 0xb0], rbp
jne 0x180036f50
mov rax, qword [rsp + 0x70]
mov r13, qword [rsp + 0x100]
mov r12, qword [rsp + 0x108]
mov rbx, qword [rsp + 0x150]
add rsp, 0x110
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret