Function at 0x40a3e0
Capabilities:
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x41fd9d
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.00402940
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
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
push eax
push 8
lea ecx, [esi + 0x40]
mov byte [esp + 0x2c], 2
call fcn.00402990
push 0
push 8
lea ecx, [esi + 0x84]
mov byte [esp + 0x2c], 3
call fcn.00402990
push 0
push 8
lea ecx, [esi + 0xc8]
mov byte [esp + 0x2c], 4
call fcn.00402990
mov dword [esp + 0x10], 0
push 1
push 1
push 0x18
push 0x18
push 2
mov ecx, edi
mov byte [esp + 0x38], 6
call fcn.00402950
push ecx
lea ecx, [esp + 0x14]
mov eax, esp
mov dword [esp + 0x1c], esp
mov dword [eax], 0xca
call fcn.00402870
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.0040b760
push 1
push 1
push 0x18
push 1
push 3
mov ecx, ebp
call fcn.00402950
push ecx
lea ecx, [esp + 0x14]
mov eax, esp
mov dword [esp + 0x1c], esp
mov dword [eax], 0xcb
call fcn.00402870
push 0
mov edx, dword [esp + 0x14]
mov eax, dword [ebp]
push edx
push eax
call edi
lea ecx, [esp + 0x10]
call fcn.0040b760
push 1
push 1
push 0x18
lea ebp, [esi + 0x28]
push 0xa
push 3
mov ecx, ebp
call fcn.00402950
push ecx
lea ecx, [esp + 0x14]
mov eax, esp
mov dword [esp + 0x1c], esp
mov dword [eax], 0xc9
call fcn.00402870
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp]
push 0
push ecx
push edx
call edi
lea ecx, [esp + 0x10]
call fcn.0040b760
push 1
push 1
push 0x18
push 0xa
push 3
mov ecx, ebx
call fcn.00402950
push ecx
lea ecx, [esp + 0x14]
mov eax, esp
mov dword [esp + 0x1c], esp
mov dword [eax], 0xcd
call fcn.00402870
mov eax, dword [esp + 0x10]
mov ecx, dword [ebx]
push 0
push eax
push ecx
call edi
lea ecx, [esp + 0x10]
call fcn.0040b760
push 1
push 1
push 0x18
lea ebx, [esi + 0x2c]
push 0xd
push 0xf
mov ecx, ebx
call fcn.00402950
push ecx
lea ecx, [esp + 0x14]
mov eax, esp
mov dword [esp + 0x1c], esp
mov dword [eax], 0xce
call fcn.00402870
mov edx, dword [esp + 0x10]
mov eax, dword [ebx]
push 0
push edx
push eax
call edi
lea ecx, [esp + 0x10]
call fcn.0040b760
push 1
push 1
push 0x18
lea ebx, [esi + 0x30]
push 0xd
push 0xf
mov ecx, ebx
call fcn.00402950
push ecx
mov eax, esp
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c], esp
mov dword [eax], 0xdf
call fcn.00402870
mov ecx, dword [esp + 0x10]
mov edx, dword [ebx]
push 0
push ecx
push edx
call edi
lea ecx, [esp + 0x10]
call fcn.0040b760
push 1
push 1
push 0x18
lea ebx, [esi + 0x34]
push 0xd
push 0xf
mov ecx, ebx
call fcn.00402950
push ecx
lea ecx, [esp + 0x14]
mov eax, esp
mov dword [esp + 0x1c], esp
mov dword [eax], 0xde
call fcn.00402870
mov eax, dword [esp + 0x10]
mov ecx, dword [ebx]
push 0
push eax
push ecx
call edi
lea ecx, [esp + 0x10]
call fcn.0040b760
mov edi, dword [sym.imp.GDI32.dll_CreateSolidBrush]
push 0xf3efe3
call edi
push 0xffffff
mov dword [esi + 0x38], eax
call edi
lea ecx, [esp + 0x10]
mov dword [esi + 0x3c], eax
mov byte [esp + 0x24], 5
call fcn.00402920
push 0
push 8
lea ecx, [esi + 0x114]
mov dword [esp + 0x2c], 7
call fcn.00401000
lea ecx, [esi + 0x15c]
mov byte [esp + 0x24], 8
mov dword [esi + 0x158], 0
call fcn.0040b110
lea ecx, [esi + 0x1a8]
mov byte [esp + 0x24], 9
call fcn.0040b110
lea ecx, [esi + 0x1f4]
mov byte [esp + 0x24], 0xa
call fcn.0040b110
lea ecx, [esi + 0x240]
mov byte [esp + 0x24], 0xb
call fcn.0040b110
mov edx, dword [0x42505c]
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x28c], edx
mov dword [esi], 0x4213a8
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x18
ret