Function at 0x140036940
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x3b0]
sub rsp, 0x4b0
mov rax, qword [0x14012a210]
xor rax, rsp
mov qword [rbp + 0x3a0], rax
mov r14, r9
mov rsi, rdx
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x190]
call fcn.1400a83f0
lea r8, str.SELECT_MACAddress_FROM_Win32_NetworkAdapterConfiguration_WHERE_IPEnabled__True
mov edx, 0x104
lea rcx, [rbp + 0x190]
call fcn.1400b81fc
cmp byte [rbp + 0x400], 0
jne 0x1400369c5
lea r8, str.SELECT_MACAddress_FROM_Win32_NetworkAdapterConfiguration_WHERE_MACAddress____null
mov edx, 0x104
lea rcx, [rbp + 0x190]
call fcn.1400b81fc
xor r12d, r12d
mov qword [rsp + 0x78], r12
mov rsi, qword [rsi]
lea rcx, [rbp + 0x190]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rdi, rax
mov qword [rsp + 0x48], rax
test rax, rax
je 0x140036dc6
lea rcx, [0x140100ce8]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
mov qword [rsp + 0x70], rax
test rax, rax
je 0x140036dd1
mov rax, qword [rsi]
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], r12
lea r9d, [r12 + 0x20]
mov r8, rdi
mov rdx, rbx
mov rcx, rsi
call qword [rax + SHCreateDirectory]
mov r15d, eax
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test r15d, r15d
js 0x140036c6d
lea r15d, [r12 + 1]
mov qword [rsp + 0x48], r12
mov dword [rsp + 0x70], r12d
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x48]
mov edx, 0x2710
mov r8d, 1
call qword [rax + 0x20]
test eax, eax
jne 0x140036c5d
cmp dword [rsp + 0x70], 1
jne 0x140036a60
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x30]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x30]
xor r8d, r8d
lea rdx, str.MACAddress
call qword [rax + 0x20]
mov r15d, eax
test eax, eax
js 0x140036c37
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x80]
call fcn.1400a83f0
mov r9, qword [rsp + 0x38]
lea r8, [0x140103020]
mov edx, 0x208
lea rcx, [rbp - 0x80]
call fcn.140036160
lea rax, [rbp - 0x80]
mov r10, 0xffffffffffffffff
inc r10
cmp word [rax + r10*2], 0
jne 0x140036b14
test r10, r10
je 0x140036c31
mov r11, qword [r14 + 8]
mov r8, qword [r14]
cmp r11, r8
je 0x140036b88
mov r9, r8
cmp qword [r8 + 0x18], 8
jb 0x140036b41
mov r9, qword [r8]
mov rdx, qword [r8 + 0x10]
cmp rdx, r10
jne 0x140036b76
lea rcx, [rbp - 0x80]
test rdx, rdx
je 0x140036b7f
lea rax, [rbp - 0x80]
sub r9, rax
nop word [rax + rax]
movzx eax, word [rcx]
cmp word [r9 + rcx], ax
jne 0x140036b76
add rcx, 2
sub rdx, 1
je 0x140036b7f
jmp 0x140036b60
add r8, 0x20
cmp r8, r11
jne 0x140036b34
cmp r11, r8
jne 0x140036c37
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], r12w
mov r8, r10
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x50]
call fcn.140011160
nop
mov rdx, qword [r14 + 8]
cmp rdx, qword [r14 + 0x10]
je 0x140036be0
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x60]
movups xmmword [rdx + 0x10], xmm1
mov edx, 7
mov word [rsp + 0x50], r12w
add qword [r14 + 8], 0x20
jmp 0x140036bf2
lea r8, [rsp + 0x50]
mov rcx, r14
call fcn.140019710
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x140036c37
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140036c2a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140036ddc
call fcn.1400a59a4
jmp 0x140036c37
mov r15d, 0x80041001
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140036c4d
mov qword [rsp + 0x48], r12
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x140036a60
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140036c6d
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rbx, qword [r14]
cmp rbx, qword [r14 + 8]
je 0x140036d82
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.140012240
nop
mov r11, qword [0x1401329c0]
mov r8, qword [0x1401329b8]
mov rdi, qword [rsp + 0x68]
mov r10, qword [rsp + 0x50]
cmp r11, r8
je 0x140036d04
mov rsi, qword [rsp + 0x60]
nop word [rax + rax]
lea rax, [rsp + 0x50]
cmp rdi, 8
cmovae rax, r10
mov r9, r8
cmp qword [r8 + 0x18], 8
jb 0x140036cca
mov r9, qword [r8]
mov rdx, qword [r8 + 0x10]
cmp rdx, rsi
jne 0x140036cf6
test rdx, rdx
je 0x140036cff
sub r9, rax
nop dword [rax + rax]
movzx ecx, word [rax]
cmp word [r9 + rax], cx
jne 0x140036cf6
add rax, 2
sub rdx, 1
je 0x140036cff
jmp 0x140036ce0
add r8, 0x20
cmp r8, r11
jne 0x140036cb0
cmp r11, r8
jne 0x140036d42
cmp r11, qword [0x1401329c8]
je 0x140036d24
lea rdx, [rsp + 0x50]
mov rcx, r11
call fcn.140012240
add qword [0x1401329c0], 0x20
jmp 0x140036d38
lea r8, [rsp + 0x50]
mov rdx, r11
lea rcx, [0x1401329b8]
call fcn.140037fd0
mov r10, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x68]
cmp rdi, 8
jb 0x140036d79
lea rdx, [rdi*2 + 2]
mov rax, r10
cmp rdx, 0x1000
jb 0x140036d71
add rdx, 0x27
mov r10, qword [r10 - 8]
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140036dc0
mov rcx, r10
call fcn.1400a59a4
add rbx, 0x20
jmp 0x140036c70
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x140036d92
mov rax, qword [rcx]
call qword [rax + 0x10]
mov eax, r15d
mov rcx, qword [rbp + 0x3a0]
xor rcx, rsp
call fcn.1400a5460
lea r11, [rsp + 0x4b0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.1400b4704
nop
mov ecx, 0x8007000e
call fcn.140003f50
nop
mov ecx, 0x8007000e
call fcn.140003f50
nop
call fcn.1400b4704
int3