Function at 0x140007c40
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov rax, qword [0x140068010]
xor rax, rsp
mov qword [rbp + 0x50], rax
mov r12, r8
mov r14, rdx
xor r15d, r15d
mov dword [rsp + 0x30], r15d
mov r8d, ecx
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
mov qword [rbp - 0x68], rax
test rax, rax
jne 0x140007ec0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp]
call fcn.14000a190
nop
movdqa xmm1, xmmword [0x14005e3c0]
movdqu xmmword [rsp + 0x70], xmm1
movdqa xmm2, xmmword [0x14005e260]
movdqu xmmword [rbp - 0x80], xmm2
mov dl, 0xe
mov r8b, 5
mov r9b, 4
mov r10b, 0x5b
mov r11b, 0x41
movdqa xmm0, xmm1
psrldq xmm0, 1
movd eax, xmm0
movd ecx, xmm1
xor al, cl
mov byte [rsp + 0x71], al
xor byte [rsp + 0x72], cl
xor byte [rsp + 0x73], cl
xor byte [rsp + 0x74], cl
xor byte [rsp + 0x75], cl
xor byte [rsp + 0x76], cl
xor byte [rsp + 0x77], cl
xor byte [rsp + 0x78], cl
xor byte [rsp + 0x79], cl
xor byte [rsp + 0x7a], cl
xor byte [rsp + 0x7b], cl
xor byte [rsp + 0x7c], cl
xor byte [rsp + 0x7d], cl
xor byte [rsp + 0x7e], cl
xor byte [rsp + 0x7f], cl
movd eax, xmm2
xor al, cl
mov byte [rbp - 0x80], al
xor byte [rbp - 0x7f], cl
xor byte [rbp - 0x7e], cl
xor byte [rbp - 0x7d], cl
xor byte [rbp - 0x7c], cl
xor byte [rbp - 0x7b], cl
xor byte [rbp - 0x7a], cl
xor byte [rbp - 0x79], cl
xor byte [rbp - 0x78], cl
xor byte [rbp - 0x77], cl
xor byte [rbp - 0x76], cl
xor byte [rbp - 0x75], cl
xor byte [rbp - 0x74], cl
xor byte [rbp - 0x73], cl
xor byte [rbp - 0x72], cl
xor byte [rbp - 0x71], cl
xor dl, cl
mov byte [rbp - 0x70], dl
xor r8b, cl
mov byte [rbp - 0x6f], r8b
xor r9b, cl
mov byte [rbp - 0x6e], r9b
xor r10b, cl
mov byte [rbp - 0x6d], r10b
xor r11b, cl
mov byte [rbp - 0x6c], r11b
mov byte [rbp - 0x6b], bl
lea rcx, [rsp + 0x71]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x140007d90
mov r9, rax
lea r8, [rsp + 0x71]
lea rcx, [rbp]
call fcn.140007800
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x18], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x28], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x18], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rbp + 0x18]
cmp rdx, 0x10
jb 0x140007e19
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007e14
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007e14
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140055f3c
mov byte [rsp + 0x30], 0x4c
mov al, 9
mov cl, 0x3e
movzx edx, cl
mov r8b, 0x23
movzx r9d, cl
xor r10d, r10d
xor al, 0x4c
mov byte [rsp + 0x31], al
xor cl, 0x4c
mov byte [rsp + 0x32], cl
xor dl, 0x4c
mov byte [rsp + 0x33], dl
xor r8b, 0x4c
mov byte [rsp + 0x34], r8b
xor r9b, 0x4c
mov byte [rsp + 0x35], r9b
mov byte [rsp + 0x36], r10b
lea rdx, [rbp - 0x28]
cmp qword [rbp - 0x10], 0x10
cmovae rdx, qword [rbp - 0x28]
lea r9d, [r10 + 0x10]
lea r8, [rsp + 0x31]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x14000831e
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007eb6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007eb6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140055f3c
jmp 0x14000831e
lea rcx, [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
xor eax, eax
mov qword [rbp - 0x60], rax
movabs rdi, 0x7fffffffffffffff
nop word [rax + rax]
mov r9d, 0x30
lea r8, [rbp - 0x58]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test rax, rax
je 0x1400082f6
cmp dword [rbp - 0x38], 0x1000
jne 0x1400082f6
mov eax, dword [rbp - 0x34]
cmp eax, 4
je 0x140007f1d
cmp eax, 0x40
jne 0x1400082f6
xorps xmm0, xmm0
mov rbx, qword [rbp - 0x40]
movdqu xmmword [rbp], xmm0
xor esi, esi
mov qword [rbp + 0x10], rsi
test rbx, rbx
je 0x140007f9d
cmp rbx, rdi
ja 0x14000835a
cmp rbx, 0x1000
jb 0x140007f6f
lea rcx, [rbx + 0x27]
cmp rcx, rbx
jbe 0x140008360
call fcn.140055cb0
test rax, rax
je 0x140008353
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140007f7a
mov rcx, rbx
call fcn.140055cb0
mov rdi, rax
mov qword [rbp], rdi
lea rsi, [rbx + rdi]
mov qword [rbp + 0x10], rsi
mov r8, rbx
xor edx, edx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memset
mov qword [rbp + 8], rsi
mov rbx, qword [rbp - 0x40]
jmp 0x140007fa1
mov rdi, qword [rbp]
mov r13, qword [rbp - 0x58]
lea rax, [rbp - 8]
mov qword [rsp + 0x20], rax
mov r9, rbx
mov r8, rdi
mov rdx, r13
mov rbx, qword [rbp - 0x68]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x1400082b8
xor ebx, ebx
mov r8, qword [r14 + 8]
mov rdx, qword [r14]
mov rcx, r8
sub rcx, rdx
cmp qword [rbp - 8], rcx
je 0x1400082b4
sub r8, rdx
je 0x14000801b
mov rax, rdx
mov r9, rdi
sub r9, rdx
add r9, rbx
nop word [rax + rax]
movzx ecx, byte [rax]
cmp byte [r9 + rax], cl
jne 0x140008294
inc rax
mov rcx, rax
sub rcx, rdx
cmp rcx, r8
jb 0x140008000
mov r8, qword [r12]
mov r9, qword [r12 + 8]
sub r9, r8
lea rdx, [rbx + r13]
mov qword [rsp + 0x20], 0
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140008294
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x70]
call fcn.14000a190
or r15d, 1
movdqa xmm1, xmmword [0x14005e290]
movdqu xmmword [rsp + 0x38], xmm1
movdqa xmm2, xmmword [0x14005e280]
movdqu xmmword [rsp + 0x48], xmm2
movdqa xmm3, xmmword [0x14005e3d0]
movdqu xmmword [rsp + 0x58], xmm3
movdqa xmm0, xmm1
psrldq xmm0, 1
movd eax, xmm0
movd ecx, xmm1
xor al, cl
mov byte [rsp + 0x39], al
xor byte [rsp + 0x3a], cl
xor byte [rsp + 0x3b], cl
xor byte [rsp + 0x3c], cl
xor byte [rsp + 0x3d], cl
xor byte [rsp + 0x3e], cl
xor byte [rsp + 0x3f], cl
xor byte [rsp + 0x40], cl
xor byte [rsp + 0x41], cl
xor byte [rsp + 0x42], cl
xor byte [rsp + 0x43], cl
xor byte [rsp + 0x44], cl
xor byte [rsp + 0x45], cl
xor byte [rsp + 0x46], cl
xor byte [rsp + 0x47], cl
movd eax, xmm2
xor al, cl
mov byte [rsp + 0x48], al
xor byte [rsp + 0x49], cl
xor byte [rsp + 0x4a], cl
xor byte [rsp + 0x4b], cl
xor byte [rsp + 0x4c], cl
xor byte [rsp + 0x4d], cl
xor byte [rsp + 0x4e], cl
xor byte [rsp + 0x4f], cl
xor byte [rsp + 0x50], cl
xor byte [rsp + 0x51], cl
xor byte [rsp + 0x52], cl
xor byte [rsp + 0x53], cl
xor byte [rsp + 0x54], cl
xor byte [rsp + 0x55], cl
xor byte [rsp + 0x56], cl
xor byte [rsp + 0x57], cl
movd eax, xmm3
xor al, cl
mov byte [rsp + 0x58], al
xor byte [rsp + 0x59], cl
xor byte [rsp + 0x5a], cl
xor byte [rsp + 0x5b], cl
xor byte [rsp + 0x5c], cl
xor byte [rsp + 0x5d], cl
xor byte [rsp + 0x5e], cl
xor byte [rsp + 0x5f], cl
xor byte [rsp + 0x60], cl
xor byte [rsp + 0x61], cl
xor byte [rsp + 0x62], cl
xor byte [rsp + 0x63], cl
xor byte [rsp + 0x64], cl
xor byte [rsp + 0x65], cl
xor byte [rsp + 0x66], cl
xor byte [rsp + 0x67], cl
mov byte [rsp + 0x68], 0
lea rax, [rsp + 0x39]
mov r9, 0xffffffffffffffff
inc r9
cmp byte [rax + r9], 0
jne 0x140008172
lea r8, [rsp + 0x39]
lea rcx, [rsp + 0x70]
call fcn.140007800
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
xor ecx, ecx
mov qword [rbp - 0x18], rcx
mov qword [rbp - 0x10], rcx
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x28], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x18], xmm1
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], 0xf
mov byte [rax], cl
or r15d, 2
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x1400081f9
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400081f4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140008345
call fcn.140055f3c
mov byte [rsp + 0x30], 9
mov al, 0x4c
mov cl, 0x7b
movzx edx, cl
mov r8b, 0x66
movzx r9d, cl
xor r10d, r10d
xor al, 9
mov byte [rsp + 0x31], al
xor cl, 9
mov byte [rsp + 0x32], cl
xor dl, 9
mov byte [rsp + 0x33], dl
xor r8b, 9
mov byte [rsp + 0x34], r8b
xor r9b, 9
mov byte [rsp + 0x35], r9b
mov byte [rsp + 0x36], r10b
lea rdx, [rbp - 0x28]
cmp qword [rbp - 0x10], 0x10
cmovae rdx, qword [rbp - 0x28]
lea r9d, [r10 + 0x10]
lea r8, [rsp + 0x31]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x140008294
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000828f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000834c
call fcn.140055f3c
inc rbx
mov r8, qword [r14 + 8]
mov rdx, qword [r14]
mov rcx, r8
sub rcx, rdx
mov rax, qword [rbp - 8]
sub rax, rcx
cmp rbx, rax
jb 0x140007fe5
mov rbx, qword [rbp - 0x68]
test rdi, rdi
je 0x1400082ec
sub rsi, rdi
mov rax, rdi
cmp rsi, 0x1000
jb 0x1400082e1
add rsi, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140008353
mov rdx, rsi
mov rcx, rdi
call fcn.140055f3c
movabs rdi, 0x7fffffffffffffff
mov rax, qword [rbp - 0x60]
add rax, qword [rbp - 0x40]
mov qword [rbp - 0x60], rax
movabs rcx, 0x7fffffffffff
cmp rax, rcx
jb 0x140007ee0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.140055c90
mov rbx, qword [rsp + 0x1a8]
add rsp, 0x160
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400077e0
int3
call fcn.1400011c0
int3