Function at 0x140051360
Capabilities:
Query environment variable

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0xc0
mov rax, qword [0x140157900]
xor rax, rsp
mov qword [rsp + 0xb8], rax
xor ebx, ebx
xorps xmm0, xmm0
movups xmmword [r11 - 0x38], xmm0
mov qword [r11 - 0x28], rbx
mov qword [r11 - 0x20], rbx
mov r8d, 0x33
lea rdx, str.ProgramDataNVIDIA_CorporationDrs_nvAppTimestamps
lea rcx, [r11 - 0x38]
call fcn.140003d20
nop
lea rcx, str.SystemDrive
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
jne 0x140051404
mov rdx, qword [rsp + 0xa8]
cmp rdx, 0xf
jbe 0x14005165e
inc rdx
mov rcx, qword [rsp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400513fa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140051636
call fcn.1400bc820
jmp 0x14005165e
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140051420
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140003d20
nop
lea rdx, [rsp + 0x90]
cmp qword [rsp + 0xa8], 0xf
cmova rdx, qword [rsp + 0x90]
mov r8, qword [rsp + 0xa0]
lea rcx, [rsp + 0x30]
call fcn.140056dd0
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x88], rbx
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x80], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x1400514df
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400514da
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400514da
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bc820
movdqa xmm0, xmmword [0x140144710]
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], 0
lea rax, [rsp + 0x70]
cmp qword [rsp + 0x88], 0xf
cmova rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x28], rax
call fcn.1400bb9f4
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
lea r8, [rsp + 0x20]
mov edx, eax
lea rcx, [rsp + 0x50]
call fcn.14004d970
nop
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 7
cmova rcx, qword [rsp + 0x50]
xor edx, edx
call fcn.1400bc2a8
test eax, eax
jne 0x140051679
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x1400515a0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005159a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005159a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bc820
nop
mov rdx, qword [rsp + 0x88]
cmp rdx, 0xf
jbe 0x1400515e3
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400515de
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400515de
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bc820
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x88], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x70], 0
mov rdx, qword [rsp + 0xa8]
cmp rdx, 0xf
jbe 0x140051642
inc rdx
mov rcx, qword [rsp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005163d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005163d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bc820
mov al, 1
jmp 0x140051660
xor al, al
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.1400bc4a0
add rsp, 0xc0
pop rbx
ret
lea r8, [rsp + 0x50]
mov edx, eax
lea rcx, str.resize_file
call fcn.14004e850
int3