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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x657dcb
mov eax, dword fs:[0]
push eax
sub esp, 0x2b0
mov eax, dword [0x738844]
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 [0x720650]
push 4
push str.WinSandboxingUtilities
push 0
call fcn.004ffb60
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.005e8a30
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 0x462710
sub ecx, edx
sar ecx, 1
push ecx
push dword [ebp - 0x21c]
lea ecx, [ebp - 0xcc]
call fcn.00453610
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.004639e0
mov eax, dword [ebp - 0x1dc]
add esp, 4
test eax, eax
jne 0x4627db
push str.Failed_to_get_effective_process_token
push dword [0x720650]
push 2
push str.WinSandboxingUtilities
push eax
call fcn.004ffb60
add esp, 0x14
xor edi, edi
jmp 0x46361e
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 0x462822
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_DuplicateTokenEx_for_impersonation__Error_:__d
push dword [0x720650]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.004ffb60
add esp, 0x18
xor edi, edi
jmp 0x46361e
push 0x1b
lea ecx, [ebp - 0xb4]
call fcn.0050d090
lea eax, [ebp - 0xb4]
push eax
push 0
lea ecx, [ebp - 0x1f8]
call fcn.004617f0
push 1
lea ecx, [ebp - 0xb4]
call fcn.0050d090
mov eax, dword [ebp - 0x1f0]
mov esi, dword [ebp - 0x1f4]
mov dword [ebp - 0x1e8], eax
cmp esi, eax
je 0x4628a2
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 0x4628c7
lea eax, [ebp - 0xb4]
push eax
push esi
lea ecx, [ebp - 0x1f8]
call fcn.004617f0
mov eax, dword [ebp - 0x1f0]
mov esi, dword [ebp - 0x1f4]
mov dword [ebp - 0x1e8], eax
push 0xb
lea ecx, [ebp - 0xb4]
call fcn.0050d090
cmp esi, dword [ebp - 0x1e8]
je 0x462918
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 0x462937
lea eax, [ebp - 0xb4]
push eax
push esi
lea ecx, [ebp - 0x1f8]
call fcn.004617f0
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.00461c00
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 0x4629c5
cmp dword [ebp - 0x1bc], 0
mov byte [ebp - 4], 0xc
je 0x462b40
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_AddAllSidsForDenyOnly__Error:__d
push dword [0x720650]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.004ffb60
mov edi, dword [ebp - 0x1f8]
add esp, 0x18
mov dword [ebp - 0x1d4], edi
xor esi, esi
xor edi, edi
jmp 0x46361e
xor eax, eax
mov dword [ebp - 0x1bc], eax
cmp dword [esi], eax
jbe 0x462b33
lea edi, [esi + 4]
mov dword [ebp - 0x1b8], edi
nop
test dword [edi + 4], 0xc0000020
jne 0x462b0d
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 0x462a61
mov edi, dword [ebp - 0x1d4]
mov eax, dword [ebp - 0x1b8]
mov ecx, edi
push dword [eax]
call fcn.0043e030
push eax
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x462acc
mov eax, dword [ebp - 0x1d8]
add edi, 0x44
inc eax
mov dword [ebp - 0x1d8], eax
cmp eax, dword [ebp - 0x1c0]
jb 0x462a25
mov edi, dword [ebp - 0x1b8]
mov al, byte [ebp - 0x1c1]
test al, al
jne 0x462b01
push dword [edi]
lea ecx, [ebp - 0xb4]
call fcn.0050d060
mov ecx, dword [ebp - 0x1fc]
cmp ecx, dword [ebp - 0x208]
je 0x462ad6
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 0x462b01
mov edi, dword [ebp - 0x1b8]
mov al, 1
jmp 0x462a67
lea eax, [ebp - 0xb4]
push eax
push ecx
lea ecx, [ebp - 0x258]
call fcn.004617f0
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 0x4629e0
mov eax, dword [ebp - 0x258]
xor edi, edi
mov dword [ebp - 0x1d8], eax
push esi
mov byte [ebp - 4], 0xc
call fcn.005d2f02
add esp, 4
push str.SeChangeNotifyPrivilege
lea ecx, [ebp - 0x28]
call fcn.00452e50
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xe
push eax
push 0
lea ecx, [ebp - 0x228]
call fcn.00461620
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 0xc
cmp edx, 8
jb 0x462ba0
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x462b96
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4639d8
push edx
push ecx
call fcn.005d2f48
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.00461c00
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 0x462c26
cmp dword [ebp - 0x1cc], 0
mov byte [ebp - 4], 0xc
je 0x462d71
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_DeleteAllPrivileges__Error:__d
push dword [0x720650]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.004ffb60
mov edi, dword [ebp - 0x228]
add esp, 0x18
xor esi, esi
jmp 0x46361e
cmp dword [esi], 0
mov dword [ebp - 0x1cc], 0
jbe 0x462d64
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 0x462cde
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 0x462c95
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 0x462cc0
mov eax, dword [ecx]
cmp eax, dword [ebp - 0x234]
je 0x462d2e
mov edx, dword [ebp - 0x1c8]
add edi, 0x18
inc edx
mov dword [ebp - 0x1c8], edx
cmp edx, dword [ebp - 0x1c0]
jb 0x462c80
mov edi, dword [ebp - 0x1e0]
cmp edi, dword [ebp - 0x20c]
je 0x462d01
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 0x462d34
push ecx
push edi
lea ecx, [ebp - 0x264]
call fcn.004614c0
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 0x462d34
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 0x462c61
mov eax, dword [ebp - 0x264]
mov dword [ebp - 0x1c8], eax
push esi
mov byte [ebp - 4], 0xc
call fcn.005d2f02
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 0x462e06
xor ecx, ecx
mov eax, esi
mov edx, 8
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.005d2ef9
xor esi, esi
mov dword [ebp - 0x1d0], eax
add esp, 4
cmp dword [ebp - 0x1b8], esi
jbe 0x462e00
mov edi, dword [ebp - 0x1d8]
jmp 0x462dd6
mov eax, dword [ebp - 0x1d0]
mov ecx, edi
mov dword [eax + esi*8 + 4], 0x10
call fcn.0043e030
mov ecx, dword [ebp - 0x1d0]
add edi, 0x44
mov dword [ecx + esi*8], eax
inc esi
cmp esi, dword [ebp - 0x1b8]
jb 0x462dd0
mov edi, dword [ebp - 0x1e0]
mov esi, dword [ebp - 0x1b8]
sub edi, dword [ebp - 0x1c8]
sar edi, 3
test edi, edi
je 0x462e6c
xor ecx, ecx
mov eax, edi
mov edx, 0xc
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.005d2ef9
add esp, 4
mov dword [ebp - 0x1ec], eax
xor edx, edx
test edi, edi
je 0x462e6e
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 0x462e42
mov esi, dword [ebp - 0x1b8]
mov eax, dword [ebp - 0x1ec]
jmp 0x462e6e
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 0x462ea5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_CreateRestrictedToken__Error:__d
jmp 0x4635fb
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 0x462ed8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_DuplicateTokenEx_for_identification__Error:__d
jmp 0x4635fb
push 0x2000
call fcn.005fda50
push 0x2000
mov dword [ebp - 0x1c0], eax
call fcn.005fda50
mov dword [ebp - 0x1cc], eax
lea eax, [ebp - 0x1c0]
push eax
lea eax, [ebp - 0x1ec]
push eax
push str.TEMP
call fcn.00461f20
add esp, 0x14
test eax, eax
jne 0x462f3a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_changeEnvironVariable_TEMP__Error:__d
push dword [0x720650]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.004ffb60
add esp, 0x18
lea eax, [ebp - 0x1cc]
push eax
lea eax, [ebp - 0x200]
push eax
push 0x697218
call fcn.00461f20
add esp, 0xc
test eax, eax
jne 0x462f7c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_changeEnvironVariable_TMP__Error:__d
push dword [0x720650]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.004ffb60
add esp, 0x18
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0xe4]
push eax
call fcn.00464020
mov eax, dword [ebp - 0x22c]
add esp, 8
test eax, eax
jns 0x462fb2
neg eax
push eax
lea eax, [ebp - 0x72]
push eax
call fcn.004619f0
lea ecx, [eax - 2]
mov eax, 0x2d
mov word [ecx], ax
jmp 0x462fbe
push eax
lea eax, [ebp - 0x72]
push eax
call fcn.004619f0
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 0x462feb
sub eax, ecx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x70]
call fcn.00453610
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.00445fb0
push 1
push 0x693060
lea ecx, [ebp - 0x28]
call fcn.00457cc0
cmp dword [ebp - 0xd0], 8
lea eax, [ebp - 0xe4]
push esi
cmovae eax, dword [ebp - 0xe4]
lea ecx, [ebp - 0x28]
push eax
call fcn.00457cc0
push 0x6973d4
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.00455cb0
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.00457cc0
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 0x695248
lea eax, [ebp - 0xfc]
mov byte [ebp - 4], 0x12
push eax
lea eax, [ebp - 0x144]
push eax
call fcn.00455cb0
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.00457cc0
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 0x463193
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46317d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4639d3
push edx
push ecx
call fcn.005d2f48
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.0043d140
mov edx, dword [ebp - 0xe8]
mov byte [ebp - 4], 0x11
cmp edx, 8
jb 0x4631eb
mov ecx, dword [ebp - 0xfc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4631e1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4639d3
push edx
push ecx
call fcn.005d2f48
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.0043d140
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x1e4], 0x37
mov byte [ebp - 4], 0xc
cmp edx, 8
jb 0x46325b
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x463251
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4639d3
push edx
push ecx
call fcn.005d2f48
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 0x4632c8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_create_Sandbox_Process_as_user__Error:__d
push dword [0x720650]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.004ffb60
add esp, 0x18
jmp 0x46357a
push 0x70
lea eax, [ebp - 0x1b4]
push 0
push eax
call fcn.005e8a30
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 0x46330c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_CreateJobObject__Error:__d
jmp 0x4633b3
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 0x463344
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_SetInformationJobObject_of_JobObjectExtendedLimitInformation__Error:__d
jmp 0x4633b3
push 0x71c2a8
lea ecx, [ebp - 0x28]
call fcn.004418b0
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.00455620
add esp, 0x10
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.0043d230
test esi, esi
je 0x463400
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 0x463400
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_SetInformationJobObject_of_JobObjectBasicUIRestrictions__Error:__d
push dword [0x720650]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.004ffb60
add esp, 0x18
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_create_JobObject__Error:__d
push dword [0x720650]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.004ffb60
add esp, 0x18
push 0
push dword [ebp - 0x24c]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x46357a
push dword [ebp - 0x24c]
push edi
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
jne 0x463447
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_AssignProcessToJobObject__Error:__d
push dword [0x720650]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.004ffb60
add esp, 0x18
push 0
push dword [ebp - 0x24c]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x46357a
push dword [ebp - 0x218]
lea eax, [ebp - 0x248]
push eax
call dword [sym.imp.ADVAPI32.dll_SetThreadToken]
test eax, eax
jne 0x463494
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_SetThreadToken__Error:__d
push dword [0x720650]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.004ffb60
add esp, 0x18
push 0
push dword [ebp - 0x24c]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x46357a
push dword [ebp - 0x248]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x4634db
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_ResumeThread__Error:__d
push dword [0x720650]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.004ffb60
add esp, 0x18
push 0
push dword [ebp - 0x24c]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x46357a
push dword [ebp - 0x21c]
lea eax, [ebp + 0xc]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.004418b0
lea eax, [ebp - 0x88]
push eax
call fcn.00453900
mov edi, dword [ebp - 0x204]
mov esi, eax
add esp, 0x20
cmp edi, esi
je 0x46356f
mov ecx, dword [edi + 0x14]
cmp ecx, 0x10
jb 0x46353d
mov eax, dword [edi]
inc ecx
cmp ecx, 0x1000
jb 0x463533
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4639d3
mov eax, edx
push ecx
push eax
call fcn.005d2f48
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.0043d230
cmp dword [ebp - 0x1ec], 0
mov eax, dword [ebp - 0x1c0]
mov dword [ebp - 0x238], eax
je 0x463592
push eax
jmp 0x463594
push 0
push str.TEMP
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
test eax, eax
jne 0x4635c6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SetEnvironmentVariable_failed_for_TEMP___d_
push dword [0x720650]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.004ffb60
add esp, 0x18
cmp dword [ebp - 0x200], 0
mov eax, dword [ebp - 0x1cc]
mov dword [ebp - 0x200], eax
je 0x4635de
push eax
jmp 0x4635e0
push 0
push 0x697218
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
test eax, eax
jne 0x463612
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SetEnvironmentVariable_failed_for_TMP___d_
push dword [0x720650]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.004ffb60
add esp, 0x18
mov edi, dword [ebp - 0x1bc]
mov esi, dword [ebp - 0x1c8]
mov eax, dword [ebp - 0x1dc]
test eax, eax
je 0x46362f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x218]
test eax, eax
je 0x463640
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x214]
test eax, eax
je 0x463651
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x210]
test eax, eax
je 0x463662
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x23c]
test eax, eax
je 0x463673
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x24c]
test eax, eax
je 0x463684
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x248]
test eax, eax
je 0x463695
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x238]
test eax, eax
je 0x4636a8
push eax
call fcn.005fd500
add esp, 4
mov eax, dword [ebp - 0x200]
test eax, eax
je 0x4636bb
push eax
call fcn.005fd500
add esp, 4
mov ecx, dword [ebp - 0x204]
mov eax, ecx
cmp dword [ecx + 0x14], 0x10
jb 0x4636cb
mov eax, dword [ecx]
push eax
push str.Sandbox_process_response:__s
push dword [0x720650]
push 4
push str.WinSandboxingUtilities
push 0
call fcn.004ffb60
mov edx, dword [ebp - 0x100]
add esp, 0x18
cmp edx, 8
jb 0x463728
mov ecx, dword [ebp - 0x114]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46371e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4639d8
push edx
push ecx
call fcn.005d2f48
add esp, 8
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x463762
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x463758
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4639d8
push edx
push ecx
call fcn.005d2f48
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 0x4637b6
mov ecx, dword [ebp - 0xe4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4637ac
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4639d8
push edx
push ecx
call fcn.005d2f48
add esp, 8
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x4637f0
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4637e6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4639d8
push edx
push ecx
call fcn.005d2f48
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 0x463844
mov ecx, dword [ebp - 0xcc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46383a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4639d8
push edx
push ecx
call fcn.005d2f48
add esp, 8
test edi, edi
je 0x4638a5
lea eax, [ebp - 0x228]
push eax
push dword [ebp - 0x224]
push edi
call fcn.00461450
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 0x46389b
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4639d8
push ecx
push edi
call fcn.005d2f48
add esp, 8
test esi, esi
je 0x4638dc
mov ecx, dword [ebp - 0x20c]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x4638d2
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4639d8
push ecx
push esi
call fcn.005d2f48
add esp, 8
mov esi, dword [ebp - 0x1d8]
test esi, esi
je 0x463931
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 0x463927
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4639d8
push ecx
push esi
call fcn.005d2f48
add esp, 8
mov esi, dword [ebp - 0x1d4]
test esi, esi
je 0x463982
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 0x463978
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4639d8
push ecx
push esi
call fcn.005d2f48
add esp, 8
mov edx, dword [ebp + 0x20]
cmp edx, 0x10
jb 0x4639b2
mov ecx, dword [ebp + 0xc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4639a8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4639d8
push edx
push ecx
call fcn.005d2f48
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.005d2f07
mov esp, ebp
pop ebp
ret
call fcn.005f1c34
call fcn.005f1c34
int3