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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6c3f3b
mov eax, dword fs:[0]
push eax
sub esp, 0x2b0
mov eax, dword [0x7f3784]
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 [0x7c4568]
push 4
push str.WinSandboxingUtilities
push 0
call fcn.005645a0
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.00651620
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 0x4c16b0
sub ecx, edx
sar ecx, 1
push ecx
push dword [ebp - 0x21c]
lea ecx, [ebp - 0xcc]
call fcn.0049f4a0
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.004c2980
mov eax, dword [ebp - 0x1dc]
add esp, 4
test eax, eax
jne 0x4c177b
push str.Failed_to_get_effective_process_token
push dword [0x7c4568]
push 2
push str.WinSandboxingUtilities
push eax
call fcn.005645a0
add esp, 0x14
xor edi, edi
jmp 0x4c25be
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 0x4c17c2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_DuplicateTokenEx_for_impersonation__Error_:__d
push dword [0x7c4568]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.005645a0
add esp, 0x18
xor edi, edi
jmp 0x4c25be
push 0x1b
lea ecx, [ebp - 0xb4]
call fcn.0056e200
lea eax, [ebp - 0xb4]
push eax
push 0
lea ecx, [ebp - 0x1f8]
call fcn.004c0790
push 1
lea ecx, [ebp - 0xb4]
call fcn.0056e200
mov eax, dword [ebp - 0x1f0]
mov esi, dword [ebp - 0x1f4]
mov dword [ebp - 0x1e8], eax
cmp esi, eax
je 0x4c1842
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 0x4c1867
lea eax, [ebp - 0xb4]
push eax
push esi
lea ecx, [ebp - 0x1f8]
call fcn.004c0790
mov eax, dword [ebp - 0x1f0]
mov esi, dword [ebp - 0x1f4]
mov dword [ebp - 0x1e8], eax
push 0xb
lea ecx, [ebp - 0xb4]
call fcn.0056e200
cmp esi, dword [ebp - 0x1e8]
je 0x4c18b8
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 0x4c18d7
lea eax, [ebp - 0xb4]
push eax
push esi
lea ecx, [ebp - 0x1f8]
call fcn.004c0790
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.004c0ba0
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 0x4c1965
cmp dword [ebp - 0x1bc], 0
mov byte [ebp - 4], 0xc
je 0x4c1ae0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_AddAllSidsForDenyOnly__Error:__d
push dword [0x7c4568]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.005645a0
mov edi, dword [ebp - 0x1f8]
add esp, 0x18
mov dword [ebp - 0x1d4], edi
xor esi, esi
xor edi, edi
jmp 0x4c25be
xor eax, eax
mov dword [ebp - 0x1bc], eax
cmp dword [esi], eax
jbe 0x4c1ad3
lea edi, [esi + 4]
mov dword [ebp - 0x1b8], edi
nop
test dword [edi + 4], 0xc0000020
jne 0x4c1aad
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 0x4c1a01
mov edi, dword [ebp - 0x1d4]
mov eax, dword [ebp - 0x1b8]
mov ecx, edi
push dword [eax]
call fcn.00489e80
push eax
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x4c1a6c
mov eax, dword [ebp - 0x1d8]
add edi, 0x44
inc eax
mov dword [ebp - 0x1d8], eax
cmp eax, dword [ebp - 0x1c0]
jb 0x4c19c5
mov edi, dword [ebp - 0x1b8]
mov al, byte [ebp - 0x1c1]
test al, al
jne 0x4c1aa1
push dword [edi]
lea ecx, [ebp - 0xb4]
call fcn.0056e1d0
mov ecx, dword [ebp - 0x1fc]
cmp ecx, dword [ebp - 0x208]
je 0x4c1a76
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 0x4c1aa1
mov edi, dword [ebp - 0x1b8]
mov al, 1
jmp 0x4c1a07
lea eax, [ebp - 0xb4]
push eax
push ecx
lea ecx, [ebp - 0x258]
call fcn.004c0790
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 0x4c1980
mov eax, dword [ebp - 0x258]
xor edi, edi
mov dword [ebp - 0x1d8], eax
push esi
mov byte [ebp - 4], 0xc
call fcn.0063bad2
add esp, 4
push str.SeChangeNotifyPrivilege
lea ecx, [ebp - 0x28]
call fcn.0049ece0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xe
push eax
push 0
lea ecx, [ebp - 0x228]
call fcn.004c05c0
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 0xc
cmp edx, 8
jb 0x4c1b40
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4c1b36
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c2978
push edx
push ecx
call fcn.0063bb18
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.004c0ba0
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 0x4c1bc6
cmp dword [ebp - 0x1cc], 0
mov byte [ebp - 4], 0xc
je 0x4c1d11
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_DeleteAllPrivileges__Error:__d
push dword [0x7c4568]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.005645a0
mov edi, dword [ebp - 0x228]
add esp, 0x18
xor esi, esi
jmp 0x4c25be
cmp dword [esi], 0
mov dword [ebp - 0x1cc], 0
jbe 0x4c1d04
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 0x4c1c7e
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 0x4c1c35
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 0x4c1c60
mov eax, dword [ecx]
cmp eax, dword [ebp - 0x234]
je 0x4c1cce
mov edx, dword [ebp - 0x1c8]
add edi, 0x18
inc edx
mov dword [ebp - 0x1c8], edx
cmp edx, dword [ebp - 0x1c0]
jb 0x4c1c20
mov edi, dword [ebp - 0x1e0]
cmp edi, dword [ebp - 0x20c]
je 0x4c1ca1
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 0x4c1cd4
push ecx
push edi
lea ecx, [ebp - 0x264]
call fcn.004c0460
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 0x4c1cd4
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 0x4c1c01
mov eax, dword [ebp - 0x264]
mov dword [ebp - 0x1c8], eax
push esi
mov byte [ebp - 4], 0xc
call fcn.0063bad2
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 0x4c1da6
xor ecx, ecx
mov eax, esi
mov edx, 8
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0063bac9
xor esi, esi
mov dword [ebp - 0x1d0], eax
add esp, 4
cmp dword [ebp - 0x1b8], esi
jbe 0x4c1da0
mov edi, dword [ebp - 0x1d8]
jmp 0x4c1d76
mov eax, dword [ebp - 0x1d0]
mov ecx, edi
mov dword [eax + esi*8 + 4], 0x10
call fcn.00489e80
mov ecx, dword [ebp - 0x1d0]
add edi, 0x44
mov dword [ecx + esi*8], eax
inc esi
cmp esi, dword [ebp - 0x1b8]
jb 0x4c1d70
mov edi, dword [ebp - 0x1e0]
mov esi, dword [ebp - 0x1b8]
sub edi, dword [ebp - 0x1c8]
sar edi, 3
test edi, edi
je 0x4c1e0c
xor ecx, ecx
mov eax, edi
mov edx, 0xc
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0063bac9
add esp, 4
mov dword [ebp - 0x1ec], eax
xor edx, edx
test edi, edi
je 0x4c1e0e
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 0x4c1de2
mov esi, dword [ebp - 0x1b8]
mov eax, dword [ebp - 0x1ec]
jmp 0x4c1e0e
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 0x4c1e45
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_CreateRestrictedToken__Error:__d
jmp 0x4c259b
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 0x4c1e78
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_DuplicateTokenEx_for_identification__Error:__d
jmp 0x4c259b
push 0x2000
call fcn.00667690
push 0x2000
mov dword [ebp - 0x1c0], eax
call fcn.00667690
mov dword [ebp - 0x1cc], eax
lea eax, [ebp - 0x1c0]
push eax
lea eax, [ebp - 0x1ec]
push eax
push str.TEMP
call fcn.004c0ec0
add esp, 0x14
test eax, eax
jne 0x4c1eda
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_changeEnvironVariable_TEMP__Error:__d
push dword [0x7c4568]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.005645a0
add esp, 0x18
lea eax, [ebp - 0x1cc]
push eax
lea eax, [ebp - 0x200]
push eax
push 0x71c7c0
call fcn.004c0ec0
add esp, 0xc
test eax, eax
jne 0x4c1f1c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_changeEnvironVariable_TMP__Error:__d
push dword [0x7c4568]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.005645a0
add esp, 0x18
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0xe4]
push eax
call fcn.004c2fc0
mov eax, dword [ebp - 0x22c]
add esp, 8
test eax, eax
jns 0x4c1f52
neg eax
push eax
lea eax, [ebp - 0x72]
push eax
call fcn.004c0990
lea ecx, [eax - 2]
mov eax, 0x2d
mov word [ecx], ax
jmp 0x4c1f5e
push eax
lea eax, [ebp - 0x72]
push eax
call fcn.004c0990
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 0x4c1f8b
sub eax, ecx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x70]
call fcn.0049f4a0
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.00491e40
push 1
push 0x717e70
lea ecx, [ebp - 0x28]
call fcn.004a3920
cmp dword [ebp - 0xd0], 8
lea eax, [ebp - 0xe4]
push esi
cmovae eax, dword [ebp - 0xe4]
lea ecx, [ebp - 0x28]
push eax
call fcn.004a3920
push 0x71c97c
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.004a1b80
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.004a3920
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 0x719e08
lea eax, [ebp - 0xfc]
mov byte [ebp - 4], 0x12
push eax
lea eax, [ebp - 0x144]
push eax
call fcn.004a1b80
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.004a3920
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 0x4c2133
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4c211d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c2973
push edx
push ecx
call fcn.0063bb18
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.00488f90
mov edx, dword [ebp - 0xe8]
mov byte [ebp - 4], 0x11
cmp edx, 8
jb 0x4c218b
mov ecx, dword [ebp - 0xfc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4c2181
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c2973
push edx
push ecx
call fcn.0063bb18
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.00488f90
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x1e4], 0x37
mov byte [ebp - 4], 0xc
cmp edx, 8
jb 0x4c21fb
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4c21f1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c2973
push edx
push ecx
call fcn.0063bb18
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 0x4c2268
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_create_Sandbox_Process_as_user__Error:__d
push dword [0x7c4568]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.005645a0
add esp, 0x18
jmp 0x4c251a
push 0x70
lea eax, [ebp - 0x1b4]
push 0
push eax
call fcn.00651620
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 0x4c22ac
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_CreateJobObject__Error:__d
jmp 0x4c2353
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 0x4c22e4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_SetInformationJobObject_of_JobObjectExtendedLimitInformation__Error:__d
jmp 0x4c2353
push 0x7ba238
lea ecx, [ebp - 0x28]
call fcn.0048d700
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.004a14b0
add esp, 0x10
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.00489080
test esi, esi
je 0x4c23a0
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 0x4c23a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_SetInformationJobObject_of_JobObjectBasicUIRestrictions__Error:__d
push dword [0x7c4568]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.005645a0
add esp, 0x18
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_create_JobObject__Error:__d
push dword [0x7c4568]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.005645a0
add esp, 0x18
push 0
push dword [ebp - 0x24c]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x4c251a
push dword [ebp - 0x24c]
push edi
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
jne 0x4c23e7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_AssignProcessToJobObject__Error:__d
push dword [0x7c4568]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.005645a0
add esp, 0x18
push 0
push dword [ebp - 0x24c]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x4c251a
push dword [ebp - 0x218]
lea eax, [ebp - 0x248]
push eax
call dword [sym.imp.ADVAPI32.dll_SetThreadToken]
test eax, eax
jne 0x4c2434
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_SetThreadToken__Error:__d
push dword [0x7c4568]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.005645a0
add esp, 0x18
push 0
push dword [ebp - 0x24c]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x4c251a
push dword [ebp - 0x248]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x4c247b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_ResumeThread__Error:__d
push dword [0x7c4568]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.005645a0
add esp, 0x18
push 0
push dword [ebp - 0x24c]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x4c251a
push dword [ebp - 0x21c]
lea eax, [ebp + 0xc]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.0048d700
lea eax, [ebp - 0x88]
push eax
call fcn.0049f790
mov edi, dword [ebp - 0x204]
mov esi, eax
add esp, 0x20
cmp edi, esi
je 0x4c250f
mov ecx, dword [edi + 0x14]
cmp ecx, 0x10
jb 0x4c24dd
mov eax, dword [edi]
inc ecx
cmp ecx, 0x1000
jb 0x4c24d3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c2973
mov eax, edx
push ecx
push eax
call fcn.0063bb18
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.00489080
cmp dword [ebp - 0x1ec], 0
mov eax, dword [ebp - 0x1c0]
mov dword [ebp - 0x238], eax
je 0x4c2532
push eax
jmp 0x4c2534
push 0
push str.TEMP
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
test eax, eax
jne 0x4c2566
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SetEnvironmentVariable_failed_for_TEMP___d_
push dword [0x7c4568]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.005645a0
add esp, 0x18
cmp dword [ebp - 0x200], 0
mov eax, dword [ebp - 0x1cc]
mov dword [ebp - 0x200], eax
je 0x4c257e
push eax
jmp 0x4c2580
push 0
push 0x71c7c0
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
test eax, eax
jne 0x4c25b2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SetEnvironmentVariable_failed_for_TMP___d_
push dword [0x7c4568]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.005645a0
add esp, 0x18
mov edi, dword [ebp - 0x1bc]
mov esi, dword [ebp - 0x1c8]
mov eax, dword [ebp - 0x1dc]
test eax, eax
je 0x4c25cf
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x218]
test eax, eax
je 0x4c25e0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x214]
test eax, eax
je 0x4c25f1
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x210]
test eax, eax
je 0x4c2602
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x23c]
test eax, eax
je 0x4c2613
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x24c]
test eax, eax
je 0x4c2624
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x248]
test eax, eax
je 0x4c2635
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x238]
test eax, eax
je 0x4c2648
push eax
call fcn.00665390
add esp, 4
mov eax, dword [ebp - 0x200]
test eax, eax
je 0x4c265b
push eax
call fcn.00665390
add esp, 4
mov ecx, dword [ebp - 0x204]
mov eax, ecx
cmp dword [ecx + 0x14], 0x10
jb 0x4c266b
mov eax, dword [ecx]
push eax
push str.Sandbox_process_response:__s
push dword [0x7c4568]
push 4
push str.WinSandboxingUtilities
push 0
call fcn.005645a0
mov edx, dword [ebp - 0x100]
add esp, 0x18
cmp edx, 8
jb 0x4c26c8
mov ecx, dword [ebp - 0x114]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4c26be
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c2978
push edx
push ecx
call fcn.0063bb18
add esp, 8
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x4c2702
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4c26f8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c2978
push edx
push ecx
call fcn.0063bb18
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 0x4c2756
mov ecx, dword [ebp - 0xe4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4c274c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c2978
push edx
push ecx
call fcn.0063bb18
add esp, 8
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x4c2790
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4c2786
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c2978
push edx
push ecx
call fcn.0063bb18
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 0x4c27e4
mov ecx, dword [ebp - 0xcc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4c27da
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c2978
push edx
push ecx
call fcn.0063bb18
add esp, 8
test edi, edi
je 0x4c2845
lea eax, [ebp - 0x228]
push eax
push dword [ebp - 0x224]
push edi
call fcn.004c03f0
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 0x4c283b
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c2978
push ecx
push edi
call fcn.0063bb18
add esp, 8
test esi, esi
je 0x4c287c
mov ecx, dword [ebp - 0x20c]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x4c2872
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c2978
push ecx
push esi
call fcn.0063bb18
add esp, 8
mov esi, dword [ebp - 0x1d8]
test esi, esi
je 0x4c28d1
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 0x4c28c7
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c2978
push ecx
push esi
call fcn.0063bb18
add esp, 8
mov esi, dword [ebp - 0x1d4]
test esi, esi
je 0x4c2922
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 0x4c2918
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c2978
push ecx
push esi
call fcn.0063bb18
add esp, 8
mov edx, dword [ebp + 0x20]
cmp edx, 0x10
jb 0x4c2952
mov ecx, dword [ebp + 0xc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4c2948
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c2978
push edx
push ecx
call fcn.0063bb18
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.0063bad7
mov esp, ebp
pop ebp
ret
call fcn.0065a824
call fcn.0065a824
int3