Function at 0x1400929b0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x2b0
mov rax, qword [0x1402a76c0]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
mov rbp, r8
mov r15, rdx
lea rdx, str.OperateFile::GetPrinterDriverFolder
lea rcx, [rsp + 0x40]
call fcn.14001abe0
nop
lea r12, [0x1402a8360]
lea r14, [0x1402bbdb0]
mov rcx, qword [0x1402a8360]
cmp rcx, r12
je 0x140092a7a
test byte [rcx + 0x1c], 1
je 0x140092a42
mov r9, r14
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, socket
lea r8, str.eXK3
mov rcx, qword [rcx + 0x10]
call fcn.140001ad0
mov rcx, qword [0x1402a8360]
cmp rcx, r12
je 0x140092a7a
test byte [rcx + 0x1c], 1
je 0x140092a7a
mov r9, r14
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, reloc.WSOCK32.dll_socket
mov qword [rsp + 0x20], rbp
lea r8, str.eXK3
mov rcx, qword [rcx + 0x10]
call fcn.140006c90
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x90]
call fcn.1401e7e40
xor edi, edi
mov dword [rsp + 0x30], edi
mov ebx, edi
lea rcx, [rsp + 0x38]
call fcn.140099a10
nop
lea rdx, [0x140251f78]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x140092ac8
call fcn.14018d2c0
call fcn.14018ca40
test eax, eax
je 0x140092bac
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x208
lea r9, [rsp + 0x90]
mov r8d, 1
mov rdx, rbp
xor ecx, ecx
call qword [sym.imp.WINSPOOL.DRV_GetPrinterDriverDirectoryW]
mov esi, eax
test eax, eax
jne 0x140092b51
nop dword [rax]
cmp ebx, 0xa
jge 0x140092c5c
inc ebx
lea rdx, str.SPOOLER
lea rcx, [rsp + 0x38]
call fcn.14009e630
mov dword [rsp + 0x30], edi
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x208
lea r9, [rsp + 0x90]
mov r8d, 1
mov rdx, rbp
xor ecx, ecx
call qword [sym.imp.WINSPOOL.DRV_GetPrinterDriverDirectoryW]
mov esi, eax
test eax, eax
je 0x140092b00
lea rdx, [rsp + 0x90]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov byte [rsp + 0x48], 1
mov rcx, qword [0x1402a8360]
cmp rcx, r12
je 0x140092baa
test byte [rcx + 0x1c], 1
je 0x140092baa
mov r9, r14
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, 0x19
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], r15
lea r8, str.eXK3
mov rcx, qword [rcx + 0x10]
call fcn.140047db0
mov edi, esi
lea rcx, [rsp + 0x38]
call fcn.140099b80
nop
lea rax, vtable.WppTrace.0
mov qword [rsp + 0x40], rax
cmp byte [rsp + 0x48], 0
jne 0x140092c1a
mov rcx, qword [0x1402a8360]
cmp rcx, r12
je 0x140092c1a
test byte [rcx + 0x1c], 1
je 0x140092c1a
lea r8, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae r8, qword [rsp + 0x50]
cmp qword [0x1402bbdc8], 8
cmovae r14, qword [0x1402bbdb0]
mov edx, 0xa
mov qword [rsp + 0x20], r8
mov r9, r14
lea r8, [0x140252818]
mov rcx, qword [rcx + 0x10]
call fcn.140006c90
lea rcx, [rsp + 0x70]
call fcn.1400048a0
lea rcx, [rsp + 0x50]
call fcn.1400048a0
mov eax, edi
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.1401e2900
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
mov rax, qword [0x1402a8360]
cmp rax, r12
je 0x140092caf
test byte [rax + 0x1c], 2
je 0x140092caf
mov rbx, r14
cmp qword [0x1402bbdc8], 8
cmovae rbx, qword [0x1402bbdb0]
lea rcx, [rsp + 0x40]
call fcn.14001b0b0
mov edx, 0x18
mov qword [rsp + 0x20], rax
mov r9, rbx
lea r8, str.eXK3
mov rcx, qword [0x1402a8360]
mov rcx, qword [rcx + 0x10]
call fcn.140006c90
mov edx, 0x104
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
jmp 0x140092b62