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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66f92b
mov eax, dword fs:[0]
push eax
sub esp, 0x2b0
mov eax, dword [0x759454]
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 [0x73f2e0]
push 4
push str.WinSandboxingUtilities
push 0
call fcn.00511a90
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.005ff380
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 0x477e40
sub ecx, edx
sar ecx, 1
push ecx
push dword [ebp - 0x21c]
lea ecx, [ebp - 0xcc]
call fcn.00458940
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.00479110
mov eax, dword [ebp - 0x1dc]
add esp, 4
test eax, eax
jne 0x477f0b
push str.Failed_to_get_effective_process_token
push dword [0x73f2e0]
push 2
push str.WinSandboxingUtilities
push eax
call fcn.00511a90
add esp, 0x14
xor edi, edi
jmp 0x478d4e
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 0x477f52
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_DuplicateTokenEx_for_impersonation__Error_:__d
push dword [0x73f2e0]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.00511a90
add esp, 0x18
xor edi, edi
jmp 0x478d4e
push 0x1b
lea ecx, [ebp - 0xb4]
call fcn.0051b7b0
lea eax, [ebp - 0xb4]
push eax
push 0
lea ecx, [ebp - 0x1f8]
call fcn.00476f20
push 1
lea ecx, [ebp - 0xb4]
call fcn.0051b7b0
mov eax, dword [ebp - 0x1f0]
mov esi, dword [ebp - 0x1f4]
mov dword [ebp - 0x1e8], eax
cmp esi, eax
je 0x477fd2
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 0x477ff7
lea eax, [ebp - 0xb4]
push eax
push esi
lea ecx, [ebp - 0x1f8]
call fcn.00476f20
mov eax, dword [ebp - 0x1f0]
mov esi, dword [ebp - 0x1f4]
mov dword [ebp - 0x1e8], eax
push 0xb
lea ecx, [ebp - 0xb4]
call fcn.0051b7b0
cmp esi, dword [ebp - 0x1e8]
je 0x478048
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 0x478067
lea eax, [ebp - 0xb4]
push eax
push esi
lea ecx, [ebp - 0x1f8]
call fcn.00476f20
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.00477330
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 0x4780f5
cmp dword [ebp - 0x1bc], 0
mov byte [ebp - 4], 0xc
je 0x478270
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_AddAllSidsForDenyOnly__Error:__d
push dword [0x73f2e0]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.00511a90
mov edi, dword [ebp - 0x1f8]
add esp, 0x18
mov dword [ebp - 0x1d4], edi
xor esi, esi
xor edi, edi
jmp 0x478d4e
xor eax, eax
mov dword [ebp - 0x1bc], eax
cmp dword [esi], eax
jbe 0x478263
lea edi, [esi + 4]
mov dword [ebp - 0x1b8], edi
nop
test dword [edi + 4], 0xc0000020
jne 0x47823d
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 0x478191
mov edi, dword [ebp - 0x1d4]
mov eax, dword [ebp - 0x1b8]
mov ecx, edi
push dword [eax]
call fcn.00443360
push eax
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x4781fc
mov eax, dword [ebp - 0x1d8]
add edi, 0x44
inc eax
mov dword [ebp - 0x1d8], eax
cmp eax, dword [ebp - 0x1c0]
jb 0x478155
mov edi, dword [ebp - 0x1b8]
mov al, byte [ebp - 0x1c1]
test al, al
jne 0x478231
push dword [edi]
lea ecx, [ebp - 0xb4]
call fcn.0051b780
mov ecx, dword [ebp - 0x1fc]
cmp ecx, dword [ebp - 0x208]
je 0x478206
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 0x478231
mov edi, dword [ebp - 0x1b8]
mov al, 1
jmp 0x478197
lea eax, [ebp - 0xb4]
push eax
push ecx
lea ecx, [ebp - 0x258]
call fcn.00476f20
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 0x478110
mov eax, dword [ebp - 0x258]
xor edi, edi
mov dword [ebp - 0x1d8], eax
push esi
mov byte [ebp - 4], 0xc
call fcn.005e9806
add esp, 4
push str.SeChangeNotifyPrivilege
lea ecx, [ebp - 0x28]
call fcn.00458180
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xe
push eax
push 0
lea ecx, [ebp - 0x228]
call fcn.00476d50
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 0xc
cmp edx, 8
jb 0x4782d0
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4782c6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x479108
push edx
push ecx
call fcn.005e984c
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.00477330
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 0x478356
cmp dword [ebp - 0x1cc], 0
mov byte [ebp - 4], 0xc
je 0x4784a1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_DeleteAllPrivileges__Error:__d
push dword [0x73f2e0]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.00511a90
mov edi, dword [ebp - 0x228]
add esp, 0x18
xor esi, esi
jmp 0x478d4e
cmp dword [esi], 0
mov dword [ebp - 0x1cc], 0
jbe 0x478494
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 0x47840e
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 0x4783c5
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 0x4783f0
mov eax, dword [ecx]
cmp eax, dword [ebp - 0x234]
je 0x47845e
mov edx, dword [ebp - 0x1c8]
add edi, 0x18
inc edx
mov dword [ebp - 0x1c8], edx
cmp edx, dword [ebp - 0x1c0]
jb 0x4783b0
mov edi, dword [ebp - 0x1e0]
cmp edi, dword [ebp - 0x20c]
je 0x478431
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 0x478464
push ecx
push edi
lea ecx, [ebp - 0x264]
call fcn.00476bf0
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 0x478464
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 0x478391
mov eax, dword [ebp - 0x264]
mov dword [ebp - 0x1c8], eax
push esi
mov byte [ebp - 4], 0xc
call fcn.005e9806
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 0x478536
xor ecx, ecx
mov eax, esi
mov edx, 8
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.005e97fd
xor esi, esi
mov dword [ebp - 0x1d0], eax
add esp, 4
cmp dword [ebp - 0x1b8], esi
jbe 0x478530
mov edi, dword [ebp - 0x1d8]
jmp 0x478506
mov eax, dword [ebp - 0x1d0]
mov ecx, edi
mov dword [eax + esi*8 + 4], 0x10
call fcn.00443360
mov ecx, dword [ebp - 0x1d0]
add edi, 0x44
mov dword [ecx + esi*8], eax
inc esi
cmp esi, dword [ebp - 0x1b8]
jb 0x478500
mov edi, dword [ebp - 0x1e0]
mov esi, dword [ebp - 0x1b8]
sub edi, dword [ebp - 0x1c8]
sar edi, 3
test edi, edi
je 0x47859c
xor ecx, ecx
mov eax, edi
mov edx, 0xc
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.005e97fd
add esp, 4
mov dword [ebp - 0x1ec], eax
xor edx, edx
test edi, edi
je 0x47859e
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 0x478572
mov esi, dword [ebp - 0x1b8]
mov eax, dword [ebp - 0x1ec]
jmp 0x47859e
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 0x4785d5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_CreateRestrictedToken__Error:__d
jmp 0x478d2b
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 0x478608
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_DuplicateTokenEx_for_identification__Error:__d
jmp 0x478d2b
push 0x2000
call fcn.00615f70
push 0x2000
mov dword [ebp - 0x1c0], eax
call fcn.00615f70
mov dword [ebp - 0x1cc], eax
lea eax, [ebp - 0x1c0]
push eax
lea eax, [ebp - 0x1ec]
push eax
push str.TEMP
call fcn.00477650
add esp, 0x14
test eax, eax
jne 0x47866a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_changeEnvironVariable_TEMP__Error:__d
push dword [0x73f2e0]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.00511a90
add esp, 0x18
lea eax, [ebp - 0x1cc]
push eax
lea eax, [ebp - 0x200]
push eax
push 0x6b2470
call fcn.00477650
add esp, 0xc
test eax, eax
jne 0x4786ac
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_changeEnvironVariable_TMP__Error:__d
push dword [0x73f2e0]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.00511a90
add esp, 0x18
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0xe4]
push eax
call fcn.00479750
mov eax, dword [ebp - 0x22c]
add esp, 8
test eax, eax
jns 0x4786e2
neg eax
push eax
lea eax, [ebp - 0x72]
push eax
call fcn.00477120
lea ecx, [eax - 2]
mov eax, 0x2d
mov word [ecx], ax
jmp 0x4786ee
push eax
lea eax, [ebp - 0x72]
push eax
call fcn.00477120
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 0x47871b
sub eax, ecx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x70]
call fcn.00458940
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.0044b2e0
push 1
push 0x6ad6a0
lea ecx, [ebp - 0x28]
call fcn.0045d030
cmp dword [ebp - 0xd0], 8
lea eax, [ebp - 0xe4]
push esi
cmovae eax, dword [ebp - 0xe4]
lea ecx, [ebp - 0x28]
push eax
call fcn.0045d030
push 0x6b262c
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.0045afe0
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.0045d030
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 0x6af888
lea eax, [ebp - 0xfc]
mov byte [ebp - 4], 0x12
push eax
lea eax, [ebp - 0x144]
push eax
call fcn.0045afe0
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.0045d030
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 0x4788c3
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4788ad
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x479103
push edx
push ecx
call fcn.005e984c
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.00442470
mov edx, dword [ebp - 0xe8]
mov byte [ebp - 4], 0x11
cmp edx, 8
jb 0x47891b
mov ecx, dword [ebp - 0xfc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x478911
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x479103
push edx
push ecx
call fcn.005e984c
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.00442470
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x1e4], 0x37
mov byte [ebp - 4], 0xc
cmp edx, 8
jb 0x47898b
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x478981
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x479103
push edx
push ecx
call fcn.005e984c
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 0x4789f8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_create_Sandbox_Process_as_user__Error:__d
push dword [0x73f2e0]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.00511a90
add esp, 0x18
jmp 0x478caa
push 0x70
lea eax, [ebp - 0x1b4]
push 0
push eax
call fcn.005ff380
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 0x478a3c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_CreateJobObject__Error:__d
jmp 0x478ae3
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 0x478a74
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_SetInformationJobObject_of_JobObjectExtendedLimitInformation__Error:__d
jmp 0x478ae3
push 0x73af38
lea ecx, [ebp - 0x28]
call fcn.00446be0
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.0045a950
add esp, 0x10
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.00442560
test esi, esi
je 0x478b30
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 0x478b30
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_SetInformationJobObject_of_JobObjectBasicUIRestrictions__Error:__d
push dword [0x73f2e0]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.00511a90
add esp, 0x18
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_create_JobObject__Error:__d
push dword [0x73f2e0]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.00511a90
add esp, 0x18
push 0
push dword [ebp - 0x24c]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x478caa
push dword [ebp - 0x24c]
push edi
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
jne 0x478b77
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_AssignProcessToJobObject__Error:__d
push dword [0x73f2e0]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.00511a90
add esp, 0x18
push 0
push dword [ebp - 0x24c]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x478caa
push dword [ebp - 0x218]
lea eax, [ebp - 0x248]
push eax
call dword [sym.imp.ADVAPI32.dll_SetThreadToken]
test eax, eax
jne 0x478bc4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_SetThreadToken__Error:__d
push dword [0x73f2e0]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.00511a90
add esp, 0x18
push 0
push dword [ebp - 0x24c]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x478caa
push dword [ebp - 0x248]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x478c0b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_ResumeThread__Error:__d
push dword [0x73f2e0]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.00511a90
add esp, 0x18
push 0
push dword [ebp - 0x24c]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x478caa
push dword [ebp - 0x21c]
lea eax, [ebp + 0xc]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00446be0
lea eax, [ebp - 0x88]
push eax
call fcn.00458c30
mov edi, dword [ebp - 0x204]
mov esi, eax
add esp, 0x20
cmp edi, esi
je 0x478c9f
mov ecx, dword [edi + 0x14]
cmp ecx, 0x10
jb 0x478c6d
mov eax, dword [edi]
inc ecx
cmp ecx, 0x1000
jb 0x478c63
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x479103
mov eax, edx
push ecx
push eax
call fcn.005e984c
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.00442560
cmp dword [ebp - 0x1ec], 0
mov eax, dword [ebp - 0x1c0]
mov dword [ebp - 0x238], eax
je 0x478cc2
push eax
jmp 0x478cc4
push 0
push str.TEMP
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
test eax, eax
jne 0x478cf6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SetEnvironmentVariable_failed_for_TEMP___d_
push dword [0x73f2e0]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.00511a90
add esp, 0x18
cmp dword [ebp - 0x200], 0
mov eax, dword [ebp - 0x1cc]
mov dword [ebp - 0x200], eax
je 0x478d0e
push eax
jmp 0x478d10
push 0
push 0x6b2470
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
test eax, eax
jne 0x478d42
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SetEnvironmentVariable_failed_for_TMP___d_
push dword [0x73f2e0]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.00511a90
add esp, 0x18
mov edi, dword [ebp - 0x1bc]
mov esi, dword [ebp - 0x1c8]
mov eax, dword [ebp - 0x1dc]
test eax, eax
je 0x478d5f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x218]
test eax, eax
je 0x478d70
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x214]
test eax, eax
je 0x478d81
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x210]
test eax, eax
je 0x478d92
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x23c]
test eax, eax
je 0x478da3
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x24c]
test eax, eax
je 0x478db4
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x248]
test eax, eax
je 0x478dc5
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x238]
test eax, eax
je 0x478dd8
push eax
call fcn.00613e50
add esp, 4
mov eax, dword [ebp - 0x200]
test eax, eax
je 0x478deb
push eax
call fcn.00613e50
add esp, 4
mov ecx, dword [ebp - 0x204]
mov eax, ecx
cmp dword [ecx + 0x14], 0x10
jb 0x478dfb
mov eax, dword [ecx]
push eax
push str.Sandbox_process_response:__s
push dword [0x73f2e0]
push 4
push str.WinSandboxingUtilities
push 0
call fcn.00511a90
mov edx, dword [ebp - 0x100]
add esp, 0x18
cmp edx, 8
jb 0x478e58
mov ecx, dword [ebp - 0x114]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x478e4e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x479108
push edx
push ecx
call fcn.005e984c
add esp, 8
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x478e92
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x478e88
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x479108
push edx
push ecx
call fcn.005e984c
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 0x478ee6
mov ecx, dword [ebp - 0xe4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x478edc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x479108
push edx
push ecx
call fcn.005e984c
add esp, 8
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x478f20
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x478f16
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x479108
push edx
push ecx
call fcn.005e984c
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 0x478f74
mov ecx, dword [ebp - 0xcc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x478f6a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x479108
push edx
push ecx
call fcn.005e984c
add esp, 8
test edi, edi
je 0x478fd5
lea eax, [ebp - 0x228]
push eax
push dword [ebp - 0x224]
push edi
call fcn.00476b80
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 0x478fcb
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x479108
push ecx
push edi
call fcn.005e984c
add esp, 8
test esi, esi
je 0x47900c
mov ecx, dword [ebp - 0x20c]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x479002
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x479108
push ecx
push esi
call fcn.005e984c
add esp, 8
mov esi, dword [ebp - 0x1d8]
test esi, esi
je 0x479061
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 0x479057
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x479108
push ecx
push esi
call fcn.005e984c
add esp, 8
mov esi, dword [ebp - 0x1d4]
test esi, esi
je 0x4790b2
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 0x4790a8
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x479108
push ecx
push esi
call fcn.005e984c
add esp, 8
mov edx, dword [ebp + 0x20]
cmp edx, 0x10
jb 0x4790e2
mov ecx, dword [ebp + 0xc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4790d8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x479108
push edx
push ecx
call fcn.005e984c
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.005e980b
mov esp, ebp
pop ebp
ret
call fcn.00608584
call fcn.00608584
int3