Function at 0x69052a30
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
sub esp, 0x68
test byte [0x6907a0e8], 8
mov dword [ebp - 0xc], ebx
mov ebx, dword [ecx]
mov dword [ebp - 8], esi
mov esi, dword [ecx + 4]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edi
jne 0x69052c00
test ebx, ebx
je 0x69052bf0
test esi, esi
je 0x69052bf0
lea edi, [ebx + 0x34]
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_TryAcquireSRWLockExclusive]
sub esp, 4
test al, al
je 0x69052ca0
mov ecx, dword [ebx + 0x44]
test ecx, ecx
je 0x69052c80
mov eax, dword [esi + 0x14]
mov ecx, dword [ebx + 0x48]
mov edx, eax
and edx, 2
je 0x69052cc8
test ecx, ecx
je 0x69052cb0
mov eax, dword [ebx + 0x60]
mov edx, dword [ebx + 0x40]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x6908805c]
test eax, eax
jne 0x69052ae9
test edx, edx
mov eax, 0x18
je 0x69052ac7
movzx eax, dh
mov ecx, dword [ebp - 0x1c]
imul eax, ecx
test al, 7
je 0x69052ae9
test byte [0x6907a0e8], 1
jne 0x69052d10
mov ecx, 1
mov dword [0x6908805c], ecx
mov dword [ebp - 0x20], 0x18
mov eax, dword [esi + 0xc]
mov ecx, dword [ebx + 0x58]
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx + 0x28]
mov dword [ebp - 0x30], eax
mov eax, dword [ebx + 0x54]
mov dword [ebp - 0x34], eax
mov eax, dword [ebx + 0x64]
imul eax, ecx
test edx, edx
mov dword [ebp - 0x38], eax
je 0x69052b24
movzx eax, dh
mov dword [ebp - 0x20], eax
mov dword [esp + 0x10], edx
xor eax, eax
mov edx, dword [ebp - 0x1c]
mov dword [esp + 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [esp + 8], ecx
mov dword [esp + 0x20], eax
mov eax, dword [ebp - 0x28]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x20]
imul eax, edx
lea edx, [eax + 7]
test eax, eax
cmovs eax, edx
mov edx, dword [ebp - 0x38]
sar eax, 3
add eax, edx
mov edx, dword [ebp - 0x34]
add eax, edx
mov dword [esp + 0xc], eax
mov eax, dword [esi + 4]
mov dword [esp + 4], eax
mov eax, dword [esi]
mov dword [esp], eax
call sym._convert_pixels
test eax, eax
mov edx, eax
jne 0x69052c38
mov dword [ebp - 0x1c], edx
mov ecx, dword [ebx + 0x48]
xor edx, edx
mov dword [esp + 4], edx
mov eax, dword fs:[0x18]
mov dword [esp + 8], ecx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov dword [ebx + 0x48], 0
sub esp, 0xc
mov dword [ebx + 0x44], 0
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_ReleaseSRWLockExclusive]
mov edx, dword [ebp - 0x1c]
sub esp, 4
mov ecx, dword [ebp - 0x10]
mov eax, edx
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
lea esp, [ecx - 4]
ret 8
mov edx, 2
jmp 0x69052bd0
mov dword [esp + 0x14], esi
mov eax, str.GdipBitmapUnlockBits
mov edi, 0x69080bf6
mov dword [esp + 8], eax
mov eax, 0x6907a0e8
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], edi
mov dword [esp + 4], eax
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_6
jmp 0x69052a5e
test byte [0x6907a0e8], 2
je 0x69052b8b
mov dword [ebp - 0x1c], eax
mov ecx, str.failed_to_convert_pixels__this_should_never_happen_n
mov eax, 0x6907a0e8
mov dword [esp + 0xc], ecx
mov esi, str.GdipBitmapUnlockBits
mov dword [esp + 8], esi
mov dword [esp + 4], eax
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_6
mov edx, dword [ebp - 0x1c]
jmp 0x69052b8b
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_ReleaseSRWLockExclusive]
mov edx, 8
sub esp, 4
jmp 0x69052bd0
mov edx, 4
jmp 0x69052bd0
and eax, 4
jne 0x69052aa9
mov dword [ebp - 0x1c], eax
jmp 0x69052bba
mov dword [ebp - 0x1c], edx
xor edx, edx
mov dword [ebx + 0x44], 0
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov dword [ebx + 0x48], 0
sub esp, 0xc
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_ReleaseSRWLockExclusive]
mov edx, dword [ebp - 0x1c]
sub esp, 4
jmp 0x69052bd0
mov dword [esp], 0
mov eax, str.Cannot_copy_rows_that_dont_start_at_a_whole_byte._n
mov dword [esp + 0xc], eax
mov eax, str.GdipBitmapUnlockBits
mov dword [esp + 8], eax
mov eax, 0x6907a0e8
mov dword [esp + 4], eax
call sym._wine_dbg_log.constprop.0_6
mov eax, dword [ebx + 0x60]
mov edx, dword [ebx + 0x40]
mov dword [ebp - 0x1c], eax
jmp 0x69052ade