Function at 0x1400d2130
Capabilities:
Get system information on windows

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xe0
mov rax, qword [0x1400fe4a8]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rsi, qword gs:[0x58]
mov r14, rdx
mov r15d, dword [0x140134780]
mov rdi, rcx
mov qword [rcx + 8], rdx
mov qword [rsp + 0x128], r12
mov r12d, 0x80
mov rdx, qword [rsi + r15*8]
mov eax, dword [r12 + rdx]
cmp dword [0x140134d80], eax
jle 0x1400d21c8
lea rcx, [0x140134d80]
call fcn.1400cefb4
cmp dword [0x140134d80], 0xffffffff
jne 0x1400d21c8
xor r8d, r8d
lea rdx, str.::IsWow64Process
lea rcx, [0x1400d8c78]
call fcn.14003d580
lea rcx, [0x140134d80]
mov qword [0x140134d78], rax
call fcn.1400cef54
mov rax, qword [0x140134d78]
mov qword [rsp + 0x120], rbx
test rax, rax
je 0x1400d21fe
lea rdx, [rbp - 0x71]
mov rcx, r14
call rax
test eax, eax
je 0x1400d21fe
cmp dword [rbp - 0x71], 0
setne bl
mov byte [rdi + 0x89], bl
test bl, bl
je 0x1400d2205
xor al, al
jmp 0x1400d221e
mov byte [rdi + 0x89], 0
lea rcx, [rbp - 0x39]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [rbp - 0x39], 9
movzx ebx, byte [rdi + 0x89]
sete al
mov byte [rdi + 0x88], al
mov rsi, qword [rsi + r15*8]
add rsi, r12
mov r12, qword [rsp + 0x128]
mov eax, dword [rsi]
cmp dword [0x140134d70], eax
jle 0x1400d227b
lea rcx, [0x140134d70]
call fcn.1400cefb4
cmp dword [0x140134d70], 0xffffffff
jne 0x1400d227b
mov r8b, 1
lea rdx, str.::NtQueryInformationProcess
lea rcx, str.ntdll.dll
call fcn.14003d580
lea rcx, [0x140134d70]
mov qword [0x140134d68], rax
call fcn.1400cef54
lea rax, [rbp - 0x79]
mov r9d, 0x30
lea r8, [rbp - 9]
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, r14
call qword [0x140134d68]
test eax, eax
js 0x1400d2460
cmp dword [rbp - 0x79], 0x30
jne 0x1400d2460
mov eax, dword [rbp + 0x17]
mov dword [rdi], eax
mov eax, dword [rbp + 0x1f]
mov dword [rdi + 4], eax
test bl, bl
jne 0x1400d22cc
mov rax, qword [rbp - 1]
mov qword [rdi + 0x30], rax
mov eax, 0x354
jmp 0x1400d2353
mov eax, dword [rsi]
cmp dword [0x140134d70], eax
jle 0x1400d2314
lea rcx, [0x140134d70]
call fcn.1400cefb4
cmp dword [0x140134d70], 0xffffffff
jne 0x1400d2314
mov r8b, 1
lea rdx, str.::NtQueryInformationProcess
lea rcx, str.ntdll.dll
call fcn.14003d580
lea rcx, [0x140134d70]
mov qword [0x140134d68], rax
call fcn.1400cef54
mov r9d, 8
lea rax, [rbp - 0x79]
lea r8, [rbp - 0x71]
mov qword [rsp + 0x20], rax
mov rcx, r14
lea edx, [r9 + 0x12]
call qword [0x140134d68]
test eax, eax
js 0x1400d2460
cmp dword [rbp - 0x79], 8
jne 0x1400d2460
mov rax, qword [rbp - 0x71]
mov qword [rdi + 0x30], rax
mov eax, 0x230
mov qword [rdi + 0x38], rax
mov r8, rdi
cmp byte [rdi + 0x88], 0
mov rcx, r14
mov rdx, qword [rdi + 0x30]
je 0x1400d2371
call fcn.1400d04f0
jmp 0x1400d2376
call fcn.1400d0110
test al, al
je 0x1400d2460
cmp byte [rdi + 0x88], 0
mov rsi, 0xffffffffffffffff
mov eax, 0xffffffff
cmove rsi, rax
xor r15d, r15d
mov ebx, r15d
nop dword [rax + rax]
mov r9d, 0x30
lea r8, [rbp - 9]
mov rdx, rbx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test rax, rax
je 0x1400d2451
mov rax, qword [rbp - 9]
lea rcx, [rdi + 0x58]
mov rdx, qword [rcx + 8]
mov qword [rbp - 0x69], rax
mov rax, qword [rbp - 1]
mov qword [rbp - 0x61], rax
mov eax, dword [rbp + 7]
movaps xmm0, xmmword [rbp - 0x69]
mov dword [rbp - 0x59], eax
mov rax, qword [rbp + 0xf]
mov qword [rbp - 0x51], rax
mov eax, dword [rbp + 0x17]
mov dword [rbp - 0x49], eax
mov eax, dword [rbp + 0x1b]
mov dword [rbp - 0x45], eax
mov eax, dword [rbp + 0x1f]
mov dword [rbp - 0x41], eax
mov dword [rbp - 0x55], r15d
movaps xmm1, xmmword [rbp - 0x59]
mov dword [rbp - 0x3d], r15d
movaps xmm2, xmmword [rbp - 0x49]
movaps xmmword [rbp - 0x19], xmm2
movaps xmmword [rbp - 0x39], xmm0
movaps xmmword [rbp - 0x29], xmm1
cmp rdx, qword [rcx + 0x10]
je 0x1400d242f
movaps xmmword [rdx], xmm0
movaps xmmword [rdx + 0x10], xmm1
movaps xmmword [rdx + 0x20], xmm2
add qword [rcx + 8], 0x30
jmp 0x1400d2438
lea r8, [rbp - 0x39]
call fcn.1400d1160
mov rax, qword [rbp + 0xf]
test rax, rax
je 0x1400d2460
add rbx, rax
cmp rbx, rsi
jbe 0x1400d23a0
mov al, 1
jmp 0x1400d2462
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x1400d2460
mov al, 1
jmp 0x1400d2462
xor al, al
mov rbx, qword [rsp + 0x120]
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1400cebd0
add rsp, 0xe0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret