Function at 0x1801153f0
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 [0x1802240e0]
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 [0x1801c14e0]
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.1800055c0
nop
call fcn.18005a450
mov rcx, rax
lea rdx, [rbp - 0x28]
call fcn.18005a530
mov rbx, rax
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x1801154c7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801154c2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1801154c2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18017df04
movdqa xmm0, xmmword [0x1801c14e0]
movdqu xmmword [rbp - 0x18], xmm0
mov word [rbp - 0x28], r15w
test rbx, rbx
je 0x180115ff7
lea rdx, [0x1801bb5b0]
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 0x180115ff7
test rdi, rdi
je 0x180115ff7
test rax, rax
je 0x180115ff7
lea rcx, [rsp + 0x54]
call fcn.1800f8c20
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, [0x1801ac958]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1801aca28]
call rsi
test eax, eax
js 0x18011561d
mov rcx, qword [rbp - 0x58]
test rcx, rcx
je 0x18011561d
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 0x180115613
mov rcx, qword [rbp - 0x60]
test rcx, rcx
je 0x180115613
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 0x180115635
mov rax, qword [rcx]
call qword [rax + InitCommonControls]
mov rcx, qword [rbp - 0x58]
mov rax, qword [rcx]
call qword [rax + InitCommonControls]
mov r13d, 0xfffffffe
lea rcx, [rsp + 0x54]
call fcn.1800f8d40
mov eax, r13d
jmp 0x180115ffc
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, gethostbyname
lea r8, str.SELECT__FROM_Win32_NetworkAdapter_WHERE__MACAddress_IS_NOT_NULL__AND__NOT__PNPDeviceID_LIKE_ROOT___
lea rdx, [0x1801c0700]
call qword [rax + 0xa0]
test eax, eax
jns 0x180115684
mov rcx, qword [rbp - 0x60]
mov rax, qword [rcx]
call qword [rax + InitCommonControls]
mov rcx, qword [rbp - 0x58]
mov rax, qword [rcx]
call qword [rax + InitCommonControls]
mov r13d, 0xfffffffd
jmp 0x180115623
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
movdqa xmm1, xmmword [0x1801c14e0]
movdqu xmmword [rbp - 0x18], xmm1
mov word [rbp - 0x28], si
mov r8d, InitCommonControls
lea rdx, str.OleAut32.dll
lea rcx, [rbp - 0x28]
call fcn.1800055c0
nop
call fcn.18005a450
mov rcx, rax
lea rdx, [rbp - 0x28]
call fcn.18005a530
mov rbx, rax
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x18011570b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180115706
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180115706
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18017df04
movdqa xmm0, xmmword [0x1801c14e0]
movdqu xmmword [rbp - 0x18], xmm0
mov word [rbp - 0x28], si
test rbx, rbx
jne 0x18011573e
mov rcx, qword [rbp - 0x60]
mov rax, qword [rcx]
call qword [rax + InitCommonControls]
mov rcx, qword [rbp - 0x58]
mov rax, qword [rcx]
call qword [rax + InitCommonControls]
lea r13d, [rbx - 4]
jmp 0x180115623
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 0x180115fd8
test rax, rax
je 0x180115fd8
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x180115fbf
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 0x180115fb0
cmp qword [rbp - 0x50], 0
je 0x180115fb0
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 0x180115861
mov r8, qword [rbp - 0x40]
test r8, r8
je 0x180115861
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 0x180115853
movzx eax, word [r8 + rcx]
test ax, ax
je 0x180115853
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x180115830
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 0x180115890
lea rdx, [rbp + 0xf0]
lea rcx, [rbp]
call fcn.1800055c0
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, [0x1801b992c]
lea rcx, [rbp]
call fcn.180056480
mov r8, rax
cmp rax, 0xffffffffffffffff
je 0x18011596f
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.1800055c0
or r14d, 1
mov dword [rsp + 0x50], r14d
lea rcx, [rbp - 0x28]
call fcn.180005540
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.180043680
test al, al
je 0x1801159a4
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.180115150
test eax, eax
je 0x180115eff
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 0x180115aa0
lea rdx, [rbp + 0xf0]
lea rcx, [rbp + 0x40]
call fcn.1800055c0
lea rdx, [rbp]
cmp qword [rbp + 0x18], 8
cmovae rdx, qword [rbp]
mov r8, qword [rbp + 0x10]
lea rcx, [rbp + 0xc8]
call fcn.1800055c0
mov r14, qword [rbp + 0x50]
test r14, r14
je 0x180115eaf
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 0x180115af0
mov r14, qword [rbp + 0x50]
mov rbx, qword [rsp + 0x58]
mov rdi, qword [rbp - 0x80]
test r14, r14
je 0x180115eaf
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 0x180115bd1
mov r8, qword [rbp - 0x40]
test r8, r8
je 0x180115bd1
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 0x180115bc3
movzx eax, word [rcx + r8]
test ax, ax
je 0x180115bc3
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x180115ba0
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 0x180115be5
lea rdx, [rbp + 0xf2]
lea rdx, [rdx + rax*2]
lea rax, [rbp + 0xf0]
lea rcx, [rbp + 0xf0]
cmp rcx, rdx
je 0x180115c1f
nop dword [rax]
cmp word [rax], 0x3a
je 0x180115c1f
add rax, 2
cmp rax, rdx
jne 0x180115c10
cmp rax, rdx
je 0x180115c5f
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 0x180115c5f
movzx edx, word [rcx]
cmp dx, 0x3a
je 0x180115c53
mov word [rax], dx
add rax, 2
add rcx, 2
inc r8
cmp r8, r9
jne 0x180115c43
test rax, rax
je 0x180115c67
mov word [rax], si
lea rax, [rbp + 0xf0]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], si
jne 0x180115c75
lea rdx, [rbp + 0xf0]
lea rcx, [rbp + 0x60]
call fcn.1800055c0
mov r14, qword [rbp + 0x70]
test r14, r14
je 0x180115cdb
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 0x180115ca0
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 0x180115d71
mov r8, qword [rbp - 0x40]
test r8, r8
je 0x180115d71
mov edx, 0x7f
lea rcx, [rbp + 0xf0]
lea rax, [rbp + 0xf0]
sub r8, rax
nop
lea rax, [rdx + 0x7fffff7f]
test rax, rax
je 0x180115d63
movzx eax, word [rcx + r8]
test ax, ax
je 0x180115d63
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x180115d40
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 0x180115d85
lea rdx, [rbp + 0xf0]
lea rcx, [rbp + 0x20]
call fcn.1800055c0
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 0x180115e06
mov r8d, dword [rbp - 0x40]
lea rdx, [0x1801b2980]
lea rcx, [rbp + 0x80]
call fcn.180043c80
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 0x180115e9e
mov qword [rbp - 0x68], rbx
lea rdx, [rbp + 0x20]
mov rcx, rbx
call fcn.180005440
nop
lea rcx, [rbx + 0x20]
lea rdx, [rbp + 0x40]
call fcn.180005440
nop
lea rcx, [rbx + 0x40]
lea rdx, [rbp + 0x60]
call fcn.180005440
nop
lea rcx, [rbx + 0x60]
lea rdx, [rbp + 0x80]
call fcn.180005440
nop
movzx eax, byte [rbp + 0xa0]
mov byte [rbx + 0x80], al
lea rcx, [rbx + 0x88]
lea rdx, [rbp + 0xa8]
call fcn.180005440
nop
lea rcx, [rbx + 0xa8]
lea rdx, [rbp + 0xc8]
call fcn.180005440
nop
add qword [r14 + 8], 0xc8
jmp 0x180115eb1
lea r8, [rbp + 0x20]
mov rdx, rbx
mov rcx, r14
call fcn.180108d30
jmp 0x180115eb1
xor esi, esi
lea rcx, [rbp + 0xc8]
call fcn.180005540
nop
lea rcx, [rbp + 0xa8]
call fcn.180005540
nop
lea rcx, [rbp + 0x80]
call fcn.180005540
nop
lea rcx, [rbp + 0x60]
call fcn.180005540
nop
lea rcx, [rbp + 0x40]
call fcn.180005540
nop
lea rcx, [rbp + 0x20]
call fcn.180005540
mov rbx, qword [rsp + 0x58]
mov r14d, dword [rsp + 0x50]
mov rcx, qword [rbp - 0x50]
mov rax, qword [rcx]
call qword [rax + InitCommonControls]
nop
cmp r12, 8
jb 0x180115f41
lea rdx, [r12*2 + 2]
mov rax, r15
cmp rdx, 0x1000
jb 0x180115f39
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180115fa2
mov rcx, r15
call fcn.18017df04
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x10], 7
mov word [rbp - 0x28], si
mov rdx, qword [rbp + 0x18]
cmp rdx, 8
jb 0x180115f8d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180115f88
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180115fa9
call fcn.18017df04
mov qword [rbp + 0x10], rsi
mov qword [rbp + 0x18], 7
mov word [rbp], si
jmp 0x18011577f
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 0x180115fbf
mov rax, qword [rcx]
call qword [rax + InitCommonControls]
mov rcx, qword [rbp - 0x60]
mov rax, qword [rcx]
call qword [rax + InitCommonControls]
mov rcx, qword [rbp - 0x58]
mov rax, qword [rcx]
call qword [rax + InitCommonControls]
jmp 0x180115623
mov rcx, qword [rbp - 0x60]
mov rax, qword [rcx]
call qword [rax + InitCommonControls]
mov rcx, qword [rbp - 0x58]
mov rax, qword [rcx]
call qword [rax + InitCommonControls]
mov r13d, 0xfffffffb
jmp 0x180115623
mov eax, 0xfffffffe
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.18017dee0
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