Function at 0x140071900
Capabilities:
Query environment variable
Set environment variable

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x1a8]
sub rsp, 0x2a8
mov rax, qword [0x1402bf200]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov rdi, qword [rbp + 0x1e0]
mov rsi, qword [rbp + 0x1e8]
mov r14, qword [rbp + 0x1f0]
mov ebx, dword [rbp + 0x1f8]
xor r15d, r15d
call qword [sym.imp.ntdll.dll_RtlDllShutdownInProgress]
test al, al
je 0x14007196d
lea eax, [r15 + 6]
jmp 0x140071e34
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcessId]
mov edx, eax
lea rcx, [rsp + 0x58]
call fcn.140051eb0
nop
mov r9d, 0x16
lea r8, str.CrashHandlerInstalled_
xor edx, edx
mov rcx, rax
call fcn.140022d20
xorps xmm0, xmm0
movups xmmword [rbp + 0xe0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xf0], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xe0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xf0], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 7
mov word [rax], r15w
lea rcx, [rsp + 0x58]
call fcn.14002adf0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x150], xmm0
movups xmmword [rbp + 0x160], xmm0
movups xmmword [rbp + 0x170], xmm0
movups xmmword [rbp + 0x180], xmm0
lea rcx, [rbp + 0xe0]
cmp qword [rbp + 0xf8], 7
cmova rcx, qword [rbp + 0xe0]
mov r8d, 0x20
lea rdx, [rbp + 0x150]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x140071d38
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xcb
je 0x140071ab9
mov dword [rsp + 0x30], 0x35344333
mov dword [rsp + 0x34], 0x46383939
movsd xmm0, qword [str.dump]
movsd qword [rsp + 0x40], xmm0
mov eax, dword [0x14023c298]
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x4c], rax
mov dword [rsp + 0x54], 0x38
lea rcx, [rsp + 0x30]
call fcn.140026d50
lea r9, [rsp + 0x40]
mov r8d, 7
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.140025780
nop
lea rdx, str.Could_not_access_environment_variables__crash_handler_will_be_installed_anyway.
lea rcx, [rbp - 0x80]
call fcn.140028820
nop
lea rcx, [rbp - 0x80]
call fcn.140028440
lea rcx, [rdi + 0x10]
mov eax, dword [rbp + 0x200]
mov dword [rsp + 0x20], eax
mov r9d, ebx
mov r8, r14
mov rdx, rsi
call fcn.1400683e0
mov esi, eax
cmp eax, 1
ja 0x140071e26
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rbx, [0x140000000]
cmp rax, rbx
je 0x140071b6a
mov dword [rsp + 0x30], 0x35344333
mov dword [rsp + 0x34], 0x46383939
movsd xmm0, qword [str.dump]
movsd qword [rsp + 0x40], xmm0
mov eax, dword [0x14023c298]
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x4c], rax
mov dword [rsp + 0x54], 0x41
lea rcx, [rsp + 0x30]
call fcn.140026d50
lea r9, [rsp + 0x40]
mov r8d, 5
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.140025780
nop
lea rdx, str.Installing_crashguard_from_DLL_instead_of_executable._Crashes_in_global_destruction_cannot_be_handled.
lea rcx, [rbp - 0x80]
call fcn.140028820
nop
lea rcx, [rbp - 0x80]
call fcn.140028440
inc dword [rdi + 8]
lea r9, [rbp + 0x14a]
movabs r8, 0xcccccccccccccccd
test rbx, rbx
jns 0x140071bd0
neg rbx
nop word [rax + rax]
sub r9, 2
mov rax, r8
mul rbx
shr rdx, 3
movzx eax, dx
shl ax, 2
lea ecx, [rax + rdx]
add cx, cx
sub bx, cx
add bx, 0x30
mov word [r9], bx
mov rbx, rdx
test rdx, rdx
jne 0x140071b90
add r9, 0xfffffffffffffffe
mov word [r9], 0x2d
jmp 0x140071bfe
sub r9, 2
mov rax, r8
mul rbx
shr rdx, 3
movzx eax, dx
shl ax, 2
lea ecx, [rax + rdx]
add cx, cx
sub bx, cx
add bx, 0x30
mov word [r9], bx
mov rbx, rdx
test rdx, rdx
jne 0x140071bd0
xorps xmm0, xmm0
movups xmmword [rbp + 0x100], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x110], xmm1
lea rax, [rbp + 0x14a]
cmp r9, rax
jne 0x140071c39
movdqa xmm0, xmmword [0x140269150]
movdqu xmmword [rbp + 0x110], xmm0
mov word [rbp + 0x100], r15w
jmp 0x140071c56
lea r8, [rbp + 0x14a]
sub r8, r9
sar r8, 1
mov rdx, r9
lea rcx, [rbp + 0x100]
call fcn.14002a920
nop
lea rdx, [rbp + 0x100]
cmp qword [rbp + 0x118], 7
cmova rdx, qword [rbp + 0x100]
lea rcx, [rbp + 0xe0]
cmp qword [rbp + 0xf8], 7
cmova rcx, qword [rbp + 0xe0]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov dword [rsp + 0x30], 0x35344333
mov dword [rsp + 0x34], 0x46383939
movsd xmm0, qword [str.dump]
movsd qword [rsp + 0x40], xmm0
mov eax, dword [0x14023c298]
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x4c], rax
mov dword [rsp + 0x54], 0x46
lea rcx, [rsp + 0x30]
call fcn.140026d50
lea r9, [rsp + 0x40]
mov r8d, 2
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.140025780
nop
lea rdx, str.Crash_handler_installed_successfully_process_wide_from_module
lea rcx, [rbp - 0x80]
call fcn.140028820
mov rcx, rax
call fcn.140009430
lea rdx, [rbp + 0x100]
mov rcx, rax
call fcn.14002a020
lea rdx, [0x140236d7c]
mov rcx, rax
call fcn.140028820
nop
lea rcx, [rbp - 0x80]
call fcn.140028440
nop
lea rcx, [rbp + 0x100]
call fcn.14002adf0
jmp 0x140071e26
mov ecx, dword [rdi + 8]
lea eax, [rcx + 1]
mov dword [rdi + 8], eax
mov dword [rsp + 0x30], 0x35344333
mov dword [rsp + 0x34], 0x46383939
movsd xmm0, qword [str.dump]
mov eax, dword [0x14023c298]
movsd qword [rsp + 0x40], xmm0
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x4c], rax
test ecx, ecx
lea rcx, [rsp + 0x30]
jle 0x140071dc1
mov dword [rsp + 0x54], 0x4e
call fcn.140026d50
lea r9, [rsp + 0x40]
mov ebx, 2
mov r8d, ebx
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.140025780
nop
lea rdx, str.Crash_handler_installed_multiple_times_from_this_binary__ignoring_additional_install_request
lea rcx, [rbp - 0x80]
call fcn.140028820
nop
lea rcx, [rbp - 0x80]
call fcn.140028440
mov esi, ebx
jmp 0x140071e26
mov dword [rsp + 0x54], 0x53
call fcn.140026d50
lea r9, [rsp + 0x40]
mov ebx, 2
mov r8d, ebx
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.140025780
nop
lea rdx, str.Crash_handler_is_already_resident_in_this_process._Enabling_only_manual_dumping_from_this_binary.
lea rcx, [rbp - 0x80]
call fcn.140028820
nop
lea rcx, [rbp - 0x80]
call fcn.140028440
lea rcx, [rdi + 0x10]
mov eax, dword [rbp + 0x200]
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov r8, r14
mov rdx, rsi
call fcn.1400683e0
mov esi, eax
cmp eax, 1
cmovbe esi, ebx
lea rcx, [rbp + 0xe0]
call fcn.14002adf0
mov eax, esi
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.14019acb0
add rsp, 0x2a8
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret