Function at 0x140091520
Capabilities:
Delete file
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r14
mov eax, 0x3c20
call fcn.1402663a0
sub rsp, rax
mov rax, qword [0x140344548]
xor rax, rsp
mov qword [rsp + 0x3c10], rax
mov rsi, rcx
xor ebx, ebx
mov byte [rsp + 0x28], 1
mov qword [rsp + 0x20], rbx
lea r9, str..opt
mov r8d, edx
lea rdx, [0x14027b2b0]
lea rcx, [rsp + 0x80]
call fcn.140090ce0
nop
xor edx, edx
mov r8d, 0x230
lea rcx, [rsp + 0xf0]
call sub.VCRUNTIME140.dll_memset
xor r8d, r8d
lea edx, [rbx + 2]
lea rcx, [rsp + 0xf0]
call fcn.14025e800
nop
lea rcx, [rsp + 0xf0]
call fcn.14025f760
test al, al
je 0x1400915d5
lea rdx, str.Try_to_parse_printer_options_file
lea rcx, [rsp + 0xf0]
call fcn.140255d20
lea rdx, [rsp + 0x80]
mov rcx, rax
call fcn.140255b00
nop
lea rcx, [rsp + 0xf0]
call fcn.140255600
mov rax, qword [rsi + 8]
mov r14d, ebx
test rax, rax
sete r14b
test rax, rax
je 0x1400918ff
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0xa0], xmm0
movups xmmword [rsp + 0xb0], xmm0
movups xmmword [rsp + 0xc0], xmm0
movups xmmword [rsp + 0xd0], xmm0
mov qword [rsp + 0xe0], rax
lea rcx, [rsp + 0xa0]
call fcn.14008f150
nop
lea rdx, [rsp + 0x80]
cmp qword [rsp + 0x98], 8
cmovae rdx, qword [rsp + 0x80]
lea rcx, [rsp + 0xe0]
call fcn.1400b63c0
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
movdqa xmm1, xmmword [0x14027cfe0]
movdqu xmmword [rsp + 0x60], xmm1
mov word [rsp + 0x50], bx
mov rax, qword [rsp + 0xa0]
lea r8, str.TaskJobId
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0xa0]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rax, qword [rsp + 0xa0]
lea r8, str.TaskSaveFileName
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0xa0]
call qword [rax + 0x18]
mov rax, qword [rsp + 0xe0]
lea rdx, [rsp + 0x550]
lea rcx, [rsp + 0xe0]
call qword [rax + 0x28]
mov dword [rsp + COleDispatchException::~COleDispatchException], 0x36b8
mov dword [rsp + COleDispatchException::~COleDispatchException], 0x4e585347
mov dword [rsp + COleDispatchException::~COleDispatchException], 0x10
xor edx, edx
mov r8d, 0x230
lea rcx, [rsp + 0x320]
call sub.VCRUNTIME140.dll_memset
xor r8d, r8d
lea edx, [r8 + 2]
lea rcx, [rsp + 0x320]
call fcn.14025e800
nop
lea rcx, [rsp + 0x320]
call fcn.14025f760
test al, al
je 0x140091768
lea rdx, str.Task_info_server:_process_print_job_
lea rcx, [rsp + 0x320]
call fcn.140255d20
mov edx, dword [rsp + 0x38]
mov rcx, rax
call fcn.140255b40
lea rdx, str.__to
mov rcx, rax
call fcn.140255d20
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.140255b00
nop
lea rcx, [rsp + 0x320]
call fcn.140255600
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov rcx, qword [rsi + 0x20]
mov rax, qword [rcx]
lea rdx, [rsp + 0x70]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
lea rdx, [rsp + 0x50]
call qword [rax + reloc.WS2_32.dll_htonl]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov ecx, 0x3710
call fcn.140265ffc
mov rdi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400917fb
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_obj2_class_Exchange::Ui2Conv::JobConvertParams_.0
mov qword [rdi], rax
lea rcx, [rdi + 0x10]
lea rax, [rsp + 0x550]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
mov r8d, dword [rsp + 0x38]
lea rdx, [rsp + 0x70]
call fcn.14008ecb0
jmp 0x1400917fe
mov rdi, rbx
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
lea rax, [rdi + 0x10]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rdi
mov rcx, qword [rsi + 8]
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdi, qword [rsp + 0x48]
mov esi, 0xffffffff
test rdi, rdi
je 0x14009185d
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x14009185d
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov eax, esi
lock xadd dword [rdi + 0xc], eax
cmp eax, 1
jne 0x14009185d
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdi, qword [rsp + 0x78]
test rdi, rdi
je 0x14009188f
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x14009188f
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], esi
cmp esi, 1
jne 0x14009188f
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x1400918d5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400918cf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400918cf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140082030
nop
movdqa xmm0, xmmword [0x14027cfe0]
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x50], bx
lea rcx, [rsp + 0xa0]
call fcn.14008fcd0
nop
jmp 0x1400918ff
lea rcx, str.NITRO_LOG_LEVEL
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x140091935
lea rdx, str.trace
nop dword [rax + rax]
movzx ecx, byte [rax + rbx]
inc rbx
cmp cl, byte [rdx + rbx - 1]
jne 0x140091935
cmp rbx, 6
jne 0x140091920
jmp 0x140091956
lea rcx, [rsp + 0x80]
cmp qword [rsp + 0x98], 8
cmovae rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
mov rdx, qword [rsp + 0x98]
cmp rdx, 8
jb 0x1400919a2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009199c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14009199c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140082030
nop
mov eax, r14d
mov rcx, qword [rsp + 0x3c10]
xor rcx, rsp
call fcn.140266400
mov rbx, qword [rsp + 0x3c50]
add rsp, 0x3c20
pop r14
pop rdi
pop rsi
ret