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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68afbb
mov eax, dword fs:[0]
push eax
sub esp, 0x298
mov eax, dword [0x7851cc]
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 [0x7665d8]
push 4
push str.WinSandboxingUtilities
push 0
call fcn.0047e390
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.0063d140
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 0x476cd0
sub ecx, edx
sar ecx, 1
push ecx
push dword [ebp - 0x238]
lea ecx, [ebp - 0xe0]
call fcn.0045e220
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.00477e30
mov eax, dword [ebp - 0x1e8]
add esp, 4
test eax, eax
jne 0x476dab
push str.Failed_to_get_effective_process_token
push dword [0x7665d8]
push 2
push str.WinSandboxingUtilities
push eax
call fcn.0047e390
add esp, 0x14
jmp 0x477ad7
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 0x476df0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_DuplicateTokenEx_for_impersonation__Error_:__d
push dword [0x7665d8]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.0047e390
add esp, 0x18
jmp 0x477ad7
push 0x1b
lea ecx, [ebp - 0x54]
call fcn.00606940
mov ecx, dword [ebp - 0x5c]
cmp ecx, dword [ebp - 0x58]
je 0x476e2d
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 0x476e3a
lea eax, [ebp - 0x54]
push eax
push ecx
lea ecx, [ebp - 0x60]
call fcn.00475e70
push 1
lea ecx, [ebp - 0x54]
call fcn.00606940
mov ecx, dword [ebp - 0x5c]
cmp ecx, dword [ebp - 0x58]
je 0x476e77
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 0x476e84
lea eax, [ebp - 0x54]
push eax
push ecx
lea ecx, [ebp - 0x60]
call fcn.00475e70
push 0xb
lea ecx, [ebp - 0x54]
call fcn.00606940
mov ecx, dword [ebp - 0x5c]
cmp ecx, dword [ebp - 0x58]
je 0x476ec1
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 0x476ece
lea eax, [ebp - 0x54]
push eax
push ecx
lea ecx, [ebp - 0x60]
call fcn.00475e70
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.00476330
add esp, 0x10
mov esi, dword [ebp - 0x210]
mov byte [ebp - 4], 0xd
test esi, esi
jne 0x476f32
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x208], esi
je 0x477067
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_AddAllSidsForDenyOnly__Error:__d
jmp 0x477aba
xor eax, eax
mov dword [ebp - 0x21c], eax
cmp dword [esi], eax
jbe 0x47705a
lea edi, [esi + 4]
mov dword [ebp - 0x208], edi
nop dword [eax + eax]
test dword [edi + 4], 0xc0000020
jne 0x477040
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 0x476fdc
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.004493c0
push eax
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x477023
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 0x476f90
mov edi, dword [ebp - 0x208]
mov al, byte [ebp - 0x209]
test al, al
jne 0x47703a
push dword [edi]
lea ecx, [ebp - 0x54]
call fcn.00606910
mov ecx, dword [ebp - 0x74]
cmp ecx, dword [ebp - 0x70]
je 0x47702d
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 0x47703a
mov edi, dword [ebp - 0x208]
mov al, 1
jmp 0x476fe2
lea eax, [ebp - 0x54]
push eax
push ecx
lea ecx, [ebp - 0x78]
call fcn.00475e70
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 0x476f50
xor edi, edi
push esi
mov byte [ebp - 4], 0xc
call fcn.00627027
add esp, 4
push str.SeChangeNotifyPrivilege
lea ecx, [ebp - 0x250]
call fcn.00476130
mov eax, dword [ebp - 0x68]
mov byte [ebp - 4], 0xe
cmp eax, dword [ebp - 0x64]
je 0x4770c4
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 0x4770d4
lea ecx, [ebp - 0x250]
push ecx
push eax
lea ecx, [ebp - 0x6c]
call fcn.00475c90
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 0xc
call fcn.00448420
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.00476330
add esp, 0x10
mov esi, dword [ebp - 0x210]
mov byte [ebp - 4], 0xf
test esi, esi
jne 0x477147
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x208], esi
je 0x477276
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_DeleteAllPrivileges__Error:__d
jmp 0x477aba
cmp dword [esi], 0
mov dword [ebp - 0x21c], 0
jbe 0x477269
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 0x4771f7
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 0x4771a5
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 0x4771c5
mov eax, dword [edi]
cmp eax, dword [ebp - 0x80]
je 0x477245
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 0x477190
mov ecx, dword [ebp - 0x22c]
cmp ecx, dword [ebp - 0x234]
je 0x477220
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 0x477245
push edi
push ecx
lea ecx, [ebp - 0x8c]
call fcn.00475b30
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 0x477160
mov edi, dword [ebp - 0x8c]
mov dword [ebp - 0x218], edi
push esi
mov byte [ebp - 4], 0xc
call fcn.00627027
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 0x477327
xor ecx, ecx
mov edx, 8
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0062701e
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 0x477327
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.004493c0
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 0x4772e0
mov edi, dword [ebp - 0x218]
mov esi, dword [ebp - 0x22c]
sub esi, edi
sar esi, 3
test esi, esi
je 0x477384
xor ecx, ecx
mov eax, esi
mov edx, 0xc
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0062701e
add esp, 4
mov dword [ebp - 0x218], eax
xor edx, edx
test esi, esi
je 0x477386
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 0x477360
mov eax, dword [ebp - 0x218]
jmp 0x477386
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 0x4773c2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_CreateRestrictedToken__Error:__d
jmp 0x477aba
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 0x4773f5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_DuplicateTokenEx_for_identification__Error:__d
jmp 0x477aba
push 0x2000
call fcn.00652d80
push 0x2000
mov dword [ebp - 0x218], eax
call fcn.00652d80
mov dword [ebp - 0x210], eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x230]
push eax
push str.TEMP
call fcn.004767c0
add esp, 0x14
test eax, eax
jne 0x477457
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_changeEnvironVariable_TEMP__Error:__d
push dword [0x7665d8]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.0047e390
add esp, 0x18
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x220]
push eax
push 0x6d6a48
call fcn.004767c0
add esp, 0xc
test eax, eax
jne 0x477499
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_changeEnvironVariable_TMP__Error:__d
push dword [0x7665d8]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.0047e390
add esp, 0x18
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0xf8]
push eax
call fcn.00478470
mov eax, dword [ebp - 0x270]
add esp, 8
test eax, eax
jns 0x4774d2
neg eax
push eax
lea eax, [ebp - 0x12]
push eax
call fcn.00476080
lea ecx, [eax - 2]
mov eax, 0x2d
mov word [ecx], ax
jmp 0x4774de
push eax
lea eax, [ebp - 0x12]
push eax
call fcn.00476080
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 0x477516
sub eax, ecx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x250]
call fcn.0045e220
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x110]
call fcn.00450260
lea ecx, [ebp - 0x250]
call fcn.00448420
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.004513a0
push 1
push 0x6d2b40
lea ecx, [ebp - 0x250]
call fcn.0046a530
cmp dword [ebp - 0xe4], 8
lea eax, [ebp - 0xf8]
push esi
cmovae eax, dword [ebp - 0xf8]
lea ecx, [ebp - 0x250]
push eax
call fcn.0046a530
push 0x6d6c08
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0046ba30
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.0046a530
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 0x6d6c04
lea eax, [ebp - 0x26c]
mov byte [ebp - 4], 0x12
push eax
lea eax, [ebp - 0x2a4]
push eax
call fcn.0046ba30
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.0046a530
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.00450260
lea ecx, [ebp - 0x28c]
call fcn.00448420
lea ecx, [ebp - 0x2a4]
call fcn.00448420
lea ecx, [ebp - 0x26c]
call fcn.00448420
lea ecx, [ebp - 0x28]
call fcn.00448420
lea ecx, [ebp - 0x250]
mov dword [ebp - 0x224], 0x37
mov byte [ebp - 4], 0xc
call fcn.00448420
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 0x47776e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_create_Sandbox_Process_as_user__Error:__d
push dword [0x7665d8]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.0047e390
add esp, 0x18
jmp 0x477a39
push 0x70
lea eax, [ebp - 0x198]
push 0
push eax
call fcn.0063d140
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 0x4777b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_CreateJobObject__Error:__d
jmp 0x477872
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 0x4777eb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_SetInformationJobObject_of_JobObjectExtendedLimitInformation__Error:__d
jmp 0x477872
push 0x764538
lea ecx, [ebp - 0x26c]
call fcn.0044cc50
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.0045ef00
add esp, 0x10
lea ecx, [ebp - 0x26c]
mov esi, eax
call fcn.00448510
test esi, esi
mov esi, dword [ebp - 0x228]
je 0x4778bf
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 0x4778bf
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_SetInformationJobObject_of_JobObjectBasicUIRestrictions__Error:__d
push dword [0x7665d8]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.0047e390
add esp, 0x18
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_create_JobObject__Error:__d
push dword [0x7665d8]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.0047e390
add esp, 0x18
push 0
push dword [ebp - 0x204]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x477a39
push dword [ebp - 0x204]
push esi
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
jne 0x477906
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_AssignProcessToJobObject__Error:__d
push dword [0x7665d8]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.0047e390
add esp, 0x18
push 0
push dword [ebp - 0x204]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x477a39
push dword [ebp - 0x1ec]
lea eax, [ebp - 0x200]
push eax
call dword [sym.imp.ADVAPI32.dll_SetThreadToken]
test eax, eax
jne 0x477953
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_SetThreadToken__Error:__d
push dword [0x7665d8]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.0047e390
add esp, 0x18
push 0
push dword [ebp - 0x204]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x477a39
push dword [ebp - 0x200]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x47799a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_ResumeThread__Error:__d
push dword [0x7665d8]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.0047e390
add esp, 0x18
push 0
push dword [ebp - 0x204]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x477a39
push dword [ebp - 0x238]
lea eax, [ebp + 0xc]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.0044cc50
lea eax, [ebp - 0x28]
push eax
call fcn.005ff220
mov esi, eax
add esp, 0x20
mov eax, dword [ebp - 0x214]
cmp eax, esi
je 0x477a31
mov ecx, dword [eax + 0x14]
cmp ecx, 0x10
jb 0x4779ff
mov eax, dword [eax]
inc ecx
cmp ecx, 0x1000
jb 0x4779ef
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x477e29
mov eax, edx
push ecx
push eax
call fcn.0062706d
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.00448510
cmp dword [ebp - 0x230], 0
mov eax, dword [ebp - 0x218]
mov dword [ebp - 0x254], eax
je 0x477a51
push eax
jmp 0x477a53
push 0
push str.TEMP
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
test eax, eax
jne 0x477a85
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SetEnvironmentVariable_failed_for_TEMP___d_
push dword [0x7665d8]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.0047e390
add esp, 0x18
cmp dword [ebp - 0x220], 0
mov eax, dword [ebp - 0x210]
mov dword [ebp - 0x230], eax
je 0x477a9d
push eax
jmp 0x477a9f
push 0
push 0x6d6a48
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
test eax, eax
jne 0x477ad1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SetEnvironmentVariable_failed_for_TMP___d_
push dword [0x7665d8]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.0047e390
add esp, 0x18
mov esi, dword [ebp - 0x214]
mov eax, dword [ebp - 0x1e8]
test eax, eax
je 0x477ae8
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x1ec]
test eax, eax
je 0x477af9
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x1f0]
test eax, eax
je 0x477b0a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x1f4]
test eax, eax
je 0x477b1b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x228]
test eax, eax
je 0x477b2c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x204]
test eax, eax
je 0x477b3d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x200]
test eax, eax
je 0x477b4e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x254]
test eax, eax
je 0x477b61
push eax
call fcn.00651bd0
add esp, 4
mov eax, dword [ebp - 0x230]
test eax, eax
je 0x477b74
push eax
call fcn.00651bd0
add esp, 4
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x477b7e
mov eax, dword [esi]
push eax
push str.Sandbox_process_response:__s
push dword [0x7665d8]
push 4
push str.WinSandboxingUtilities
push 0
call fcn.0047e390
mov edx, dword [ebp - 0xfc]
add esp, 0x18
cmp edx, 8
jb 0x477bdb
mov ecx, dword [ebp - 0x110]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x477bd1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x477e29
push edx
push ecx
call fcn.0062706d
add esp, 8
mov edx, dword [ebp - 0xa8]
cmp edx, 8
jb 0x477c1b
mov ecx, dword [ebp - 0xbc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x477c11
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x477e29
push edx
push ecx
call fcn.0062706d
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 0x477c78
mov ecx, dword [ebp - 0xf8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x477c6e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x477e29
push edx
push ecx
call fcn.0062706d
add esp, 8
mov edx, dword [ebp - 0x90]
cmp edx, 8
jb 0x477cb8
mov ecx, dword [ebp - 0xa4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x477cae
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x477e29
push edx
push ecx
call fcn.0062706d
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 0x477d15
mov ecx, dword [ebp - 0xe0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x477d0b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x477e29
push edx
push ecx
call fcn.0062706d
add esp, 8
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x477d8e
lea ecx, [ebp - 0x6c]
push ecx
push dword [ebp - 0x68]
push eax
call fcn.00475ac0
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 0x477d69
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x477e29
push ecx
push esi
call fcn.0062706d
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 0x477dc1
mov ecx, dword [ebp - 0x234]
mov eax, edi
sub ecx, edi
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x477db7
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x477e29
push ecx
push edi
call fcn.0062706d
add esp, 8
lea ecx, [ebp - 0x78]
call fcn.00476280
lea ecx, [ebp - 0xc8]
call fcn.00476280
lea ecx, [ebp - 0x60]
call fcn.00476280
mov edx, dword [ebp + 0x20]
cmp edx, 0x10
jb 0x477e0c
mov ecx, dword [ebp + 0xc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x477e02
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x477e29
push edx
push ecx
call fcn.0062706d
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.0062702c
mov esp, ebp
pop ebp
ret
call fcn.00646804
int3