Function at 0x140001470
Capabilities:
Get system information on windows

Disassembly:
push rbp
push rbx
push rdi
push r12
push r13
push r15
lea rbp, [rsp - 0x4a8]
sub rsp, 0x5a8
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x480], rax
mov r12, qword [rbp + 0x500]
mov rax, 0xffffffffffffffff
mov rdi, rcx
mov qword [rsp + 0x48], rdx
mov rcx, rax
mov r15, r9
mov rbx, r8
nop dword [rax]
cmp word [r8 + rcx*2 + 2], 0
lea rcx, [rcx + 1]
jne 0x1400014c0
lea rcx, [rcx*2 + 2]
mov qword [rsp + 0x30], rcx
mov rcx, rax
nop dword [rax]
cmp word [r9 + rcx*2 + 2], 0
lea rcx, [rcx + 1]
jne 0x1400014e0
lea rcx, [rcx*2 + 2]
mov qword [rsp + 0x38], rcx
nop word [rax + rax]
cmp word [r12 + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x140001500
xorps xmm0, xmm0
mov qword [rsp + 0x5a0], rsi
lea rcx, [rsp + 0x58]
movups xmmword [rsp + 0x58], xmm0
lea r13, [rax*2 + 2]
movups xmmword [rsp + 0x68], xmm0
movups xmmword [rsp + 0x78], xmm0
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov eax, dword [rsp + 0x5c]
test eax, eax
je 0x14000184c
cmp dword [rbp - 0x80], 0
je 0x14000184c
mov r8d, eax
mov dword [rsp + 0x20], 4
xor edx, edx
mov r9d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rsi, rax
test rax, rax
je 0x14000184c
mov r8d, dword [rsp + 0x5c]
xor edx, edx
mov r9d, 0x3000
mov qword [rsp + 0x598], r14
mov rcx, rdi
mov dword [rsp + 0x20], 4
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rdx, rsi
mov rcx, rdi
mov r14, rax
test rax, rax
jne 0x1400015ed
mov r9d, 0x8000
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor al, al
mov r14, qword [rsp + 0x598]
mov rsi, qword [rsp + 0x5a0]
mov rcx, qword [rbp + 0x480]
xor rcx, rsp
call fcn.140001fd0
add rsp, 0x5a8
pop r15
pop r13
pop r12
pop rdi
pop rbx
pop rbp
ret
mov r9, qword [rsp + 0x30]
xor eax, eax
mov qword [rbp - 0x70], rax
mov r8, rbx
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x60], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov r9, qword [rsp + 0x38]
lea rcx, [rbp - 0x68]
mov ebx, eax
mov qword [rsp + 0x20], rcx
mov rax, qword [rsp + 0x30]
mov r8, r15
add rax, rsi
mov rcx, rdi
mov rdx, rax
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov r15, qword [rsp + 0x38]
mov r9, r13
mov dword [rsp + 0x40], eax
mov r8, r12
mov rax, qword [rsp + 0x30]
lea rcx, [rsi + r15]
add rax, rcx
lea rcx, [rbp - 0x60]
mov qword [rsp + 0x20], rcx
mov rdx, rax
mov rcx, rdi
mov qword [rsp + 0x38], rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov ecx, eax
test ebx, ebx
je 0x140001823
mov rax, qword [rsp + 0x30]
cmp qword [rbp - 0x70], rax
jne 0x140001823
cmp dword [rsp + 0x40], 0
je 0x140001823
cmp qword [rbp - 0x68], r15
jne 0x140001823
test ecx, ecx
je 0x140001823
cmp qword [rbp - 0x60], r13
jne 0x140001823
mov r8d, dword [rsp + 0x5c]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
xor edx, edx
lea rcx, [rbp - 0x50]
mov r8d, 0x4d0
call fcn.1400178b0
mov r15, qword [rsp + 0x48]
lea rdx, [rbp - 0x50]
mov rcx, r15
mov dword [rbp - 0x20], 0x100001
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x140001823
mov rbx, qword [rbp + 0xa8]
lea rcx, str.Kernel32.dll
mov qword [rbp + 0xa8], r14
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.LoadLibraryW
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rsp + 0x50]
lea r8, [0x140025a50]
mov dword [0x140025a51], ebx
mov r9d, 0x80
mov qword [0x140025a8d], rcx
mov rdx, r14
mov rcx, qword [rsp + 0x38]
shr rbx, 0x20
mov dword [0x140025a59], ebx
xor ebx, ebx
mov qword [0x140025a81], rax
mov qword [0x140025a97], rax
mov qword [0x140025aad], rax
lea rax, [rbp - 0x58]
mov qword [0x140025aa3], rcx
mov rcx, rdi
mov qword [0x140025a77], rsi
mov qword [rbp - 0x58], rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140001823
cmp qword [rbp - 0x58], 0x80
jne 0x140001823
mov r8d, dword [rsp + 0x5c]
mov rdx, r14
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov r8d, dword [rsp + 0x5c]
lea rax, [rbp - 0x78]
mov r9d, 2
mov qword [rsp + 0x20], rax
mov rdx, rsi
mov dword [rbp - 0x78], ebx
mov rcx, rdi
mov dword [rbp - 0x74], ebx
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov r8d, dword [rsp + 0x5c]
mov r9d, 0x20
mov ebx, eax
mov rdx, r14
lea rax, [rbp - 0x74]
mov rcx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test ebx, ebx
je 0x140001823
test eax, eax
je 0x140001823
lea rdx, [rbp - 0x50]
mov dword [rbp - 0x20], 0x100001
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
test eax, eax
je 0x140001823
mov al, 1
jmp 0x1400015bd
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r14
mov rcx, rdi
jmp 0x1400015b5
xor al, al
jmp 0x1400015c5