Function at 0x140001160
Capabilities:
Get system information on windows

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xf8
lea rax, [rsp + 0x80]
mov rdi, rax
xor eax, eax
mov ecx, 0x20
rep stosb byte [rdi], al
lea rcx, [rsp + 0xc0]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0xe8]
mov edx, eax
mov rcx, qword [rsp + 0x118]
call fcn.140001040
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x120]
imul rax, qword [rsp + 0x50]
mov qword [rsp + 0xb8], rax
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x50]
and rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x50]
shr rcx, 0x20
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], eax
mov r9d, ecx
mov r8d, 4
xor edx, edx
mov rcx, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov qword [rsp + 0x90], rax
mov eax, dword [rsp + 0x120]
mov dword [rsp + 0x98], eax
cmp qword [rsp + 0x90], 0xffffffffffffffff
je 0x1400014cd
lea rcx, str.kernelbase.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsp + 0xa0], rax
lea rdx, str.VirtualAlloc2
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0xa8], rax
lea rdx, str.MapViewOfFile3
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0xb0], rax
cmp qword [rsp + 0xa8], 0
je 0x1400013b6
cmp qword [rsp + 0xb0], 0
je 0x1400013b6
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 1
mov r9d, 0x42000
mov r8, qword [rsp + 0xb8]
xor edx, edx
xor ecx, ecx
call qword [rsp + 0xa8]
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x64], 1
mov dword [rsp + 0x58], 0
jmp 0x1400012ed
mov eax, dword [rsp + 0x58]
inc eax
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x120]
cmp dword [rsp + 0x58], eax
jae 0x140001390
mov eax, dword [rsp + 0x58]
imul rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov r8d, 0x8002
mov rdx, qword [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, dword [rsp + 0x58]
imul rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 4
mov dword [rsp + 0x28], 0x4000
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
mov r8, rax
xor edx, edx
mov rcx, qword [rsp + 0x90]
call qword [rsp + 0xb0]
test rax, rax
jne 0x14000138b
mov dword [rsp + 0x64], 0
jmp 0x1400012e3
cmp dword [rsp + 0x64], 0
je 0x1400013b1
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x80], rax
jmp 0x1400014cd
mov dword [rsp + 0x60], 0
jmp 0x1400013ca
mov eax, dword [rsp + 0x60]
inc eax
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0x64
jae 0x1400014cd
mov r9d, 1
mov r8d, 0x2000
mov rdx, qword [rsp + 0xb8]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
je 0x1400014c8
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov dword [rsp + 0x68], 1
mov dword [rsp + 0x5c], 0
jmp 0x140001431
mov eax, dword [rsp + 0x5c]
inc eax
mov dword [rsp + 0x5c], eax
mov eax, dword [rsp + 0x120]
cmp dword [rsp + 0x5c], eax
jae 0x14000148c
mov eax, dword [rsp + 0x5c]
imul rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf001f
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_MapViewOfFileEx]
test rax, rax
jne 0x14000148a
mov dword [rsp + 0x68], 0
jmp 0x14000148c
jmp 0x140001427
cmp dword [rsp + 0x68], 0
je 0x1400014b1
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x80], rax
jmp 0x1400014cd
mov r8d, dword [rsp + 0x120]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x70]
call fcn.140001080
jmp 0x1400013c0
cmp qword [rsp + 0x88], 0
jne 0x1400014e5
lea rcx, [rsp + 0x80]
call fcn.1400010e0
lea rax, [rsp + 0x80]
mov rdi, qword [rsp + 0x110]
mov rsi, rax
mov ecx, 0x20
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x110]
add rsp, 0xf8
pop rdi
pop rsi
ret