Function at 0x140001c50
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x390]
sub rsp, 0x490
mov rax, qword [0x140007008]
xor rax, rsp
mov qword [rbp + 0x380], rax
mov rsi, rcx
mov qword [rsp + 0x38], rcx
xor r14d, r14d
mov qword [rcx], r14
mov qword [rcx + 8], r14
mov qword [rcx + 0x10], r14
mov qword [rcx + 0x18], r14
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call fcn.140002ba0
mov rdi, qword [rsp + 0x40]
test rdi, rdi
je 0x140001eb3
mov ebx, r14d
cmp dword [rdi], r14d
jbe 0x140001d09
nop dword [rax]
nop dword [rax + rax]
mov eax, ebx
imul r15, rax, 0x128
add r15, 8
add r15, rdi
movzx edx, word [r15 + 0x26]
add rdx, 0x28
add rdx, r15
lea rcx, str.ci.dll
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x140001d05
inc ebx
cmp ebx, dword [rdi]
jb 0x140001cd0
jmp 0x140001d09
mov r14, qword [r15 + 0x10]
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140001d46
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140001d46
mov rbx, qword [rsp + 0x48]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x140001d46
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
call qword [rax + 8]
mov qword [rsi], r14
test r14, r14
je 0x140001ef3
xor edx, edx
mov r8d, 0x410
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x104
lea rdx, [rsp + 0x70]
lea rcx, str._SystemRoot_System32ci.dll
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
dec eax
cmp eax, 0x103
ja 0x140001f16
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rbx, rax
mov rcx, qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x60], rax
test rax, rax
je 0x140001f39
mov rcx, rax
call fcn.140002830
mov rcx, rax
test rax, rax
je 0x140001f5c
movsxd rax, dword [rax + 3]
add rax, 7
add rcx, rax
mov rax, qword [rsi]
sub rax, rbx
add rax, rcx
mov qword [rsi + 8], rax
mov ecx, 0x10
call fcn.140002e64
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov rcx, rax
call fcn.1400014c0
nop
mov rdi, qword [rsi + 0x18]
mov qword [rsi + 0x18], rax
test rdi, rdi
je 0x140001e3c
lea rax, vtable.i_memory_controller.0
mov qword [rdi], rax
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x140001e2f
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, 0x10
mov rcx, rdi
call fcn.140002e30
mov rcx, qword [rsi + 0x18]
mov rax, qword [rcx]
mov r9d, 8
lea r8, [rsi + 0x10]
mov rdx, qword [rsi + 8]
call qword [rax + 0x10]
test al, al
je 0x140001e90
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
mov rax, rsi
mov rcx, qword [rbp + 0x380]
xor rcx, rsp
call fcn.140002e10
lea r11, [rsp + 0x490]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
lea rdx, str.Failed_to_read_g_RevocationList_contents_
lea rcx, [rsp + 0x20]
call fcn.140001000
lea rdx, [0x140005588]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140001ef0
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140001ef0
mov rbx, qword [rsp + 0x48]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x140001ef0
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
call qword [rax + 8]
mov qword [rsi], r14
lea rdx, str.Failed_to_get_ci.dll_address_
lea rcx, [rsp + 0x58]
call fcn.140001000
lea rdx, [0x140005588]
lea rcx, [rsp + 0x58]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rdx, str.Failed_to_resolve_ci.dll_path_
lea rcx, [rsp + 0x20]
call fcn.140001000
lea rdx, [0x140005588]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rdx, str.Failed_to_load_ci.dll_
lea rcx, [rsp + 0x40]
call fcn.140001000
lea rdx, [0x140005588]
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rdx, str.Failed_to_find_g_RevocationList_
lea rcx, [rsp + 0x40]
call fcn.140001000
lea rdx, [0x140005588]
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll__CxxThrowException
int3