Function at 0x180381a30
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 - 0x228]
sub rsp, 0x300
mov qword [rbp - 0x70], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1804cc010]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
mov qword [rbp - 0x78], rcx
xor r15d, r15d
mov r14d, r15d
mov dword [rsp + 0x50], r15d
mov r13d, r15d
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
movdqa xmm1, xmmword [0x1803e7600]
movdqu xmmword [rbp - 0x18], xmm1
mov word [rbp - 0x28], r15w
lea r8d, [r15 + 9]
lea rdx, str.Ole32.dll
lea rcx, [rbp - 0x28]
call fcn.180004ea0
nop
call fcn.180178b40
mov rcx, rax
lea rdx, [rbp - 0x28]
call fcn.180178c20
mov rbx, rax
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x180381b07
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180381b02
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180381b02
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180386950
movdqa xmm0, xmmword [0x1803e7600]
movdqu xmmword [rbp - 0x18], xmm0
mov word [rbp - 0x28], r15w
test rbx, rbx
je 0x180382637
lea rdx, [0x1803cfcd0]
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 0x180382637
test rdi, rdi
je 0x180382637
test rax, rax
je 0x180382637
lea rcx, [rsp + 0x54]
call fcn.18015ec20
nop
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x38], r15d
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 - 1]
xor ecx, ecx
call rdi
mov qword [rbp - 0x58], r15
lea rax, [rbp - 0x58]
mov qword [rsp + 0x20], rax
lea r9, [0x1803b3820]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1803b38f0]
call rsi
test eax, eax
js 0x180381c5d
mov rcx, qword [rbp - 0x58]
test rcx, rcx
je 0x180381c5d
xor esi, esi
mov qword [rbp - 0x60], rsi
mov rax, qword [rcx]
lea rdx, [rbp - 0x60]
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
lea rdx, str.ROOTCIMV2
call qword [rax + 0x18]
test eax, eax
js 0x180381c53
mov rcx, qword [rbp - 0x60]
test rcx, rcx
je 0x180381c53
mov dword [rsp + 0x38], esi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
lea edx, [rsi + 0xa]
call rbx
mov rcx, qword [rbp - 0x60]
test eax, eax
jns 0x180381c75
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x58]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov r13d, 0xfffffffe
lea rcx, [rsp + 0x54]
call fcn.18015ed40
mov eax, r13d
jmp 0x18038263c
mov qword [rbp - 0x30], rsi
mov rax, qword [rcx]
lea rdx, [rbp - 0x30]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rsi
mov r9d, 0x30
lea r8, str.SELECT__FROM_Win32_NetworkAdapter_WHERE__MACAddress_IS_NOT_NULL__AND__NOT__PNPDeviceID_LIKE_ROOT___
lea rdx, [0x1803e6478]
call qword [rax + 0xa0]
test eax, eax
jns 0x180381cc4
mov rcx, qword [rbp - 0x60]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x58]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov r13d, 0xfffffffd
jmp 0x180381c63
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
movdqa xmm1, xmmword [0x1803e7600]
movdqu xmmword [rbp - 0x18], xmm1
mov word [rbp - 0x28], si
mov r8d, 0xc
lea rdx, str.OleAut32.dll
lea rcx, [rbp - 0x28]
call fcn.180004ea0
nop
call fcn.180178b40
mov rcx, rax
lea rdx, [rbp - 0x28]
call fcn.180178c20
mov rbx, rax
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x180381d4b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180381d46
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180381d46
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180386950
movdqa xmm0, xmmword [0x1803e7600]
movdqu xmmword [rbp - 0x18], xmm0
mov word [rbp - 0x28], si
test rbx, rbx
jne 0x180381d7e
mov rcx, qword [rbp - 0x60]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x58]
mov rax, qword [rcx]
call qword [rax + 0x10]
lea r13d, [rbx - 4]
jmp 0x180381c63
lea rdx, str.VariantInit
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
mov qword [rbp - 0x80], rax
lea rdx, str.VariantClear
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
mov qword [rsp + 0x58], rax
test rdi, rdi
je 0x180382618
test rax, rax
je 0x180382618
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x1803825ff
mov qword [rbp - 0x50], rsi
mov dword [rbp - 8], esi
mov rax, qword [rcx]
lea rdx, [rbp - 8]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x50]
mov edx, 0xffffffff
lea r8d, [rdx + 2]
call qword [rax + 0x20]
cmp dword [rbp - 8], 0
je 0x1803825f0
cmp qword [rbp - 0x50], 0
je 0x1803825f0
lea rcx, [rbp - 0x48]
call rdi
mov rcx, qword [rbp - 0x50]
mov rax, qword [rcx]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 0x48]
xor r8d, r8d
lea rdx, str.PNPDeviceID
call qword [rax + 0x20]
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp + 0xf0]
call sub.VCRUNTIME140.dll_memset
cmp word [rbp - 0x48], 8
jne 0x180381ea1
mov r8, qword [rbp - 0x40]
test r8, r8
je 0x180381ea1
mov edx, 0x7f
lea rcx, [rbp + 0xf0]
lea rax, [rbp + 0xf0]
sub r8, rax
nop word [rax + rax]
lea rax, [rdx + 0x7fffff7f]
test rax, rax
je 0x180381e93
movzx eax, word [r8 + rcx]
test ax, ax
je 0x180381e93
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x180381e70
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], si
lea rcx, [rbp - 0x48]
call rbx
mov qword [rbp + 0x10], rsi
mov qword [rbp + 0x18], rsi
mov qword [rbp + 0x10], rsi
mov qword [rbp + 0x18], 7
mov word [rbp], si
lea rax, [rbp + 0xf0]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x180381ed0
lea rdx, [rbp + 0xf0]
lea rcx, [rbp]
call fcn.180004ea0
nop
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x10], rsi
mov qword [rbp - 0x18], rsi
mov r12d, 7
mov qword [rbp - 0x10], r12
mov word [rbp - 0x28], si
xor r8d, r8d
lea rdx, [0x1803cbfd0]
lea rcx, [rbp]
call fcn.180159fd0
mov r8, rax
cmp rax, 0xffffffffffffffff
je 0x180381faf
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rsi
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], r12
mov word [rsp + 0x60], si
cmp qword [rbp + 0x10], rax
cmovb r8, qword [rbp + 0x10]
lea rdx, [rbp]
cmp qword [rbp + 0x18], 8
cmovae rdx, qword [rbp]
lea rcx, [rsp + 0x60]
call fcn.180004ea0
or r14d, 1
mov dword [rsp + 0x50], r14d
lea rcx, [rbp - 0x28]
call fcn.180004e20
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rbp - 0x28], xmm0
movups xmm1, xmmword [rsp + 0x70]
movups xmmword [rbp - 0x18], xmm1
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], r12
mov word [rsp + 0x60], si
and r14d, 0xfffffffe
mov dword [rsp + 0x50], r14d
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], r12
mov word [rsp + 0x60], si
mov r12, qword [rbp - 0x10]
lea rcx, [rbp - 0x28]
mov r15, qword [rbp - 0x28]
cmp r12, 8
cmovae rcx, r15
lea rdx, str.ROOT
call fcn.180154520
test al, al
je 0x180381fe4
mov qword [rbp + 0x10], rsi
lea rax, [rbp]
cmp qword [rbp + 0x18], 8
cmovae rax, qword [rbp]
mov word [rax], si
mov r9d, 1
lea r8d, [r9 + 0x7f]
lea rdx, [rbp + 0xf0]
lea rcx, [rbp + 0xf0]
call fcn.180381790
test eax, eax
je 0x18038253f
inc r13d
mov qword [rbp + 0x30], rsi
mov qword [rbp + 0x38], rsi
mov qword [rbp + 0x30], rsi
mov qword [rbp + 0x38], 7
mov word [rbp + 0x20], si
mov qword [rbp + 0x50], rsi
mov qword [rbp + 0x58], rsi
mov qword [rbp + 0x50], rsi
mov qword [rbp + 0x58], 7
mov word [rbp + 0x40], si
mov qword [rbp + 0x70], rsi
mov qword [rbp + 0x78], rsi
mov qword [rbp + 0x70], rsi
mov qword [rbp + 0x78], 7
mov word [rbp + 0x60], si
mov qword [rbp + 0x90], rsi
mov qword [rbp + 0x98], rsi
mov qword [rbp + 0x90], rsi
mov qword [rbp + 0x98], 7
mov word [rbp + 0x80], si
mov qword [rbp + 0xb8], rsi
mov qword [rbp + 0xc0], rsi
mov qword [rbp + 0xb8], rsi
mov qword [rbp + 0xc0], 7
mov word [rbp + 0xa8], si
mov qword [rbp + 0xd8], rsi
mov qword [rbp + 0xe0], rsi
mov qword [rbp + 0xd8], rsi
mov qword [rbp + 0xe0], 7
mov word [rbp + 0xc8], si
mov byte [rbp + 0xa0], 0
lea rax, [rbp + 0xf0]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x1803820e0
lea rdx, [rbp + 0xf0]
lea rcx, [rbp + 0x40]
call fcn.180004ea0
lea rdx, [rbp]
cmp qword [rbp + 0x18], 8
cmovae rdx, qword [rbp]
mov r8, qword [rbp + 0x10]
lea rcx, [rbp + 0xc8]
call fcn.180004ea0
mov r14, qword [rbp + 0x50]
test r14, r14
je 0x1803824ef
nop word [rax + rax]
lea rax, [rbp + 0x40]
cmp qword [rbp + 0x58], 8
cmovae rax, qword [rbp + 0x40]
movzx ecx, word [rax + rsi*2]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_towlower]
lea rcx, [rbp + 0x40]
cmp qword [rbp + 0x58], 8
cmovae rcx, qword [rbp + 0x40]
mov word [rcx + rsi*2], ax
inc rsi
cmp rsi, r14
jb 0x180382130
mov r14, qword [rbp + 0x50]
mov rbx, qword [rsp + 0x58]
mov rdi, qword [rbp - 0x80]
test r14, r14
je 0x1803824ef
lea rcx, [rbp - 0x48]
call rdi
mov rcx, qword [rbp - 0x50]
mov rax, qword [rcx]
xor esi, esi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 0x48]
xor r8d, r8d
lea rdx, str.MACAddress
call qword [rax + 0x20]
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp + 0xf0]
call sub.VCRUNTIME140.dll_memset
cmp word [rbp - 0x48], 8
jne 0x180382211
mov r8, qword [rbp - 0x40]
test r8, r8
je 0x180382211
mov edx, 0x7f
lea rcx, [rbp + 0xf0]
lea rax, [rbp + 0xf0]
sub r8, rax
nop dword [rax]
lea rax, [rdx + 0x7fffff7f]
test rax, rax
je 0x180382203
movzx eax, word [rcx + r8]
test ax, ax
je 0x180382203
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x1803821e0
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], si
lea rcx, [rbp - 0x48]
call rbx
lea rcx, [rbp + 0xf0]
mov rax, 0xffffffffffffffff
lea rax, [rax + 1]
cmp word [rcx + rax*2], si
jne 0x180382225
lea rdx, [rbp + 0xf2]
lea rdx, [rdx + rax*2]
lea rax, [rbp + 0xf0]
lea rcx, [rbp + 0xf0]
cmp rcx, rdx
je 0x18038225f
nop dword [rax]
cmp word [rax], 0x3a
je 0x18038225f
add rax, 2
cmp rax, rdx
jne 0x180382250
cmp rax, rdx
je 0x18038229f
lea rcx, [rax + 2]
mov r8, rsi
mov r9, rdx
sub r9, rcx
inc r9
shr r9, 1
cmp rcx, rdx
cmova r9, rsi
test r9, r9
je 0x18038229f
movzx edx, word [rcx]
cmp dx, 0x3a
je 0x180382293
mov word [rax], dx
add rax, 2
add rcx, 2
inc r8
cmp r8, r9
jne 0x180382283
test rax, rax
je 0x1803822a7
mov word [rax], si
lea rax, [rbp + 0xf0]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], si
jne 0x1803822b5
lea rdx, [rbp + 0xf0]
lea rcx, [rbp + 0x60]
call fcn.180004ea0
mov r14, qword [rbp + 0x70]
test r14, r14
je 0x18038231b
nop dword [rax + rax]
lea rax, [rbp + 0x60]
cmp qword [rbp + 0x78], 8
cmovae rax, qword [rbp + 0x60]
movzx ecx, word [rax + rsi*2]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_towlower]
lea rcx, [rbp + 0x60]
cmp qword [rbp + 0x78], 8
cmovae rcx, qword [rbp + 0x60]
mov word [rcx + rsi*2], ax
inc rsi
cmp rsi, r14
jb 0x1803822e0
mov rbx, qword [rsp + 0x58]
mov rdi, qword [rbp - 0x80]
lea rcx, [rbp - 0x48]
call rdi
mov rcx, qword [rbp - 0x50]
mov rax, qword [rcx]
xor esi, esi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 0x48]
xor r8d, r8d
lea rdx, str.GUID
call qword [rax + 0x20]
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp + 0xf0]
call sub.VCRUNTIME140.dll_memset
cmp word [rbp - 0x48], 8
jne 0x1803823b1
mov r8, qword [rbp - 0x40]
test r8, r8
je 0x1803823b1
mov edx, 0x7f
lea rcx, [rbp + 0xf0]
lea rax, [rbp + 0xf0]
sub r8, rax
nop
lea rax, [rdx + 0x7fffff7f]
test rax, rax
je 0x1803823a3
movzx eax, word [rcx + r8]
test ax, ax
je 0x1803823a3
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x180382380
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], si
lea rcx, [rbp - 0x48]
call rbx
lea rax, [rbp + 0xf0]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], si
jne 0x1803823c5
lea rdx, [rbp + 0xf0]
lea rcx, [rbp + 0x20]
call fcn.180004ea0
mov qword [rbp + 0x90], rsi
lea rax, [rbp + 0x80]
cmp qword [rbp + 0x98], 8
cmovae rax, qword [rbp + 0x80]
mov word [rax], si
lea rcx, [rbp - 0x48]
call rdi
mov rcx, qword [rbp - 0x50]
mov rax, qword [rcx]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 0x48]
xor r8d, r8d
lea rdx, str.NetConnectionStatus
call qword [rax + 0x20]
cmp word [rbp - 0x48], 3
jne 0x180382446
mov r8d, dword [rbp - 0x40]
lea rdx, [0x1803c4540]
lea rcx, [rbp + 0x80]
call fcn.180154b60
lea rcx, [rbp - 0x48]
call rbx
mov byte [rbp + 0xa0], 1
mov r14, qword [rbp - 0x78]
mov rbx, qword [r14 + 8]
cmp qword [r14 + 0x10], rbx
je 0x1803824de
mov qword [rbp - 0x68], rbx
lea rdx, [rbp + 0x20]
mov rcx, rbx
call fcn.180004ad0
nop
lea rcx, [rbx + 0x20]
lea rdx, [rbp + 0x40]
call fcn.180004ad0
nop
lea rcx, [rbx + 0x40]
lea rdx, [rbp + 0x60]
call fcn.180004ad0
nop
lea rcx, [rbx + 0x60]
lea rdx, [rbp + 0x80]
call fcn.180004ad0
nop
movzx eax, byte [rbp + 0xa0]
mov byte [rbx + 0x80], al
lea rcx, [rbx + 0x88]
lea rdx, [rbp + 0xa8]
call fcn.180004ad0
nop
lea rcx, [rbx + 0xa8]
lea rdx, [rbp + 0xc8]
call fcn.180004ad0
nop
add qword [r14 + 8], 0xc8
jmp 0x1803824f1
lea r8, [rbp + 0x20]
mov rdx, rbx
mov rcx, r14
call fcn.18037a450
jmp 0x1803824f1
xor esi, esi
lea rcx, [rbp + 0xc8]
call fcn.180004e20
nop
lea rcx, [rbp + 0xa8]
call fcn.180004e20
nop
lea rcx, [rbp + 0x80]
call fcn.180004e20
nop
lea rcx, [rbp + 0x60]
call fcn.180004e20
nop
lea rcx, [rbp + 0x40]
call fcn.180004e20
nop
lea rcx, [rbp + 0x20]
call fcn.180004e20
mov rbx, qword [rsp + 0x58]
mov r14d, dword [rsp + 0x50]
mov rcx, qword [rbp - 0x50]
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
cmp r12, 8
jb 0x180382581
lea rdx, [r12*2 + 2]
mov rax, r15
cmp rdx, 0x1000
jb 0x180382579
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1803825e2
mov rcx, r15
call fcn.180386950
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x10], 7
mov word [rbp - 0x28], si
mov rdx, qword [rbp + 0x18]
cmp rdx, 8
jb 0x1803825cd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1803825c8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1803825e9
call fcn.180386950
mov qword [rbp + 0x10], rsi
mov qword [rbp + 0x18], 7
mov word [rbp], si
jmp 0x180381dbf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x1803825ff
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x60]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x58]
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x180381c63
mov rcx, qword [rbp - 0x60]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x58]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov r13d, 0xfffffffb
jmp 0x180381c63
mov eax, 0xfffffffe
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.1803868f0
lea r11, [rsp + 0x300]
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