Function at 0x8e97b0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x9520eb
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x99986c]
xor eax, esp
mov dword [esp + 0x11c], eax
push ebx
push esi
mov eax, dword [0x99986c]
xor eax, esp
push eax
lea eax, [esp + 0x130]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x7c]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x14], edx
call fcn.0090a020
mov dword [esp + 0x138], 0
lea eax, [esp + 0x7c]
push eax
push esi
call fcn.00846890
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x88]
xor eax, eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
push esi
push edi
lea eax, [esp + 0x7c]
call fcn.008e9690
add esp, 0x14
mov dword [esp + 0x54], eax
test eax, eax
je 0x8e9991
mov eax, dword fs:[0x18]
mov edx, dword [eax + 0x30]
mov eax, dword [edx + 0x10]
push esi
mov esi, dword [0x982480]
lea ecx, [esp + 0x64]
push ecx
mov dword [esp + 0x20], eax
call esi
mov edx, dword [esp + 0x7c]
push edx
lea eax, [esp + 0x78]
push eax
call esi
push ebx
lea ecx, [esp + 0x5c]
push ecx
call esi
cmp dword [ebp + 0x1c], 0x10
jne 0x8e98ad
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0xc]
test eax, eax
je 0x8e9899
push eax
jmp 0x8e98af
mov ebx, dword [esp + 0x18]
mov ecx, dword [ebx + 0x70]
mov dword [esp + 0x24], ecx
mov edx, dword [ebx + 0x74]
mov dword [esp + 0x28], edx
jmp 0x8e98ba
push 0
lea eax, [esp + 0x28]
push eax
call esi
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 8]
test eax, eax
je 0x8e98cf
push eax
lea edx, [esp + 0x3c]
push edx
call esi
jmp 0x8e98dd
mov eax, dword [ebx + 0x78]
mov dword [esp + 0x38], eax
mov ecx, dword [ebx + 0x7c]
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 4]
test eax, eax
je 0x8e98f2
push eax
lea eax, [esp + 0x34]
push eax
call esi
jmp 0x8e9906
mov ecx, dword [ebx + 0x80]
mov dword [esp + 0x30], ecx
mov edx, dword [ebx + 0x84]
mov dword [esp + 0x34], edx
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x34]
test eax, eax
je 0x8e991b
push eax
lea ecx, [esp + 0x48]
push ecx
call esi
jmp 0x8e992f
mov edx, dword [ebx + 0x88]
mov dword [esp + 0x44], edx
mov eax, dword [ebx + 0x8c]
mov dword [esp + 0x48], eax
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x30]
push ecx
push 0
lea edx, [esp + 0x6c]
push edx
lea eax, [esp + 0x8c]
push eax
push 0
lea ecx, [esp + 0x80]
push ecx
lea edx, [esp + 0x34]
push edx
call dword [0x982a7c]
mov esi, eax
xor edx, edx
cmp esi, edx
jge 0x8e99ac
mov ecx, dword [esp + 0x14]
cmp ecx, edx
je 0x8e9983
push 0xffffffffffffffff
push str._Unable_to_create_process_parameters_for_VDM__
call fcn.0090a030
push esi
call dword [0x982354]
push eax
call dword [0x9822c8]
mov dword [esp + 0x138], 0xffffffff
lea ecx, [esp + 0x7c]
call fcn.009098c0
xor eax, eax
jmp 0x8e9c17
mov ecx, dword [esp + 0x1c]
test dword [ecx + 0x2c], 0x100
je 0x8e99d7
mov eax, dword [ecx + 0x38]
mov esi, dword [esp + 0x10]
mov dword [esi + 0x18], eax
mov eax, dword [ecx + 0x3c]
mov esi, dword [esp + 0x10]
mov dword [esi + 0x1c], eax
mov eax, dword [ecx + 0x40]
mov esi, dword [esp + 0x10]
mov dword [esi + 0x20], eax
cmp dword [ebp + 0x1c], 0x10
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x54]
mov dword [eax + 0x48], esi
mov eax, dword [ebp + 0x14]
je 0x8e99f3
and eax, 0xffffffe7
or eax, 0x8000000
test al, 8
je 0x8e9a07
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x10], 0xffffffff
jmp 0x8e9aa8
test al, 0x10
je 0x8e9a1b
mov eax, dword [esp + 0x10]
mov dword [eax + 0x10], 0xfffffffe
jmp 0x8e9aa8
test eax, 0x8000000
je 0x8e9a2f
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x10], 0xfffffffd
jmp 0x8e9aa8
mov eax, dword [ebx + 0x10]
mov esi, dword [esp + 0x10]
mov dword [esi + 0x10], eax
test dword [ecx + 0x2c], 0x100
jne 0x8e9aa8
mov eax, dword [ebp + 0x18]
cmp eax, edx
jne 0x8e9a57
mov ecx, dword [ebx + 0x18]
and ecx, 0x10000003
cmp ecx, 3
jne 0x8e9a65
mov ecx, dword [ebx + 0x18]
mov esi, dword [esp + 0x10]
mov dword [esi + 0x18], ecx
cmp eax, edx
jne 0x8e9a73
mov ecx, dword [ebx + 0x1c]
and ecx, 0x10000003
cmp ecx, 3
jne 0x8e9a81
mov ecx, dword [ebx + 0x1c]
mov esi, dword [esp + 0x10]
mov dword [esi + 0x1c], ecx
cmp eax, edx
jne 0x8e9a8e
mov eax, dword [ebx + 0x20]
and eax, 0x10000003
cmp eax, 3
jne 0x8e9a98
mov ecx, dword [ebx + 0x20]
mov eax, dword [esp + 0x10]
mov dword [eax + 0x20], ecx
mov ecx, dword [ebx + 8]
mov eax, dword [esp + 0x10]
and ecx, 0x100
or dword [eax + 8], ecx
mov eax, dword [esp + 0x10]
mov dword [eax + 0x2c], edx
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 4]
push 4
push 0x1000
lea ecx, [esp + 0x58]
push ecx
push edx
mov dword [esp + 0x30], edx
lea edx, [esp + 0x30]
push edx
push edi
mov dword [esp + 0x68], eax
call dword [0x982334]
mov ebx, eax
test ebx, ebx
jge 0x8e9b02
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x8e9af1
push 0xffffffffffffffff
push str._Unable_to_allocate_memory_for_process_parameters_in_VDM__
call fcn.0090a030
mov eax, dword [esp + 0x10]
push eax
call dword [0x982a78]
push ebx
jmp 0x8e9984
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x20]
mov esi, dword [0x9822e0]
push 0
push ecx
push eax
push edx
push edi
call esi
mov ebx, eax
test ebx, ebx
jge 0x8e9b32
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x8e9af1
push 0xffffffffffffffff
push str._Unable_to_write_process_parameters_to_VDM__
jmp 0x8e9aec
mov ecx, dword [esp + 0x10]
push ecx
call dword [0x982a78]
mov ebx, dword [esp + 0x4c]
push 0
push 4
lea edx, [esp + 0x28]
push edx
lea eax, [ebx + 0x10]
push eax
push edi
call esi
mov dword [esp + 0x18], eax
test eax, eax
jge 0x8e9b7f
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x8e9b71
push 0xffffffffffffffff
push str._Unable_to_set_process_parameters_in_VDMs_PEB__
call fcn.0090a030
mov eax, dword [esp + 0x18]
push eax
call fcn.00864f50
add esp, 4
jmp 0x8e9991
push 0
push 4
lea ecx, [esp + 0x48]
push ecx
lea edx, [ebx + 0x1e8]
push edx
push edi
mov dword [esp + 0x54], 0
call esi
mov dword [esp + 0x18], eax
test eax, eax
jge 0x8e9bb3
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x8e9b71
push 0xffffffffffffffff
push str._Unable_to_set_ShimData_pointer_in_VDMs_PEB__
jmp 0x8e9b68
xor eax, eax
cmp dword [ebp + 0x1c], 0x10
push 0
sete al
push 4
lea ecx, [esp + 0x34]
push ecx
add ebx, 0xb4
push ebx
push edi
add eax, 2
mov dword [esp + 0x40], eax
call esi
mov esi, eax
test esi, esi
jge 0x8e9bfe
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x8e9bf0
push 0xffffffffffffffff
push str._Unable_to_set_ImageSubsystem_in_VDMs_PEB__
call fcn.0090a030
push esi
call fcn.00864f50
add esp, 4
jmp 0x8e9991
mov dword [esp + 0x138], 0xffffffff
lea ecx, [esp + 0x7c]
call fcn.009098c0
mov eax, 1
mov ecx, dword [esp + 0x130]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.0091b0aa
mov esp, ebp
pop ebp
ret