Function at 0x40e448
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
mov eax, 0x4296f7
call fcn.0041e758
sub esp, 0x254
movzx eax, byte [esp + 0x270]
push ebx
mov ebx, ecx
push ebp
or dword [ebx + 4], 0xffffffff
xor ebp, ebp
mov dword [ebx], eax
mov eax, dword [esp + 0x274]
push esi
push edi
mov dword [esp + 0x4c], ebx
mov dword [ebx + 8], ebp
mov dword [ebx + 0xc], ebp
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], ebp
mov dword [ebx + 0x18], ebp
mov dword [ebx + 0x1c], ebp
mov dword [ebx + 0x20], ebp
call fcn.0040da0e
mov edi, dword [esp + 0x284]
lea esi, [ebx + 0x28]
push edi
mov ecx, esi
mov dword [ebx + 0x24], eax
mov dword [esp + 0x54], esi
call fcn.00410a54
mov dword [esp + 0x26c], ebp
mov eax, dword [edi + 0x18]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x1c], eax
mov eax, dword [edi + 0x20]
mov dword [esi + 0x20], eax
mov dword [esp + 0x26c], 1
push 7
pop ecx
xor eax, eax
mov dword [ebx + 0x60], ecx
mov dword [ebx + 0x5c], ebp
mov word [ebx + 0x4c], ax
mov byte [esp + 0x26c], 2
mov dword [ebx + 0x64], ebp
mov dword [ebx + 0x68], ebp
mov dword [ebx + 0x6c], ebp
mov byte [esp + 0x26c], 3
mov dword [ebx + 0x70], ebp
mov dword [ebx + 0x74], ebp
mov dword [ebx + 0x78], ebp
mov byte [esp + 0x26c], 4
lea esi, [ebx + 0x1bc]
mov dword [ebx + 0x7c], ebp
mov dword [ebx + 0x1b8], ebp
mov dword [esi + 0x14], ecx
mov dword [esi + 0x10], ebp
mov word [esi], ax
mov byte [esp + 0x26c], 5
lea ebp, [ebx + 0x1d4]
and dword [ebp + 0x10], eax
mov dword [ebp + 0x14], ecx
mov word [ebp], ax
mov byte [esp + 0x26c], 6
mov eax, dword [edi + 0x18]
xor edi, edi
push 0x40
mov dword [ebx + 0x1ec], eax
lea eax, [ebx + 0x80]
push edi
push eax
mov dword [ebx + 0x1f4], edi
call fcn.0041d990
add esp, 0xc
lea eax, [ebx + 0xc0]
push 0xf8
push edi
push eax
call fcn.0041d990
add esp, 0xc
call fcn.0040db59
test al, al
je 0x40e589
push 0x10adc0de
jmp 0x40e58a
push edi
call dword [0x640c6c]
mov dword [ebx + 0x1f0], eax
mov eax, dword [ebx + 0x1ec]
test eax, eax
je 0x40e5d8
push 0x104
lea ecx, [esp + 0x58]
push ecx
push eax
call dword [0x641470]
test eax, eax
je 0x40e5d8
cmp word [esp + 0x54], di
jne 0x40e5c0
mov eax, edi
jmp 0x40e5cb
lea eax, [esp + 0x54]
push eax
call fcn.0041d83d
pop ecx
push eax
lea eax, [esp + 0x58]
push eax
mov ecx, esi
call fcn.0040266d
push 0x104
lea eax, [esp + 0x58]
push eax
push edi
call dword [0x641470]
test eax, eax
je 0x40e610
cmp word [esp + 0x54], di
jne 0x40e5f8
mov eax, edi
jmp 0x40e603
lea eax, [esp + 0x54]
push eax
call fcn.0041d83d
pop ecx
push eax
lea eax, [esp + 0x58]
push eax
mov ecx, ebp
call fcn.0040266d
mov esi, dword [ebx + 0x44]
lea edi, [ebx + 0x70]
test esi, esi
je 0x40e699
mov eax, dword [esi]
test eax, eax
je 0x40e699
cmp byte [eax], 0xff
jne 0x40e62a
push 9
pop eax
jmp 0x40e631
push eax
call fcn.0041d700
pop ecx
push eax
push dword [esi]
lea ecx, [esp + 0x34]
call fcn.004108c1
mov byte [esp + 0x26c], 7
push eax
lea ecx, [esp + 0x14]
call fcn.004108e5
mov byte [esp + 0x26c], 8
mov eax, dword [esi + 4]
mov dword [esp + 0x28], eax
mov byte [esp + 0x26c], 9
lea eax, [esp + 0x10]
push eax
mov ecx, edi
call fcn.00410b4a
mov byte [esp + 0x26c], 7
lea ecx, [esp + 0x10]
call fcn.00402217
mov byte [esp + 0x26c], 6
lea ecx, [esp + 0x2c]
call fcn.00402217
add esi, 8
jne 0x40e61a
push 0x434dd4
lea ecx, [esp + 0x30]
call fcn.004021ea
mov byte [esp + 0x26c], 0xb
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x14]
call fcn.00410c7b
mov byte [esp + 0x26c], 0xc
xor ebp, ebp
mov dword [esp + 0x28], ebp
mov byte [esp + 0x26c], 0xd
lea eax, [esp + 0x10]
push eax
mov ecx, edi
call fcn.00410b4a
mov byte [esp + 0x26c], 0xb
lea ecx, [esp + 0x10]
call fcn.00402217
mov byte [esp + 0x26c], 6
lea ecx, [esp + 0x2c]
call fcn.00402217
push 0x434de4
lea ecx, [esp + 0x30]
call fcn.004021ea
mov byte [esp + 0x26c], 0xf
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x14]
call fcn.00410c7b
mov byte [esp + 0x26c], 0x10
mov dword [esp + 0x28], ebp
mov byte [esp + 0x26c], 0x11
lea eax, [esp + 0x10]
push eax
mov ecx, edi
call fcn.00410b4a
mov byte [esp + 0x26c], 0xf
lea ecx, [esp + 0x10]
call fcn.00402217
mov byte [esp + 0x26c], 6
lea ecx, [esp + 0x2c]
call fcn.00402217
push 0x434df4
lea ecx, [esp + 0x30]
call fcn.004021ea
mov byte [esp + 0x26c], 0x13
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x14]
call fcn.00410c7b
mov byte [esp + 0x26c], 0x14
mov dword [esp + 0x28], ebp
mov byte [esp + 0x26c], 0x15
lea eax, [esp + 0x10]
push eax
mov ecx, edi
call fcn.00410b4a
mov byte [esp + 0x26c], 0x13
lea ecx, [esp + 0x10]
call fcn.00402217
mov byte [esp + 0x26c], 6
lea ecx, [esp + 0x2c]
call fcn.00402217
push 0x434e08
lea ecx, [esp + 0x30]
call fcn.004021ea
mov byte [esp + 0x26c], 0x17
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x14]
call fcn.00410c7b
mov byte [esp + 0x26c], 0x18
mov dword [esp + 0x28], ebp
mov byte [esp + 0x26c], 0x19
lea eax, [esp + 0x10]
push eax
mov ecx, edi
call fcn.00410b4a
mov byte [esp + 0x26c], 0x17
lea ecx, [esp + 0x10]
call fcn.00402217
mov byte [esp + 0x26c], 6
lea ecx, [esp + 0x2c]
call fcn.00402217
push 0x434e1c
lea ecx, [esp + 0x30]
call fcn.004021ea
mov byte [esp + 0x26c], 0x1b
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x14]
call fcn.00410c7b
mov byte [esp + 0x26c], 0x1c
mov dword [esp + 0x28], ebp
mov byte [esp + 0x26c], 0x1d
lea eax, [esp + 0x10]
push eax
mov ecx, edi
call fcn.00410b4a
mov byte [esp + 0x26c], 0x1b
lea ecx, [esp + 0x10]
call fcn.00402217
mov byte [esp + 0x26c], 6
lea ecx, [esp + 0x2c]
call fcn.00402217
mov eax, dword [esp + 0x278]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x27c]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x44]
push eax
push ecx
mov ecx, ebx
call fcn.0040e9cc
mov dword [ebx + 4], eax
or dword [esp + 0x26c], 0xffffffff
mov ecx, dword [esp + 0x264]
pop edi
pop esi
pop ebp
mov eax, ebx
mov dword fs:[0], ecx
pop ebx
leave
ret 0x10