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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6d2f2b
mov eax, dword fs:[0]
push eax
sub esp, 0x298
mov eax, dword [0x806f14]
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 [0x7d13b0]
push 4
push str.WinSandboxingUtilities
push 0
call fcn.004c2f40
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.00682620
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 0x4ba6b0
sub ecx, edx
sar ecx, 1
push ecx
push dword [ebp - 0x238]
lea ecx, [ebp - 0xe0]
call fcn.0049f660
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.004bb810
mov eax, dword [ebp - 0x1e8]
add esp, 4
test eax, eax
jne 0x4ba78b
push str.Failed_to_get_effective_process_token
push dword [0x7d13b0]
push 2
push str.WinSandboxingUtilities
push eax
call fcn.004c2f40
add esp, 0x14
jmp 0x4bb4b7
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 0x4ba7d0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_DuplicateTokenEx_for_impersonation__Error_:__d
push dword [0x7d13b0]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.004c2f40
add esp, 0x18
jmp 0x4bb4b7
push 0x1b
lea ecx, [ebp - 0x54]
call fcn.0064be10
mov ecx, dword [ebp - 0x5c]
cmp ecx, dword [ebp - 0x58]
je 0x4ba80d
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 0x4ba81a
lea eax, [ebp - 0x54]
push eax
push ecx
lea ecx, [ebp - 0x60]
call fcn.004b9850
push 1
lea ecx, [ebp - 0x54]
call fcn.0064be10
mov ecx, dword [ebp - 0x5c]
cmp ecx, dword [ebp - 0x58]
je 0x4ba857
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 0x4ba864
lea eax, [ebp - 0x54]
push eax
push ecx
lea ecx, [ebp - 0x60]
call fcn.004b9850
push 0xb
lea ecx, [ebp - 0x54]
call fcn.0064be10
mov ecx, dword [ebp - 0x5c]
cmp ecx, dword [ebp - 0x58]
je 0x4ba8a1
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 0x4ba8ae
lea eax, [ebp - 0x54]
push eax
push ecx
lea ecx, [ebp - 0x60]
call fcn.004b9850
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.004b9d10
add esp, 0x10
mov esi, dword [ebp - 0x210]
mov byte [ebp - 4], 0xd
test esi, esi
jne 0x4ba912
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x208], esi
je 0x4baa47
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_AddAllSidsForDenyOnly__Error:__d
jmp 0x4bb49a
xor eax, eax
mov dword [ebp - 0x21c], eax
cmp dword [esi], eax
jbe 0x4baa3a
lea edi, [esi + 4]
mov dword [ebp - 0x208], edi
nop dword [eax + eax]
test dword [edi + 4], 0xc0000020
jne 0x4baa20
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 0x4ba9bc
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.00489ff0
push eax
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x4baa03
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 0x4ba970
mov edi, dword [ebp - 0x208]
mov al, byte [ebp - 0x209]
test al, al
jne 0x4baa1a
push dword [edi]
lea ecx, [ebp - 0x54]
call fcn.0064bde0
mov ecx, dword [ebp - 0x74]
cmp ecx, dword [ebp - 0x70]
je 0x4baa0d
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 0x4baa1a
mov edi, dword [ebp - 0x208]
mov al, 1
jmp 0x4ba9c2
lea eax, [ebp - 0x54]
push eax
push ecx
lea ecx, [ebp - 0x78]
call fcn.004b9850
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 0x4ba930
xor edi, edi
push esi
mov byte [ebp - 4], 0xc
call fcn.0066c507
add esp, 4
push str.SeChangeNotifyPrivilege
lea ecx, [ebp - 0x250]
call fcn.004b9b10
mov eax, dword [ebp - 0x68]
mov byte [ebp - 4], 0xe
cmp eax, dword [ebp - 0x64]
je 0x4baaa4
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 0x4baab4
lea ecx, [ebp - 0x250]
push ecx
push eax
lea ecx, [ebp - 0x6c]
call fcn.004b9670
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 0xc
call fcn.00489050
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.004b9d10
add esp, 0x10
mov esi, dword [ebp - 0x210]
mov byte [ebp - 4], 0xf
test esi, esi
jne 0x4bab27
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x208], esi
je 0x4bac56
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_DeleteAllPrivileges__Error:__d
jmp 0x4bb49a
cmp dword [esi], 0
mov dword [ebp - 0x21c], 0
jbe 0x4bac49
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 0x4babd7
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 0x4bab85
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 0x4baba5
mov eax, dword [edi]
cmp eax, dword [ebp - 0x80]
je 0x4bac25
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 0x4bab70
mov ecx, dword [ebp - 0x22c]
cmp ecx, dword [ebp - 0x234]
je 0x4bac00
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 0x4bac25
push edi
push ecx
lea ecx, [ebp - 0x8c]
call fcn.004b9510
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 0x4bab40
mov edi, dword [ebp - 0x8c]
mov dword [ebp - 0x218], edi
push esi
mov byte [ebp - 4], 0xc
call fcn.0066c507
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 0x4bad07
xor ecx, ecx
mov edx, 8
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0066c4fe
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 0x4bad07
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.00489ff0
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 0x4bacc0
mov edi, dword [ebp - 0x218]
mov esi, dword [ebp - 0x22c]
sub esi, edi
sar esi, 3
test esi, esi
je 0x4bad64
xor ecx, ecx
mov eax, esi
mov edx, 0xc
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0066c4fe
add esp, 4
mov dword [ebp - 0x218], eax
xor edx, edx
test esi, esi
je 0x4bad66
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 0x4bad40
mov eax, dword [ebp - 0x218]
jmp 0x4bad66
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 0x4bada2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_CreateRestrictedToken__Error:__d
jmp 0x4bb49a
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 0x4badd5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_DuplicateTokenEx_for_identification__Error:__d
jmp 0x4bb49a
push 0x2000
call fcn.00697980
push 0x2000
mov dword [ebp - 0x218], eax
call fcn.00697980
mov dword [ebp - 0x210], eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x230]
push eax
push str.TEMP
call fcn.004ba1a0
add esp, 0x14
test eax, eax
jne 0x4bae37
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_changeEnvironVariable_TEMP__Error:__d
push dword [0x7d13b0]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.004c2f40
add esp, 0x18
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x220]
push eax
push 0x72d4c8
call fcn.004ba1a0
add esp, 0xc
test eax, eax
jne 0x4bae79
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_changeEnvironVariable_TMP__Error:__d
push dword [0x7d13b0]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.004c2f40
add esp, 0x18
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0xf8]
push eax
call fcn.004bbe50
mov eax, dword [ebp - 0x270]
add esp, 8
test eax, eax
jns 0x4baeb2
neg eax
push eax
lea eax, [ebp - 0x12]
push eax
call fcn.004b9a60
lea ecx, [eax - 2]
mov eax, 0x2d
mov word [ecx], ax
jmp 0x4baebe
push eax
lea eax, [ebp - 0x12]
push eax
call fcn.004b9a60
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 0x4baef6
sub eax, ecx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x250]
call fcn.0049f660
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x110]
call fcn.00490e90
lea ecx, [ebp - 0x250]
call fcn.00489050
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.00491fd0
push 1
push 0x729410
lea ecx, [ebp - 0x250]
call fcn.004ab800
cmp dword [ebp - 0xe4], 8
lea eax, [ebp - 0xf8]
push esi
cmovae eax, dword [ebp - 0xf8]
lea ecx, [ebp - 0x250]
push eax
call fcn.004ab800
push 0x72d688
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004acd20
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.004ab800
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 0x72d684
lea eax, [ebp - 0x26c]
mov byte [ebp - 4], 0x12
push eax
lea eax, [ebp - 0x2a4]
push eax
call fcn.004acd20
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.004ab800
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.00490e90
lea ecx, [ebp - 0x28c]
call fcn.00489050
lea ecx, [ebp - 0x2a4]
call fcn.00489050
lea ecx, [ebp - 0x26c]
call fcn.00489050
lea ecx, [ebp - 0x28]
call fcn.00489050
lea ecx, [ebp - 0x250]
mov dword [ebp - 0x224], 0x37
mov byte [ebp - 4], 0xc
call fcn.00489050
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 0x4bb14e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_create_Sandbox_Process_as_user__Error:__d
push dword [0x7d13b0]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.004c2f40
add esp, 0x18
jmp 0x4bb419
push 0x70
lea eax, [ebp - 0x198]
push 0
push eax
call fcn.00682620
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 0x4bb190
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_CreateJobObject__Error:__d
jmp 0x4bb252
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 0x4bb1cb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_SetInformationJobObject_of_JobObjectExtendedLimitInformation__Error:__d
jmp 0x4bb252
push 0x7cc208
lea ecx, [ebp - 0x26c]
call fcn.0048d880
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.0049e980
add esp, 0x10
lea ecx, [ebp - 0x26c]
mov esi, eax
call fcn.00489140
test esi, esi
mov esi, dword [ebp - 0x228]
je 0x4bb29f
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 0x4bb29f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_SetInformationJobObject_of_JobObjectBasicUIRestrictions__Error:__d
push dword [0x7d13b0]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.004c2f40
add esp, 0x18
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_create_JobObject__Error:__d
push dword [0x7d13b0]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.004c2f40
add esp, 0x18
push 0
push dword [ebp - 0x204]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x4bb419
push dword [ebp - 0x204]
push esi
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
jne 0x4bb2e6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_AssignProcessToJobObject__Error:__d
push dword [0x7d13b0]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.004c2f40
add esp, 0x18
push 0
push dword [ebp - 0x204]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x4bb419
push dword [ebp - 0x1ec]
lea eax, [ebp - 0x200]
push eax
call dword [sym.imp.ADVAPI32.dll_SetThreadToken]
test eax, eax
jne 0x4bb333
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_SetThreadToken__Error:__d
push dword [0x7d13b0]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.004c2f40
add esp, 0x18
push 0
push dword [ebp - 0x204]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x4bb419
push dword [ebp - 0x200]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x4bb37a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_ResumeThread__Error:__d
push dword [0x7d13b0]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.004c2f40
add esp, 0x18
push 0
push dword [ebp - 0x204]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x4bb419
push dword [ebp - 0x238]
lea eax, [ebp + 0xc]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.0048d880
lea eax, [ebp - 0x28]
push eax
call fcn.006445f0
mov esi, eax
add esp, 0x20
mov eax, dword [ebp - 0x214]
cmp eax, esi
je 0x4bb411
mov ecx, dword [eax + 0x14]
cmp ecx, 0x10
jb 0x4bb3df
mov eax, dword [eax]
inc ecx
cmp ecx, 0x1000
jb 0x4bb3cf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4bb809
mov eax, edx
push ecx
push eax
call fcn.0066c54d
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.00489140
cmp dword [ebp - 0x230], 0
mov eax, dword [ebp - 0x218]
mov dword [ebp - 0x254], eax
je 0x4bb431
push eax
jmp 0x4bb433
push 0
push str.TEMP
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
test eax, eax
jne 0x4bb465
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SetEnvironmentVariable_failed_for_TEMP___d_
push dword [0x7d13b0]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.004c2f40
add esp, 0x18
cmp dword [ebp - 0x220], 0
mov eax, dword [ebp - 0x210]
mov dword [ebp - 0x230], eax
je 0x4bb47d
push eax
jmp 0x4bb47f
push 0
push 0x72d4c8
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
test eax, eax
jne 0x4bb4b1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SetEnvironmentVariable_failed_for_TMP___d_
push dword [0x7d13b0]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.004c2f40
add esp, 0x18
mov esi, dword [ebp - 0x214]
mov eax, dword [ebp - 0x1e8]
test eax, eax
je 0x4bb4c8
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x1ec]
test eax, eax
je 0x4bb4d9
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x1f0]
test eax, eax
je 0x4bb4ea
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x1f4]
test eax, eax
je 0x4bb4fb
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x228]
test eax, eax
je 0x4bb50c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x204]
test eax, eax
je 0x4bb51d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x200]
test eax, eax
je 0x4bb52e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x254]
test eax, eax
je 0x4bb541
push eax
call fcn.006970b0
add esp, 4
mov eax, dword [ebp - 0x230]
test eax, eax
je 0x4bb554
push eax
call fcn.006970b0
add esp, 4
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x4bb55e
mov eax, dword [esi]
push eax
push str.Sandbox_process_response:__s
push dword [0x7d13b0]
push 4
push str.WinSandboxingUtilities
push 0
call fcn.004c2f40
mov edx, dword [ebp - 0xfc]
add esp, 0x18
cmp edx, 8
jb 0x4bb5bb
mov ecx, dword [ebp - 0x110]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4bb5b1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4bb809
push edx
push ecx
call fcn.0066c54d
add esp, 8
mov edx, dword [ebp - 0xa8]
cmp edx, 8
jb 0x4bb5fb
mov ecx, dword [ebp - 0xbc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4bb5f1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4bb809
push edx
push ecx
call fcn.0066c54d
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 0x4bb658
mov ecx, dword [ebp - 0xf8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4bb64e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4bb809
push edx
push ecx
call fcn.0066c54d
add esp, 8
mov edx, dword [ebp - 0x90]
cmp edx, 8
jb 0x4bb698
mov ecx, dword [ebp - 0xa4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4bb68e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4bb809
push edx
push ecx
call fcn.0066c54d
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 0x4bb6f5
mov ecx, dword [ebp - 0xe0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4bb6eb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4bb809
push edx
push ecx
call fcn.0066c54d
add esp, 8
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x4bb76e
lea ecx, [ebp - 0x6c]
push ecx
push dword [ebp - 0x68]
push eax
call fcn.004b94a0
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 0x4bb749
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4bb809
push ecx
push esi
call fcn.0066c54d
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 0x4bb7a1
mov ecx, dword [ebp - 0x234]
mov eax, edi
sub ecx, edi
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x4bb797
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4bb809
push ecx
push edi
call fcn.0066c54d
add esp, 8
lea ecx, [ebp - 0x78]
call fcn.004b9c60
lea ecx, [ebp - 0xc8]
call fcn.004b9c60
lea ecx, [ebp - 0x60]
call fcn.004b9c60
mov edx, dword [ebp + 0x20]
cmp edx, 0x10
jb 0x4bb7ec
mov ecx, dword [ebp + 0xc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4bb7e2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4bb809
push edx
push ecx
call fcn.0066c54d
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.0066c50c
mov esp, ebp
pop ebp
ret
call fcn.0068bce4
int3