Function at 0x408e90
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x526108
mov eax, dword fs:[0]
push eax
sub esp, 0x418
mov eax, dword [0x566090]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
xor ebx, ebx
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x41c], esi
mov dword [ebp - 0x420], edi
mov dword [ebp - 0x410], ebx
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x2c]
push ebx
mov byte [ebp - 0x34], bl
call fcn.00418680
sub esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1cc]
push esi
call fcn.00414510
sub esp, 0x28
mov byte [ebp - 4], 3
mov eax, esp
lea ecx, [ebp - 0x24]
lea edx, [ebp - 0x1cc]
push ebx
push 1
mov dword [eax + 0x24], ebx
call fcn.0041c4c0
mov cl, byte [ebp - 0x34]
add esp, 0x30
mov al, byte [ebp - 0x24]
mov edx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x28]
mov byte [ebp - 0x410], cl
mov byte [ebp - 0x34], al
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 0x24], cl
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
push dword [ebp - 0x410]
call fcn.004179f0
push edi
mov edx, str.stable
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.004050b0
add esp, 4
lea eax, [edi + 0x18]
mov edx, str.intest
mov dword [ebp - 0x414], eax
lea ecx, [ebp - 0x34]
push eax
call fcn.004050b0
add esp, 4
push ebx
call fcn.005077ff
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x34]
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x18], edx
push eax
call fcn.0041c600
lea ecx, [edi + 0x30]
add esp, 8
mov dword [ecx], eax
mov dword [ebp - 0x41c], ecx
mov dword [ecx + 4], edx
lea ecx, [ebp - 0x1cc]
call fcn.00409aa0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c]
push dword [ebp - 0x34]
call fcn.004179f0
mov dword [ebp - 4], 0xffffffff
call fcn.00441aa0
mov eax, dword [eax]
cmp dword [eax], ebx
je 0x40910d
lea edx, [ebp - 0x8c]
mov dword [ebp - 0x8c], 0x806f804c
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x88], 0x80648061
mov dword [ebp - 0x84], 0x80648065
mov dword [ebp - 0x80], 0x80738020
mov dword [ebp - 0x7c], 0x80678069
mov dword [ebp - 0x78], 0x806e8069
mov dword [ebp - 0x74], 0x806f8066
mov dword [ebp - 0x70], 0x8000
call fcn.00419a70
mov dword [ebp - 4], 0xb
lea eax, [ebp - 0x6c]
cmp dword [ebp - 0x58], 8
lea edx, [ebp - 0x418]
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x410], 0x401
cmovae eax, dword [ebp - 0x6c]
mov dword [ebp - 0x418], eax
call fcn.0041ccb0
mov dword [ebp - 4], 0xc
lea ecx, [ebp - 0x3c]
push eax
mov dword [ebp - 0x410], 0x403
call fcn.00444e70
mov dword [ebp - 4], 0xd
lea edi, [ebp - 0x3c]
cmp dword [ebp - 0x28], 8
lea ecx, [ebp - 0x22c]
mov ebx, 0x1407
mov dword [ebp - 0x20], 0x290028
cmovae edi, dword [ebp - 0x3c]
mov edx, str.cst::update_engines::UpdateEngines::LoadSigInfo
mov dword [ebp - 0x410], ebx
mov dword [ebp - 0x1c], 0x2d0020
mov dword [ebp - 0x18], 0x20
call fcn.0041c6e0
mov edx, str._BDREINIT__::
lea ecx, [ebp - 0xac]
mov esi, eax
call fcn.00419450
push esi
mov edx, eax
lea ecx, [ebp - 0x2a8]
call fcn.0041c860
lea ecx, [ebp - 0x20]
mov edx, eax
push ecx
lea ecx, [ebp - 0x19c]
call fcn.0041ca60
mov esi, eax
call fcn.00441aa0
push edi
push 0
push esi
push 0
push eax
call fcn.0043ebb0
mov edi, dword [ebp - 0x420]
add esp, 0x1c
mov dword [ebp - 4], 0xc
test bl, 4
je 0x40916a
mov edx, dword [ebp - 0x28]
and ebx, 0xfffffffb
cmp edx, 8
jb 0x409156
mov ecx, dword [ebp - 0x3c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40914c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409905
push edx
push ecx
call fcn.004fc7e0
add esp, 8
xor eax, eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
mov dword [ebp - 4], 0xb
test bl, 2
je 0x4091c7
mov edx, dword [ebp - 0x40]
and ebx, 0xfffffffd
cmp edx, 8
jb 0x4091b3
mov ecx, dword [ebp - 0x54]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4091a9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409905
push edx
push ecx
call fcn.004fc7e0
add esp, 8
xor eax, eax
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 7
mov word [ebp - 0x54], ax
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x409210
mov edx, dword [ebp - 0x58]
and ebx, 0xfffffffe
cmp edx, 8
jb 0x409210
mov ecx, dword [ebp - 0x6c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x409206
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409905
push edx
push ecx
call fcn.004fc7e0
add esp, 8
call fcn.00441aa0
mov eax, dword [eax]
cmp dword [eax], 0
je 0x40935d
cmp dword [edi + 0x10], 0
jne 0x40922d
mov eax, str.No_Stable
jmp 0x409237
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x409237
mov eax, dword [edi]
lea edx, [ebp - 0x3c]
mov dword [ebp - 0x418], eax
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0x3c], 0x80748053
mov dword [ebp - 0x38], 0x80628061
mov dword [ebp - 0x34], 0x8065806c
mov dword [ebp - 0x30], 0x8020803a
mov dword [ebp - 0x2c], 0x807d807b
mov dword [ebp - 0x28], 0x8000
call fcn.00419a70
or ebx, 0x2000
mov dword [ebp - 4], 0xe
lea eax, [ebp - 0xa8]
or ebx, 8
lea edx, [ebp - 0x18]
cmp dword [ebp - 0x94], 8
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x410], ebx
cmovae eax, dword [ebp - 0xa8]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x418]
push eax
call fcn.0041cd30
add esp, 4
mov dword [ebp - 4], 0xf
lea ecx, [ebp - 0x54]
or ebx, 0x10
push eax
mov dword [ebp - 0x410], ebx
call fcn.00444e70
or ebx, 0x8000
mov dword [ebp - 4], 0x10
lea edi, [ebp - 0x54]
or ebx, 0x20
mov dword [ebp - 0x20], 0x290028
cmp dword [ebp - 0x40], 8
lea ecx, [ebp - 0x22c]
mov edx, str.cst::update_engines::UpdateEngines::LoadSigInfo
mov dword [ebp - 0x410], ebx
cmovae edi, dword [ebp - 0x54]
mov dword [ebp - 0x1c], 0x2d0020
mov dword [ebp - 0x18], 0x20
call fcn.0041c6e0
mov edx, str._BDREINIT__::
lea ecx, [ebp - 0x8c]
mov esi, eax
call fcn.00419450
push esi
mov edx, eax
lea ecx, [ebp - 0x2a8]
call fcn.0041c860
lea ecx, [ebp - 0x20]
mov edx, eax
push ecx
lea ecx, [ebp - 0x19c]
call fcn.0041ca60
mov esi, eax
call fcn.00441aa0
push edi
push 0
push esi
push 0
push eax
call fcn.0043ebb0
add esp, 0x1c
mov dword [ebp - 4], 0xf
test bl, 0x20
je 0x4093ba
mov edx, dword [ebp - 0x40]
and ebx, 0xffffffdf
cmp edx, 8
jb 0x4093a6
mov ecx, dword [ebp - 0x54]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40939c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40990a
push edx
push ecx
call fcn.004fc7e0
add esp, 8
xor eax, eax
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 7
mov word [ebp - 0x54], ax
mov dword [ebp - 4], 0xe
test bl, 0x10
je 0x409417
mov edx, dword [ebp - 0x58]
and ebx, 0xffffffef
cmp edx, 8
jb 0x409403
mov ecx, dword [ebp - 0x6c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4093f9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40990a
push edx
push ecx
call fcn.004fc7e0
add esp, 8
xor eax, eax
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 7
mov word [ebp - 0x6c], ax
mov dword [ebp - 4], 0xffffffff
test bl, 8
je 0x409466
mov edx, dword [ebp - 0x94]
and ebx, 0xfffffff7
cmp edx, 8
jb 0x409466
mov ecx, dword [ebp - 0xa8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40945c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40990a
push edx
push ecx
call fcn.004fc7e0
add esp, 8
call fcn.00441aa0
mov eax, dword [eax]
cmp dword [eax], 0
je 0x40959a
mov eax, dword [ebp - 0x420]
cmp dword [eax + 0x28], 0
jne 0x409489
mov eax, str.No_Intest
jmp 0x409497
mov eax, dword [ebp - 0x414]
cmp dword [eax + 0x14], 8
jb 0x409497
mov eax, dword [eax]
mov dword [ebp - 0x414], eax
lea eax, [ebp - 0xf4]
push eax
call fcn.004099f0
mov dword [ebp - 4], 0x11
or ebx, 0x40
cmp dword [eax + 0x14], 8
mov dword [ebp - 0x410], ebx
jb 0x4094c1
mov eax, dword [eax]
push dword [ebp - 0x41c]
mov dword [ebp - 0x18], eax
lea edx, [ebp - 0x18]
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0xdc]
call fcn.0041cdc0
add esp, 8
mov dword [ebp - 4], 0x12
lea ecx, [ebp - 0xc4]
or ebx, 0x80
push eax
mov dword [ebp - 0x410], ebx
call fcn.00444e70
or ebx, 0x40000
mov dword [ebp - 4], 0x13
lea edi, [ebp - 0xc4]
or ebx, 0x100
mov dword [ebp - 0x20], 0x290028
cmp dword [ebp - 0xb0], 8
lea ecx, [ebp - 0x308]
mov edx, str.cst::update_engines::UpdateEngines::LoadSigInfo
mov dword [ebp - 0x410], ebx
cmovae edi, dword [ebp - 0xc4]
mov dword [ebp - 0x1c], 0x2d0020
mov dword [ebp - 0x18], 0x20
call fcn.0041c6e0
mov edx, str._BDREINIT__::
lea ecx, [ebp - 0x114]
mov esi, eax
call fcn.00419450
push esi
mov edx, eax
lea ecx, [ebp - 0x384]
call fcn.0041c860
lea ecx, [ebp - 0x20]
mov edx, eax
push ecx
lea ecx, [ebp - 0x40c]
call fcn.0041ca60
mov esi, eax
call fcn.00441aa0
push edi
push 0
push esi
push 0
push eax
call fcn.0043ebb0
add esp, 0x1c
test ebx, 0x100
je 0x409605
mov edx, dword [ebp - 0xb0]
and ebx, 0xfffffeff
cmp edx, 8
jb 0x4095e8
mov ecx, dword [ebp - 0xc4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4095de
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40990f
push edx
push ecx
call fcn.004fc7e0
add esp, 8
xor eax, eax
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 7
mov word [ebp - 0xc4], ax
test bl, bl
jns 0x40966c
mov edx, dword [ebp - 0xc8]
and ebx, 0xffffff7f
cmp edx, 8
jb 0x40964f
mov ecx, dword [ebp - 0xdc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x409645
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40990f
push edx
push ecx
call fcn.004fc7e0
add esp, 8
xor eax, eax
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xc8], 7
mov word [ebp - 0xdc], ax
test bl, 0x40
je 0x4096b1
mov edx, dword [ebp - 0xe0]
cmp edx, 8
jb 0x4096b1
mov ecx, dword [ebp - 0xf4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4096a7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40990f
push edx
push ecx
call fcn.004fc7e0
add esp, 8
mov al, 1
jmp 0x4098e7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004fc7af
mov esp, ebp
pop ebp
ret 8
call fcn.0050175f
call fcn.0050175f
call fcn.0050175f
int3