Function at 0x14000b570
Capabilities:
Print debug messages

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x3d0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rsp + 0x428], rbx
mov rax, qword [0x14012ce40]
xor rax, rsp
mov qword [rsp + 0x3c0], rax
mov r15, r8
mov rdi, rdx
mov rsi, rcx
xor ebx, ebx
mov rax, qword [0x1401370f0]
test rax, rax
jne 0x14000b5e5
mov ecx, 0x310
call fcn.140084d88
mov qword [rsp + 0x58], rax
test rax, rax
je 0x14000b5db
mov rcx, rax
call fcn.140050830
jmp 0x14000b5de
mov rax, rbx
mov qword [0x1401370f0], rax
lea rdx, str.GetPrinterInfoNew__
mov rcx, rax
call fcn.140050c00
lea rcx, [rsp + 0x70]
call fcn.140006910
nop
mov r8, rdi
lea rdx, [rsp + 0x70]
mov rcx, rsi
call fcn.140008580
test eax, eax
jne 0x14000b646
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x14000b62f
mov rax, qword [rsp + 0xa8]
test rax, rax
je 0x14000b62f
call rax
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14000b63f
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
jmp 0x14000c05d
mov r14d, 1
mov dword [rsp + 0x330], ebx
xor edx, edx
mov r8d, MsiSetInternalUI
lea rcx, [rsp + 0x334]
call fcn.1400b57e0
mov qword [rsp + 0x280], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x278], rbx
mov byte [rsp + 0x268], 0
mov qword [rsp + 0x2d0], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x2c8], rbx
mov byte [rsp + 0x2b8], 0
mov qword [rsp + 0x320], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x318], rbx
mov byte [rsp + 0x308], 0
mov qword [rsp + 0x2f8], 7
mov qword [rsp + 0x2f0], rbx
mov word [rsp + 0x2e0], 0
xor r8d, r8d
lea edx, [r14 + 0x1c]
lea rcx, [rsp + 0x2d8]
call fcn.1400156c0
lea rcx, [rsp + 0x2e0]
mov rdx, qword [rsp + 0x2f8]
cmp rdx, 8
cmovae rcx, qword [rsp + 0x2e0]
add rdx, rdx
lea r9d, [r14 + 0x39]
lea r8, str._DevMgmt_ProductConfigDyn.xml
call fcn.1400b09f0
mov qword [rsp + 0x2f0], 0x1d
lea rax, [rsp + 0x2e0]
cmp qword [rsp + 0x2f8], 8
cmovae rax, qword [rsp + 0x2e0]
mov word [rax + 0x3a], 0
lea r8, [rsp + 0x2e0]
cmp qword [rsp + 0x2f8], 8
cmovae r8, qword [rsp + 0x2e0]
lea rdx, [rsp + 0x288]
lea rcx, [rsp + 0x70]
call fcn.140007120
nop
lea r13, [rsp + 0x290]
cmp qword [rsp + 0x2a8], 0x10
cmovae r13, qword [rsp + 0x290]
mov rbp, qword [rsp + 0x78]
mov r12, qword [rsp + 0x80]
test r12, r12
je 0x14000b9ca
mov rdi, qword [rsp + 0xf0]
test rdi, rdi
jne 0x14000b80d
test rbp, rbp
je 0x14000b7f3
lea rdx, str.GetPage
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
mov qword [rsp + 0xf0], rax
test rax, rax
jne 0x14000b80d
mov dword [rsp + 0x70], 0x7f
lea rcx, str.EWSIntf::get_page:_Function_not_found_in_DLL:_GetPage_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x14000b9ca
mov dword [rsp + 0x70], 6
lea rcx, str.EWSIntf::get_page:_Attempting_to_lookup_GetPage_with_no_DLL_handle_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x14000b9ca
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], 0x800
mov edx, 0x10000
lea rcx, [rsp + 0x30]
call fcn.140006850
mov rbx, qword [rsp + 0x30]
cmp al, 1
jne 0x14000b9b7
mov dword [rsp + 0x58], 0
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x20], eax
mov r9, rbx
lea r8, [rsp + 0x330]
mov rdx, r13
mov rcx, r12
call rdi
test eax, eax
je 0x14000b9b7
mov eax, dword [rsp + 0x58]
mov qword [rsp + 0x38], rax
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rbx
repne scasb al, byte [rdi]
not rcx
lea rdi, [rcx - 1]
lea rax, [rsp + 0x268]
mov r8, qword [rsp + 0x268]
mov rdx, qword [rsp + 0x280]
cmp rdx, 0x10
cmovae rax, r8
cmp rbx, rax
jb 0x14000b909
lea rcx, [rsp + 0x268]
cmp rdx, 0x10
cmovae rcx, r8
mov rax, qword [rsp + 0x278]
add rcx, rax
cmp rcx, rbx
jbe 0x14000b909
lea rax, [rsp + 0x268]
cmp rdx, 0x10
cmovae rax, r8
mov r8, rbx
sub r8, rax
mov r9, rdi
lea rdx, [rsp + 0x260]
lea rcx, [rsp + 0x260]
call fcn.140014b30
jmp 0x14000b9b7
cmp rdi, 0xfffffffffffffffe
jbe 0x14000b914
call fcn.1400d8c10
cmp qword [rsp + 0x280], rdi
jae 0x14000b938
mov r8, qword [rsp + 0x278]
mov rdx, rdi
lea rcx, [rsp + 0x260]
call fcn.140015290
jmp 0x14000b964
test rdi, rdi
jne 0x14000b964
mov qword [rsp + 0x278], rdi
lea rax, [rsp + 0x268]
cmp qword [rsp + 0x280], 0x10
cmovae rax, qword [rsp + 0x268]
mov byte [rax], dil
jmp 0x14000b9b7
test rdi, rdi
je 0x14000b9b7
lea rcx, [rsp + 0x268]
mov rdx, qword [rsp + 0x280]
cmp rdx, 0x10
cmovae rcx, qword [rsp + 0x268]
mov r9, rdi
mov r8, rbx
call fcn.1400b09f0
mov qword [rsp + 0x278], rdi
lea rax, [rsp + 0x268]
cmp qword [rsp + 0x280], 0x10
cmovae rax, qword [rsp + 0x268]
mov byte [rax + rdi], 0
test rbx, rbx
je 0x14000b9c8
mov rcx, rbx
call fcn.140084dcc
xor ebx, ebx
jmp 0x14000b9ca
xor ebx, ebx
cmp qword [rsp + 0x2a8], 0x10
jb 0x14000b9e2
mov rcx, qword [rsp + 0x290]
call fcn.140084dcc
cmp qword [rsp + 0x278], 0
jne 0x14000b9f5
mov r14d, ebx
jmp 0x14000bf63
xor edx, edx
mov r8d, 0x240
mov rcx, r15
call fcn.1400b57e0
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x50], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x48], rbx
mov byte [rsp + 0x38], 0
mov r9d, reloc.WS2_32.dll_ntohs
lea r8, str.dd:MakeAndModel
mov rdx, r9
lea rcx, [rsp + 0x38]
call fcn.1400b09f0
mov qword [rsp + 0x48], reloc.WS2_32.dll_ntohs
lea rax, [rsp + 0x38]
cmp qword [rsp + 0x50], 0x10
cmovae rax, qword [rsp + 0x38]
mov byte [rax + 0xf], 0
mov qword [rsp + 0x2a8], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x2a0], rbx
mov byte [rsp + 0x290], 0
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x260]
lea rcx, [rsp + 0x288]
call fcn.140014b30
nop
lea rax, [rsp + 0x2b0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x288]
mov rcx, rsi
call fcn.140007380
lea rdi, [rsp + 0x2b8]
cmp qword [rsp + 0x2d0], 0x10
cmovae rdi, qword [rsp + 0x2b8]
xor edx, edx
mov r8d, 0x400
lea r13, [0x140137ec0]
mov rcx, r13
call fcn.1400b57e0
mov dword [rsp + 0x28], 0x400
mov qword [rsp + 0x20], r13
or r9d, 0xffffffff
mov r8, rdi
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov r8, r13
mov edx, 0x80
mov rcx, r15
call fcn.1400b1b70
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x50], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x48], rbx
mov byte [rsp + 0x38], 0
xor r8d, r8d
lea edx, [r8 + 0x10]
lea rcx, [rsp + 0x30]
call fcn.140015290
lea rcx, [rsp + 0x38]
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
cmovae rcx, qword [rsp + 0x38]
mov r9d, reloc.OLEAUT32.dll_SafeArrayGetDim
lea r8, str.dd:ProductNumber
call fcn.1400b09f0
mov qword [rsp + 0x48], reloc.OLEAUT32.dll_SafeArrayGetDim
lea rax, [rsp + 0x38]
cmp qword [rsp + 0x50], 0x10
cmovae rax, qword [rsp + 0x38]
mov byte [rax + 0x10], 0
mov qword [rsp + 0x2a8], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x2a0], rbx
mov byte [rsp + 0x290], 0
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x260]
lea rcx, [rsp + 0x288]
call fcn.140014b30
nop
lea rax, [rsp + 0x2b0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x288]
mov rcx, rsi
call fcn.140007380
lea rdi, [rsp + 0x2b8]
cmp qword [rsp + 0x2d0], 0x10
cmovae rdi, qword [rsp + 0x2b8]
xor edx, edx
mov r8d, 0x400
mov rcx, r13
call fcn.1400b57e0
mov dword [rsp + 0x28], 0x400
mov qword [rsp + 0x20], r13
or r9d, 0xffffffff
mov r8, rdi
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea rcx, [r15 + 0x150]
mov r8, r13
mov edx, 0x28
call fcn.1400b1b70
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x50], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x48], rbx
mov byte [rsp + 0x38], 0
mov r9d, reloc.WS2_32.dll_ntohs
lea r8, str.dd:SerialNumber
mov rdx, r9
lea rcx, [rsp + 0x38]
call fcn.1400b09f0
mov qword [rsp + 0x48], reloc.WS2_32.dll_ntohs
lea rax, [rsp + 0x38]
cmp qword [rsp + 0x50], 0x10
cmovae rax, qword [rsp + 0x38]
mov byte [rax + 0xf], 0
mov qword [rsp + 0x2a8], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x2a0], rbx
mov byte [rsp + 0x290], 0
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x260]
lea rcx, [rsp + 0x288]
call fcn.140014b30
nop
lea rax, [rsp + 0x2b0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x288]
mov rcx, rsi
call fcn.140007380
lea rdi, [rsp + 0x2b8]
cmp qword [rsp + 0x2d0], 0x10
cmovae rdi, qword [rsp + 0x2b8]
xor edx, edx
mov r8d, 0x400
mov rcx, r13
call fcn.1400b57e0
mov dword [rsp + 0x28], 0x400
mov qword [rsp + 0x20], r13
or r9d, 0xffffffff
mov r8, rdi
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea rcx, [r15 + 0x100]
mov r8, r13
mov edx, 0x28
call fcn.1400b1b70
mov edi, ebx
lea rax, [rsp + 0x30]
mov qword [rsp + 0x58], rax
nop
nop
nop
mov qword [rsp + 0x50], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x48], rbx
mov byte [rsp + 0x38], 0
xor r8d, r8d
lea edx, [r8 + 0x10]
lea rcx, [rsp + 0x30]
call fcn.140015290
lea rcx, [rsp + 0x38]
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
cmovae rcx, qword [rsp + 0x38]
mov r9d, reloc.OLEAUT32.dll_SafeArrayGetDim
lea r8, str.dd:BoardTypeEnum
call fcn.1400b09f0
mov qword [rsp + 0x48], reloc.OLEAUT32.dll_SafeArrayGetDim
lea rax, [rsp + 0x38]
cmp qword [rsp + 0x50], 0x10
cmovae rax, qword [rsp + 0x38]
mov byte [rax + 0x10], 0
mov qword [rsp + 0x2a8], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x2a0], rbx
mov byte [rsp + 0x290], 0
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x260]
lea rcx, [rsp + 0x288]
call fcn.140014b30
nop
lea rax, [rsp + 0x300]
mov qword [rsp + 0x20], rax
mov r9d, edi
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x288]
mov rcx, rsi
call fcn.140007380
lea rcx, [rsp + 0x308]
cmp qword [rsp + 0x320], 0x10
cmovae rcx, qword [rsp + 0x308]
lea rdx, str.system
call fcn.1400b1a50
test rax, rax
jne 0x14000be6d
add edi, 1
cmp edi, 0xa
jb 0x14000bd70
lea rax, [rsp + 0x288]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x2a8], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x2a0], rbx
mov byte [rsp + 0x290], 0
mov r8d, SafeArrayGetDim
lea rdx, str.dd:ModelNumber
lea rcx, [rsp + 0x288]
call fcn.140014f10
nop
mov qword [rsp + 0x50], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x48], rbx
mov byte [rsp + 0x38], 0
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x260]
lea rcx, [rsp + 0x30]
call fcn.140014b30
nop
lea rax, [rsp + 0x2b0]
mov qword [rsp + 0x20], rax
mov r9d, edi
lea r8, [rsp + 0x288]
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.140007380
lea rdi, [rsp + 0x2b8]
cmp qword [rsp + 0x2d0], 0x10
cmovae rdi, qword [rsp + 0x2b8]
xor edx, edx
mov r8d, 0x400
mov rcx, r13
call fcn.1400b57e0
mov dword [rsp + 0x28], 0x400
mov qword [rsp + 0x20], r13
or r9d, 0xffffffff
mov r8, rdi
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea rcx, [r15 + 0x1f0]
mov r8, r13
mov edx, 0x28
call fcn.1400b1b70
nop
cmp qword [rsp + 0x2f8], 8
jb 0x14000bf7b
mov rcx, qword [rsp + 0x2e0]
call fcn.140084dcc
mov qword [rsp + 0x2f8], 7
mov qword [rsp + 0x2f0], rbx
mov word [rsp + 0x2e0], 0
cmp qword [rsp + 0x320], 0x10
jb 0x14000bfb1
mov rcx, qword [rsp + 0x308]
call fcn.140084dcc
mov qword [rsp + 0x320], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x318], rbx
mov byte [rsp + 0x308], 0
cmp qword [rsp + 0x2d0], 0x10
jb 0x14000bfe5
mov rcx, qword [rsp + 0x2b8]
call fcn.140084dcc
mov qword [rsp + 0x2d0], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x2c8], rbx
mov byte [rsp + 0x2b8], 0
cmp qword [rsp + 0x280], 0x10
jb 0x14000c019
mov rcx, qword [rsp + 0x268]
call fcn.140084dcc
mov qword [rsp + 0x280], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x278], rbx
mov byte [rsp + 0x268], 0
test r12, r12
je 0x14000c04c
mov rdx, qword [rsp + 0xa8]
test rdx, rdx
je 0x14000c04c
mov rcx, r12
call rdx
test rbp, rbp
je 0x14000c05a
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, r14d
mov rcx, qword [rsp + 0x3c0]
xor rcx, rsp
call fcn.1400b09d0
mov rbx, qword [rsp + 0x428]
add rsp, 0x3d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret