Function at 0xf055013
Capabilities:
Get process heap flags

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword fs:[0x18]
mov ebx, dword [eax + 0xf18]
add ebx, 0x2d8
call dword [0xf0651a4]
push 1
mov dword [ebp - 0xc], eax
call dword [0xf065194]
push eax
xor eax, eax
mov ax, word [ebx + 0x94]
push eax
call sym.ntvdm.exe_VdmMapFlat
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0xb0]
mov dword [ebp - 0x40], eax
mov eax, dword [ebx + 0xa4]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebx + 0xa8]
mov dword [ebp - 0x34], eax
mov eax, dword [ebx + 0x9c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebx + 0xa0]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx + 0xb4]
mov edi, dword [ebx + 0xac]
mov esi, dword [ebx + 0xc0]
mov dword [ebp - 0x28], eax
mov eax, dword [ebx + 0xb8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0xc4]
mov dword [ebp - 0x20], eax
mov ax, word [ebx + 0xbc]
mov word [ebp - 0x18], ax
mov ax, word [ebx + 0x98]
mov word [ebp - 0x12], ax
mov ax, word [ebx + 0x94]
mov word [ebp - 0x14], ax
mov ax, word [ebx + 0x90]
mov word [ebp - 0x10], ax
mov ax, word [ebx + 0x8c]
mov word [ebp - 0xe], ax
mov ax, word [ebx + 0xc8]
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x16], ax
call fcn.0f00524c
movzx eax, word [0xf09c176]
push dword [ebp - 4]
mov dword [ebx + 0xbc], eax
mov ax, word [0xf09c174]
mov word [ebx + 0xb8], ax
call fcn.0f05480b
mov ecx, dword [ebp - 4]
mov ax, word [ecx + 0x30]
test ax, ax
jne 0xf05515d
cmp word [ecx + 0x2e], ax
jne 0xf05515d
movzx eax, word [0xf09c184]
mov dword [ebx + 0xc8], eax
mov eax, dword [0xf09c17c]
mov ax, word [eax]
mov word [ebx + 0xc4], ax
mov eax, dword [0xf09c17c]
mov dx, word [0xf09c17a]
sub word [eax], dx
mov dword [ebp - 8], 1
jmp 0xf055175
and dword [ebp - 8], 0
movzx eax, ax
mov dword [ebx + 0xc8], eax
mov ax, word [ecx + 0x2e]
mov word [ebx + 0xc4], ax
cmp word [ebp - 0x38], 0
je 0xf0551c9
push 1
push dword [ebp - 0xc]
add edi, edi
push dword [ebp - 0x16]
sub word [ebx + 0xc4], di
call sym.ntvdm.exe_VdmMapFlat
mov esi, eax
movzx eax, word [ebx + 0xc4]
push 0
push eax
xor eax, eax
mov ax, word [ebx + 0xc8]
push eax
call sym.ntvdm.exe_VdmMapFlat
movzx ecx, di
mov edi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x38]
mov ecx, dword [ebp - 4]
movzx eax, byte [ebp + 8]
sub eax, 0
je 0xf0551fe
dec eax
je 0xf0551eb
dec eax
jne 0xf055206
movzx eax, word [ecx + 0x2a]
push eax
xor eax, eax
mov ax, word [ecx + 0x2c]
push eax
call fcn.0f055680
jmp 0xf055206
movzx eax, word [ecx + 0x2a]
push eax
xor eax, eax
mov ax, word [ecx + 0x2c]
push eax
call fcn.0f0555e2
jmp 0xf055206
push dword [ebp - 0x3c]
call fcn.0f055512
call sym.ntvdm.exe_VDDSimulate16
cmp dword [ebp - 8], 0
je 0xf055220
mov eax, dword [0xf09c17c]
mov cx, word [0xf09c17a]
add word [eax], cx
push dword [ebp - 4]
call fcn.0f054774
call fcn.0f0051fa
mov eax, dword [ebp - 0x40]
mov dword [ebx + 0xb0], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebx + 0xa4], eax
mov eax, dword [ebp - 0x34]
mov dword [ebx + 0xa8], eax
mov eax, dword [ebp - 0x30]
mov dword [ebx + 0x9c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebx + 0xa0], eax
mov eax, dword [ebp - 0x28]
mov dword [ebx + 0xb4], eax
mov eax, dword [ebp - 0x24]
mov dword [ebx + 0xb8], eax
mov eax, dword [ebp - 0x20]
mov dword [ebx + 0xc4], eax
movzx eax, word [ebp - 0x18]
mov dword [ebx + 0xbc], eax
movzx eax, word [ebp - 0x12]
mov dword [ebx + 0x98], eax
movzx eax, word [ebp - 0x14]
mov dword [ebx + 0x94], eax
movzx eax, word [ebp - 0x10]
mov dword [ebx + 0x90], eax
movzx eax, word [ebp - 0xe]
mov dword [ebx + 0x8c], eax
movzx eax, word [ebp - 0x16]
mov dword [ebx + 0xac], edi
and esi, 0xfffffffe
pop edi
mov dword [ebx + 0xc0], esi
pop esi
mov dword [ebx + 0xc8], eax
pop ebx
leave
ret 4