Function at 0x10030890
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100565df
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x1006d050]
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.10032986
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.10033ff0
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 0x1003098c
lea eax, [esi + 0x3c]
push 0x80
push eax
lea eax, [edi + 0x34]
push eax
call fcn.10033ff0
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 0x100309e4
cmp dword [0x10095dd0], 0x10
mov ecx, 0x10095dbc
cmovae ecx, dword [0x10095dbc]
jmp 0x100309f5
cmp dword [esi + 0x148], 0x10
lea ecx, [esi + 0x134]
jb 0x100309f5
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 0x10030a00
sub edx, dword [ebp - 0x18]
push edx
push ecx
lea ecx, [edi + 0xc8]
call fcn.1000b290
cmp byte [esi + 0xdf], 0
jne 0x10030a35
cmp dword [0x10095de8], 0x10
mov ecx, 0x10095dd4
cmovae ecx, dword [0x10095dd4]
jmp 0x10030a46
cmp dword [esi + 0x160], 0x10
lea ecx, [esi + 0x14c]
jb 0x10030a46
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 0x10030a50
sub edx, dword [ebp - 0x18]
push edx
push ecx
lea ecx, [edi + 0xe0]
call fcn.1000b290
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 0x10030a91
xorps xmm0, xmm0
movups xmmword [esi + 0x18], xmm0
movups xmmword [esi + 0x28], xmm0
jmp 0x10030aae
lea edx, [esi + 0x18]
cmp eax, edx
sbb ecx, ecx
and ecx, 0xfffffff8
add ecx, 8
cmp edx, eax
ja 0x10030aae
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 [0x10095a50]
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.10032978
mov esp, ebp
pop ebp
ret 4