Function at 0x12f15170
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1306af70
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x34]
push esi
mov esi, dword [esp + 0x30]
xor ebx, ebx
cmp esi, ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], ebx
mov dword [ebp], ebx
jne 0x12f151c1
mov dword [ebp], ebx
pop esi
mov dword [0x888], ebx
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
mov eax, dword [esi + 0x880]
push edi
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x884]
cmp eax, 0xffffffff
je 0x12f15255
lea ecx, [esi + 0x420]
lea edx, [esi + 0x10]
lea edi, [esi + 0x830]
push ecx
push edx
push edi
push eax
mov ecx, 0x131c0930
call fcn.12ecaec0
test eax, eax
je 0x12f15255
cmp dword [0x13199068], ebx
je 0x12f1521c
mov eax, dword [esi + 0x884]
push edi
push eax
push str.FilterCreateProcessInternalW_XP_IsChangeDesktop___d___s_
push str.Inject
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x14
lea ecx, [esp + 0x34]
push ecx
mov ecx, 0x131c0930
call fcn.12ebf950
mov eax, dword [eax]
push 0x27
push eax
push edi
mov dword [esp + 0x38], ebx
call fcn.12f5c57b
add esp, 0xc
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], 0xffffffff
call fcn.12f472f0
mov eax, dword [esp + 0x40]
or dword [eax], 1
mov al, byte [esi + 0xc]
mov ebx, 0x1388
test al, 2
je 0x12f15268
call fcn.12f16040
mov ebx, eax
mov eax, dword [0x13199068]
test eax, eax
je 0x12f15293
mov edx, dword [esi + 0x88c]
mov eax, dword [esi + 0x880]
push edx
push eax
push str.CWaitProcCtrl::GetAction__1__SCDTProcType_d___Identify_08x_
push str.procidentifytype
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x14
push ebx
push esi
call fcn.12e6fc80
mov dword [esp + 0x3c], eax
mov eax, dword [0x13199068]
add esp, 8
test eax, eax
je 0x12f152cc
mov ecx, dword [esi + 0x88c]
mov edx, dword [esi + 0x880]
push ecx
push edx
push str.CWaitProcCtrl::GetAction__2__SCDTProcType_d___Identify_08x_
push str.procidentifytype
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x14
mov eax, dword [0x13199a0c]
test eax, eax
jne 0x12f1549a
cmp dword [esi + 0x880], 2
jne 0x12f1549a
mov eax, dword [esp + 0x44]
test eax, eax
je 0x12f1549a
push 0xffffffffffffffff
mov ecx, 0x131c0930
call fcn.12ec0e90
test eax, eax
je 0x12f1549a
push 0x410
call fcn.12f5c05b
push 0x410
mov dword [ebp], eax
call fcn.12f5c05b
mov edi, dword [ebp]
add esp, 8
test edi, edi
mov dword [esp + 0x10], eax
je 0x12f1549a
test eax, eax
je 0x12f1549a
mov ecx, 0x104
xor eax, eax
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x10]
mov ecx, 0x104
rep stosd dword es:[edi], eax
mov eax, dword [ebp]
lea edi, [esi + 0x10]
push 0x207
push eax
push edi
mov ecx, 0x131c0930
call fcn.12ec3360
test eax, eax
je 0x12f1549a
mov ecx, dword [ebp]
push ecx
mov ecx, 0x131a9048
call fcn.12e07070
mov edx, dword [ebp]
push eax
push edx
mov ecx, 0x131c0930
call fcn.12ec43e0
mov ebp, eax
neg ebp
sbb ebp, ebp
inc ebp
je 0x12f153c8
lea ecx, [esp + 0x44]
call fcn.12ebadf0
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x2c], 1
mov ecx, dword [eax]
push ecx
call fcn.12e30b60
add esp, 4
cmp eax, 0xffffffff
jne 0x12f153b7
xor ebp, ebp
lea ecx, [esp + 0x44]
mov dword [esp + 0x2c], 0xffffffff
call fcn.12ebae10
mov eax, dword [0x13199068]
test eax, eax
je 0x12f153ed
mov edx, dword [esp + 0x3c]
mov eax, dword [edx]
push eax
push ebp
push str.FilterCreateProcessInternalW_XP_IsSandboxPath___d___s_
push str.SCDT
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x14
test ebp, ebp
je 0x12f15496
mov ebp, dword [esp + 0x10]
push 0x207
push edi
push ebp
call fcn.12f5c57b
mov ecx, dword [esp + 0x48]
push 0x103
mov edx, dword [ecx]
push edx
push edi
call fcn.12f5c57b
mov eax, dword [esp + 0x30]
push ebx
push esi
mov dword [esi + 0x880], eax
call fcn.12e6fc80
mov ecx, dword [esi + 0x880]
mov edx, 2
add esp, 0x20
cmp ecx, edx
jne 0x12f15446
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x34], eax
or dword [ecx], edx
jmp 0x12f1544c
mov dword [esi + 0x880], edx
mov eax, dword [0x13199068]
test eax, eax
je 0x12f15487
mov ecx, dword [esi + 0x880]
mov eax, dword [esp + 0x34]
lea edx, [esi + 0x830]
push ecx
mov ecx, dword [esi + 4]
push edx
mov edx, dword [esp + 0x44]
push eax
push ecx
mov eax, dword [edx]
push eax
push str.FilterCreateProcessInternalW_XP_2_1___s____lu___0x_x____s__0x_08x_
push str.softmgr
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x20
push 0x103
push ebp
push edi
call fcn.12f5c57b
add esp, 0xc
mov ebp, dword [esp + 0x3c]
mov ebx, dword [esp + 0x38]
test ebx, ebx
je 0x12f15abe
lea edi, [esi + 0x420]
lea ebp, [esi + 0x10]
push edi
push ebp
call fcn.12f14e90
add esp, 8
test eax, eax
je 0x12f15aba
push 0xffffffffffffffff
mov ecx, 0x131c0930
call fcn.12ec0e90
test eax, eax
je 0x12f15705
push 0xffffffffffffffff
mov ecx, 0x131c0930
call fcn.12ec0e90
cmp eax, 2
je 0x12f15705
push 0xffffffffffffffff
mov ecx, 0x131c0930
call fcn.12ec0e90
cmp eax, 1
je 0x12f15510
push 0xffffffffffffffff
mov ecx, 0x131c0930
call fcn.12ec0e90
cmp eax, 4
jne 0x12f15aba
mov eax, dword [esi + 0x880]
test eax, eax
je 0x12f15523
cmp eax, 2
jne 0x12f15aba
and ebx, 4
mov dword [esp + 0x1c], ebx
je 0x12f155fd
mov eax, dword [esp + 0x40]
mov ecx, dword [eax]
or ecx, 8
mov dword [eax], ecx
mov eax, dword [0x13199068]
test eax, eax
je 0x12f155b0
mov ecx, dword [esi + 0x880]
lea edx, [esp + 0x18]
push ecx
push edx
call fcn.12ec0fb0
mov ebx, eax
lea eax, [esp + 0x4c]
mov dword [esp + 0x34], 0xe
push eax
call fcn.12ec10a0
add esp, 0xc
mov ecx, dword [ebx]
mov edx, dword [eax]
push edi
push ebp
push ecx
push edx
push str._r_n_s_r_n_DisableSTDInPut_Child:_s__r_nPath:__s__r_nPath:__s_
push str.SCDTRuleLog
push 0xffffffffffffffff
mov byte [esp + 0x48], 0xf
call fcn.12dad750
add esp, 0x1c
lea ecx, [esp + 0x44]
mov byte [esp + 0x2c], 0xe
call fcn.12f472f0
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0xffffffff
call fcn.12f472f0
mov ebx, dword [esp + 0x1c]
mov eax, dword [0x131bf528]
test eax, eax
je 0x12f155fd
mov eax, dword [esi + 0x880]
lea ecx, [esp + 0x44]
push eax
push ecx
call fcn.12ec0fb0
add esp, 8
mov edx, dword [eax]
push edi
push ebp
push edx
push str.ChildProcess___s____s____s_
push str.StdInput_Blocked
mov dword [esp + 0x40], 0x10
call fcn.12eda250
add esp, 0x14
lea ecx, [esp + 0x44]
mov dword [esp + 0x2c], 0xffffffff
call fcn.12f472f0
test byte [esp + 0x38], 1
jne 0x12f15611
call fcn.12d92100
test eax, eax
je 0x12f15aba
call fcn.12d92100
test eax, eax
je 0x12f15aba
test ebx, ebx
jne 0x12f15aba
push 0xfffffffffffffff6
call fcn.12f150f0
add esp, 4
test eax, eax
je 0x12f15aba
mov eax, dword [esp + 0x40]
mov ecx, dword [eax]
or ecx, 8
mov dword [eax], ecx
mov eax, dword [0x13199068]
test eax, eax
je 0x12f156b4
mov eax, dword [esi + 0x880]
lea ecx, [esp + 0x44]
push eax
push ecx
call fcn.12ec0fb0
mov ebx, eax
lea edx, [esp + 0x40]
mov dword [esp + 0x34], 0x11
push edx
call fcn.12ec10a0
add esp, 0xc
mov ecx, dword [ebx]
mov edx, dword [eax]
push edi
push ebp
push ecx
push edx
push str._r_n_s_r_n_DisableSTDInPut_Child:_s__r_nPath:__s__r_nPath:__s_
push str.SCDTRuleLog
push 0xffffffffffffffff
mov byte [esp + 0x48], 0x12
call fcn.12dad750
add esp, 0x1c
lea ecx, [esp + 0x38]
mov byte [esp + 0x2c], 0x11
call fcn.12f472f0
lea ecx, [esp + 0x44]
mov dword [esp + 0x2c], 0xffffffff
call fcn.12f472f0
mov eax, dword [0x131bf528]
test eax, eax
je 0x12f15aba
mov eax, dword [esi + 0x880]
lea ecx, [esp + 0x38]
push eax
push ecx
call fcn.12ec0fb0
add esp, 8
mov edx, dword [eax]
push edi
push ebp
push edx
push str.Disable_herithandles__ChildProcess___s____s____s_
push str.StdInput_Blocked
mov dword [esp + 0x40], 0x13
call fcn.12eda250
add esp, 0x14
mov dword [esp + 0x2c], 0xffffffff
lea ecx, [esp + 0x38]
jmp 0x12f15ab5
mov eax, dword [esi + 0x880]
cmp eax, 1
je 0x12f15719
cmp eax, 4
jne 0x12f15aba
mov eax, ebx
mov ebx, dword [esp + 0x40]
and eax, 2
mov dword [esp + 0x18], eax
je 0x12f157f5
mov ecx, dword [ebx]
or ecx, 4
mov dword [ebx], ecx
mov eax, dword [0x13199068]
test eax, eax
je 0x12f157a8
mov eax, dword [esi + 0x880]
lea ecx, [esp + 0x1c]
push eax
push ecx
call fcn.12ec0fb0
mov ebx, eax
lea edx, [esp + 0x4c]
mov dword [esp + 0x34], 2
push edx
call fcn.12ec10a0
add esp, 0xc
mov ecx, dword [ebx]
mov edx, dword [eax]
push edi
push ebp
push ecx
push edx
push str._r_n_s_r_n_Disable_STDOUTPUT_Child:_s__r_nPath:__s__r_nPath:__s_
push str.SCDTRuleLog
push 0xffffffffffffffff
mov byte [esp + 0x48], 3
call fcn.12dad750
add esp, 0x1c
lea ecx, [esp + 0x44]
mov byte [esp + 0x2c], 2
call fcn.12f472f0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2c], 0xffffffff
call fcn.12f472f0
mov ebx, dword [esp + 0x40]
mov eax, dword [0x131bf528]
test eax, eax
je 0x12f157f5
mov eax, dword [esi + 0x880]
lea ecx, [esp + 0x44]
push eax
push ecx
call fcn.12ec0fb0
add esp, 8
mov edx, dword [eax]
push edi
push ebp
push edx
push str.ChildProcess___s____s____s_
push str.StdOutput_Blocked
mov dword [esp + 0x40], 4
call fcn.12eda250
add esp, 0x14
lea ecx, [esp + 0x44]
mov dword [esp + 0x2c], 0xffffffff
call fcn.12f472f0
mov eax, dword [esp + 0x38]
and eax, 8
mov dword [esp + 0x20], eax
je 0x12f158cb
mov ecx, dword [ebx]
or ecx, 0x10
mov dword [ebx], ecx
mov eax, dword [0x13199068]
test eax, eax
je 0x12f1587e
mov eax, dword [esi + 0x880]
lea ecx, [esp + 0x1c]
push eax
push ecx
call fcn.12ec0fb0
mov ebx, eax
lea edx, [esp + 0x4c]
mov dword [esp + 0x34], 5
push edx
call fcn.12ec10a0
add esp, 0xc
mov ecx, dword [ebx]
mov edx, dword [eax]
push edi
push ebp
push ecx
push edx
push str._r_n_s_r_n_Disable_STDERROR_Child:_s__r_nPath:__s__r_nPath:__s_
push str.SCDTRuleLog
push 0xffffffffffffffff
mov byte [esp + 0x48], 6
call fcn.12dad750
add esp, 0x1c
lea ecx, [esp + 0x44]
mov byte [esp + 0x2c], 5
call fcn.12f472f0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2c], 0xffffffff
call fcn.12f472f0
mov eax, dword [0x131bf528]
test eax, eax
je 0x12f158cb
mov eax, dword [esi + 0x880]
lea ecx, [esp + 0x44]
push eax
push ecx
call fcn.12ec0fb0
add esp, 8
mov edx, dword [eax]
push edi
push ebp
push edx
push str.ChildProcess___s____s____s_
push str.StdError_Blocked
mov dword [esp + 0x40], 7
call fcn.12eda250
add esp, 0x14
lea ecx, [esp + 0x44]
mov dword [esp + 0x2c], 0xffffffff
call fcn.12f472f0
test byte [esp + 0x38], 1
jne 0x12f158df
call fcn.12d92100
test eax, eax
je 0x12f15aba
call fcn.12d92100
test eax, eax
je 0x12f15aba
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x12f159d3
push 0xfffffffffffffff5
call fcn.12f150f0
add esp, 4
test eax, eax
je 0x12f159d3
mov eax, dword [esp + 0x40]
mov ecx, dword [eax]
or ecx, 4
mov dword [eax], ecx
mov eax, dword [0x13199068]
test eax, eax
je 0x12f15986
mov eax, dword [esi + 0x880]
lea ecx, [esp + 0x44]
push eax
push ecx
call fcn.12ec0fb0
mov ebx, eax
lea edx, [esp + 0x40]
mov dword [esp + 0x34], 8
push edx
call fcn.12ec10a0
add esp, 0xc
mov ecx, dword [ebx]
mov edx, dword [eax]
push edi
push ebp
push ecx
push edx
push str._r_n_s_r_n_Disable_STDOUTPUT_Child:_s__r_nPath:__s__r_nPath:__s_
push str.SCDTRuleLog
push 0xffffffffffffffff
mov byte [esp + 0x48], 9
call fcn.12dad750
add esp, 0x1c
lea ecx, [esp + 0x38]
mov byte [esp + 0x2c], 8
call fcn.12f472f0
lea ecx, [esp + 0x44]
mov dword [esp + 0x2c], 0xffffffff
call fcn.12f472f0
mov eax, dword [0x131bf528]
test eax, eax
je 0x12f159d3
mov eax, dword [esi + 0x880]
lea ecx, [esp + 0x38]
push eax
push ecx
call fcn.12ec0fb0
add esp, 8
mov edx, dword [eax]
push edi
push ebp
push edx
push str.Disable_herithandles_ChildProcess___s____s____s_
push str.StdOutput_Blocked
mov dword [esp + 0x40], 0xa
call fcn.12eda250
add esp, 0x14
lea ecx, [esp + 0x38]
mov dword [esp + 0x2c], 0xffffffff
call fcn.12f472f0
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x12f15aba
push 0xfffffffffffffff4
call fcn.12f150f0
add esp, 4
test eax, eax
je 0x12f15aba
mov eax, dword [esp + 0x40]
mov ecx, dword [eax]
or ecx, 0x10
mov dword [eax], ecx
mov eax, dword [0x13199068]
test eax, eax
je 0x12f15a6d
mov eax, dword [esi + 0x880]
lea ecx, [esp + 0x44]
push eax
push ecx
call fcn.12ec0fb0
mov ebx, eax
lea edx, [esp + 0x40]
mov dword [esp + 0x34], 0xb
push edx
call fcn.12ec10a0
add esp, 0xc
mov ecx, dword [ebx]
mov edx, dword [eax]
push edi
push ebp
push ecx
push edx
push str._r_n_s_r_n_Disable_STDERROR_Child:_s__r_nPath:__s__r_nPath:__s_
push str.SCDTRuleLog
push 0xffffffffffffffff
mov byte [esp + 0x48], 0xc
call fcn.12dad750
add esp, 0x1c
lea ecx, [esp + 0x38]
mov byte [esp + 0x2c], 0xb
call fcn.12f472f0
lea ecx, [esp + 0x44]
mov dword [esp + 0x2c], 0xffffffff
call fcn.12f472f0
mov eax, dword [0x131bf528]
test eax, eax
je 0x12f15aba
mov eax, dword [esi + 0x880]
lea ecx, [esp + 0x38]
push eax
push ecx
call fcn.12ec0fb0
add esp, 8
mov edx, dword [eax]
push edi
push ebp
push edx
push str.Disable_herithandles__ChildProcess___s____s____s_
push str.StdError_Blocked
mov dword [esp + 0x40], 0xd
call fcn.12eda250
add esp, 0x14
mov dword [esp + 0x2c], 0xffffffff
lea ecx, [esp + 0x38]
call fcn.12f472f0
mov ebp, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
pop edi
mov ecx, dword [eax]
and ecx, 2
cmp cl, 2
je 0x12f15ae4
mov eax, dword [ebp]
test eax, eax
je 0x12f15ae4
push eax
call fcn.12f5c050
add esp, 4
mov dword [ebp], 0
mov eax, dword [esp + 0xc]
test eax, eax
je 0x12f15af5
push eax
call fcn.12f5c050
add esp, 4
mov eax, dword [esp + 0x30]
mov ecx, 1
test al, 4
je 0x12f15b06
mov dword [esp + 0x10], ecx
test al, 0x40
je 0x12f15b0e
mov dword [esp + 0x10], ecx
test al, 0x80
je 0x12f15b16
mov dword [esp + 0x10], ecx
test ah, 4
je 0x12f15b1f
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x20]
mov dword [esi + 0x888], eax
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret