Function at 0x100014b0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x5c
mov dword [ebp - 0x3c], edx
mov edx, dword [section..bss]
mov dword [ebp - 0x40], eax
test edx, edx
je 0x100016a0
lea eax, [ebp - 0x38]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetIconInfo]
sub esp, 8
test eax, eax
jne 0x100014f8
lea esp, [ebp - 0xc]
xor edi, edi
pop ebx
mov eax, edi
pop esi
pop edi
pop ebp
ret
lea eax, [ebp - 0x24]
mov dword [esp + 4], 0x18
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x2c]
mov edi, dword fs:[0x18]
mov dword [esp], eax
mov eax, dword [sym.imp.gdi32.dll_GetObjectW]
mov dword [ebp - 0x44], eax
call eax
mov ebx, dword [ebp - 0x1c]
imul ebx, dword [ebp - 0x18]
sub esp, 0xc
mov dword [esp + 4], 0
mov dword [esp + 8], ebx
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebp - 0x48], eax
call eax
sub esp, 0xc
mov esi, eax
test eax, eax
je 0x100016f8
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 4], ebx
mov dword [esp], eax
mov eax, dword [sym.imp.gdi32.dll_GetBitmapBits]
mov dword [ebp - 0x4c], eax
call eax
mov eax, dword [ebp - 0x28]
sub esp, 0xc
test eax, eax
je 0x100016e0
lea ecx, [ebp - 0x24]
mov dword [esp + 4], 0x18
mov dword [esp + 8], ecx
mov ecx, dword [ebp - 0x44]
mov dword [esp], eax
call ecx
mov edx, dword [ebp - 0x1c]
imul edx, dword [ebp - 0x18]
sub esp, 0xc
mov ecx, dword [ebp - 0x48]
mov dword [esp + 4], 0
mov dword [esp + 8], edx
mov eax, dword [edi + 0x30]
mov dword [ebp - 0x44], edx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ecx
sub esp, 0xc
mov ebx, eax
test eax, eax
je 0x100016f8
mov dword [esp + 8], eax
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x28]
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [ebp - 0x4c]
call eax
mov eax, dword [ebp - 0x1c]
sub esp, 0xc
cwde
movzx edx, byte [ebp - 0x12]
mov dword [esp + 0x18], ebx
mov dword [esp + 8], eax
movsx eax, word [ebp - 0x20]
mov dword [esp + 0x10], edx
movzx edx, byte [ebp - 0x14]
mov dword [esp + 4], eax
movzx eax, word [ebp - 0x40]
mov dword [esp + 0x14], esi
mov dword [esp + 0xc], edx
mov dword [esp], eax
call dword [section..bss]
sub esp, 0x1c
mov edi, eax
mov dword [esp + 8], esi
mov esi, dword [sym.imp.kernel32.dll_HeapFree]
mov dword [esp + 4], 0
mov ecx, dword fs:[0x18]
mov eax, dword [ecx + 0x30]
mov dword [ebp - 0x40], ecx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x28]
sub esp, 0xc
test eax, eax
je 0x10001675
mov ecx, dword [ebp - 0x40]
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x28]
sub esp, 0xc
mov dword [esp], eax
call dword [sym.imp.gdi32.dll_DeleteObject]
sub esp, 4
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call dword [sym.imp.gdi32.dll_DeleteObject]
mov eax, dword [ebp - 0x3c]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.user32.dll_DestroyIcon]
mov eax, edi
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], str.user.exe16
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
sub esp, 4
mov dword [esp + 4], str.CreateIcon16
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [section..bss], eax
sub esp, 8
test eax, eax
jne 0x100014cd
jmp 0x100014e7
mov edx, dword [ebp - 0x1c]
shr ebx, 1
add ebx, esi
mov eax, edx
shr eax, 0x1f
add eax, edx
sar eax, 1
mov dword [ebp - 0x1c], eax
jmp 0x100015e1
xor edi, edi
xor ebx, ebx
jmp 0x10001618