Function at 0x416f80
Capabilities:
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x420997
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
call fcn.00402940
xor edi, edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esp + 0x20], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
lea ebx, [esi + 0x40]
push edi
push 8
mov ecx, ebx
mov byte [esp + 0x28], 2
call fcn.0040b450
mov dword [ebx], 0x421374
lea ebx, [esi + 0x84]
push edi
push 8
mov ecx, ebx
mov byte [esp + 0x28], 3
call fcn.0040b450
mov dword [ebx], 0x421374
lea ebx, [esi + 0xc8]
push edi
push 8
mov ecx, ebx
mov byte [esp + 0x28], 4
call fcn.0040b450
mov ebp, dword [sym.imp.COMCTL32.dll_ImageList_Create]
push 1
push 1
push 0x18
push 0x18
push 2
mov dword [ebx], 0x421374
mov dword [esp + 0x24], edi
call ebp
push ecx
mov dword [esi + 0x1c], eax
mov eax, esp
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], esp
mov dword [eax], 0xca
call fcn.00402870
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x1c]
push edi
push eax
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_Add]
mov edx, dword [esp + 0x10]
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
push edx
call ebx
test eax, eax
je 0x41706a
mov dword [esp + 0x10], edi
push 1
push 1
push 0x18
push 1
push 3
call ebp
push ecx
mov dword [esi + 0x24], eax
mov eax, esp
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], esp
mov dword [eax], 0xcb
call fcn.00402870
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x24]
push edi
push eax
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_Add]
mov edx, dword [esp + 0x10]
push edx
call ebx
test eax, eax
je 0x4170ae
mov dword [esp + 0x10], edi
push 1
push 1
push 0x18
push 0xa
push 3
call ebp
push ecx
mov dword [esi + 0x28], eax
mov eax, esp
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], esp
mov dword [eax], 0xc9
call fcn.00402870
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x28]
push edi
push eax
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_Add]
mov edx, dword [esp + 0x10]
push edx
call ebx
test eax, eax
je 0x4170f2
mov dword [esp + 0x10], edi
push 1
push 1
push 0x18
push 0xa
push 3
call ebp
push ecx
mov dword [esi + 0x20], eax
mov eax, esp
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], esp
mov dword [eax], 0xcd
call fcn.00402870
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x20]
push edi
push eax
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_Add]
mov edx, dword [esp + 0x10]
push edx
call ebx
test eax, eax
je 0x417136
mov dword [esp + 0x10], edi
push 1
push 1
push 0x18
push 0xd
push 0xf
call ebp
push ecx
mov dword [esi + 0x2c], eax
mov eax, esp
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], esp
mov dword [eax], 0xce
call fcn.00402870
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x2c]
push edi
push eax
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_Add]
mov edx, dword [esp + 0x10]
push edx
call ebx
test eax, eax
je 0x41717a
mov dword [esp + 0x10], edi
push 1
push 1
push 0x18
push 0xd
push 0xf
call ebp
push ecx
mov dword [esi + 0x30], eax
mov eax, esp
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], esp
mov dword [eax], 0xdf
call fcn.00402870
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x30]
push edi
push eax
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_Add]
mov edx, dword [esp + 0x10]
push edx
call ebx
test eax, eax
je 0x4171be
mov dword [esp + 0x10], edi
push 1
push 1
push 0x18
push 0xd
push 0xf
call ebp
push ecx
mov dword [esi + 0x34], eax
mov eax, esp
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], esp
mov dword [eax], 0xde
call fcn.00402870
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x34]
push edi
push eax
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_Add]
mov edx, dword [esp + 0x10]
push edx
call ebx
test eax, eax
je 0x417202
mov dword [esp + 0x10], edi
mov ebp, dword [sym.imp.GDI32.dll_CreateSolidBrush]
push 0xf3efe3
call ebp
push 0xffffff
mov dword [esi + 0x38], eax
call ebp
mov dword [esi + 0x3c], eax
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x417227
push eax
call ebx
mov ecx, dword [esp + 0x18]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x14
ret