Function at 0x14017c070
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xe0
mov rax, qword [0x1403e3c28]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r15, rdx
mov r12, rcx
xor r13d, r13d
mov dword [rbp - 0x79], r13d
mov r9, r8
cmp qword [r8 + 0x18], 0x10
jb 0x14017c0bc
mov r9, qword [r8]
mov rax, qword [r8 + 0x10]
mov qword [rbp - 0x29], r9
mov qword [rbp - 0x21], rax
mov qword [rbp - 0x69], sendto
lea rax, [rbp - 0x29]
mov qword [rbp - 0x61], rax
lea rax, str.SELECT_MaxHorizontalImageSize__MaxVerticalImageSize_FROM_WmiMonitorBasicDisplayParams_WHERE_InstanceName__
mov qword [rbp - 0x59], rax
mov qword [rbp - 0x51], reloc.WS2_32.dll_WSAGetLastError
movaps xmm0, xmmword [rbp - 0x69]
movdqa xmmword [rbp - 0x69], xmm0
movaps xmm1, xmmword [rbp - 0x59]
movdqa xmmword [rbp - 0x59], xmm1
lea r8, [rbp - 0x69]
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x49]
call fcn.140026130
mov edi, 1
mov dword [rbp - 0x79], edi
lea rsi, [rbp - 0x49]
cmp qword [rbp - 0x31], 0x10
jb 0x14017c20c
mov rsi, qword [rbp - 0x49]
test rsi, rsi
jne 0x14017c20c
mov qword [rbp - 0x69], r13
and edi, 0xfffffffe
mov dword [rbp - 0x79], edi
mov rdx, qword [rbp - 0x31]
cmp rdx, 0x10
jb 0x14017c177
inc rdx
mov rcx, qword [rbp - 0x49]
cmp rdx, 0x1000
jb 0x14017c172
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14017c284
mov rcx, r8
call fcn.140096c70
mov qword [rbp - 0x39], r13
mov qword [rbp - 0x31], sendto
mov byte [rbp - 0x49], 0
mov qword [rbp + 0x1f], r13
lea rax, [0x140343130]
mov qword [rbp - 0x19], rax
mov qword [rbp - 0x11], r15
lea rax, [rbp - 0x19]
mov qword [rbp + 0x1f], rax
mov rcx, qword [r12]
add rcx, 0x18
lea r8, [rbp - 0x19]
lea rdx, [rbp - 0x69]
call fcn.140179060
nop
mov rcx, qword [rbp + 0x1f]
test rcx, rcx
je 0x14017c1d5
mov rax, qword [rcx]
lea rdx, [rbp - 0x19]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [rbp + 0x1f], r13
mov rcx, qword [rbp - 0x69]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1401f11e0
lea r11, [rsp + 0xe0]
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
mov qword [rbp - 0x69], r13
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
mov r9d, 0xffffffff
mov r8, rsi
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov r14d, eax
lea edx, [rax - 1]
xor ecx, ecx
call qword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov rbx, rax
test rax, rax
je 0x14017c276
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], rax
mov r9d, 0xffffffff
mov r8, rsi
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, r14d
je 0x14017c276
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
mov rbx, r13
jmp 0x14017c276
mov qword [rbp - 0x69], rbx
test rbx, rbx
je 0x14017c28b
jmp 0x14017c136
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov ecx, 0x8007000e
call fcn.14010cf30
int3