Function at 0x14000d2c0
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x240
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
lea rcx, [rsp + 0x50]
call fcn.140006910
nop
mov rax, qword [0x1401370f0]
test rax, rax
jne 0x14000d326
mov ecx, 0x310
call fcn.140084d88
mov qword [rsp + 0x260], rax
test rax, rax
je 0x14000d31d
mov rcx, rax
call fcn.140050830
jmp 0x14000d31f
xor eax, eax
mov qword [0x1401370f0], rax
lea rcx, str._null_
mov r9, rsi
test rsi, rsi
cmove r9, rcx
mov r8, rdi
lea rdx, str.StartWPSOld__s___s_
mov rcx, rax
call fcn.140050c00
mov r8, rdi
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.140008580
test eax, eax
jne 0x14000d38d
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14000d376
mov rax, qword [rsp + 0x88]
test rax, rax
je 0x14000d376
call rax
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14000d386
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
jmp 0x14000d57e
test rsi, rsi
jne 0x14000d402
mov rdi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
test rbx, rbx
je 0x14000d3f9
mov rax, qword [rsp + 0x130]
test rax, rax
jne 0x14000d3ee
test rdi, rdi
je 0x14000d3df
lea rdx, str.RunWPS
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x130], rax
test rax, rax
jne 0x14000d3ee
lea rcx, str.EWSIntf::run_WPS:_Function_not_found_in_DLL:_RunWPS_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x14000d3f9
lea rcx, str.EWSIntf::run_WPS:_Attempting_to_lookup_RunWPS_with_no_DLL_handle_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x14000d3f9
mov rcx, rbx
call rax
test eax, eax
setne sil
movzx esi, sil
jmp 0x14000d557
mov qword [rsp + 0x40], 7
xor r8d, r8d
mov qword [rsp + 0x38], r8
mov word [rsp + 0x28], r8w
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rsi
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov rbx, rcx
movabs rax, 0x7ffffffffffffffe
cmp rcx, rax
jbe 0x14000d448
call fcn.1400d8c10
mov r8, qword [rsp + 0x38]
cmp qword [rsp + 0x40], rbx
jae 0x14000d45e
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.1400156c0
jmp 0x14000d47e
test rbx, rbx
jne 0x14000d47e
mov qword [rsp + 0x38], rbx
lea rax, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rax, qword [rsp + 0x28]
mov word [rax], bx
jmp 0x14000d4c5
test rbx, rbx
je 0x14000d4c5
lea rcx, [rsp + 0x28]
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
cmovae rcx, qword [rsp + 0x28]
lea rdi, [rbx + rbx]
add rdx, rdx
mov r9, rdi
mov r8, rsi
call fcn.1400b09f0
mov qword [rsp + 0x38], rbx
lea rax, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rax, qword [rsp + 0x28]
mov word [rdi + rax], 0
xor sil, sil
mov rdi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
test rbx, rbx
je 0x14000d540
mov rax, qword [rsp + 0x138]
test rax, rax
jne 0x14000d524
test rdi, rdi
je 0x14000d515
lea rdx, str.RunWPSSSIDW
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x138], rax
test rax, rax
jne 0x14000d524
lea rcx, str.EWSIntf::run_WPS:_Function_not_found_in_DLL:_RunWPSSSIDW_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x14000d540
lea rcx, str.EWSIntf::run_WPS:_Attempting_to_lookup_RunWPSSSIDW_with_no_DLL_handle_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x14000d540
lea rdx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rdx, qword [rsp + 0x28]
mov rcx, rbx
call rax
test eax, eax
setne sil
movzx esi, sil
cmp qword [rsp + 0x40], 8
jb 0x14000d557
mov rcx, qword [rsp + 0x28]
call fcn.140084dcc
nop
test rbx, rbx
je 0x14000d56e
mov rax, qword [rsp + 0x88]
test rax, rax
je 0x14000d56e
mov rcx, rbx
call rax
test rdi, rdi
je 0x14000d57c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, esi
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret