Function at 0x41e7c0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x48c
mov esi, dword [ebp + 8]
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x41e7f6
lea eax, [ebp - 0x454]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov dword [esp], esi
call dbg.types_get_info
test eax, eax
jne 0x41e818
mov eax, dword [esi]
mov dword [esp + 4], eax
xor ebx, ebx
mov dword [esp], str.__invalid____lxh___
call dbg.dbg_printf
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [ebp - 0x458]
mov dword [esp], esi
mov edi, str.__none__
mov dword [esp + 8], eax
mov dword [esp + 4], 1
call dbg.types_get_info
test eax, eax
jne 0x41e858
mov edx, dword [ebp - 0x454]
lea eax, [edx - 0xb]
cmp eax, 6
ja case.default.0x41e84d
jmp dword [eax*4 + 0x441168]
mov edi, dword [ebp - 0x458]
mov eax, str.__none__
test edi, edi
cmove edi, eax
jmp 0x41e83b
mov dword [esp + 4], edi
mov dword [esp], 0x441068
call dbg.dbg_printf
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x41ef90
lea esi, [esi]
nop
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x41e8aa
mov eax, dword [ebp + 0x10]
mov dword [esp], str.__ls
mov dword [esp + 4], eax
call dbg.dbg_printf
mov ebx, 1
cmp dword [ebp - 0x458], edi
jne 0x41e808
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
jmp 0x41e808
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x41e911
lea ebx, [type_elt.id]
mov dword [esp + 4], 3
mov dword [esp + 8], ebx
mov dword [esp], esi
call dbg.types_get_info
test eax, eax
jne 0x41f115
mov dword [esp + 4], edi
mov dword [esp], 0x441068
call dbg.dbg_printf
jmp 0x41e890
mov dword [esp + 4], edi
mov dword [esp], str.enum__ls
call dbg.dbg_printf
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x41e890
lea eax, [ebp - 0x44c]
mov dword [esp + 4], 0xd
mov dword [esp + 8], eax
mov dword [esp], esi
call dbg.types_get_info
test eax, eax
je 0x41e890
mov dword [esp], 0x4410c0
lea ebx, [ebp - 0x424]
call dbg.dbg_printf
mov eax, dword [ebp - 0x44c]
mov dword [ebp - 0x420], 0
test eax, eax
je 0x41ed33
mov dword [ebp - 0x464], edi
jmp 0x41e9c4
mov edx, 0x100
cmp eax, edx
cmovbe edx, eax
add dword [ebp - 0x420], 0x100
sub eax, edx
mov dword [ebp - 0x44c], eax
test eax, eax
je 0x41ed2d
mov edx, 0x100
mov dword [esp + 8], ebx
cmp eax, edx
mov dword [esp + 4], 7
mov dword [esp], esi
cmova eax, edx
mov dword [ebp - 0x424], eax
call dbg.types_get_info
mov edx, eax
mov eax, dword [ebp - 0x44c]
test edx, edx
je 0x41e9a0
mov edx, dword [ebp - 0x424]
cmp eax, edx
cmovbe edx, eax
test edx, edx
je 0x41e9a0
lea eax, [ebp - 0x444]
xor edi, edi
mov dword [ebp - 0x45c], eax
mov eax, dword fs:[0x18]
mov dword [ebp - 0x460], eax
lea esi, [esi]
mov eax, dword [esi + 4]
mov dword [ebp - 0x43c], eax
mov eax, dword [ebx + edi*4 + 8]
mov dword [esp + 4], 1
mov dword [ebp - 0x440], eax
mov eax, dword [ebp - 0x45c]
mov dword [esp + 8], eax
lea eax, [ebp - 0x440]
mov dword [esp], eax
call dbg.types_get_info
test eax, eax
je 0x41ee30
mov eax, dword [ebp - 0x444]
test eax, eax
je 0x41ee30
lea eax, [type_elt.id]
mov dword [esp + 4], 0xb
mov dword [esp + 8], eax
lea eax, [ebp - 0x440]
mov dword [esp], eax
call dbg.types_get_info
test eax, eax
je 0x41ee30
mov eax, dword [ebp - 0x444]
test eax, eax
je 0x41ee30
mov dword [esp + 4], eax
mov dword [esp], str._ls_
call dbg.dbg_printf
cmp word [type_elt.id], 0x15
ja case.0x41eac4.0
movzx eax, word [type_elt.id]
jmp dword [eax*4 + 0x441184]
lea ebx, [type_elt.id]
mov dword [esp + 4], 3
mov dword [esp + 8], ebx
mov dword [esp], esi
mov dword [ebp - 0x45c], ebx
call dbg.types_get_info
mov eax, dword [esi]
cmp dword [type_elt.id], eax
je 0x41ef70
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], ebx
call dbg.types_print_type
mov ecx, dword [ebp + 0x10]
mov eax, 0x441052
mov dword [esp], str.___ls__
test ecx, ecx
cmovne eax, dword [ebp + 0x10]
mov dword [esp + 4], eax
mov dword [ebp + 0x10], eax
call dbg.dbg_printf
lea eax, [ebp - 0x44c]
mov dword [esp + 4], 0xd
mov dword [esp + 8], eax
mov dword [esp], esi
call dbg.types_get_info
test eax, eax
je 0x41ebd3
mov eax, dword [ebp - 0x44c]
lea ebx, [ebp - 0x424]
mov dword [ebp - 0x420], 0
test eax, eax
je 0x41f104
mov dword [ebp - 0x460], edi
mov edx, 0x100
mov dword [esp + 8], ebx
cmp eax, edx
mov dword [esp + 4], 7
mov dword [esp], esi
cmova eax, edx
mov dword [ebp - 0x424], eax
call dbg.types_get_info
mov edx, eax
mov eax, dword [ebp - 0x44c]
test edx, edx
jne 0x41f065
mov edx, 0x100
cmp eax, edx
cmovbe edx, eax
add dword [ebp - 0x420], 0x100
sub eax, edx
mov dword [ebp - 0x44c], eax
test eax, eax
jne 0x41eb79
mov edi, dword [ebp - 0x460]
mov dword [esp], 0x441134
call dbg.dbg_printf
jmp 0x41e8aa
lea ebx, [type_elt.id]
mov dword [esp + 4], 3
mov dword [esp + 8], ebx
mov dword [esp], esi
call dbg.types_get_info
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], ebx
call dbg.types_print_type
mov dword [esp], 0x44107b
call dbg.dbg_printf
jmp 0x41e890
lea eax, [ebp - 0x450]
mov dword [esp + 4], 0x18
mov dword [esp + 8], eax
mov dword [esp], esi
call dbg.types_get_info
mov eax, dword [ebp - 0x450]
cmp eax, 1
je 0x41f050
cmp eax, 2
je 0x41f038
test eax, eax
je 0x41f020
test byte [global___dbch.1], 2
jne 0x41f153
lea esi, [esi]
nop
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x41e890
lea eax, [ebp - 0x44c]
mov dword [esp + 4], 0xd
mov dword [esp + 8], eax
mov dword [esp], esi
call dbg.types_get_info
test eax, eax
je 0x41e890
mov dword [esp], 0x4410c0
lea ebx, [ebp - 0x424]
call dbg.dbg_printf
mov eax, dword [ebp - 0x44c]
mov dword [ebp - 0x420], 0
test eax, eax
je 0x41ed33
mov dword [ebp - 0x464], edi
mov edx, 0x100
mov dword [esp + 8], ebx
cmp eax, edx
mov dword [esp + 4], 7
mov dword [esp], esi
cmova eax, edx
mov dword [ebp - 0x424], eax
call dbg.types_get_info
mov edx, eax
mov eax, dword [ebp - 0x44c]
test edx, edx
jne 0x41f184
mov edx, 0x100
cmp eax, edx
cmovbe edx, eax
add dword [ebp - 0x420], 0x100
sub eax, edx
mov dword [ebp - 0x44c], eax
test eax, eax
jne 0x41ecd9
mov edi, dword [ebp - 0x464]
mov dword [esp], 0x4410c3
call dbg.dbg_printf
jmp 0x41e890
lea ebx, [type_elt.id]
mov dword [esp + 4], 3
mov dword [esp + 8], ebx
mov dword [esp], esi
call dbg.types_get_info
test eax, eax
je 0x41e890
mov eax, dword [ebp + 0x10]
mov dword [esp + 4], 0
mov dword [esp], ebx
mov dword [esp + 8], eax
call dbg.types_print_type
lea eax, [ebp - 0x44c]
mov dword [esp + 4], 0xc
mov dword [esp + 8], eax
mov dword [esp], esi
call dbg.types_get_info
test eax, eax
je 0x41f142
mov eax, dword [ebp - 0x44c]
mov dword [esp], str.__ld_
mov dword [esp + 4], eax
call dbg.dbg_printf
jmp 0x41e8aa
movsx eax, byte [ebp - 0x430]
mov dword [esp], 0x4410f9
mov dword [esp + 4], eax
call dbg.dbg_printf
lea esi, [esi]
mov eax, dword [ebp - 0x444]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x460]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [ebp - 0x44c]
mov edx, dword [ebp - 0x424]
sub esp, 0xc
cmp eax, edx
cmovbe edx, eax
lea ecx, [edx - 1]
cmp ecx, edi
ja 0x41ee21
cmp eax, 0x100
jbe 0x41ee41
mov dword [esp], 0x441113
call dbg.dbg_printf
lea esi, [esi]
mov eax, dword [ebp - 0x44c]
mov edx, dword [ebp - 0x424]
cmp eax, edx
cmovbe edx, eax
add edi, 1
cmp edi, edx
jb 0x41ea20
jmp 0x41e9a0
mov eax, dword [ebp - 0x430]
mov edx, dword [ebp - 0x42c]
mov dword [esp], str._I64u
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call dbg.dbg_printf
jmp case.0x41eac4.0
mov eax, dword [ebp - 0x430]
mov edx, dword [ebp - 0x42c]
mov dword [esp], 0x441100
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call dbg.dbg_printf
jmp case.0x41eac4.0
mov eax, dword [ebp - 0x430]
mov dword [esp], 0x441109
mov dword [esp + 4], eax
call dbg.dbg_printf
jmp case.0x41eac4.0
movzx eax, word [ebp - 0x430]
mov dword [esp], 0x441106
mov dword [esp + 4], eax
call dbg.dbg_printf
jmp case.0x41eac4.0
movzx eax, byte [ebp - 0x430]
mov dword [esp], 0x441106
mov dword [esp + 4], eax
call dbg.dbg_printf
jmp case.0x41eac4.0
mov eax, dword [ebp - 0x430]
mov dword [esp], 0x4410fc
mov dword [esp + 4], eax
call dbg.dbg_printf
jmp case.0x41eac4.0
movsx eax, word [ebp - 0x430]
mov dword [esp], 0x4410f9
mov dword [esp + 4], eax
call dbg.dbg_printf
jmp case.0x41eac4.0
test byte [global___dbch.1], 2
je 0x41e890
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], str.Unknown_type__lu_for__ls_n
mov dword [esp + 8], global___func__.23
mov dword [esp + 4], global___dbch.1
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_9
jmp 0x41e890
mov dword [esp], str._ret_typeself_
mov dword [type_elt.module], 0
call dbg.dbg_printf
jmp 0x41eb16
lea eax, [ebp - 0x440]
mov dword [esp + 4], 2
mov dword [esp + 8], eax
mov dword [esp], esi
call dbg.types_get_info
test eax, eax
je 0x41e890
lea eax, [ebp - 0x424]
mov dword [esp + 4], 5
mov dword [esp + 8], eax
mov dword [esp], esi
call dbg.types_get_info
test eax, eax
je 0x41e890
mov eax, dword [ebp - 0x424]
mov edx, str._long
mov dword [esp], str.:_size_I64d_s
sub eax, 0xd
cmp eax, 1
mov eax, 0x44104a
cmovbe eax, edx
mov edx, dword [ebp - 0x43c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x440]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
call dbg.dbg_printf
jmp 0x41e890
mov dword [esp + 4], edi
mov dword [esp], str.struct__ls
call dbg.dbg_printf
jmp 0x41ec80
mov dword [esp + 4], edi
mov dword [esp], str.union__ls
call dbg.dbg_printf
jmp 0x41ec80
mov dword [esp + 4], edi
mov dword [esp], str.class__ls
call dbg.dbg_printf
jmp 0x41ec80
mov edx, dword [ebp - 0x424]
cmp eax, edx
cmovbe edx, eax
test edx, edx
je 0x41ebad
mov dword [ebp + 8], esi
mov esi, dword [ebp - 0x45c]
xor edi, edi
mov eax, dword [ebx + edi*4 + 8]
mov dword [esp + 8], esi
mov dword [esp + 4], 3
mov dword [esp], esi
mov dword [type_elt.id], eax
call dbg.types_get_info
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], esi
call dbg.types_print_type
mov eax, dword [ebp - 0x44c]
mov edx, dword [ebp - 0x424]
cmp eax, edx
cmovbe edx, eax
lea ecx, [edx - 1]
cmp ecx, edi
ja 0x41f0d8
cmp eax, 0x100
jbe 0x41f0f5
mov dword [esp], 0x441113
call dbg.dbg_printf
mov eax, dword [ebp - 0x44c]
mov edx, dword [ebp - 0x424]
cmp eax, edx
cmovbe edx, eax
add edi, 1
cmp edi, edx
jb 0x41f083
mov esi, dword [ebp + 8]
jmp 0x41ebad
mov dword [esp], 0x44112f
call dbg.dbg_printf
jmp 0x41ebd3
mov dword [esp + 4], edi
mov dword [esp], str.typedef__ls__
call dbg.dbg_printf
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], ebx
call dbg.types_print_type
jmp 0x41e890
mov dword [esp], 0x4410e6
call dbg.dbg_printf
jmp 0x41e8aa
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Unsupported_UDT_type___ld__for__ls_n
mov dword [esp + 8], global___func__.23
mov dword [esp + 4], global___dbch.1
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_9
jmp 0x41ec80
mov edx, dword [ebp - 0x424]
cmp eax, edx
cmovbe edx, eax
test edx, edx
je 0x41ed0d
lea ecx, [ebp - 0x444]
lea eax, [type_elt.id]
mov dword [ebp - 0x45c], ebx
xor edi, edi
mov dword [ebp - 0x460], ecx
mov ebx, eax
mov ecx, dword fs:[0x18]
mov dword [ebp - 0x468], ecx
mov eax, dword [esi + 4]
mov dword [type_elt.module], eax
mov eax, dword [ebp - 0x45c]
mov eax, dword [eax + edi*4 + 8]
mov dword [esp + 4], 1
mov dword [esp], ebx
mov dword [type_elt.id], eax
mov eax, dword [ebp - 0x460]
mov dword [esp + 8], eax
call dbg.types_get_info
test eax, eax
je 0x41f321
mov eax, dword [ebp - 0x444]
test eax, eax
je 0x41f321
lea eax, [ebp - 0x448]
mov dword [esp + 4], 0xe
mov dword [esp + 8], eax
mov dword [esp], ebx
call dbg.types_get_info
test eax, eax
jne 0x41f363
mov dword [ebp - 0x440], 0xffffffff
mov dword [ebp - 0x43c], 0xffffffff
mov dword [esp + 8], ebx
mov dword [esp + 4], 3
mov dword [esp], ebx
call dbg.types_get_info
test eax, eax
je 0x41f348
lea eax, [ebp - 0x450]
mov dword [esp], ebx
mov edx, dword [ebp - 0x444]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x18
mov dword [ebp - 0x46c], edx
call dbg.types_get_info
mov edx, dword [ebp - 0x46c]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call dbg.types_print_type
mov eax, dword [ebp - 0x444]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x468]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [ebp - 0x43c]
mov edx, dword [ebp - 0x440]
sub esp, 0xc
mov ecx, eax
and ecx, edx
cmp ecx, 0xffffffff
je 0x41f2ea
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp], str._:__I64u
call dbg.dbg_printf
mov dword [esp], 0x4410dc
call dbg.dbg_printf
mov eax, dword [ebp - 0x44c]
mov edx, dword [ebp - 0x424]
cmp eax, edx
cmovbe edx, eax
lea ecx, [edx - 1]
cmp ecx, edi
ja 0x41f315
cmp eax, 0x100
jbe 0x41f332
mov dword [esp], 0x4410de
call dbg.dbg_printf
mov eax, dword [ebp - 0x44c]
mov edx, dword [ebp - 0x424]
cmp eax, edx
cmovbe edx, eax
add edi, 1
cmp edi, edx
jb 0x41f1c0
mov ebx, dword [ebp - 0x45c]
jmp 0x41ed0d
mov eax, dword [ebp - 0x444]
mov dword [esp], str._unknown___ls
mov dword [esp + 4], eax
call dbg.dbg_printf
jmp 0x41f297
lea eax, [ebp - 0x440]
mov dword [esp + 4], 2
mov dword [esp + 8], eax
mov dword [esp], ebx
call dbg.types_get_info
test eax, eax
je 0x41f22b
jmp 0x41f23f