Function at 0x561650
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
mov eax, dword [0x5b00cc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.USER32.dll_MessageBoxA]
push esi
mov esi, ecx
cmp dword [esi + 0xb0], 0
push edi
mov dword [ebp - 0x40c], esi
jne 0x5616d9
push str.Trying_to_begin_a_new_page__but_there_was_no_print_pane
push str.mPrintPane
push 0x246
push str.........CommonWin32WinPrinter.cpp
mov eax, 4
call fcn.004f1f50
push eax
push 4
push str.Runtime_Error__d:__s_nPress_OK_to_Continue_nPress_Cancel_to_Quit._n_nPlease_report_what_caused_this_error_nalong_with_the_information_below._n_n_s:__d_nFailure_Condition:__s_n_s
lea eax, [ebp - 0x404]
push 0x400
push eax
call fcn.00567446
add esp, 0x24
push 0x111
push str.Runtime_Error
lea ecx, [ebp - 0x404]
push ecx
push 0
call ebx
cmp eax, 2
jne 0x5616d9
push 0
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
mov eax, dword [esi + 0xb0]
mov edx, dword [eax + 0x2c]
mov edx, dword [edx + 0x5c]
lea ecx, [eax + 0x2c]
lea eax, [ebp - 0x410]
push eax
call edx
mov edi, eax
test edi, edi
jne 0x56174b
push eax
push str.printerDC
push 0x249
push str.........CommonWin32WinPrinter.cpp
lea eax, [edi + 4]
call fcn.004f1f50
push eax
push 4
push str.Runtime_Error__d:__s_nPress_OK_to_Continue_nPress_Cancel_to_Quit._n_nPlease_report_what_caused_this_error_nalong_with_the_information_below._n_n_s:__d_nFailure_Condition:__s_n_s
lea eax, [ebp - 0x404]
push 0x400
push eax
call fcn.00567446
add esp, 0x24
push 0x111
push str.Runtime_Error
lea ecx, [ebp - 0x404]
push ecx
push edi
call ebx
cmp eax, 2
jne 0x56174b
push edi
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
push edi
call dword [sym.imp.GDI32.dll_StartPage]
push 8
push edi
call dword [sym.imp.GDI32.dll_SetMapMode]
mov ebx, dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0
push 0x71
push edi
call ebx
neg eax
push eax
push 0x70
push edi
call ebx
neg eax
push eax
push edi
call dword [sym.imp.GDI32.dll_SetViewportOrgEx]
push 0x6e
push edi
call ebx
push 0x58
push edi
mov dword [ebp - 0x408], eax
call ebx
mov ecx, dword [esi + 4]
mov edx, dword [ebp - 0x408]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.DLL_MulDiv]
cmp eax, 0xffffffff
jne 0x5617cf
push 0x68
push str.........CommonWin32WinPrinter.cpp
mov esi, str.Something_is_wrong_with_the_printer_device_context__I_was_trying_to_divide_by_0
mov edx, 0x57e0a8
lea ecx, [eax + 5]
call fcn.004f1fc0
mov esi, dword [ebp - 0x40c]
add esp, 8
mov dword [ebp - 0x408], 0
jmp 0x5617d5
mov dword [ebp - 0x408], eax
push 0x6f
push edi
call ebx
push 0x5a
push edi
mov dword [ebp - 0x40c], eax
call ebx
mov esi, dword [esi]
push eax
mov eax, dword [ebp - 0x40c]
push esi
push eax
call dword [sym.imp.KERNEL32.DLL_MulDiv]
cmp eax, 0xffffffff
jne 0x561819
push 0x68
push str.........CommonWin32WinPrinter.cpp
mov esi, str.Something_is_wrong_with_the_printer_device_context__I_was_trying_to_divide_by_0
mov edx, 0x57e0a8
lea ecx, [eax + 5]
call fcn.004f1fc0
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0x408]
push 0
push eax
push ecx
push edi
call dword [sym.imp.GDI32.dll_SetWindowExtEx]
push 0
push 0x6f
push edi
call ebx
push eax
push 0x6e
push edi
call ebx
push eax
push edi
call dword [sym.imp.GDI32.dll_SetViewportExtEx]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00566120
mov esp, ebp
pop ebp
ret