Function at 0x430150
Capabilities:
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x46378d
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
mov dword [esp + 0x24], 1
call fcn.00410710
lea edi, [esi + 0x1c]
xor eax, eax
lea ebx, [esi + 0x20]
lea ebp, [esi + 0x24]
mov dword [edi], 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], 4
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], 8
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], 7
call fcn.0040bc60
push ebp
mov byte [esp + 0x28], 9
push 8
lea ecx, [esi + 0x90]
call fcn.00401000
lea ecx, [esi + 0xd8]
mov byte [esp + 0x24], 0xa
call fcn.0042ade0
mov dword [esi + 0x104], ebp
mov ecx, dword [0x46f42c]
lea edi, [esi + 0x108]
mov dword [edi], ecx
mov edx, dword [0x46f42c]
lea ebx, [esi + 0x10c]
mov dword [ebx], edx
mov dword [esi], 0x466954
mov dword [esi + 0x110], ebp
mov eax, dword [edi]
mov ebp, dword [esp + 0x2c]
cmp eax, ebp
mov byte [esp + 0x24], 0xd
je 0x4303c9
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x4303a1
mov ecx, dword [0x46f430]
add eax, 0xfffffff4
cmp eax, ecx
jne 0x4303a8
mov eax, dword [ebp - 0xc]
test eax, eax
jge 0x4303b6
mov eax, dword [ebp - 8]
push ebp
push eax
mov ecx, edi
call fcn.004080a0
jmp 0x4303c9
mov ecx, edi
call fcn.004083e0
lea eax, [ebp - 0xc]
mov dword [edi], ebp
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x114], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4303ec
lea edx, [esp + 0x30]
mov ecx, ebx
push edx
call fcn.00407360
jmp 0x4303f5
push 0x79
mov ecx, ebx
call fcn.00407c70
mov eax, dword [esp + 0x34]
lea ecx, [ebp - 0xc]
mov dword [esi + 0x134], eax
mov eax, dword [0x46f430]
cmp ecx, eax
je 0x430422
lea edi, [ebp - 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x430422
push edi
call fcn.004535f0
add esp, 4
lea ecx, [esp + 0x30]
mov dword [esp + 0x24], 0xffffffff
call fcn.00408010
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 0xc