Function at 0xf05530d
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 [0xf0661ac]
push 1
mov dword [ebp - 0xc], eax
call dword [0xf06619c]
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.0f00528c
movzx eax, word [0xf09d1b6]
push dword [ebp - 4]
mov dword [ebx + 0xbc], eax
mov ax, word [0xf09d1b4]
mov word [ebx + 0xb8], ax
call fcn.0f054b05
mov ecx, dword [ebp - 4]
mov ax, word [ecx + 0x30]
test ax, ax
jne 0xf055457
cmp word [ecx + 0x2e], ax
jne 0xf055457
movzx eax, word [0xf09d1c4]
mov dword [ebx + 0xc8], eax
mov eax, dword [0xf09d1bc]
mov ax, word [eax]
mov word [ebx + 0xc4], ax
mov eax, dword [0xf09d1bc]
mov dx, word [0xf09d1ba]
sub word [eax], dx
mov dword [ebp - 8], 1
jmp 0xf05546f
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 0xf0554c3
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 0xf0554f8
dec eax
je 0xf0554e5
dec eax
jne 0xf055500
movzx eax, word [ecx + 0x2a]
push eax
xor eax, eax
mov ax, word [ecx + 0x2c]
push eax
call fcn.0f05597a
jmp 0xf055500
movzx eax, word [ecx + 0x2a]
push eax
xor eax, eax
mov ax, word [ecx + 0x2c]
push eax
call fcn.0f0558dc
jmp 0xf055500
push dword [ebp - 0x3c]
call fcn.0f05580c
call sym.ntvdm.exe_VDDSimulate16
cmp dword [ebp - 8], 0
je 0xf05551a
mov eax, dword [0xf09d1bc]
mov cx, word [0xf09d1ba]
add word [eax], cx
push dword [ebp - 4]
call fcn.0f054a6e
call fcn.0f00523a
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