Function at 0x18003a4b0
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov ebx, dword [rsp + 0xa8]
mov r14, r9
imul eax, edx, 0x276
mov r15, rcx
mov edi, edx
mov dword [rsp + 0x34], edx
mov dword [rsp + 0x4c], eax
cmp edx, eax
ja 0x18003a9e0
mov r13, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x50]
mov rbp, qword [rsp + 0xc0]
mov r12d, dword [rsp + 0x38]
xor r9d, r9d
cmp edi, 0x2080
ja 0x18003a8bf
je 0x18003a8ab
mov eax, edi
sub eax, 0x7b
je 0x18003a89c
sub eax, 7
je 0x18003a836
sub eax, 0x5f
je 0x18003a57b
cmp eax, 0x176e
jne 0x18003a9b1
mov rax, qword [rsp + 0xc8]
mov ecx, dword [rbp]
mov edx, dword [rax]
mov eax, dword [0x40007400]
shl edx, cl
cmp dword [r14], r9d
je 0x18003a56b
or eax, edx
mov dword [0x40007400], eax
jmp 0x18003a9b1
not edx
and eax, edx
mov dword [0x40007400], eax
jmp 0x18003a9b1
mov rbp, qword [rsp + 0xc0]
movzx eax, byte [rbp + 0xc]
dec al
cmp al, 0xfd
ja 0x18003a5e6
mov ecx, 0x5a
mov eax, ecx
sub eax, 0x5a
je 0x18003a5d7
sub eax, 1
je 0x18003a5c7
sub eax, 1
je 0x18003a5ad
cmp eax, 1
jne 0x18003a5da
jmp 0x18003a9e2
mov r9, qword [rsp + 0xc8]
movzx eax, byte [r9 + 1]
add dword [rbp + 4], eax
movzx eax, byte [r9 + 2]
add dword [rbp + 8], eax
jmp 0x18003a5da
mov rax, qword [rsp + 0xc8]
movzx eax, byte [rax]
add dword [rbp], eax
jmp 0x18003a5da
inc dword [rbp + 0x10]
inc ecx
cmp ecx, 0x5e
jb 0x18003a592
jmp 0x18003a9b1
mov eax, 0x4c
mov dword [rsp + 0x3c], eax
nop
sub eax, 0x4c
je 0x18003a7dd
sub eax, 0x34
je 0x18003a7aa
sub eax, 0x34
je 0x18003a656
sub eax, 0x34
je 0x18003a61a
cmp eax, 0x34
je 0x18003a9e0
jmp 0x18003a801
mov eax, dword [r14]
lea r9, [rsp + 0x40]
inc eax
mov edx, 0xe1
mov dword [rsp + 0x40], eax
movsxd rax, r12d
mov rcx, qword [rbp + rax*8 + 0x18]
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov rcx, r15
call fcn.18003a4b0
mov ebx, eax
jmp 0x18003a801
movzx eax, byte [rsp + 0x30]
movzx ecx, byte [rsp + 0x32]
lea edx, [rax + rcx*2]
movzx eax, byte [rsp + 0x31]
lea eax, [rax + rdx*2]
lea r12, [rax*8]
mov dword [rsp + 0x38], eax
add r12, rbp
cmp qword [r12 + 0x18], 0
jne 0x18003a7fe
mov ebp, 0x69
nop dword [rax + rax]
mov eax, ebp
sub eax, 0x69
je 0x18003a75f
sub eax, 1
je 0x18003a730
cmp eax, 1
jne 0x18003a790
cmp dword [r14], 7
jne 0x18003a6bf
mov byte [r13 + 0xc], al
inc dword [r8]
jmp 0x18003a790
mov edi, 0x1a
mov eax, edi
sub eax, 0x1a
je 0x18003a706
sub eax, 1
je 0x18003a6fa
sub eax, 1
je 0x18003a6f5
sub eax, 1
je 0x18003a6e8
cmp eax, 1
jne 0x18003a727
movsxd rax, dword [r14]
mov qword [r15 + rax*8], rsi
jmp 0x18003a727
movsxd rax, dword [r14]
mov rcx, qword [r15 + rax*8]
mov qword [rsi + 8], rcx
jmp 0x18003a727
mov qword [rsi], r13
jmp 0x18003a727
test rsi, rsi
jne 0x18003a727
xor eax, eax
jmp 0x18003a9e2
mov rax, qword [0x180095000]
lea rcx, [rsp + 0x58]
xor r8d, r8d
mov qword [rsp + 0x58], rax
mov edx, 0x126
call fcn.1800617a0
mov rsi, rax
inc edi
cmp edi, 0x1f
jb 0x18003a6c4
jmp 0x18003a785
test r13, r13
jne 0x18003a790
mov eax, 0x1d
nop word [rax + rax]
cmp eax, 0x1d
je 0x18003a750
cmp eax, 0x6c
je 0x18003a9e0
jmp 0x18003a753
mov ebx, r9d
add eax, 0x4f
cmp eax, 0xbb
jb 0x18003a740
jmp 0x18003a790
mov rax, qword [0x180094ff8]
lea rcx, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x50], rax
mov edx, 0x126
call fcn.1800617a0
mov r13, rax
mov qword [r12 + 0x18], rax
mov r8, qword [rsp + 0xb0]
xor r9d, r9d
inc ebp
cmp ebp, 0x6c
jb 0x18003a690
mov rbp, qword [rsp + 0xc0]
mov r12d, dword [rsp + 0x38]
jmp 0x18003a801
mov rdx, qword [rsp + 0xc8]
mov eax, 7
sub al, byte [r14]
movzx ecx, al
movzx r8d, byte [rdx + 1]
movzx edx, byte [rdx + 2]
shr r8b, cl
and r8b, 1
shr dl, cl
and dl, 1
mov byte [rsp + 0x30], r8b
mov byte [rsp + 0x31], dl
jmp 0x18003a801
mov rcx, qword [rsp + 0xc8]
mov eax, 7
sub al, byte [r14]
movzx edx, byte [rcx]
movzx ecx, al
shr dl, cl
and dl, 1
mov byte [rsp + 0x32], dl
jmp 0x18003a801
mov r12d, eax
mov eax, dword [rsp + 0x3c]
mov r9d, 0
mov r8, qword [rsp + 0xb0]
add eax, 0x34
mov dword [rsp + 0x3c], eax
cmp eax, 0x150
jb 0x18003a5f0
mov rbp, qword [rsp + 0xc0]
mov edi, dword [rsp + 0x34]
jmp 0x18003a9a9
mov rbp, qword [rsp + 0xc0]
xor eax, eax
lock cmpxchg dword [rbp + 0x11c], r9d
cmp eax, 1
jne 0x18003a5e1
mov edi, 0x49
mov eax, edi
sub eax, 0x49
je 0x18003a879
sub eax, 1
je 0x18003a86e
cmp eax, 1
je 0x18003a9e0
jmp 0x18003a88c
mov eax, r9d
xchg dword [rbp + 0x11c], eax
jmp 0x18003a88c
xor r8d, r8d
mov edx, 0xe7
mov rcx, rbp
call fcn.180026ff0
xor r9d, r9d
inc edi
cmp edi, 0x4c
jb 0x18003a857
mov edi, dword [rsp + 0x34]
jmp 0x18003a9a9
mov eax, dword [rbp]
mov dword [0x42420440], eax
jmp 0x18003a9b1
xor eax, eax
lock cmpxchg dword [rbp + 0x120], r9d
mov dword [rsp + 0x48], eax
jmp 0x18003a9b1
cmp edi, 0x407e
je 0x18003a93f
cmp edi, 0x607c
je 0x18003a92c
cmp edi, 0x807a
jne 0x18003a9b1
mov rbp, qword [rsp + 0xc0]
xor r8d, r8d
mov qword [rsp + 0x28], r9
mov rdx, rbp
mov qword [rsp + 0x20], r9
xor r9d, r9d
lea ecx, [r9 + 0x2f]
call fcn.1800239c0
test al, al
je 0x18003a918
xor r8d, r8d
mov edx, 0xe7
mov rcx, rbp
call fcn.180026ff0
jmp 0x18003a9a9
mov r8, rbp
xor edx, edx
mov ecx, 0x124
call fcn.18002ea70
jmp 0x18003a9a9
xor edx, edx
xor r8d, r8d
lea ecx, [rdx + 0x3d]
call fcn.180018720
cmp rax, 2
jmp 0x18003a9a7
cmp dword [rsp + 0x48], 1
jne 0x18003a990
mov edi, 0x12d
nop dword [rax + rax]
mov eax, edi
sub eax, 0x12b
je 0x18003a9e0
sub eax, 1
je 0x18003a979
cmp eax, 1
jne 0x18003a982
xor r8d, r8d
mov rdx, rbp
mov ecx, eax
call fcn.180038ea0
xor r9d, r9d
jmp 0x18003a982
mov eax, r9d
xchg dword [rbp + 0x120], eax
dec edi
cmp edi, 0x12a
ja 0x18003a950
mov edi, dword [rsp + 0x34]
mov qword [rsp + 0x20], r9
xor edx, edx
xor r9d, r9d
xor ecx, ecx
lea r8d, [r9 + 0xb]
call fcn.180037420
test al, al
je 0x18003a9d0
mov r8, qword [rsp + 0xb0]
imul eax, dword [rsp + 0xa8], 0x3f
add edi, eax
mov dword [rsp + 0x34], edi
cmp edi, dword [rsp + 0x4c]
ja 0x18003a9e0
jmp 0x18003a509
xor r8d, r8d
mov edx, 0xe7
mov rcx, rbp
call fcn.180026ff0
mov eax, ebx
mov rbx, qword [rsp + 0xa0]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret