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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x69643b
mov eax, dword fs:[0]
push eax
sub esp, 0x298
mov eax, dword [0x7994f4]
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 [0x76e94c]
push 4
push str.WinSandboxingUtilities
push 0
call fcn.0049dca0
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.00607c70
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 0x4c0510
sub ecx, edx
sar ecx, 1
push ecx
push dword [ebp - 0x238]
lea ecx, [ebp - 0xe0]
call fcn.0048bd90
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.004c1670
mov eax, dword [ebp - 0x1e8]
add esp, 4
test eax, eax
jne 0x4c05eb
push str.Failed_to_get_effective_process_token
push dword [0x76e94c]
push 2
push str.WinSandboxingUtilities
push eax
call fcn.0049dca0
add esp, 0x14
jmp 0x4c1317
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 0x4c0630
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_DuplicateTokenEx_for_impersonation__Error_:__d
push dword [0x76e94c]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.0049dca0
add esp, 0x18
jmp 0x4c1317
push 0x1b
lea ecx, [ebp - 0x54]
call fcn.005690b0
mov ecx, dword [ebp - 0x5c]
cmp ecx, dword [ebp - 0x58]
je 0x4c066d
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 0x4c067a
lea eax, [ebp - 0x54]
push eax
push ecx
lea ecx, [ebp - 0x60]
call fcn.004bf9a0
push 1
lea ecx, [ebp - 0x54]
call fcn.005690b0
mov ecx, dword [ebp - 0x5c]
cmp ecx, dword [ebp - 0x58]
je 0x4c06b7
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 0x4c06c4
lea eax, [ebp - 0x54]
push eax
push ecx
lea ecx, [ebp - 0x60]
call fcn.004bf9a0
push 0xb
lea ecx, [ebp - 0x54]
call fcn.005690b0
mov ecx, dword [ebp - 0x5c]
cmp ecx, dword [ebp - 0x58]
je 0x4c0701
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 0x4c070e
lea eax, [ebp - 0x54]
push eax
push ecx
lea ecx, [ebp - 0x60]
call fcn.004bf9a0
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.004bfcd0
add esp, 0x10
mov esi, dword [ebp - 0x210]
mov byte [ebp - 4], 0xd
test esi, esi
jne 0x4c0772
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x208], esi
je 0x4c08a7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_AddAllSidsForDenyOnly__Error:__d
jmp 0x4c12fa
xor eax, eax
mov dword [ebp - 0x21c], eax
cmp dword [esi], eax
jbe 0x4c089a
lea edi, [esi + 4]
mov dword [ebp - 0x208], edi
nop dword [eax + eax]
test dword [edi + 4], 0xc0000020
jne 0x4c0880
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 0x4c081c
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.0047bb50
push eax
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x4c0863
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 0x4c07d0
mov edi, dword [ebp - 0x208]
mov al, byte [ebp - 0x209]
test al, al
jne 0x4c087a
push dword [edi]
lea ecx, [ebp - 0x54]
call fcn.00569080
mov ecx, dword [ebp - 0x74]
cmp ecx, dword [ebp - 0x70]
je 0x4c086d
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 0x4c087a
mov edi, dword [ebp - 0x208]
mov al, 1
jmp 0x4c0822
lea eax, [ebp - 0x54]
push eax
push ecx
lea ecx, [ebp - 0x78]
call fcn.004bf9a0
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 0x4c0790
xor edi, edi
push esi
mov byte [ebp - 4], 0xc
call fcn.00605209
add esp, 4
push str.SeChangeNotifyPrivilege
lea ecx, [ebp - 0x250]
call fcn.0048b430
mov eax, dword [ebp - 0x68]
mov byte [ebp - 4], 0xe
cmp eax, dword [ebp - 0x64]
je 0x4c0904
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 0x4c0914
lea ecx, [ebp - 0x250]
push ecx
push eax
lea ecx, [ebp - 0x6c]
call fcn.004a6cc0
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 0xc
call fcn.0047abb0
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.004bfcd0
add esp, 0x10
mov esi, dword [ebp - 0x210]
mov byte [ebp - 4], 0xf
test esi, esi
jne 0x4c0987
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x208], esi
je 0x4c0ab6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_DeleteAllPrivileges__Error:__d
jmp 0x4c12fa
cmp dword [esi], 0
mov dword [ebp - 0x21c], 0
jbe 0x4c0aa9
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 0x4c0a37
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 0x4c09e5
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 0x4c0a05
mov eax, dword [edi]
cmp eax, dword [ebp - 0x80]
je 0x4c0a85
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 0x4c09d0
mov ecx, dword [ebp - 0x22c]
cmp ecx, dword [ebp - 0x234]
je 0x4c0a60
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 0x4c0a85
push edi
push ecx
lea ecx, [ebp - 0x8c]
call fcn.004bf840
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 0x4c09a0
mov edi, dword [ebp - 0x8c]
mov dword [ebp - 0x218], edi
push esi
mov byte [ebp - 4], 0xc
call fcn.00605209
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 0x4c0b67
xor ecx, ecx
mov edx, 8
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00605200
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 0x4c0b67
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.0047bb50
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 0x4c0b20
mov edi, dword [ebp - 0x218]
mov esi, dword [ebp - 0x22c]
sub esi, edi
sar esi, 3
test esi, esi
je 0x4c0bc4
xor ecx, ecx
mov eax, esi
mov edx, 0xc
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00605200
add esp, 4
mov dword [ebp - 0x218], eax
xor edx, edx
test esi, esi
je 0x4c0bc6
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 0x4c0ba0
mov eax, dword [ebp - 0x218]
jmp 0x4c0bc6
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 0x4c0c02
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_CreateRestrictedToken__Error:__d
jmp 0x4c12fa
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 0x4c0c35
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_DuplicateTokenEx_for_identification__Error:__d
jmp 0x4c12fa
push 0x2000
call fcn.0061e440
push 0x2000
mov dword [ebp - 0x218], eax
call fcn.0061e440
mov dword [ebp - 0x210], eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x230]
push eax
push str.TEMP
call fcn.004c0000
add esp, 0x14
test eax, eax
jne 0x4c0c97
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_changeEnvironVariable_TEMP__Error:__d
push dword [0x76e94c]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.0049dca0
add esp, 0x18
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x220]
push eax
push 0x6e2c88
call fcn.004c0000
add esp, 0xc
test eax, eax
jne 0x4c0cd9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_changeEnvironVariable_TMP__Error:__d
push dword [0x76e94c]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.0049dca0
add esp, 0x18
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0xf8]
push eax
call fcn.004c1cb0
mov eax, dword [ebp - 0x270]
add esp, 8
test eax, eax
jns 0x4c0d12
neg eax
push eax
lea eax, [ebp - 0x12]
push eax
call fcn.004bfbb0
lea ecx, [eax - 2]
mov eax, 0x2d
mov word [ecx], ax
jmp 0x4c0d1e
push eax
lea eax, [ebp - 0x12]
push eax
call fcn.004bfbb0
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 0x4c0d56
sub eax, ecx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x250]
call fcn.0048bd90
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x110]
call fcn.004829f0
lea ecx, [ebp - 0x250]
call fcn.0047abb0
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.00483b30
push 1
push 0x6db8fc
lea ecx, [ebp - 0x250]
call fcn.004a0cc0
cmp dword [ebp - 0xe4], 8
lea eax, [ebp - 0xf8]
push esi
cmovae eax, dword [ebp - 0xf8]
lea ecx, [ebp - 0x250]
push eax
call fcn.004a0cc0
push 0x6e2e44
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0049ed00
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.004a0cc0
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 0x6e0d74
lea eax, [ebp - 0x26c]
mov byte [ebp - 4], 0x12
push eax
lea eax, [ebp - 0x2a4]
push eax
call fcn.0049ed00
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.004a0cc0
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.004829f0
lea ecx, [ebp - 0x28c]
call fcn.0047abb0
lea ecx, [ebp - 0x2a4]
call fcn.0047abb0
lea ecx, [ebp - 0x26c]
call fcn.0047abb0
lea ecx, [ebp - 0x28]
call fcn.0047abb0
lea ecx, [ebp - 0x250]
mov dword [ebp - 0x224], 0x37
mov byte [ebp - 4], 0xc
call fcn.0047abb0
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 0x4c0fae
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_create_Sandbox_Process_as_user__Error:__d
push dword [0x76e94c]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.0049dca0
add esp, 0x18
jmp 0x4c1279
push 0x70
lea eax, [ebp - 0x198]
push 0
push eax
call fcn.00607c70
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 0x4c0ff0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_CreateJobObject__Error:__d
jmp 0x4c10b2
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 0x4c102b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_SetInformationJobObject_of_JobObjectExtendedLimitInformation__Error:__d
jmp 0x4c10b2
push 0x77de80
lea ecx, [ebp - 0x26c]
call fcn.0047f3d0
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.0048f660
add esp, 0x10
lea ecx, [ebp - 0x26c]
mov esi, eax
call fcn.0047aca0
test esi, esi
mov esi, dword [ebp - 0x228]
je 0x4c10ff
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 0x4c10ff
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_SetInformationJobObject_of_JobObjectBasicUIRestrictions__Error:__d
push dword [0x76e94c]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.0049dca0
add esp, 0x18
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_create_JobObject__Error:__d
push dword [0x76e94c]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.0049dca0
add esp, 0x18
push 0
push dword [ebp - 0x204]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x4c1279
push dword [ebp - 0x204]
push esi
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
jne 0x4c1146
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_AssignProcessToJobObject__Error:__d
push dword [0x76e94c]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.0049dca0
add esp, 0x18
push 0
push dword [ebp - 0x204]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x4c1279
push dword [ebp - 0x1ec]
lea eax, [ebp - 0x200]
push eax
call dword [sym.imp.ADVAPI32.dll_SetThreadToken]
test eax, eax
jne 0x4c1193
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_SetThreadToken__Error:__d
push dword [0x76e94c]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.0049dca0
add esp, 0x18
push 0
push dword [ebp - 0x204]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x4c1279
push dword [ebp - 0x200]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x4c11da
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_ResumeThread__Error:__d
push dword [0x76e94c]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.0049dca0
add esp, 0x18
push 0
push dword [ebp - 0x204]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x4c1279
push dword [ebp - 0x238]
lea eax, [ebp + 0xc]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.0047f3d0
lea eax, [ebp - 0x28]
push eax
call fcn.0048c000
mov esi, eax
add esp, 0x20
mov eax, dword [ebp - 0x214]
cmp eax, esi
je 0x4c1271
mov ecx, dword [eax + 0x14]
cmp ecx, 0x10
jb 0x4c123f
mov eax, dword [eax]
inc ecx
cmp ecx, 0x1000
jb 0x4c122f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c1669
mov eax, edx
push ecx
push eax
call fcn.006051f2
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.0047aca0
cmp dword [ebp - 0x230], 0
mov eax, dword [ebp - 0x218]
mov dword [ebp - 0x254], eax
je 0x4c1291
push eax
jmp 0x4c1293
push 0
push str.TEMP
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
test eax, eax
jne 0x4c12c5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SetEnvironmentVariable_failed_for_TEMP___d_
push dword [0x76e94c]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.0049dca0
add esp, 0x18
cmp dword [ebp - 0x220], 0
mov eax, dword [ebp - 0x210]
mov dword [ebp - 0x230], eax
je 0x4c12dd
push eax
jmp 0x4c12df
push 0
push 0x6e2c88
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
test eax, eax
jne 0x4c1311
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SetEnvironmentVariable_failed_for_TMP___d_
push dword [0x76e94c]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.0049dca0
add esp, 0x18
mov esi, dword [ebp - 0x214]
mov eax, dword [ebp - 0x1e8]
test eax, eax
je 0x4c1328
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x1ec]
test eax, eax
je 0x4c1339
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x1f0]
test eax, eax
je 0x4c134a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x1f4]
test eax, eax
je 0x4c135b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x228]
test eax, eax
je 0x4c136c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x204]
test eax, eax
je 0x4c137d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x200]
test eax, eax
je 0x4c138e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x254]
test eax, eax
je 0x4c13a1
push eax
call fcn.00619f90
add esp, 4
mov eax, dword [ebp - 0x230]
test eax, eax
je 0x4c13b4
push eax
call fcn.00619f90
add esp, 4
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x4c13be
mov eax, dword [esi]
push eax
push str.Sandbox_process_response:__s
push dword [0x76e94c]
push 4
push str.WinSandboxingUtilities
push 0
call fcn.0049dca0
mov edx, dword [ebp - 0xfc]
add esp, 0x18
cmp edx, 8
jb 0x4c141b
mov ecx, dword [ebp - 0x110]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4c1411
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c1669
push edx
push ecx
call fcn.006051f2
add esp, 8
mov edx, dword [ebp - 0xa8]
cmp edx, 8
jb 0x4c145b
mov ecx, dword [ebp - 0xbc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4c1451
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c1669
push edx
push ecx
call fcn.006051f2
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 0x4c14b8
mov ecx, dword [ebp - 0xf8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4c14ae
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c1669
push edx
push ecx
call fcn.006051f2
add esp, 8
mov edx, dword [ebp - 0x90]
cmp edx, 8
jb 0x4c14f8
mov ecx, dword [ebp - 0xa4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4c14ee
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c1669
push edx
push ecx
call fcn.006051f2
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 0x4c1555
mov ecx, dword [ebp - 0xe0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4c154b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c1669
push edx
push ecx
call fcn.006051f2
add esp, 8
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x4c15ce
lea ecx, [ebp - 0x6c]
push ecx
push dword [ebp - 0x68]
push eax
call fcn.0049ef90
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 0x4c15a9
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c1669
push ecx
push esi
call fcn.006051f2
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 0x4c1601
mov ecx, dword [ebp - 0x234]
mov eax, edi
sub ecx, edi
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x4c15f7
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c1669
push ecx
push edi
call fcn.006051f2
add esp, 8
lea ecx, [ebp - 0x78]
call fcn.004bfc60
lea ecx, [ebp - 0xc8]
call fcn.004bfc60
lea ecx, [ebp - 0x60]
call fcn.004bfc60
mov edx, dword [ebp + 0x20]
cmp edx, 0x10
jb 0x4c164c
mov ecx, dword [ebp + 0xc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4c1642
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c1669
push edx
push ecx
call fcn.006051f2
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.0060565a
mov esp, ebp
pop ebp
ret
call fcn.00611192
int3