Function at 0x10006690
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10023bcb
mov eax, dword fs:[0]
push eax
sub esp, 0x660
mov eax, dword [0x1003406c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 0xc]
mov ebx, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push str.asio_hw_fun42
mov dword [ebp - 0x660], eax
call ebx
mov esi, eax
mov dword [ebp - 0x63c], esi
test esi, esi
jne 0x10006712
xorps xmm0, xmm0
mov dword [ebp - method.std::exception.virtual_0], vtable.std::bad_alloc.0
push 0x10033194
lea eax, [ebp - 0x66c]
movq qword [ebp - 0x668], xmm0
push eax
mov dword [ebp - 0x668], str.bad_allocation
call fcn.1000f434
mov dword [ebp - 4], 0
mov eax, dword [0x100305cc]
movq xmm0, qword [str.wPort]
push 0x1fc
mov dword [ebp - 0x210], eax
lea eax, [ebp - 0x20c]
push 0
push eax
movq qword [ebp - 0x218], xmm0
call fcn.1000f4b0
mov eax, dword [0x100307cc]
movq xmm0, qword [str.wData]
push 0x1fc
mov dword [ebp - 0x418], eax
lea eax, [ebp - 0x414]
push 0
push eax
movq qword [ebp - 0x420], xmm0
call fcn.1000f4b0
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.1000f4b0
movzx eax, word [ebp + 8]
push eax
push 0x1002fe94
lea eax, [ebp - 0x628]
push 0x104
push eax
call fcn.10003fc0
mov eax, dword [edi + 4]
lea edx, [ebp - 0x648]
add esp, 0x34
mov dword [ebp - 0x648], 0
mov byte [ebp - 0x659], 0
mov ecx, dword [eax]
push 0
push edx
push 0
push esi
push eax
call dword [ecx + 0x4c]
test eax, eax
js 0x1000692a
mov eax, dword [ebp - 0x648]
lea edx, [ebp - 0x640]
push edx
mov dword [ebp - 0x640], 0
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x3c]
test eax, eax
js 0x1000691e
mov eax, 8
mov word [ebp - 0x658], ax
lea eax, [ebp - 0x628]
push eax
call ebx
push 0x12
mov dword [ebp - 0x650], eax
lea edx, [ebp - 0x658]
mov eax, dword [ebp - 0x640]
push edx
push 0
lea edx, [ebp - 0x218]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x14]
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
js 0x10006909
mov eax, dword [edi]
lea edx, [ebp - 0x644]
push 0
push edx
push dword [ebp - 0x640]
mov dword [ebp - 0x644], 0
mov ecx, dword [eax]
push 0
push 0
push esi
push dword [edi + 8]
push eax
call dword [ecx + 0x60]
test eax, eax
js 0x100068fe
push str._ASUSWMIManager___ReadIO_WORD__ExecMethod_Successful.
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
xorps xmm0, xmm0
mov word [ebp - 0x638], ax
mov dword [ebp - 0x62e], eax
mov word [ebp - 0x62a], ax
lea eax, [ebp - 0x638]
push eax
movq qword [ebp - 0x636], xmm0
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 0x644]
lea edx, [ebp - 0x638]
push 0
push 0
push edx
mov ecx, dword [eax]
lea edx, [ebp - 0x420]
push 0
push edx
push eax
call dword [ecx + 0x10]
test eax, eax
jne 0x100068e0
mov ecx, dword [ebp - 0x660]
mov ax, word [ebp - 0x630]
mov word [ecx], ax
lea eax, [ebp - 0x638]
push eax
call ebx
mov eax, dword [ebp - 0x644]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov byte [ebp - 0x659], 1
jmp 0x10006909
push str._ASUSWMIManager___ReadIO_WORD__ExecMethod_failed.
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea eax, [ebp - 0x658]
push eax
call ebx
mov eax, dword [ebp - 0x640]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 0x648]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov al, byte [ebp - 0x659]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000c5be
mov esp, ebp
pop ebp
ret 8