Function at 0x14000dde0
Capabilities:
Print debug messages

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x220
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x240], rbx
mov rbx, rdx
mov rdi, rcx
lea rcx, [rsp + 0x30]
call fcn.140006910
nop
mov rax, qword [0x1401370f0]
test rax, rax
jne 0x14000de43
mov ecx, 0x310
call fcn.140084d88
mov qword [rsp + 0x258], rax
test rax, rax
je 0x14000de3a
mov rcx, rax
call fcn.140050830
jmp 0x14000de3c
xor eax, eax
mov qword [0x1401370f0], rax
mov r8, rbx
lea rdx, str.GetWpsStatusOld__s_
mov rcx, rax
call fcn.140050c00
mov r8, rbx
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.140008580
test eax, eax
jne 0x14000de99
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14000de7f
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x14000de7f
call rax
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14000de8f
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 1
jmp 0x14000e106
mov dword [rsp + 0x250], 0
mov rbx, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
test rdi, rdi
je 0x14000e068
mov rax, qword [rsp + 0xe8]
test rax, rax
jne 0x14000df1c
test rbx, rbx
je 0x14000df01
lea rdx, str.GetApplicationStatusA
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0xe8], rax
test rax, rax
jne 0x14000df1c
mov esi, 0x7f
mov dword [rsp + 0x30], esi
lea rcx, str.EWSIntf::get_app_status:_Function_not_found_in_DLL:_GetApplicationStatusA_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x14000e06c
mov esi, 6
mov dword [rsp + 0x30], esi
lea rcx, str.EWSIntf::get_app_status:_Attempting_to_lookup_GetApplicationStatusA_with_no_DLL_handle_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x14000e06c
lea r8, [rsp + 0x250]
lea rdx, [0x1400eb3a8]
mov rcx, rdi
call rax
test eax, eax
je 0x14000e068
mov rax, qword [0x1401370f0]
test rax, rax
jne 0x14000df6e
mov ecx, 0x310
call fcn.140084d88
mov qword [rsp + 0x258], rax
test rax, rax
je 0x14000df65
mov rcx, rax
call fcn.140050830
jmp 0x14000df67
xor eax, eax
mov qword [0x1401370f0], rax
mov r8d, dword [rsp + 0x250]
lea rdx, str.GetWpsStatus.get_app_status___d
mov rcx, rax
call fcn.140050c00
mov r11d, dword [rsp + 0x250]
cmp r11d, 3
jne 0x14000dfba
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x14000dfa2
mov rcx, rdi
call rax
test rbx, rbx
je 0x14000dfb0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 5
jmp 0x14000e106
cmp r11d, 4
jne 0x14000dfe7
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x14000dfcf
mov rcx, rdi
call rax
test rbx, rbx
je 0x14000dfdd
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 2
jmp 0x14000e106
cmp r11d, 5
jne 0x14000e014
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x14000dffc
mov rcx, rdi
call rax
test rbx, rbx
je 0x14000e00a
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 4
jmp 0x14000e106
cmp r11d, 7
jne 0x14000e041
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x14000e029
mov rcx, rdi
call rax
test rbx, rbx
je 0x14000e037
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 3
jmp 0x14000e106
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x14000e050
mov rcx, rdi
call rax
test rbx, rbx
je 0x14000e05e
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 1
jmp 0x14000e106
mov esi, dword [rsp + 0x30]
or ebp, 0xffffffff
test rdi, rdi
je 0x14000e098
mov rax, qword [rsp + 0x70]
test rax, rax
je 0x14000e09a
lea rdx, [rsp + 0x258]
mov rcx, rdi
call rax
test eax, eax
je 0x14000e09a
mov ebp, dword [rsp + 0x258]
jmp 0x14000e09a
mov ebp, esi
mov rax, qword [0x1401370f0]
test rax, rax
jne 0x14000e0cd
mov ecx, 0x310
call fcn.140084d88
mov qword [rsp + 0x20], rax
test rax, rax
je 0x14000e0c4
mov rcx, rax
call fcn.140050830
jmp 0x14000e0c6
xor eax, eax
mov qword [0x1401370f0], rax
lea r8, str.GetWpsStatus.get_app_status_failed
mov edx, ebp
mov rcx, rax
call fcn.140050e40
nop
test rdi, rdi
je 0x14000e0f3
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x14000e0f3
mov rcx, rdi
call rax
test rbx, rbx
je 0x14000e101
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 1
mov rbx, qword [rsp + 0x240]
add rsp, 0x220
pop rdi
pop rsi
pop rbp
ret