Function at 0x14000e940
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
sub rsp, 0x340
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov rax, qword [0x14012ce40]
xor rax, rsp
mov qword [rsp + 0x330], rax
mov rbx, rdx
mov rdi, rcx
lea rcx, [rsp + 0x60]
call fcn.140006910
nop
xor r12d, r12d
mov rax, qword [0x1401370f0]
test rax, rax
jne 0x14000e9b9
mov ecx, 0x310
call fcn.140084d88
mov qword [rsp + 0x20], rax
test rax, rax
je 0x14000e9af
mov rcx, rax
call fcn.140050830
jmp 0x14000e9b2
mov rax, r12
mov qword [0x1401370f0], rax
mov r8, rbx
lea rdx, str.EnableWifiNew__s_
mov rcx, rax
call fcn.140050c00
mov qword [rsp + 0x270], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x268], r12
mov byte [rsp + 0x258], 0
xor r8d, r8d
mov edx, 0xab
lea rcx, [rsp + 0x250]
call fcn.140015290
lea rcx, [rsp + 0x258]
mov rdx, qword [rsp + 0x270]
cmp rdx, 0x10
cmovae rcx, qword [rsp + 0x258]
mov r9d, 0xab
lea r8, str._io:Adapter_xmlns_http:__www.hp.com_schemas_imaging_con_ledm_networkmgmt_2008_06_04___r_n_io:HardwareConfig__r_n_dd:Power_on__dd:Power__r_n__io:HardwareConfig__r_n__io:Adapter__r_n
call fcn.1400b09f0
mov qword [rsp + 0x268], 0xab
lea rax, [rsp + 0x258]
cmp qword [rsp + 0x270], 0x10
cmovae rax, qword [rsp + 0x258]
mov byte [rax + 0xab], 0
mov r8, rbx
lea rdx, [rsp + 0x60]
mov rcx, rdi
call fcn.140008580
test eax, eax
jne 0x14000ead0
cmp qword [rsp + 0x270], 0x10
jb 0x14000ea84
mov rcx, qword [rsp + 0x258]
call fcn.140084dcc
mov qword [rsp + 0x270], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x268], r12
mov byte [rsp + 0x258], 0
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14000eab9
mov rax, qword [rsp + 0x98]
test rax, rax
je 0x14000eab9
call rax
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14000eac9
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
jmp 0x14000eccc
mov qword [rsp + 0x298], 7
mov qword [rsp + 0x290], r12
mov word [rsp + 0x280], 0
xor r8d, r8d
lea edx, [r8 + 0x10]
lea rcx, [rsp + 0x278]
call fcn.1400156c0
lea rcx, [rsp + 0x280]
mov rdx, qword [rsp + 0x298]
cmp rdx, 8
cmovae rcx, qword [rsp + 0x280]
add rdx, rdx
mov r9d, 0x20
lea r8, str._IoMgmt_Adapters
call fcn.1400b09f0
mov qword [rsp + 0x290], reloc.OLEAUT32.dll_SafeArrayGetDim
lea rax, [rsp + 0x280]
cmp qword [rsp + 0x298], 8
cmovae rax, qword [rsp + 0x280]
mov word [rax + 0x20], 0
lea rbp, [rsp + 0x258]
cmp qword [rsp + 0x270], 0x10
cmovae rbp, qword [rsp + 0x258]
lea r8, [rsp + 0x280]
cmp qword [rsp + 0x298], 8
cmovae r8, qword [rsp + 0x280]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.140007120
nop
cmp qword [rax + 0x20], 0x10
jb 0x14000ebb1
mov rsi, qword [rax + 8]
jmp 0x14000ebb5
lea rsi, [rax + 8]
mov rbx, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
test rdi, rdi
je 0x14000ec25
mov rax, qword [rsp + 0x100]
test rax, rax
jne 0x14000ec11
test rbx, rbx
je 0x14000ec02
lea rdx, str.PutPage
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x100], rax
test rax, rax
jne 0x14000ec11
lea rcx, str.EWSIntf::put_page:_Function_not_found_in_DLL:_PutPage_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x14000ec25
lea rcx, str.EWSIntf::put_page:_Attempting_to_lookup_PutPage_with_no_DLL_handle_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x14000ec25
lea r9, [rsp + 0x2a0]
mov r8, rbp
mov rdx, rsi
mov rcx, rdi
call rax
nop
cmp qword [rsp + 0x50], 0x10
jb 0x14000ec38
mov rcx, qword [rsp + 0x38]
call fcn.140084dcc
nop
cmp qword [rsp + 0x298], 8
jb 0x14000ec50
mov rcx, qword [rsp + 0x280]
call fcn.140084dcc
mov qword [rsp + 0x298], 7
mov qword [rsp + 0x290], r12
mov word [rsp + 0x280], 0
cmp qword [rsp + 0x270], 0x10
jb 0x14000ec86
mov rcx, qword [rsp + 0x258]
call fcn.140084dcc
mov qword [rsp + 0x270], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x268], r12
mov byte [rsp + 0x258], 0
test rdi, rdi
je 0x14000ecb9
mov rax, qword [rsp + 0x98]
test rax, rax
je 0x14000ecb9
mov rcx, rdi
call rax
test rbx, rbx
je 0x14000ecc7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 1
mov rcx, qword [rsp + 0x330]
xor rcx, rsp
call fcn.1400b09d0
lea r11, [rsp + 0x340]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret