Function at 0x417640
Capabilities:
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x461ced
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
call fcn.00410710
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 [esp + 0x24], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
lea ebx, [esi + 0x38]
push edi
push 8
mov ecx, ebx
mov byte [esp + 0x2c], 2
call fcn.00417860
mov dword [ebx], 0x4667a8
mov dword [esi + 0x80], edi
mov dword [esi + 0x84], edi
mov dword [esp + 0x10], edi
mov ebx, dword [sym.imp.COMCTL32.dll_ImageList_Create]
push 1
push 1
push 0x18
push 0x18
push 2
mov byte [esp + 0x38], 6
call ebx
push ecx
mov dword [esi + 0x1c], eax
mov eax, esp
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c], esp
mov dword [eax], 0xca
call fcn.0040bc30
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.COMCTL32.dll_ImageList_Add]
push edi
push eax
push ecx
call ebp
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x4176ff
mov dword [esp + 0x10], edi
push 1
push 1
push 0x18
push 1
push 3
call ebx
push ecx
mov dword [esi + 0x24], eax
mov eax, esp
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c], esp
mov dword [eax], 0xcb
call fcn.0040bc30
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x24]
push edi
push eax
push ecx
call ebp
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x417743
mov dword [esp + 0x10], edi
push 1
push 1
push 0x18
push 0xa
push 3
call ebx
push ecx
mov dword [esi + 0x28], eax
mov eax, esp
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c], esp
mov dword [eax], 0xc9
call fcn.0040bc30
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x28]
push edi
push eax
push ecx
call ebp
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x417787
mov dword [esp + 0x10], edi
push 1
push 1
push 0x18
push 0xa
push 3
call ebx
push ecx
mov dword [esi + 0x20], eax
mov eax, esp
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c], esp
mov dword [eax], 0xcd
call fcn.0040bc30
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x20]
push edi
push eax
push ecx
call ebp
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x4177cb
mov dword [esp + 0x10], edi
push 1
push 1
push 0x18
push 0xd
push 0xf
call ebx
push ecx
mov dword [esi + 0x2c], eax
mov eax, esp
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c], esp
mov dword [eax], 0xce
call fcn.0040bc30
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x2c]
push edi
push eax
push ecx
call ebp
mov edx, dword [esp + 0x10]
mov ebp, dword [sym.imp.GDI32.dll_DeleteObject]
push edx
call ebp
test eax, eax
je 0x417811
mov dword [esp + 0x10], edi
mov ebx, dword [sym.imp.GDI32.dll_CreateSolidBrush]
push 0xf3efe3
call ebx
push 0xffffff
mov dword [esi + 0x30], eax
call ebx
mov dword [esi + 0x34], eax
mov eax, dword [esp + 0x10]
cmp eax, edi
mov dword [esi + 0x7c], 1
je 0x41783d
push eax
call ebp
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x18
ret