Function at 0x64a8b960
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
push esi
push ebx
mov ebx, edx
sub esp, 0xac
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x70], 0
test byte [0x64ab50d0], 8
jne 0x64a8bbd0
mov esi, dword [ebp - 0x7c]
lea edx, [ebp - 0x64]
mov eax, dword [esi]
mov dword [esp + 4], edx
mov dword [esp], esi
call dword [eax + 0x30]
mov eax, dword [esi]
lea edx, [ebp - 0x74]
sub esp, 8
mov dword [esp + 8], edx
mov dword [esp + 4], edi
mov dword [esp], esi
call dword [eax + 0x34]
sub esp, 0xc
mov edx, eax
test eax, eax
js 0x64a8ba60
mov eax, dword [ebp - 0x74]
lea ecx, [ebp - 0x50]
mov edx, dword [eax]
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [edx + 0x10]
sub esp, 8
mov edx, eax
test eax, eax
js 0x64a8ba60
test ebx, ebx
lea ecx, [ebp - 0x50]
je 0x64a8bc10
mov dword [ebp - 0x80], 9
xor ebx, ebx
mov eax, dword [ebp - 0x70]
test eax, eax
je 0x64a8bdf0
test byte [0x64ab50d0], 8
jne 0x64a8be28
mov edx, dword [eax]
lea ecx, [ebp - 0x68]
mov dword [esp], eax
xor esi, esi
mov dword [esp + 8], ecx
lea ecx, [ebp - 0x6c]
mov dword [esp + 4], ecx
call dword [edx + 0xc]
mov ecx, 1
sub esp, 0xc
mov edx, eax
test eax, eax
jns 0x64a8bd40
mov ebx, dword [ebp - 0x70]
mov byte [ebp - 0x84], cl
mov dword [ebp - 0x80], edx
mov eax, dword [ebx]
mov dword [esp], ebx
call dword [eax + 8]
mov edx, dword [ebp - 0x80]
movzx ecx, byte [ebp - 0x84]
sub esp, 4
test edx, edx
jns 0x64a8ba6a
test cl, cl
je 0x64a8ba6a
lea esi, [esi]
mov dword [esp], edx
call sym._hresult_to_status
mov esi, eax
test esi, esi
je 0x64a8bb1b
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [ebp - 0x30]
lea esi, [ebp - 0x60]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x78]
mov dword [esp], eax
call sym.gdiplus.dll_GdipBitmapUnlockBits
mov eax, dword [ebp - 0x78]
mov ebx, dword [ebp + 0xc]
sub esp, 8
mov dword [ebx], eax
mov eax, dword [ebp - 0x70]
lea ebx, [ebp - 0x58]
mov edx, dword [eax]
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [edx + 0x14]
sub esp, 0xc
test eax, eax
js 0x64a8bacc
fld qword [ebp - 0x60]
mov eax, dword [ebp - 0x78]
fstp dword [eax + 0x2c]
fld qword [ebp - 0x58]
fstp dword [eax + 0x30]
mov eax, dword [ebp - 0x70]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov eax, dword [ebp - 0x78]
mov edx, dword [ebp + 8]
sub esp, 4
mov dword [eax + 0x68], 0
test edx, edx
je 0x64a8c030
mov dword [esp + 8], edi
mov ebx, dword [ebp - 0x7c]
mov dword [esp], eax
mov dword [esp + 4], ebx
call dword [ebp + 8]
mov edx, dword [ebp - 0x80]
mov eax, dword [ebp - 0x74]
call sym._get_palette
mov esi, eax
mov eax, dword [ebp - 0x74]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
mov eax, dword [ebp - 0x78]
cmp dword [ebp - 0x50], 0x6fddc324
mov edx, dword [eax + 0x1c]
je 0x64a8bd10
cmp dword [ebp - 0x50], 0x6fddc324
je 0x64a8bef0
cmp dword [ebp - 0x50], 0x6fddc324
je 0x64a8bfd0
cmp dword [ebp - 0x50], 0x6fddc324
je 0x64a8c0b0
or edx, 0x13010
lea esi, [esi]
nop
mov dword [eax + 0x1c], edx
mov edx, dword [ebp - 0x64]
mov dword [eax + 0x24], edi
mov edi, dword [ebp - 0x7c]
mov dword [eax + 0x20], edx
mov dword [eax], edi
mov eax, dword [edi]
mov dword [esp], edi
call dword [eax + 4]
sub esp, 4
test esi, esi
je 0x64a8bcc8
mov edx, dword [ebp - 0x78]
mov eax, dword fs:[0x18]
mov edx, dword [edx + 0x28]
mov dword [esp + 4], 0
mov dword [esp + 8], edx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [ebp - 0x78]
sub esp, 0xc
mov dword [eax + 0x28], esi
test byte [0x64ab50d0], 8
jne 0x64a8bc90
xor esi, esi
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x7c]
mov dword [esp + 0xc], str._p__u__p_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.decode_frame_wic
mov dword [esp + 4], 0x64ab50d0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_6
jmp 0x64a8b987
mov dword [ebp - 0x80], ebx
xor esi, esi
mov eax, 0x64abe9d4
jmp 0x64a8bc35
add esi, 1
lea eax, [esi + esi*2]
mov eax, dword [eax*4 + 0x64abd4a0]
test eax, eax
je 0x64a8bf20
mov ebx, dword [eax]
cmp dword [ecx], ebx
jne 0x64a8bc20
mov ebx, dword [eax + 4]
cmp dword [ecx + 4], ebx
jne 0x64a8bc20
mov ebx, dword [eax + 8]
cmp dword [ecx + 8], ebx
jne 0x64a8bc20
mov eax, dword [eax + 0xc]
cmp dword [ecx + 0xc], eax
jne 0x64a8bc20
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x84], edx
mov dword [ebp - 0x70], eax
mov ebx, dword [eax]
mov dword [esp], eax
call dword [ebx + 4]
lea eax, [esi + esi*2]
mov edx, dword [ebp - 0x84]
lea ecx, [ebp - 0x50]
lea eax, [eax*4 + 0x64abd4a0]
sub esp, 4
mov ebx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ebp - 0x80], eax
jmp 0x64a8b9ef
mov eax, dword [ebp + 0xc]
xor esi, esi
mov eax, dword [eax]
mov dword [esp + 0xc], 0x64abbc66
mov dword [esp + 8], str.decode_frame_wic
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x64ab50d0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_6
jmp 0x64a8bbc3
cmp dword [ebp - 0x50], 0x6fddc324
jne 0x64a8bbb4
cmp dword [ebp - 0x4c], 0x4bfe4e03
jne 0x64a8bbb4
cmp dword [ebp - 0x48], 0x773d85b1
jne 0x64a8bbb4
cmp dword [ebp - 0x44], 0x5c98d76
jne 0x64a8bbb4
mov eax, dword [ebp - 0x78]
mov eax, dword [eax + 0x28]
mov dword [eax], 0
jmp 0x64a8bbb4
cmp dword [ebp - 0x4c], 0x4bfe4e03
jne 0x64a8bb2e
cmp dword [ebp - 0x48], 0x773d85b1
jne 0x64a8bb2e
cmp dword [ebp - 0x44], 0x6c98d76
jne 0x64a8bb2e
jmp 0x64a8bff7
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0x78]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov eax, dword [ebp - 0x68]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x6c]
mov dword [esp], eax
call sym.gdiplus.dll_GdipCreateBitmapFromScan0
mov edx, dword [ebp - 0x84]
sub esp, 0x18
test eax, eax
mov esi, eax
jne 0x64a8c008
lea eax, [ebp - 0x30]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 8], 2
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x78]
mov dword [esp], eax
call sym.gdiplus.dll_GdipBitmapLockBits
mov edx, dword [ebp - 0x84]
sub esp, 0x14
test eax, eax
mov esi, eax
je 0x64a8bf30
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x80], edx
xor edx, edx
mov dword [eax], edx
mov eax, dword [ebp - 0x78]
mov dword [esp], eax
call sym.gdiplus.dll_GdipDisposeImage
push ecx
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
mov dword [esp], eax
call dword [ecx + 8]
test esi, esi
sete cl
push ebx
mov edx, dword [ebp - 0x80]
jmp 0x64a8ba52
lea eax, [ebp - 0x70]
mov ebx, 0x26200a
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x74]
mov dword [esp], 0x64abe8d4
mov dword [esp + 4], eax
call sym._WICConvertBitmapSource_12
lea ecx, [ebp - 0x50]
sub esp, 0xc
test byte [0x64ab50d0], 8
mov edx, eax
je 0x64a8beda
lea esi, [esi]
mov eax, ecx
mov dword [ebp - 0x84], edx
shr eax, 0x10
je 0x64a8c010
movzx eax, byte [ebp - 0x41]
mov dword [esp + 0x2c], eax
movzx eax, byte [ebp - 0x42]
mov dword [esp + 0x28], eax
movzx eax, byte [ebp - 0x43]
mov dword [esp + 0x24], eax
movzx eax, byte [ebp - 0x44]
mov dword [esp + 0x20], eax
movzx eax, byte [ebp - 0x45]
mov dword [esp + 0x1c], eax
movzx eax, byte [ebp - 0x46]
mov dword [esp + 0x18], eax
movzx eax, byte [ebp - 0x47]
mov dword [esp + 0x14], eax
movzx eax, byte [ebp - 0x48]
mov dword [esp + 0x10], eax
movzx eax, word [ebp - 0x4a]
mov dword [esp + 0xc], eax
movzx eax, word [ebp - 0x4c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x50]
mov dword [esp], str._08x__04x__04x__02x_02x__02x_02x_02x_02x_02x_02x
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_2
mov edx, dword [ebp - 0x84]
mov dword [ebp - 0x84], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str._s____x_n
mov dword [esp + 8], str.decode_frame_wic
mov dword [esp + 4], 0x64ab50d0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_6
mov edx, dword [ebp - 0x84]
test edx, edx
js 0x64a8ba60
mov eax, dword [ebp - 0x70]
jmp 0x64a8ba07
cmp dword [ebp - 0x4c], 0x4bfe4e03
jne 0x64a8bb3b
cmp dword [ebp - 0x48], 0x773d85b1
jne 0x64a8bb3b
cmp dword [ebp - 0x44], 0x7c98d76
jne 0x64a8bb3b
jmp 0x64a8bff7
mov ebx, dword [ebp - 0x80]
mov dword [ebp - 0x80], 9
jmp 0x64a8b9ef
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x38], eax
test ecx, ecx
je 0x64a8ba80
mov dword [ebp - 0x84], esi
xor ebx, ebx
jmp 0x64a8bf6c
add ebx, 1
cmp ebx, dword [ebp - 0x68]
jae 0x64a8ba80
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x3c], ebx
mov edx, eax
mov esi, dword [ecx]
neg edx
cmovs edx, eax
imul eax, ebx
add eax, dword [ebp - 0x20]
mov dword [esp], ecx
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x40]
mov dword [esp + 0xc], edx
mov dword [esp + 8], edx
mov dword [esp + 4], eax
call dword [esi + 0x1c]
sub esp, 0x14
test eax, eax
jns 0x64a8bf60
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x30]
mov esi, dword [ebp - 0x84]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x78]
mov dword [esp], eax
call sym.gdiplus.dll_GdipBitmapUnlockBits
mov edx, dword [ebp - 0x80]
sub esp, 8
jmp 0x64a8bdbf
cmp dword [ebp - 0x4c], 0x4bfe4e03
jne 0x64a8bb48
cmp dword [ebp - 0x48], 0x773d85b1
jne 0x64a8bb48
cmp dword [ebp - 0x44], 0x8c98d76
jne 0x64a8bb48
or edx, 0x13040
jmp 0x64a8bb60
xor ecx, ecx
jmp 0x64a8ba31
mov dword [esp + 4], ecx
mov dword [esp], 0x64abb730
call sym._wine_dbg_sprintf_2
mov edx, dword [ebp - 0x84]
jmp 0x64a8bea2
mov eax, dword [ebp - 0x74]
mov edx, dword [eax]
mov dword [esp + 8], esi
mov dword [esp + 4], 0x64abd554
mov dword [esp], eax
call dword [edx]
sub esp, 0xc
test eax, eax
jne 0x64a8bb00
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x58], 0
mov edx, dword [eax]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [edx + 0x10]
sub esp, 8
test eax, eax
jne 0x64a8c095
mov esi, dword [ebp - 0x58]
test esi, esi
je 0x64a8c095
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x78]
mov ecx, dword [edx]
add eax, 0x68
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov dword [esp], edx
call dword [ecx + 0x14]
sub esp, 0xc
mov eax, dword [ebp - 0x60]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
jmp 0x64a8bb00
cmp dword [ebp - 0x4c], 0x4bfe4e03
jne 0x64a8bb55
cmp dword [ebp - 0x48], 0x773d85b1
jne 0x64a8bb55
cmp dword [ebp - 0x44], 0xbc98d76
jne 0x64a8bb55
jmp 0x64a8bff7