Function at 0x14000cde0
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x230
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov rdi, rdx
mov rbx, rcx
lea rcx, [rsp + 0x40]
call fcn.140006910
nop
mov rax, qword [0x1401370f0]
test rax, rax
jne 0x14000ce4f
mov ecx, 0x310
call fcn.140084d88
mov qword [rsp + 0x278], rax
test rax, rax
je 0x14000ce46
mov rcx, rax
call fcn.140050830
jmp 0x14000ce48
xor eax, eax
mov qword [0x1401370f0], rax
mov r8, rdi
lea rdx, str.WaitForWifiScanOld__s_
mov rcx, rax
call fcn.140050c00
mov r8, rdi
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.140008580
test eax, eax
jne 0x14000cea2
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14000ce8b
mov rax, qword [rsp + 0x78]
test rax, rax
je 0x14000ce8b
call rax
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14000ce9b
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
jmp 0x14000d1bd
mov rax, qword [0x1401370f0]
test rax, rax
jne 0x14000ced8
mov ecx, 0x310
call fcn.140084d88
mov qword [rsp + 0x278], rax
test rax, rax
je 0x14000cecf
mov rcx, rax
call fcn.140050830
jmp 0x14000ced1
xor eax, eax
mov qword [0x1401370f0], rax
lea rdx, str.Waiting_for_printer_wifi_scan_results...
mov rcx, rax
call fcn.140050c00
xor r14d, r14d
mov r13, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x100]
nop
xor r15b, r15b
xor r12b, r12b
test r13, r13
je 0x14000cf9b
test rsi, rsi
jne 0x14000cf67
test rbp, rbp
je 0x14000cf50
lea rdx, str.IsWifiScanning
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
mov qword [rsp + 0x100], rax
test rax, rax
jne 0x14000cf67
mov dword [rsp + 0x40], 0x7f
lea rcx, str.EWSIntf::is_scanning:_Function_not_found_in_DLL:_IsWifiScanning_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x14000cf9b
mov dword [rsp + 0x40], 6
lea rcx, str.EWSIntf::is_scanning:_Attempting_to_lookup_IsWifiScanning_with_no_DLL_handle_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x14000cf9b
mov dword [rsp + 0x278], 0
lea rdx, [rsp + 0x278]
mov rcx, r13
call rsi
test eax, eax
je 0x14000cf9b
cmp dword [rsp + 0x278], 1
sete r12b
mov r15b, 1
test r12b, r12b
je 0x14000d15a
mov rbx, qword [0x1401370f0]
test rbx, rbx
jne 0x14000d054
mov ecx, 0x310
call fcn.140084d88
mov rbx, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14000d04b
call fcn.140087bd0
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
je 0x14000d183
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
add rax, 0x18
mov qword [rbx], rax
mov word [rbx + 0x64], 0
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [0x1400f5b5c]
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, [0x1400f5b5c]
mov rcx, rbx
call fcn.140006070
lea rcx, [rbx + 8]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rcx, [rbx + 0x30]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rcx, [rbx + 0x26c]
mov word [rcx], 0
lea r8, [0x1400f6478]
mov edx, 0x50
call fcn.1400b1b70
nop
jmp 0x14000d04d
xor ebx, ebx
mov qword [0x1401370f0], rbx
mov r8d, r14d
lea rdx, str.Waiting_for_printer_wifi_scan_results_iteration__d
mov rcx, rbx
call fcn.140050c00
mov rbx, qword [0x1401370f0]
test rbx, rbx
jne 0x14000d11f
mov ecx, 0x310
call fcn.140084d88
mov rbx, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14000d116
call fcn.140087bd0
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
je 0x14000d18e
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
add rax, 0x18
mov qword [rbx], rax
mov word [rbx + 0x64], 0
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [0x1400f5b5c]
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, [0x1400f5b5c]
mov rcx, rbx
call fcn.140006070
lea rcx, [rbx + 8]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rcx, [rbx + 0x30]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rcx, [rbx + 0x26c]
mov word [rcx], 0
lea r8, [0x1400f6478]
mov edx, 0x50
call fcn.1400b1b70
nop
jmp 0x14000d118
xor ebx, ebx
mov qword [0x1401370f0], rbx
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx r9d, r12b
movzx r8d, r15b
mov dword [rsp + 0x20], eax
lea rdx, str.____brv_d__scanning_d__gle_d
mov rcx, rbx
call fcn.140050c00
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
add r14d, 1
cmp r14d, 0xf
jae 0x14000d199
jmp 0x14000cf00
test r13, r13
je 0x14000d16e
mov rax, qword [rsp + 0x78]
test rax, rax
je 0x14000d16e
mov rcx, r13
call rax
test rbp, rbp
je 0x14000d17c
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 1
jmp 0x14000d1bd
mov ecx, 0x80004005
call fcn.140006300
nop
mov ecx, 0x80004005
call fcn.140006300
nop
test r13, r13
je 0x14000d1ad
mov rax, qword [rsp + 0x78]
test rax, rax
je 0x14000d1ad
mov rcx, r13
call rax
test rbp, rbp
je 0x14000d1bb
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
lea r11, [rsp + 0x230]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret