Function at 0x41eae0
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff8
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x470
mov edi, dword [ecx]
mov ebx, dword [ecx + 4]
mov esi, dword [ecx + 8]
mov eax, dword [edi]
cmp eax, 0xffffffff
je 0x41eb26
lea eax, [ebp - 0x44c]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov dword [esp], edi
call fcn.0041e2d0
test eax, eax
jne 0x41eb48
mov eax, dword [edi]
mov dword [esp + 4], eax
mov dword [esp], str.__invalid____lxh___
call fcn.004218d0
xor ebx, ebx
lea esp, [ebp - 0x10]
mov eax, ebx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
lea eax, [ebp - 0x450]
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov dword [esp], edi
call fcn.0041e2d0
mov dword [ebp - 0x454], str.__none__
test eax, eax
je 0x41eb90
mov eax, dword [ebp - 0x450]
mov dword [ebp - 0x454], eax
test eax, eax
jne 0x41eb90
mov dword [ebp - 0x454], str.__none__
lea esi, [esi]
mov edx, dword [ebp - 0x44c]
lea eax, [edx - 0xb]
cmp eax, 6
ja case.default.0x41eba2
jmp dword [eax*4 + 0x440310]
mov eax, dword [ebp - 0x454]
mov dword [esp], 0x440210
mov dword [esp + 4], eax
call fcn.004218d0
test ebx, ebx
jne 0x41f2f0
nop
test esi, esi
je 0x41ebe4
mov dword [esp + 4], esi
mov dword [esp], str.__ls
call fcn.004218d0
mov eax, dword [ebp - 0x454]
mov ebx, 1
cmp dword [ebp - 0x450], eax
jne 0x41eb38
mov eax, dword fs:[0x18]
mov edx, dword [ebp - 0x454]
mov dword [esp + 4], 0
mov dword [esp + 8], edx
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 0x41eb38
test ebx, ebx
je 0x41ec56
lea ebx, [ebp - 0x430]
mov dword [esp + 4], 3
mov dword [esp + 8], ebx
mov dword [esp], edi
call fcn.0041e2d0
test eax, eax
jne 0x41f499
mov eax, dword [ebp - 0x454]
mov dword [esp], 0x440210
mov dword [esp + 4], eax
call fcn.004218d0
jmp 0x41ebd0
mov eax, dword [ebp - 0x454]
mov dword [esp], str.enum__ls
mov dword [esp + 4], eax
call fcn.004218d0
test ebx, ebx
je 0x41ebd0
lea eax, [ebp - 0x444]
mov dword [esp + 4], 0xd
mov dword [esp + 8], eax
mov dword [esp], edi
call fcn.0041e2d0
test eax, eax
je 0x41ebd0
mov dword [esp], 0x440268
call fcn.004218d0
mov eax, dword [ebp - 0x444]
mov dword [ebp - 0x418], 0
lea edx, [ebp - 0x41c]
test eax, eax
je 0x41f04e
mov dword [ebp - 0x460], esi
mov esi, edx
jmp 0x41ed20
mov edx, eax
cmp eax, 0x100
jbe 0x41ecfe
mov edx, 0x100
mov ecx, dword [ebp - 0x418]
sub eax, edx
add ecx, 0x100
mov dword [ebp - 0x444], eax
mov dword [ebp - 0x418], ecx
test eax, eax
je 0x41f048
cmp eax, 0x100
jbe 0x41ed2c
mov eax, 0x100
mov dword [esp + 8], esi
mov dword [esp + 4], 7
mov dword [esp], edi
mov dword [ebp - 0x41c], eax
call fcn.0041e2d0
test eax, eax
mov eax, dword [ebp - 0x444]
je 0x41ecf0
mov edx, dword [ebp - 0x41c]
cmp edx, eax
jbe 0x41ed5c
mov edx, eax
test edx, edx
je 0x41ecf0
lea eax, [ebp - 0x43c]
xor ebx, ebx
mov dword [ebp - 0x458], eax
mov eax, dword fs:[0x18]
mov dword [ebp - 0x45c], eax
lea esi, [esi]
mov eax, dword [edi + 4]
mov dword [ebp - 0x434], eax
mov eax, dword [esi + ebx*4 + 8]
mov dword [ebp - 0x438], eax
mov eax, dword [ebp - 0x458]
mov dword [esp + 8], eax
lea eax, [ebp - 0x438]
mov dword [esp + 4], 1
mov dword [esp], eax
call fcn.0041e2d0
test eax, eax
je 0x41f190
mov eax, dword [ebp - 0x43c]
test eax, eax
je 0x41f190
lea eax, [ebp - 0x430]
mov dword [esp + 4], 0xb
mov dword [esp + 8], eax
lea eax, [ebp - 0x438]
mov dword [esp], eax
call fcn.0041e2d0
test eax, eax
je 0x41f190
mov eax, dword [ebp - 0x43c]
test eax, eax
je 0x41f190
mov dword [esp + 4], eax
mov dword [esp], str._ls_
call fcn.004218d0
cmp word [ebp - 0x430], 0x15
ja case.0x41ee26.0
xor eax, eax
mov ax, word [ebp - 0x430]
jmp dword [eax*4 + 0x44032c]
lea ebx, [ebp - 0x430]
mov dword [esp + 4], 3
mov dword [esp + 8], ebx
mov dword [esp], edi
call fcn.0041e2d0
mov eax, dword [edi]
cmp dword [ebp - 0x430], eax
je 0x41f2d0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], ebx
call fcn.0041eae0
test esi, esi
je 0x41f378
mov dword [esp + 4], esi
mov dword [esp], str.___ls__
call fcn.004218d0
lea eax, [ebp - 0x444]
mov dword [esp + 8], eax
mov dword [esp + 4], 0xd
mov dword [esp], edi
call fcn.0041e2d0
test eax, eax
je 0x41ef36
mov eax, dword [ebp - 0x444]
mov dword [ebp - 0x418], 0
lea edx, [ebp - 0x41c]
test eax, eax
je 0x41f477
mov dword [ebp - 0x458], edi
mov edi, edx
cmp eax, 0x100
jbe 0x41eedc
mov eax, 0x100
mov dword [ebp - 0x41c], eax
mov eax, dword [ebp - 0x458]
mov dword [esp + 8], edi
mov dword [esp + 4], 7
mov dword [esp], eax
call fcn.0041e2d0
test eax, eax
mov eax, dword [ebp - 0x444]
jne 0x41f3e3
mov edx, eax
cmp eax, 0x100
jbe 0x41ef18
mov edx, 0x100
sub eax, edx
mov edx, dword [ebp - 0x418]
add edx, 0x100
mov dword [ebp - 0x444], eax
mov dword [ebp - 0x418], edx
test eax, eax
jne 0x41eed0
mov dword [esp], 0x4402dc
call fcn.004218d0
jmp 0x41ebe4
lea eax, [ebp - 0x448]
mov dword [esp + 4], 0x18
mov dword [esp + 8], eax
mov dword [esp], edi
call fcn.0041e2d0
mov eax, dword [ebp - 0x448]
cmp eax, 1
je 0x41f3c8
cmp eax, 2
je 0x41f3a8
test eax, eax
je 0x41f388
test byte [0x4387c4], 2
jne 0x41f4cc
nop
test ebx, ebx
je 0x41ebd0
lea eax, [ebp - 0x444]
mov dword [esp + 4], 0xd
mov dword [esp + 8], eax
mov dword [esp], edi
call fcn.0041e2d0
test eax, eax
je 0x41ebd0
mov dword [esp], 0x440268
call fcn.004218d0
mov eax, dword [ebp - 0x444]
mov dword [ebp - 0x418], 0
lea edx, [ebp - 0x41c]
test eax, eax
je 0x41f04e
mov dword [ebp - 0x460], esi
mov esi, edx
cmp eax, 0x100
jbe 0x41eff4
mov eax, 0x100
mov dword [esp + 8], esi
mov dword [esp + 4], 7
mov dword [esp], edi
mov dword [ebp - 0x41c], eax
call fcn.0041e2d0
test eax, eax
mov eax, dword [ebp - 0x444]
jne 0x41f503
mov edx, eax
cmp eax, 0x100
jbe 0x41f02a
mov edx, 0x100
sub eax, edx
mov edx, dword [ebp - 0x418]
add edx, 0x100
mov dword [ebp - 0x444], eax
mov dword [ebp - 0x418], edx
test eax, eax
jne 0x41efe8
mov esi, dword [ebp - 0x460]
mov dword [esp], 0x44026b
call fcn.004218d0
jmp 0x41ebd0
lea ebx, [ebp - 0x430]
mov dword [esp + 4], 3
mov dword [esp + 8], ebx
mov dword [esp], edi
call fcn.0041e2d0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], ebx
call fcn.0041eae0
mov dword [esp], 0x440223
call fcn.004218d0
jmp 0x41ebd0
lea ebx, [ebp - 0x430]
mov dword [esp + 4], 3
mov dword [esp + 8], ebx
mov dword [esp], edi
call fcn.0041e2d0
test eax, eax
je 0x41ebd0
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov dword [esp], ebx
call fcn.0041eae0
lea eax, [ebp - 0x444]
mov dword [esp + 8], eax
mov dword [esp + 4], 0xc
mov dword [esp], edi
call fcn.0041e2d0
test eax, eax
je 0x41f488
mov eax, dword [ebp - 0x444]
mov dword [esp], str.__ld_
mov dword [esp + 4], eax
call fcn.004218d0
jmp 0x41ebe4
movsx eax, byte [ebp - 0x428]
mov dword [esp], 0x4402a1
mov dword [esp + 4], eax
call fcn.004218d0
lea esi, [esi]
mov eax, dword [ebp - 0x43c]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x45c]
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 - 0x444]
mov edx, dword [ebp - 0x41c]
sub esp, 0xc
cmp edx, eax
jbe 0x41f174
mov edx, eax
lea ecx, [edx - 1]
cmp ecx, ebx
ja 0x41f182
cmp eax, 0x100
jbe 0x41f1a2
mov dword [esp], 0x4402bb
call fcn.004218d0
nop
mov eax, dword [ebp - 0x444]
mov edx, dword [ebp - 0x41c]
cmp edx, eax
jbe 0x41f1a2
mov edx, eax
inc ebx
cmp ebx, edx
jb 0x41ed80
jmp 0x41ecf0
mov eax, dword [ebp - 0x428]
mov edx, dword [ebp - 0x424]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp], str._I64u
call fcn.004218d0
jmp case.0x41ee26.0
mov eax, dword [ebp - 0x428]
mov edx, dword [ebp - 0x424]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp], 0x4402a8
call fcn.004218d0
jmp case.0x41ee26.0
mov eax, dword [ebp - 0x428]
mov dword [esp], 0x4402b1
mov dword [esp + 4], eax
call fcn.004218d0
jmp case.0x41ee26.0
xor eax, eax
mov dword [esp], 0x4402ae
mov ax, word [ebp - 0x428]
mov dword [esp + 4], eax
call fcn.004218d0
jmp case.0x41ee26.0
xor eax, eax
mov dword [esp], 0x4402ae
mov al, byte [ebp - 0x428]
mov dword [esp + 4], eax
call fcn.004218d0
jmp case.0x41ee26.0
mov eax, dword [ebp - 0x428]
mov dword [esp], 0x4402a4
mov dword [esp + 4], eax
call fcn.004218d0
jmp case.0x41ee26.0
movsx eax, word [ebp - 0x428]
mov dword [esp], 0x4402a1
mov dword [esp + 4], eax
call fcn.004218d0
jmp case.0x41ee26.0
test byte [0x4387c4], 2
je 0x41ebd0
mov eax, dword [ebp - 0x454]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], str.Unknown_type__lu_for__ls_n
mov dword [esp + 8], str.types_print_type
mov dword [esp + 4], 0x4387c4
mov dword [esp], 1
call fcn.0041dcd0
jmp 0x41ebd0
mov dword [esp], str._ret_typeself_
mov dword [ebp - 0x42c], 0
call fcn.004218d0
jmp 0x41ee70
lea eax, [ebp - 0x438]
mov dword [esp + 4], 2
mov dword [esp + 8], eax
mov dword [esp], edi
call fcn.0041e2d0
test eax, eax
je 0x41ebd0
lea eax, [ebp - 0x41c]
mov dword [esp + 4], 5
mov dword [esp + 8], eax
mov dword [esp], edi
call fcn.0041e2d0
test eax, eax
je 0x41ebd0
mov eax, dword [ebp - 0x41c]
mov edx, 0x4401f2
sub eax, 0xd
cmp eax, 1
ja 0x41f34c
mov edx, str._long
mov dword [esp + 0xc], edx
mov eax, dword [ebp - 0x438]
mov edx, dword [ebp - 0x434]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp], str.:_size_I64d_s
call fcn.004218d0
jmp 0x41ebd0
mov esi, 0x4401fa
jmp 0x41ee78
mov eax, dword [ebp - 0x454]
mov dword [esp], str.struct__ls
mov dword [esp + 4], eax
call fcn.004218d0
jmp 0x41ef90
mov eax, dword [ebp - 0x454]
mov dword [esp], str.union__ls
mov dword [esp + 4], eax
call fcn.004218d0
jmp 0x41ef90
mov eax, dword [ebp - 0x454]
mov dword [esp], str.class__ls
mov dword [esp + 4], eax
call fcn.004218d0
jmp 0x41ef90
mov edx, dword [ebp - 0x41c]
cmp edx, eax
jbe 0x41f3ef
mov edx, eax
test edx, edx
je 0x41ef0a
xor esi, esi
mov eax, dword [edi + esi*4 + 8]
mov dword [esp + 8], ebx
mov dword [esp + 4], 3
mov dword [esp], ebx
mov dword [ebp - 0x430], eax
call fcn.0041e2d0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], ebx
call fcn.0041eae0
mov eax, dword [ebp - 0x444]
mov edx, dword [ebp - 0x41c]
cmp edx, eax
jbe 0x41f441
mov edx, eax
lea ecx, [edx - 1]
cmp ecx, esi
ja 0x41f44f
cmp eax, 0x100
jbe 0x41f46d
mov dword [esp], 0x4402bb
call fcn.004218d0
mov eax, dword [ebp - 0x444]
mov edx, dword [ebp - 0x41c]
cmp edx, eax
jbe 0x41f46d
mov edx, eax
inc esi
cmp esi, edx
jb 0x41f3f9
jmp 0x41ef0a
mov dword [esp], 0x4402d7
call fcn.004218d0
jmp 0x41ef36
mov dword [esp], 0x44028e
call fcn.004218d0
jmp 0x41ebe4
mov eax, dword [ebp - 0x454]
mov dword [esp], str.typedef__ls__
mov dword [esp + 4], eax
call fcn.004218d0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], ebx
call fcn.0041eae0
jmp 0x41ebd0
mov edx, dword [ebp - 0x454]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], str.Unsupported_UDT_type___ld__for__ls_n
mov dword [esp + 8], str.types_print_type
mov dword [esp + 4], 0x4387c4
mov dword [esp], 1
call fcn.0041dcd0
jmp 0x41ef90
mov edx, dword [ebp - 0x41c]
cmp edx, eax
jbe 0x41f50f
mov edx, eax
test edx, edx
je 0x41f01c
lea edx, [ebp - 0x43c]
lea eax, [ebp - 0x430]
mov dword [ebp - 0x458], esi
mov dword [ebp - 0x45c], edx
xor ebx, ebx
mov esi, eax
mov edx, dword fs:[0x18]
mov dword [ebp - 0x464], edx
mov eax, dword [edi + 4]
mov dword [ebp - 0x42c], eax
mov eax, dword [ebp - 0x458]
mov eax, dword [eax + ebx*4 + 8]
mov dword [esp + 4], 1
mov dword [ebp - 0x430], eax
mov eax, dword [ebp - 0x45c]
mov dword [esp + 8], eax
mov dword [esp], esi
call fcn.0041e2d0
test eax, eax
je 0x41f6a0
mov ecx, dword [ebp - 0x43c]
test ecx, ecx
je 0x41f6a0
lea eax, [ebp - 0x440]
mov dword [esp + 4], 0xe
mov dword [esp + 8], eax
mov dword [esp], esi
call fcn.0041e2d0
test eax, eax
jne 0x41f6e1
mov dword [ebp - 0x438], 0xffffffff
mov dword [ebp - 0x434], 0xffffffff
mov dword [esp + 8], esi
mov dword [esp + 4], 3
mov dword [esp], esi
call fcn.0041e2d0
test eax, eax
je 0x41f6c6
lea eax, [ebp - 0x448]
mov edx, dword [ebp - 0x43c]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x18
mov dword [esp], esi
mov dword [ebp - 0x468], edx
call fcn.0041e2d0
mov edx, dword [ebp - 0x468]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.0041eae0
mov eax, dword [ebp - 0x43c]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x464]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov edx, dword [ebp - 0x438]
mov eax, dword [ebp - 0x434]
mov ecx, edx
and ecx, eax
sub esp, 0xc
inc ecx
je 0x41f668
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp], str._:__I64u
call fcn.004218d0
mov dword [esp], 0x440284
call fcn.004218d0
mov eax, dword [ebp - 0x444]
mov edx, dword [ebp - 0x41c]
cmp edx, eax
jbe 0x41f686
mov edx, eax
lea ecx, [edx - 1]
cmp ecx, ebx
ja 0x41f694
cmp eax, 0x100
jbe 0x41f6b2
mov dword [esp], 0x440286
call fcn.004218d0
mov eax, dword [ebp - 0x444]
mov edx, dword [ebp - 0x41c]
cmp edx, eax
jbe 0x41f6b2
mov edx, eax
inc ebx
cmp ebx, edx
jb 0x41f540
mov esi, dword [ebp - 0x458]
jmp 0x41f01c
mov eax, dword [ebp - 0x43c]
mov dword [esp], str._unknown___ls
mov dword [esp + 4], eax
call fcn.004218d0
jmp 0x41f617
lea eax, [ebp - 0x438]
mov dword [esp + 4], 2
mov dword [esp + 8], eax
mov dword [esp], esi
call fcn.0041e2d0
test eax, eax
je 0x41f5ab
jmp 0x41f5bf