Function at 0x690522f0
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x78
mov edi, dword [ecx + 0xc]
mov eax, dword [ecx + 8]
mov ebx, dword [ecx]
mov dword [ebp - 0x20], 0x18
mov edx, dword [ecx + 4]
test edi, edi
mov esi, dword [ecx + 0x10]
mov dword [ebp - 0x1c], eax
je 0x69052328
mov eax, edi
movzx eax, ah
mov dword [ebp - 0x20], eax
test byte [0x6907a0e8], 8
jne 0x690524a8
mov dword [ebp - 0x24], edx
test esi, esi
je 0x69052490
test ebx, ebx
je 0x69052490
lea eax, [ebx + 0x34]
mov dword [esp], eax
mov dword [ebp - 0x28], eax
call dword [sym.imp.kernel32.dll_TryAcquireSRWLockExclusive]
sub esp, 4
test al, al
je 0x69052560
mov edx, dword [ebp - 0x24]
test edx, edx
je 0x690524f8
mov eax, dword [edx]
mov dword [ebp - 0x24], eax
test eax, eax
js 0x69052468
mov eax, dword [edx + 4]
mov dword [ebp - 0x30], eax
test eax, eax
mov ecx, eax
js 0x69052468
mov eax, dword [edx + 8]
mov dword [ebp - 0x2c], eax
add eax, dword [ebp - 0x24]
cmp eax, dword [ebx + 0x38]
jg 0x69052468
mov edx, dword [edx + 0xc]
mov eax, ecx
mov dword [ebp - 0x34], edx
add eax, edx
cmp eax, dword [ebx + 0x3c]
jg 0x69052468
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x69052468
mov edx, dword [ebx + 0x44]
test edx, edx
jne 0x690527d8
mov eax, dword [ebx + 0x54]
test eax, eax
je 0x690523d5
cmp dword [ebx + 0x40], edi
je 0x69052800
mov eax, dword [ebp - 0x1c]
and eax, 1
mov dword [ebp - 0x38], eax
jne 0x69052668
test byte [ebp - 0x1c], 2
jne 0x690526e0
mov dword [esi + 0xc], edi
mov eax, dword [ebp - 0x2c]
mov dword [esi], eax
mov eax, dword [ebp - 0x34]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x14], eax
test al, 4
je 0x69052770
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x69052520
mov ecx, dword [0x69088060]
mov eax, dword [ebx + 0x40]
test ecx, ecx
mov dword [ebp - 0x20], eax
jne 0x6905258f
test eax, eax
je 0x69052878
mov ecx, dword [ebp - 0x24]
movzx eax, ah
imul eax, ecx
mov dword [ebp - 0x38], eax
test al, 7
jne 0x69052578
mov eax, dword [ebx + 0x28]
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x48], eax
mov eax, dword [ebx + 0x54]
mov dword [ebp - 0x44], eax
mov eax, dword [ebx + 0x58]
mov dword [ebp - 0x40], eax
imul ecx, eax
mov dword [ebp - 0x3c], ecx
jmp 0x690525c1
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_ReleaseSRWLockExclusive]
mov edx, 2
sub esp, 4
lea esp, [ebp - 0x10]
mov eax, edx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x14
lea esp, [ebp - 0x10]
mov edx, 2
pop ecx
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x14
mov dword [esp + 0x14], edx
mov eax, dword [ebp - 0x1c]
mov ecx, 0x6907a0e8
mov dword [ebp - 0x24], edx
mov edx, str.GdipBitmapLockBits
mov dword [esp + 8], edx
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], eax
mov eax, str._p__p__d_0x_x__p_n
mov dword [esp + 0x1c], edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], ecx
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_6
mov edx, dword [ebp - 0x24]
jmp 0x69052335
mov dword [ebp - 0x30], 0
mov eax, dword [ebx + 0x38]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx + 0x3c]
mov dword [ebp - 0x34], eax
jmp 0x690523ba
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x1c]
or eax, 1
mov dword [ebx + 0x44], eax
mov eax, dword [ebp - 0x24]
mov dword [ebx + 0x60], eax
mov eax, dword [ebp - 0x30]
mov dword [ebx + 0x64], eax
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_ReleaseSRWLockExclusive]
mov edx, dword [ebp - 0x20]
mov eax, edx
sub esp, 4
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x14
lea esp, [ebp - 0x10]
mov edx, 4
pop ecx
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x14
test byte [0x6907a0e8], 1
jne 0x690528d8
mov eax, 1
mov dword [0x69088060], eax
mov eax, dword [ebx + 0x28]
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x48], eax
mov eax, dword [ebx + 0x54]
mov dword [ebp - 0x44], eax
mov eax, dword [ebx + 0x58]
mov dword [ebp - 0x40], eax
imul ecx, eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x3c], ecx
test eax, eax
jne 0x69052860
mov eax, dword [ebp - 0x24]
lea eax, [eax + eax*2]
shl eax, 3
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x4c], edx
mov ecx, dword [ebp - 0x20]
mov dword [esp + 0x10], edi
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x48]
mov dword [esp + 0x20], ecx
mov ecx, dword [ebp - 0x3c]
sar eax, 3
mov dword [esp + 0x24], edx
mov dword [esp + 0x14], edx
add eax, ecx
mov ecx, dword [ebp - 0x44]
add eax, ecx
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0x40]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0xc], eax
mov eax, dword [esi + 8]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call sym._convert_pixels
mov edx, dword [ebp - 0x4c]
test eax, eax
mov esi, eax
je 0x69052520
mov edx, dword [ebx + 0x48]
mov eax, dword fs:[0x18]
mov dword [esp + 8], edx
xor edx, edx
mov dword [esp + 4], 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 - 0x28]
mov dword [ebx + 0x48], 0
sub esp, 0xc
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_ReleaseSRWLockExclusive]
mov edx, esi
sub esp, 4
jmp 0x6905247c
mov dword [ebp - 0x3c], edx
xor eax, eax
xor edx, edx
mov dword [esp + 0x24], eax
xor ecx, ecx
mov eax, dword [ebx + 0x40]
mov dword [esp + 8], edx
mov dword [esp + 0x10], edi
mov dword [esp + 4], ecx
mov dword [esp + 0x20], eax
xor eax, eax
mov dword [esp + 0x1c], eax
xor eax, eax
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp], 0
call sym._convert_pixels
mov edx, dword [ebp - 0x3c]
cmp eax, 6
jne 0x690523e4
test byte [0x6907a0e8], 1
jne 0x69052910
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_ReleaseSRWLockExclusive]
mov edx, 6
sub esp, 4
jmp 0x6905247c
mov dword [ebp - 0x3c], edx
xor eax, eax
xor edx, edx
mov dword [esp + 0x24], eax
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x40]
mov dword [esp], 0
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [esp + 0xc], eax
xor eax, eax
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp + 4], eax
call sym._convert_pixels
mov edx, dword [ebp - 0x3c]
cmp eax, 6
jne 0x690523ee
test byte [0x6907a0e8], 1
je 0x690526c5
mov eax, dword [ebx + 0x40]
mov dword [esp + 0x10], edi
mov dword [esp], 0
mov dword [esp + 0x14], eax
mov eax, str.cannot_write_bitmap_from__x_to__x_n
mov dword [esp + 0xc], eax
mov eax, str.GdipBitmapLockBits
mov dword [esp + 8], eax
mov eax, 0x6907a0e8
mov dword [esp + 4], eax
call sym._wine_dbg_log.constprop.0_6
jmp 0x690526c5
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x2c]
imul eax, edx
mov edx, dword [ebp - 0x34]
lea ecx, [eax + 0xe]
add eax, 7
cmovs eax, ecx
sar eax, 3
add eax, 3
and eax, 0xfffffffc
mov dword [esi + 8], eax
imul eax, edx
mov ecx, dword fs:[0x18]
mov dword [esp + 8], eax
mov eax, 8
mov dword [esp + 4], eax
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov edx, dword [ebp - 0x3c]
mov dword [ebx + 0x48], eax
sub esp, 0xc
test eax, eax
je 0x69052947
mov dword [esi + 0x10], eax
jmp 0x6905240a
test byte [0x6907a0e8], 4
jne 0x690528a8
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_ReleaseSRWLockExclusive]
mov edx, 8
sub esp, 4
jmp 0x6905247c
test byte [ebp - 0x1c], 4
jne 0x690523d5
mov dword [ebp - 0x38], edx
mov edx, dword [ebp - 0x2c]
mov dword [esi + 0xc], edi
mov ecx, dword [ebp - 0x20]
mov edi, dword [ebx + 0x58]
mov dword [esi], edx
mov edx, dword [ebp - 0x34]
sar ecx, 3
mov dword [esi + 8], edi
imul ecx, dword [ebp - 0x24]
imul edi, dword [ebp - 0x30]
mov dword [esi + 4], edx
mov edx, dword [ebp - 0x1c]
add ecx, edi
mov dword [esi + 0x14], edx
add eax, ecx
mov dword [esi + 0x10], eax
mov eax, edx
or eax, 1
mov dword [ebx + 0x44], eax
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_ReleaseSRWLockExclusive]
mov edx, dword [ebp - 0x38]
sub esp, 4
jmp 0x6905247c
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
movzx eax, ah
imul eax, ecx
mov dword [ebp - 0x38], eax
jmp 0x690525c1
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebx + 0x58]
lea eax, [eax + eax*2]
mov dword [ebp - 0x40], ecx
shl eax, 3
mov dword [ebp - 0x38], eax
mov eax, dword [ebx + 0x28]
mov dword [ebp - 0x48], eax
mov eax, dword [ebx + 0x54]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x30]
imul eax, ecx
mov dword [ebp - 0x3c], eax
jmp 0x690525c1
mov edx, str.GdipBitmapLockBits
mov ecx, 0x6907a0e8
mov dword [esp + 8], edx
mov eax, str.bitmap_is_already_locked_and_cannot_be_locked_again_n
mov dword [esp + 0xc], eax
mov dword [esp + 4], ecx
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_6
jmp 0x690527e5
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.GdipBitmapLockBits
mov dword [esp + 8], eax
mov eax, 0x6907a0e8
mov dword [esp + 4], eax
mov dword [ebp - 0x38], edx
call sym._wine_dbg_log.constprop.0_6
mov eax, dword [ebx + 0x40]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x20], eax
jmp 0x69052585
mov dword [esp + 0x14], edi
mov edx, str.GdipBitmapLockBits
mov ecx, 0x6907a0e8
mov eax, dword [ebx + 0x40]
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
mov dword [esp], 0
mov dword [esp + 0x10], eax
mov eax, str.cannot_read_bitmap_from__x_to__x_n
mov dword [esp + 0xc], eax
call sym._wine_dbg_log.constprop.0_6
jmp 0x690526c5
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_ReleaseSRWLockExclusive]
mov edx, 3
push eax
jmp 0x6905247c