Function at 0x1401f4360
Capabilities:
Get system information on windows

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x150
mov rax, qword [0x1403e3c28]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rsi, r9
mov qword [rsp + 0x48], r9
mov rbx, r8
mov qword [rsp + 0x58], rbx
mov r13, rdx
mov r12, rcx
mov qword [rsp + 0x88], rcx
mov rcx, qword [rsp + 0x1b0]
mov qword [rsp + 0x70], rcx
lea rax, [rdx + 0x10000]
cmp rax, 0x1ffff
ja 0x1401f43ed
test rcx, rcx
je 0x1401f43d4
mov rax, qword [r12]
xor r8d, r8d
mov rdx, rcx
mov rcx, r12
call qword [rax + 0x70]
mov rax, qword [r12]
mov r8, r13
lea rdx, str._016llx__Address_appears_to_be_invalid._r_n
mov rcx, r12
call qword [rax + 0x78]
jmp 0x1401f47c2
mov rax, 0xffffffffffffffff
sub rax, rbx
cmp r13, rax
jbe 0x1401f4406
mov r13, 0xffffffffffffffff
sub r13, rbx
xor eax, eax
mov qword [rsp + 0x38], rax
test rcx, rcx
je 0x1401f4417
call fcn.1400c9590
mov qword [rsp + 0x50], rax
mov r14, r13
and r14, 0xfffffffffffffff0
mov qword [rsp + 0x80], r14
mov r15, qword [0x140405798]
test r15, r15
jne 0x1401f4454
lea rcx, [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r15d, dword [rsp + 0x94]
mov qword [0x140405798], r15
mov qword [rsp + 0x60], r15
mov rcx, r14
call fcn.1401f3660
mov edi, eax
and dil, 1
mov dword [rsp + 0x34], edi
mov byte [rsp + 0x31], dil
lea rax, [rbx + r13]
cmp r14, rax
jae 0x1401f47a7
mov rax, rbx
shl rax, 5
cmp qword [rsp + 0x38], rax
jae 0x1401f47a7
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0xc0], xmm0
movups xmmword [rsp + 0xd0], xmm0
movups xmmword [rsp + 0xe0], xmm0
movups xmmword [rsp + 0xf0], xmm0
movups xmmword [rsp + 0x100], xmm0
movups xmmword [rsp + 0x110], xmm0
movups xmmword [rsp + 0x120], xmm0
mov qword [rsp + 0x130], rax
mov word [rsp + 0x138], ax
mov r8, r14
lea rdx, str._016llx_
lea rcx, [rsp + 0xc0]
call fcn.1400c7450
mov rbx, r14
mov qword [rsp + 0x68], rbx
lea rax, [r14 + 0x10]
cmp rbx, rax
jae 0x1401f46b3
lea rax, [r15 - 1]
test rbx, rax
jne 0x1401f4554
mov r15, qword [0x140405798]
test r15, r15
jne 0x1401f453a
lea rcx, [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r15d, dword [rsp + 0x94]
mov qword [0x140405798], r15
mov qword [rsp + 0x60], r15
mov rcx, rbx
call fcn.1401f3660
and al, 1
movzx edi, al
mov dword [rsp + 0x34], edi
mov byte [rsp + 0x31], al
cmp rbx, r13
jb 0x1401f4678
mov rax, qword [rsp + 0x58]
add rax, r13
cmp rbx, rax
jae 0x1401f4678
cmp rbx, rsi
jne 0x1401f4578
mov sil, 0x3c
jmp 0x1401f458c
lea rax, [rsi + 1]
mov esi, 0x20
cmp rbx, rax
mov eax, 0x3e
cmove esi, eax
mov byte [rsp + 0x30], 0
test dil, dil
je 0x1401f463e
mov qword [rsp + 0x40], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 1
lea r8, [rsp + 0x30]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x1401f4630
cmp qword [rsp + 0x40], 1
jne 0x1401f4630
movzx ecx, byte [rsp + 0x30]
lea eax, [rcx - 0x20]
cmp al, 0x5e
setbe dil
mov r9d, ecx
movsx r8d, sil
mov rcx, rbx
sub rcx, r14
lea rax, [rsp + 0xd2]
add rax, rcx
lea rcx, [rax + rcx*2]
lea rdx, str._c_02x
call fcn.1400c7450
mov ecx, 0x2e
movzx eax, byte [rsp + 0x30]
test dil, dil
cmovne ecx, eax
mov rax, rbx
sub rax, r14
mov byte [rsp + rax + 0x105], cl
mov rsi, qword [rsp + 0x48]
jmp 0x1401f46a7
movabs rax, 0x3f3f3f3f3f3f3f3f
mov byte [rsp + 0x30], al
movsx r8d, sil
mov rcx, rbx
sub rcx, r14
lea rax, [rsp + 0xd2]
add rax, rcx
lea rcx, [rax + rcx*2]
lea rdx, [0x140350e6c]
call fcn.1400c7450
mov rax, rbx
sub rax, r14
mov byte [rsp + rax + 0x105], 0x3f
mov rsi, qword [rsp + 0x48]
jmp 0x1401f46a7
mov rcx, rbx
sub rcx, r14
lea rax, [rsp + 0xd2]
add rax, rcx
lea rcx, [rax + rcx*2]
lea rdx, [0x140350e5c]
call fcn.1400c7450
mov rax, rbx
sub rax, r14
mov byte [rsp + rax + 0x105], 0x20
inc rbx
mov edi, dword [rsp + 0x34]
jmp 0x1401f44f6
mov eax, dword [0x140350e74]
mov word [rsp + 0x102], ax
movzx eax, byte [0x140350e76]
mov byte [rsp + 0x104], al
mov eax, dword [str.__r_n]
mov dword [rsp + 0x115], eax
movzx eax, byte [0x140350e7c]
mov byte [rsp + 0x119], al
mov rcx, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x38]
test rcx, rcx
je 0x1401f4742
test rbx, rbx
jne 0x1401f4710
mov rax, qword [r12]
xor r8d, r8d
mov rdx, rcx
mov rcx, r12
call qword [rax + 0x70]
jmp 0x1401f4742
xor ebx, ebx
mov qword [rsp + 0x78], rbx
cmp rbx, qword [rsp + 0x50]
jae 0x1401f473d
mov rax, qword [r12]
mov r8d, 1
lea rdx, [0x14032874c]
mov rcx, r12
call qword [rax + 0xa0]
inc rbx
jmp 0x1401f4712
mov rbx, qword [rsp + 0x38]
mov rax, qword [r12]
xor r8d, r8d
lea rdx, [rsp + 0xc0]
mov rcx, r12
call qword [rax + 0x70]
lea rax, [r14 + 0x10]
cmp rax, r14
jae 0x1401f476d
cmp rax, 0x10
jae 0x1401f476d
mov eax, 1
jmp 0x1401f476f
xor eax, eax
test al, al
je 0x1401f4789
mov rax, qword [r12]
xor r8d, r8d
lea rdx, [0x140299610]
mov rcx, r12
call qword [rax + 0x70]
jmp 0x1401f47a7
add r14, 0x10
mov qword [rsp + 0x80], r14
inc rbx
mov qword [rsp + 0x38], rbx
mov rbx, qword [rsp + 0x58]
jmp 0x1401f4470
jmp 0x1401f47c2
mov al, 1
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1401f11e0
add rsp, 0x150
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret