Function at 0x12f150a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1306ae80
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 0x12f150f1
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 0x12f15185
lea ecx, [esi + 0x420]
lea edx, [esi + 0x10]
lea edi, [esi + 0x830]
push ecx
push edx
push edi
push eax
mov ecx, 0x131c0830
call fcn.12ecaeb0
test eax, eax
je 0x12f15185
cmp dword [0x13198f68], ebx
je 0x12f1514c
mov eax, dword [esi + 0x884]
push edi
push eax
push 0x1316a390
push str.Inject
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x14
lea ecx, [esp + 0x34]
push ecx
mov ecx, 0x131c0830
call fcn.12ebf940
mov eax, dword [eax]
push 0x27
push eax
push edi
mov dword [esp + 0x38], ebx
call fcn.12f5c4ab
add esp, 0xc
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], 0xffffffff
call fcn.12f47220
mov eax, dword [esp + 0x40]
or dword [eax], 1
mov al, byte [esi + 0xc]
mov ebx, 0x1388
test al, 2
je 0x12f15198
call fcn.12f15f70
mov ebx, eax
mov eax, dword [0x13198f68]
test eax, eax
je 0x12f151c3
mov edx, dword [esi + 0x88c]
mov eax, dword [esi + 0x880]
push edx
push eax
push 0x1316a314
push str.procidentifytype
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x14
push ebx
push esi
call fcn.12e6fc70
mov dword [esp + 0x3c], eax
mov eax, dword [0x13198f68]
add esp, 8
test eax, eax
je 0x12f151fc
mov ecx, dword [esi + 0x88c]
mov edx, dword [esi + 0x880]
push ecx
push edx
push 0x1316a298
push str.procidentifytype
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x14
mov eax, dword [0x1319990c]
test eax, eax
jne 0x12f153ca
cmp dword [esi + 0x880], 2
jne 0x12f153ca
mov eax, dword [esp + 0x44]
test eax, eax
je 0x12f153ca
push 0xffffffffffffffff
mov ecx, 0x131c0830
call fcn.12ec0e80
test eax, eax
je 0x12f153ca
push 0x410
call fcn.12f5bf8b
push 0x410
mov dword [ebp], eax
call fcn.12f5bf8b
mov edi, dword [ebp]
add esp, 8
test edi, edi
mov dword [esp + 0x10], eax
je 0x12f153ca
test eax, eax
je 0x12f153ca
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, 0x131c0830
call fcn.12ec3350
test eax, eax
je 0x12f153ca
mov ecx, dword [ebp]
push ecx
mov ecx, 0x131a8f48
call fcn.12e07070
mov edx, dword [ebp]
push eax
push edx
mov ecx, 0x131c0830
call fcn.12ec43d0
mov ebp, eax
neg ebp
sbb ebp, ebp
inc ebp
je 0x12f152f8
lea ecx, [esp + 0x44]
call fcn.12ebade0
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 0x12f152e7
xor ebp, ebp
lea ecx, [esp + 0x44]
mov dword [esp + 0x2c], 0xffffffff
call fcn.12ebae00
mov eax, dword [0x13198f68]
test eax, eax
je 0x12f1531d
mov edx, dword [esp + 0x3c]
mov eax, dword [edx]
push eax
push ebp
push 0x1316a228
push str.SCDT
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x14
test ebp, ebp
je 0x12f153c6
mov ebp, dword [esp + 0x10]
push 0x207
push edi
push ebp
call fcn.12f5c4ab
mov ecx, dword [esp + 0x48]
push 0x103
mov edx, dword [ecx]
push edx
push edi
call fcn.12f5c4ab
mov eax, dword [esp + 0x30]
push ebx
push esi
mov dword [esi + 0x880], eax
call fcn.12e6fc70
mov ecx, dword [esi + 0x880]
mov edx, 2
add esp, 0x20
cmp ecx, edx
jne 0x12f15376
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x34], eax
or dword [ecx], edx
jmp 0x12f1537c
mov dword [esi + 0x880], edx
mov eax, dword [0x13198f68]
test eax, eax
je 0x12f153b7
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 0x1316a1a0
push str.softmgr
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x20
push 0x103
push ebp
push edi
call fcn.12f5c4ab
add esp, 0xc
mov ebp, dword [esp + 0x3c]
mov ebx, dword [esp + 0x38]
test ebx, ebx
je 0x12f159ee
lea edi, [esi + 0x420]
lea ebp, [esi + 0x10]
push edi
push ebp
call fcn.12f14dc0
add esp, 8
test eax, eax
je 0x12f159ea
push 0xffffffffffffffff
mov ecx, 0x131c0830
call fcn.12ec0e80
test eax, eax
je 0x12f15635
push 0xffffffffffffffff
mov ecx, 0x131c0830
call fcn.12ec0e80
cmp eax, 2
je 0x12f15635
push 0xffffffffffffffff
mov ecx, 0x131c0830
call fcn.12ec0e80
cmp eax, 1
je 0x12f15440
push 0xffffffffffffffff
mov ecx, 0x131c0830
call fcn.12ec0e80
cmp eax, 4
jne 0x12f159ea
mov eax, dword [esi + 0x880]
test eax, eax
je 0x12f15453
cmp eax, 2
jne 0x12f159ea
and ebx, 4
mov dword [esp + 0x1c], ebx
je 0x12f1552d
mov eax, dword [esp + 0x40]
mov ecx, dword [eax]
or ecx, 8
mov dword [eax], ecx
mov eax, dword [0x13198f68]
test eax, eax
je 0x12f154e0
mov ecx, dword [esi + 0x880]
lea edx, [esp + 0x18]
push ecx
push edx
call fcn.12ec0fa0
mov ebx, eax
lea eax, [esp + 0x4c]
mov dword [esp + 0x34], 0xe
push eax
call fcn.12ec1090
add esp, 0xc
mov ecx, dword [ebx]
mov edx, dword [eax]
push edi
push ebp
push ecx
push edx
push 0x1316a130
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.12f47220
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0xffffffff
call fcn.12f47220
mov ebx, dword [esp + 0x1c]
mov eax, dword [0x131bf428]
test eax, eax
je 0x12f1552d
mov eax, dword [esi + 0x880]
lea ecx, [esp + 0x44]
push eax
push ecx
call fcn.12ec0fa0
add esp, 8
mov edx, dword [eax]
push edi
push ebp
push edx
push 0x1316a0f8
push 0x1316a0d4
mov dword [esp + 0x40], 0x10
call fcn.12eda240
add esp, 0x14
lea ecx, [esp + 0x44]
mov dword [esp + 0x2c], 0xffffffff
call fcn.12f47220
test byte [esp + 0x38], 1
jne 0x12f15541
call fcn.12d92100
test eax, eax
je 0x12f159ea
call fcn.12d92100
test eax, eax
je 0x12f159ea
test ebx, ebx
jne 0x12f159ea
push 0xfffffffffffffff6
call fcn.12f15020
add esp, 4
test eax, eax
je 0x12f159ea
mov eax, dword [esp + 0x40]
mov ecx, dword [eax]
or ecx, 8
mov dword [eax], ecx
mov eax, dword [0x13198f68]
test eax, eax
je 0x12f155e4
mov eax, dword [esi + 0x880]
lea ecx, [esp + 0x44]
push eax
push ecx
call fcn.12ec0fa0
mov ebx, eax
lea edx, [esp + 0x40]
mov dword [esp + 0x34], 0x11
push edx
call fcn.12ec1090
add esp, 0xc
mov ecx, dword [ebx]
mov edx, dword [eax]
push edi
push ebp
push ecx
push edx
push 0x1316a130
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.12f47220
lea ecx, [esp + 0x44]
mov dword [esp + 0x2c], 0xffffffff
call fcn.12f47220
mov eax, dword [0x131bf428]
test eax, eax
je 0x12f159ea
mov eax, dword [esi + 0x880]
lea ecx, [esp + 0x38]
push eax
push ecx
call fcn.12ec0fa0
add esp, 8
mov edx, dword [eax]
push edi
push ebp
push edx
push 0x1316a070
push 0x1316a0d4
mov dword [esp + 0x40], 0x13
call fcn.12eda240
add esp, 0x14
mov dword [esp + 0x2c], 0xffffffff
lea ecx, [esp + 0x38]
jmp 0x12f159e5
mov eax, dword [esi + 0x880]
cmp eax, 1
je 0x12f15649
cmp eax, 4
jne 0x12f159ea
mov eax, ebx
mov ebx, dword [esp + 0x40]
and eax, 2
mov dword [esp + 0x18], eax
je 0x12f15725
mov ecx, dword [ebx]
or ecx, 4
mov dword [ebx], ecx
mov eax, dword [0x13198f68]
test eax, eax
je 0x12f156d8
mov eax, dword [esi + 0x880]
lea ecx, [esp + 0x1c]
push eax
push ecx
call fcn.12ec0fa0
mov ebx, eax
lea edx, [esp + 0x4c]
mov dword [esp + 0x34], 2
push edx
call fcn.12ec1090
add esp, 0xc
mov ecx, dword [ebx]
mov edx, dword [eax]
push edi
push ebp
push ecx
push edx
push 0x13169ffc
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.12f47220
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2c], 0xffffffff
call fcn.12f47220
mov ebx, dword [esp + 0x40]
mov eax, dword [0x131bf428]
test eax, eax
je 0x12f15725
mov eax, dword [esi + 0x880]
lea ecx, [esp + 0x44]
push eax
push ecx
call fcn.12ec0fa0
add esp, 8
mov edx, dword [eax]
push edi
push ebp
push edx
push 0x1316a0f8
push 0x13169fd8
mov dword [esp + 0x40], 4
call fcn.12eda240
add esp, 0x14
lea ecx, [esp + 0x44]
mov dword [esp + 0x2c], 0xffffffff
call fcn.12f47220
mov eax, dword [esp + 0x38]
and eax, 8
mov dword [esp + 0x20], eax
je 0x12f157fb
mov ecx, dword [ebx]
or ecx, 0x10
mov dword [ebx], ecx
mov eax, dword [0x13198f68]
test eax, eax
je 0x12f157ae
mov eax, dword [esi + 0x880]
lea ecx, [esp + 0x1c]
push eax
push ecx
call fcn.12ec0fa0
mov ebx, eax
lea edx, [esp + 0x4c]
mov dword [esp + 0x34], 5
push edx
call fcn.12ec1090
add esp, 0xc
mov ecx, dword [ebx]
mov edx, dword [eax]
push edi
push ebp
push ecx
push edx
push 0x13169f68
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.12f47220
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2c], 0xffffffff
call fcn.12f47220
mov eax, dword [0x131bf428]
test eax, eax
je 0x12f157fb
mov eax, dword [esi + 0x880]
lea ecx, [esp + 0x44]
push eax
push ecx
call fcn.12ec0fa0
add esp, 8
mov edx, dword [eax]
push edi
push ebp
push edx
push 0x1316a0f8
push 0x13169f44
mov dword [esp + 0x40], 7
call fcn.12eda240
add esp, 0x14
lea ecx, [esp + 0x44]
mov dword [esp + 0x2c], 0xffffffff
call fcn.12f47220
test byte [esp + 0x38], 1
jne 0x12f1580f
call fcn.12d92100
test eax, eax
je 0x12f159ea
call fcn.12d92100
test eax, eax
je 0x12f159ea
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x12f15903
push 0xfffffffffffffff5
call fcn.12f15020
add esp, 4
test eax, eax
je 0x12f15903
mov eax, dword [esp + 0x40]
mov ecx, dword [eax]
or ecx, 4
mov dword [eax], ecx
mov eax, dword [0x13198f68]
test eax, eax
je 0x12f158b6
mov eax, dword [esi + 0x880]
lea ecx, [esp + 0x44]
push eax
push ecx
call fcn.12ec0fa0
mov ebx, eax
lea edx, [esp + 0x40]
mov dword [esp + 0x34], 8
push edx
call fcn.12ec1090
add esp, 0xc
mov ecx, dword [ebx]
mov edx, dword [eax]
push edi
push ebp
push ecx
push edx
push 0x13169ffc
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.12f47220
lea ecx, [esp + 0x44]
mov dword [esp + 0x2c], 0xffffffff
call fcn.12f47220
mov eax, dword [0x131bf428]
test eax, eax
je 0x12f15903
mov eax, dword [esi + 0x880]
lea ecx, [esp + 0x38]
push eax
push ecx
call fcn.12ec0fa0
add esp, 8
mov edx, dword [eax]
push edi
push ebp
push edx
push 0x13169ee0
push 0x13169fd8
mov dword [esp + 0x40], 0xa
call fcn.12eda240
add esp, 0x14
lea ecx, [esp + 0x38]
mov dword [esp + 0x2c], 0xffffffff
call fcn.12f47220
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x12f159ea
push 0xfffffffffffffff4
call fcn.12f15020
add esp, 4
test eax, eax
je 0x12f159ea
mov eax, dword [esp + 0x40]
mov ecx, dword [eax]
or ecx, 0x10
mov dword [eax], ecx
mov eax, dword [0x13198f68]
test eax, eax
je 0x12f1599d
mov eax, dword [esi + 0x880]
lea ecx, [esp + 0x44]
push eax
push ecx
call fcn.12ec0fa0
mov ebx, eax
lea edx, [esp + 0x40]
mov dword [esp + 0x34], 0xb
push edx
call fcn.12ec1090
add esp, 0xc
mov ecx, dword [ebx]
mov edx, dword [eax]
push edi
push ebp
push ecx
push edx
push 0x13169f68
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.12f47220
lea ecx, [esp + 0x44]
mov dword [esp + 0x2c], 0xffffffff
call fcn.12f47220
mov eax, dword [0x131bf428]
test eax, eax
je 0x12f159ea
mov eax, dword [esi + 0x880]
lea ecx, [esp + 0x38]
push eax
push ecx
call fcn.12ec0fa0
add esp, 8
mov edx, dword [eax]
push edi
push ebp
push edx
push 0x1316a070
push 0x13169f44
mov dword [esp + 0x40], 0xd
call fcn.12eda240
add esp, 0x14
mov dword [esp + 0x2c], 0xffffffff
lea ecx, [esp + 0x38]
call fcn.12f47220
mov ebp, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
pop edi
mov ecx, dword [eax]
and ecx, 2
cmp cl, 2
je 0x12f15a14
mov eax, dword [ebp]
test eax, eax
je 0x12f15a14
push eax
call fcn.12f5bf80
add esp, 4
mov dword [ebp], 0
mov eax, dword [esp + 0xc]
test eax, eax
je 0x12f15a25
push eax
call fcn.12f5bf80
add esp, 4
mov eax, dword [esp + 0x30]
mov ecx, 1
test al, 4
je 0x12f15a36
mov dword [esp + 0x10], ecx
test al, 0x40
je 0x12f15a3e
mov dword [esp + 0x10], ecx
test al, 0x80
je 0x12f15a46
mov dword [esp + 0x10], ecx
test ah, 4
je 0x12f15a4f
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