Function at 0x4b87e0
Capabilities:
Compare security identifiers
Create process on windows
Resume thread
Set environment variable
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6d057b
mov eax, dword fs:[0]
push eax
sub esp, 0x298
mov eax, dword [0x80236c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x24]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x238], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x274], esi
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x270], eax
mov dword [ebp - 0x224], 0
cmp dword [ebp + 0x20], 0x10
lea eax, [ebp + 0xc]
mov dword [ebp - 4], 1
cmovae eax, dword [ebp + 0xc]
push eax
push str.Sandbox_process_request:__s
push dword [0x7cd3b0]
push 4
push str.WinSandboxingUtilities
push 0
call fcn.004c1270
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
xorps xmm0, xmm0
mov dword [ebp - 0x58], 0
movq qword [ebp - 0x60], xmm0
mov dword [ebp - 0x224], 1
mov dword [ebp - 0x1e8], 0
mov dword [ebp - 0x1ec], 0
mov dword [ebp - 0x1f0], 0
mov dword [ebp - 0x1f4], 0
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
movq qword [ebp - 0xc8], xmm0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0
movq qword [ebp - 0x78], xmm0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
xor eax, eax
movq qword [ebp - 0x8c], xmm0
xor edi, edi
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x218], edi
mov dword [ebp - 0x8c], edi
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x84], eax
movq qword [ebp - 0x6c], xmm0
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
push 0x44
push eax
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x254], eax
mov dword [ebp - 0x230], eax
lea eax, [ebp - 0x1dc]
push eax
mov byte [ebp - 4], 6
call fcn.0067fc00
xorps xmm0, xmm0
mov dword [ebp - 0x1e0], 0x48
add esp, 0x24
mov dword [ebp - 0xd0], edi
movups xmmword [ebp - 0x204], xmm0
mov dword [ebp - 0xcc], 7
mov ecx, dword [ebp - 0x238]
xor eax, eax
mov word [ebp - 0xe0], ax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4b89d0
sub ecx, edx
sar ecx, 1
push ecx
push dword [ebp - 0x238]
lea ecx, [ebp - 0xe0]
call fcn.0049d7d0
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0xf
mov byte [ebp - 0x128], 0
xor eax, eax
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 7
mov word [ebp - 0xa4], ax
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xe4], 7
mov word [ebp - 0xf8], ax
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa8], 7
mov word [ebp - 0xbc], ax
mov dword [ebp - 0x100], eax
mov dword [ebp - 0xfc], 7
mov word [ebp - 0x110], ax
lea eax, [ebp - 0x1e8]
mov byte [ebp - 4], 0xc
push eax
call fcn.004b9b30
mov eax, dword [ebp - 0x1e8]
add esp, 4
test eax, eax
jne 0x4b8aab
push str.Failed_to_get_effective_process_token
push dword [0x7cd3b0]
push 2
push str.WinSandboxingUtilities
push eax
call fcn.004c1270
add esp, 0x14
jmp 0x4b97d7
lea ecx, [ebp - 0x1ec]
push ecx
push 2
push 2
push 0
push 0xf01ff
push eax
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
jne 0x4b8af0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_DuplicateTokenEx_for_impersonation__Error_:__d
push dword [0x7cd3b0]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.004c1270
add esp, 0x18
jmp 0x4b97d7
push 0x1b
lea ecx, [ebp - 0x54]
call fcn.006493d0
mov ecx, dword [ebp - 0x5c]
cmp ecx, dword [ebp - 0x58]
je 0x4b8b2d
movups xmm0, xmmword [ebp - 0x54]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [ebp - 0x44]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [ebp - 0x34]
movups xmmword [ecx + 0x20], xmm0
movups xmm0, xmmword [ebp - 0x24]
movups xmmword [ecx + 0x30], xmm0
mov eax, dword [ebp - 0x14]
mov dword [ecx + 0x40], eax
add dword [ebp - 0x5c], 0x44
jmp 0x4b8b3a
lea eax, [ebp - 0x54]
push eax
push ecx
lea ecx, [ebp - 0x60]
call fcn.004b7b70
push 1
lea ecx, [ebp - 0x54]
call fcn.006493d0
mov ecx, dword [ebp - 0x5c]
cmp ecx, dword [ebp - 0x58]
je 0x4b8b77
movups xmm0, xmmword [ebp - 0x54]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [ebp - 0x44]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [ebp - 0x34]
movups xmmword [ecx + 0x20], xmm0
movups xmm0, xmmword [ebp - 0x24]
movups xmmword [ecx + 0x30], xmm0
mov eax, dword [ebp - 0x14]
mov dword [ecx + 0x40], eax
add dword [ebp - 0x5c], 0x44
jmp 0x4b8b84
lea eax, [ebp - 0x54]
push eax
push ecx
lea ecx, [ebp - 0x60]
call fcn.004b7b70
push 0xb
lea ecx, [ebp - 0x54]
call fcn.006493d0
mov ecx, dword [ebp - 0x5c]
cmp ecx, dword [ebp - 0x58]
je 0x4b8bc1
movups xmm0, xmmword [ebp - 0x54]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [ebp - 0x44]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [ebp - 0x34]
movups xmmword [ecx + 0x20], xmm0
movups xmm0, xmmword [ebp - 0x24]
movups xmmword [ecx + 0x30], xmm0
mov eax, dword [ebp - 0x14]
mov dword [ecx + 0x40], eax
add dword [ebp - 0x5c], 0x44
jmp 0x4b8bce
lea eax, [ebp - 0x54]
push eax
push ecx
lea ecx, [ebp - 0x60]
call fcn.004b7b70
mov eax, dword [ebp - 0x1e8]
mov dword [ebp - 0x1e4], eax
lea eax, [ebp - 0x208]
push eax
push 2
lea eax, [ebp - 0x1e4]
mov dword [ebp - 0x210], 0
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.004b8030
add esp, 0x10
mov esi, dword [ebp - 0x210]
mov byte [ebp - 4], 0xd
test esi, esi
jne 0x4b8c32
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x208], esi
je 0x4b8d67
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_AddAllSidsForDenyOnly__Error:__d
jmp 0x4b97ba
xor eax, eax
mov dword [ebp - 0x21c], eax
cmp dword [esi], eax
jbe 0x4b8d5a
lea edi, [esi + 4]
mov dword [ebp - 0x208], edi
nop dword [eax + eax]
test dword [edi + 4], 0xc0000020
jne 0x4b8d40
xor ecx, ecx
mov byte [ebp - 0x209], 0
mov dword [ebp - 0x1e4], ecx
mov eax, 0x78787879
mov ecx, dword [ebp - 0x5c]
sub ecx, dword [ebp - 0x60]
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4b8cdc
xor edi, edi
nop word [eax + eax]
mov eax, dword [ebp - 0x208]
mov ecx, dword [ebp - 0x60]
push dword [eax]
lea ecx, [ecx + edi]
call fcn.00488950
push eax
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x4b8d23
mov ecx, dword [ebp - 0x5c]
mov eax, 0x78787879
sub ecx, dword [ebp - 0x60]
add edi, 0x44
inc dword [ebp - 0x1e4]
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x1e4], eax
jb 0x4b8c90
mov edi, dword [ebp - 0x208]
mov al, byte [ebp - 0x209]
test al, al
jne 0x4b8d3a
push dword [edi]
lea ecx, [ebp - 0x54]
call fcn.006493a0
mov ecx, dword [ebp - 0x74]
cmp ecx, dword [ebp - 0x70]
je 0x4b8d2d
movups xmm0, xmmword [ebp - 0x54]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [ebp - 0x44]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [ebp - 0x34]
movups xmmword [ecx + 0x20], xmm0
movups xmm0, xmmword [ebp - 0x24]
movups xmmword [ecx + 0x30], xmm0
mov eax, dword [ebp - 0x14]
mov dword [ecx + 0x40], eax
add dword [ebp - 0x74], 0x44
jmp 0x4b8d3a
mov edi, dword [ebp - 0x208]
mov al, 1
jmp 0x4b8ce2
lea eax, [ebp - 0x54]
push eax
push ecx
lea ecx, [ebp - 0x78]
call fcn.004b7b70
mov eax, dword [ebp - 0x21c]
inc eax
add edi, 8
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x208], edi
cmp eax, dword [esi]
jb 0x4b8c50
xor edi, edi
push esi
mov byte [ebp - 4], 0xc
call fcn.00669ad7
add esp, 4
push str.SeChangeNotifyPrivilege
lea ecx, [ebp - 0x250]
call fcn.004b7e30
mov eax, dword [ebp - 0x68]
mov byte [ebp - 4], 0xe
cmp eax, dword [ebp - 0x64]
je 0x4b8dc4
movups xmm0, xmmword [ebp - 0x250]
mov dword [eax + 0x10], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x240]
movq qword [eax + 0x10], xmm0
xor eax, eax
add dword [ebp - 0x68], 0x18
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 7
mov word [ebp - 0x250], ax
jmp 0x4b8dd4
lea ecx, [ebp - 0x250]
push ecx
push eax
lea ecx, [ebp - 0x6c]
call fcn.004b7990
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 0xc
call fcn.004879b0
mov eax, dword [ebp - 0x1e8]
mov dword [ebp - 0x1e4], eax
lea eax, [ebp - 0x208]
push eax
push 3
lea eax, [ebp - 0x1e4]
mov dword [ebp - 0x210], 0
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.004b8030
add esp, 0x10
mov esi, dword [ebp - 0x210]
mov byte [ebp - 4], 0xf
test esi, esi
jne 0x4b8e47
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x208], esi
je 0x4b8f76
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_DeleteAllPrivileges__Error:__d
jmp 0x4b97ba
cmp dword [esi], 0
mov dword [ebp - 0x21c], 0
jbe 0x4b8f69
lea edi, [esi + 4]
nop dword [eax]
xor ecx, ecx
mov eax, 0x2aaaaaab
mov dword [ebp - 0x1e4], ecx
mov ecx, dword [ebp - 0x68]
sub ecx, dword [ebp - 0x6c]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4b8ef7
xor ecx, ecx
mov dword [ebp - 0x208], ecx
nop dword [eax]
mov eax, dword [ebp - 0x6c]
xorps xmm0, xmm0
add eax, ecx
movlpd qword [ebp - 0x80], xmm0
cmp dword [eax + 0x14], 8
jb 0x4b8ea5
mov eax, dword [eax]
lea ecx, [ebp - 0x80]
push ecx
push eax
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov eax, dword [edi + 4]
cmp eax, dword [ebp - 0x7c]
jne 0x4b8ec5
mov eax, dword [edi]
cmp eax, dword [ebp - 0x80]
je 0x4b8f45
mov ecx, dword [ebp - 0x68]
mov eax, 0x2aaaaaab
sub ecx, dword [ebp - 0x6c]
add dword [ebp - 0x208], 0x18
inc dword [ebp - 0x1e4]
imul ecx
mov ecx, dword [ebp - 0x208]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x1e4], eax
jb 0x4b8e90
mov ecx, dword [ebp - 0x22c]
cmp ecx, dword [ebp - 0x234]
je 0x4b8f20
mov eax, dword [edi]
mov dword [ecx], eax
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
add ecx, 8
mov dword [ebp - 0x22c], ecx
mov dword [ebp - 0x88], ecx
jmp 0x4b8f45
push edi
push ecx
lea ecx, [ebp - 0x8c]
call fcn.004b7830
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x234], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp - 0x21c]
add edi, 0xc
inc eax
mov dword [ebp - 0x21c], eax
cmp eax, dword [esi]
jb 0x4b8e60
mov edi, dword [ebp - 0x8c]
mov dword [ebp - 0x218], edi
push esi
mov byte [ebp - 4], 0xc
call fcn.00669ad7
add esp, 4
mov ecx, dword [ebp - 0x74]
mov eax, 0x78787879
sub ecx, dword [ebp - 0x78]
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x210], eax
je 0x4b9027
xor ecx, ecx
mov edx, 8
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00669ace
mov ecx, dword [ebp - 0x74]
add esp, 4
sub ecx, dword [ebp - 0x78]
xor esi, esi
mov dword [ebp - 0x220], eax
mov eax, 0x78787879
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4b9027
xor edi, edi
nop word [eax + eax]
mov eax, dword [ebp - 0x220]
mov dword [eax + esi*8 + 4], 0x10
mov ecx, dword [ebp - 0x78]
lea ecx, [ecx + edi]
call fcn.00488950
mov ecx, dword [ebp - 0x220]
lea edi, [edi + 0x44]
mov dword [ecx + esi*8], eax
mov eax, 0x78787879
mov ecx, dword [ebp - 0x74]
inc esi
sub ecx, dword [ebp - 0x78]
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x4b8fe0
mov edi, dword [ebp - 0x218]
mov esi, dword [ebp - 0x22c]
sub esi, edi
sar esi, 3
test esi, esi
je 0x4b9084
xor ecx, ecx
mov eax, esi
mov edx, 0xc
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00669ace
add esp, 4
mov dword [ebp - 0x218], eax
xor edx, edx
test esi, esi
je 0x4b9086
mov ecx, eax
nop
mov dword [ecx + 8], 0
lea ecx, [ecx + 0xc]
mov eax, dword [edi + edx*8]
mov dword [ecx - 0xc], eax
mov eax, dword [edi + edx*8 + 4]
inc edx
mov dword [ecx - 8], eax
cmp edx, esi
jb 0x4b9060
mov eax, dword [ebp - 0x218]
jmp 0x4b9086
xor eax, eax
lea ecx, [ebp - 0x1f0]
push ecx
push 0
push 0
push eax
push esi
push dword [ebp - 0x220]
push dword [ebp - 0x210]
push 0
push dword [ebp - 0x1e8]
call dword [sym.imp.ADVAPI32.dll_CreateRestrictedToken]
test eax, eax
jne 0x4b90c2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_CreateRestrictedToken__Error:__d
jmp 0x4b97ba
lea eax, [ebp - 0x1f4]
push eax
push 1
push 1
push 0
push 0xf01ff
push dword [ebp - 0x1f0]
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
jne 0x4b90f5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_DuplicateTokenEx_for_identification__Error:__d
jmp 0x4b97ba
push 0x2000
call fcn.00695890
push 0x2000
mov dword [ebp - 0x218], eax
call fcn.00695890
mov dword [ebp - 0x210], eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x230]
push eax
push str.TEMP
call fcn.004b84c0
add esp, 0x14
test eax, eax
jne 0x4b9157
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_changeEnvironVariable_TEMP__Error:__d
push dword [0x7cd3b0]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.004c1270
add esp, 0x18
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x220]
push eax
push 0x729288
call fcn.004b84c0
add esp, 0xc
test eax, eax
jne 0x4b9199
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_changeEnvironVariable_TMP__Error:__d
push dword [0x7cd3b0]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.004c1270
add esp, 0x18
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0xf8]
push eax
call fcn.004ba170
mov eax, dword [ebp - 0x270]
add esp, 8
test eax, eax
jns 0x4b91d2
neg eax
push eax
lea eax, [ebp - 0x12]
push eax
call fcn.004b7d80
lea ecx, [eax - 2]
mov eax, 0x2d
mov word [ecx], ax
jmp 0x4b91de
push eax
lea eax, [ebp - 0x12]
push eax
call fcn.004b7d80
mov ecx, eax
xor eax, eax
mov dword [ebp - 0x240], 0
mov word [ebp - 0x250], ax
add esp, 8
lea eax, [ebp - 0x12]
mov dword [ebp - 0x23c], 7
cmp ecx, eax
je 0x4b9216
sub eax, ecx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x250]
call fcn.0049d7d0
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x110]
call fcn.0048f7f0
lea ecx, [ebp - 0x250]
call fcn.004879b0
mov esi, dword [ebp - 0xe8]
lea ecx, [ebp - 0x250]
xor eax, eax
mov byte [ebp - 4], 0x10
mov word [ebp - 0x250], ax
mov dword [ebp - 0x240], 0
lea eax, [esi + 1]
mov dword [ebp - 0x23c], 7
push eax
mov dword [ebp - 0x224], 0xf
call fcn.00490930
push 1
push 0x725300
lea ecx, [ebp - 0x250]
call fcn.004a9ae0
cmp dword [ebp - 0xe4], 8
lea eax, [ebp - 0xf8]
push esi
cmovae eax, dword [ebp - 0xf8]
lea ecx, [ebp - 0x250]
push eax
call fcn.004a9ae0
push 0x729448
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004ab000
add esp, 0xc
mov ecx, eax
cmp dword [ebp - 0xcc], 8
lea eax, [ebp - 0xe0]
push dword [ebp - 0xd0]
cmovae eax, dword [ebp - 0xe0]
push eax
mov byte [ebp - 4], 0x11
call fcn.004a9ae0
mov dword [ebp - 0x25c], 0
xor ecx, ecx
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x224], 0x1f
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x26c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x25c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push 0x729444
lea eax, [ebp - 0x26c]
mov byte [ebp - 4], 0x12
push eax
lea eax, [ebp - 0x2a4]
push eax
call fcn.004ab000
add esp, 0xc
mov ecx, eax
cmp dword [ebp - 0xfc], 8
lea eax, [ebp - 0x110]
push dword [ebp - 0x100]
cmovae eax, dword [ebp - 0x110]
push eax
mov byte [ebp - 4], 0x13
call fcn.004a9ae0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x27c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0x28c]
push eax
lea ecx, [ebp - 0xbc]
call fcn.0048f7f0
lea ecx, [ebp - 0x28c]
call fcn.004879b0
lea ecx, [ebp - 0x2a4]
call fcn.004879b0
lea ecx, [ebp - 0x26c]
call fcn.004879b0
lea ecx, [ebp - 0x28]
call fcn.004879b0
lea ecx, [ebp - 0x250]
mov dword [ebp - 0x224], 0x37
mov byte [ebp - 4], 0xc
call fcn.004879b0
cmp dword [ebp - 0x90], 8
lea edx, [ebp - 0x204]
push edx
lea edx, [ebp - 0x1e0]
push edx
lea eax, [ebp - 0xa4]
cmovae eax, dword [ebp - 0xa4]
lea ecx, [ebp - 0xbc]
cmp dword [ebp - 0xa8], 8
push eax
cmovae ecx, dword [ebp - 0xbc]
push 0
push 0x9000404
push 0
push 0
push 0
push ecx
push 0
push dword [ebp - 0x1f4]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
jne 0x4b946e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_create_Sandbox_Process_as_user__Error:__d
push dword [0x7cd3b0]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.004c1270
add esp, 0x18
jmp 0x4b9739
push 0x70
lea eax, [ebp - 0x198]
push 0
push eax
call fcn.0067fc00
add esp, 0xc
mov dword [ebp - 0x1e4], 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
mov dword [ebp - 0x228], eax
test eax, eax
jne 0x4b94b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_CreateJobObject__Error:__d
jmp 0x4b9572
or dword [ebp - 0x188], 0x2008
lea ecx, [ebp - 0x198]
push 0x70
push ecx
push 9
push eax
mov dword [ebp - 0x17c], 1
call dword [sym.imp.KERNEL32.dll_SetInformationJobObject]
test eax, eax
jne 0x4b94eb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_SetInformationJobObject_of_JobObjectExtendedLimitInformation__Error:__d
jmp 0x4b9572
push 0x7c8208
lea ecx, [ebp - 0x26c]
call fcn.0048c1e0
cmp dword [ebp - 0x258], 0x10
lea eax, [ebp - 0x26c]
push 8
cmovae eax, dword [ebp - 0x26c]
push str.S_1_5_18
push dword [ebp - 0x25c]
mov dword [ebp - 0x224], 0x77
push eax
call fcn.0049e4b0
add esp, 0x10
lea ecx, [ebp - 0x26c]
mov esi, eax
call fcn.00487aa0
test esi, esi
mov esi, dword [ebp - 0x228]
je 0x4b95bf
or dword [ebp - 0x1e4], 0xff
lea eax, [ebp - 0x1e4]
push 4
push eax
push 4
push esi
call dword [sym.imp.KERNEL32.dll_SetInformationJobObject]
test eax, eax
jne 0x4b95bf
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_SetInformationJobObject_of_JobObjectBasicUIRestrictions__Error:__d
push dword [0x7cd3b0]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.004c1270
add esp, 0x18
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_create_JobObject__Error:__d
push dword [0x7cd3b0]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.004c1270
add esp, 0x18
push 0
push dword [ebp - 0x204]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x4b9739
push dword [ebp - 0x204]
push esi
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
jne 0x4b9606
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_AssignProcessToJobObject__Error:__d
push dword [0x7cd3b0]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.004c1270
add esp, 0x18
push 0
push dword [ebp - 0x204]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x4b9739
push dword [ebp - 0x1ec]
lea eax, [ebp - 0x200]
push eax
call dword [sym.imp.ADVAPI32.dll_SetThreadToken]
test eax, eax
jne 0x4b9653
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_SetThreadToken__Error:__d
push dword [0x7cd3b0]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.004c1270
add esp, 0x18
push 0
push dword [ebp - 0x204]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x4b9739
push dword [ebp - 0x200]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x4b969a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_ResumeThread__Error:__d
push dword [0x7cd3b0]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.004c1270
add esp, 0x18
push 0
push dword [ebp - 0x204]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x4b9739
push dword [ebp - 0x238]
lea eax, [ebp + 0xc]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.0048c1e0
lea eax, [ebp - 0x28]
push eax
call fcn.00641cb0
mov esi, eax
add esp, 0x20
mov eax, dword [ebp - 0x214]
cmp eax, esi
je 0x4b9731
mov ecx, dword [eax + 0x14]
cmp ecx, 0x10
jb 0x4b96ff
mov eax, dword [eax]
inc ecx
cmp ecx, 0x1000
jb 0x4b96ef
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b9b29
mov eax, edx
push ecx
push eax
call fcn.00669b1d
mov eax, dword [ebp - 0x214]
add esp, 8
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
movups xmm0, xmmword [esi]
movups xmmword [eax], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [eax + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
lea ecx, [ebp - 0x28]
call fcn.00487aa0
cmp dword [ebp - 0x230], 0
mov eax, dword [ebp - 0x218]
mov dword [ebp - 0x254], eax
je 0x4b9751
push eax
jmp 0x4b9753
push 0
push str.TEMP
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
test eax, eax
jne 0x4b9785
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SetEnvironmentVariable_failed_for_TEMP___d_
push dword [0x7cd3b0]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.004c1270
add esp, 0x18
cmp dword [ebp - 0x220], 0
mov eax, dword [ebp - 0x210]
mov dword [ebp - 0x230], eax
je 0x4b979d
push eax
jmp 0x4b979f
push 0
push 0x729288
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
test eax, eax
jne 0x4b97d1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SetEnvironmentVariable_failed_for_TMP___d_
push dword [0x7cd3b0]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.004c1270
add esp, 0x18
mov esi, dword [ebp - 0x214]
mov eax, dword [ebp - 0x1e8]
test eax, eax
je 0x4b97e8
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x1ec]
test eax, eax
je 0x4b97f9
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x1f0]
test eax, eax
je 0x4b980a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x1f4]
test eax, eax
je 0x4b981b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x228]
test eax, eax
je 0x4b982c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x204]
test eax, eax
je 0x4b983d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x200]
test eax, eax
je 0x4b984e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x254]
test eax, eax
je 0x4b9861
push eax
call fcn.00694690
add esp, 4
mov eax, dword [ebp - 0x230]
test eax, eax
je 0x4b9874
push eax
call fcn.00694690
add esp, 4
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x4b987e
mov eax, dword [esi]
push eax
push str.Sandbox_process_response:__s
push dword [0x7cd3b0]
push 4
push str.WinSandboxingUtilities
push 0
call fcn.004c1270
mov edx, dword [ebp - 0xfc]
add esp, 0x18
cmp edx, 8
jb 0x4b98db
mov ecx, dword [ebp - 0x110]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4b98d1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b9b29
push edx
push ecx
call fcn.00669b1d
add esp, 8
mov edx, dword [ebp - 0xa8]
cmp edx, 8
jb 0x4b991b
mov ecx, dword [ebp - 0xbc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4b9911
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b9b29
push edx
push ecx
call fcn.00669b1d
add esp, 8
mov edx, dword [ebp - 0xe4]
xor eax, eax
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 7
mov word [ebp - 0xbc], ax
cmp edx, 8
jb 0x4b9978
mov ecx, dword [ebp - 0xf8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4b996e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b9b29
push edx
push ecx
call fcn.00669b1d
add esp, 8
mov edx, dword [ebp - 0x90]
cmp edx, 8
jb 0x4b99b8
mov ecx, dword [ebp - 0xa4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4b99ae
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b9b29
push edx
push ecx
call fcn.00669b1d
add esp, 8
mov edx, dword [ebp - 0xcc]
xor eax, eax
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 7
mov word [ebp - 0xa4], ax
cmp edx, 8
jb 0x4b9a15
mov ecx, dword [ebp - 0xe0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4b9a0b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b9b29
push edx
push ecx
call fcn.00669b1d
add esp, 8
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x4b9a8e
lea ecx, [ebp - 0x6c]
push ecx
push dword [ebp - 0x68]
push eax
call fcn.004b77c0
mov ecx, dword [ebp - 0x64]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x6c]
add esp, 0xc
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x4b9a69
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b9b29
push ecx
push esi
call fcn.00669b1d
mov esi, dword [ebp - 0x214]
add esp, 8
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
test edi, edi
je 0x4b9ac1
mov ecx, dword [ebp - 0x234]
mov eax, edi
sub ecx, edi
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x4b9ab7
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b9b29
push ecx
push edi
call fcn.00669b1d
add esp, 8
lea ecx, [ebp - 0x78]
call fcn.004b7f80
lea ecx, [ebp - 0xc8]
call fcn.004b7f80
lea ecx, [ebp - 0x60]
call fcn.004b7f80
mov edx, dword [ebp + 0x20]
cmp edx, 0x10
jb 0x4b9b0c
mov ecx, dword [ebp + 0xc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4b9b02
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b9b29
push edx
push ecx
call fcn.00669b1d
add esp, 8
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.00669adc
mov esp, ebp
pop ebp
ret
call fcn.006892c4
int3