Function at 0x426740
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x426a78
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x68]
mov ebx, dword [eax + 0x1c]
xor esi, esi
xor edi, edi
test ebx, ebx
jne 0x4268ea
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x68]
cmp dword [eax + 0x458], 0
je 0x4268ea
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov ebx, eax
test ebx, ebx
je 0x426a5d
mov eax, dword [ebp + 8]
add eax, 0xffffffd4
xor ecx, ecx
mov edx, 0x2c
call sub.rtl120.bpl__System__FillChar_qqrpvib
mov eax, dword [ebp + 8]
lea edi, [eax - 0x2c]
mov esi, 0x455e30
mov ecx, 0xa
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x50]
mov edx, dword [ebp + 8]
mov dword [edx - 0x28], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x3c]
cdq
xor eax, edx
sub eax, edx
neg eax
mov edx, dword [ebp + 8]
mov dword [edx - 0x24], eax
push 0
push 0
lea eax, [ebp - 8]
push eax
push 0
mov eax, dword [ebp + 8]
add eax, 0xffffffd4
push eax
push ebx
call sub.gdi32.dll_CreateDIBSection
mov esi, eax
test esi, esi
jne 0x426803
push ebx
call sub.gdi32.dll_DeleteObject
jmp 0x426a5d
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x70]
sub eax, 0x18
je 0x426873
sub eax, 8
jne 0x4268d4
mov eax, dword [ebp + 8]
cmp word [eax - 0x1e], 0x18
jne 0x42684a
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x50]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x3c]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x68]
mov eax, dword [eax + 0x458]
xor ecx, ecx
mov edx, dword [ebp - 8]
call fcn.00420710
jmp 0x4268d4
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x68]
mov ecx, dword [eax + 0x47c]
mov eax, dword [ebp + 8]
imul ecx, dword [eax - 0x3c]
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x68]
mov eax, dword [eax + 0x458]
call sub.rtl120.bpl__System_Move_qqrpxvpvi
jmp 0x4268d4
mov eax, dword [ebp + 8]
cmp word [eax - 0x1e], 0x18
jne 0x4268a6
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x68]
mov ecx, dword [eax + 0x47c]
mov eax, dword [ebp + 8]
imul ecx, dword [eax - 0x3c]
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x68]
mov eax, dword [eax + 0x458]
call sub.rtl120.bpl__System_Move_qqrpxvpvi
jmp 0x4268d4
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x50]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x3c]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x68]
mov edx, dword [eax + 0x45c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x68]
mov eax, dword [eax + 0x458]
mov ecx, dword [ebp - 8]
call fcn.004205d0
push esi
push ebx
call sub.gdi32.dll_SelectObject
mov edi, eax
mov eax, dword [ebp + 8]
movzx eax, word [eax - 0x1e]
mov edx, dword [ebp + 8]
mov dword [edx - 0x70], eax
push 3
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x74]
push eax
call sub.gdi32.dll_SetStretchBltMode
cmp byte [0x457215], 0
je 0x426999
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x74]
call fcn.0041d484
test al, al
je 0x426999
mov eax, dword [ebp + 8]
cmp dword [eax - 0x70], 0x18
jne 0x426999
mov eax, dword [ebp + 8]
cmp byte [eax + 0x18], 0xff
jne 0x426999
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x1c]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x20]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x24]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x28]
push eax
push ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x2c]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x30]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x34]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x34]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x74]
push eax
call fcn.0041d5f8
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x68]
cmp dword [eax + 0x1c], 0
jne 0x426a5d
push edi
push ebx
call sub.gdi32.dll_SelectObject
push esi
call sub.gdi32.dll_DeleteObject
push ebx
call sub.gdi32.dll_DeleteObject
jmp 0x426a5d
mov byte [ebp - 4], 0
mov byte [ebp - 3], 0
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 0x18]
mov byte [ebp - 2], al
mov eax, dword [ebp + 8]
cmp dword [eax - 0x70], 0x20
jne 0x4269ba
mov byte [ebp - 1], 1
jmp 0x4269be
mov byte [ebp - 1], 0
push dword [ebp - 4]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x1c]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x20]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x24]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x28]
push eax
push ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x2c]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x30]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x34]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x34]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x74]
push eax
call sub.msimg32.dll_AlphaBlend
test eax, eax
jne 0x426a3e
call fcn.0041c4a0
test al, al
je 0x426a3e
call sub.kernel32.dll_GetLastError
lea edx, [ebp - 0x10]
call sub.rtl120.bpl__Sysutils_SysErrorMessage_qqrui
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0xc]
mov edx, 0x426a94
call sub.rtl120.bpl__System__UStrCat3_qqrr20System_UnicodeStringx20System_UnicodeStringt2
mov eax, dword [ebp - 0xc]
call sub.rtl120.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
push eax
call sub.kernel32.dll_OutputDebugStringW
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x68]
cmp dword [eax + 0x1c], 0
jne 0x426a5d
push edi
push ebx
call sub.gdi32.dll_SelectObject
push esi
call sub.gdi32.dll_DeleteObject
push ebx
call sub.gdi32.dll_DeleteObject
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x426a7f
lea eax, [ebp - 0x10]
mov edx, 2
call sub.rtl120.bpl__System__UStrArrayClr_qqrpvi
ret