Function at 0x14000b430
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rdi
sub rsp, 0x50
mov rax, qword [0x14001e010]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor ebx, ebx
mov edx, 0x8000
xor ecx, ecx
mov r8d, 0x3000
mov edi, ebx
lea r9d, [rbx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbp, rax
test rax, rax
jne 0x14000b48c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.VirtualAlloc_failed._Last_error:__u_n
call fcn.14000b0e0
xor eax, eax
jmp 0x14000b63e
xor ecx, ecx
mov qword [rsp + 0x60], rsi
mov edx, 0x1000000
mov r8d, 0x203000
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x14000b4dc
xor edx, edx
mov r8d, 0x8000
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualFree]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.VirtualAlloc_failed._Last_error:__u_n
call fcn.14000b0e0
xor eax, eax
jmp 0x14000b639
xor ecx, ecx
mov rdx, rsi
lea r8d, [rcx + 1]
call qword [sym.imp.KERNEL32.dll_GlobalGetAtomNameW]
test eax, eax
je 0x14000b500
lea rcx, str.GlobalGetAtomName_succeeded_when_it_shouldve_failed..._not_sure_what_happened__n
call fcn.14000b0e0
mov edi, 1
mov r8d, 0x1000000
lea rcx, str._ThisIsAnInvalidEnvironmentVariableName_________:__
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x14000b52b
lea rcx, str.GetEnvironmentVariable_succeeded_when_it_shouldve_failed..._not_sure_what_happened__n
call fcn.14000b0e0
mov edi, 1
mov rdx, rsi
lea rcx, str._ThisIsAnInvalidFileName_________:__
call qword [sym.imp.KERNEL32.dll_GetBinaryTypeW]
test eax, eax
je 0x14000b550
lea rcx, str.GetBinaryType_succeeded_when_it_shouldve_failed..._not_sure_what_happened__n
call fcn.14000b0e0
mov edi, 1
mov r9d, 0x1000
mov qword [rsp + 0x20], rbx
mov r8, rsi
mov edx, 0x45
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_HeapQueryInformation]
test eax, eax
je 0x14000b580
lea rcx, str.HeapQueryInformation_succeeded_when_it_shouldve_failed..._not_sure_what_happened__n
call fcn.14000b0e0
mov edi, 1
mov r9d, 0x1000
mov qword [rsp + 0x20], rbx
mov r8, rsi
mov edx, 0x69696969
mov rcx, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x14000b5b5
lea rcx, str.ReadProcessMemory_succeeded_when_it_shouldve_failed..._not_sure_what_happened__n
call fcn.14000b0e0
mov edi, 1
mov rdx, rsi
mov rcx, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x14000b5da
lea rcx, str.GetThreadContext_succeeded_when_it_shouldve_failed..._not_sure_what_happened__n
call fcn.14000b0e0
mov edi, 1
mov qword [rsp + 0x28], rsi
lea rdx, [fcn.14000b430]
xor r9d, r9d
mov qword [rsp + 0x20], rbx
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetWriteWatch]
test eax, eax
jne 0x14000b65b
lea rcx, str.GetWriteWatch_succeeded_when_it_shouldve_failed..._not_sure_what_happened__n
call fcn.14000b0e0
lea rcx, str.Write_watch_API_check_skipped__ignore_the_result_as_it_is_inconclusive._n
call fcn.14000b0e0
xor edx, edx
mov r8d, 0x8000
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor edx, edx
mov r8d, 0x8000
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, ebx
mov rsi, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400116f0
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
test edi, edi
jne 0x14000b609
lea rax, [rsp + 0x38]
mov qword [rsp + 0x30], 0x1000
mov qword [rsp + 0x28], rax
mov r9, rbp
lea rax, [rsp + 0x30]
mov r8d, 0x1000
mov rdx, rsi
mov qword [rsp + 0x20], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetWriteWatch]
test eax, eax
je 0x14000b6ad
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.GetWriteWatch_failed._Last_error:__u_n
call fcn.14000b0e0
jmp 0x14000b615
cmp qword [rsp + 0x30], rbx
setne bl
jmp 0x14000b615