Function at 0x14000ad10
Capabilities:
Check mutex on windows
Get hostname

Disassembly:
push rsi
push rdi
push r12
mov eax, 0x37f0
call fcn.140050c50
sub rsp, rax
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x3818], rbx
mov qword [rsp + 0x3820], rbp
mov rax, qword [0x140074c00]
xor rax, rsp
mov qword [rsp + 0x37e0], rax
mov rbp, rcx
mov dword [rsp + 0x38], 8
mov dword [rsp + 0x3c], 0xff
lea rcx, [rsp + 0x38]
call qword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov rcx, rbp
call fcn.14002265c
xor ecx, ecx
call fcn.140024268
lea rdx, str.Local_AppWizard_Generated_Applications
mov rcx, rbp
call fcn.140024a3c
lea rdi, [0x140060dbc]
mov rdx, qword [0x1400b5ad0]
mov rsi, rdx
mov ecx, 1
repe cmpsw word [rsi], word [rdi]
jne 0x14000adb7
lea rcx, str.Not_allow_user_call_manual
call fcn.140005be0
xor eax, eax
jmp 0x14000b26e
lea rcx, str.The__s_called_status_monitor
call fcn.140005be0
mov edx, 0x104
lea rcx, [0x14007b5f0]
mov rdi, qword [0x1400b5ad0]
sub rdi, rcx
nop dword [rax]
lea rax, [rdx + 0x7ffffefa]
test rax, rax
je 0x14000ae04
movzx eax, word [rdi + rcx]
test ax, ax
je 0x14000ae04
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x14000ade0
jmp 0x14000ae09
test rdx, rdx
jne 0x14000ae0d
sub rcx, 2
xor r12d, r12d
mov word [rcx], r12w
mov word [rsp + 0x31b0], r12w
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x31b2]
call fcn.14003ea70
mov word [rsp + 0x35d0], r12w
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x35d2]
call fcn.14003ea70
lea r8, [rsp + 0x35d0]
lea rdx, str.Registry
lea rcx, str.Printer
call fcn.140008550
lea rdx, [rsp + 0x35d0]
lea rcx, [rsp + 0x31b0]
call fcn.140004e80
lea rdx, [rsp + 0x31b0]
lea rcx, str.GetRCDllFilename::RCFilename_is__s
call fcn.140005be0
lea rcx, [rsp + 0x31b0]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rdi, rax
mov qword [0x14007b5e8], rax
test rax, rax
je 0x14000b1d8
call fcn.140019784
mov qword [rax + 0x18], rdi
mov edx, 0x402
lea r8d, [r12 + 1]
mov rcx, rbp
call fcn.14000b2a0
call fcn.140015e30
mov rdx, rax
mov ecx, r12d
test rax, rax
setne cl
test ecx, ecx
jne 0x14000aef0
mov ecx, 0x80004005
call fcn.140003b20
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
lea rsi, [rax + 0x18]
mov qword [rsp + 0x40], rsi
mov ecx, 0x45a
call fcn.140016780
test rax, rax
je 0x14000af29
mov r8d, 0x45a
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.1400039d0
mov rsi, qword [rsp + 0x40]
mov word [rsp + 0x2b90], r12w
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x2b92]
call fcn.14003ea70
mov word [rsp + 0x33c0], r12w
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x33c2]
call fcn.14003ea70
mov word [rsp + 0x2da0], r12w
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x2da2]
call fcn.14003ea70
lea rcx, [rsp + 0x2b90]
call fcn.140008340
lea rdx, [rsp + 0x2b90]
lea rcx, str.achPrefix___s
call fcn.140005be0
lea rcx, [rsp + 0x2b90]
call qword [sym.imp.USER32.dll_CharUpperW]
lea rdx, str.PCLDriver
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x2b90]
lea r8, str._s_s
mov edx, 0x104
lea rcx, [rsp + 0x33c0]
call fcn.14000aba0
lea r8, [rsp + 0x33c0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14000b02e
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rdx, [rsi - 0x18]
or rbx, 0xffffffffffffffff
lock xadd dword [rdx + 0x10], ebx
dec ebx
test ebx, ebx
jg 0x14000b027
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
xor eax, eax
jmp 0x14000b26e
lea r8, [rsp + 0x50]
lea rdx, str.32770
mov rcx, qword [0x14007b5e8]
call qword [sym.imp.USER32.dll_GetClassInfoW]
xor eax, eax
or rbx, 0xffffffffffffffff
mov rcx, rbx
lea rdi, [rsp + 0x2b90]
repne scasw ax, word [rdi]
not rcx
dec rcx
cmp ecx, 6
jle 0x14000b0c3
lea eax, [rcx - 6]
cdqe
mov ecx, 0x82
lea rdx, [rsp + 0x2da0]
add rax, rax
lea rdi, [rsp + 0x2da0]
sub rax, rdi
lea rdi, [rsp + rax + 0x2b90]
nop
lea rax, [rcx + 0x7fffff7c]
test rax, rax
je 0x14000b0b4
movzx eax, word [rdi + rdx]
test ax, ax
je 0x14000b0b4
mov word [rdx], ax
add rdx, 2
sub rcx, 1
jne 0x14000b090
jmp 0x14000b0b9
test rcx, rcx
jne 0x14000b0bd
sub rdx, 2
mov word [rdx], r12w
jmp 0x14000b114
mov ecx, 0x82
lea rdx, [rsp + 0x2da0]
lea rdi, [rsp + 0x2b90]
lea rax, [rsp + 0x2da0]
sub rdi, rax
lea rax, [rcx + 0x7fffff7c]
test rax, rax
je 0x14000b107
movzx eax, word [rdi + rdx]
test ax, ax
je 0x14000b107
mov word [rdx], ax
add rdx, 2
sub rcx, 1
jne 0x14000b0e3
jmp 0x14000b10c
test rcx, rcx
jne 0x14000b110
sub rdx, 2
mov word [rdx], r12w
lea r8, [0x140061440]
mov edx, 0x104
lea rcx, [rsp + 0x2da0]
call fcn.14000aae0
lea rdx, [rsp + 0x2da0]
mov qword [rsp + 0x90], rdx
lea rcx, [rsp + 0x50]
call fcn.140020824
mov dword [rsp + 0x30], 0x20
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x144]
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
call fcn.1400064e0
lea r8, [rbp + 0x144]
mov rdx, qword [rsp + 0x90]
lea rcx, str.SM_class_name_is__s__ComputerName_is__s
call fcn.140005be0
xor edx, edx
lea rcx, [rsp + 0xa0]
call fcn.14000b380
nop
lea rax, [rsp + 0xa0]
mov qword [rbp + 0x40], rax
lea rcx, [rsp + 0xa0]
call fcn.14000b630
nop
lea rcx, [rsp + 0xa0]
call fcn.14000b4e0
nop
lea rdx, [rsi - 0x18]
lock xadd dword [rdx + 0x10], ebx
dec ebx
test ebx, ebx
jg 0x14000b1d1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
xor eax, eax
jmp 0x14000b26e
mov word [rsp + 0x2fb0], r12w
xor edx, edx
mov r8d, 0x1fe
lea rcx, [rsp + 0x2fb2]
call fcn.14003ea70
lea rcx, str.GetRCDllFilename::Failed_to_load_RC_File
call fcn.140005be0
mov edx, pe_nt_image_headers64
lea rcx, [rsp + 0x2fb0]
lea rdi, str.Initialization_failed__please_re_start_the_printer_status_monitor.
lea rax, [rsp + 0x2fb0]
sub rdi, rax
lea rax, [rdx + 0x7ffffefe]
test rax, rax
je 0x14000b245
movzx eax, word [rdi + rcx]
test ax, ax
je 0x14000b245
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x14000b221
jmp 0x14000b24a
test rdx, rdx
jne 0x14000b24e
sub rcx, 2
mov word [rcx], r12w
xor r9d, r9d
lea r8, str.Status_Monitor
lea rdx, [rsp + 0x2fb0]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
mov rcx, qword [rsp + 0x37e0]
xor rcx, rsp
call fcn.14003d6d0
lea r11, [rsp + 0x37f0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret