Function at 0x72a6f170
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x6c
mov eax, dword [str.__Job]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x48], eax
mov eax, dword [0x72a7a60e]
mov dword [ebp - 0x44], eax
mov eax, dword [0x72a7a612]
mov dword [ebp - 0x40], eax
movzx eax, word [0x72a7a616]
mov word [ebp - 0x3c], ax
mov eax, dword [str.__Port]
mov dword [ebp - 0x3a], eax
mov eax, dword [0x72a7a61c]
mov dword [ebp - 0x36], eax
mov eax, dword [0x72a7a620]
mov dword [ebp - 0x32], eax
movzx eax, word [0x72a7a624]
mov word [ebp - 0x2e], ax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x50], eax
test byte [0x72a768e0], 8
jne 0x72a6f3b5
mov eax, dword [ebx + 0xc]
mov esi, dword [sym.imp.msvcrt.dll_wcslen]
mov eax, dword [eax + 0x24]
mov eax, dword [eax + 8]
mov dword [esp], eax
call esi
lea edi, [eax + eax + 0xe]
mov dword [esp], edi
call sym._DllAllocSplMem_4
sub esp, 4
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x72a6f440
sub edi, 0xe
mov edx, dword [ebp - 0x4c]
mov dword [esp + 8], edi
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0x24]
mov eax, dword [eax + 8]
mov dword [esp], edx
mov dword [esp + 4], eax
call sym._memmove
mov edx, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x3a]
lea eax, [edx + edi]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x36]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x32]
mov dword [eax + 8], ecx
movzx ecx, word [ebp - 0x2e]
mov word [eax + 0xc], cx
mov eax, dword [ebx]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x34]
mov dword [ebp - 0x28], eax
mov eax, dword [ebx + 0x5c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx + 0x30]
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x3c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x14], ecx
mov dword [eax + 0x10], ebx
lea eax, [ebp - 0x2c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x50]
mov dword [esp], edx
call dword [eax + 0x24]
sub esp, 8
mov edi, eax
test eax, eax
je 0x72a6f491
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call esi
lea eax, [eax + eax + 0x18]
mov dword [esp], eax
mov dword [ebp - 0x54], eax
call sym._DllAllocSplMem_4
sub esp, 4
mov esi, eax
test eax, eax
je 0x72a6f4c3
mov eax, dword [ebp - 0x54]
mov dword [esp], esi
lea ecx, [eax - 0x18]
mov eax, dword [ebp - 0x14]
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov dword [ebp - 0x58], ecx
call sym._memmove
mov ecx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x48]
add ecx, esi
mov dword [ecx], eax
mov eax, dword [ebp - 0x44]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x40]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x54]
mov dword [esp + 8], 0xa
lea eax, [esi + eax - 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll__ultow]
mov eax, dword [ebp - 0x50]
or dword [ebx + 0x54], 0x10
mov dword [esp + 4], esi
mov dword [esp], edi
call dword [eax + 0x28]
sub esp, 8
test eax, eax
je 0x72a6f3f2
mov eax, dword [ebp - 0x50]
mov dword [esp], edi
call dword [eax + 0x14]
sub esp, 4
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0x72a7a602
call sym._GetJobFilePath
mov dword [esp], eax
call sym._DllAllocSplMem_4
sub esp, 4
mov edi, eax
test eax, eax
je 0x72a6f500
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], 0x72a7a602
mov dword [esp + 4], eax
call sym._GetJobFilePath
mov dword [esp], edi
call sym._DeleteFileW_4
mov eax, dword [ebp - 0x4c]
sub esp, 4
mov dword [esp], eax
call sym._DllFreeSplMem_4
sub esp, 4
mov dword [esp], esi
call sym._DllFreeSplMem_4
sub esp, 4
mov dword [esp], edi
call sym._DllFreeSplMem_4
xor edx, edx
sub esp, 4
lea esp, [ebp - 0xc]
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret 4
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], str.PrintingThreadProc__p__n
mov dword [esp + 0x10], 0x1c
mov dword [esp + 0xc], str.PrintingThreadProc
mov dword [esp + 8], 0x72a7a551
mov dword [esp + 4], 0x72a768e0
mov dword [esp], 3
call sym._ros_dbg_log
jmp 0x72a6f1d5
call sym._GetLastError_0
mov edx, eax
test byte [0x72a768e0], 2
jne 0x72a6f5b0
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x54], edx
mov dword [esp], edi
call dword [eax + 0x14]
mov eax, dword [ebp - 0x4c]
sub esp, 4
mov dword [esp], eax
call sym._DllFreeSplMem_4
sub esp, 4
mov dword [esp], esi
call sym._DllFreeSplMem_4
mov edx, dword [ebp - 0x54]
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
mov eax, edx
pop esi
pop edi
pop ebp
ret 4
mov edx, 8
test byte [0x72a768e0], 2
je 0x72a6f3a9
mov dword [esp + 0x14], 0x72a7a586
mov dword [esp + 0x10], 0x25
mov dword [esp + 0xc], str.PrintingThreadProc
mov dword [esp + 8], 0x72a7a551
mov dword [esp + 4], 0x72a768e0
mov dword [esp], 1
mov dword [ebp - 0x4c], edx
call sym._ros_dbg_log
mov edx, dword [ebp - 0x4c]
jmp 0x72a6f3a9
call sym._GetLastError_0
test byte [0x72a768e0], 2
jne 0x72a6f530
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x4c]
mov dword [esp], eax
call sym._DllFreeSplMem_4
mov edx, dword [ebp - 0x50]
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
mov eax, edx
pop esi
pop edi
pop ebp
ret 4
test byte [0x72a768e0], 2
jne 0x72a6f570
mov eax, dword [ebp - 0x50]
mov dword [esp], edi
call dword [eax + 0x14]
mov eax, dword [ebp - 0x4c]
sub esp, 4
mov dword [esp], eax
call sym._DllFreeSplMem_4
mov edx, 8
sub esp, 4
lea esp, [ebp - 0xc]
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret 4
test byte [0x72a768e0], 2
jne 0x72a6f5f3
mov eax, dword [ebp - 0x4c]
mov dword [esp], eax
call sym._DllFreeSplMem_4
sub esp, 4
mov dword [esp], esi
call sym._DllFreeSplMem_4
mov edx, 8
sub esp, 4
jmp 0x72a6f3a9
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], str.OpenPrintProcessor_failed_with_error__lu__n
mov dword [esp + 0x10], 0x3f
mov dword [esp + 0xc], str.PrintingThreadProc
mov dword [esp + 8], 0x72a7a551
mov dword [esp + 4], 0x72a768e0
mov dword [esp], 1
mov dword [ebp - 0x50], eax
call sym._ros_dbg_log
jmp 0x72a6f4a6
mov dword [esp + 0x14], 0x72a7a586
mov dword [esp + 0x10], 0x4c
mov dword [esp + 0xc], str.PrintingThreadProc
mov dword [esp + 8], 0x72a7a551
mov dword [esp + 4], 0x72a768e0
mov dword [esp], 1
call sym._ros_dbg_log
jmp 0x72a6f4d0
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], str.PrintDocumentOnPrintProcessor_failed_with_error__lu__n
mov dword [esp + 0x10], 0x5c
mov dword [esp + 0xc], str.PrintingThreadProc
mov dword [esp + 8], 0x72a7a551
mov dword [esp + 4], 0x72a768e0
mov dword [esp], 1
mov dword [ebp - 0x54], eax
call sym._ros_dbg_log
mov edx, dword [ebp - 0x54]
jmp 0x72a6f406
mov dword [esp + 0x14], 0x72a7a586
mov dword [esp + 0x10], 0x69
mov dword [esp + 0xc], str.PrintingThreadProc
mov dword [esp + 8], 0x72a7a551
mov dword [esp + 4], 0x72a768e0
mov dword [esp], 1
call sym._ros_dbg_log
jmp 0x72a6f50d