Function at 0x10030fe0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10054cff
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x1006c050]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x14], edi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x20], edi
push 0x20
movzx eax, word [esi + 0xdd]
mov word [edi], ax
mov byte [edi + 4], 0
mov dword [edi + 0xb4], 0
mov dword [edi + 0xb8], 0
call fcn.100330d6
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 0xb4], eax
mov dword [ebp - 4], 0
mov dword [edi + 0xc4], 0
mov dword [edi + 0xc8], 0
mov dword [edi + 0xd8], 0
mov dword [edi + 0xdc], 0xf
mov byte [edi + 0xc8], 0
mov dword [edi + 0xe0], 0
mov dword [edi + 0xf0], 0
mov dword [edi + 0xf4], 0xf
mov byte [edi + 0xe0], 0
mov byte [ebp - 4], 2
mov eax, dword [esi + 0x10]
mov dword [edi + 8], eax
lea eax, [esi + 0x18]
push 0x20
push eax
lea eax, [edi + 0x10]
push eax
call fcn.100346e0
movzx eax, word [esi + 0x38]
add esp, 0x10
mov word [edi + 0x30], ax
cmp byte [esi + 0xdc], 0
mov eax, dword [sym.CLEO.asi_missionLocals]
jne 0x100310dc
lea eax, [esi + 0x3c]
push 0x80
push eax
lea eax, [edi + 0x34]
push eax
call fcn.100346e0
movzx eax, byte [esi + 0xc5]
add esp, 0xc
mov byte [edi + 0xbc], al
mov ax, word [esi + 0xd0]
mov word [edi + 0xbe], ax
movzx eax, byte [esi + 0xd2]
mov byte [edi + 0xc0], al
cmp byte [esi + 0xdf], 0
jne 0x10031134
cmp dword [0x10094bd0], 0x10
mov ecx, 0x10094bbc
cmovae ecx, dword [0x10094bbc]
jmp 0x10031145
cmp dword [esi + 0x148], 0x10
lea ecx, [esi + 0x134]
jb 0x10031145
mov ecx, dword [ecx]
mov edx, ecx
lea eax, [edx + 1]
mov dword [ebp - 0x18], eax
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x10031150
sub edx, dword [ebp - 0x18]
push edx
push ecx
lea ecx, [edi + 0xc8]
call fcn.1000c130
cmp byte [esi + 0xdf], 0
jne 0x10031185
cmp dword [0x10094be8], 0x10
mov ecx, 0x10094bd4
cmovae ecx, dword [0x10094bd4]
jmp 0x10031196
cmp dword [esi + 0x160], 0x10
lea ecx, [esi + 0x14c]
jb 0x10031196
mov ecx, dword [ecx]
mov edx, ecx
lea eax, [edx + 1]
mov dword [ebp - 0x18], eax
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x100311a0
sub edx, dword [ebp - 0x18]
push edx
push ecx
lea ecx, [edi + 0xe0]
call fcn.1000c130
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
mov eax, dword [eax]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
cmp eax, dword [ecx]
lea eax, [esi + 0x38]
jne 0x100311e1
xorps xmm0, xmm0
movups xmmword [esi + 0x18], xmm0
movups xmmword [esi + 0x28], xmm0
jmp 0x100311fe
lea edx, [esi + 0x18]
cmp eax, edx
sbb ecx, ecx
and ecx, 0xfffffff8
add ecx, 8
cmp edx, eax
ja 0x100311fe
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0x1c]
lea eax, [esi + 0x38]
xor ecx, ecx
mov word [eax], cx
xor eax, eax
mov byte [esi + 0xc5], cl
movzx ecx, word [0x100947c0]
mov word [esi + 0xd0], ax
mov byte [esi + 0xd2], al
mov eax, edi
mov word [edi + 2], cx
mov word [esi + 0xdd], cx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100330c8
mov esp, ebp
pop ebp
ret 4