Function at 0x1d09170
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1d70b7b
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x1dbb89c]
xor eax, esp
mov dword [esp + 0x11c], eax
push ebx
push esi
mov eax, dword [0x1dbb89c]
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 + 0x18], ecx
lea ecx, [esp + 0x7c]
mov dword [esp + 0x48], eax
mov dword [esp + 0x10], edx
call fcn.01d26ef0
mov dword [esp + 0x138], 0
lea eax, [esp + 0x7c]
push eax
push esi
call fcn.01c56c30
mov ecx, dword [esp + 0x18]
xor eax, eax
push ecx
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x7c], eax
push esi
push edi
lea eax, [esp + 0x78]
call fcn.01d09050
add esp, 0x14
mov dword [esp + 0x50], eax
test eax, eax
je 0x1d09352
mov eax, dword fs:[0x18]
mov edx, dword [eax + 0x30]
mov eax, dword [edx + 0x10]
push esi
mov esi, dword [0x1da3ca0]
lea ecx, [esp + 0x60]
push ecx
mov dword [esp + 0x1c], eax
call esi
mov edx, dword [esp + 0x7c]
push edx
lea eax, [esp + 0x78]
push eax
call esi
push ebx
lea ecx, [esp + 0x58]
push ecx
call esi
cmp dword [ebp + 0x1c], 0x10
jne 0x1d09271
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0xc]
test eax, eax
je 0x1d0925d
push eax
jmp 0x1d09273
mov ebx, dword [esp + 0x14]
mov ecx, dword [ebx + 0x70]
mov dword [esp + 0x20], ecx
mov edx, dword [ebx + 0x74]
mov dword [esp + 0x24], edx
jmp 0x1d0927e
push 0
lea eax, [esp + 0x24]
push eax
call esi
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 8]
test eax, eax
je 0x1d09293
push eax
lea edx, [esp + 0x38]
push edx
call esi
jmp 0x1d092a1
mov eax, dword [ebx + 0x78]
mov dword [esp + 0x34], eax
mov ecx, dword [ebx + 0x7c]
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 4]
test eax, eax
je 0x1d092b6
push eax
lea eax, [esp + 0x30]
push eax
call esi
jmp 0x1d092ca
mov ecx, dword [ebx + 0x80]
mov dword [esp + 0x2c], ecx
mov edx, dword [ebx + 0x84]
mov dword [esp + 0x30], edx
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x34]
test eax, eax
je 0x1d092df
push eax
lea ecx, [esp + 0x44]
push ecx
call esi
jmp 0x1d092f3
mov edx, dword [ebx + 0x88]
mov dword [esp + 0x40], edx
mov eax, dword [ebx + 0x8c]
mov dword [esp + 0x44], eax
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x2c]
push ecx
push 0
lea edx, [esp + 0x68]
push edx
lea eax, [esp + 0x8c]
push eax
push 0
lea ecx, [esp + 0x7c]
push ecx
lea edx, [esp + 0x30]
push edx
call dword [0x1da4320]
mov esi, eax
xor edx, edx
cmp esi, edx
jge 0x1d0936d
mov ecx, dword [esp + 0x10]
cmp ecx, edx
je 0x1d09344
push 0xffffffffffffffff
push str._Unable_to_create_process_parameters_for_VDM__
call fcn.01d26f00
push esi
call dword [0x1da3bb0]
push eax
call dword [0x1da3b34]
mov dword [esp + 0x138], 0xffffffff
lea ecx, [esp + 0x7c]
call fcn.01d26680
xor eax, eax
jmp 0x1d095d8
mov ecx, dword [esp + 0x18]
test dword [ecx + 0x2c], 0x100
je 0x1d09398
mov eax, dword [ecx + 0x38]
mov esi, dword [esp + 0xc]
mov dword [esi + 0x18], eax
mov eax, dword [ecx + 0x3c]
mov esi, dword [esp + 0xc]
mov dword [esi + 0x1c], eax
mov eax, dword [ecx + 0x40]
mov esi, dword [esp + 0xc]
mov dword [esi + 0x20], eax
cmp dword [ebp + 0x1c], 0x10
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 0x50]
mov dword [eax + 0x48], esi
mov eax, dword [ebp + 0x14]
je 0x1d093b4
and eax, 0xffffffe7
or eax, 0x8000000
test al, 8
je 0x1d093c8
mov ecx, dword [esp + 0xc]
mov dword [ecx + 0x10], 0xffffffff
jmp 0x1d09469
test al, 0x10
je 0x1d093dc
mov eax, dword [esp + 0xc]
mov dword [eax + 0x10], 0xfffffffe
jmp 0x1d09469
test eax, 0x8000000
je 0x1d093f0
mov ecx, dword [esp + 0xc]
mov dword [ecx + 0x10], 0xfffffffd
jmp 0x1d09469
mov eax, dword [ebx + 0x10]
mov esi, dword [esp + 0xc]
mov dword [esi + 0x10], eax
test dword [ecx + 0x2c], 0x100
jne 0x1d09469
mov eax, dword [ebp + 0x18]
cmp eax, edx
jne 0x1d09418
mov ecx, dword [ebx + 0x18]
and ecx, 0x10000003
cmp ecx, 3
jne 0x1d09426
mov ecx, dword [ebx + 0x18]
mov esi, dword [esp + 0xc]
mov dword [esi + 0x18], ecx
cmp eax, edx
jne 0x1d09434
mov ecx, dword [ebx + 0x1c]
and ecx, 0x10000003
cmp ecx, 3
jne 0x1d09442
mov ecx, dword [ebx + 0x1c]
mov esi, dword [esp + 0xc]
mov dword [esi + 0x1c], ecx
cmp eax, edx
jne 0x1d0944f
mov eax, dword [ebx + 0x20]
and eax, 0x10000003
cmp eax, 3
jne 0x1d09459
mov ecx, dword [ebx + 0x20]
mov eax, dword [esp + 0xc]
mov dword [eax + 0x20], ecx
mov ecx, dword [ebx + 8]
mov eax, dword [esp + 0xc]
and ecx, 0x100
or dword [eax + 8], ecx
mov eax, dword [esp + 0xc]
mov dword [eax + 0x2c], edx
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 4]
push 4
push 0x1000
lea ecx, [esp + 0x54]
push ecx
push edx
mov dword [esp + 0x2c], edx
lea edx, [esp + 0x2c]
push edx
push edi
mov dword [esp + 0x64], eax
call dword [0x1da3b80]
mov ebx, eax
test ebx, ebx
jge 0x1d094c3
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x1d094b2
push 0xffffffffffffffff
push str._Unable_to_allocate_memory_for_process_parameters_in_VDM__
call fcn.01d26f00
mov eax, dword [esp + 0xc]
push eax
call dword [0x1da431c]
push ebx
jmp 0x1d09345
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x1c]
mov esi, dword [0x1da3b3c]
push 0
push ecx
push eax
push edx
push edi
call esi
mov ebx, eax
test ebx, ebx
jge 0x1d094f3
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x1d094b2
push 0xffffffffffffffff
push str._Unable_to_write_process_parameters_to_VDM__
jmp 0x1d094ad
mov ecx, dword [esp + 0xc]
push ecx
call dword [0x1da431c]
mov ebx, dword [esp + 0x48]
push 0
push 4
lea edx, [esp + 0x24]
push edx
lea eax, [ebx + 0x10]
push eax
push edi
call esi
mov dword [esp + 0x14], eax
test eax, eax
jge 0x1d09540
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x1d09532
push 0xffffffffffffffff
push str._Unable_to_set_process_parameters_in_VDMs_PEB__
call fcn.01d26f00
mov eax, dword [esp + 0x14]
push eax
call fcn.01c78010
add esp, 4
jmp 0x1d09352
push 0
push 4
lea ecx, [esp + 0x44]
push ecx
lea edx, [ebx + 0x1e8]
push edx
push edi
mov dword [esp + 0x50], 0
call esi
mov dword [esp + 0x14], eax
test eax, eax
jge 0x1d09574
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x1d09532
push 0xffffffffffffffff
push str._Unable_to_set_ShimData_pointer_in_VDMs_PEB__
jmp 0x1d09529
xor eax, eax
cmp dword [ebp + 0x1c], 0x10
push 0
sete al
push 4
lea ecx, [esp + 0x30]
push ecx
add ebx, 0xb4
push ebx
push edi
add eax, 2
mov dword [esp + 0x3c], eax
call esi
mov esi, eax
test esi, esi
jge 0x1d095bf
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x1d095b1
push 0xffffffffffffffff
push str._Unable_to_set_ImageSubsystem_in_VDMs_PEB__
call fcn.01d26f00
push esi
call fcn.01c78010
add esp, 4
jmp 0x1d09352
mov dword [esp + 0x138], 0xffffffff
lea ecx, [esp + 0x7c]
call fcn.01d26680
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.01d389aa
mov esp, ebp
pop ebp
ret