Function at 0x18038f090
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 [0x1804e0010]
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 [0x1803f7240]
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.180005cd0
nop
call fcn.18017dfc0
mov rcx, rax
lea rdx, [rbp - 0x28]
call fcn.18017e0a0
mov rbx, rax
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x18038f167
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18038f162
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18038f162
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180393fb0
movdqa xmm0, xmmword [0x1803f7240]
movdqu xmmword [rbp - 0x18], xmm0
mov word [rbp - 0x28], r15w
test rbx, rbx
je 0x18038fc97
lea rdx, [0x1803de948]
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 0x18038fc97
test rdi, rdi
je 0x18038fc97
test rax, rax
je 0x18038fc97
lea rcx, [rsp + 0x54]
call fcn.1801648f0
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, [0x1803c18a0]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1803c1970]
call rsi
test eax, eax
js 0x18038f2bd
mov rcx, qword [rbp - 0x58]
test rcx, rcx
je 0x18038f2bd
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 0x18038f2b3
mov rcx, qword [rbp - 0x60]
test rcx, rcx
je 0x18038f2b3
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 0x18038f2d5
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.180164a10
mov eax, r13d
jmp 0x18038fc9c
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, [0x1803f6090]
call qword [rax + 0xa0]
test eax, eax
jns 0x18038f324
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 0x18038f2c3
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
movdqa xmm1, xmmword [0x1803f7240]
movdqu xmmword [rbp - 0x18], xmm1
mov word [rbp - 0x28], si
mov r8d, 0xc
lea rdx, str.OleAut32.dll
lea rcx, [rbp - 0x28]
call fcn.180005cd0
nop
call fcn.18017dfc0
mov rcx, rax
lea rdx, [rbp - 0x28]
call fcn.18017e0a0
mov rbx, rax
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x18038f3ab
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18038f3a6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18038f3a6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180393fb0
movdqa xmm0, xmmword [0x1803f7240]
movdqu xmmword [rbp - 0x18], xmm0
mov word [rbp - 0x28], si
test rbx, rbx
jne 0x18038f3de
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 0x18038f2c3
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 0x18038fc78
test rax, rax
je 0x18038fc78
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x18038fc5f
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 0x18038fc50
cmp qword [rbp - 0x50], 0
je 0x18038fc50
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 0x18038f501
mov r8, qword [rbp - 0x40]
test r8, r8
je 0x18038f501
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 0x18038f4f3
movzx eax, word [r8 + rcx]
test ax, ax
je 0x18038f4f3
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x18038f4d0
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 0x18038f530
lea rdx, [rbp + 0xf0]
lea rcx, [rbp]
call fcn.180005cd0
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, [0x1803daf50]
lea rcx, [rbp]
call fcn.18015f6c0
mov r8, rax
cmp rax, 0xffffffffffffffff
je 0x18038f60f
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.180005cd0
or r14d, 1
mov dword [rsp + 0x50], r14d
lea rcx, [rbp - 0x28]
call fcn.180005c50
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.180159c10
test al, al
je 0x18038f644
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.18038edf0
test eax, eax
je 0x18038fb9f
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 0x18038f740
lea rdx, [rbp + 0xf0]
lea rcx, [rbp + 0x40]
call fcn.180005cd0
lea rdx, [rbp]
cmp qword [rbp + 0x18], 8
cmovae rdx, qword [rbp]
mov r8, qword [rbp + 0x10]
lea rcx, [rbp + 0xc8]
call fcn.180005cd0
mov r14, qword [rbp + 0x50]
test r14, r14
je 0x18038fb4f
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 0x18038f790
mov r14, qword [rbp + 0x50]
mov rbx, qword [rsp + 0x58]
mov rdi, qword [rbp - 0x80]
test r14, r14
je 0x18038fb4f
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 0x18038f871
mov r8, qword [rbp - 0x40]
test r8, r8
je 0x18038f871
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 0x18038f863
movzx eax, word [rcx + r8]
test ax, ax
je 0x18038f863
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x18038f840
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 0x18038f885
lea rdx, [rbp + 0xf2]
lea rdx, [rdx + rax*2]
lea rax, [rbp + 0xf0]
lea rcx, [rbp + 0xf0]
cmp rcx, rdx
je 0x18038f8bf
nop dword [rax]
cmp word [rax], 0x3a
je 0x18038f8bf
add rax, 2
cmp rax, rdx
jne 0x18038f8b0
cmp rax, rdx
je 0x18038f8ff
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 0x18038f8ff
movzx edx, word [rcx]
cmp dx, 0x3a
je 0x18038f8f3
mov word [rax], dx
add rax, 2
add rcx, 2
inc r8
cmp r8, r9
jne 0x18038f8e3
test rax, rax
je 0x18038f907
mov word [rax], si
lea rax, [rbp + 0xf0]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], si
jne 0x18038f915
lea rdx, [rbp + 0xf0]
lea rcx, [rbp + 0x60]
call fcn.180005cd0
mov r14, qword [rbp + 0x70]
test r14, r14
je 0x18038f97b
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 0x18038f940
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 0x18038fa11
mov r8, qword [rbp - 0x40]
test r8, r8
je 0x18038fa11
mov edx, 0x7f
lea rcx, [rbp + 0xf0]
lea rax, [rbp + 0xf0]
sub r8, rax
nop
lea rax, [rdx + 0x7fffff7f]
test rax, rax
je 0x18038fa03
movzx eax, word [rcx + r8]
test ax, ax
je 0x18038fa03
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x18038f9e0
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 0x18038fa25
lea rdx, [rbp + 0xf0]
lea rcx, [rbp + 0x20]
call fcn.180005cd0
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 0x18038faa6
mov r8d, dword [rbp - 0x40]
lea rdx, [0x1803d2580]
lea rcx, [rbp + 0x80]
call fcn.18015a250
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 0x18038fb3e
mov qword [rbp - 0x68], rbx
lea rdx, [rbp + 0x20]
mov rcx, rbx
call fcn.180005900
nop
lea rcx, [rbx + 0x20]
lea rdx, [rbp + 0x40]
call fcn.180005900
nop
lea rcx, [rbx + 0x40]
lea rdx, [rbp + 0x60]
call fcn.180005900
nop
lea rcx, [rbx + 0x60]
lea rdx, [rbp + 0x80]
call fcn.180005900
nop
movzx eax, byte [rbp + 0xa0]
mov byte [rbx + 0x80], al
lea rcx, [rbx + 0x88]
lea rdx, [rbp + 0xa8]
call fcn.180005900
nop
lea rcx, [rbx + 0xa8]
lea rdx, [rbp + 0xc8]
call fcn.180005900
nop
add qword [r14 + 8], 0xc8
jmp 0x18038fb51
lea r8, [rbp + 0x20]
mov rdx, rbx
mov rcx, r14
call fcn.180387ab0
jmp 0x18038fb51
xor esi, esi
lea rcx, [rbp + 0xc8]
call fcn.180005c50
nop
lea rcx, [rbp + 0xa8]
call fcn.180005c50
nop
lea rcx, [rbp + 0x80]
call fcn.180005c50
nop
lea rcx, [rbp + 0x60]
call fcn.180005c50
nop
lea rcx, [rbp + 0x40]
call fcn.180005c50
nop
lea rcx, [rbp + 0x20]
call fcn.180005c50
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 0x18038fbe1
lea rdx, [r12*2 + 2]
mov rax, r15
cmp rdx, 0x1000
jb 0x18038fbd9
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18038fc42
mov rcx, r15
call fcn.180393fb0
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x10], 7
mov word [rbp - 0x28], si
mov rdx, qword [rbp + 0x18]
cmp rdx, 8
jb 0x18038fc2d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18038fc28
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18038fc49
call fcn.180393fb0
mov qword [rbp + 0x10], rsi
mov qword [rbp + 0x18], 7
mov word [rbp], si
jmp 0x18038f41f
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 0x18038fc5f
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 0x18038f2c3
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 0x18038f2c3
mov eax, 0xfffffffe
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.180393f50
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