Function at 0x1009270
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
push ebx
push esi
push edi
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x18], 0
call fcn.010387af
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jne 0x100929e
jmp 0x100958a
mov eax, dword [0x10566fc]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov dword [ebp - 0x18], eax
push 0
call fcn.01009590
test eax, eax
je 0x10092d1
mov eax, dword [0x104c6ec]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x1009302
push 0x40
push str.Cl32Test___ansi
push str.Print_DC_Not_Available
mov eax, dword [0x10566c0]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp dword [ebp - 0x18], 0
je 0x10092fd
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
jmp 0x100958a
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x108]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x3c], 0xa
mov dword [ebp - 0x38], str.PrintOLE
mov dword [ebp - 0x34], 0
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.GDI32.dll_StartDocA]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x108]
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
push 0
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.GDI32.dll_SetWindowExtEx]
push 5
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x108]
push eax
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x54], eax
push 1
mov eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x54], eax
push 3
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.GDI32.dll_SetMapMode]
mov dword [ebp - 4], eax
cmp dword [ebp - 0x54], 0
je 0x100952a
lea eax, [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x108]
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [ebp - 0x48]
push eax
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x108]
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x48]
push eax
mov eax, dword [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0x50]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.01032be9
lea eax, [ebp - 0x68]
push eax
call fcn.01032b9d
lea eax, [ebp - 0x60]
push eax
call fcn.01032b9d
mov eax, dword [ebp - 0x54]
push eax
call fcn.01021320
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x1009471
push 0x7a
push str.c:_ntprivatectoleuiole2.0_appscl2testchicago..print.c
push str.Cl32Test___ansi
push str.Assert_Failure__Module:__s__file__s__line__d_r_n
push 0x1056c90
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
push 0x1056c90
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str.Null_Pitem
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x104c08c
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x18], 0
jne 0x10094be
push 0x7b
push str.c:_ntprivatectoleuiole2.0_appscl2testchicago..print.c
push str.Cl32Test___ansi
push str.Assert_Failure__Module:__s__file__s__line__d_r_n
push 0x1056c90
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
push 0x1056c90
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str.Null_Object
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x104c08c
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0
lea eax, [ebp - 0x68]
push eax
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0103212a
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
and eax, 0x80000000
mov ecx, 0x80000000
and ecx, 0x80000000
cmp eax, ecx
jne 0x1009516
push 0x40
push str.Cl32Test___ansi
push str.File_Error
mov eax, dword [0x10566c0]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [0x104ca20], 0
jmp 0x100953f
push 3
mov eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x54], eax
jmp 0x10093b0
push 0
push 0
push 0
push 1
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.GDI32.dll_Escape]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.GDI32.dll_SetMapMode]
push 0
push 0
push 0
push 0xb
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.GDI32.dll_Escape]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x108]
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp dword [ebp - 0x18], 0
je 0x100958a
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
pop edi
pop esi
pop ebx
leave
ret