Function at 0x460890
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d546b
mov eax, dword fs:[0]
push eax
sub esp, 0x198
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
cmp byte [edi + 0x49], 0
je 0x4609d3
mov byte [edi + 0x49], 0
mov eax, dword [edi + 0x18]
test eax, eax
je 0x46093f
push eax
call dword [sym.imp.KERNEL32.dll_RemoveVectoredExceptionHandler]
mov dword [edi + 0x18], 0
test eax, eax
jne 0x46093f
movq xmm0, qword [str.dump]
lea edx, [ebp - 0x64]
mov eax, dword [0x629468]
mov dword [ebp - 0x34], 0x45304345
mov ecx, dword [ebp - 0x34]
movq qword [ebp - 0x64], xmm0
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0x41333343
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x54], ecx
mov ecx, 7
push str.Failed_to_uninstall_vectored_handler.
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x50], 0x43
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x3c], 0
call fcn.0040b2a0
add esp, 4
cmp byte [edi + 0x20], 0
je 0x460952
lea ecx, [edi + 0x10]
call fcn.0046ba00
mov byte [ebp - 0x29], al
jmp 0x460956
mov byte [ebp - 0x29], 1
mov esi, dword [edi + 0x3c]
cmp dword [esi + 0x18], 0
je 0x460970
push dword [esi + 0x1c]
call dword [sym.imp.KERNEL32.dll_SetEvent]
lea ecx, [esi + 0x14]
call fcn.0044d1e0
cmp byte [ebp - 0x29], 0
jne 0x460a59
movq xmm0, qword [str.dump]
lea edx, [ebp - 0x64]
mov eax, dword [0x629468]
mov dword [ebp - 0x34], 0x45343432
mov ecx, dword [ebp - 0x34]
movq qword [ebp - 0x64], xmm0
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0x42313636
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x54], ecx
mov ecx, 7
push str.Failed_to_uninstall_crash_hooks
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x50], 0x11b
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x3c], 0
call fcn.0040b2a0
add esp, 4
mov eax, dword [0x629468]
mov edx, 7
movq xmm0, qword [str.dump]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x38], 0x43414243
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x34], 0x32423335
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x64]
movq qword [ebp - 0x64], xmm0
xorps xmm0, xmm0
mov dword [ebp - 0x54], ecx
lea ecx, [ebp - 0x1a4]
push eax
mov byte [ebp - 0x29], 0
mov dword [ebp - 0x50], 0x8a
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x3c], 0
call fcn.004254c0
add esp, 4
push str.CrashGuard_uninstallation_failed.
lea ecx, [ebp - 0x1a4]
mov dword [ebp - 4], 3
call fcn.00426c60
lea ecx, [ebp - 0x1a4]
call fcn.00426740
jmp 0x460b62
cmp byte [edi + 0x48], 0
lea ecx, [edi + 0x48]
je 0x460a7b
call fcn.00471030
cmp dword [0x6efd9c], 0
je 0x460a7b
push 0x6efd9c
call dword [sym.imp.RPCRT4.dll_RpcBindingFree]
mov byte [ebp - 0x29], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessId]
mov edx, eax
lea ecx, [ebp - 0x50]
call fcn.0044d240
push eax
mov edx, 0x62eb50
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00408b20
add esp, 4
lea ecx, [ebp - 0x50]
call fcn.00428f30
mov dword [ebp - 4], 1
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 7
push 0
cmova eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov eax, dword [0x629468]
mov edx, 2
movq xmm0, qword [str.dump]
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x38], 0x43414243
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x34], 0x32423335
mov ecx, dword [ebp - 0x34]
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 - 0x1a4]
push eax
mov dword [ebp - 0x80], 0x86
movups xmmword [ebp - 0x7c], xmm0
mov dword [ebp - 0x6c], 0
call fcn.004254c0
add esp, 4
push str.CrashGuard_uninstalled_successfully
lea ecx, [ebp - 0x1a4]
mov byte [ebp - 4], 2
call fcn.00426c60
lea ecx, [ebp - 0x1a4]
call fcn.00426740
lea ecx, [ebp - 0x28]
call fcn.00428f30
mov al, byte [ebp - 0x29]
mov dword [edi + 4], 0
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