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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d5377
mov eax, dword fs:[0]
push eax
sub esp, 0x1f0
mov eax, dword [0x68a140]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0xa4], eax
call dword [sym.imp.ntdll.dll_RtlDllShutdownInProgress]
test al, al
je 0x46004f
mov eax, 6
jmp 0x460452
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessId]
mov edx, eax
lea ecx, [ebp - 0xec]
call fcn.0044d240
push eax
mov edx, 0x62eb50
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.00408b20
add esp, 4
lea ecx, [ebp - 0xec]
call fcn.00428f30
push 0x40
lea eax, [ebp - 0x50]
mov dword [ebp - 4], 1
push 0
push eax
call fcn.0059bcc0
add esp, 0xc
lea ecx, [ebp - 0x50]
cmp dword [ebp - 0x54], 7
lea eax, [ebp - 0x68]
cmova eax, dword [ebp - 0x68]
push 0x20
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x460342
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xcb
je 0x46016d
mov eax, dword [0x629468]
mov edx, 7
movq xmm0, qword [str.dump]
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0xa0], 0x43414243
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x9c], 0x32423335
mov ecx, dword [ebp - 0x9c]
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x94]
movq qword [ebp - 0x94], xmm0
xorps xmm0, xmm0
mov dword [ebp - 0x84], ecx
lea ecx, [ebp - 0x1fc]
push eax
mov dword [ebp - 0x80], 0x38
movups xmmword [ebp - 0x7c], xmm0
mov dword [ebp - 0x6c], 0
call fcn.004254c0
add esp, 4
push str.Could_not_access_environment_variables__crash_handler_will_be_installed_anyway.
lea ecx, [ebp - 0x1fc]
mov byte [ebp - 4], 2
call fcn.00426c60
lea ecx, [ebp - 0x1fc]
mov byte [ebp - 4], 1
call fcn.00426740
push dword [ebp + 0x14]
lea ecx, [edi + 8]
push dword [ebp + 0x10]
push dword [ebp - 0xa4]
push esi
call fcn.00466350
mov esi, eax
cmp esi, 1
je 0x460191
test esi, esi
jne 0x460448
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, 0x400000
je 0x460246
mov eax, dword [0x629468]
mov edx, 5
movq xmm0, qword [str.dump]
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xa0], 0x43414243
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x9c], 0x32423335
mov ecx, dword [ebp - 0x9c]
mov dword [ebp - 0xc4], eax
lea eax, [ebp - 0xd0]
movq qword [ebp - 0xd0], xmm0
xorps xmm0, xmm0
mov dword [ebp - 0xc0], ecx
lea ecx, [ebp - 0x1fc]
push eax
mov dword [ebp - 0xbc], 0x41
movups xmmword [ebp - 0xb8], xmm0
mov dword [ebp - 0xa8], 0
call fcn.004254c0
add esp, 4
push str.Installing_crashguard_from_DLL_instead_of_executable._Crashes_in_global_destruction_cannot_be_handled.
lea ecx, [ebp - 0x1fc]
mov byte [ebp - 4], 3
call fcn.00426c60
lea ecx, [ebp - 0x1fc]
mov byte [ebp - 4], 1
call fcn.00426740
inc dword [edi + 4]
lea ecx, [ebp - 0x80]
mov edx, 0x400000
call fcn.0045be80
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x80]
cmp dword [ebp - 0x6c], 7
lea eax, [ebp - 0x68]
cmova ecx, dword [ebp - 0x80]
cmp dword [ebp - 0x54], 7
push ecx
cmova eax, dword [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov eax, dword [0x629468]
mov edx, 2
movq xmm0, qword [str.dump]
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xa0], 0x43414243
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x9c], 0x32423335
mov ecx, dword [ebp - 0x9c]
mov dword [ebp - 0xc4], eax
lea eax, [ebp - 0xd0]
movq qword [ebp - 0xd0], xmm0
xorps xmm0, xmm0
mov dword [ebp - 0xc0], ecx
lea ecx, [ebp - 0x1fc]
push eax
mov dword [ebp - 0xbc], 0x46
movups xmmword [ebp - 0xb8], xmm0
mov dword [ebp - 0xa8], 0
call fcn.004254c0
add esp, 4
push str.Crash_handler_installed_successfully_process_wide_from_module
lea ecx, [ebp - 0x1fc]
mov byte [ebp - 4], 5
call fcn.00426c60
push ecx
mov ecx, eax
call fcn.004087e0
lea ecx, [ebp - 0x80]
push ecx
mov ecx, eax
call fcn.00428440
push 0x62414c
mov ecx, eax
call fcn.00426c60
lea ecx, [ebp - 0x1fc]
call fcn.00426740
lea ecx, [ebp - 0x80]
call fcn.00428f30
jmp 0x460448
mov ecx, dword [edi + 4]
mov edx, 2
mov dword [ebp - 0xa0], 0x43414243
test ecx, ecx
mov dword [ebp - 0x9c], 0x32423335
mov dword [ebp - 0xa8], 0
lea eax, [ecx + 1]
mov ecx, dword [ebp - 0x9c]
mov dword [edi + 4], eax
mov eax, dword [0x629468]
movq xmm0, qword [str.dump]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xa0]
movq qword [ebp - 0xd0], xmm0
xorps xmm0, xmm0
mov dword [ebp - 0xc4], eax
lea eax, [ebp - 0xd0]
mov dword [ebp - 0xc0], ecx
lea ecx, [ebp - 0x1fc]
movups xmmword [ebp - 0xb8], xmm0
push eax
jle 0x4603ef
mov dword [ebp - 0xbc], 0x4e
call fcn.004254c0
add esp, 4
push str.Crash_handler_installed_multiple_times_from_this_binary__ignoring_additional_install_request
lea ecx, [ebp - 0x1fc]
mov byte [ebp - 4], 6
call fcn.00426c60
lea ecx, [ebp - 0x1fc]
call fcn.00426740
jmp 0x460443
mov dword [ebp - 0xbc], 0x53
call fcn.004254c0
add esp, 4
push str.Crash_handler_is_already_resident_in_this_process._Enabling_only_manual_dumping_from_this_binary.
lea ecx, [ebp - 0x1fc]
mov byte [ebp - 4], 7
call fcn.00426c60
lea ecx, [ebp - 0x1fc]
mov byte [ebp - 4], 1
call fcn.00426740
push dword [ebp + 0x14]
lea ecx, [edi + 8]
push 0
push dword [ebp - 0xa4]
push esi
call fcn.00466350
mov esi, eax
cmp esi, 1
je 0x460443
test esi, esi
jne 0x460448
mov esi, 2
lea ecx, [ebp - 0x68]
call fcn.00428f30
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00599e5b
mov esp, ebp
pop ebp
ret 0x10