Function at 0x10184b4
Capabilities:
Persist via run registry key

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rsi
push r12
push r13
push r14
push r15
sub rsp, 0x128
mov qword [rsp + 0xf0], 0xfffffffffffffffe
xor edx, edx
lea rcx, [0x01009c80]
call fcn.0100fdd0
and dword [rsp + 0x170], 0
and dword [rsp + 0x178], 0
lea rcx, [rsp + 0xf8]
call fcn.010106ac
nop
lea rbx, [0x010033f0]
mov rdx, rbx
lea rcx, [rsp + 0xc8]
call fcn.0100da30
nop
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.0100da30
nop
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.0100da30
nop
mov rdx, rbx
lea rcx, [rsp + 0x48]
call fcn.0100da30
nop
mov rdx, rbx
lea rcx, [rsp + 0x90]
call fcn.0100da30
nop
lea rax, [rsp + 0x178]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x170]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 1
lea r9, [rsp + 0x168]
mov ebx, 2
mov r8d, ebx
xor edx, edx
lea r12d, [rbx + 4]
mov ecx, r12d
call sub.WINSPOOL.DRV_EnumPrintersW
cmp dword [rsp + 0x170], 0
je 0x1018a5c
mov ecx, dword [rsp + 0x170]
call fcn.010270b8
mov rsi, rax
lea rax, [rsp + 0x178]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x170]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x170]
mov dword [rsp + 0x20], eax
mov r9, rsi
mov r8d, ebx
xor edx, edx
mov ecx, r12d
call sub.WINSPOOL.DRV_EnumPrintersW
xor r13d, r13d
xor r15d, r15d
cmp dword [rsp + 0x178], r13d
jbe 0x1018a4e
mov rax, r15
imul rax, rax, 0x88
mov r14, qword [rax + rsi + 8]
mov qword [rsp + 0x98], r14
mov rcx, qword [rax + rsi + 0x20]
mov qword [rsp + 0xd0], rcx
mov rbx, qword [rax + rsi + 0x18]
mov rdx, rcx
lea rcx, [0x01009ce0]
call fcn.0100fdd0
mov rdx, r14
lea rcx, [0x01009d00]
call fcn.0100fdd0
mov rdx, rbx
lea rcx, [0x01009d20]
call fcn.0100fdd0
lea rcx, [rsp + 0x58]
call fcn.0100d95c
xor r12d, r12d
lea rdx, [0x01007a70]
lea rcx, [rsp + 0x48]
call fcn.0100dc00
mov rdx, qword [rsp + 0x48]
lea rcx, [0x01009d40]
call fcn.0100fdd0
mov dword [rsp + 0x28], 0x20019
and dword [rsp + 0x20], r12d
xor r9d, r9d
mov r8, qword [rsp + 0x48]
mov rdx, 0xffffffff80000001
lea rcx, [rsp + 0xa8]
call fcn.0101f9e4
nop
cmp dword [rsp + 0xb8], r12d
je 0x1018921
xor r14d, r14d
mov rax, qword [0x01043880]
mov qword [rsp + 0x40], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0xa8]
call fcn.0101fbb8
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.0100db8c
lea rcx, [rsp + 0x68]
call fcn.0100d9e0
mov r11, qword [rsp + 0x40]
cmp qword [r11 - 0x10], r14
je 0x10188f0
mov rax, qword [0x01043880]
mov qword [rsp + 0x50], rax
mov r9, r11
lea r8, [0x01007a70]
lea rdx, [0x01007df8]
lea rcx, [rsp + 0x50]
call fcn.0100e6e8
mov rdx, qword [rsp + 0x50]
lea rcx, [0x01009d88]
call fcn.0100fdd0
mov dword [rsp + 0x28], 0x20019
and dword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rsp + 0x50]
mov rdx, 0xffffffff80000001
lea rcx, [rsp + 0x78]
call fcn.0101f9e4
nop
cmp dword [rsp + 0x88], 0
je 0x1018876
lea rdx, [0x01003570]
lea rcx, [rsp + 0xa0]
call fcn.0100da98
nop
mov dword [rsp + 0x20], 0x100
lea r9, [rsp + 0xa0]
lea r8, [0x01007e78]
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0x78]
call fcn.0101fe5c
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.0100db8c
lea rcx, [rsp + 0xc0]
call fcn.0100d9e0
nop
lea rcx, [rsp + 0xa0]
call fcn.0100d9e0
mov rbx, qword [rsp + 0x58]
mov rdx, rbx
lea rcx, [0x01009db0]
call fcn.0100fdd0
cmp qword [rbx - 0x10], 0
je 0x101886b
mov rdx, qword [rsp + 0x98]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x101886b
cmp dword [rsp + 0x88], eax
jne 0x1018816
xor r12d, r12d
jmp 0x101882a
lea rdx, [0x01009de0]
lea rcx, [rsp + 0x78]
call fcn.0101ffd0
mov r12d, eax
mov edx, r12d
lea rcx, [0x01009e00]
call fcn.0100fdd0
nop
lea rax, [0x0100b9c0]
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0x78]
call fcn.0101fb88
nop
lea rcx, [rsp + 0x50]
call fcn.0100d9e0
nop
lea rcx, [rsp + 0x40]
call fcn.0100d9e0
jmp 0x101890a
lea rcx, [rsp + 0x78]
call fcn.0101fb88
nop
lea rax, [0x0100b9c0]
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0x78]
call fcn.0101fb88
nop
lea rcx, [rsp + 0x50]
call fcn.0100d9e0
nop
lea rcx, [rsp + 0x40]
call fcn.0100d9e0
inc r14d
mov rax, qword [0x01043880]
mov qword [rsp + 0x40], rax
xor r9d, r9d
mov r8d, r14d
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0xa8]
call fcn.0101fbb8
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.0100db8c
lea rcx, [rsp + 0x68]
call fcn.0100d9e0
mov r11, qword [rsp + 0x40]
cmp qword [r11 - 0x10], 0
jne 0x1018705
mov edx, r14d
lea rcx, [0x01009d68]
call fcn.0100fdd0
nop
lea rcx, [rsp + 0x40]
call fcn.0100d9e0
lea rcx, [rsp + 0xa8]
call fcn.0101fb88
mov r14, qword [rsp + 0x98]
jmp 0x1018935
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [0x01009e20]
call fcn.0100fdd0
cmp r12d, 1
jne 0x1018a17
lea rcx, [0x01009e58]
call fcn.0100fdd0
lea rdx, [0x01007fd0]
lea rcx, [rsp + 0x48]
call fcn.0100dc00
mov r9, r14
mov r8, qword [rsp + 0x48]
mov rdx, 0xffffffff80000001
mov r12, qword [rsp + 0x160]
mov rcx, r12
call fcn.01017118
mov r9, qword [rsp + 0xd0]
lea r8, [0x01008880]
lea rdx, [0x01007df8]
lea rcx, [rsp + 0x90]
call fcn.0100e6e8
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0xe0]
call fcn.0100d7ec
mov rdx, rax
mov rcx, r12
call fcn.0101806c
test eax, eax
je 0x1018a17
lea rdx, [rsp + 0x70]
mov rcx, r12
call fcn.01018464
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.0100db8c
lea rcx, [rsp + 0x70]
call fcn.0100d9e0
mov rdx, r14
lea rcx, [rsp + 0xe8]
call fcn.0100da30
mov rbx, rax
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0xd8]
call fcn.0100d7ec
mov r8, rbx
mov rdx, rax
mov rcx, r12
call fcn.0101ec78
nop
lea rax, [0x0100b9c0]
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0xa8]
call fcn.0101fb88
inc r13d
inc r15
cmp r13d, dword [rsp + 0x178]
jb 0x10185fb
jmp 0x1018a4e
test rsi, rsi
je 0x1018a5c
mov rcx, rsi
call fcn.01027054
nop
lea rcx, [rsp + 0x90]
call fcn.0100d9e0
nop
lea rcx, [rsp + 0x48]
call fcn.0100d9e0
nop
lea rcx, [rsp + 0x58]
call fcn.0100d9e0
nop
lea rcx, [rsp + 0x60]
call fcn.0100d9e0
nop
lea rcx, [rsp + 0xc8]
call fcn.0100d9e0
nop
lea rcx, [rsp + 0xf8]
call fcn.01010740
mov eax, 1
add rsp, 0x128
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rbx
ret