Function at 0x416520
Capabilities:
Set current directory
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5992ba
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x8c], ebx
push 0x7c
mov edi, dword [eax]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x8c], edi
call fcn.00406b5e
mov esi, eax
add esp, 4
mov dword [ebp - 0x30], esi
mov dword [ebp - 4], ebx
test esi, esi
je 0x41659a
push 0x7c
push ebx
push esi
call fcn.0056aed0
add esp, 0xc
mov ecx, esi
push edi
call fcn.00417602
mov edi, dword [0x634a80]
mov dword [ebp - 4], 0xffffffff
lea esi, [edi + 4]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x1c], eax
push esi
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [eax + 4]
mov eax, dword [eax]
mov dword [ebp - 0x30], eax
test eax, eax
jne 0x4165e5
mov eax, 5
jmp 0x4175e6
mov edi, dword [0x634a80]
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x5b1854]
mov ecx, edi
call esi
push 2
xor eax, eax
mov dword [ebp - 0x1c], 0
push 0x5b63b4
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.00409db0
mov esi, dword [ebp - 0x8c]
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
mov dword [ebp - 4], 2
call fcn.0040e5a0
mov byte [ebp - 0x84], al
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 4], 3
cmp ecx, 8
jb 0x416659
inc ecx
push ecx
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x2c]
call fcn.0040a5e0
push 3
xor eax, eax
mov dword [ebp - 4], 0xffffffff
push 0x5b610c
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.00409db0
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 4
push eax
mov ecx, esi
call fcn.0040e5a0
mov byte [ebp - 0x85], al
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 4], 5
cmp ecx, 8
jb 0x4166b7
inc ecx
push ecx
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x2c]
call fcn.0040a5e0
push 3
xor eax, eax
mov dword [ebp - 4], 0xffffffff
push 0x5b61bc
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.00409db0
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 6
push eax
mov ecx, esi
call fcn.0040e5a0
mov byte [ebp - 0x9a], al
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 4], 7
cmp ecx, 8
jb 0x416715
inc ecx
push ecx
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x2c]
call fcn.0040a5e0
cmp byte [ebp - 0x85], 0
mov dword [ebp - 4], 0xffffffff
je 0x4167b4
lea eax, [ebp - 0x54]
push 0x5b63bc
push eax
call fcn.0049b3e0
add esp, 8
mov dword [ebp - 0x14], eax
mov ebx, 1
mov ecx, eax
mov dword [ebp - 0x94], ebx
cmp dword [eax + 0x14], 8
jb 0x416755
mov ecx, dword [eax]
mov dword [ebp - 0x14], ecx
mov eax, dword [eax + 0x10]
cmp eax, 0xd
jb 0x4167b4
add eax, 0xfffffff4
lea eax, [ecx + eax*2]
mov dword [ebp - 0x38], eax
sub eax, ecx
sar eax, 1
je 0x4167b4
nop dword [eax]
cmp word [ecx], 0x70
je 0x416780
add ecx, 2
sub eax, 1
jne 0x416770
jmp 0x4167b4
mov edx, 0x5b5e84
mov edi, ecx
mov esi, 0xd
sub edi, edx
nop
mov ax, word [edi + edx]
cmp ax, word [edx]
jne 0x416acb
add edx, 2
sub esi, ebx
jne 0x416790
sub ecx, dword [ebp - 0x14]
sar ecx, 1
mov byte [ebp - 0x86], bl
cmp ecx, 0xffffffff
jne 0x4167bb
mov byte [ebp - 0x86], 0
test bl, 1
je 0x4167ec
and ebx, 0xfffffffe
mov dword [ebp - 0x94], ebx
mov eax, dword [ebp - 0x40]
mov dword [ebp - 4], 8
cmp eax, 8
jb 0x4167e5
inc eax
lea ecx, [ebp - 0x54]
push eax
push dword [ebp - 0x54]
call fcn.0040a5e0
mov dword [ebp - 4], 0xffffffff
push 2
xor eax, eax
mov dword [ebp - 0x1c], 0
push 0x5b63c4
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.00409db0
mov ecx, dword [ebp - 0x8c]
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 4], 9
call fcn.0040e5a0
mov byte [ebp - 0x8d], al
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 4], 0xa
cmp ecx, 8
jb 0x416847
inc ecx
push ecx
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x2c]
call fcn.0040a5e0
mov edi, dword [0x634a80]
mov dword [ebp - 4], 0xffffffff
lea esi, [edi + 4]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov bl, byte [ebp - 0x84]
mov byte [edi + 0x3c], bl
push esi
mov dword [ebp - 4], 0xb
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, dword [0x634a80]
mov dword [ebp - 4], 0xffffffff
lea esi, [edi + 4]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov al, byte [ebp - 0x9a]
mov byte [edi + 0x4d], al
push esi
mov dword [ebp - 4], 0xc
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, dword [0x634a80]
mov dword [ebp - 4], 0xffffffff
lea esi, [edi + 4]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov bh, byte [ebp - 0x85]
mov byte [edi + 0x3d], bh
push esi
mov dword [ebp - 4], 0xd
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, dword [0x634a80]
mov dword [ebp - 4], 0xffffffff
lea esi, [edi + 4]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov al, byte [ebp - 0x86]
mov byte [edi + 0x62], al
push esi
mov dword [ebp - 4], 0xe
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 4], 0xffffffff
call fcn.0040b2f0
cmp eax, 6
jl 0x4169bf
mov edi, dword [0x634a80]
lea esi, [edi + 4]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov bl, byte [edi + 0x62]
push esi
mov dword [ebp - 4], 0xf
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 4], 0xffffffff
test bl, bl
jne 0x4169b9
mov edi, dword [0x634a80]
lea esi, [edi + 4]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov bl, byte [edi + 0x3d]
push esi
mov dword [ebp - 4], 0x10
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 4], 0xffffffff
test bl, bl
jne 0x4169b9
cmp byte [0x631b5c], bl
jne 0x4169b9
call fcn.00418090
test al, al
jne 0x416991
push 1
push str.bEnableAppContainerForDebugging
call fcn.00431110
add esp, 8
test ax, ax
je 0x4169b9
push 1
push 0x5b6410
call fcn.00411e50
mov ecx, dword [0x634a80]
add esp, 8
test eax, eax
setne al
mov byte [0x631c68], al
movzx eax, al
push eax
call fcn.004180f0
mov bl, byte [ebp - 0x84]
call fcn.0040b2f0
cmp eax, 5
jl 0x416a05
push 1
push str.bEnableStrictHandleCheckProtection
call fcn.00411e50
add esp, 8
test eax, eax
je 0x416a05
mov edi, dword [0x634a80]
lea esi, [edi + 4]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [edi + 0x68], 1
push esi
mov dword [ebp - 4], 0x11
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 4], 0xffffffff
call fcn.00418330
test bl, bl
je 0x416a44
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov edi, dword [0x634a80]
mov ebx, eax
lea esi, [edi + 4]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [edi + 0x50], ebx
push esi
mov dword [ebp - 4], 0x12
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov bh, byte [ebp - 0x85]
mov dword [ebp - 4], 0xffffffff
xorps xmm0, xmm0
mov dword [ebp - 0x60], 0
lea ecx, [ebp - 0x68]
movq qword [ebp - 0x68], xmm0
call fcn.0040bb30
cmp byte [ebp - 0x9a], 0
mov dword [ebp - 4], 0x13
mov dword [0x62b0a4], 1
jne 0x416ad6
test bh, bh
jne 0x416ad6
push 0x20019
push 0x5b6458
push 0x80000001
lea ecx, [ebp - 0x68]
mov byte [ebp - 0x95], 1
call fcn.0040bb60
test eax, eax
jne 0x416add
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x68]
lea eax, [ebp - 0x14]
push eax
push 0x5b64b0
call fcn.0040bbd0
mov ecx, dword [0x62b0a4]
test eax, eax
cmove ecx, dword [ebp - 0x14]
mov dword [0x62b0a4], ecx
lea ecx, [ebp - 0x68]
call fcn.00418450
jmp 0x416add
mov eax, dword [ebp - 0x38]
add ecx, 2
jmp 0x416766
mov byte [ebp - 0x95], 0
push 0x5b5850
call fcn.0040d390
add esp, 4
test al, al
jne 0x416b88
call fcn.0040b2e0
xor ecx, ecx
mov dword [ebp - 0x1c], 0x5c3e9c
cmp byte [0x5c3e9c], cl
je 0x416b1a
nop dword [eax + eax]
inc ecx
cmp byte [ecx + 0x5c3e9c], 0
jne 0x416b10
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x54]
push ecx
mov ecx, eax
call fcn.0040d010
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 0x14
push 0x5c2ba0
push eax
call fcn.00411a80
add esp, 8
test al, al
jne 0x416b7c
lea eax, [ebp - 0x54]
push 0x5c2bb4
push eax
call fcn.00411a80
add esp, 8
test al, al
jne 0x416b7c
push 1
push str.bEnforceReadRestrictions
call fcn.00411e50
add esp, 8
mov byte [ebp - 4], 0x13
test eax, eax
lea ecx, [ebp - 0x54]
setne bl
call fcn.0040c7f0
jmp 0x416b8a
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x13
call fcn.0040c7f0
xor bl, bl
mov edi, dword [0x634a80]
lea esi, [edi + 4]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [edi + 0x55], bl
push esi
mov byte [ebp - 4], 0x15
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [ebp - 4], 0x13
call fcn.0040b2e0
xor ecx, ecx
mov dword [ebp - 0x1c], 0x5c3e9c
cmp byte [0x5c3e9c], cl
je 0x416bcc
inc ecx
cmp byte [ecx + 0x5c3e9c], 0
jne 0x416bc2
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x54]
push ecx
mov ecx, eax
call fcn.0040d010
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 0x16
push 0x5c2ba0
push eax
call fcn.00411a80
add esp, 8
test al, al
jne 0x416c22
lea eax, [ebp - 0x54]
push 0x5c2bb4
push eax
call fcn.00411a80
add esp, 8
test al, al
jne 0x416c22
push 1
push str.bEnableGlobalAtomRestrictions
call fcn.00411e50
add esp, 8
test eax, eax
setne bl
jmp 0x416c24
xor bl, bl
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x13
call fcn.0040c7f0
mov edi, dword [0x634a80]
lea esi, [edi + 4]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [edi + 0x5c], bl
push esi
mov byte [ebp - 4], 0x17
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, dword [0x634a80]
mov byte [ebp - 4], 0x13
lea esi, [edi + 4]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [edi + 0x5d], 0
push esi
mov byte [ebp - 4], 0x18
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [ebp - 4], 0x13
call fcn.0040b2e0
xor ecx, ecx
mov dword [ebp - 0x1c], 0x5c3e9c
cmp byte [0x5c3e9c], cl
je 0x416c9a
nop dword [eax + eax]
inc ecx
cmp byte [ecx + 0x5c3e9c], 0
jne 0x416c90
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x54]
push ecx
mov ecx, eax
call fcn.0040d010
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 0x19
push 0x5c2ba0
push eax
call fcn.00411a80
add esp, 8
test al, al
jne 0x416cf0
lea eax, [ebp - 0x54]
push 0x5c2bb4
push eax
call fcn.00411a80
add esp, 8
test al, al
jne 0x416cf0
push 1
push str.bPreventCreatingExecutables
call fcn.00411e50
add esp, 8
test eax, eax
setne bl
jmp 0x416cf2
xor bl, bl
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x13
call fcn.0040c7f0
mov edi, dword [0x634a80]
lea esi, [edi + 4]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [edi + 0x5e], bl
push esi
mov byte [ebp - 4], 0x1a
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [ebp - 4], 0x13
call fcn.0040b2e0
xor ecx, ecx
mov dword [ebp - 0x1c], 0x5c3e9c
cmp byte [0x5c3e9c], cl
je 0x416d40
inc ecx
cmp byte [ecx + 0x5c3e9c], 0
jne 0x416d36
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x54]
push ecx
mov ecx, eax
call fcn.0040d010
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 0x1b
push 0x5c3f34
push eax
call fcn.00411a80
add esp, 8
test al, al
jne 0x416d96
lea eax, [ebp - 0x54]
push 0x5c2bb4
push eax
call fcn.00411a80
add esp, 8
test al, al
jne 0x416d96
push 1
push str.bEnableBinaryPlantingProtection
call fcn.00411e50
add esp, 8
test eax, eax
setne bl
jmp 0x416d98
xor bl, bl
lea ecx, [ebp - 0x54]
mov byte [ebp - 0x96], bl
mov byte [ebp - 4], 0x13
call fcn.0040c7f0
mov edi, dword [0x634a80]
lea esi, [edi + 4]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [edi + 0x5f], bl
push esi
mov byte [ebp - 4], 0x1c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [ebp - 4], 0x13
mov byte [ebp - 0x86], 0
call fcn.00418470
mov edi, dword [0x634a80]
mov bl, al
lea esi, [edi + 4]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [edi + 0x4c], bl
push esi
mov byte [ebp - 4], 0x1d
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [ebp - 4], 0x13
call fcn.00418610
mov edi, dword [0x634a80]
mov bl, al
lea esi, [edi + 4]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [edi + 0x60], bl
push esi
mov byte [ebp - 4], 0x1e
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [ebp - 4], 0x13
call fcn.00418780
push 1
push str.bEnableEnhancedPolicyRestrictions
mov byte [0x62b0a0], al
call fcn.00411e50
mov edi, dword [0x634a80]
add esp, 8
test eax, eax
setne bl
lea esi, [edi + 4]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [edi + 0x61], bl
push esi
mov byte [ebp - 4], 0x1f
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0
push str.bImproveSaveExperience
mov byte [ebp - 4], 0x13
call fcn.00411e50
mov edi, dword [0x634a80]
add esp, 8
test eax, eax
setne bl
lea esi, [edi + 4]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [edi + 0x78], bl
push esi
mov byte [ebp - 4], 0x20
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xorps xmm0, xmm0
mov byte [ebp - 4], 0x13
push 0
lea ecx, [ebp - 0x5c]
movlpd qword [ebp - 0x5c], xmm0
call fcn.00418940
mov bl, byte [ebp - 0x84]
test bl, bl
jne 0x416ec2
mov byte [ebp - 0x89], 1
test bh, bh
je 0x416ec9
mov byte [ebp - 0x89], 0
xor eax, eax
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 7
mov word [ebp - 0x80], ax
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 0x22
push eax
call fcn.00418a00
add esp, 4
test al, al
jne 0x416f08
cmp dword [ebp - 0x6c], 8
lea eax, [ebp - 0x80]
mov dword [ebp - 0x70], 0
cmovae eax, dword [ebp - 0x80]
xor ecx, ecx
mov word [eax], cx
lea ecx, [ebp - 0x5c]
call fcn.00418b30
mov edi, eax
mov dword [ebp - 0x14], edi
test edi, edi
jne 0x4170f7
xorps xmm0, xmm0
lea ecx, [ebp - 0x1c]
movlpd qword [ebp - 0x1c], xmm0
call fcn.0045bf10
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x23
call fcn.0045bf30
mov edi, dword [ebp - 0x30]
mov eax, dword [edi]
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x5b1854]
mov ecx, edi
call esi
xorps xmm0, xmm0
lea ecx, [ebp - 0x3c]
mov esi, eax
movlpd qword [ebp - 0x3c], xmm0
call fcn.0045c160
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x24
mov dword [0x631bec], esi
call fcn.0045c190
test bl, bl
je 0x416fa8
mov edi, dword [ebp - 0x38]
test edi, edi
je 0x416fa8
mov ebx, dword [0x634a80]
lea esi, [ebx + 4]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test edi, edi
jne 0x416f96
mov byte [ebp - 4], 0x25
jmp 0x416f9d
mov dword [ebx + 0x40], edi
mov byte [ebp - 4], 0x26
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [ebp - 4], 0x24
lea ecx, [ebp - 0x5c]
call fcn.0045c850
test eax, eax
je 0x416fc0
lea ecx, [ebp - 0x5c]
call fcn.0045c860
mov ebx, eax
jmp 0x416fc2
xor ebx, ebx
mov edi, dword [0x634a80]
lea esi, [edi + 4]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [edi + 0x30], ebx
push esi
mov byte [ebp - 4], 0x27
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp byte [ebp - 0x89], 0
mov byte [ebp - 4], 0x24
je 0x41700b
push 0x5bdcf0
push dword [ebp + 0xc]
mov ecx, 0x631b18
mov byte [0x631b5d], 1
push 0x62b0d8
call fcn.0045c8c0
mov ebx, dword [ebp - 0x30]
mov eax, dword [ebx]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x5b1854]
mov ecx, ebx
call esi
mov esi, dword [ebp - 0x34]
test esi, esi
je 0x417030
lea ecx, [ebp - 0x5c]
call fcn.0047cd20
mov dword [esi], eax
mov edi, dword [0x634a80]
lea esi, [edi + 4]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov bl, byte [edi + 0x44]
push esi
mov byte [ebp - 4], 0x28
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [ebp - 4], 0x24
test bl, bl
jne 0x4170de
push 0
call fcn.00417ff0
add esp, 4
test al, al
je 0x4170d0
push 0
call fcn.00417ff0
add esp, 4
test al, al
je 0x4170b3
push 0
push 0x42d
push 0x5b64f8
lea ecx, [ebp - 0x15c]
call fcn.00428080
mov ebx, dword [ebp - 0x94]
add eax, 0x10
push str.Handshake_with_Sandbox_Process_Failed
or ebx, 2
mov byte [ebp - 4], 0x29
push eax
mov dword [ebp - 0x8c], ebx
call fcn.0042c780
add esp, 8
jmp 0x4170b9
mov ebx, dword [ebp - 0x94]
mov dword [ebp - 4], 0x24
test bl, 2
je 0x4170d0
lea ecx, [ebp - 0x15c]
call fcn.0042d0a0
mov dword [ebp - 0x14], 0x33
mov byte [ebp - 0x86], 1
lea ecx, [ebp - 0x3c]
call fcn.0047ce10
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x22
call fcn.0047cec0
jmp 0x4171c4
push 0
call fcn.00417ff0
add esp, 4
test al, al
je 0x4171bd
push 0
call fcn.00417ff0
add esp, 4
test al, al
je 0x417190
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x54]
push 0x5b5f5c
push eax
call fcn.00443bb0
add esp, 0xc
mov esi, eax
mov ebx, dword [ebp - 0x94]
lea ecx, [ebp - 0x15c]
push 0
push 0x434
or ebx, 4
mov byte [ebp - 4], 0x2a
push 0x5b6570
mov dword [ebp - 0x8c], ebx
call fcn.00428080
add eax, 0x10
mov dword [ebp - 4], 0x2b
push str.Sandbox_Process_Initialization_Failed___error:
or ebx, 8
push eax
mov dword [ebp - 0x8c], ebx
call fcn.0042c780
add esp, 8
cmp dword [esi + 0x14], 8
jb 0x417184
mov esi, dword [esi]
push esi
push eax
call fcn.0042cdc0
add esp, 8
jmp 0x417196
mov ebx, dword [ebp - 0x94]
test bl, 8
je 0x4171a9
lea ecx, [ebp - 0x15c]
and ebx, 0xfffffff7
call fcn.0042d0a0
mov dword [ebp - 4], 0x22
test bl, 4
je 0x4171bd
lea ecx, [ebp - 0x54]
call fcn.0040a580
mov byte [ebp - 0x86], 1
mov esi, dword [ebp - 0x34]
test esi, esi
je 0x4171cf
mov ebx, dword [esi]
jmp 0x4171d1
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [ebp - 0x86], 0
mov dword [ebp - 0x38], eax
je 0x41751e
cmp byte [0x631c68], 0
mov cl, byte [ebp - 0x85]
mov al, byte [ebp - 0x8d]
je 0x41731e
test cl, cl
jne 0x41731e
test al, al
jne 0x41731e
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x8c], 0
push eax
call fcn.004884d0
add esp, 4
test al, al
je 0x417312
mov esi, dword [ebp - 0x8c]
xor edi, edi
cmp esi, 2
jne 0x4172f6
mov ecx, dword [0x634a80]
push edi
push edi
push 0x4857d0
push 0x7d
call fcn.004869e0
mov edi, eax
cmp edi, esi
jne 0x4172fb
push 0x20006
push 0x5b6120
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
push 0x80000001
lea ecx, [ebp - 0x20]
movq qword [ebp - 0x20], xmm0
call fcn.0040dd20
cmp dword [ebp - 0x20], 0
mov byte [ebp - 4], 0x2c
je 0x41729f
push 0
push 0x5b6178
lea ecx, [ebp - 0x20]
call fcn.0047b710
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x22
call fcn.0040c880
cmp esi, 1
mov dword [ebp - 0x94], 7
mov byte [0x631c68], 0
sete byte [0x631b5c]
mov dword [0x631c6c], 0
call fcn.0048a2d0
lea eax, [ebp - 0x8c]
push eax
push str.iPMAppContainerLaunchFailureFallback
call fcn.004880b0
add esp, 8
push 0
push dword [ebp - 0x84]
jmp 0x417471
cmp esi, 1
je 0x4172ab
push 0
push dword [ebp - 0x84]
mov dword [ebp - 0x94], 6
jmp 0x417471
mov al, byte [ebp - 0x8d]
mov cl, byte [ebp - 0x85]
cmp byte [ebp - 0x84], 0
jne 0x417504
test cl, cl
jne 0x41751e
test al, al
jne 0x41751e
mov dword [ebp - 0x94], 5
test esi, esi
je 0x41734f
mov dword [esi], 1
xor eax, eax
xor edi, edi
mov word [ebp - 0x8c], ax
lea eax, [ebp - 0x8c]
push eax
push 1
push edi
push str.bPMSandboxFallback
call fcn.0040e3b0
add esp, 0x10
movzx eax, ax
cmp word [ebp - 0x8c], di
je 0x417396
lea eax, [ebp - 0x8c]
push eax
push edi
push edi
push str.bPMSandboxFallback
call fcn.0040e3b0
add esp, 0x10
movzx eax, ax
test ax, ax
je 0x417463
push 0x80000000
push 0x5b61c8
xor esi, esi
lea ecx, [ebp - 0x20]
xorps xmm0, xmm0
mov dword [ebp - 0x34], esi
push 0x80000002
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], esi
call fcn.0040dd20
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 0x2d
push eax
push 0x5b6344
lea ecx, [ebp - 0x20]
call fcn.0040bbd0
test eax, eax
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0x20]
cmove esi, dword [ebp - 0x34]
call fcn.0040c880
test esi, esi
je 0x41743f
xor eax, eax
mov word [ebp - 0x8c], ax
lea eax, [ebp - 0x8c]
push eax
push 1
push 1
push str.bAllowFallbackForAdminEnforcedSandbox
call fcn.0040e3b0
add esp, 0x10
movzx eax, ax
cmp word [ebp - 0x8c], 0
je 0x41743a
lea eax, [ebp - 0x8c]
push eax
push 0
push 1
push str.bAllowFallbackForAdminEnforcedSandbox
call fcn.0040e3b0
add esp, 0x10
movzx eax, ax
test ax, ax
je 0x417463
mov ecx, dword [0x634a80]
push 0
push 0
push 0x4857d0
push 0x6b
call fcn.004869e0
mov edi, eax
mov ecx, edi
sub ecx, 2
je 0x41749a
sub ecx, 1
jne 0x41746d
mov dword [ebp - 0x94], 6
push 0
push 0
movzx eax, byte [0x631c68]
push edi
push dword [ebp - 0x14]
push dword [ebp - 0x9a]
push dword [ebp - 0x38]
push ebx
push eax
call fcn.00488220
mov ebx, dword [ebp - 0x94]
add esp, 0x20
jmp 0x417523
lea eax, [ebp - 0x84]
mov dword [ebp - 0x84], 0
push eax
push 0x5b65d8
push 0x80000001
mov dword [ebp - 0x30], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x41746d
push 4
lea eax, [ebp - 0x30]
push eax
push 4
push 0
push 0x5b65b4
push dword [ebp - 0x84]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [0x62b0a4]
test eax, eax
push dword [ebp - 0x84]
cmove ecx, dword [ebp - 0x30]
mov dword [0x62b0a4], ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x41746d
cmp byte [ebp - 0x9a], 0
je 0x41751e
mov ebx, 6
test esi, esi
je 0x417523
mov dword [esi], 0xff
jmp 0x417523
mov ebx, 1
cmp byte [ebp - 0x95], 0
je 0x417562
push 0x20006
push 0x5b6630
push 0x80000001
lea ecx, [ebp - 0x68]
call fcn.0040bb60
test eax, eax
jne 0x417562
push dword [0x62b0a4]
lea ecx, [ebp - 0x68]
push 0x5b6688
call fcn.0047b710
lea ecx, [ebp - 0x68]
call fcn.00418450
cmp byte [ebp - 0x96], 0
je 0x417590
cmp ebx, 5
jne 0x417590
cmp dword [ebp - 0x70], 0
je 0x417588
cmp dword [ebp - 0x6c], 8
lea eax, [ebp - 0x80]
cmovae eax, dword [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push 0
call dword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
mov edi, dword [0x634a80]
mov eax, dword [edi]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x5b1854]
mov ecx, edi
call esi
mov eax, dword [ebp - 0x6c]
mov byte [ebp - 4], 0x2e
cmp eax, 8
jb 0x4175c0
inc eax
lea ecx, [ebp - 0x80]
push eax
push dword [ebp - 0x80]
call fcn.0040a5e0
xor eax, eax
mov dword [ebp - 0x70], 0
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x6c], 7
mov word [ebp - 0x80], ax
call fcn.00439330
lea ecx, [ebp - 0x68]
call fcn.0040c880
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call int.004016cd
mov esp, ebp
pop ebp
ret