Function at 0x40de10
Capabilities:
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4616d7
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]
push 0
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 0
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
lea ecx, [esi + 0x90]
mov dword [esp + 0x24], 7
call fcn.0042ade0
mov byte [esp + 0x24], 8
mov dword [esi + 0xbc], 0
push 0
push 8
lea ecx, [esi + 0xc0]
call fcn.00401000
push 0
push 8
lea ecx, [esi + 0x108]
mov byte [esp + 0x2c], 9
call fcn.00401000
mov ecx, dword [0x46f42c]
lea edi, [esi + 0x150]
mov dword [edi], ecx
mov edx, dword [0x46f42c]
lea ebp, [esi + 0x154]
mov dword [ebp], edx
mov eax, dword [0x46f42c]
mov dword [esi + 0x158], eax
mov ecx, dword [0x46f42c]
lea ebx, [esi + 0x15c]
mov dword [ebx], ecx
mov ecx, dword [esp + 0x2c]
mov byte [esp + 0x24], 0xe
test ecx, ecx
mov dword [esi], 0x4667b8
jne 0x40e07b
xor eax, eax
jmp 0x40e086
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esp + 0x2c]
push ecx
push eax
mov ecx, edi
call fcn.004080a0
mov edi, dword [esp + 0x30]
test edi, edi
jne 0x40e09b
xor eax, eax
jmp 0x40e0a2
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
push eax
mov ecx, ebp
call fcn.004080a0
mov ebp, dword [esp + 0x34]
test ebp, ebp
jne 0x40e0b7
xor eax, eax
jmp 0x40e0be
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebp
push eax
lea ecx, [esi + 0x158]
call fcn.004080a0
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x40e0d7
xor edi, edi
jmp 0x40e0e0
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00408340
test eax, eax
je 0x40e11e
mov edx, dword [esp + 0x38]
mov ecx, dword [ebx]
lea ebp, [edi + edi]
lea eax, [edi + edi + 2]
push ebp
push edx
push eax
push ecx
call fcn.00407060
mov edx, dword [ebx]
mov ecx, dword [esp + 0x4c]
add esp, 0x10
mov dword [edx - 8], edi
mov eax, dword [ebx]
mov word [eax + ebp], 0
mov dword [esi + 0x160], ecx
jmp 0x40e128
mov edx, dword [esp + 0x3c]
mov dword [esi + 0x160], edx
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 0x14