Function at 0x41c628
Capabilities:
Get process heap force flags

Disassembly:
push ebx
mov ebx, esp
push ecx
push ecx
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x445ead
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x2b0
mov eax, dword [0x4570cc]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edx + 8]
lea esi, [edx + 0x10]
mov dword [ebp - 0x1f8], eax
lea ecx, [edx + 0x20]
lea eax, [edx + 0x18]
mov dword [ebp - 0x210], eax
mov eax, dword [edx + 0x28]
mov dword [ebp - 0x20c], eax
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x220], eax
mov eax, dword [edx + 0x34]
mov dword [ebp - 0x21c], eax
mov eax, dword [esi]
mov dword [ebp - 0x208], eax
mov dword [ebp - 0x218], eax
mov eax, dword [esi + 4]
push ecx
lea ecx, [ebp - 0x200]
mov dword [ebp - 0x214], eax
call fcn.0040c968
mov ecx, dword [ebp - 0x1f8]
call fcn.0041d203
test al, al
jne 0x41c7cb
and dword [ebp - 4], 0
mov edx, dword [0x458d64]
test edx, edx
sete ah
test ah, ah
sete al
test al, al
je 0x41c707
test ah, ah
je 0x41c6f5
call dword [0x4482f8]
mov eax, dword [edx]
push esi
push ecx
lea ecx, [ebp - 0x28]
push ecx
mov ecx, edx
call dword [eax + 8]
mov al, byte [ebp - 0x28]
jmp 0x41c70c
xor al, al
mov byte [ebp - 0x28], al
or dword [ebp - 4], 0xffffffff
lea edx, [ebp - 0x20]
test al, al
sete cl
test cl, cl
cmovne edx, esi
mov eax, dword [edx]
mov dword [ebp - 0x208], eax
mov dword [ebp - 0x218], eax
mov eax, dword [edx + 4]
mov dword [ebp - 0x214], eax
sete al
test al, al
je 0x41c7cb
push dword [edx + 4]
lea ecx, [ebp - 0x1f0]
push dword [edx]
call fcn.0041c452
mov edx, ecx
mov ecx, dword [ebp - 0x200]
call fcn.00416ad8
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x1f0]
call fcn.0041d63f
mov ecx, dword [eax + 4]
mov edx, dword [eax]
and dword [eax], 0
and dword [eax + 4], 0
mov eax, dword [ebp - 0x1fc]
mov dword [ebp - 0x204], ecx
mov dword [ebp - 0x1fc], ecx
mov dword [ebp - 0x200], edx
mov dword [ebp - 4], 1
test eax, eax
je 0x41c7a4
mov ecx, eax
call fcn.0040db94
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x224]
test ecx, ecx
je 0x41c7ba
call fcn.0040db94
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1f0]
call fcn.0041c4da
jmp 0x41c7d7
mov eax, dword [ebp - 0x1fc]
mov dword [ebp - 0x204], eax
mov esi, dword [ebp - 0x1f8]
lea eax, [ebp - 0x98]
push eax
mov ecx, esi
call fcn.00411730
push eax
mov ecx, 0x458c64
call fcn.0041983d
lea ecx, [ebp - 0x98]
mov byte [ebp - 0x1f1], al
call fcn.00405420
cmp byte [ebp - 0x1f1], 0
je 0x41c834
lea eax, [ebp - 0xb0]
mov ecx, esi
push eax
call fcn.00411730
push eax
mov ecx, 0x458c64
call fcn.00419891
movzx esi, ax
lea ecx, [ebp - 0xb0]
jmp 0x41c8a2
cmp byte [ebx + 8], 0
je 0x41c974
push dword [ebp - 0x20c]
mov edx, dword [ebp - 0x210]
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
call fcn.0041cf66
movzx esi, ax
test si, si
jne 0x41c87c
push dword [ebp - 0x1f8]
mov ecx, 0x458c80
call fcn.0041a583
movzx esi, ax
test si, si
je 0x41c974
push esi
push ecx
mov ecx, dword [ebp - 0x1f8]
lea eax, [ebp - 0xc8]
push eax
call fcn.00411730
pop ecx
push eax
mov ecx, 0x458c64
call fcn.00419562
lea ecx, [ebp - 0xc8]
call fcn.00405420
test si, si
je 0x41c974
cmp byte [ebp - 0x208], 3
sete al
test al, al
je 0x41c9db
push ecx
push ecx
lea ecx, [ebp - 0x2c0]
call fcn.00419a40
push esi
lea ecx, [ebp - 0x2c0]
call dword [0x448438]
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x2bc]
call fcn.00414133
lea eax, [ebp - 0x80]
mov dword [ebp - 0x64], 0x449810
mov esi, 0x44ac0c
lea ecx, [ebp - 0x60]
push eax
mov dword [ebp - 0x68], esi
call fcn.004052ad
mov ecx, dword [ebp - 0x1f8]
lea eax, [ebp - 0xe0]
push eax
call fcn.00411730
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x44], 0x44ab3c
call fcn.004052ad
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x48]
push eax
push ecx
push ecx
call fcn.0041cae3
lea ecx, [ebp - 0x40]
call fcn.00405420
lea ecx, [ebp - 0xe0]
call fcn.00405420
lea ecx, [ebp - 0x60]
call fcn.00405420
lea ecx, [ebp - 0x80]
call fcn.00405420
lea ecx, [ebp - 0x270]
call fcn.00419a10
lea ecx, [ebp - 0x270]
call dword [0x448368]
mov edx, dword [ebp - 0x1f8]
lea eax, [ebp - 0x220]
push eax
push ecx
push dword [ebp - 0x20c]
lea eax, [ebp - 0x218]
mov ecx, edi
push eax
push dword [ebp - 0x210]
lea eax, [ebp - 0x200]
push eax
call fcn.0041cb5e
mov dword [ebp - 4], 9
mov ecx, dword [ebp - 0x1fc]
test ecx, ecx
je 0x41c9b9
call fcn.0040db94
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004429bf
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
movzx eax, si
sub eax, 1
je 0x41ca92
sub eax, 1
je 0x41ca5f
push 5
pop ecx
sub eax, ecx
je 0x41ca3e
sub eax, 3
je 0x41ca27
sub eax, 1
je 0x41ca09
push 0
push 0x14a118c
call fcn.00406370
mov al, byte [0x458c78]
test al, al
setne al
test al, al
je 0x41c974
and dword [edi], 0
mov dword [ebp - 4], 6
jmp 0x41c9aa
and dword [edi], 0
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 0x204]
test eax, eax
je 0x41c9b9
mov ecx, eax
jmp 0x41c9b4
mov al, byte [0x458c78]
test al, al
setne al
test al, al
je 0x41c974
and dword [edi], 0
mov dword [ebp - 4], 8
jmp 0x41c9aa
mov eax, dword [0x4575f4]
mov ecx, 0x4575f4
push 0x16218a1
call dword [eax + 4]
mov al, byte [0x458c78]
test al, al
setne al
test al, al
je 0x41c974
and dword [edi], 0
mov dword [ebp - 4], 7
jmp 0x41c9aa
mov eax, dword [0x4575f4]
mov ecx, 0x4575f4
push 0x16218a0
call dword [eax + 4]
mov ecx, dword [ebp - 0x1f8]
call fcn.0041d203
test al, al
jne 0x41cac2
and dword [edi], 0
mov dword [ebp - 4], 3
jmp 0x41ca2d
mov al, byte [0x458c78]
test al, al
setne al
test al, al
je 0x41c974
and dword [edi], 0
mov dword [ebp - 4], 4
jmp 0x41c9aa