Function at 0x140112110
Capabilities:
Get system information on windows

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x90
mov rcx, qword [rsp + 0xa0]
mov eax, dword [rsp + 0xb0]
mov dword [rcx + 0x30], eax
mov rax, qword [rsp + 0xa0]
mov qword [rax + 0x80], 0
mov rax, qword [rsp + 0xa0]
mov qword [rax + 0x88], 0
mov rax, qword [rsp + 0xa0]
mov dword [rax + 0x90], 0
mov rax, qword [rsp + 0xa0]
mov qword [rax + 0x98], 0
mov rax, qword [rsp + 0xa0]
mov dword [rax + 0x78], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8d, 1
mov rdx, rax
mov rcx, qword [rsp + 0xa0]
call fcn.140111fa0
test eax, eax
jne 0x1401121ba
xor eax, eax
jmp 0x1401124a7
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r11, qword [rsp + 0xa0]
mov eax, dword [rsp + 0x44]
mov dword [r11 + 0x90], eax
mov rax, qword [rsp + 0xa0]
mov ecx, dword [rax + 0x90]
mov rax, qword [rsp + 0xa8]
lea r8, [rax + rcx - 1]
mov rax, qword [rsp + 0xa0]
mov ecx, dword [rax + 0x90]
xor edx, edx
mov rax, r8
div rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
shr rax, 0x20
test rax, rax
je 0x140112223
xor eax, eax
jmp 0x1401124a7
mov ecx, dword [rsp + 0x38]
mov rax, qword [rsp + 0xa0]
mov qword [rax + 0x88], rcx
mov rax, qword [rsp + 0xa0]
cmp qword [rax + 0x88], 0
jne 0x14011224f
xor eax, eax
jmp 0x1401124a7
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 0x88]
shl rax, 3
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x20]
call fcn.140072250
mov qword [rsp + 0x78], rax
mov rcx, qword [rsp + 0xa0]
mov rax, qword [rsp + 0x78]
mov qword [rcx + 0x80], rax
mov rax, qword [rsp + 0xa0]
cmp qword [rax + 0x80], 0
jne 0x1401122a3
xor eax, eax
jmp 0x1401124a7
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 0x88]
mov qword [rsp + 0x28], rax
mov rbx, qword [rsp + 0xa0]
add rbx, 0x88
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, qword [rsp + 0xa0]
mov r8, qword [r8 + 0x80]
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_AllocateUserPhysicalPages]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 1
je 0x140112330
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 0x80]
mov qword [rsp + 0x80], rax
mov rcx, qword [rsp + 0x80]
call fcn.140072248
mov rax, qword [rsp + 0xa0]
mov qword [rax + 0x80], 0
xor eax, eax
jmp 0x1401124a7
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 0x88]
mov rax, qword [rsp + 0xa0]
mov eax, dword [rax + 0x90]
mov r8, qword [rsp + 0xa0]
mov r8, qword [r8 + 0x88]
imul r8, rax
mov rax, qword [rsp + 0xa0]
mov ecx, dword [rax + 0x30]
xor edx, edx
mov rax, r8
div rcx
mov rcx, rax
mov rax, qword [rsp + 0xa0]
mov dword [rax + 0x78], ecx
mov rax, qword [rsp + 0xa0]
mov ecx, dword [rax + 0x78]
call fcn.140072250
mov qword [rsp + 0x88], rax
mov rcx, qword [rsp + 0xa0]
mov rax, qword [rsp + 0x88]
mov qword [rcx + 0x70], rax
mov rax, qword [rsp + 0xa0]
mov r8d, dword [rax + 0x78]
xor edx, edx
mov rcx, qword [rsp + 0xa0]
mov rcx, qword [rcx + 0x70]
call fcn.1400a87c0
mov dword [rsp + 0x70], 0
jmp 0x1401123e1
mov eax, dword [rsp + 0x70]
add eax, 1
mov dword [rsp + 0x70], eax
mov rax, qword [rsp + 0xa0]
mov eax, dword [rax + 0x78]
cmp dword [rsp + 0x70], eax
jae 0x14011240a
mov rcx, qword [rsp + 0xa0]
add rcx, 0x38
lea rdx, [rsp + 0x70]
call fcn.140025530
jmp 0x1401123d6
mov rax, qword [rsp + 0xa0]
mov ecx, dword [rax + 0x30]
mov rax, qword [rsp + 0xa0]
mov eax, dword [rax + 0x90]
lea eax, [rcx + rax - 1]
xor edx, edx
mov rcx, qword [rsp + 0xa0]
div dword [rcx + 0x90]
mov ecx, eax
mov rax, qword [rsp + 0xa0]
imul ecx, dword [rax + 0x90]
mov rax, qword [rsp + 0xa0]
mov dword [rax + 0xa0], ecx
mov rax, qword [rsp + 0xa0]
mov edx, dword [rax + 0xa0]
mov r9d, 4
mov r8d, 0x402000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r11, rax
mov rax, qword [rsp + 0xa0]
mov qword [rax + 0x98], r11
mov rax, qword [rsp + 0xa0]
mov edx, dword [rax + 0x78]
mov rax, qword [rsp + 0xa0]
mov ecx, dword [rax + 0x30]
mov rax, rdx
imul rax, rcx
add rsp, 0x90
pop rbx
ret