Function at 0x180155b60
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 [0x180267080]
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 [0x1801f3a80]
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.180009930
nop
call fcn.18001a860
mov rcx, rax
lea rdx, [rbp - 0x28]
call fcn.18001a900
mov rbx, rax
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x180155c34
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180155c2f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18015678c
call fcn.18017e41c
movdqa xmm0, xmmword [0x1801f3a80]
movdqu xmmword [rbp - 0x18], xmm0
mov word [rbp - 0x28], r15w
test rbx, rbx
je 0x180156751
lea rdx, [0x1801e26d0]
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 0x180156751
test rdi, rdi
je 0x180156751
test rax, rax
je 0x180156751
lea rcx, [rsp + 0x54]
call fcn.18000fc60
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, [0x1801d9be8]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1801d9cb8]
call rsi
test eax, eax
js 0x180155d8a
mov rcx, qword [rbp - 0x58]
test rcx, rcx
je 0x180155d8a
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 0x180155d80
mov rcx, qword [rbp - 0x60]
test rcx, rcx
je 0x180155d80
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 0x180155da2
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.18000fd80
mov eax, r13d
jmp 0x180156756
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, [0x1801f26a8]
call qword [rax + LoadRegTypeLib]
test eax, eax
jns 0x180155df1
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 0x180155d90
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
movdqa xmm1, xmmword [0x1801f3a80]
movdqu xmmword [rbp - 0x18], xmm1
mov word [rbp - 0x28], si
mov r8d, reloc.SHLWAPI.dll_SHCreateMemStream
lea rdx, str.OleAut32.dll
lea rcx, [rbp - 0x28]
call fcn.180009930
nop
call fcn.18001a860
mov rcx, rax
lea rdx, [rbp - 0x28]
call fcn.18001a900
mov rbx, rax
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x180155e75
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180155e70
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180156792
call fcn.18017e41c
movdqa xmm0, xmmword [0x1801f3a80]
movdqu xmmword [rbp - 0x18], xmm0
mov word [rbp - 0x28], si
test rbx, rbx
jne 0x180155ea8
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 0x180155d90
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 0x180156732
test rax, rax
je 0x180156732
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x180156719
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 0x18015670a
cmp qword [rbp - 0x50], 0
je 0x18015670a
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 fcn.180180610
cmp word [rbp - 0x48], 8
jne 0x180155fc1
mov r8, qword [rbp - 0x40]
test r8, r8
je 0x180155fc1
mov edx, 0x7f
lea rcx, [rbp + 0xf0]
lea rax, [rbp + 0xf0]
sub r8, rax
lea rax, [rdx + 0x7fffff7f]
test rax, rax
je 0x180155fb3
movzx eax, word [r8 + rcx]
test ax, ax
je 0x180155fb3
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x180155f90
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 0x180155ff0
lea rdx, [rbp + 0xf0]
lea rcx, [rbp]
call fcn.180009930
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, [0x1801e0cf0]
lea rcx, [rbp]
call fcn.180015d70
mov r8, rax
cmp rax, 0xffffffffffffffff
je 0x1801560cf
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.180009930
or r14d, 1
mov dword [rsp + 0x50], r14d
lea rcx, [rbp - 0x28]
call fcn.1800098a0
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.1800109c0
test al, al
je 0x180156104
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.1801558c0
test eax, eax
je 0x18015665f
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 0x180156200
lea rdx, [rbp + 0xf0]
lea rcx, [rbp + 0x40]
call fcn.180009930
lea rdx, [rbp]
cmp qword [rbp + 0x18], 8
cmovae rdx, qword [rbp]
mov r8, qword [rbp + 0x10]
lea rcx, [rbp + 0xc8]
call fcn.180009930
mov r14, qword [rbp + 0x50]
test r14, r14
je 0x18015660f
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 fcn.180183244
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 0x180156250
mov r14, qword [rbp + 0x50]
mov rbx, qword [rsp + 0x58]
mov rdi, qword [rbp - 0x80]
test r14, r14
je 0x18015660f
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 fcn.180180610
cmp word [rbp - 0x48], 8
jne 0x180156331
mov r8, qword [rbp - 0x40]
test r8, r8
je 0x180156331
mov edx, 0x7f
lea rcx, [rbp + 0xf0]
lea rax, [rbp + 0xf0]
sub r8, rax
nop dword [rax + rax]
lea rax, [rdx + 0x7fffff7f]
test rax, rax
je 0x180156323
movzx eax, word [rcx + r8]
test ax, ax
je 0x180156323
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x180156300
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 0x180156345
lea rdx, [rbp + 0xf2]
lea rdx, [rdx + rax*2]
lea rax, [rbp + 0xf0]
lea rcx, [rbp + 0xf0]
cmp rcx, rdx
je 0x18015637f
nop dword [rax]
cmp word [rax], 0x3a
je 0x18015637f
add rax, 2
cmp rax, rdx
jne 0x180156370
cmp rax, rdx
je 0x1801563bf
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 0x1801563bf
movzx edx, word [rcx]
cmp dx, 0x3a
je 0x1801563b3
mov word [rax], dx
add rax, 2
add rcx, 2
inc r8
cmp r8, r9
jne 0x1801563a3
test rax, rax
je 0x1801563c7
mov word [rax], si
lea rax, [rbp + 0xf0]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], si
jne 0x1801563d5
lea rdx, [rbp + 0xf0]
lea rcx, [rbp + 0x60]
call fcn.180009930
mov r14, qword [rbp + 0x70]
test r14, r14
je 0x18015643a
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 fcn.180183244
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 0x180156400
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 fcn.180180610
cmp word [rbp - 0x48], 8
jne 0x1801564d1
mov r8, qword [rbp - 0x40]
test r8, r8
je 0x1801564d1
mov edx, 0x7f
lea rcx, [rbp + 0xf0]
lea rax, [rbp + 0xf0]
sub r8, rax
nop
lea rax, [rdx + 0x7fffff7f]
test rax, rax
je 0x1801564c3
movzx eax, word [r8 + rcx]
test ax, ax
je 0x1801564c3
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x1801564a0
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 0x1801564e5
lea rdx, [rbp + 0xf0]
lea rcx, [rbp + 0x20]
call fcn.180009930
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 0x180156566
mov r8d, dword [rbp - 0x40]
lea rdx, [0x1801e1de0]
lea rcx, [rbp + 0x80]
call fcn.1800110a0
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 0x1801565fe
mov qword [rbp - 0x68], rbx
lea rdx, [rbp + 0x20]
mov rcx, rbx
call fcn.180009740
nop
lea rcx, [rbx + 0x20]
lea rdx, [rbp + 0x40]
call fcn.180009740
nop
lea rcx, [rbx + 0x40]
lea rdx, [rbp + 0x60]
call fcn.180009740
nop
lea rcx, [rbx + 0x60]
lea rdx, [rbp + 0x80]
call fcn.180009740
nop
movzx eax, byte [rbp + 0xa0]
mov byte [rbx + 0x80], al
lea rcx, [rbx + 0x88]
lea rdx, [rbp + 0xa8]
call fcn.180009740
nop
lea rcx, [rbx + 0xa8]
lea rdx, [rbp + 0xc8]
call fcn.180009740
nop
add qword [r14 + 8], 0xc8
jmp 0x180156611
lea r8, [rbp + 0x20]
mov rdx, rbx
mov rcx, r14
call fcn.180148b90
jmp 0x180156611
xor esi, esi
lea rcx, [rbp + 0xc8]
call fcn.1800098a0
nop
lea rcx, [rbp + 0xa8]
call fcn.1800098a0
nop
lea rcx, [rbp + 0x80]
call fcn.1800098a0
nop
lea rcx, [rbp + 0x60]
call fcn.1800098a0
nop
lea rcx, [rbp + 0x40]
call fcn.1800098a0
nop
lea rcx, [rbp + 0x20]
call fcn.1800098a0
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 0x1801566a5
lea rdx, [r12*2 + 2]
mov rax, r15
cmp rdx, 0x1000
jb 0x18015669d
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180156798
mov rcx, r15
call fcn.18017e41c
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x10], 7
mov word [rbp - 0x28], si
mov rdx, qword [rbp + 0x18]
cmp rdx, 8
jb 0x1801566f5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801566f0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180156786
call fcn.18017e41c
mov qword [rbp + 0x10], rsi
mov qword [rbp + 0x18], 7
mov word [rbp], si
jmp 0x180155ee9
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x180156719
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 0x180155d90
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 0x180155d90
mov eax, 0xfffffffe
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.18017df00
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
call fcn.180182c3c
nop
call fcn.180182c3c
nop
call fcn.180182c3c
nop
call fcn.180182c3c
int3