Function at 0x10058f40
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100a8aa8
mov eax, dword fs:[0]
push eax
sub esp, 0x148
mov eax, dword [0x100cba70]
xor eax, esp
mov dword [esp + 0x140], eax
push ebx
push esi
push edi
mov eax, dword [0x100cba70]
xor eax, esp
push eax
lea eax, [esp + 0x158]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor edi, edi
mov ebx, edx
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x130], 0xf
mov dword [esp + 0x12c], edi
mov byte [esp + 0x11c], 0
mov dword [esp + 0x160], edi
mov edx, dword [0x100ad8f4]
push edx
mov esi, 0x100ccdf8
call fcn.100663e0
add esp, 4
test al, al
je 0x10058fdb
push 0x20
push str.CmdUtil::LauchWithDefaultApp__:
lea ecx, [esp + 0x120]
call fcn.10002b10
mov eax, dword [0x100ad8f4]
push 1
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0xb4], esp
push 0xffffffffffffffff
push edi
lea edx, [esp + 0x144]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], edi
push edx
mov byte [ecx + 4], 0
call fcn.100023e0
push 0x100ccdf8
mov byte [esp + 0x188], 1
call fcn.10002800
push eax
lea ecx, [esp + 0xf8]
mov byte [esp + 0x18c], 0
call fcn.1008d030
push 0x20
mov esi, 0x100ccdf8
mov byte [esp + 0x164], 2
call fcn.100663e0
add esp, 4
test al, al
mov esi, 0x10
je 0x100590f4
push 0x100af36c
lea ecx, [esp + 0x14]
call fcn.1008d3d0
lea ecx, [esp + 0x94]
push ecx
push str.CmdUtil::LaunchWithDefaultApp:
mov ecx, eax
mov byte [esp + 0x168], 3
call fcn.1008d680
mov ecx, eax
call fcn.1008d7b0
mov byte [esp + 0x160], 4
call fcn.10002800
mov edx, dword [eax]
mov edx, dword [edx + 4]
lea ecx, [esp + 0x94]
push ecx
push 0x20
push 0x100ccdf8
mov ecx, eax
call edx
cmp dword [esp + 0xac], esi
jb 0x100590c7
mov eax, dword [esp + 0x98]
push eax
call fcn.10080518
add esp, 4
cmp dword [esp + 0x28], esi
mov dword [esp + 0xac], 0xf
mov dword [esp + 0xa8], edi
mov byte [esp + 0x98], 0
jb 0x100590f4
mov ecx, dword [esp + 0x14]
push ecx
call fcn.10080518
add esp, 4
mov dword [esp + 0x2c], vtable.MacroResolver.0
push ebx
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x34]
push eax
mov byte [esp + 0x16c], 0xb
call fcn.10051650
push 0xffffffffffffffff
push edi
push eax
mov ecx, ebx
mov byte [esp + 0x16c], 0xc
call fcn.100023e0
mov byte [esp + 0x160], 0xb
cmp dword [esp + 0x28], esi
jb 0x10059142
mov ecx, dword [esp + 0x14]
push ecx
call fcn.10080518
add esp, 4
mov edx, dword [esp + 0x4c]
push edx
push ebx
lea edi, [esp + 0x18]
call fcn.10052350
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebx
mov byte [esp + 0x16c], 0xd
call fcn.100023e0
mov esi, 0x10
mov byte [esp + 0x160], 0xb
cmp dword [esp + 0x28], esi
jb 0x10059185
mov eax, dword [esp + 0x14]
push eax
call fcn.10080518
add esp, 4
push ebx
lea edi, [esp + 0x14]
call fcn.100529c0
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebx
mov byte [esp + 0x16c], 0xe
call fcn.100023e0
mov byte [esp + 0x160], 0xb
cmp dword [esp + 0x28], esi
jb 0x100591be
mov ecx, dword [esp + 0x14]
push ecx
call fcn.10080518
add esp, 4
push ebx
lea edi, [esp + 0x14]
call fcn.10052f80
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebx
mov byte [esp + 0x16c], 0xf
call fcn.100023e0
mov byte [esp + 0x160], 0xb
cmp dword [esp + 0x28], esi
jb 0x100591f7
mov edx, dword [esp + 0x14]
push edx
call fcn.10080518
add esp, 4
push ebx
lea edi, [esp + 0x14]
call fcn.10053540
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebx
mov byte [esp + 0x16c], 0x10
call fcn.100023e0
mov byte [esp + 0x160], 0xb
cmp dword [esp + 0x28], esi
jb 0x10059230
mov eax, dword [esp + 0x14]
push eax
call fcn.10080518
add esp, 4
push ebx
lea edi, [esp + 0x14]
call fcn.10054990
push 0xffffffffffffffff
xor edi, edi
push edi
push eax
mov ecx, ebx
mov byte [esp + 0x16c], 0x11
call fcn.100023e0
mov byte [esp + 0x160], 0xb
cmp dword [esp + 0x28], esi
jb 0x1005926a
mov ecx, dword [esp + 0x14]
push ecx
call fcn.10080518
add esp, 4
push 0x11
push edi
push str._FirmwareLevel_
mov ecx, ebx
call fcn.10027ae0
cmp eax, 0xffffffff
jne 0x1005a3e6
push 0x11
push edi
push str.__FirmwareLevel__
mov ecx, ebx
call fcn.10027ae0
cmp eax, 0xffffffff
jne 0x1005a3e6
push 0x17
push edi
push str._FirmwareLevelCobalt_
mov ecx, ebx
call fcn.10027ae0
cmp eax, 0xffffffff
jne 0x1005a249
push 0x17
push edi
push str.__FirmwareLevelCobalt__
mov ecx, ebx
call fcn.10027ae0
cmp eax, 0xffffffff
jne 0x1005a249
push edi
push str._QueryPrinterCode_
mov ecx, ebx
call fcn.10027a70
cmp eax, 0xffffffff
jne 0x1005a10a
push edi
push str.__QueryPrinterCode__
mov ecx, ebx
call fcn.10027a70
cmp eax, 0xffffffff
jne 0x1005a10a
push edi
push str._QueryPSI_
mov ecx, ebx
call fcn.10027a70
cmp eax, 0xffffffff
jne 0x10059fcb
push edi
push str.__QueryPSI__
mov ecx, ebx
call fcn.10027a70
cmp eax, 0xffffffff
jne 0x10059fcb
push edi
push str._QueryModelName_
mov ecx, ebx
call fcn.10027a70
cmp eax, 0xffffffff
jne 0x10059e8c
push edi
push str.__QueryModelName__
mov ecx, ebx
call fcn.10027a70
cmp eax, 0xffffffff
jne 0x10059e8c
push edi
push str._IP_
mov ecx, ebx
call fcn.10027a70
cmp eax, 0xffffffff
jne 0x10059d4d
push edi
push str.__IpAddress__
mov ecx, ebx
call fcn.10027a70
cmp eax, 0xffffffff
jne 0x10059d4d
xor esi, esi
mov dword [esp + 0xc8], 7
mov dword [esp + 0xc4], esi
mov word [esp + 0xb4], si
lea edx, [esp + 0xb0]
push ebx
push edx
mov byte [esp + 0x168], 0x54
call fcn.10067170
add esp, 8
lea eax, [esp + 0xb0]
push eax
lea edi, [esp + 0x14]
call fcn.10053b00
push 0xffffffffffffffff
push esi
push eax
lea ecx, [esp + 0xbc]
mov byte [esp + 0x16c], 0x55
call fcn.10001ea0
mov ecx, edi
mov byte [esp + 0x160], 0x54
call fcn.10009c90
mov esi, dword [esp + 0x50]
push esi
lea ecx, [esp + 0x98]
push ecx
lea edx, [esp + 0x34]
push edx
call fcn.10051650
push 0xffffffffffffffff
xor edi, edi
push edi
push eax
mov ecx, esi
mov byte [esp + 0x16c], 0x56
call fcn.100023e0
lea ecx, [esp + 0x94]
call fcn.10002a70
mov dword [esp + 0x14c], 7
mov dword [esp + 0x148], edi
mov word [esp + 0x138], di
lea eax, [esp + 0x134]
push esi
push eax
mov byte [esp + 0x168], 0x57
call fcn.10067170
add esp, 8
lea ecx, [esp + 0x134]
push ecx
lea edi, [esp + 0x34]
call fcn.10053b00
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x140]
mov byte [esp + 0x16c], 0x58
call fcn.10001ea0
mov ecx, edi
mov byte [esp + 0x160], 0x57
call fcn.10009c90
cmp byte [esp + 0x108], 0
je 0x10059599
push ebx
lea edx, [esp + 0x14]
push str.About_to_open_file_location_:_
push edx
call fcn.1000a020
add esp, 0xc
push 0x100b52e0
push eax
lea eax, [esp + 0x38]
push eax
mov byte [esp + 0x16c], 0x59
call fcn.1000ddf0
add esp, 0xc
push eax
lea ecx, [esp + 0xd0]
mov byte [esp + 0x164], 0x5a
call fcn.1008d180
lea ecx, [esp + 0x30]
call fcn.10002a70
lea ecx, [esp + 0x10]
mov byte [esp + 0x160], 0x57
call fcn.10002a70
cmp byte [esp + 0x108], 0
je 0x10059599
push str.Calling_ShellExecute_with_url_file
lea ecx, [esp + 0x34]
call fcn.1008d3d0
mov edx, dword [esp + 0x4c]
lea ecx, [esp + 0x10]
push ecx
push 0x100aec44
push edx
push str._directory
push esi
push str._cmdLine
push ebx
mov ecx, eax
mov byte [esp + 0x17c], 0x5b
call fcn.1008d660
mov ecx, eax
call fcn.1008d680
mov ecx, eax
call fcn.1008d660
mov ecx, eax
call fcn.1008d680
mov ecx, eax
call fcn.1008d660
mov ecx, eax
call fcn.1008d680
mov ecx, eax
call fcn.1008d7b0
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0xd0]
mov byte [esp + 0x164], 0x5c
call fcn.1008d180
lea ecx, [esp + 0x10]
call fcn.10002a70
lea ecx, [esp + 0x30]
mov byte [esp + 0x160], 0x57
call fcn.10002a70
mov edi, dword [esp + 0x4c]
mov ecx, edi
mov esi, 0x100aec7b
call fcn.1000df60
test al, al
je 0x100595fa
mov ecx, dword [esp + 0x138]
mov eax, 8
cmp dword [esp + 0x14c], eax
jae 0x100595c9
lea ecx, [esp + 0x138]
cmp dword [esp + 0xc8], eax
mov eax, dword [esp + 0xb4]
jae 0x100595e0
lea eax, [esp + 0xb4]
push 1
xor ebx, ebx
push ebx
push ecx
push eax
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esi, eax
jmp 0x100596a0
xor ebx, ebx
mov dword [esp + 0xac], 7
mov dword [esp + 0xa8], ebx
mov word [esp + 0x98], bx
lea ecx, [esp + 0x94]
push edi
push ecx
mov byte [esp + 0x168], 0x5d
call fcn.10067170
mov edx, dword [esp + 0xa0]
mov eax, 8
add esp, 8
cmp dword [esp + 0xac], eax
jae 0x1005964b
lea edx, [esp + 0x98]
cmp dword [esp + 0x14c], eax
mov ecx, dword [esp + 0x138]
jae 0x10059662
lea ecx, [esp + 0x138]
cmp dword [esp + 0xc8], eax
mov eax, dword [esp + 0xb4]
jae 0x10059679
lea eax, [esp + 0xb4]
push 1
push edx
push ecx
push eax
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [esp + 0x94]
mov esi, eax
mov byte [esp + 0x160], 0x57
call fcn.10009c90
mov al, byte [esp + 0x108]
test al, al
je 0x1005971b
push str.ShellExecute_returned_with_retCode
lea ecx, [esp + 0x34]
call fcn.1008d3d0
lea edx, [esp + 0x10]
push edx
push 0x100aec44
push esi
mov ecx, eax
mov byte [esp + 0x16c], 0x5e
call fcn.1008d6b0
mov ecx, eax
call fcn.1008d680
mov ecx, eax
call fcn.1008d7b0
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0xd0]
mov byte [esp + 0x164], 0x5f
call fcn.1008d180
lea ecx, [esp + 0x10]
call fcn.10002a70
lea ecx, [esp + 0x30]
mov byte [esp + 0x160], 0x57
call fcn.10002a70
mov al, byte [esp + 0x108]
cmp esi, 0x1f
jne 0x10059a5f
cmp byte [ebp + 0xc], 1
jne 0x10059a7a
test al, al
je 0x10059787
push str.No_associated_application_to_open_the_file_found..launching_openwith_dialog..
lea ecx, [esp + 0x34]
call fcn.1008d3d0
lea ecx, [esp + 0x10]
push ecx
mov ecx, eax
mov byte [esp + 0x164], 0x60
call fcn.1008d7b0
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0xd0]
mov byte [esp + 0x164], 0x61
call fcn.1008d180
lea ecx, [esp + 0x10]
call fcn.10002a70
lea ecx, [esp + 0x30]
mov byte [esp + 0x160], 0x57
call fcn.10002a70
mov ecx, edi
mov esi, 0x100aec7b
call fcn.1000df60
test al, al
je 0x1005980b
push 0x38
lea eax, [esp + 0x5c]
push ebx
push eax
mov dword [esp + 0x60], 0x3c
call fcn.1007a340
add esp, 0xc
cmp dword [esp + 0xc8], 8
mov dword [esp + 0x58], 0x100
mov dword [esp + 0x70], 1
mov dword [esp + 0x60], str.openas
jb 0x100597ee
mov ecx, dword [esp + 0xb4]
lea eax, [esp + 0x54]
push eax
mov dword [esp + 0x68], ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov esi, eax
jmp 0x100598d3
lea eax, [esp + 0x54]
lea edx, [esp + 0xb4]
push eax
mov dword [esp + 0x68], edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov esi, eax
jmp 0x100598d3
mov dword [esp + 0xac], 7
mov dword [esp + 0xa8], ebx
mov word [esp + 0x98], bx
lea ecx, [esp + 0x94]
push edi
push ecx
mov byte [esp + 0x168], 0x62
call fcn.10067170
push 0x38
lea edx, [esp + 0x64]
push ebx
push edx
mov dword [esp + 0x68], 0x3c
call fcn.1007a340
mov eax, 8
add esp, 0x14
cmp dword [esp + 0xc8], eax
mov dword [esp + 0x58], 0x100
mov dword [esp + 0x70], 1
mov dword [esp + 0x60], str.openas
jb 0x10059886
mov ecx, dword [esp + 0xb4]
mov dword [esp + 0x64], ecx
jmp 0x10059891
lea edx, [esp + 0xb4]
mov dword [esp + 0x64], edx
cmp dword [esp + 0xac], eax
jb 0x100598a7
mov eax, dword [esp + 0x98]
mov dword [esp + 0x6c], eax
jmp 0x100598b2
lea ecx, [esp + 0x98]
mov dword [esp + 0x6c], ecx
lea edx, [esp + 0x54]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
lea ecx, [esp + 0x94]
mov esi, eax
mov byte [esp + 0x160], 0x57
call fcn.10009c90
cmp byte [esp + 0x108], 0
je 0x100599a7
push str.ShellExecuteEx_with_openas_verb_returned_error_code_:
lea ecx, [esp + 0x34]
call fcn.1008d3d0
lea ecx, [esp + 0x10]
push ecx
push 0x100aec44
push esi
mov ecx, eax
mov byte [esp + 0x16c], 0x63
call fcn.1008d6b0
mov ecx, eax
call fcn.1008d680
mov ecx, eax
call fcn.1008d7b0
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0xd0]
mov byte [esp + 0x164], 0x64
call fcn.1008d180
lea ecx, [esp + 0x10]
call fcn.10002a70
lea ecx, [esp + 0x30]
mov byte [esp + 0x160], 0x57
call fcn.10002a70
mov al, byte [esp + 0x108]
test al, al
je 0x100599a7
push 1
lea ecx, [esp + 0x34]
call fcn.1008d450
lea ecx, [esp + 0x10]
push ecx
mov ecx, eax
mov byte [esp + 0x164], 0x7c
call fcn.1008d7b0
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0xd0]
mov byte [esp + 0x164], 0x7d
call fcn.1008ab90
lea ecx, [esp + 0x10]
call fcn.10002a70
lea ecx, [esp + 0x30]
mov byte [esp + 0x160], 0x57
call fcn.10002a70
push 0x20
mov esi, 0x100ccdf8
call fcn.100663e0
add esp, 4
test al, al
je 0x10059a18
push 0x100af374
lea ecx, [esp + 0x34]
call fcn.1008d3d0
lea ecx, [esp + 0x10]
push ecx
push str.CmdUtil::LaunchWithDefaultApp:
mov ecx, eax
mov byte [esp + 0x168], 0x80
call fcn.1008d680
mov ecx, eax
call fcn.1008d7b0
mov byte [esp + 0x160], 0x81
call fcn.10002800
mov edx, dword [eax]
mov edx, dword [edx + 4]
lea ecx, [esp + 0x10]
push ecx
push 0x20
push esi
mov ecx, eax
call edx
lea ecx, [esp + 0x10]
call fcn.10002a70
lea ecx, [esp + 0x30]
call fcn.10002a70
lea ecx, [esp + 0x134]
call fcn.10009c90
lea ecx, [esp + 0xb0]
call fcn.10009c90
lea ecx, [esp + 0xcc]
mov dword [esp + 0x2c], vtable.MacroResolver.0
mov byte [esp + 0x160], 0
call fcn.1008bb30
lea ecx, [esp + 0x118]
call fcn.10002a70
mov al, 1
jmp 0x1005a5ea
cmp esi, 2
je 0x10059bfc
cmp esi, 3
je 0x10059bfc
cmp esi, 0x20
jg 0x10059951
test al, al
je 0x10059b46
push str.Shell_Execute_failed_with_error_code_:
lea ecx, [esp + 0x34]
call fcn.1008d3d0
lea ecx, [esp + 0x10]
push ecx
push 0x100aec44
push esi
mov ecx, eax
mov byte [esp + 0x16c], 0x70
call fcn.1008d6b0
mov ecx, eax
call fcn.1008d680
mov ecx, eax
call fcn.1008d7b0
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0xd0]
mov byte [esp + 0x164], 0x71
call fcn.1008d180
lea ecx, [esp + 0x10]
call fcn.10002a70
lea ecx, [esp + 0x30]
mov byte [esp + 0x160], 0x57
call fcn.10002a70
cmp byte [esp + 0x108], 0
je 0x10059b46
push ebx
lea ecx, [esp + 0x34]
call fcn.1008d450
lea ecx, [esp + 0x10]
push ecx
mov ecx, eax
mov byte [esp + 0x164], 0x72
call fcn.1008d7b0
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0xd0]
mov byte [esp + 0x164], 0x73
call fcn.1008ab90
lea ecx, [esp + 0x10]
call fcn.10002a70
lea ecx, [esp + 0x30]
mov byte [esp + 0x160], 0x57
call fcn.10002a70
push 0x20
mov esi, 0x100ccdf8
call fcn.100663e0
add esp, 4
test al, al
je 0x10059bb7
push 0x100af374
lea ecx, [esp + 0x34]
call fcn.1008d3d0
lea ecx, [esp + 0x10]
push ecx
push str.CmdUtil::LaunchWithDefaultApp:
mov ecx, eax
mov byte [esp + 0x168], 0x76
call fcn.1008d680
mov ecx, eax
call fcn.1008d7b0
mov byte [esp + 0x160], 0x77
call fcn.10002800
mov edx, dword [eax]
mov edx, dword [edx + 4]
lea ecx, [esp + 0x10]
push ecx
push 0x20
push esi
mov ecx, eax
call edx
lea ecx, [esp + 0x10]
call fcn.10002a70
lea ecx, [esp + 0x30]
call fcn.10002a70
lea ecx, [esp + 0x134]
call fcn.10009c90
lea ecx, [esp + 0xb0]
call fcn.10009c90
lea ecx, [esp + 0xcc]
mov dword [esp + 0x2c], vtable.MacroResolver.0
mov byte [esp + 0x160], 0
call fcn.1008bb30
lea ecx, [esp + 0x118]
call fcn.10002a70
jmp 0x1005a5e8
test al, al
je 0x10059c97
push str.File_path_does_not_exist.
lea ecx, [esp + 0x14]
call fcn.10002aa0
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0xd0]
mov byte [esp + 0x164], 0x65
call fcn.1008d180
lea ecx, [esp + 0x10]
mov byte [esp + 0x160], 0x57
call fcn.10002a70
cmp byte [esp + 0x108], 0
je 0x10059c97
push ebx
lea ecx, [esp + 0x34]
call fcn.1008d450
lea ecx, [esp + 0x10]
push ecx
mov ecx, eax
mov byte [esp + 0x164], 0x66
call fcn.1008d7b0
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0xd0]
mov byte [esp + 0x164], 0x67
call fcn.1008ab90
lea ecx, [esp + 0x10]
call fcn.10002a70
lea ecx, [esp + 0x30]
mov byte [esp + 0x160], 0x57
call fcn.10002a70
push 0x20
mov esi, 0x100ccdf8
call fcn.100663e0
add esp, 4
test al, al
je 0x10059d08
push 0x100af374
lea ecx, [esp + 0x34]
call fcn.1008d3d0
lea ecx, [esp + 0x10]
push ecx
push str.CmdUtil::LaunchWithDefaultApp:
mov ecx, eax
mov byte [esp + 0x168], 0x6a
call fcn.1008d680
mov ecx, eax
call fcn.1008d7b0
mov byte [esp + 0x160], 0x6b
call fcn.10002800
mov edx, dword [eax]
mov edx, dword [edx + 4]
lea ecx, [esp + 0x10]
push ecx
push 0x20
push esi
mov ecx, eax
call edx
lea ecx, [esp + 0x10]
call fcn.10002a70
lea ecx, [esp + 0x30]
call fcn.10002a70
lea ecx, [esp + 0x134]
call fcn.10009c90
lea ecx, [esp + 0xb0]
call fcn.10009c90
lea ecx, [esp + 0xcc]
mov dword [esp + 0x2c], vtable.MacroResolver.0
mov byte [esp + 0x160], 0
call fcn.1008bb30
lea ecx, [esp + 0x118]
call fcn.10002a70
jmp 0x1005a5e8
cmp byte [esp + 0x108], 0
je 0x10059dee
push str.Communication_error_:_Printer_Offline
lea ecx, [esp + 0x14]
call fcn.10002aa0
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0xd0]
mov byte [esp + 0x164], 0x49
call fcn.1008d180
lea ecx, [esp + 0x10]
mov byte [esp + 0x160], 0xb
call fcn.10002a70
cmp byte [esp + 0x108], 0
je 0x10059dee
push edi
lea ecx, [esp + 0x34]
call fcn.1008d450
lea ecx, [esp + 0x10]
push ecx
mov ecx, eax
mov byte [esp + 0x164], 0x4a
call fcn.1008d7b0
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0xd0]
mov byte [esp + 0x164], 0x4b
call fcn.1008ab90
lea ecx, [esp + 0x10]
call fcn.10002a70
lea ecx, [esp + 0x30]
mov byte [esp + 0x160], 0xb
call fcn.10002a70
push 0x20
mov esi, 0x100ccdf8
call fcn.100663e0
add esp, 4
test al, al
je 0x10059e5f
push 0x100af374
lea ecx, [esp + 0x34]
call fcn.1008d3d0
lea ecx, [esp + 0x10]
push ecx
push str.CmdUtil::LaunchWithDefaultApp:
mov ecx, eax
mov byte [esp + 0x168], 0x4e
call fcn.1008d680
mov ecx, eax
call fcn.1008d7b0
mov byte [esp + 0x160], 0x4f
call fcn.10002800
mov edx, dword [eax]
mov edx, dword [edx + 4]
lea ecx, [esp + 0x10]
push ecx
push 0x20
push esi
mov ecx, eax
call edx
lea ecx, [esp + 0x10]
call fcn.10002a70
lea ecx, [esp + 0x30]
call fcn.10002a70
lea ecx, [esp + 0xcc]
mov dword [esp + 0x2c], vtable.MacroResolver.0
mov byte [esp + 0x160], 0
call fcn.1008bb30
lea ecx, [esp + 0x118]
call fcn.10002a70
jmp 0x1005a5e8
cmp byte [esp + 0x108], 0
je 0x10059f2d
push str.Communication_error_:_Printer_Offline
lea ecx, [esp + 0x14]
call fcn.10002aa0
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0xd0]
mov byte [esp + 0x164], 0x3e
call fcn.1008d180
lea ecx, [esp + 0x10]
mov byte [esp + 0x160], 0xb
call fcn.10002a70
cmp byte [esp + 0x108], 0
je 0x10059f2d
push edi
lea ecx, [esp + 0x34]
call fcn.1008d450
lea ecx, [esp + 0x10]
push ecx
mov ecx, eax
mov byte [esp + 0x164], 0x3f
call fcn.1008d7b0
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0xd0]
mov byte [esp + 0x164], 0x40
call fcn.1008ab90
lea ecx, [esp + 0x10]
call fcn.10002a70
lea ecx, [esp + 0x30]
mov byte [esp + 0x160], 0xb
call fcn.10002a70
push 0x20
mov esi, 0x100ccdf8
call fcn.100663e0
add esp, 4
test al, al
je 0x10059f9e
push 0x100af374
lea ecx, [esp + 0x34]
call fcn.1008d3d0
lea ecx, [esp + 0x10]
push ecx
push str.CmdUtil::LaunchWithDefaultApp:
mov ecx, eax
mov byte [esp + 0x168], 0x43
call fcn.1008d680
mov ecx, eax
call fcn.1008d7b0
mov byte [esp + 0x160], 0x44
call fcn.10002800
mov edx, dword [eax]
mov edx, dword [edx + 4]
lea ecx, [esp + 0x10]
push ecx
push 0x20
push esi
mov ecx, eax
call edx
lea ecx, [esp + 0x10]
call fcn.10002a70
lea ecx, [esp + 0x30]
call fcn.10002a70
lea ecx, [esp + 0xcc]
mov dword [esp + 0x2c], vtable.MacroResolver.0
mov byte [esp + 0x160], 0
call fcn.1008bb30
lea ecx, [esp + 0x118]
call fcn.10002a70
jmp 0x1005a5e8
cmp byte [esp + 0x108], 0
je 0x1005a06c
push str.Communication_error_:_Printer_Offline
lea ecx, [esp + 0x14]
call fcn.10002aa0
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0xd0]
mov byte [esp + 0x164], 0x33
call fcn.1008d180
lea ecx, [esp + 0x10]
mov byte [esp + 0x160], 0xb
call fcn.10002a70
cmp byte [esp + 0x108], 0
je 0x1005a06c
push edi
lea ecx, [esp + 0x34]
call fcn.1008d450
lea ecx, [esp + 0x10]
push ecx
mov ecx, eax
mov byte [esp + 0x164], 0x34
call fcn.1008d7b0
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0xd0]
mov byte [esp + 0x164], 0x35
call fcn.1008ab90
lea ecx, [esp + 0x10]
call fcn.10002a70
lea ecx, [esp + 0x30]
mov byte [esp + 0x160], 0xb
call fcn.10002a70
push 0x20
mov esi, 0x100ccdf8
call fcn.100663e0
add esp, 4
test al, al
je 0x1005a0dd
push 0x100af374
lea ecx, [esp + 0x34]
call fcn.1008d3d0
lea ecx, [esp + 0x10]
push ecx
push str.CmdUtil::LaunchWithDefaultApp:
mov ecx, eax
mov byte [esp + 0x168], 0x38
call fcn.1008d680
mov ecx, eax
call fcn.1008d7b0
mov byte [esp + 0x160], 0x39
call fcn.10002800
mov edx, dword [eax]
mov edx, dword [edx + 4]
lea ecx, [esp + 0x10]
push ecx
push 0x20
push esi
mov ecx, eax
call edx
lea ecx, [esp + 0x10]
call fcn.10002a70
lea ecx, [esp + 0x30]
call fcn.10002a70
lea ecx, [esp + 0xcc]
mov dword [esp + 0x2c], vtable.MacroResolver.0
mov byte [esp + 0x160], 0
call fcn.1008bb30
lea ecx, [esp + 0x118]
call fcn.10002a70
jmp 0x1005a5e8
cmp byte [esp + 0x108], 0
je 0x1005a1ab
push str.Communication_error_:_Printer_Offline
lea ecx, [esp + 0x14]
call fcn.10002aa0
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0xd0]
mov byte [esp + 0x164], 0x28
call fcn.1008d180
lea ecx, [esp + 0x10]
mov byte [esp + 0x160], 0xb
call fcn.10002a70
cmp byte [esp + 0x108], 0
je 0x1005a1ab
push edi
lea ecx, [esp + 0x34]
call fcn.1008d450
lea ecx, [esp + 0x10]
push ecx
mov ecx, eax
mov byte [esp + 0x164], 0x29
call fcn.1008d7b0
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0xd0]
mov byte [esp + 0x164], 0x2a
call fcn.1008ab90
lea ecx, [esp + 0x10]
call fcn.10002a70
lea ecx, [esp + 0x30]
mov byte [esp + 0x160], 0xb
call fcn.10002a70
push 0x20
mov esi, 0x100ccdf8
call fcn.100663e0
add esp, 4
test al, al
je 0x1005a21c
push 0x100af374
lea ecx, [esp + 0x34]
call fcn.1008d3d0
lea ecx, [esp + 0x10]
push ecx
push str.CmdUtil::LaunchWithDefaultApp:
mov ecx, eax
mov byte [esp + 0x168], 0x2d
call fcn.1008d680
mov ecx, eax
call fcn.1008d7b0
mov byte [esp + 0x160], 0x2e
call fcn.10002800
mov edx, dword [eax]
mov edx, dword [edx + 4]
lea ecx, [esp + 0x10]
push ecx
push 0x20
push esi
mov ecx, eax
call edx
lea ecx, [esp + 0x10]
call fcn.10002a70
lea ecx, [esp + 0x30]
call fcn.10002a70
lea ecx, [esp + 0xcc]
mov dword [esp + 0x2c], vtable.MacroResolver.0
mov byte [esp + 0x160], 0
call fcn.1008bb30
lea ecx, [esp + 0x118]
call fcn.10002a70
jmp 0x1005a5e8
cmp byte [esp + 0x108], 0
je 0x1005a33e
push str.Communication_error_:_Printer_Offline
lea ecx, [esp + 0x98]
call fcn.10002aa0
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0xd0]
mov byte [esp + 0x164], 0x1d
call fcn.1008d180
mov byte [esp + 0x160], 0xb
cmp dword [esp + 0xac], esi
jb 0x1005a2a5
mov ecx, dword [esp + 0x98]
push ecx
call fcn.10080518
add esp, 4
cmp byte [esp + 0x108], 0
je 0x1005a33e
push edi
lea ecx, [esp + 0x14]
call fcn.1008d450
lea edx, [esp + 0x94]
push edx
mov ecx, eax
mov byte [esp + 0x164], 0x1e
call fcn.1008d7b0
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0xd0]
mov byte [esp + 0x164], 0x1f
call fcn.1008ab90
cmp dword [esp + 0xac], esi
jb 0x1005a309
mov ecx, dword [esp + 0x98]
push ecx
call fcn.10080518
add esp, 4
mov byte [esp + 0x160], 0xb
cmp dword [esp + 0x28], esi
mov dword [esp + 0xac], 0xf
mov dword [esp + 0xa8], edi
mov byte [esp + 0x98], 0
jb 0x1005a33e
mov edx, dword [esp + 0x14]
push edx
call fcn.10080518
add esp, 4
push 0x20
mov esi, 0x100ccdf8
call fcn.100663e0
add esp, 4
test al, al
je 0x1005a3af
push 0x100af374
lea ecx, [esp + 0x34]
call fcn.1008d3d0
lea ecx, [esp + 0x10]
push ecx
push str.CmdUtil::LaunchWithDefaultApp:
mov ecx, eax
mov byte [esp + 0x168], 0x22
call fcn.1008d680
mov ecx, eax
call fcn.1008d7b0
mov byte [esp + 0x160], 0x23
call fcn.10002800
mov edx, dword [eax]
mov edx, dword [edx + 4]
lea ecx, [esp + 0x10]
push ecx
push 0x20
push esi
mov ecx, eax
call edx
lea ecx, [esp + 0x10]
call fcn.10002a70
lea ecx, [esp + 0x30]
call fcn.10002a70
lea ecx, [esp + 0xcc]
mov dword [esp + 0x2c], vtable.MacroResolver.0
mov byte [esp + 0x160], 0
call fcn.1008bb30
cmp dword [esp + 0x130], 0x10
jb 0x1005a5e8
mov eax, dword [esp + 0x11c]
push eax
jmp 0x1005a5e0
cmp byte [esp + 0x108], 0
je 0x1005a4f4
push 0x25
mov ebx, 0xf
push str.Communication_error_:_Printer_Offline
lea ecx, [esp + 0x9c]
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb0], edi
mov byte [esp + 0xa0], 0
call fcn.10002b10
lea ecx, [esp + 0x94]
push ecx
lea ecx, [esp + 0xd0]
mov byte [esp + 0x164], 0x12
call fcn.1008d180
mov byte [esp + 0x160], 0xb
cmp dword [esp + 0xac], esi
jb 0x1005a45f
mov edx, dword [esp + 0x98]
push edx
call fcn.10080518
add esp, 4
cmp byte [esp + 0x108], 0
je 0x1005a4f4
push edi
lea ecx, [esp + 0x14]
call fcn.1008d450
lea ecx, [esp + 0x94]
push ecx
mov ecx, eax
mov byte [esp + 0x164], 0x13
call fcn.1008d7b0
lea edx, [esp + 0x94]
push edx
lea ecx, [esp + 0xd0]
mov byte [esp + 0x164], 0x14
call fcn.1008ab90
cmp dword [esp + 0xac], esi
jb 0x1005a4c3
mov eax, dword [esp + 0x98]
push eax
call fcn.10080518
add esp, 4
mov byte [esp + 0x160], 0xb
cmp dword [esp + 0x28], esi
mov dword [esp + 0xac], ebx
mov dword [esp + 0xa8], edi
mov byte [esp + 0x98], 0
jb 0x1005a4f4
mov ecx, dword [esp + 0x14]
push ecx
call fcn.10080518
add esp, 4
push 0x20
mov esi, 0x100ccdf8
call fcn.100663e0
add esp, 4
test al, al
je 0x1005a5ae
push 0x100af374
lea ecx, [esp + 0x14]
call fcn.1008d3d0
lea edx, [esp + 0x94]
push edx
push str.CmdUtil::LaunchWithDefaultApp:
mov ecx, eax
mov byte [esp + 0x168], 0x17
call fcn.1008d680
mov ecx, eax
call fcn.1008d7b0
mov byte [esp + 0x160], 0x18
call fcn.10002800
mov edx, dword [eax]
mov edx, dword [edx + 4]
lea ecx, [esp + 0x94]
push ecx
push 0x20
push esi
mov ecx, eax
call edx
mov esi, 0x10
cmp dword [esp + 0xac], esi
jb 0x1005a57b
mov eax, dword [esp + 0x98]
push eax
call fcn.10080518
add esp, 4
cmp dword [esp + 0x28], esi
mov dword [esp + 0xac], 0xf
mov dword [esp + 0xa8], 0
mov byte [esp + 0x98], 0
jb 0x1005a5b3
mov ecx, dword [esp + 0x14]
push ecx
call fcn.10080518
add esp, 4
jmp 0x1005a5b3
mov esi, 0x10
lea ecx, [esp + 0xcc]
mov dword [esp + 0x2c], vtable.MacroResolver.0
mov byte [esp + 0x160], 0
call fcn.1008bb30
cmp dword [esp + 0x130], esi
jb 0x1005a5e8
mov edx, dword [esp + 0x11c]
push edx
call fcn.10080518
add esp, 4
xor al, al
mov ecx, dword [esp + 0x158]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x140]
xor ecx, esp
call fcn.10079ea5
mov esp, ebp
pop ebp
ret