Function at 0x1032653
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
test edi, edi
jne 0x10326a2
push 0x230
push str.c:_ntprivatectoleuiole2.0_appscommonchicago..dataobj.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
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x1056c90
call esi
push str.Null_Window_Id
call esi
push 0x104c08c
call esi
jmp 0x10326a8
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ebx, dword [ebp + 0xc]
test ebx, ebx
jne 0x10326e6
push 0x231
push str.c:_ntprivatectoleuiole2.0_appscommonchicago..dataobj.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 esi
push str.Illegal_Format
call esi
push 0x104c08c
call esi
cmp ebx, 1
je 0x103274b
cmp ebx, 2
je 0x10327c8
cmp ebx, 4
je 0x10327d6
cmp ebx, 8
je 0x1032870
cmp ebx, 0x10
je 0x1032870
push 0x291
push str.c:_ntprivatectoleuiole2.0_appscommonchicago..dataobj.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 esi
push str.Illegal_Format
call esi
push 0x104c08c
call esi
jmp 0x10328a3
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x20]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClientRect]
push edi
call dword [sym.imp.USER32.dll_GetDC]
push eax
mov ebx, eax
call dword [sym.imp.GDI32.dll_SaveDC]
mov eax, dword [ebp - 0x10]
push dword [eax]
push ebx
call dword [sym.imp.GDI32.dll_SetMapMode]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
cmp eax, 7
je 0x103278e
cmp eax, 8
jne 0x10327a5
push 0
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SetViewportExtEx]
mov eax, dword [ebp - 0x10]
push dword [eax + 0xc]
push ebx
call dword [sym.imp.GDI32.dll_PlayMetaFile]
push 0xffffffffffffffff
push ebx
call dword [sym.imp.GDI32.dll_RestoreDC]
push ebx
push edi
call dword [sym.imp.USER32.dll_ReleaseDC]
jmp 0x103289c
push dword [ebp + 8]
push edi
call fcn.010328ac
jmp 0x10328a3
lea eax, [ebp - 0x10]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClientRect]
push edi
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
movzx ecx, word [eax + 0xe]
cmp ecx, 1
je 0x1032811
cmp ecx, 4
je 0x1032818
cmp ecx, 8
je 0x103281f
cmp ecx, 0x18
je 0x1032826
jmp 0x10328a3
mov ecx, 8
jmp 0x1032828
mov ecx, 0x40
jmp 0x1032828
mov ecx, 0x400
jmp 0x1032828
xor ecx, ecx
mov edx, dword [eax]
push 0xcc0020
add edx, ecx
push 0
imul edx, edx, 0x2c
add edx, eax
push eax
push edx
push dword [eax + 8]
push dword [eax + 4]
push 0
push 0
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push eax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push ebx
call dword [sym.imp.GDI32.dll_StretchDIBits]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
push edi
call dword [sym.imp.USER32.dll_ReleaseDC]
jmp 0x10328a3
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
cmp eax, 0x400
jae 0x10328a3
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push 0x40
push str.Cl32Test___ansi
push eax
push dword [0x10566c0]
call dword [sym.imp.USER32.dll_MessageBoxA]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc