Function at 0x180044af0
Capabilities:
Reference sql statements

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0xb0], rbx
mov r13, rdx
movsxd r14, ecx
xor r15d, r15d
mov r12d, r15d
cmp qword [0x1800eeb30], r12
je 0x180044fb5
cmp qword [0x1800eeb28], r12
je 0x180044fb5
test ecx, ecx
js 0x180044fb0
cmp r14d, 9
jae 0x180044fb0
mov qword [rbp - 0x38], r15
mov rsi, r14
imul rsi, rsi, 0x38
lea rdx, str.SELECT_PNPDeviceID_FROM_Win32_NetworkAdapter_WHERE__MACAddress_IS_NOT_NULL__AND__NOT__PNPDeviceID_LIKE_ROOT___
mov rdx, qword [rsi + rdx]
lea rcx, [rbp - 0x30]
call fcn.180043490
mov rdi, rax
lea ecx, [r15 + 0x18]
call fcn.180074954
mov rbx, rax
mov qword [rbp + 0x50], rax
test rax, rax
je 0x180044b9e
mov qword [rax + 8], r15
mov dword [rax + 0x10], 1
lea rcx, [0x1800bd894]
call fcn.180092e20
mov qword [rbx], rax
jmp 0x180044ba1
mov rbx, r15
mov qword [rbp - 0x28], rbx
test rbx, rbx
jne 0x180044bb5
mov ecx, 0x8007000e
call fcn.180092c50
nop
mov rax, qword [rdi]
test rax, rax
je 0x180044bc2
mov r8, qword [rax]
jmp 0x180044bc5
mov r8, r15
mov rcx, qword [0x1800eeb30]
mov rax, qword [rcx]
lea rdx, [rbp - 0x38]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], r15
mov r9d, 0x30
mov rdx, qword [rbx]
call qword [rax + QueryPathOfRegTypeLib]
mov edi, eax
or eax, 0xffffffff
lock xadd dword [rbx + 0x10], eax
dec eax
jne 0x180044c1e
mov rcx, qword [rbx]
test rcx, rcx
je 0x180044c08
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x180044c16
call fcn.180073b34
mov rcx, rbx
call fcn.18007309c
mov qword [rbp - 0x28], r15
mov rbx, qword [rbp - 0x30]
test rbx, rbx
je 0x180044c64
or eax, 0xffffffff
lock xadd dword [rbx + 0x10], eax
dec eax
jne 0x180044c60
test rbx, rbx
je 0x180044c60
mov rcx, qword [rbx]
test rcx, rcx
je 0x180044c4a
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x180044c58
call fcn.180073b34
mov rcx, rbx
call fcn.18007309c
mov qword [rbp - 0x30], r15
test edi, edi
jns 0x180044c72
mov eax, 0xfffffffd
jmp 0x180044fba
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x180044fa5
nop
mov qword [rbp - 0x40], r15
mov dword [rbp + 0x50], r15d
test r13, r13
je 0x180044c97
cmp r12d, 0xa
jge 0x180044fa5
mov rax, qword [rcx]
lea rdx, [rbp + 0x50]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x40]
mov r8d, 1
or edx, 0xffffffff
call qword [rax + 0x20]
cmp dword [rbp + 0x50], 0
je 0x180044fa1
test r13, r13
je 0x180044f85
lea rdi, str.SELECT_PNPDeviceID_FROM_Win32_NetworkAdapter_WHERE__MACAddress_IS_NOT_NULL__AND__NOT__PNPDeviceID_LIKE_ROOT___
mov eax, dword [rsi + rdi + 8]
mov dword [r13 + 0xa00], eax
mov ebx, r15d
cmp dword [rsi + rdi + 8], ebx
jle 0x180044f85
lea rcx, [rbp - 0x18]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
mov ecx, ebx
test ebx, ebx
je 0x180044ef6
dec ecx
je 0x180044e85
dec ecx
je 0x180044e09
dec ecx
je 0x180044d95
dec ecx
jne 0x180044f6f
mov rcx, qword [rbp - 0x40]
mov rax, qword [rcx]
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rbp - 0x18]
xor r8d, r8d
mov rdx, qword [rsi + rdi + 0x30]
call qword [rax + 0x20]
mov r11d, pe_nt_image_headers64
movsxd rax, r12d
imul rax, rax, 0xa04
lea rcx, [rax + r13 + 0x800]
mov rdx, qword [rbp - 0x10]
sub rdx, rcx
nop dword [rax]
lea rax, [r11 + 0x7ffffefe]
test rax, rax
je 0x180044d83
movzx eax, word [rdx + rcx]
test ax, ax
je 0x180044d83
mov word [rcx], ax
add rcx, 2
dec r11
jne 0x180044d60
jmp 0x180044d88
test r11, r11
jne 0x180044d8c
sub rcx, 2
mov word [rcx], r15w
jmp 0x180044f6f
mov rcx, qword [rbp - 0x40]
mov rax, qword [rcx]
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rbp - 0x18]
xor r8d, r8d
mov rdx, qword [rsi + rdi + 0x28]
call qword [rax + 0x20]
mov r11d, pe_nt_image_headers64
movsxd rax, r12d
imul rax, rax, 0xa04
lea rcx, [rax + r13 + 0x600]
mov rdx, qword [rbp - 0x10]
sub rdx, rcx
lea rax, [r11 + 0x7ffffefe]
test rax, rax
je 0x180044df7
movzx eax, word [rcx + rdx]
test ax, ax
je 0x180044df7
mov word [rcx], ax
add rcx, 2
dec r11
jne 0x180044dd4
jmp 0x180044dfc
test r11, r11
jne 0x180044e00
sub rcx, 2
mov word [rcx], r15w
jmp 0x180044f6f
mov rcx, qword [rbp - 0x40]
mov rax, qword [rcx]
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rbp - 0x18]
xor r8d, r8d
mov rdx, qword [rsi + rdi + 0x20]
call qword [rax + 0x20]
mov r11d, pe_nt_image_headers64
movsxd rax, r12d
imul rax, rax, 0xa04
lea rcx, [rax + r13 + 0x400]
mov rdx, qword [rbp - 0x10]
sub rdx, rcx
nop dword [rax + rax]
lea rax, [r11 + 0x7ffffefe]
test rax, rax
je 0x180044e73
movzx eax, word [rcx + rdx]
test ax, ax
je 0x180044e73
mov word [rcx], ax
add rcx, 2
dec r11
jne 0x180044e50
jmp 0x180044e78
test r11, r11
jne 0x180044e7c
sub rcx, 2
mov word [rcx], r15w
jmp 0x180044f6f
mov rcx, qword [rbp - 0x40]
mov rax, qword [rcx]
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rbp - 0x18]
xor r8d, r8d
mov rdx, qword [rsi + rdi + 0x18]
call qword [rax + 0x20]
mov r11d, pe_nt_image_headers64
movsxd rax, r12d
imul rax, rax, 0xa04
lea rcx, [rax + r13 + 0x200]
mov rdx, qword [rbp - 0x10]
sub rdx, rcx
lea rax, [r11 + 0x7ffffefe]
test rax, rax
je 0x180044ee7
movzx eax, word [rcx + rdx]
test ax, ax
je 0x180044ee7
mov word [rcx], ax
add rcx, 2
dec r11
jne 0x180044ec4
jmp 0x180044eec
test r11, r11
jne 0x180044ef0
sub rcx, 2
mov word [rcx], r15w
jmp 0x180044f6f
mov rcx, qword [rbp - 0x40]
mov rax, qword [rcx]
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rbp - 0x18]
xor r8d, r8d
mov rdx, qword [rsi + rdi + 0x10]
call qword [rax + 0x20]
mov r11d, pe_nt_image_headers64
movsxd r8, r12d
imul r8, r8, 0xa04
add r8, r13
mov rcx, r8
mov rdx, qword [rbp - 0x10]
sub rdx, r8
lea rax, [r11 + 0x7ffffefe]
test rax, rax
je 0x180044f56
movzx eax, word [rcx + rdx]
test ax, ax
je 0x180044f56
mov word [rcx], ax
add rcx, 2
dec r11
jne 0x180044f33
jmp 0x180044f5b
test r11, r11
jne 0x180044f5f
sub rcx, 2
mov word [rcx], r15w
mov rdx, r8
mov ecx, r14d
call fcn.180043fb0
nop
lea rcx, [rbp - 0x18]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
inc ebx
cmp ebx, dword [rsi + rdi + 8]
jl 0x180044ce5
inc r12d
mov rcx, qword [rbp - 0x40]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x38]
test rcx, rcx
jne 0x180044c80
jmp 0x180044fa5
mov rcx, qword [rbp - 0x38]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov eax, r12d
jmp 0x180044fba
or eax, 0xffffffff
jmp 0x180044fba
mov eax, 0xfffffffe
mov rbx, qword [rsp + 0xb0]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret