Function at 0x140113fc0
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xc0
mov rax, qword [0x1402922b8]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov r12, rdx
mov r14, rcx
xor r13d, r13d
mov dword [rbp - 0x69], r13d
mov qword [rbp - 0x61], rcx
mov edi, r13d
mov qword [rbp - 0x59], r13
test rcx, rcx
jne 0x14011423c
mov rbx, qword [0x14029c7d8]
test rbx, rbx
je 0x140114227
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x30]
test al, al
je 0x140114227
xorps xmm0, xmm0
movups xmmword [rbp - 0x31], xmm0
mov qword [rbp - 0x21], r13
mov qword [rbp - 0x19], r13
mov qword [rbp - 0x19], 0xf
lea edx, [r14 + 0x40]
lea rcx, [rbp - 0x31]
call fcn.14001b8a0
mov rcx, rax
mov qword [rbp - 0x31], rax
mov qword [rbp - 0x21], 0x3d
mov qword [rbp - 0x19], 0x3f
movups xmm0, xmmword [str.Cannot_get_current_environment:_GetEnvironmentStringsW_failed]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1401a0688]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [0x1401a0698]
movups xmmword [rax + 0x20], xmm0
movsd xmm0, qword [0x1401a06a8]
movsd qword [rax + 0x30], xmm0
mov eax, dword [0x1401a06b0]
mov dword [rcx + 0x38], eax
movzx eax, byte [0x1401a06b4]
mov byte [rcx + 0x3c], al
mov byte [rcx + 0x3d], r13b
mov dword [rbp - 0x69], 1
mov rax, qword [rbx]
lea r9, [rbp - 0x31]
lea r14, str.eax::foundation::parseEnvironmentImpl
mov r8, r14
lea edx, [r13 + 1]
mov rcx, rbx
call qword [rax + 0x38]
add rbx, 8
mov qword [rbp - 0x61], rbx
mov rcx, rbx
call sub.MSVCP140.dll__Mtx_lock
test eax, eax
jne 0x1401145b2
cmp dword [rbx + 0x4c], 0x7fffffff
je 0x1401145a4
lea rdx, [rbx + 0x50]
lea rcx, [rbp - 0x49]
call fcn.140028d20
mov edi, 3
mov dword [rbp - 0x69], edi
mov rcx, rbx
call sub.MSVCP140.dll__Mtx_unlock
mov rsi, qword [rbp - 0x41]
mov rbx, qword [rbp - 0x49]
cmp rbx, rsi
je 0x14011415b
add rbx, 0x38
cmp qword [rbx], 0
je 0x14011414e
mov qword [rbp - 0x61], r14
mov dword [rbp - 0x51], 1
mov rcx, qword [rbx]
mov rax, qword [rcx]
lea r9, [rbp - 0x31]
lea r8, [rbp - 0x61]
lea rdx, [rbp - 0x51]
call qword [rax + 0x10]
add rbx, 0x48
lea rax, [rbx - 0x38]
cmp rax, rsi
jne 0x140114128
and edi, 0xfffffffd
mov dword [rbp - 0x69], edi
mov rcx, qword [rbp - 0x49]
test rcx, rcx
je 0x1401141da
lea r8, [rbp - 0x49]
mov rdx, qword [rbp - 0x41]
call fcn.1400206a0
mov rcx, qword [rbp - 0x39]
mov r8, qword [rbp - 0x49]
sub rcx, r8
movabs rax, 0xe38e38e38e38e39
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rdx, [rdx + rdx*8]
shl rdx, 3
cmp rdx, 0x1000
jb 0x1401141c6
add rdx, 0x27
mov rcx, qword [r8 - 8]
sub r8, rcx
lea rax, [r8 - 8]
cmp rax, 0x1f
ja 0x14011422e
mov r8, rcx
mov rcx, r8
call fcn.14012fc60
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x49], xmm0
mov qword [rbp - 0x39], r13
and edi, 0xfffffffe
mov dword [rbp - 0x69], edi
mov rdx, qword [rbp - 0x19]
cmp rdx, 0x10
jb 0x140114217
inc rdx
mov rcx, qword [rbp - 0x31]
cmp rdx, 0x1000
jb 0x140114212
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140114235
mov rcx, r8
call fcn.14012fc60
mov qword [rbp - 0x21], r13
mov qword [rbp - 0x19], 0xf
mov byte [rbp - 0x31], 0
xor al, al
jmp 0x140114562
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rbx, qword [rdx]
mov r8, qword [rbx + 8]
mov rcx, r12
call fcn.140053a90
mov qword [rbx + 8], rbx
mov qword [rbx], rbx
mov qword [rbx + 0x10], rbx
mov qword [r12 + 8], r13
xorps xmm0, xmm0
movups xmmword [rbp + 0xf], xmm0
mov qword [rbp + 0x1f], r13
mov qword [rbp + 0x27], r13
mov qword [rbp + 0x1f], r13
mov qword [rbp + 0x27], 0xf
mov byte [rbp + 0xf], dil
movups xmmword [rbp - 0x11], xmm0
mov qword [rbp - 1], r13
mov qword [rbp + 7], r13
mov qword [rbp - 1], r13
mov r15d, 0xf
mov qword [rbp + 7], r15
mov byte [rbp - 0x11], 0
mov bl, 1
mov esi, 0xffffffff
test r14, r14
je 0x1401142b1
cmp word [r14 + rdi*2], 0
mov eax, 1
jne 0x1401142b4
mov eax, r13d
test al, al
je 0x1401144d0
lea rdx, [rbp + 0xf]
lea rcx, [rbp - 0x61]
call fcn.140114630
test al, al
je 0x1401144ce
mov ebx, r13d
mov r14, qword [rbp - 0x61]
mov rdi, qword [rbp - 0x59]
cmp word [r14 + rdi*2], bx
je 0x1401142fc
lea rax, [r14 + rdi*2]
nop word [rax + rax]
inc ebx
lea rax, [rax + 2]
cmp word [rax], 0
jne 0x1401142f0
lea rdx, [r14 + rdi*2]
mov r8, rsi
lea rcx, [rbp - 0x31]
call fcn.1400f1bc0
mov rsi, rax
lea rax, [rbp - 0x11]
cmp rax, rsi
je 0x14011437e
cmp r15, 0x10
jb 0x140114350
lea rdx, [r15 + 1]
mov rcx, qword [rbp - 0x11]
cmp rdx, 0x1000
jb 0x14011434b
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1401143f7
mov rcx, r8
call fcn.14012fc60
mov qword [rbp - 1], r13
mov qword [rbp + 7], 0xf
mov byte [rbp - 0x11], 0
movups xmm0, xmmword [rsi]
movups xmmword [rbp - 0x11], xmm0
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rbp - 1], xmm1
mov qword [rsi + 0x10], r13
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
mov rdx, qword [rbp - 0x19]
cmp rdx, 0x10
jb 0x1401143b5
inc rdx
mov rcx, qword [rbp - 0x31]
cmp rdx, 0x1000
jb 0x1401143b0
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1401143fe
mov rcx, r8
call fcn.14012fc60
mov qword [rbp - 0x21], r13
mov qword [rbp - 0x19], 0xf
mov byte [rbp - 0x31], 0
lea eax, [rbx + 1]
movsxd rcx, eax
add rdi, rcx
mov qword [rbp - 0x59], rdi
mov bl, 1
lea r9, [rbp - 0x11]
lea r8, [rbp + 0xf]
lea rdx, [rbp - 0x49]
mov rcx, r12
call fcn.140113dc0
cmp byte [rbp - 0x41], 0
je 0x140114405
mov r15, qword [rbp + 7]
jmp 0x14011429a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rbx, qword [0x14029c7d8]
test rbx, rbx
je 0x1401144ca
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x30]
test al, al
je 0x1401144ca
lea rax, [rbp + 0xf]
cmp qword [rbp + 0x27], 0x10
cmovae rax, qword [rbp + 0xf]
mov qword [rbp - 0x61], rax
lea r8, [rbp - 0x61]
lea rdx, str.get_current_environment:_duplicate_key__s
lea rcx, [rbp - 0x31]
call fcn.140022300
nop
mov rax, qword [rbx]
lea r9, [rbp - 0x31]
lea r14, str.eax::foundation::parseEnvironmentImpl
mov r8, r14
mov edx, 1
mov rcx, rbx
call qword [rax + 0x38]
lea rcx, [rbx + 8]
lea r9, [rbp - 0x31]
mov r8, r14
mov edx, 1
call fcn.14002b5d0
nop
mov rdx, qword [rbp - 0x19]
cmp rdx, 0x10
jb 0x1401144ba
inc rdx
mov rcx, qword [rbp - 0x31]
cmp rdx, 0x1000
jb 0x1401144b5
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14011458f
mov rcx, r8
call fcn.14012fc60
mov qword [rbp - 0x21], r13
mov qword [rbp - 0x19], 0xf
mov byte [rbp - 0x31], 0
mov r15, qword [rbp + 7]
xor bl, bl
cmp r15, 0x10
jb 0x140114508
lea rdx, [r15 + 1]
mov rcx, qword [rbp - 0x11]
cmp rdx, 0x1000
jb 0x140114503
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140114596
mov rcx, r8
call fcn.14012fc60
mov qword [rbp - 1], r13
mov qword [rbp + 7], 0xf
mov byte [rbp - 0x11], 0
mov rdx, qword [rbp + 0x27]
cmp rdx, 0x10
jb 0x14011454f
inc rdx
mov rcx, qword [rbp + 0xf]
cmp rdx, 0x1000
jb 0x14011454a
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14011459d
mov rcx, r8
call fcn.14012fc60
mov qword [rbp + 0x1f], r13
mov qword [rbp + 0x27], 0xf
mov byte [rbp + 0xf], 0
movzx eax, bl
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.14012fd90
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
dec dword [rbx + 0x4c]
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
mov ecx, 5
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3