Function at 0x1400030d0
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.140001150
nop
mov rax, qword [0x1400ec150]
test rax, rax
jne 0x14000313f
mov ecx, 0x310
call fcn.140051b7c
mov qword [rsp + 0x278], rax
test rax, rax
je 0x140003136
mov rcx, rax
call fcn.140023810
jmp 0x140003138
xor eax, eax
mov qword [0x1400ec150], rax
mov r8, rdi
lea rdx, str.WaitForWifiScan__s_
mov rcx, rax
call fcn.140023be0
mov r8, rdi
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.1400017c0
test eax, eax
jne 0x140003192
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14000317b
mov rax, qword [rsp + 0x78]
test rax, rax
je 0x14000317b
call rax
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14000318b
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
jmp 0x1400034ad
mov rax, qword [0x1400ec150]
test rax, rax
jne 0x1400031c8
mov ecx, 0x310
call fcn.140051b7c
mov qword [rsp + 0x278], rax
test rax, rax
je 0x1400031bf
mov rcx, rax
call fcn.140023810
jmp 0x1400031c1
xor eax, eax
mov qword [0x1400ec150], rax
lea rdx, str.Waiting_for_printer_wifi_scan_results...
mov rcx, rax
call fcn.140023be0
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 0x14000328b
test rsi, rsi
jne 0x140003257
test rbp, rbp
je 0x140003240
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 0x140003257
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 0x14000328b
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 0x14000328b
mov dword [rsp + 0x278], 0
lea rdx, [rsp + 0x278]
mov rcx, r13
call rsi
test eax, eax
je 0x14000328b
cmp dword [rsp + 0x278], 1
sete r12b
mov r15b, 1
test r12b, r12b
je 0x14000344a
mov rbx, qword [0x1400ec150]
test rbx, rbx
jne 0x140003344
mov ecx, 0x310
call fcn.140051b7c
mov rbx, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14000333b
call fcn.1400588fc
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
je 0x140003473
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, [0x1400bb640]
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, [0x1400bb640]
mov rcx, rbx
call fcn.140010e40
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, [0x1400bb648]
mov edx, 0x50
call fcn.14007dab0
nop
jmp 0x14000333d
xor ebx, ebx
mov qword [0x1400ec150], rbx
mov r8d, r14d
lea rdx, str.Waiting_for_printer_wifi_scan_results_iteration__d
mov rcx, rbx
call fcn.140023be0
mov rbx, qword [0x1400ec150]
test rbx, rbx
jne 0x14000340f
mov ecx, 0x310
call fcn.140051b7c
mov rbx, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140003406
call fcn.1400588fc
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
je 0x14000347e
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, [0x1400bb640]
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, [0x1400bb640]
mov rcx, rbx
call fcn.140010e40
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, [0x1400bb648]
mov edx, 0x50
call fcn.14007dab0
nop
jmp 0x140003408
xor ebx, ebx
mov qword [0x1400ec150], 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.140023be0
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
add r14d, 1
cmp r14d, 0xf
jae 0x140003489
jmp 0x1400031f0
test r13, r13
je 0x14000345e
mov rax, qword [rsp + 0x78]
test rax, rax
je 0x14000345e
mov rcx, r13
call rax
test rbp, rbp
je 0x14000346c
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 1
jmp 0x1400034ad
mov ecx, 0x80004005
call fcn.140011180
nop
mov ecx, 0x80004005
call fcn.140011180
nop
test r13, r13
je 0x14000349d
mov rax, qword [rsp + 0x78]
test rax, rax
je 0x14000349d
mov rcx, r13
call rax
test rbp, rbp
je 0x1400034ab
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