Function at 0x100293f
Capabilities:
Get process heap force flags

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x1004028]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0x10014fc
mov dword [ebp - 0x21c], eax
push edi
lea eax, [ebp - 0x214]
xor ebx, ebx
push eax
mov dword [ebp - 0x218], edi
xor esi, esi
mov dword [ebp - 0x214], ebx
call fcn.0100341d
mov dword [ebp - 0x210], eax
cmp eax, ebx
jne 0x1002b93
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push 0x44
push ebx
push dword [eax + 0x18]
call dword [0x1001150]
mov esi, eax
cmp esi, ebx
jne 0x10029bd
mov dword [ebp - 0x210], 0xe
jmp 0x1002b93
push 0x44
push ebx
push esi
call fcn.010037ac
add esp, 0xc
lea eax, [esi + 0x24]
push eax
call dword [0x1001088]
push edi
lea eax, [esi + 0xc]
push eax
mov dword [esi + 8], 1
call fcn.0100317d
mov dword [ebp - 0x210], eax
cmp eax, ebx
jne 0x1002b93
mov edi, 0x208
push edi
lea eax, [ebp - 0x20c]
push eax
push 0x10014ec
push dword [ebp - 0x214]
call fcn.0100348d
mov dword [ebp - 0x210], eax
cmp eax, ebx
jne 0x1002b93
lea eax, [ebp - 0x20c]
push eax
lea eax, [esi + 0x14]
push eax
call fcn.0100317d
mov dword [ebp - 0x210], eax
cmp eax, ebx
jne 0x1002b93
push edi
lea eax, [ebp - 0x20c]
push eax
push 0x10014e4
push dword [ebp - 0x214]
call fcn.01002ff8
mov dword [ebp - 0x210], eax
cmp eax, ebx
jne 0x1002b93
lea eax, [ebp - 0x20c]
push eax
lea eax, [esi + 0x18]
push eax
call fcn.010031d7
mov dword [ebp - 0x210], eax
cmp eax, ebx
jne 0x1002b93
push edi
lea eax, [ebp - 0x20c]
push eax
push 0x10014dc
push dword [ebp - 0x214]
call fcn.01002ff8
mov dword [ebp - 0x210], eax
cmp eax, ebx
jne 0x1002b93
lea eax, [ebp - 0x20c]
push eax
lea eax, [esi + 0x20]
push eax
call fcn.010031d7
mov dword [ebp - 0x210], eax
cmp eax, ebx
jne 0x1002b93
push edi
lea eax, [ebp - 0x20c]
push eax
push 0x10014d4
push dword [ebp - 0x214]
call fcn.01002ff8
mov dword [ebp - 0x210], eax
cmp eax, ebx
je 0x1002b0b
push edi
lea eax, [ebp - 0x20c]
push eax
push 0x10014cc
push dword [ebp - 0x214]
call fcn.01002ff8
mov dword [ebp - 0x210], eax
cmp eax, ebx
jne 0x1002b93
lea eax, [ebp - 0x20c]
push eax
lea eax, [esi + 0x1c]
push eax
call fcn.010031d7
mov dword [ebp - 0x210], eax
cmp eax, ebx
jne 0x1002b93
push dword [ebp - 0x214]
mov edi, dword [0x100105c]
call edi
push 0x10014bc
push dword [ebp - 0x218]
lea eax, [ebp - 0x214]
push eax
call fcn.0100341d
mov dword [ebp - 0x210], eax
cmp eax, ebx
jne 0x1002bf3
push ebx
lea eax, [esi + 0x10]
push eax
push ebx
push 0x10014ac
push dword [ebp - 0x214]
call fcn.0100322b
push dword [ebp - 0x214]
mov dword [ebp - 0x210], eax
call edi
cmp dword [ebp - 0x210], ebx
je 0x1002bf3
cmp dword [ebp - 0x210], 2
je 0x1002bf3
mov dword [ebp - 0x214], ebx
mov eax, dword [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x1002b9c
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push dword [ebp - 0x218]
lea eax, [ebp - 0x210]
push 4
push eax
push 2
push 0x10011d0
call fcn.01003050
add esp, 0x18
cmp esi, ebx
je 0x1002bd7
push esi
call fcn.010028a3
cmp dword [ebp - 0x214], ebx
je 0x1002beb
push dword [ebp - 0x214]
call dword [0x100105c]
mov eax, dword [ebp - 0x210]
jmp 0x1002c13
mov eax, dword [0x1004024]
mov dword [esi + 4], eax
mov dword [esi], 0x1004020
mov dword [eax], esi
mov eax, dword [ebp - 0x21c]
mov dword [0x1004024], esi
mov dword [eax], esi
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01003796
leave
ret 8