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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6c15fb
mov eax, dword fs:[0]
push eax
sub esp, 0x2b0
mov eax, dword [0x7ef784]
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 - 0x21c], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x268], esi
mov dword [ebp - 0x204], esi
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x1e4], 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 [0x7c0568]
push 4
push str.WinSandboxingUtilities
push 0
call fcn.00562650
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
xor edi, edi
mov dword [ebp - 0x1e4], 1
xor eax, eax
mov dword [ebp - 0x1dc], 0
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x210], 0
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x1d4], edi
mov dword [ebp - 0x1f8], edi
mov dword [ebp - 0x1f4], edi
mov dword [ebp - 0x1e8], eax
mov dword [ebp - 0x1f0], eax
mov dword [ebp - 0x274], eax
mov dword [ebp - 0x270], eax
mov dword [ebp - 0x26c], eax
mov dword [ebp - 0x1d8], eax
mov dword [ebp - 0x258], eax
mov dword [ebp - 0x1fc], eax
mov dword [ebp - 0x254], eax
mov dword [ebp - 0x208], eax
mov dword [ebp - 0x250], eax
xor esi, esi
mov dword [ebp - 0x1e0], edi
mov dword [ebp - 0x1c8], esi
mov dword [ebp - 0x264], esi
mov dword [ebp - 0x260], edi
mov dword [ebp - 0x20c], eax
mov dword [ebp - 0x25c], eax
mov dword [ebp - 0x228], esi
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x220], esi
push 0x44
lea eax, [ebp - 0x2b8]
mov byte [ebp - 4], 6
push esi
push eax
mov dword [ebp - 0x1d0], esi
mov dword [ebp - 0x238], esi
mov dword [ebp - 0x200], esi
call fcn.0064ed10
mov ecx, dword [ebp - 0x21c]
add esp, 0x24
xorps xmm0, xmm0
mov dword [ebp - 0x2bc], 0x48
xor eax, eax
mov dword [ebp - 0xbc], esi
movups xmmword [ebp - 0x24c], xmm0
mov dword [ebp - 0xb8], 7
lea edx, [ecx + 2]
mov word [ebp - 0xcc], ax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4bff50
sub ecx, edx
sar ecx, 1
push ecx
push dword [ebp - 0x21c]
lea ecx, [ebp - 0xcc]
call fcn.0049de00
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0xf
mov byte [ebp - 0x12c], 0
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xd0], 7
mov word [ebp - 0xe4], ax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 0x104], eax
mov dword [ebp - 0x100], 7
mov word [ebp - 0x114], ax
lea eax, [ebp - 0x1dc]
mov byte [ebp - 4], 0xc
push eax
call fcn.004c1220
mov eax, dword [ebp - 0x1dc]
add esp, 4
test eax, eax
jne 0x4c001b
push str.Failed_to_get_effective_process_token
push dword [0x7c0568]
push 2
push str.WinSandboxingUtilities
push eax
call fcn.00562650
add esp, 0x14
xor edi, edi
jmp 0x4c0e5e
lea ecx, [ebp - 0x218]
push ecx
push 2
push 2
push 0
push 0xf01ff
push eax
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
jne 0x4c0062
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_DuplicateTokenEx_for_impersonation__Error_:__d
push dword [0x7c0568]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.00562650
add esp, 0x18
xor edi, edi
jmp 0x4c0e5e
push 0x1b
lea ecx, [ebp - 0xb4]
call fcn.0056c1a0
lea eax, [ebp - 0xb4]
push eax
push 0
lea ecx, [ebp - 0x1f8]
call fcn.004bf030
push 1
lea ecx, [ebp - 0xb4]
call fcn.0056c1a0
mov eax, dword [ebp - 0x1f0]
mov esi, dword [ebp - 0x1f4]
mov dword [ebp - 0x1e8], eax
cmp esi, eax
je 0x4c00e2
movups xmm0, xmmword [ebp - 0xb4]
movups xmmword [esi], xmm0
movups xmm0, xmmword [ebp - 0xa4]
movups xmmword [esi + 0x10], xmm0
movups xmm0, xmmword [ebp - 0x94]
movups xmmword [esi + 0x20], xmm0
movups xmm0, xmmword [ebp - 0x84]
movups xmmword [esi + 0x30], xmm0
mov eax, dword [ebp - 0x74]
mov dword [esi + 0x40], eax
add esi, 0x44
mov dword [ebp - 0x1f4], esi
jmp 0x4c0107
lea eax, [ebp - 0xb4]
push eax
push esi
lea ecx, [ebp - 0x1f8]
call fcn.004bf030
mov eax, dword [ebp - 0x1f0]
mov esi, dword [ebp - 0x1f4]
mov dword [ebp - 0x1e8], eax
push 0xb
lea ecx, [ebp - 0xb4]
call fcn.0056c1a0
cmp esi, dword [ebp - 0x1e8]
je 0x4c0158
movups xmm0, xmmword [ebp - 0xb4]
movups xmmword [esi], xmm0
movups xmm0, xmmword [ebp - 0xa4]
movups xmmword [esi + 0x10], xmm0
movups xmm0, xmmword [ebp - 0x94]
movups xmmword [esi + 0x20], xmm0
movups xmm0, xmmword [ebp - 0x84]
movups xmmword [esi + 0x30], xmm0
mov eax, dword [ebp - 0x74]
mov dword [esi + 0x40], eax
add esi, 0x44
mov dword [ebp - 0x1f4], esi
jmp 0x4c0177
lea eax, [ebp - 0xb4]
push eax
push esi
lea ecx, [ebp - 0x1f8]
call fcn.004bf030
mov eax, dword [ebp - 0x1f0]
mov dword [ebp - 0x1e8], eax
mov eax, dword [ebp - 0x1dc]
mov dword [ebp - 0x1c0], eax
lea eax, [ebp - 0x1bc]
push eax
push 2
lea eax, [ebp - 0x1c0]
push eax
lea eax, [ebp - 0x1cc]
push eax
call fcn.004bf440
add esp, 0x10
mov esi, dword [ebp - 0x1cc]
mov edx, dword [ebp - 0x1f8]
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x1d4], edx
test esi, esi
jne 0x4c0205
cmp dword [ebp - 0x1bc], 0
mov byte [ebp - 4], 0xc
je 0x4c0380
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_AddAllSidsForDenyOnly__Error:__d
push dword [0x7c0568]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.00562650
mov edi, dword [ebp - 0x1f8]
add esp, 0x18
mov dword [ebp - 0x1d4], edi
xor esi, esi
xor edi, edi
jmp 0x4c0e5e
xor eax, eax
mov dword [ebp - 0x1bc], eax
cmp dword [esi], eax
jbe 0x4c0373
lea edi, [esi + 4]
mov dword [ebp - 0x1b8], edi
nop
test dword [edi + 4], 0xc0000020
jne 0x4c034d
mov ecx, dword [ebp - 0x1f4]
mov eax, 0x78787879
sub ecx, edx
mov byte [ebp - 0x1c1], 0
imul ecx
mov dword [ebp - 0x1d8], 0
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x1c0], eax
je 0x4c02a1
mov edi, dword [ebp - 0x1d4]
mov eax, dword [ebp - 0x1b8]
mov ecx, edi
push dword [eax]
call fcn.004887e0
push eax
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x4c030c
mov eax, dword [ebp - 0x1d8]
add edi, 0x44
inc eax
mov dword [ebp - 0x1d8], eax
cmp eax, dword [ebp - 0x1c0]
jb 0x4c0265
mov edi, dword [ebp - 0x1b8]
mov al, byte [ebp - 0x1c1]
test al, al
jne 0x4c0341
push dword [edi]
lea ecx, [ebp - 0xb4]
call fcn.0056c170
mov ecx, dword [ebp - 0x1fc]
cmp ecx, dword [ebp - 0x208]
je 0x4c0316
movups xmm0, xmmword [ebp - 0xb4]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [ebp - 0xa4]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [ebp - 0x94]
movups xmmword [ecx + 0x20], xmm0
movups xmm0, xmmword [ebp - 0x84]
movups xmmword [ecx + 0x30], xmm0
mov eax, dword [ebp - 0x74]
mov dword [ecx + 0x40], eax
add ecx, 0x44
mov dword [ebp - 0x1fc], ecx
mov dword [ebp - 0x254], ecx
jmp 0x4c0341
mov edi, dword [ebp - 0x1b8]
mov al, 1
jmp 0x4c02a7
lea eax, [ebp - 0xb4]
push eax
push ecx
lea ecx, [ebp - 0x258]
call fcn.004bf030
mov eax, dword [ebp - 0x250]
mov dword [ebp - 0x208], eax
mov eax, dword [ebp - 0x254]
mov dword [ebp - 0x1fc], eax
mov eax, dword [ebp - 0x1bc]
mov edx, dword [ebp - 0x1d4]
inc eax
add edi, 8
mov dword [ebp - 0x1bc], eax
mov dword [ebp - 0x1b8], edi
cmp eax, dword [esi]
jb 0x4c0220
mov eax, dword [ebp - 0x258]
xor edi, edi
mov dword [ebp - 0x1d8], eax
push esi
mov byte [ebp - 4], 0xc
call fcn.006391b2
add esp, 4
push str.SeChangeNotifyPrivilege
lea ecx, [ebp - 0x28]
call fcn.0049d640
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xe
push eax
push 0
lea ecx, [ebp - 0x228]
call fcn.004bee60
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 0xc
cmp edx, 8
jb 0x4c03e0
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4c03d6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c1218
push edx
push ecx
call fcn.006391f8
add esp, 8
mov eax, dword [ebp - 0x1dc]
mov dword [ebp - 0x1c0], eax
lea eax, [ebp - 0x1cc]
push eax
push 3
lea eax, [ebp - 0x1c0]
push eax
lea eax, [ebp - 0x1ec]
push eax
call fcn.004bf440
add esp, 0x10
mov esi, dword [ebp - 0x1ec]
mov eax, dword [ebp - 0x228]
mov byte [ebp - 4], 0xf
mov dword [ebp - 0x1bc], eax
test esi, esi
jne 0x4c0466
cmp dword [ebp - 0x1cc], 0
mov byte [ebp - 4], 0xc
je 0x4c05b1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_DeleteAllPrivileges__Error:__d
push dword [0x7c0568]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.00562650
mov edi, dword [ebp - 0x228]
add esp, 0x18
xor esi, esi
jmp 0x4c0e5e
cmp dword [esi], 0
mov dword [ebp - 0x1cc], 0
jbe 0x4c05a4
mov ecx, dword [ebp - 0x224]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
lea ecx, [esi + 4]
sar edx, 2
mov eax, edx
mov dword [ebp - 0x1b8], ecx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x1c0], eax
mov dword [ebp - 0x1c8], 0
test eax, eax
je 0x4c051e
mov edi, dword [ebp - 0x1bc]
nop word [eax + eax]
xorps xmm0, xmm0
mov eax, edi
movlpd qword [ebp - 0x234], xmm0
cmp dword [edi + 0x14], 8
jb 0x4c04d5
mov eax, dword [edi]
lea ecx, [ebp - 0x234]
push ecx
push eax
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov ecx, dword [ebp - 0x1b8]
mov eax, dword [ecx + 4]
cmp eax, dword [ebp - 0x230]
jne 0x4c0500
mov eax, dword [ecx]
cmp eax, dword [ebp - 0x234]
je 0x4c056e
mov edx, dword [ebp - 0x1c8]
add edi, 0x18
inc edx
mov dword [ebp - 0x1c8], edx
cmp edx, dword [ebp - 0x1c0]
jb 0x4c04c0
mov edi, dword [ebp - 0x1e0]
cmp edi, dword [ebp - 0x20c]
je 0x4c0541
mov eax, dword [ecx]
mov dword [edi], eax
mov eax, dword [ecx + 4]
mov dword [edi + 4], eax
add edi, 8
mov dword [ebp - 0x1e0], edi
mov dword [ebp - 0x260], edi
jmp 0x4c0574
push ecx
push edi
lea ecx, [ebp - 0x264]
call fcn.004bed00
mov eax, dword [ebp - 0x25c]
mov edi, dword [ebp - 0x260]
mov ecx, dword [ebp - 0x1b8]
mov dword [ebp - 0x20c], eax
mov dword [ebp - 0x1e0], edi
jmp 0x4c0574
mov edi, dword [ebp - 0x1e0]
mov eax, dword [ebp - 0x1cc]
add ecx, 0xc
inc eax
mov dword [ebp - 0x1b8], ecx
cmp eax, dword [esi]
mov dword [ebp - 0x1cc], eax
mov eax, dword [ebp - 0x1c0]
jb 0x4c04a1
mov eax, dword [ebp - 0x264]
mov dword [ebp - 0x1c8], eax
push esi
mov byte [ebp - 4], 0xc
call fcn.006391b2
add esp, 4
mov ecx, dword [ebp - 0x1fc]
mov eax, 0x78787879
sub ecx, dword [ebp - 0x1d8]
imul ecx
sar edx, 5
mov esi, edx
shr esi, 0x1f
add esi, edx
mov dword [ebp - 0x1b8], esi
je 0x4c0646
xor ecx, ecx
mov eax, esi
mov edx, 8
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.006391a9
xor esi, esi
mov dword [ebp - 0x1d0], eax
add esp, 4
cmp dword [ebp - 0x1b8], esi
jbe 0x4c0640
mov edi, dword [ebp - 0x1d8]
jmp 0x4c0616
mov eax, dword [ebp - 0x1d0]
mov ecx, edi
mov dword [eax + esi*8 + 4], 0x10
call fcn.004887e0
mov ecx, dword [ebp - 0x1d0]
add edi, 0x44
mov dword [ecx + esi*8], eax
inc esi
cmp esi, dword [ebp - 0x1b8]
jb 0x4c0610
mov edi, dword [ebp - 0x1e0]
mov esi, dword [ebp - 0x1b8]
sub edi, dword [ebp - 0x1c8]
sar edi, 3
test edi, edi
je 0x4c06ac
xor ecx, ecx
mov eax, edi
mov edx, 0xc
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.006391a9
add esp, 4
mov dword [ebp - 0x1ec], eax
xor edx, edx
test edi, edi
je 0x4c06ae
mov esi, dword [ebp - 0x1c8]
mov ecx, eax
mov dword [ecx + 8], 0
lea ecx, [ecx + 0xc]
mov eax, dword [esi + edx*8]
mov dword [ecx - 0xc], eax
mov eax, dword [esi + edx*8 + 4]
inc edx
mov dword [ecx - 8], eax
cmp edx, edi
jb 0x4c0682
mov esi, dword [ebp - 0x1b8]
mov eax, dword [ebp - 0x1ec]
jmp 0x4c06ae
xor eax, eax
lea ecx, [ebp - 0x214]
push ecx
push 0
push 0
push eax
push edi
push dword [ebp - 0x1d0]
push esi
push 0
push dword [ebp - 0x1dc]
call dword [sym.imp.ADVAPI32.dll_CreateRestrictedToken]
test eax, eax
jne 0x4c06e5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_CreateRestrictedToken__Error:__d
jmp 0x4c0e3b
lea eax, [ebp - 0x210]
push eax
push 1
push 1
push 0
push 0xf01ff
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
jne 0x4c0718
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_DuplicateTokenEx_for_identification__Error:__d
jmp 0x4c0e3b
push 0x2000
call fcn.00664d80
push 0x2000
mov dword [ebp - 0x1c0], eax
call fcn.00664d80
mov dword [ebp - 0x1cc], eax
lea eax, [ebp - 0x1c0]
push eax
lea eax, [ebp - 0x1ec]
push eax
push str.TEMP
call fcn.004bf760
add esp, 0x14
test eax, eax
jne 0x4c077a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_changeEnvironVariable_TEMP__Error:__d
push dword [0x7c0568]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.00562650
add esp, 0x18
lea eax, [ebp - 0x1cc]
push eax
lea eax, [ebp - 0x200]
push eax
push 0x719680
call fcn.004bf760
add esp, 0xc
test eax, eax
jne 0x4c07bc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_changeEnvironVariable_TMP__Error:__d
push dword [0x7c0568]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.00562650
add esp, 0x18
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0xe4]
push eax
call fcn.004c1860
mov eax, dword [ebp - 0x22c]
add esp, 8
test eax, eax
jns 0x4c07f2
neg eax
push eax
lea eax, [ebp - 0x72]
push eax
call fcn.004bf230
lea ecx, [eax - 2]
mov eax, 0x2d
mov word [ecx], ax
jmp 0x4c07fe
push eax
lea eax, [ebp - 0x72]
push eax
call fcn.004bf230
mov ecx, eax
xor eax, eax
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
xor edi, edi
lea eax, [ebp - 0x72]
mov dword [ebp - 0x60], edi
add esp, 8
cmp ecx, eax
je 0x4c082b
sub eax, ecx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x70]
call fcn.0049de00
mov edi, dword [ebp - 0x60]
movups xmm0, xmmword [ebp - 0x70]
movups xmmword [ebp - 0x114], xmm0
movq xmm0, qword [ebp - 0x60]
movq qword [ebp - 0x104], xmm0
mov esi, dword [ebp - 0xd4]
lea ecx, [ebp - 0x28]
xor eax, eax
mov byte [ebp - 4], 0x10
mov word [ebp - 0x28], ax
mov dword [ebp - 0x18], 0
lea eax, [esi + 1]
mov dword [ebp - 0x14], 7
push eax
mov dword [ebp - 0x1e4], 0xf
call fcn.004907a0
push 1
push 0x714d70
lea ecx, [ebp - 0x28]
call fcn.004a21c0
cmp dword [ebp - 0xd0], 8
lea eax, [ebp - 0xe4]
push esi
cmovae eax, dword [ebp - 0xe4]
lea ecx, [ebp - 0x28]
push eax
call fcn.004a21c0
push 0x71983c
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.004a04f0
add esp, 0xc
mov ecx, eax
cmp dword [ebp - 0xb8], 8
lea eax, [ebp - 0xcc]
push dword [ebp - 0xbc]
cmovae eax, dword [ebp - 0xcc]
push eax
mov byte [ebp - 4], 0x11
call fcn.004a21c0
mov dword [ebp - 0xec], 0
xor ecx, ecx
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0x1e4], 0x1f
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xfc], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xec], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push 0x716d00
lea eax, [ebp - 0xfc]
mov byte [ebp - 4], 0x12
push eax
lea eax, [ebp - 0x144]
push eax
call fcn.004a04f0
add esp, 0xc
mov edx, eax
cmp dword [ebp - 0x5c], 8
lea ecx, [ebp - 0x114]
push edi
cmovae ecx, dword [ebp - 0x70]
push ecx
mov ecx, edx
mov byte [ebp - 4], 0x13
call fcn.004a21c0
xor ecx, ecx
movups xmm0, xmmword [eax]
movq xmm1, qword [eax + 0x10]
movups xmmword [ebp - 0x68], xmm0
mov dword [eax + 0x10], 0
movq qword [ebp - 0x234], xmm1
mov dword [eax + 0x14], 7
mov word [eax], cx
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x4c09d3
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4c09bd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c1213
push edx
push ecx
call fcn.006391f8
movups xmm0, xmmword [ebp - 0x68]
add esp, 8
movq xmm1, qword [ebp - 0x234]
lea ecx, [ebp - 0x144]
movq qword [ebp - 0x30], xmm1
movups xmmword [ebp - 0x40], xmm0
call fcn.004878f0
mov edx, dword [ebp - 0xe8]
mov byte [ebp - 4], 0x11
cmp edx, 8
jb 0x4c0a2b
mov ecx, dword [ebp - 0xfc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4c0a21
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c1213
push edx
push ecx
call fcn.006391f8
add esp, 8
xor eax, eax
mov dword [ebp - 0xec], 0
lea ecx, [ebp - 0x88]
mov dword [ebp - 0xe8], 7
mov word [ebp - 0xfc], ax
call fcn.004878f0
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x1e4], 0x37
mov byte [ebp - 4], 0xc
cmp edx, 8
jb 0x4c0a9b
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4c0a91
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c1213
push edx
push ecx
call fcn.006391f8
add esp, 8
cmp dword [ebp - 0x44], 8
lea edx, [ebp - 0x24c]
push edx
lea edx, [ebp - 0x2bc]
push edx
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
push eax
cmovae ecx, dword [ebp - 0x40]
push 0
push 0x9000404
push 0
push 0
push 0
push ecx
push 0
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
jne 0x4c0b08
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_create_Sandbox_Process_as_user__Error:__d
push dword [0x7c0568]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.00562650
add esp, 0x18
jmp 0x4c0dba
push 0x70
lea eax, [ebp - 0x1b4]
push 0
push eax
call fcn.0064ed10
add esp, 0xc
mov dword [ebp - 0x1d0], 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
mov edi, eax
mov dword [ebp - 0x23c], edi
test edi, edi
jne 0x4c0b4c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_CreateJobObject__Error:__d
jmp 0x4c0bf3
or dword [ebp - 0x1a4], 0x2008
lea eax, [ebp - 0x1b4]
push 0x70
push eax
push 9
push edi
mov dword [ebp - 0x198], 1
call dword [sym.imp.KERNEL32.dll_SetInformationJobObject]
test eax, eax
jne 0x4c0b84
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_SetInformationJobObject_of_JobObjectExtendedLimitInformation__Error:__d
jmp 0x4c0bf3
push 0x7b6238
lea ecx, [ebp - 0x28]
call fcn.0048c060
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push 8
cmovae eax, dword [ebp - 0x28]
push str.S_1_5_18
push dword [ebp - 0x18]
mov dword [ebp - 0x1e4], 0x77
push eax
call fcn.0049fe20
add esp, 0x10
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.004879e0
test esi, esi
je 0x4c0c40
or dword [ebp - 0x1d0], 0xff
lea eax, [ebp - 0x1d0]
push 4
push eax
push 4
push edi
call dword [sym.imp.KERNEL32.dll_SetInformationJobObject]
test eax, eax
jne 0x4c0c40
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_SetInformationJobObject_of_JobObjectBasicUIRestrictions__Error:__d
push dword [0x7c0568]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.00562650
add esp, 0x18
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_create_JobObject__Error:__d
push dword [0x7c0568]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.00562650
add esp, 0x18
push 0
push dword [ebp - 0x24c]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x4c0dba
push dword [ebp - 0x24c]
push edi
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
jne 0x4c0c87
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_AssignProcessToJobObject__Error:__d
push dword [0x7c0568]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.00562650
add esp, 0x18
push 0
push dword [ebp - 0x24c]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x4c0dba
push dword [ebp - 0x218]
lea eax, [ebp - 0x248]
push eax
call dword [sym.imp.ADVAPI32.dll_SetThreadToken]
test eax, eax
jne 0x4c0cd4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_SetThreadToken__Error:__d
push dword [0x7c0568]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.00562650
add esp, 0x18
push 0
push dword [ebp - 0x24c]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x4c0dba
push dword [ebp - 0x248]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x4c0d1b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_ResumeThread__Error:__d
push dword [0x7c0568]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.00562650
add esp, 0x18
push 0
push dword [ebp - 0x24c]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x4c0dba
push dword [ebp - 0x21c]
lea eax, [ebp + 0xc]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.0048c060
lea eax, [ebp - 0x88]
push eax
call fcn.0049e0f0
mov edi, dword [ebp - 0x204]
mov esi, eax
add esp, 0x20
cmp edi, esi
je 0x4c0daf
mov ecx, dword [edi + 0x14]
cmp ecx, 0x10
jb 0x4c0d7d
mov eax, dword [edi]
inc ecx
cmp ecx, 0x1000
jb 0x4c0d73
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c1213
mov eax, edx
push ecx
push eax
call fcn.006391f8
add esp, 8
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
movups xmm0, xmmword [esi]
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
lea ecx, [ebp - 0x88]
call fcn.004879e0
cmp dword [ebp - 0x1ec], 0
mov eax, dword [ebp - 0x1c0]
mov dword [ebp - 0x238], eax
je 0x4c0dd2
push eax
jmp 0x4c0dd4
push 0
push str.TEMP
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
test eax, eax
jne 0x4c0e06
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SetEnvironmentVariable_failed_for_TEMP___d_
push dword [0x7c0568]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.00562650
add esp, 0x18
cmp dword [ebp - 0x200], 0
mov eax, dword [ebp - 0x1cc]
mov dword [ebp - 0x200], eax
je 0x4c0e1e
push eax
jmp 0x4c0e20
push 0
push 0x719680
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
test eax, eax
jne 0x4c0e52
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SetEnvironmentVariable_failed_for_TMP___d_
push dword [0x7c0568]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.00562650
add esp, 0x18
mov edi, dword [ebp - 0x1bc]
mov esi, dword [ebp - 0x1c8]
mov eax, dword [ebp - 0x1dc]
test eax, eax
je 0x4c0e6f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x218]
test eax, eax
je 0x4c0e80
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x214]
test eax, eax
je 0x4c0e91
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x210]
test eax, eax
je 0x4c0ea2
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x23c]
test eax, eax
je 0x4c0eb3
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x24c]
test eax, eax
je 0x4c0ec4
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x248]
test eax, eax
je 0x4c0ed5
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x238]
test eax, eax
je 0x4c0ee8
push eax
call fcn.00662a80
add esp, 4
mov eax, dword [ebp - 0x200]
test eax, eax
je 0x4c0efb
push eax
call fcn.00662a80
add esp, 4
mov ecx, dword [ebp - 0x204]
mov eax, ecx
cmp dword [ecx + 0x14], 0x10
jb 0x4c0f0b
mov eax, dword [ecx]
push eax
push str.Sandbox_process_response:__s
push dword [0x7c0568]
push 4
push str.WinSandboxingUtilities
push 0
call fcn.00562650
mov edx, dword [ebp - 0x100]
add esp, 0x18
cmp edx, 8
jb 0x4c0f68
mov ecx, dword [ebp - 0x114]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4c0f5e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c1218
push edx
push ecx
call fcn.006391f8
add esp, 8
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x4c0fa2
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4c0f98
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c1218
push edx
push ecx
call fcn.006391f8
add esp, 8
mov edx, dword [ebp - 0xd0]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp edx, 8
jb 0x4c0ff6
mov ecx, dword [ebp - 0xe4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4c0fec
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c1218
push edx
push ecx
call fcn.006391f8
add esp, 8
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x4c1030
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4c1026
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c1218
push edx
push ecx
call fcn.006391f8
add esp, 8
mov edx, dword [ebp - 0xb8]
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
cmp edx, 8
jb 0x4c1084
mov ecx, dword [ebp - 0xcc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4c107a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c1218
push edx
push ecx
call fcn.006391f8
add esp, 8
test edi, edi
je 0x4c10e5
lea eax, [ebp - 0x228]
push eax
push dword [ebp - 0x224]
push edi
call fcn.004bec90
mov ecx, dword [ebp - 0x220]
mov eax, 0x2aaaaaab
sub ecx, edi
add esp, 0xc
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, edi
shl ecx, 3
cmp ecx, 0x1000
jb 0x4c10db
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c1218
push ecx
push edi
call fcn.006391f8
add esp, 8
test esi, esi
je 0x4c111c
mov ecx, dword [ebp - 0x20c]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x4c1112
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c1218
push ecx
push esi
call fcn.006391f8
add esp, 8
mov esi, dword [ebp - 0x1d8]
test esi, esi
je 0x4c1171
mov ecx, dword [ebp - 0x208]
mov eax, 0x78787879
sub ecx, esi
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ecx, eax
shl ecx, 4
add ecx, eax
mov eax, esi
shl ecx, 2
cmp ecx, 0x1000
jb 0x4c1167
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c1218
push ecx
push esi
call fcn.006391f8
add esp, 8
mov esi, dword [ebp - 0x1d4]
test esi, esi
je 0x4c11c2
mov ecx, dword [ebp - 0x1e8]
mov eax, 0x78787879
sub ecx, esi
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ecx, eax
shl ecx, 4
add ecx, eax
mov eax, esi
shl ecx, 2
cmp ecx, 0x1000
jb 0x4c11b8
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c1218
push ecx
push esi
call fcn.006391f8
add esp, 8
mov edx, dword [ebp + 0x20]
cmp edx, 0x10
jb 0x4c11f2
mov ecx, dword [ebp + 0xc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4c11e8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c1218
push edx
push ecx
call fcn.006391f8
add esp, 8
mov eax, dword [ebp - 0x204]
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.006391b7
mov esp, ebp
pop ebp
ret
call fcn.00657f14
call fcn.00657f14
int3