Function at 0x40f3b0
Capabilities:
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x46180b
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
lea edi, [esi + 0x1c]
xor eax, eax
lea ebx, [esi + 0x20]
lea ebp, [esi + 0x24]
mov dword [edi], eax
mov dword [esp + 0x24], eax
mov dword [ebx], eax
mov dword [ebp], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
push eax
push 8
lea ecx, [esi + 0x38]
mov byte [esp + 0x2c], 2
call fcn.0040bcf0
xor eax, eax
mov dword [esi + 0x80], eax
mov dword [esi + 0x84], eax
mov dword [esp + 0x10], eax
push 1
push 1
push 0x18
push 0x18
push 2
mov ecx, edi
mov byte [esp + 0x38], 6
call fcn.0040bcb0
push ecx
lea ecx, [esp + 0x14]
mov eax, esp
mov dword [esp + 0x1c], esp
mov dword [eax], 0xca
call fcn.0040bc30
mov eax, dword [esp + 0x10]
mov ecx, dword [edi]
mov edi, dword [sym.imp.COMCTL32.dll_ImageList_Add]
push 0
push eax
push ecx
call edi
lea ecx, [esp + 0x10]
call fcn.00417940
push 1
push 1
push 0x18
push 1
push 3
mov ecx, ebp
call fcn.0040bcb0
push ecx
lea ecx, [esp + 0x14]
mov eax, esp
mov dword [esp + 0x1c], esp
mov dword [eax], 0xcb
call fcn.0040bc30
mov edx, dword [esp + 0x10]
mov eax, dword [ebp]
push 0
push edx
push eax
call edi
lea ecx, [esp + 0x10]
call fcn.00417940
push 1
push 1
push 0x18
lea ebp, [esi + 0x28]
push 0xa
push 3
mov ecx, ebp
call fcn.0040bcb0
push ecx
lea ecx, [esp + 0x14]
mov eax, esp
mov dword [esp + 0x1c], esp
mov dword [eax], 0xc9
call fcn.0040bc30
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp]
push 0
push ecx
push edx
call edi
lea ecx, [esp + 0x10]
call fcn.00417940
push 1
push 1
push 0x18
push 0xa
push 3
mov ecx, ebx
call fcn.0040bcb0
push ecx
lea ecx, [esp + 0x14]
mov eax, esp
mov dword [esp + 0x1c], esp
mov dword [eax], 0xcd
call fcn.0040bc30
mov eax, dword [esp + 0x10]
mov ecx, dword [ebx]
xor ebp, ebp
push ebp
push eax
push ecx
call edi
lea ecx, [esp + 0x10]
call fcn.00417940
push 1
push 1
push 0x18
lea ebx, [esi + 0x2c]
push 0xd
push 0xf
mov ecx, ebx
call fcn.0040bcb0
push ecx
lea ecx, [esp + 0x14]
mov eax, esp
mov dword [esp + 0x1c], esp
mov dword [eax], 0xce
call fcn.0040bc30
mov edx, dword [esp + 0x10]
mov eax, dword [ebx]
push ebp
push edx
push eax
call edi
lea ecx, [esp + 0x10]
call fcn.00417940
mov edi, dword [sym.imp.GDI32.dll_CreateSolidBrush]
push 0xf3efe3
call edi
push 0xffffff
mov dword [esi + 0x30], eax
call edi
mov dword [esi + 0x34], eax
lea ecx, [esp + 0x10]
mov dword [esi + 0x7c], 1
mov byte [esp + 0x24], 5
call fcn.0040bc60
mov ecx, dword [0x46f42c]
mov dword [esp + 0x24], 7
mov dword [esi + 0x8c], ecx
mov edx, dword [0x46f42c]
mov dword [esi + 0x90], edx
mov eax, dword [0x46f42c]
mov dword [esi + 0x94], eax
mov ecx, dword [0x46f42c]
mov dword [esi + 0x98], ecx
mov edx, dword [0x46f42c]
mov dword [esi + 0x9c], edx
mov eax, dword [0x46f42c]
mov dword [esi + 0xa0], eax
mov ecx, dword [0x46f42c]
mov dword [esi + 0xa4], ecx
lea ecx, [esi + 0xb8]
mov byte [esp + 0x24], 8
call fcn.0042ade0
lea ecx, [esi + 0xe4]
mov byte [esp + 0x24], 9
call fcn.0042ade0
lea ecx, [esi + 0x110]
mov byte [esp + 0x24], 0xa
call fcn.0042ade0
push ebp
push 8
lea ecx, [esi + 0x140]
mov byte [esp + 0x2c], 0xb
mov dword [esi + 0x13c], ebp
call fcn.00401000
push ebp
push 8
lea ecx, [esi + 0x188]
mov byte [esp + 0x2c], 0xc
call fcn.00401000
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x1d0], ebp
mov dword [esi], 0x4667c8
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x18
ret