Function at 0x140091de0
Capabilities:
Delete file
Query environment variable

Disassembly:
push rsi
push rdi
push r14
mov eax, 0x3c30
call fcn.1400e3930
sub rsp, rax
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x3c60], rbx
mov rax, qword [0x1403644c8]
xor rax, rsp
mov qword [rsp + 0x3c20], rax
mov rsi, rcx
mov byte [rsp + 0x28], 1
xor ebx, ebx
mov qword [rsp + 0x20], rbx
lea r9, str..opt
mov r8d, edx
lea rdx, [0x14027add0]
lea rcx, [rsp + 0x88]
call fcn.140091400
nop
xor edx, edx
mov r8d, 0x230
lea rcx, [rsp + 0x100]
call sub.VCRUNTIME140.dll_memset
xor r8d, r8d
lea edx, [rbx + 2]
lea rcx, [rsp + 0x100]
call fcn.14025b540
nop
lea rcx, [rsp + 0x100]
call fcn.14025c1a0
test al, al
je 0x140091ea2
lea rdx, str.Try_to_parse_printer_options_file
lea rcx, [rsp + 0x100]
call fcn.140253210
lea rdx, [rsp + 0x88]
mov rcx, rax
call fcn.140252e40
nop
lea rcx, [rsp + 0x100]
call fcn.140252b50
mov rax, qword [rsi + 8]
mov r14d, ebx
test rax, rax
sete r14b
test rax, rax
je 0x140092234
xor eax, eax
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0xc0], rax
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0xe0], rax
mov qword [rsp + 0xe8], rax
mov qword [rsp + 0xf0], rax
lea rcx, [rsp + 0xb0]
call fcn.14008f980
nop
lea rdx, [rsp + 0x88]
cmp qword [rsp + 0xa0], 8
cmovae rdx, qword [rsp + 0x88]
lea rcx, [rsp + 0xf0]
call fcn.1400b8470
movdqa xmm0, xmmword [0x14027bc70]
movdqu xmmword [rsp + 0x78], xmm0
mov word [rsp + 0x68], bx
mov rax, qword [rsp + 0xb0]
lea r8, str.TaskJobId
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0xb0]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rax, qword [rsp + 0xb0]
lea r8, str.TaskSaveFileName
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0xb0]
call qword [rax + 0x18]
mov rax, qword [rsp + 0xf0]
lea rdx, [rsp + 0x560]
lea rcx, [rsp + 0xf0]
call qword [rax + 0x28]
mov dword [rsp + 0x560], 0x36b8
mov dword [rsp + 0x564], 0x4e585347
mov dword [rsp + 0x568], 0x10
xor edx, edx
mov r8d, 0x230
lea rcx, [rsp + 0x330]
call sub.VCRUNTIME140.dll_memset
xor r8d, r8d
lea edx, [r8 + 2]
lea rcx, [rsp + 0x330]
call fcn.14025b540
nop
lea rcx, [rsp + 0x330]
call fcn.14025c1a0
test al, al
je 0x14009204a
lea rdx, str.Task_info_server:_process_print_job_
lea rcx, [rsp + 0x330]
call fcn.140253210
mov edx, dword [rsp + 0x40]
mov rcx, rax
call fcn.140252ff0
lea rdx, str.__to
mov rcx, rax
call fcn.140253210
lea rdx, [rsp + 0x68]
mov rcx, rax
call fcn.140252e40
nop
lea rcx, [rsp + 0x330]
call fcn.140252b50
xor eax, eax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov rcx, qword [rsi + 0x20]
mov rax, qword [rcx]
lea rdx, [rsp + 0x58]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
lea rdx, [rsp + 0x68]
call qword [rax + reloc.WS2_32.dll_htonl]
xor eax, eax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov ecx, 0x3710
call fcn.1400e351c
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
je 0x140092136
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_obj_class_Exchange::Ui2Conv::JobConvertParams_.0
mov qword [rdi], rax
mov eax, dword [rsp + 0x40]
mov dword [rdi + 0x10], eax
mov byte [rdi + 0x14], 0
lea rcx, [rdi + 0x18]
lea rdx, [rsp + 0x68]
call fcn.14008e160
mov qword [rdi + 0x36f0], rbx
mov qword [rdi + 0x36f8], rbx
mov qword [rdi + 0x3700], rbx
mov qword [rdi + reloc.mfc140u.dll__AfxBindStatusCallback::CInnerUnknown::SetpThis], rbx
mov rax, qword [rsp + 0x60]
test rax, rax
je 0x140092105
lock inc dword [rax + 8]
mov rax, qword [rsp + 0x58]
mov qword [rdi + 0x3700], rax
mov rax, qword [rsp + 0x60]
mov qword [rdi + reloc.mfc140u.dll__AfxBindStatusCallback::CInnerUnknown::SetpThis], rax
lea rcx, [rdi + 0x38]
mov r8d, 0x36b8
lea rdx, [rsp + 0x560]
call sub.VCRUNTIME140.dll_memcpy
jmp 0x140092139
mov rdi, rbx
lea rax, [rdi + 0x10]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rdi
mov rcx, qword [rsi + 8]
mov rax, qword [rcx]
lea rdx, [rsp + 0x48]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdi, qword [rsp + 0x50]
mov esi, 0xffffffff
test rdi, rdi
je 0x140092190
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x140092190
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov eax, esi
lock xadd dword [rdi + 0xc], eax
cmp eax, 1
jne 0x140092190
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdi, qword [rsp + 0x60]
test rdi, rdi
je 0x1400921c2
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x1400921c2
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], esi
cmp esi, 1
jne 0x1400921c2
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdx, qword [rsp + 0x80]
cmp rdx, 8
jb 0x14009220a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140092205
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140092205
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140082ab0
movdqa xmm0, xmmword [0x14027bc70]
movdqu xmmword [rsp + 0x78], xmm0
mov word [rsp + 0x68], bx
lea rcx, [rsp + 0xb0]
call fcn.1400904e0
nop
jmp 0x140092234
lea rcx, str.NITRO_LOG_LEVEL
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x140092265
lea rdx, str.trace
nop dword [rax]
movzx ecx, byte [rax + rbx]
inc rbx
cmp cl, byte [rdx + rbx - 1]
jne 0x140092265
cmp rbx, 6
jne 0x140092250
jmp 0x140092286
lea rcx, [rsp + 0x88]
cmp qword [rsp + 0xa0], 8
cmovae rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
mov rdx, qword [rsp + 0xa0]
cmp rdx, 8
jb 0x1400922d2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400922cc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400922cc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140082ab0
nop
mov eax, r14d
mov rcx, qword [rsp + 0x3c20]
xor rcx, rsp
call fcn.1400e39a0
mov rbx, qword [rsp + 0x3c60]
add rsp, 0x3c30
pop r14
pop rdi
pop rsi
ret