Function at 0x140004190
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x80], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
lea r8, [rbp + 0xc8]
movabs rax, 0x7a5db90d33787107
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], r8
mov rsi, qword [r8]
xor rsi, rax
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], rsi
xor r13d, r13d
mov qword [r8], r13
mov rsi, qword [rdx]
cmp rsi, qword [rdx + 8]
jne 0x14000420c
mov r13d, 0xc0000001
jmp 0x140004812
xor eax, eax
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp - 0x70], r13
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], r13
mov qword [rbp - 0x50], 0xf
mov byte [rbp - 0x68], al
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x40], r13
mov qword [rbp - 0x38], r13
mov qword [rbp - 0x30], r13
mov qword [rbp - 0x28], r13
mov qword [rbp - 0x20], r13
mov qword [rbp - 0x18], r13
mov qword [rbp - 0x10], r13
mov dword [rbp - 8], r13d
lea rax, str..LenovoDiagnosticsDriver
mov qword [rbp], rax
mov rdx, rcx
lea rcx, [rbp + 0x20]
call fcn.1400059f0
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.140009480
test eax, eax
je 0x140004296
mov eax, 0x5a4d
cmp word [rsi], ax
je 0x1400042bb
lea rbx, [rbp + 0xc8]
mov rdi, qword [rbx]
mov qword [rbx], r13
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], rdi
mov r13d, 0xc0000001
jmp 0x1400047c3
movsxd r15, dword [rsi + 0x3c]
add r15, rsi
mov qword [rsp + 0x60], r15
mov eax, 0x8664
cmp word [r15 + 4], ax
je 0x1400042e5
lea rdi, [rbp + 0xc8]
mov rbx, qword [rdi]
mov qword [rdi], r13
jmp 0x1400046c5
mov eax, dword [r15 + 0x50]
and eax, 0xfffff000
add eax, 0x1000
mov dword [rsp + 0x50], eax
mov ebx, eax
mov r9d, 4
mov r8d, 0x3000
mov edx, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r12, rax
test rax, rax
jne 0x140004329
lea rdi, [rbp + 0xc8]
mov rbx, qword [rdi]
mov qword [rdi], r13
jmp 0x1400046c5
mov ecx, dword [rbp - 0xc]
mov rax, qword [rbp - 0x38]
mov edi, dword [rbp - 8]
add rdi, rax
lea rdx, [rbp + 0xc8]
mov r14, qword [rdx]
mov qword [rdx], r13
mov r13, 0xffffffffffffffff
add rcx, rax
jne 0x14000450c
mov rax, r13
mov qword [rsp + 0x58], rax
mov qword [rdx], r14
mov qword [rsp + 0x20], 0x40
mov r9, rbx
mov r8, rax
mov rdx, rdi
lea rcx, [rbp - 0x70]
call fcn.140008d50
movzx ebx, word [r15 + 0x14]
add rbx, 0x24
xor edi, edi
cmp word [r15 + 6], di
je 0x1400043b9
add rbx, r15
nop
mov eax, dword [rbx + 4]
test eax, eax
je 0x1400043aa
mov ecx, dword [rbx]
add rcx, r12
mov edx, dword [rbx + 8]
add rdx, rsi
mov r8d, eax
call sub.VCRUNTIME140.dll_memcpy
inc edi
add rbx, 0x28
movzx eax, word [r15 + 6]
cmp edi, eax
jne 0x140004390
mov r11, qword [rsp + 0x58]
sub r11, qword [r15 + 0x30]
je 0x140004447
cmp dword [r15 + 0xb4], 0
je 0x140004447
mov r9d, dword [r15 + 0xb0]
add r9, r12
cmp dword [r9], 0
je 0x140004447
mov ebx, 0xf000
mov edi, 0xa000
nop dword [rax]
mov eax, dword [r9 + 4]
sub rax, 8
shr rax, 1
lea r8, [r9 + 8]
test eax, eax
je 0x14000443a
mov r10d, eax
nop word [rax + rax]
movzx edx, word [r8]
movzx eax, dx
and ax, bx
cmp ax, di
jne 0x140004430
and edx, 0xfff
mov ecx, dword [r9]
lea rax, [r12 + rdx]
add qword [rcx + rax], r11
add r8, 2
sub r10, 1
jne 0x140004410
mov eax, dword [r9 + 4]
add r9, rax
cmp dword [r9], 0
jne 0x1400043f0
cmp dword [r15 + 0x94], 0
je 0x14000463d
mov r13d, dword [r15 + 0x90]
add r13, r12
cmp dword [r13 + 0xc], 0
je 0x140004636
lea r8, [rbp + 0xc8]
nop dword [rax]
nop word [rax + rax]
mov edx, dword [r13]
mov ecx, dword [r13 + 0x10]
lea r14, [rcx + r12]
lea rax, [rdx + r12]
test rax, rax
cmovne ecx, edx
lea rsi, [rcx + r12]
mov rax, qword [rsi]
test rax, rax
je 0x140004622
mov rcx, rax
nop dword [rax]
mov r15, qword [r8]
mov qword [r8], 0
test rax, rax
jns 0x140004592
movzx ebx, cx
mov word [rsp + 0x4b], 0x65
mov dword [rsp + 0x40], 0x736f746e
mov dword [rsp + 0x44], 0x6c6e726b
mov word [rsp + 0x48], 0x652e
mov byte [rsp + 0x4a], 0x78
mov byte [rsp + 0x4d], 0
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdi, rax
test rax, rax
je 0x140004697
mov edx, ebx
jmp 0x1400045d9
xor edx, edx
mov qword [rbp + 0x10], rdx
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rbx
mov eax, 0xffffffff
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], rdx
mov qword [rbp + 0x40], rdx
lea rax, [rbp + 0x10]
mov qword [rbp + 0x48], rax
mov dword [rbp - 0x78], edx
mov qword [rsp + 0x38], rdx
lea rax, [rbp - 0x78]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x30
lea rax, [rbp + 0x20]
mov qword [rsp + 0x20], rax
mov r9d, 0x30
lea r8, [rbp + 0x20]
mov edx, 0x222000
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rax, qword [rbp + 0x10]
mov qword [rsp + 0x58], rax
lea rcx, [rbp + 0xc8]
mov qword [rcx], r14
test rax, rax
jne 0x14000435e
mov rdx, rbx
jmp 0x1400046a5
lea rbx, [rcx + 2]
mov word [rsp + 0x7b], 0x65
mov dword [rsp + 0x70], 0x736f746e
mov dword [rsp + 0x74], 0x6c6e726b
mov word [rsp + 0x78], 0x652e
mov byte [rsp + 0x7a], 0x78
mov byte [rsp + 0x7d], 0
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdi, rax
test rax, rax
je 0x140004697
lea rdx, [rbx + r12]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, qword [rbp - 0x38]
sub rbx, rdi
add rbx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea r8, [rbp + 0xc8]
test rbx, rbx
mov qword [r8], r15
je 0x1400046a1
mov qword [r14], rbx
add rsi, 8
add r14, 8
mov rax, qword [rsi]
mov rcx, rax
test rax, rax
jne 0x1400044b0
add r13, 0x14
cmp dword [r13 + 0xc], 0
jne 0x140004480
mov r15, qword [rsp + 0x60]
mov r13, 0xffffffffffffffff
mov esi, dword [r15 + 0x28]
add rsi, qword [rsp + 0x58]
lea rbx, [rbp + 0xc8]
mov r15, qword [rbx]
mov qword [rbx], 0
mov word [rsp + 0x7b], 0x65
mov dword [rsp + 0x70], 0x736f746e
mov dword [rsp + 0x74], 0x6c6e726b
mov word [rsp + 0x78], 0x652e
mov byte [rsp + 0x7a], 0x78
mov byte [rsp + 0x7d], 0
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdi, rax
test rax, rax
jne 0x1400046dd
xor r14d, r14d
jmp 0x140004703
lea rax, [rbp + 0xc8]
mov qword [rax], r15
mov edx, dword [rsp + 0x50]
mov r8d, 0x8000
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_VirtualFree]
lea rdi, [rbp + 0xc8]
mov rbx, qword [rdi]
mov qword [rdi], 0
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi], rbx
mov r13d, 0xc0000001
jmp 0x1400047c3
lea rdx, str.RtlCopyMemory
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
mov rax, qword [rbp - 0x38]
sub rax, rdi
add r14, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [rbx], r15
mov ebx, dword [rsp + 0x50]
mov qword [rsp + 0x20], rbx
mov r9, r12
mov rdi, qword [rsp + 0x58]
mov r8, rdi
mov rdx, r14
lea rcx, [rbp - 0x70]
call fcn.140008d50
mov edx, ebx
mov r8d, 0x8000
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_VirtualFree]
lea rax, [rbp + 0xc8]
mov rbx, qword [rax]
xor r14d, r14d
mov qword [rax], r14
test rsi, rsi
je 0x1400047ac
mov qword [rbp + 0x18], r14
mov qword [rbp + 0x50], rsi
mov qword [rbp + 0x58], rdi
mov qword [rbp + 0x60], r14
mov qword [rbp + 0x68], r14
mov qword [rbp + 0x70], r14
lea rax, [rbp + 0x18]
mov qword [rbp + 0x78], rax
mov dword [rbp - 0x74], r14d
mov qword [rsp + 0x38], r14
lea rax, [rbp - 0x74]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x30
lea rax, [rbp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0x30
lea r8, [rbp + 0x50]
mov edx, 0x222000
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov r13, qword [rbp + 0x18]
lea rdi, [rbp + 0xc8]
mov qword [rdi], r14
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi], rbx
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x140004801
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400047fc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400047fc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000c244
lea r8, [rbp + 0xc8]
movabs rax, 0x7a5db90d33787107
xor rax, qword [rsp + 0x68]
mov qword [r8], rax
mov eax, r13d
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.14000c1e0
mov rbx, qword [rsp + 0x1e0]
add rsp, 0x190
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret