Function at 0x180070320
Capabilities:
Reference sql statements

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov rsi, rcx
mov rax, qword [rdx + 8]
cmp qword [rdx], 0
mov qword [rdx], 0
je 0x180070349
test rax, rax
jne 0x18007035b
jmp 0x1800703ac
mov rax, qword [rdx + 0x10]
cmp rax, qword [rdx + 0x18]
je 0x1800703ac
lea rcx, [rax + 0x10]
mov qword [rdx + 0x10], rcx
mov rcx, qword [rdx + 0x20]
mov r8, qword [rax]
mov r9, qword [rax + 8]
mov rdx, qword [rcx]
lea rcx, [rsp + 0x20]
call fcn.18012b7d0
cmp qword [rsp + 0x20], 0
movups xmm0, xmmword [rsp + 0x28]
movups xmm1, xmmword [rsp + 0x38]
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x80], xmm1
je 0x180070438
movaps xmm0, xmmword [rsp + 0x70]
movaps xmm1, xmmword [rsp + 0x80]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
jmp 0x180070429
movzx eax, byte [0x18021ea38]
mov rcx, qword [0x18021e9c0]
test rcx, rcx
jne 0x1800703d8
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x1800706b6
mov rcx, rax
mov qword [0x18021e9c0], rax
mov r8d, 0x25
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x1800706b6
movups xmm0, xmmword [0x1801def28]
movups xmmword [rax + 0x10], xmm0
movups xmm0, xmmword [str.Expected_current_field_to_not_be_NoneSOFTWAREMicrosoftCryptographyMachineGuidSELECT_SerialNumber_FROM_Win32_PhysicalMediaCould_not_retrieve_UuidSELECT_MACAddress_from_Win32_NetworkAdapter_WHERE_MACAddress_IS_NOT_NULL]
movups xmmword [rax], xmm0
movabs rcx, 0x656e6f4e20656220
mov qword [rax + 0x1d], rcx
mov byte [rsi], 0xb
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], 0x25
mov qword [rsi + 0x18], 0x25
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
movaps xmm0, xmmword [rsp + 0x70]
movaps xmm1, xmmword [rsp + 0x80]
movaps xmmword [rsp + 0x60], xmm1
movaps xmmword [rsp + 0x50], xmm0
movzx r14d, byte [rsp + 0x50]
cmp r14, 0xe
ja case.default.0x180070469
lea rax, [0x1800706c8]
movsxd rcx, dword [rax + r14*4]
add rcx, rax
jmp rcx
mov rax, qword [rsp + 0x68]
mov qword [rsi + 0x18], rax
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rsi + 8], xmm0
mov byte [rsi], 0x11
mov al, 1
mov cl, 1
cmp r14b, 2
jne 0x18007053b
jmp 0x180070631
lea rax, [rsp + 0x50]
mov qword [rsp + 0x90], rax
lea rax, [0x180130220]
mov qword [rsp + 0x98], rax
lea rax, str.description___is_deprecated__use_Display
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 1
mov qword [rsp + 0x40], 0
lea rax, [rsp + 0x90]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 1
lea rcx, [rsp + 0x70]
lea rdx, [rsp + 0x20]
call fcn.18001dcc0
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [rsp + 0x27], xmm0
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x37], rax
mov byte [rsi], 0x10
movups xmm0, xmmword [rsp + 0x20]
mov rax, qword [rsp + 0x2f]
mov qword [rsi + 0x10], rax
mov rax, qword [rsp + 0x37]
mov qword [rsi + 0x18], rax
movups xmmword [rsi + 1], xmm0
mov al, 1
xor ecx, ecx
movzx r14d, byte [rsp + 0x50]
cmp r14b, 2
je 0x180070631
movzx ecx, r14b
cmp ecx, 0xe
jne 0x180070581
test al, al
je 0x180070429
mov rsi, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x68]
mov rcx, rsi
call fcn.180070710
cmp qword [rsp + 0x60], 0
je 0x180070429
mov rcx, qword [0x18021e9c0]
xor edx, edx
mov r8, rsi
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x180070429
lea rcx, [rsp + 0x50]
call fcn.180070800
jmp 0x180070429
mov byte [rsp + 0x20], 8
jmp 0x180070611
movsx rax, byte [rsp + 0x51]
jmp 0x1800705b3
movsx rax, word [rsp + 0x52]
jmp 0x1800705b3
movsxd rax, dword [rsp + 0x54]
jmp 0x1800705b3
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov byte [rsp + 0x20], 2
jmp 0x180070611
movss xmm0, dword [rsp + 0x54]
cvtss2sd xmm0, xmm0
jmp 0x1800705d1
movsd xmm0, qword [rsp + 0x58]
movsd qword [rsp + 0x28], xmm0
mov byte [rsp + 0x20], 3
jmp 0x180070611
movzx eax, byte [rsp + 0x51]
mov byte [rsp + 0x21], al
mov byte [rsp + 0x20], 0
jmp 0x180070611
movzx eax, byte [rsp + 0x51]
jmp 0x180070607
movzx eax, word [rsp + 0x52]
jmp 0x180070607
mov eax, dword [rsp + 0x54]
jmp 0x180070607
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov byte [rsp + 0x20], 1
lea rdx, [rsp + 0x20]
lea r8, [rsp + 0x70]
mov rcx, rsi
call fcn.180185220
mov al, 1
xor ecx, ecx
cmp r14b, 2
jne 0x18007053b
cmp qword [rsp + 0x60], 0
sete al
or cl, al
jne 0x180070429
mov r8, qword [rsp + 0x58]
mov rcx, qword [0x18021e9c0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x180070429
mov rdi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x68]
mov r15, qword [rsp + 0x60]
mov byte [rsp + 0x20], 0xa
lea rdx, [rsp + 0x20]
lea r8, [rsp + 0x70]
mov rcx, rsi
call fcn.180185220
mov rcx, rdi
mov rdx, rbx
call fcn.180070710
test r15, r15
je 0x1800706a3
mov rcx, qword [0x18021e9c0]
xor edx, edx
mov r8, rdi
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor eax, eax
xor ecx, ecx
cmp r14b, 2
jne 0x18007053b
jmp 0x180070631
mov ecx, 1
mov edx, 0x25
call fcn.1801828e0
ud2