Function at 0x14019c990
Capabilities:
Check for unexpected memory writes
Query environment variable

Disassembly:
sub rsp, 0x78
mov rax, qword [0x140282140]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x34], 0
mov r9d, 4
mov r8d, 0x3000
mov edx, 0x8000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x14019c9f6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [0x140236be8]
call fcn.14009ce78
mov eax, dword [rsp + 0x30]
jmp 0x14019cca2
mov r9d, 4
mov r8d, 0x203000
mov edx, 0x1000000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x14019ca4c
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [0x140236c10]
call fcn.14009ce78
mov eax, dword [rsp + 0x30]
jmp 0x14019cca2
mov r8d, 1
mov rdx, qword [rsp + 0x38]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GlobalGetAtomNameW]
test eax, eax
je 0x14019ca7f
lea rcx, str.GlobalGetAtomName_succeeded_when_it_shouldve_failed..._not_sure_what_happened__n
call fcn.14009ce78
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x34], 1
mov r8d, 0x1000000
mov rdx, qword [rsp + 0x38]
lea rcx, str._ThisIsAnInvalidEnvironmentVariableName_________:__
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x14019cab7
lea rcx, str.GetEnvironmentVariable_succeeded_when_it_shouldve_failed..._not_sure_what_happened__n
call fcn.14009ce78
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x34], 1
mov rdx, qword [rsp + 0x38]
lea rcx, str._ThisIsAnInvalidFileName_________:__
call qword [sym.imp.KERNEL32.dll_GetBinaryTypeW]
test eax, eax
je 0x14019cae9
lea rcx, str.GetBinaryType_succeeded_when_it_shouldve_failed..._not_sure_what_happened__n
call fcn.14009ce78
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x34], 1
mov qword [rsp + 0x20], 0
mov r9d, 0x1000
mov r8, qword [rsp + 0x38]
mov edx, 0x45
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_HeapQueryInformation]
test eax, eax
je 0x14019cb2a
lea rcx, str.HeapQueryInformation_succeeded_when_it_shouldve_failed..._not_sure_what_happened__n
call fcn.14009ce78
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x34], 1
mov qword [rsp + 0x20], 0
mov r9d, 0x1000
mov r8, qword [rsp + 0x38]
mov edx, 0x69696969
mov rcx, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x14019cb70
lea rcx, str.ReadProcessMemory_succeeded_when_it_shouldve_failed..._not_sure_what_happened__n
call fcn.14009ce78
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x34], 1
mov rdx, qword [rsp + 0x38]
mov rcx, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x14019cba2
lea rcx, str.GetThreadContext_succeeded_when_it_shouldve_failed..._not_sure_what_happened__n
call fcn.14009ce78
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x34], 1
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, [fcn.14019c990]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetWriteWatch]
test eax, eax
jne 0x14019cbea
lea rcx, str.GetWriteWatch_succeeded_when_it_shouldve_failed..._not_sure_what_happened__n
call fcn.14009ce78
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x34], 1
cmp dword [rsp + 0x34], 0
jne 0x14019cc6c
mov qword [rsp + 0x50], 0x1000
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x48]
mov r8d, 0x1000
mov rdx, qword [rsp + 0x38]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetWriteWatch]
test eax, eax
je 0x14019cc48
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [0x140236f90]
call fcn.14009ce78
mov dword [rsp + 0x30], 0
jmp 0x14019cc6a
cmp qword [rsp + 0x50], 0
je 0x14019cc5a
mov dword [rsp + 0x40], 1
jmp 0x14019cc62
mov dword [rsp + 0x40], 0
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x30], eax
jmp 0x14019cc78
lea rcx, str.Write_watch_API_check_skipped__ignore_the_result_as_it_is_inconclusive._n
call fcn.14009ce78
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140225770
add rsp, 0x78
ret