Function at 0x41b6c0
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 0x41b9f8
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 0x41b86a
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x68]
cmp dword [eax + 0x458], 0
je 0x41b86a
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov ebx, eax
test ebx, ebx
je 0x41b9dd
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, 0x4541cc
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 0x41b783
push ebx
call sub.gdi32.dll_DeleteObject
jmp 0x41b9dd
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x70]
sub eax, 0x18
je 0x41b7f3
sub eax, 8
jne 0x41b854
mov eax, dword [ebp + 8]
cmp word [eax - 0x1e], 0x18
jne 0x41b7ca
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.00415690
jmp 0x41b854
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 0x41b854
mov eax, dword [ebp + 8]
cmp word [eax - 0x1e], 0x18
jne 0x41b826
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 0x41b854
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.00415550
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 [0x456125], 0
je 0x41b919
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x74]
call fcn.00412404
test al, al
je 0x41b919
mov eax, dword [ebp + 8]
cmp dword [eax - 0x70], 0x18
jne 0x41b919
mov eax, dword [ebp + 8]
cmp byte [eax + 0x18], 0xff
jne 0x41b919
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.00412578
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x68]
cmp dword [eax + 0x1c], 0
jne 0x41b9dd
push edi
push ebx
call sub.gdi32.dll_SelectObject
push esi
call sub.gdi32.dll_DeleteObject
push ebx
call sub.gdi32.dll_DeleteObject
jmp 0x41b9dd
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 0x41b93a
mov byte [ebp - 1], 1
jmp 0x41b93e
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 0x41b9be
call fcn.00411420
test al, al
je 0x41b9be
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, 0x41ba14
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 0x41b9dd
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 0x41b9ff
lea eax, [ebp - 0x10]
mov edx, 2
call sub.rtl120.bpl__System__UStrArrayClr_qqrpvi
ret