Function at 0x140119ae0
Capabilities:
Get system information on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xf]
sub rsp, 0xf8
mov rax, qword [0x1402e8100]
xor rax, rsp
mov qword [rbp - 9], rax
mov r12, r9
mov rdi, r8
mov rsi, rdx
mov r15, rcx
mov qword [rsp + 0x40], rcx
mov ecx, 0x40
mov r14d, ecx
cmp dword [rdx + 0x78], 1
jne 0x140119b38
mov rax, qword [rdx + 0x70]
mov r14d, 4
cmp byte [rax + 0x18], 1
cmove r14d, ecx
mov rax, qword [rdx + 0x70]
mov rcx, qword [rax + 0x10]
mov ebx, dword [rcx + 0x18]
xor edx, edx
mov rax, rdi
div rbx
mov r13d, ebx
sub r13, rdx
add r13, rdi
test rdx, rdx
cmove r13, rdi
lea rcx, [rbp - 0x79]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x49], xmm1
mov r10, qword [rbp - 0x71]
mov qword [rsp + 0x40], r10
mov r8, qword [rbp - 0x69]
mov qword [rsp + 0x58], r8
xor edx, edx
mov rax, r12
div rbx
mov r9, r12
sub r9, rdx
mov qword [rsp + 0x68], r9
mov rdx, r9
sub rdx, r13
mov qword [rsp + 0x60], rdx
je 0x140119d47
nop dword [rax]
nop word [rax + rax]
mov rcx, r9
sub rcx, r12
mov rax, r12
sub rax, rdx
cmp rax, rcx
jae 0x140119c39
cmp rdx, r10
jb 0x140119c39
test rdx, rdx
je 0x140119c39
mov rax, qword [rsi + 0x70]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
lea r8, [rbp - 0x39]
call qword [rax + Ordinal_50]
test eax, eax
jne 0x140119d47
cmp dword [rbp - 0x19], 0x10000
jne 0x140119c26
cmp qword [rbp - 0x21], rdi
jb 0x140119c26
mov rax, qword [rsi + 0x70]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
mov dword [rsp + 0x20], r14d
mov r9d, 0x3000
mov r8, rdi
lea rdx, [rsp + 0x60]
call qword [rax]
test eax, eax
jns 0x140119cc5
mov r9, qword [rsp + 0x68]
jmp 0x140119ca8
mov rdx, qword [rbp - 0x31]
sub rdx, r13
mov qword [rsp + 0x60], rdx
mov r9, qword [rsp + 0x68]
jmp 0x140119cad
cmp r9, r8
jae 0x140119d47
mov rax, qword [rsi + 0x70]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
lea r8, [rbp - 0x39]
mov rdx, r9
call qword [rax + Ordinal_50]
test eax, eax
jne 0x140119d47
mov rcx, qword [rbp - 0x21]
cmp dword [rbp - 0x19], 0x10000
jne 0x140119c9c
cmp rcx, rdi
jb 0x140119c9c
mov rax, qword [rsi + 0x70]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
mov dword [rsp + 0x20], r14d
mov r9d, 0x3000
mov r8, rdi
lea rdx, [rsp + 0x68]
call qword [rax]
test eax, eax
jns 0x140119ccc
mov r9, qword [rsp + 0x68]
jmp 0x140119ca8
mov r9, qword [rbp - 0x39]
add r9, rcx
mov qword [rsp + 0x68], r9
mov rdx, qword [rsp + 0x60]
test rdx, rdx
je 0x140119d47
mov r8, qword [rsp + 0x58]
mov r10, qword [rsp + 0x40]
jmp 0x140119bb0
mov r8, qword [rsp + 0x60]
jmp 0x140119cd1
mov r8, qword [rsp + 0x68]
mov byte [rsp + 0x30], 0
mov byte [rsp + 0x28], 1
mov r9, rdi
mov dword [rsp + 0x20], 0x40
mov rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.140119730
mov rbx, qword [rax]
xor r13d, r13d
test rbx, rbx
je 0x140119d13
mov qword [rbp - 0x49], rbx
mov qword [rax], r13
mov r14, qword [rax + 8]
mov qword [rbp - 0x41], r14
mov qword [rax + 8], r13
jmp 0x140119d1b
mov r14, qword [rbp - 0x41]
mov rbx, qword [rbp - 0x49]
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140119d2a
call fcn.1400d1a00
test rbx, rbx
je 0x140119d4b
cmp qword [rbx], 0
je 0x140119d4b
mov dword [r15], r13d
mov qword [r15 + 8], rbx
mov qword [r15 + 0x10], r14
mov byte [r15 + 0x18], 1
jmp 0x140119d77
mov r14, qword [rbp - 0x41]
mov byte [rsp + 0x28], 1
mov dword [rsp + 0x20], 0x40
mov r9, r12
mov r8, rdi
mov rdx, rsi
mov rcx, r15
call fcn.140119970
nop
test r14, r14
je 0x140119d77
mov rcx, r14
call fcn.1400d1a00
mov rax, r15
mov rcx, qword [rbp - 9]
xor rcx, rsp
call fcn.1401e1ca0
add rsp, 0xf8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret