Function at 0x180011270
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xd0]
sub rsp, 0x1d0
mov rax, qword [0x1800c17f8]
xor rax, rsp
mov qword [rbp + 0xc0], rax
lea eax, [r8 + 0x264]
mov qword [rbp - 0x18], r9
mov dword [rsp + 0x60], eax
mov r15, r9
mov esi, dword [rsp + 0x60]
mov r10, rcx
mov dword [rsp + 0x50], r8d
mov qword [rbp - 0x40], rdx
mov qword [rsp + 0x58], rcx
cmp r8d, eax
jae case.0x180011372.201
mov eax, dword [rsp + 0x60]
mov r12, qword [rbp - 0x58]
mov r14, qword [rbp - 0x58]
mov r13, qword [rbp - 0x58]
mov r11, qword [rbp - 0x58]
mov r9, qword [rbp - 0x58]
mov ecx, dword [rsp + 0x60]
mov rdi, qword [rbp - 0x58]
mov rbx, qword [rbp - 0x58]
mov dword [rsp + 0x78], eax
mov rax, qword [rbp - 0x58]
mov qword [rbp - 0x28], rax
mov eax, dword [rsp + 0x60]
mov dword [rbp - 0x68], eax
mov eax, dword [rsp + 0x60]
mov dword [rbp - 0x38], eax
mov eax, dword [rsp + 0x60]
mov dword [rbp - 0x48], eax
mov qword [rbp - 0x50], r12
mov dword [rbp - 0x70], esi
mov qword [rsp + 0x70], r14
mov qword [rbp - 0x60], r13
mov qword [rbp - 0x78], r11
mov qword [rbp - 0x30], r9
mov dword [rbp - 0x34], ecx
cmp r8d, 0x16e
ja 0x180011def
je 0x180011d8e
lea eax, [r8 - 0x56]
cmp eax, 0xf4
ja case.0x180011372.87
lea rcx, [0x180000000]
movzx eax, byte [rcx + rax + 0x11f0c]
mov ecx, dword [rcx + rax*4 + 0x11ed0]
lea rax, [0x180000000]
add rcx, rax
jmp rcx
mov r12, qword [r15]
mov qword [rbp - 0x50], r12
test r12, r12
jne 0x18001154e
mov r14d, 0xec
nop word [rax + rax]
mov eax, r14d
sub eax, 0xe8
je 0x180011523
sub eax, 1
je 0x1800114ef
sub eax, 1
je 0x1800114b2
sub eax, 1
je 0x18001147d
cmp eax, 1
jne 0x180011535
mov edx, 0x198
mov ecx, 0x47
nop dword [rax]
mov eax, ecx
sub eax, 0x47
je 0x180011414
sub eax, 9
je 0x180011441
cmp eax, 0x57
jne 0x180011420
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx + 0x28]
test rax, rax
je 0x18001142a
mov rcx, qword [rcx]
xor r8d, r8d
mov rdx, r10
call rax
mov qword [rbp - 0x50], rdi
mov r12, rdi
test r12, r12
je 0x180011e7d
mov r10, qword [rsp + 0x58]
jmp 0x180011535
test rdx, rdx
mov eax, 1
cmove rdx, rax
add ecx, 9
cmp ecx, 0x62
jb 0x1800113d0
jmp 0x1800113fa
mov rax, qword [rsp + 0x70]
mov qword [r10], rax
mov rax, qword [rsp + 0x70]
mov qword [0], rax
jmp 0x1800113fa
test r10, r10
je 0x180011468
mov rax, qword [r10]
test rax, rax
je 0x180011468
mov rcx, qword [r10 + 0x10]
mov r8, rdx
mov edx, 1
call rax
mov r12, rax
mov qword [rbp - 0x50], rax
mov rdi, rax
jmp 0x180011401
mov rcx, rdx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r12, rax
mov qword [rbp - 0x50], rax
mov rdi, rax
jmp 0x180011401
lea r8, [r12 + 0x168]
mov qword [r15], r12
xor edx, edx
mov qword [rsp + 0x20], 0
xor ecx, ecx
mov r9d, 0x112
call fcn.18003d550
test eax, eax
jne 0x180011e64
mov r10, qword [rsp + 0x58]
jmp 0x180011535
lea rdx, [r12 + 0x190]
xor r9d, r9d
xor r8d, r8d
mov ecx, 0xfd
call fcn.18003cbe0
test eax, eax
jne 0x180011e50
mov r10, qword [rsp + 0x58]
lea rax, [0x180049320]
mov qword [r15 + 0x18], rax
lea rax, [0x1800495f0]
mov qword [r15 + 0x20], rax
jmp 0x180011535
xorps xmm0, xmm0
lea rax, [0x180018ee0]
mov qword [r15 + 0x28], rax
mov qword [r12 + 0x60], 0
movups xmmword [r12 + 0x100], xmm0
movups xmmword [r12 + 0x110], xmm0
movups xmmword [r12 + 0x120], xmm0
jmp 0x180011535
xor eax, eax
mov qword [r12 + 0x138], rax
mov qword [r12 + 0x140], rax
dec r14d
cmp r14d, 0xe7
ja 0x180011390
mov r11, qword [rbp - 0x78]
mov r8d, dword [rsp + 0x50]
mov dword [r12], 0
jmp case.0x180011372.87
mov dword [r12 + 0xb0], 0
mov eax, dword [rdx + 0x20]
mov dword [r12 + 0xc0], eax
jmp case.0x180011372.87
mov eax, dword [rdx + 4]
cmp dword [r12 + 0x140], eax
je 0x180011702
mov r14d, 0x129
nop
cmp r14d, 0x160b
ja 0x180011612
je 0x180011601
cmp r14d, 0x129
je 0x1800115dc
cmp r14d, 0x81f
je 0x1800115cb
cmp r14d, 0xf15
jne 0x1800116ec
mov dword [r12 + 0x144], 0
jmp 0x1800116ec
mov dword [r12 + 0x140], 0
jmp 0x1800116ec
xor r9d, r9d
mov r8d, 0xe2
mov rdx, r10
mov rcx, r12
call fcn.18004a740
mov qword [r12 + 0x138], 0
jmp 0x1800116e3
mov qword [r12 + 0x148], 0
jmp 0x1800116ec
cmp r14d, 0x1d01
je 0x180011647
cmp r14d, 0x23f7
jne 0x1800116ec
cmp qword [r12 + 0x138], 0
je 0x180011e7d
mov eax, dword [rdx + 4]
mov dword [r12 + 0x140], eax
jmp 0x1800116ec
mov eax, dword [rdx + 4]
mov ecx, 0x47
imul rdx, rax, 0x198
mov eax, ecx
sub eax, 0x47
je 0x180011682
sub eax, 9
je 0x1800116af
cmp eax, 0x57
jne 0x18001168e
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx + 0x28]
test rax, rax
je 0x180011698
mov rcx, qword [rcx]
xor r8d, r8d
mov rdx, r10
call rax
jmp 0x1800116d8
test rdx, rdx
mov eax, 1
cmove rdx, rax
add ecx, 9
cmp ecx, 0x62
jb 0x180011656
jmp 0x1800116d8
mov rax, qword [rsp + 0x70]
mov qword [r10], rax
mov rax, qword [rsp + 0x70]
mov qword [0], rax
jmp 0x1800116d8
test r10, r10
je 0x1800116cc
mov rax, qword [r10]
test rax, rax
je 0x1800116cc
mov rcx, qword [r10 + 0x10]
mov r8, rdx
mov edx, 1
call rax
jmp 0x1800116d5
mov rcx, rdx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
mov rax, rbx
mov qword [r12 + 0x138], rbx
mov rdx, qword [rbp - 0x40]
mov r10, qword [rsp + 0x58]
add r14d, 0x6f6
cmp r14d, 0x29c4
jbe 0x180011590
jmp 0x18001171a
mov r8d, 0xc7
mov byte [rsp + 0x68], 1
lea rdx, [rsp + 0x68]
mov rcx, r12
call fcn.18002e450
mov r14, qword [rbp - 0x40]
lea rcx, [r12 + 0x100]
mov r8, qword [rsp + 0x58]
lea r9, [rbp - 0x80]
mov edx, 0x13d
mov eax, dword [r14 + 4]
mov dword [rbp - 0x80], eax
mov rax, qword [rbp - 8]
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
call fcn.18002f5b0
test eax, eax
jne 0x180011ea4
mov eax, dword [r14 + 0x10]
lea r15, [r12 + 0x10]
xor r14d, r14d
mov dword [r12 + 0x130], eax
cmp qword [r15], 0xffffffffffffffff
je 0x1800117aa
mov r15, qword [rsp + 0x58]
mov rax, r12
nop dword [rax + rax]
mov r8, qword [rax + 0x18]
mov rdx, r15
mov ecx, 0x123
call fcn.18002a010
inc r14
mov rax, r14
shl rax, 4
add rax, r12
cmp qword [rax + 0x10], 0xffffffffffffffff
jne 0x180011780
lea r15, [r12 + 0x10]
mov r8, qword [rbp - 0x20]
mov r9d, 0xaa
mov rdx, qword [rsp + 0x58]
mov rcx, r15
call fcn.18001e5a0
test eax, eax
jne 0x180011ea4
mov r10, qword [rsp + 0x58]
mov r11, qword [rbp - 0x78]
mov r8d, dword [rsp + 0x50]
jmp case.0x180011372.87
inc dword [r15 + 0x1c]
mov esi, dword [rsp + 0x78]
jmp 0x180011e1e
mov rcx, r15
call qword [r15 + 0x30]
xor edx, edx
mov r13d, eax
mov dword [rsp + 0x78], edx
test eax, eax
je 0x180011916
lea ecx, [rax - 1]
mov rax, qword [rbp - 0x40]
lea r12, [rax + rcx*8]
mov eax, dword [rax + rcx*8]
mov dword [rsp + 0x78], eax
cmp eax, dword [r15 + 0x60]
jne 0x180011912
mov esi, dword [rbp - 0x68]
mov r15d, 0x42
cmp r15d, 0x42
je 0x1800118a2
cmp r15d, 0x1d22
je 0x180011888
cmp r15d, 0x3a02
jne 0x1800118f8
mov dword [rbp - 0x68], eax
xor r9d, r9d
lea rax, [rbp - 0x80]
mov dword [rbp - 0x80], esi
mov qword [rsp + 0x48], rax
mov r8, r14
mov rax, qword [rbp - 0x28]
mov ecx, 0xdc
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rdx
lea rdx, [rbp - 0x68]
call fcn.180031350
mov dword [rsp + 0x78], eax
jmp 0x1800118f6
mov eax, dword [r12 + 4]
mov r14, qword [rbp - 0x28]
sub r14, rax
mov eax, dword [rsp + 0x78]
dec r14
mov qword [rsp + 0x70], r14
jmp 0x1800118f8
mov r9, qword [rbp - 0x18]
xor r8d, r8d
mov qword [rsp + 0x30], rdx
xor ecx, ecx
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rdx
lea edx, [r8 + 0x45]
call fcn.180026b00
xor r8d, r8d
xor ecx, ecx
lea r14d, [rax + 1]
mov rax, qword [rbp - 0x18]
mov r9, rax
lea edx, [r8 + 0x79]
mov esi, dword [rax + 0x64]
call fcn.180029d60
dec rax
cmp r14d, esi
mov qword [rbp - 0x28], rax
mov eax, dword [rsp + 0x78]
cmovbe esi, r14d
mov r14, qword [rsp + 0x70]
xor edx, edx
add r15d, 0x1ce0
cmp r15d, 0x56a0
jbe 0x180011826
mov dword [rbp - 0x68], esi
mov esi, dword [rbp - 0x70]
mov r12, qword [rbp - 0x50]
mov r10, qword [rsp + 0x58]
mov r11, qword [rbp - 0x78]
mov r8d, dword [rsp + 0x50]
mov dword [r10], r13d
mov r13, qword [rbp - 0x60]
jmp case.0x180011372.87
cmp qword [r10 + 0x18], 0x10
mov r13, r10
mov qword [rbp - 0x60], r10
jb 0x180011945
mov r13, qword [r10]
mov qword [rbp - 0x60], r13
xor r11d, r11d
movabs r14, 0xaaaaaaaaaaaaaaab
mov rax, r14
mov qword [rbp - 0x78], r11
mul qword [r15 + 0x10]
shr rdx, 1
lea rcx, [rdx + rdx*2]
test rcx, rcx
je case.0x180011372.87
dec rcx
mov rax, r14
mul rcx
mov r8, rdx
shr r8, 1
inc r8
lea r11, [r8 + r8*2]
mov qword [rbp - 0x78], r11
nop word [rax + rax]
mov edx, 0x8f
cmp edx, 0x8f
je 0x180011a1c
cmp edx, 0x124
je 0x1800119d1
cmp edx, 0x1b9
jne 0x180011a36
movzx ecx, byte [r9 + 2]
mov rax, qword [section..data]
and ecx, 0x3f
movzx ecx, byte [rcx + rax]
mov byte [r13], cl
inc r13
add r9, 3
jmp 0x180011a36
movzx ecx, byte [r9]
movzx eax, byte [r9 + 1]
and ecx, 3
shl ecx, 4
shr eax, 4
add ecx, eax
mov rax, qword [section..data]
movzx ecx, byte [rcx + rax]
mov byte [r13], cl
movzx ecx, byte [r9 + 1]
movzx eax, byte [r9 + 2]
and ecx, 0xf
shr eax, 6
lea ecx, [rax + rcx*4]
mov rax, qword [section..data]
movzx ecx, byte [rcx + rax]
mov byte [r13 + 1], cl
add r13, 2
jmp 0x180011a36
movzx ecx, byte [r9]
mov rax, qword [section..data]
shr rcx, 2
movzx ecx, byte [rcx + rax]
mov byte [r13], cl
inc r13
add edx, 0x95
cmp edx, 0x24e
jb 0x180011995
mov qword [rbp - 0x30], r9
mov qword [rbp - 0x60], r13
sub r8, 1
jne 0x180011990
mov r8d, dword [rsp + 0x50]
jmp case.0x180011372.87
cmp r11, qword [r15 + 0x10]
jae case.0x180011372.87
mov r12d, dword [rbp - 0x48]
mov r8d, 0x21
mov r10d, dword [rbp - 0x34]
mov esi, dword [rbp - 0x38]
nop
mov eax, r8d
sub eax, 0x1f
je 0x180011aee
sub eax, 1
je 0x180011a9f
cmp eax, 1
jne 0x180011b23
movzx esi, byte [r9]
jmp 0x180011b23
lea rax, [r11 + 1]
xor edx, edx
cmp rax, qword [r15 + 0x10]
jae 0x180011ab2
movzx r12d, byte [r9 + 1]
jmp 0x180011ab5
mov r12d, edx
mov rax, qword [section..data]
mov r10d, edx
mov ecx, esi
shr rcx, 2
movzx ecx, byte [rcx + rax]
mov eax, r12d
mov byte [r13], cl
mov ecx, esi
and ecx, 3
shr eax, 4
shl ecx, 4
add ecx, eax
mov rax, qword [section..data]
movzx ecx, byte [rcx + rax]
mov byte [r13 + 1], cl
jmp 0x180011b1f
lea rax, [r11 + 1]
cmp rax, qword [r15 + 0x10]
jae 0x180011b14
mov ecx, r12d
mov eax, r10d
and ecx, 0xf
shr eax, 6
lea ecx, [rax + rcx*4]
mov rax, qword [section..data]
movzx edx, byte [rcx + rax]
jmp 0x180011b16
mov dl, 0x3d
mov byte [r13], dl
mov byte [r13 + 1], 0x3d
add r13, 2
dec r8d
cmp r8d, 0x1e
ja 0x180011a80
mov r8d, dword [rsp + 0x50]
mov dword [rbp - 0x38], esi
mov esi, dword [rbp - 0x70]
mov dword [rbp - 0x34], r10d
mov r10, qword [rsp + 0x58]
mov dword [rbp - 0x48], r12d
mov r12, qword [rbp - 0x50]
mov qword [rbp - 0x60], r13
jmp case.0x180011372.87
mov r9, qword [r12 + 0x60]
xor r8d, r8d
mov rcx, r10
mov qword [rsp + 0x20], 0
lea edx, [r8 + 0x62]
call fcn.18003a050
mov r8, qword [rsp + 0x58]
mov edx, 0x120
xor ecx, ecx
call fcn.180040470
mov qword [r12 + 0x60], rax
test rax, rax
je 0x180011e7d
mov r10, qword [rsp + 0x58]
mov r11, qword [rbp - 0x78]
mov r8d, dword [rsp + 0x50]
jmp case.0x180011372.87
lea rcx, [0x180049820]
cmp rcx, qword [r15 + 0x10]
je 0x180011c7e
mov r14d, 0x108
lea r13, [0x1800495f0]
mov eax, r14d
sub eax, 0x5e
je 0x180011c5b
sub eax, 0x96
je 0x180011c6f
sub eax, 0x14
je 0x180011beb
cmp eax, 0x96
je 0x180011c6f
jmp 0x180011c5b
cmp qword [r15 + 0x10], 0
je 0x180011c5b
mov rax, qword [r15 + 0x20]
test rax, rax
je 0x180011c1d
mov rcx, qword [r15]
cmp rax, r13
jne 0x180011c16
mov rdx, rcx
mov r8d, 6
mov rcx, r10
call fcn.180049610
jmp 0x180011c2d
mov rdx, r10
call rax
jmp 0x180011c2d
mov r8, qword [r15]
mov rdx, r10
mov ecx, 0x123
call fcn.18002a010
mov r10, qword [rsp + 0x58]
xor eax, eax
mov qword [r15], rax
mov qword [r15 + 8], rax
mov qword [r15 + 0x10], 0xffffffffffffffff
mov qword [r15 + 0x18], rax
mov qword [r15 + 0x20], rax
mov qword [r15 + 0x28], rax
mov qword [r15 + 0x30], rax
mov qword [r15 + 0x38], rax
mov qword [r15 + 0x40], rax
add r14d, 0x96
cmp r14d, 0x360
jb 0x180011bc2
mov r13, qword [rbp - 0x60]
lea rcx, [0x180049820]
mov rdx, qword [rbp - 0x40]
mov rax, qword [rbp - 0x10]
lea r9, [rbp]
mov qword [rbp - 0x20], rax
lea r8, [rbp - 0x20]
lea rax, [rbp - 0x58]
mov qword [r15 + 0x10], rcx
mov qword [rsp + 0x28], rax
lea rcx, [rbp - 8]
mov dword [rsp + 0x20], 0xe
call fcn.1800295f0
test eax, eax
jne 0x180011ea4
mov r10, qword [rsp + 0x58]
mov r11, qword [rbp - 0x78]
mov r8d, dword [rsp + 0x50]
jmp case.0x180011372.87
mov rax, qword [rbp - 0x58]
mov qword [r12 + 8], rax
xor eax, eax
mov dword [r12 + 0x134], eax
mov qword [r12 + 0x150], rax
jmp case.0x180011372.87
mov r8, qword [rbp - 0x20]
xor r9d, r9d
mov edx, 0x105
xor ecx, ecx
call fcn.1800354e0
cmp rax, 0xffffffffffffffff
je 0x180011e92
mov rax, qword [rbp - 0x40]
mov eax, dword [rax + 0x20]
cmp eax, 0xf
ja 0x180011e8b
xor r8d, r8d
mov dword [rbp - 0x80], eax
lea rdx, [rbp - 0x80]
lea ecx, [r8 + 0x57]
call fcn.180027690
test al, al
je 0x180011e84
mov r10, qword [rsp + 0x58]
mov r11, qword [rbp - 0x78]
mov r8d, dword [rsp + 0x50]
jmp case.0x180011372.87
mov rcx, qword [r15 + 0x10]
movabs rax, 0xaaaaaaaaaaaaaaab
add rcx, 2
xor r8d, r8d
mul rcx
mov rcx, r10
shr rdx, 1
shl rdx, 2
call fcn.1800458a0
cmp qword [r15 + 0x18], 0x10
mov qword [rbp - 0x30], r15
jb 0x180011d7b
mov rax, qword [r15]
mov qword [rbp - 0x30], rax
mov r10, qword [rsp + 0x58]
mov r11, qword [rbp - 0x78]
mov r8d, dword [rsp + 0x50]
jmp case.0x180011372.87
xor r14d, r14d
lea rax, [r12 + 0xe8]
mov qword [rsp + 0x48], r14
lea rcx, [r12 + 0xb0]
mov qword [rsp + 0x40], r14
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov qword [rsp + 0x30], r14
xor edx, edx
mov dword [rsp + 0x28], 0x55
mov qword [rsp + 0x20], r14
call fcn.180009790
test eax, eax
jne 0x180011ea4
mov r10, qword [rsp + 0x58]
mov r11, qword [rbp - 0x78]
mov r8d, dword [rsp + 0x50]
mov qword [r12 + 0xf8], r14
jmp case.0x180011372.87
mov eax, r8d
sub eax, 0x192
je 0x180011e04
cmp eax, 0x24
je case.0x180011372.201
jmp case.0x180011372.87
mov qword [r12 + 0x158], 0
xor esi, esi
mov qword [r12 + 0x160], 0xc
mov dword [rbp - 0x70], esi
add r8d, 0x24
mov dword [rsp + 0x50], r8d
cmp r8d, dword [rsp + 0x60]
jae case.0x180011372.201
mov r9, qword [rbp - 0x30]
mov r15, qword [rbp - 0x18]
mov r14, qword [rsp + 0x70]
mov rdx, qword [rbp - 0x40]
jmp 0x180011330
lea r8, [r12 + 0x168]
mov edx, 0xe6
xor ecx, ecx
call fcn.180034500
mov rdx, qword [rsp + 0x58]
mov r8, r12
mov ecx, 0x123
call fcn.18002a010
mov qword [r15], 0
mov eax, 5
jmp 0x180011ea4
mov eax, 3
jmp 0x180011ea4
mov eax, 0xb
jmp 0x180011ea4
mov eax, 8
jmp 0x180011ea4
mov ecx, dword [r15]
mov dword [0x1800c1f38], ecx
mov eax, esi
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.18004d0f0
mov rbx, qword [rsp + 0x220]
add rsp, 0x1d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret