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

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x340]
sub rsp, 0x440
mov rax, qword [0x1800d73f8]
xor rax, rsp
mov qword [rbp + 0x330], rax
lea edi, [r9 - 0x13]
mov qword [rsp + 0x78], r8
mov qword [rbp - 0x70], rdx
mov r15d, r9d
mov dword [rbp - 0x78], edi
mov rbx, rdx
mov r14, rcx
cmp r9d, edi
jbe case.0x180004169.7
mov r12d, dword [rbp - 0x78]
lea r13d, [r9 - 0xbf]
mov r9d, 0x1008
lea rdx, [0x180000000]
xor esi, esi
lea r10d, [r9 + 0x10]
cmp r13d, 0x3d
ja case.0x180004169.19
movzx eax, byte [rdx + r13 + 0x4714]
mov ecx, dword [rdx + rax*4 + 0x46c4]
add rcx, rdx
jmp rcx
mov rcx, qword [r8]
mov edx, dword [rsp + 0x6c]
cmp rdx, rcx
jbe 0x180004182
mov eax, edx
mov dword [rsp + 0x6c], ecx
sub eax, ecx
mov dword [rbp - 0x80], eax
lea rdx, [0x180000000]
dec r15d
dec r13d
cmp r15d, edi
ja 0x180004150
jmp case.0x180004169.7
mov ecx, 0xc
call fcn.1800680b0
mov eax, dword [rsp + 0x68]
mov r12d, esi
test eax, eax
je 0x1800041ee
mov ebx, eax
mov r12d, eax
nop dword [rax]
nop word [rax + rax]
mov eax, dword [r14]
lea rdx, [rsp + 0x70]
xor r9d, r9d
xor r8d, r8d
movzx ecx, word [rax]
mov word [rsp + 0x70], cx
mov ecx, 0x11f
call fcn.180027490
add dword [r14], 2
sub rbx, 1
jne 0x1800041c0
mov rbx, qword [rbp - 0x70]
mov r8, qword [rsp + 0x78]
mov r9d, 0x1008
lea r10d, [r9 + 0x10]
jmp 0x180004182
mov dword [rbp - 0x7c], esi
jmp case.0x180004169.19
mov eax, dword [r14]
add eax, 2
movzx edx, word [rax]
mov eax, dword [r14]
add eax, 4
movzx eax, word [rax]
shl eax, 0x10
or edx, eax
mov dword [rsp + 0x68], edx
jmp 0x180004182
mov eax, dword [rsp + 0x6c]
lea r9, [rsp + 0x60]
mov r8, rbx
mov qword [rsp + 0x60], rax
mov edx, 0xb4
mov rcx, r14
call fcn.18003af50
test al, al
jne 0x180004271
mov ecx, 0xce
nop dword [rax + rax]
mov eax, ecx
sub eax, 0xcd
je case.0x180004169.7
cmp eax, 1
jne 0x180004267
mov byte [rsp + 0x58], 0
dec ecx
cmp ecx, 0xcc
ja 0x180004250
mov eax, dword [rbp - 0x80]
xor r9d, r9d
mov dword [rsp + 0x48], 0x9c
xor r8d, r8d
mov qword [rsp + 0x40], rsi
xor edx, edx
mov qword [rsp + 0x38], rsi
mov rcx, rbx
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
call fcn.18004eb10
test al, al
jne 0x1800041ee
mov eax, 0xf4
nop dword [rax]
cmp eax, 0xf4
je 0x1800042d4
cmp eax, 0xbbc4
je case.0x180004169.7
jmp 0x1800042d9
mov byte [rsp + 0x58], 0
add eax, 0xbad0
cmp eax, 0x175a0
jbe 0x1800042c0
jmp 0x1800041ee
mov r12d, esi
mov dword [rsp + 0x68], esi
jmp case.0x180004169.19
mov eax, dword [rbp - 0x7c]
mov dword [rsp + 0x58], eax
jmp case.0x180004169.19
mov eax, 0x24
cmp eax, 0x24
je 0x18000464d
add eax, 0x84
cmp eax, 0xa8
jb 0x180004307
mov eax, dword [r14]
add eax, 0xa
movzx r12d, word [rax]
jmp case.0x180004169.19
mov word [rsp + 0x60], r9w
lea r8, [rsp + 0x60]
mov byte [rsp + 0x50], 3
mov edx, 0xa9
lea rcx, [rsp + 0x50]
call fcn.180047730
jmp 0x1800041ee
mov eax, dword [r14]
add eax, 0xc
movzx eax, word [rax]
shl eax, 0x10
or r12d, eax
jmp case.0x180004169.19
mov edi, 1
lea rsi, [rbp + 0x180]
nop
mov ebx, 0xd
nop word [rax + rax]
cmp ebx, 0x27d
ja 0x18000445e
je 0x180004448
cmp ebx, 0xd
je 0x180004415
cmp ebx, 0xdd
je 0x1800043ec
cmp ebx, 0x1ad
jne 0x18000455a
lea rax, [rbp - 0x40]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, 0x10a
lea rcx, [rbp + 0xb0]
call fcn.1800a9420
mov eax, edi
lea rdx, [rbp - 0x40]
shl rax, 6
mov ecx, 0x58
lea r8, [rbp + rax + 0x170]
call fcn.180010150
jmp 0x18000455a
mov rcx, qword [0x1800d75b8]
lea r8, [rbp + 0xb0]
add rcx, 8
lea rdx, [rbp + 0x150]
mov r9d, 0x97
call fcn.18009bfd0
jmp 0x18000455a
xor r9d, r9d
lea r8, [rbp + 0x150]
xor ecx, ecx
lea edx, [r9 + 0x37]
call fcn.18007f4e0
lea r9, [rbp - 0x68]
mov ecx, 0x1d
lea r8, [rbp + 0x150]
lea rdx, [rbp - 0x68]
call fcn.18003fe50
jmp 0x18000455a
mov eax, edi
shl rax, 6
lea rax, [rbp + rax + 0x170]
mov qword [rsi], rax
jmp 0x18000455a
cmp ebx, 0x34d
je 0x180004519
cmp ebx, 0x41d
je 0x180004505
cmp ebx, 0x4ed
jne 0x18000455a
mov rax, qword [0x1800d75b8]
lea r9, [rsp + 0x60]
lea r8, [rbp + 0x180]
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x30]
mov dword [rsp + 0x60], edi
mov ecx, 0x8a
call fcn.180051590
cmp eax, 1
jne 0x180004654
lea r8d, [rax + 0x3f]
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x70]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x18000455a
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
xor r9d, r9d
lea r8, [0x1800c0e21]
mov rcx, rax
lea rdx, str.ku_crlsign
lea rax, str.MediaRouteProvider::StopObservingMediaRoutes_deserializer
mov qword [rsp + 0x20], rax
call fcn.1800aa5d0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
lea r8, [rbp + 0x70]
mov ecx, 0x58
lea rdx, [rbp - 0x40]
call fcn.180010150
jmp 0x18000455a
mov rcx, qword [0x1800d75b8]
lea r8, [rbp + 0xb0]
add rcx, 8
lea rdx, [rbp - 0x68]
mov r9d, 0x97
call fcn.18009bfd0
lea rax, [rbp - 0x40]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, 0x10a
lea rcx, [rbp + 0xb0]
call fcn.1800a9420
add ebx, 0xd0
cmp ebx, 0x5b0
jbe 0x180004380
inc edi
add rsi, 8
cmp edi, 6
jle 0x180004370
mov edi, dword [rbp - 0x78]
xor esi, esi
jmp 0x1800041ea
mov edx, dword [rsp + 0x68]
sub edx, r12d
shr edx, 1
add dword [r14], r12d
mov dword [rsp + 0x68], edx
jmp 0x180004182
mov word [rsp + 0x60], r10w
jmp 0x180004331
movups xmm0, xmmword [rbp + 0x150]
mov qword [rbp - 0x68], 0
movups xmm1, xmmword [rbp + 0x160]
mov qword [rbp - 0x60], 0
movups xmmword [rbp + 0x180], xmm0
mov qword [rbp - 0x58], 0
movups xmm0, xmmword [rbp + 0x170]
mov qword [rbp - 0x50], 0
movups xmmword [rbp + 0x190], xmm1
movups xmmword [rbp + 0x1a0], xmm0
jmp case.0x180004169.19
xor r9d, r9d
lea rdx, [rsp + 0x6c]
mov r8d, 0xea
mov rcx, rbx
call fcn.18007f920
test al, al
je 0x180004690
mov dword [rbp - 0x80], esi
jmp 0x1800041ee
mov eax, dword [r14 + 8]
shr eax, 2
and eax, 1
mov dword [rbp - 0x7c], eax
jmp case.0x180004169.19
mov eax, dword [rsp + 0x6c]
mov rcx, qword [r8]
cmp rax, rcx
jae 0x180004642
mov byte [rax + r14], 0
jmp case.0x180004169.19
mov byte [rcx + r14 - 1], 0
jmp case.0x180004169.19
mov byte [rsp + 0x58], 1
jmp case.0x180004169.7
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
xor r9d, r9d
lea r8, [0x1800c0e21]
mov rcx, rax
lea rdx, str.vert_align
lea rax, str.options_are_given_and_SOURCE_and_DEST_are_the_same_name_for_an_existing_
mov qword [rsp + 0x20], rax
call fcn.1800aa5d0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
mov byte [rsp + 0x58], 0
mov eax, dword [rsp + 0x58]
mov rcx, qword [rbp + 0x330]
xor rcx, rsp
call fcn.1800aafa0
mov rbx, qword [rsp + 0x498]
add rsp, 0x440
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret