Function at 0x1400a4970
Capabilities:
Link many functions at runtime
Reference sql statements
Reference wmi statements

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x208]
sub rsp, 0x2e0
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140137088]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov r15, rcx
xor r13d, r13d
mov r14d, r13d
lea rdx, str.Ole32.dll
lea rcx, [rbp - 0x40]
call fcn.140002330
nop
call fcn.14002d2b0
mov rcx, rax
lea rdx, [rbp - 0x40]
call fcn.14002d350
mov rbx, rax
lea rcx, [rbp - 0x40]
call fcn.140002320
test rbx, rbx
je 0x1400a51fd
lea rdx, [0x1400feec8]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
lea rdx, str.CoInitializeSecurity
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
lea rdx, str.CoSetProxyBlanket
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rsi, rsi
je 0x1400a51fd
test rdi, rdi
je 0x1400a51fd
test rax, rax
je 0x1400a51fd
lea rcx, [rsp + 0x50]
call fcn.14009ed90
nop
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x38], r13d
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
lea edx, [r13 - 1]
xor ecx, ecx
call rdi
mov qword [rbp - 0x78], r13
lea rax, [rbp - 0x78]
mov qword [rsp + 0x20], rax
lea r9, [0x1400f6c88]
xor edx, edx
lea r8d, [r13 + 1]
lea rcx, [0x1400f6d58]
call rsi
test eax, eax
js 0x1400a4b2c
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x1400a4b2c
mov qword [rbp - 0x80], r13
mov rax, qword [rcx]
lea rdx, [rbp - 0x80]
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
xor r9d, r9d
xor r8d, r8d
lea rdx, str.ROOTCIMV2
call qword [rax + 0x18]
test eax, eax
js 0x1400a4b22
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x1400a4b22
mov dword [rsp + 0x38], r13d
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
lea edx, [r13 + 0xa]
call rbx
mov rcx, qword [rbp - 0x80]
test eax, eax
jns 0x1400a4b44
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x78]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov r14d, 0xfffffffe
lea rcx, [rsp + 0x50]
call fcn.14009ee30
mov eax, r14d
jmp 0x1400a5202
mov qword [rbp - 0x50], r13
mov rax, qword [rcx]
lea rdx, [rbp - 0x50]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], r13
mov r9d, 0x30
lea r8, str.SELECT__FROM_Win32_NetworkAdapter_WHERE__MACAddress_IS_NOT_NULL__AND__NOT__PNPDeviceID_LIKE_ROOT___
lea rdx, [0x140100e18]
call qword [rax + 0xa0]
test eax, eax
jns 0x1400a4b93
mov rcx, qword [rbp - 0x80]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x78]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov r14d, 0xfffffffd
jmp 0x1400a4b32
lea rdx, str.OleAut32.dll
lea rcx, [rbp - 0x40]
call fcn.140002330
nop
call fcn.14002d2b0
mov rcx, rax
lea rdx, [rbp - 0x40]
call fcn.14002d350
mov rbx, rax
lea rcx, [rbp - 0x40]
call fcn.140002320
test rbx, rbx
jne 0x1400a4be3
mov rcx, qword [rbp - 0x80]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x78]
mov rax, qword [rcx]
call qword [rax + 0x10]
lea r14d, [rbx - 4]
jmp 0x1400a4b32
lea rdx, str.VariantInit
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r12, rax
lea rdx, str.VariantClear
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
test r12, r12
je 0x1400a51de
test rax, rax
je 0x1400a51de
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x1400a51c5
nop dword [rax + rax]
mov qword [rbp - 0x70], r13
mov dword [rbp - 0x48], r13d
mov rax, qword [rcx]
lea rdx, [rbp - 0x48]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x70]
mov edx, 0xffffffff
lea r8d, [rdx + 2]
call qword [rax + 0x20]
cmp dword [rbp - 0x48], 0
je 0x1400a51b6
cmp qword [rbp - 0x70], 0
je 0x1400a51b6
lea rcx, [rbp - 0x68]
call r12
mov rcx, qword [rbp - 0x70]
mov rax, qword [rcx]
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
lea r9, [rbp - 0x68]
xor r8d, r8d
lea rdx, str.PNPDeviceID
call qword [rax + 0x20]
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp + 0xd0]
call fcn.1400ab220
cmp word [rbp - 0x68], 8
jne 0x1400a4d02
mov r8, qword [rbp - 0x60]
test r8, r8
je 0x1400a4d02
mov edx, 0x7f
lea rcx, [rbp + 0xd0]
lea rax, [rbp + 0xd0]
sub r8, rax
nop dword [rax]
lea rax, [rdx + 0x7fffff7f]
test rax, rax
je 0x1400a4cf3
movzx eax, word [r8 + rcx]
test ax, ax
je 0x1400a4cf3
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x1400a4cd0
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r13w
lea rcx, [rbp - 0x68]
call rsi
lea rdx, [rbp + 0xd0]
lea rcx, [rbp - 0x20]
call fcn.140002330
nop
lea rcx, [rbp - 0x40]
call fcn.140008ad0
nop
lea rcx, [rbp - 0x20]
call fcn.140002370
mov rbx, rax
mov rdi, rax
cmp qword [rax + 0x18], 8
jb 0x1400a4d3c
mov rdi, qword [rax]
lea rcx, [0x1400fccd8]
call fcn.140002620
mov qword [rsp + 0x20], rax
lea r9, [0x1400fccd8]
xor r8d, r8d
mov rdx, qword [rbx + 0x10]
mov rcx, rdi
call fcn.140011820
cmp rax, 0xffffffffffffffff
je 0x1400a4d95
mov r9, rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x20]
call fcn.140011aa8
nop
mov rdx, rax
lea rcx, [rbp - 0x40]
call fcn.140008a50
nop
lea rcx, [rsp + 0x60]
call fcn.140002320
lea rcx, [rbp - 0x40]
call fcn.140002310
mov rcx, rax
lea rdx, str.ROOT
call fcn.14001f5c0
test al, al
je 0x1400a4dba
lea rcx, [rbp - 0x20]
call fcn.140011748
mov r9d, 1
lea r8d, [r9 + 0x7f]
lea rdx, [rbp + 0xd0]
lea rcx, [rbp + 0xd0]
call fcn.1400a4640
test eax, eax
je 0x1400a5189
inc r14d
lea rcx, [rbp]
call fcn.140008ad0
nop
lea rcx, [rbp + 0x20]
call fcn.140008ad0
nop
lea rcx, [rbp + 0x40]
call fcn.140008ad0
nop
lea rcx, [rbp + 0x60]
call fcn.140008ad0
nop
lea rcx, [rbp + 0x88]
call fcn.140008ad0
nop
lea rcx, [rbp + 0xa8]
call fcn.140008ad0
nop
mov byte [rbp + 0x80], 0
lea rcx, [rbp + 0xd0]
call fcn.140002620
mov r8, rax
lea rdx, [rbp + 0xd0]
lea rcx, [rbp + 0x20]
call fcn.140002400
lea rcx, [rbp - 0x20]
call fcn.140002370
lea rcx, [rbp + 0xa8]
cmp rcx, rax
je 0x1400a4e7c
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400a4e6c
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
lea rcx, [rbp + 0xa8]
call fcn.140002400
lea rcx, [rbp + 0x20]
call fcn.14001fa30
lea rcx, [rbp + 0x20]
call fcn.140002300
test al, al
jne 0x1400a5148
lea rcx, [rbp - 0x68]
call r12
mov rcx, qword [rbp - 0x70]
mov rax, qword [rcx]
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
lea r9, [rbp - 0x68]
xor r8d, r8d
lea rdx, str.MACAddress
call qword [rax + 0x20]
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp + 0xd0]
call fcn.1400ab220
cmp word [rbp - 0x68], 8
jne 0x1400a4f32
mov r8, qword [rbp - 0x60]
test r8, r8
je 0x1400a4f32
mov edx, 0x7f
lea rcx, [rbp + 0xd0]
lea rax, [rbp + 0xd0]
sub r8, rax
nop dword [rax]
lea rax, [rdx + 0x7fffff7f]
test rax, rax
je 0x1400a4f23
movzx eax, word [r8 + rcx]
test ax, ax
je 0x1400a4f23
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x1400a4f00
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r13w
lea rcx, [rbp - 0x68]
call rsi
lea rcx, [rbp + 0xd0]
mov rax, 0xffffffffffffffff
nop word [rax + rax]
lea rax, [rax + 1]
cmp word [rcx + rax*2], 0
jne 0x1400a4f50
lea r9, [rbp + 0xd2]
lea r9, [r9 + rax*2]
lea rdx, [rbp + 0xd0]
lea rax, [rbp + 0xd0]
cmp rax, r9
je 0x1400a4f8f
nop dword [rax]
cmp word [rdx], 0x3a
je 0x1400a4f8f
add rdx, 2
cmp rdx, r9
jne 0x1400a4f80
cmp rdx, r9
je 0x1400a4fc2
lea r8, [rdx + 2]
cmp r8, r9
je 0x1400a4fc2
nop dword [rax]
cmp word [r8], 0x3a
je 0x1400a4fb9
mov rcx, r8
call fcn.140002370
movzx ecx, word [rax]
mov word [rdx], cx
add rdx, 2
add r8, 2
cmp r8, r9
jne 0x1400a4fa0
test rdx, rdx
je 0x1400a4fcb
mov word [rdx], r13w
lea rcx, [rbp + 0xd0]
call fcn.140002620
mov r8, rax
lea rdx, [rbp + 0xd0]
lea rcx, [rbp + 0x40]
call fcn.140002400
lea rcx, [rbp + 0x40]
call fcn.14001fa30
lea rcx, [rbp - 0x68]
call r12
mov rcx, qword [rbp - 0x70]
mov rax, qword [rcx]
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
lea r9, [rbp - 0x68]
xor r8d, r8d
lea rdx, str.GUID
call qword [rax + 0x20]
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp + 0xd0]
call fcn.1400ab220
cmp word [rbp - 0x68], 8
jne 0x1400a5092
mov r8, qword [rbp - 0x60]
test r8, r8
je 0x1400a5092
mov edx, 0x7f
lea rcx, [rbp + 0xd0]
lea rax, [rbp + 0xd0]
sub r8, rax
nop word [rax + rax]
lea rax, [rdx + 0x7fffff7f]
test rax, rax
je 0x1400a5083
movzx eax, word [r8 + rcx]
test ax, ax
je 0x1400a5083
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x1400a5060
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r13w
lea rcx, [rbp - 0x68]
call rsi
lea rcx, [rbp + 0xd0]
call fcn.140002620
mov r8, rax
lea rdx, [rbp + 0xd0]
lea rcx, [rbp]
call fcn.140002400
lea rcx, [rbp + 0x60]
call fcn.140011748
lea rcx, [rbp - 0x68]
call r12
mov rcx, qword [rbp - 0x70]
mov rax, qword [rcx]
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
lea r9, [rbp - 0x68]
xor r8d, r8d
lea rdx, str.NetConnectionStatus
call qword [rax + 0x20]
cmp word [rbp - 0x68], 3
jne 0x1400a5104
mov r8d, dword [rbp - 0x60]
lea rdx, [0x1400fe7ec]
lea rcx, [rbp + 0x60]
call fcn.14001fc80
lea rcx, [rbp - 0x68]
call rsi
mov byte [rbp + 0x80], 1
mov rdx, qword [r15 + 8]
cmp qword [r15 + 0x10], rdx
je 0x1400a513b
mov ecx, 0xc8
call fcn.140002080
lea rdx, [rbp]
mov rcx, rax
call fcn.14009bdc0
add qword [r15 + 8], 0xc8
jmp 0x1400a5148
lea r8, [rbp]
mov rcx, r15
call fcn.1400a2000
nop
lea rcx, [rbp + 0xa8]
call fcn.140002320
nop
lea rcx, [rbp + 0x88]
call fcn.140002320
nop
lea rcx, [rbp + 0x60]
call fcn.140002320
nop
lea rcx, [rbp + 0x40]
call fcn.140002320
nop
lea rcx, [rbp + 0x20]
call fcn.140002320
nop
lea rcx, [rbp]
call fcn.140002320
mov rcx, qword [rbp - 0x70]
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
lea rcx, [rbp - 0x40]
call fcn.140002320
nop
lea rcx, [rbp - 0x20]
call fcn.140002320
mov rcx, qword [rbp - 0x50]
test rcx, rcx
jne 0x1400a4c30
jmp 0x1400a51c5
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x1400a51c5
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x80]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x78]
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400a4b32
mov rcx, qword [rbp - 0x80]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x78]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov r14d, 0xfffffffb
jmp 0x1400a4b32
mov eax, 0xfffffffe
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.1400a8f20
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret