Function at 0xa6a3c0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xa8f93b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x25c
push ebx
push esi
push edi
lea ecx, [ebp - 0x268]
call fcn.00a155c0
mov esi, dword [ebp + 0x10]
lea eax, [ebp - 0x268]
push eax
push esi
mov dword [ebp - 4], 0
call fcn.009fa0f0
mov ecx, dword [ebp + 0x20]
add esp, 8
push ecx
push 0
lea ecx, [ebp - 0x268]
call fcn.00a15640
mov edi, dword [ebp + 8]
push eax
push esi
push edi
call fcn.00a6a7a0
add esp, 0x14
mov dword [ebp + 8], eax
test eax, eax
je 0xa6a752
mov ebx, dword fs:[0x18]
mov dword [ebp + 0x10], ebx
mov edx, dword [ebp + 0x10]
push esi
mov eax, dword [edx + 0x30]
mov ebx, dword [eax + 0x10]
lea eax, [ebp - 0x50]
push eax
call dword [0xaf5720]
lea ecx, [ebp - 0x268]
call fcn.00a15640
lea ecx, [ebp - 0x58]
push eax
push ecx
call dword [0xaf5720]
mov edx, dword [ebp + 0x14]
lea eax, [ebp - 0x48]
push edx
push eax
call dword [0xaf5720]
mov eax, dword [ebp + 0x1c]
mov esi, dword [ebp + 0x18]
cmp eax, 0x10
jne 0xa6a495
mov eax, dword [esi + 0xc]
test eax, eax
je 0xa6a487
push eax
jmp 0xa6a497
mov edx, dword [ebx + 0x70]
mov dword [ebp - 0x28], edx
mov eax, dword [ebx + 0x74]
mov dword [ebp - 0x24], eax
jmp 0xa6a4a1
push 0
lea ecx, [ebp - 0x28]
push ecx
call dword [0xaf5720]
mov eax, dword [esi + 8]
test eax, eax
je 0xa6a4b5
lea edx, [ebp - 0x40]
push eax
push edx
call dword [0xaf5720]
jmp 0xa6a4c1
mov eax, dword [ebx + 0x78]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebx + 0x7c]
mov dword [ebp - 0x3c], ecx
mov eax, dword [esi + 4]
test eax, eax
je 0xa6a4d5
lea edx, [ebp - 0x38]
push eax
push edx
call dword [0xaf5720]
jmp 0xa6a4e7
mov eax, dword [ebx + 0x80]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebx + 0x84]
mov dword [ebp - 0x34], ecx
mov esi, dword [esi + 0x34]
test esi, esi
je 0xa6a4fb
lea edx, [ebp - 0x30]
push esi
push edx
call dword [0xaf5720]
jmp 0xa6a50d
mov eax, dword [ebx + 0x88]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebx + 0x8c]
mov dword [ebp - 0x2c], ecx
lea edx, [ebp - 0x30]
lea eax, [ebp - 0x38]
push edx
lea ecx, [ebp - 0x40]
push eax
lea edx, [ebp - 0x28]
push ecx
push edx
lea eax, [ebp - 0x48]
push 0
lea ecx, [ebp - 0x58]
push eax
push ecx
lea edx, [ebp - 0x50]
push 0
lea eax, [ebp - 0x10]
push edx
push eax
call dword [0xaf570c]
xor ebx, ebx
mov dword [ebp + 0x10], eax
cmp eax, ebx
jge 0xa6a573
mov esi, dword [ebp + 0x20]
cmp esi, ebx
je 0xa6a56d
mov ecx, str._Unable_to_create_process_parameters_for_VDM__
test ecx, ecx
je 0xa6a55b
push ecx
call fcn.00a7e07a
add esp, 4
jmp 0xa6a55d
xor eax, eax
push eax
push str._Unable_to_create_process_parameters_for_VDM__
mov ecx, esi
call fcn.00a15880
mov eax, dword [ebp + 0x10]
push eax
jmp 0xa6a745
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
push 4
push 0x1000
mov dword [edx + 0x48], eax
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x10], 0xfffffffd
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x2c], ebx
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x18]
mov ecx, dword [eax + 4]
push edx
lea eax, [ebp - 0x14]
push ebx
push eax
push edi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ebx
call dword [0xaf5714]
mov esi, eax
cmp esi, ebx
jge 0xa6a5ee
mov edi, dword [ebp + 0x20]
cmp edi, ebx
je 0xa6a5df
mov ecx, str._Unable_to_allocate_memory_for_process_parameters_in_VDM__
test ecx, ecx
je 0xa6a5d0
push ecx
call fcn.00a7e07a
add esp, 4
jmp 0xa6a5d2
xor eax, eax
push eax
push str._Unable_to_allocate_memory_for_process_parameters_in_VDM__
mov ecx, edi
call fcn.00a15880
mov edx, dword [ebp - 0x10]
push edx
call dword [0xaf5704]
jmp 0xa6a744
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
push ebx
mov ecx, dword [eax + 4]
push ecx
push eax
push edx
push edi
call dword [0xaf56dc]
mov esi, eax
cmp esi, ebx
jge 0xa6a641
mov edi, dword [ebp + 0x20]
cmp edi, ebx
je 0xa6a632
mov eax, str._Unable_to_write_process_parameters_to_VDM__
test eax, eax
je 0xa6a623
push eax
call fcn.00a7e07a
add esp, 4
jmp 0xa6a625
xor eax, eax
push eax
push str._Unable_to_write_process_parameters_to_VDM__
mov ecx, edi
call fcn.00a15880
mov ecx, dword [ebp - 0x10]
push ecx
call dword [0xaf5704]
jmp 0xa6a744
mov edx, dword [ebp - 0x10]
push edx
call dword [0xaf5704]
mov esi, dword [ebp + 0xc]
push ebx
lea eax, [ebp - 0x14]
push 4
lea ecx, [esi + 0x10]
push eax
push ecx
push edi
call dword [0xaf56dc]
mov ebx, eax
xor eax, eax
cmp ebx, eax
jge 0xa6a694
mov esi, dword [ebp + 0x20]
cmp esi, eax
je 0xa6a68e
mov edx, str._Unable_to_set_process_parameters_in_VDMs_PEB__
test edx, edx
je 0xa6a681
push edx
call fcn.00a7e07a
add esp, 4
push eax
push str._Unable_to_set_process_parameters_in_VDMs_PEB__
mov ecx, esi
call fcn.00a15880
push ebx
jmp 0xa6a745
mov dword [ebp - 0x20], eax
push eax
lea eax, [ebp - 0x20]
push 4
lea ecx, [esi + 0x1e8]
push eax
push ecx
push edi
call dword [0xaf56dc]
mov ebx, eax
test ebx, ebx
jge 0xa6a6ed
mov esi, dword [ebp + 0x20]
test esi, esi
je 0xa6a6ea
mov edx, str._Unable_to_set_ShimData_pointer_in_VDMs_PEB__
test edx, edx
je 0xa6a6db
push edx
call fcn.00a7e07a
add esp, 4
mov ecx, esi
push eax
push str._Unable_to_set_ShimData_pointer_in_VDMs_PEB__
call fcn.00a15880
push ebx
jmp 0xa6a745
xor eax, eax
mov ecx, esi
push eax
push str._Unable_to_set_ShimData_pointer_in_VDMs_PEB__
call fcn.00a15880
push ebx
jmp 0xa6a745
mov ebx, dword [ebp + 0x1c]
xor eax, eax
cmp ebx, 0x10
push 0
sete al
lea ecx, [ebp - 0x1c]
push 4
add esi, 0xb4
push ecx
add eax, 2
push esi
push edi
mov dword [ebp - 0x1c], eax
call dword [0xaf56dc]
mov esi, eax
test esi, esi
jge 0xa6a777
mov edi, dword [ebp + 0x20]
test edi, edi
je 0xa6a744
mov edx, str._Unable_to_set_ImageSubsystem_in_VDMs_PEB__
test edx, edx
je 0xa6a735
push edx
call fcn.00a7e07a
add esp, 4
jmp 0xa6a737
xor eax, eax
push eax
push str._Unable_to_set_ImageSubsystem_in_VDMs_PEB__
mov ecx, edi
call fcn.00a15880
push esi
call dword [0xaf5728]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea ecx, [ebp - 0x268]
mov dword [ebp - 4], 0xffffffff
call fcn.00a155e0
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x268]
mov dword [ebp - 4], 0xffffffff
call fcn.00a155e0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret