Function at 0x561850
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x48c
mov eax, dword [0x5b00cc]
xor eax, esp
mov dword [esp + 0x488], eax
push ebx
push esi
push edi
xor ebx, ebx
push 0x3e
lea eax, [esp + 0x50]
mov edi, ecx
push ebx
push eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x54], ebx
call fcn.0056b660
add esp, 0xc
cmp byte [edi + 0x10], bl
jne 0x5619be
lea esi, [esp + 0x48]
call fcn.00561000
test al, al
jne 0x5618e3
push 0x2a5
push str.........CommonWin32WinPrinter.cpp
mov esi, str.Could_not_get_the_default_printer_information
mov edx, 0x57e0a8
lea ecx, [ebx + 4]
call fcn.004f1fc0
mov esi, dword [ebp + 8]
add esp, 8
test esi, esi
je 0x5618ca
call fcn.004ab850
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x488]
xor ecx, esp
call fcn.00566120
mov esp, ebp
pop ebp
ret 4
cmp byte [edi + 0x53], bl
je 0x5619b8
mov ecx, dword [edi + 0x60]
mov ebx, dword [sym.imp.KERNEL32.dll_GlobalLock]
push ecx
call ebx
mov edx, dword [edi + 0x5c]
push edx
mov esi, eax
call ebx
mov edi, eax
movzx eax, word [esi]
add eax, esi
lea ebx, [esp + 0x14]
call fcn.00401ed0
movzx eax, word [esi + 2]
add eax, esi
lea ebx, [esp + 0x18]
call fcn.00401ed0
movzx eax, word [esi + 4]
add eax, esi
lea ebx, [esp + 0x20]
call fcn.00401ed0
mov eax, dword [esp + 0x20]
test eax, eax
je 0x56193e
mov edx, dword [eax + 4]
add edx, 1
jmp 0x561943
mov edx, 0x57e81c
mov eax, dword [esp + 0x18]
test eax, eax
je 0x561953
mov ecx, dword [eax + 4]
add ecx, 1
jmp 0x561958
mov ecx, 0x57e81c
mov eax, dword [esp + 0x14]
test eax, eax
je 0x561968
mov eax, dword [eax + 4]
add eax, 1
jmp 0x56196d
mov eax, 0x57e81c
push edi
push edx
push ecx
push eax
call dword [sym.imp.GDI32.dll_CreateDCA]
mov esi, dword [esp + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ebx, eax
mov eax, dword [esi + 0x5c]
push eax
call edi
mov ecx, dword [esi + 0x60]
push ecx
call edi
mov esi, dword [esp + 0x20]
test esi, esi
je 0x56199c
call fcn.004ab850
mov esi, dword [esp + 0x18]
test esi, esi
je 0x5619a9
call fcn.004ab850
mov esi, dword [esp + 0x14]
test esi, esi
je 0x5619ce
call fcn.004ab850
jmp 0x5619ce
mov ebx, dword [esp + 0x58]
jmp 0x5619ce
lea esi, [edi + 0x11]
mov ecx, 0x10
lea edi, [esp + 0x48]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov edx, dword [esp + 0x50]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
test esi, esi
jne 0x561a3f
push str.We_couldnt_get_a_dev_mode_when_beginning_the_print_job
push str.hDevMode
push 0x2c3
push str.........CommonWin32WinPrinter.cpp
lea eax, [esi + 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, [esp + 0xac]
push 0x400
push eax
call fcn.00567446
mov edi, dword [sym.imp.USER32.dll_MessageBoxA]
add esp, 0x24
push 0x111
push str.Runtime_Error
lea ecx, [esp + 0x98]
push ecx
push esi
call edi
cmp eax, 2
jne 0x561a45
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov edi, dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, esi
mov esi, dword [esp + 0x10]
call fcn.005612c0
mov edx, dword [esp + 0x50]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
xor eax, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x561a80
mov eax, dword [eax + 4]
add eax, 1
jmp 0x561a85
mov eax, 0x57e81c
test ebx, ebx
mov dword [esp + 0x38], eax
jne 0x561af9
push ebx
lea ecx, [esp + 0x4c]
mov eax, esi
call fcn.00562b40
mov ebx, eax
test ebx, ebx
jne 0x561af9
push str.When_beginning_a_new_print_job__we_dont_have_a_printer_context
push str.printerDC
push 0x2d3
push str.........CommonWin32WinPrinter.cpp
lea eax, [ebx + 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, [esp + 0xac]
push 0x400
push eax
call fcn.00567446
add esp, 0x24
push 0x111
push str.Runtime_Error
lea ecx, [esp + 0x98]
push ecx
push ebx
call edi
cmp eax, 2
jne 0x561af9
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
lea edx, [esp + 0x34]
push edx
push ebx
call dword [sym.imp.GDI32.dll_StartDocA]
push 0x47cb70
mov ecx, esi
push ebx
mov dword [ecx + 0xa8], eax
call dword [sym.imp.GDI32.dll_SetAbortProc]
call fcn.004f5390
mov esi, eax
call fcn.00479330
xor esi, esi
cmp eax, esi
mov dword [esp + 0x14], eax
jne 0x561b89
push str.When_starting_a_new_print_job__could_not_make_a_graphics_object
push str.gfxObject
push 0x2df
push str.........CommonWin32WinPrinter.cpp
lea eax, [esi + 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 edx, [esp + 0xac]
push 0x400
push edx
call fcn.00567446
add esp, 0x24
push 0x111
push str.Runtime_Error
lea eax, [esp + 0x98]
push eax
push esi
call edi
cmp eax, 2
jne 0x561b89
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
xor eax, eax
mov dword [esp + 0x24], esi
mov word [esp + 0x18], si
mov esi, dword [esp + 0x10]
lea edi, [esp + 0x24]
mov dword [esp + 0x1a], eax
mov word [esp + 0x1e], ax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
call fcn.005611b0
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x2c]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x40]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 8], edx
push esi
mov edi, ebx
mov dword [eax + 0xc], ecx
call fcn.005610f0
push 0xbc
call fcn.005662c8
add esp, 4
test eax, eax
je 0x561c05
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push edx
push ecx
call fcn.004dca30
jmp 0x561c07
xor eax, eax
test eax, eax
mov dword [esi + 0xb0], eax
jne 0x561c73
push str.When_starting_a_new_print_job__could_not_make_a_print_pane
push str.mPrintPane
push 0x2ea
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 edx, [esp + 0xac]
push 0x400
push edx
call fcn.00567446
add esp, 0x24
push 0x111
push str.Runtime_Error
lea eax, [esp + 0x98]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 2
jne 0x561c73
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [esi + 0xb0]
mov dword [ecx + 0xb4], ebx
mov edx, dword [esi + 0xb0]
mov dword [edx + 0xb8], esi
mov ecx, dword [esi + 0xb0]
mov eax, dword [ecx]
mov edx, dword [eax + 0x3c]
call edx
mov edi, dword [esp + 0x14]
mov dword [edi + 0x1c], eax
mov byte [eax + 0x60], 1
mov ecx, dword [esi + 4]
mov dword [eax + 0xb4], ecx
mov edx, dword [esi]
mov ecx, dword [esp + 0x24]
mov dword [eax + 0xb0], edx
mov edx, dword [esp + 0x28]
mov dword [eax + 0xb8], ecx
mov dword [eax + 0xbc], edx
mov eax, dword [esp + 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
movzx ecx, word [esp + 0x68]
mov dword [edi + 0x20], ecx
test byte [esi + 0x25], 2
je 0x561cf3
movzx edx, word [esp + 0x60]
mov dword [edi + 0x24], edx
movzx eax, word [esp + 0x62]
mov dword [edi + 0x28], eax
jmp 0x561d03
movzx ecx, word [esp + 0x64]
mov dword [edi + 0x24], ecx
movzx edx, word [esp + 0x66]
mov dword [edi + 0x28], edx
mov eax, dword [esp + 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov esi, dword [ebp + 8]
test esi, esi
je 0x561d1a
call fcn.004ab850
mov ecx, dword [esp + 0x494]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00566120
mov esp, ebp
pop ebp
ret 4