Function at 0x68701f30
Capabilities:
Access peb ldr_data
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, 0x478
mov eax, dword [ecx + 8]
mov edi, dword [ecx]
mov ebx, dword [ecx + 4]
mov esi, dword [ecx + 0xc]
mov dword [ebp - 0x44c], eax
mov edx, dword [ecx + 0x10]
test byte [0x68719018], 8
jne 0x687020e8
test edx, edx
je 0x68701f72
mov dword [edx], 0
test edi, edi
je 0x68701f81
test ebx, ebx
je 0x68701f81
mov eax, dword [ebx + 8]
cmp dword [ebx], eax
jl 0x68701f98
lea esp, [ebp - 0x10]
xor esi, esi
pop ecx
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x14
mov eax, dword [ebx + 0xc]
cmp dword [ebx + 4], eax
jge 0x68701f81
test esi, esi
je 0x68701fb1
test byte [0x68719018], 1
jne 0x687022f0
mov dword [ebp - 0x450], edx
mov eax, dword fs:[0x18]
mov dword [esp + 8], 0x20
mov dword [esp + 4], 0
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov esi, eax
mov dword [eax], edi
mov eax, dword [ebx]
mov dword [esi + 0xc], eax
mov eax, dword [ebx + 4]
mov dword [esi + 0x10], eax
mov eax, dword [ebx + 8]
mov dword [esi + 0x14], eax
mov eax, dword [ebx + 0xc]
mov dword [esi + 0x18], eax
mov dword [esp], edi
call sym._CreateCompatibleDC_4
mov edx, dword [ebp - 0x450]
sub esp, 4
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x44c]
test eax, eax
je 0x68702178
sub eax, 1
cmp eax, 2
ja 0x68702248
xor eax, eax
mov ecx, 0x10a
lea edi, [ebp - 0x440]
rep stosd dword es:[edi], eax
mov ecx, dword [ebx + 8]
sub ecx, dword [ebx]
mov dword [ebp - 0x440], 0x28
cmp dword [ebp - 0x44c], 1
mov edi, dword [ebx + 4]
mov eax, dword [ebx + 0xc]
je 0x687022a0
sub edi, eax
cmp dword [ebp - 0x44c], 3
mov eax, 0x20
mov dword [ebp - 0x450], edi
mov edi, 1
cmove eax, edi
mov word [ebp - 0x432], ax
mov edi, dword [ebp - 0x450]
mov eax, 1
mov word [ebp - 0x434], ax
lea eax, [esi + 0x1c]
mov dword [ebp - 0x44c], edx
mov dword [ebp - 0x438], edi
mov dword [ebp - 0x43c], ecx
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x440]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov eax, dword [esi + 4]
mov dword [esp], eax
call sym._CreateDIBSection_24
mov edx, dword [ebp - 0x44c]
sub esp, 0x18
mov dword [esi + 8], eax
jmp 0x687021ac
mov eax, 0x6871b019
test ebx, ebx
je 0x68702124
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x450], edx
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 8]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 4]
mov dword [esp + 8], eax
mov eax, dword [ebx]
mov dword [esp], section..rdata
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.0
mov edx, dword [ebp - 0x450]
mov dword [esp + 0x20], edx
mov dword [ebp - 0x450], edx
mov dword [esp + 0x1c], esi
mov edx, dword [ebp - 0x44c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], str.__p__s__d__p__p__n
mov dword [esp + 8], str.BeginBufferedPaint
mov dword [esp + 4], 0x68719018
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
mov edx, dword [ebp - 0x450]
jmp 0x68701f68
mov eax, dword [ebx + 0xc]
sub eax, dword [ebx + 4]
mov dword [ebp - 0x44c], edx
mov dword [esp + 8], eax
mov eax, dword [ebx + 8]
sub eax, dword [ebx]
mov dword [esp], edi
mov dword [esp + 4], eax
call sym._CreateCompatibleBitmap_12
mov edx, dword [ebp - 0x44c]
sub esp, 0xc
mov dword [esi + 8], eax
mov dword [esi + 0x1c], 0
test eax, eax
je 0x68702328
mov dword [ebp - 0x44c], edx
mov dword [esp + 0xc], 0
mov eax, dword [ebx + 4]
mov dword [esp + 8], eax
mov eax, dword [ebx]
mov dword [esp + 4], eax
mov eax, dword [esi + 4]
mov dword [esp], eax
call sym._SetWindowOrgEx_16
mov eax, dword [ebx + 0xc]
sub esp, 0x10
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 8]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 4]
mov dword [esp + 8], eax
mov eax, dword [ebx]
mov dword [esp + 4], eax
mov eax, dword [esi + 4]
mov dword [esp], eax
call sym._IntersectClipRect_20
mov eax, dword [esi + 8]
sub esp, 0x14
mov dword [esp + 4], eax
mov eax, dword [esi + 4]
mov dword [esp], eax
call sym._SelectObject_8
sub esp, 8
mov dword [esp], eax
call sym._DeleteObject_4
mov eax, dword [esi + 4]
mov edx, dword [ebp - 0x44c]
sub esp, 4
mov dword [edx], eax
lea esp, [ebp - 0x10]
mov eax, esi
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x14
test byte [0x68719018], 4
jne 0x687022b8
mov dword [esi + 8], 0
mov dword [esp], 0
call sym._DeleteObject_4
mov eax, dword [esi + 4]
sub esp, 4
mov dword [esp], eax
call sym._DeleteDC_4
sub esp, 4
mov dword [esp + 8], esi
mov dword [esp + 4], 0
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]
sub esp, 0xc
jmp 0x68701f81
sub eax, edi
mov dword [ebp - 0x450], eax
mov eax, 0x20
jmp 0x68702075
mov eax, dword [ebp - 0x44c]
mov dword [esp + 0xc], str.Unknown_buffer_format__d_n
mov dword [esp + 8], str.BeginBufferedPaint
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x68719018
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0
jmp 0x68702251
mov dword [ebp - 0x450], edx
mov dword [esp + 0xc], str.painting_parameters_are_ignored_n
mov dword [esp + 8], str.BeginBufferedPaint
mov dword [esp + 4], 0x68719018
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
mov edx, dword [ebp - 0x450]
jmp 0x68701fb1
test byte [0x68719018], 4
jne 0x68702339
mov dword [esp], eax
jmp 0x6870225f
mov dword [esp + 0xc], str.Failed_to_create_buffer_bitmap_n
mov dword [esp + 8], str.BeginBufferedPaint
mov dword [esp + 4], 0x68719018
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0
mov eax, dword [esi + 8]
jmp 0x68702331