Function at 0x140300e40
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 [0x140601e40]
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 0x140300ecd
test rcx, rcx
je 0x140300eb4
mov rax, qword [r12]
xor r8d, r8d
mov rdx, rcx
mov rcx, r12
call qword [rax + reloc.WS2_32.dll_WSASetLastError]
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 0x1403012a2
mov rax, 0xffffffffffffffff
sub rax, rbx
cmp r13, rax
jbe 0x140300ee6
mov r13, 0xffffffffffffffff
sub r13, rbx
xor eax, eax
mov qword [rsp + 0x38], rax
test rcx, rcx
je 0x140300ef7
call fcn.1402fac40
mov qword [rsp + 0x50], rax
mov r14, r13
and r14, 0xfffffffffffffff0
mov qword [rsp + 0x80], r14
mov r15, qword [0x14062fe58]
test r15, r15
jne 0x140300f34
lea rcx, [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r15d, dword [rsp + 0x94]
mov qword [0x14062fe58], r15
mov qword [rsp + 0x60], r15
mov rcx, r14
call fcn.140300140
mov edi, eax
and dil, 1
mov dword [rsp + 0x34], edi
mov byte [rsp + 0x31], dil
lea rax, [rbx + r13]
cmp r14, rax
jae 0x140301287
mov rax, rbx
shl rax, 5
cmp qword [rsp + 0x38], rax
jae 0x140301287
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.1402f8b00
mov rbx, r14
mov qword [rsp + 0x68], rbx
lea rax, [r14 + 0x10]
cmp rbx, rax
jae 0x140301193
lea rax, [r15 - 1]
test rbx, rax
jne 0x140301034
mov r15, qword [0x14062fe58]
test r15, r15
jne 0x14030101a
lea rcx, [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r15d, dword [rsp + 0x94]
mov qword [0x14062fe58], r15
mov qword [rsp + 0x60], r15
mov rcx, rbx
call fcn.140300140
and al, 1
movzx edi, al
mov dword [rsp + 0x34], edi
mov byte [rsp + 0x31], al
cmp rbx, r13
jb 0x140301158
mov rax, qword [rsp + 0x58]
add rax, r13
cmp rbx, rax
jae 0x140301158
cmp rbx, rsi
jne 0x140301058
mov sil, 0x3c
jmp 0x14030106c
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 0x14030111e
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 0x140301110
cmp qword [rsp + 0x40], 1
jne 0x140301110
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.1402f8b00
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 0x140301187
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, [0x140522f6c]
call fcn.1402f8b00
mov rax, rbx
sub rax, r14
mov byte [rsp + rax + 0x105], 0x3f
mov rsi, qword [rsp + 0x48]
jmp 0x140301187
mov rcx, rbx
sub rcx, r14
lea rax, [rsp + 0xd2]
add rax, rcx
lea rcx, [rax + rcx*2]
lea rdx, [0x140522f5c]
call fcn.1402f8b00
mov rax, rbx
sub rax, r14
mov byte [rsp + rax + 0x105], 0x20
inc rbx
mov edi, dword [rsp + 0x34]
jmp 0x140300fd6
mov eax, dword [0x140522f74]
mov word [rsp + 0x102], ax
movzx eax, byte [0x140522f76]
mov byte [rsp + 0x104], al
mov eax, dword [str.__r_n]
mov dword [rsp + 0x115], eax
movzx eax, byte [0x140522f7c]
mov byte [rsp + 0x119], al
mov rcx, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x38]
test rcx, rcx
je 0x140301222
test rbx, rbx
jne 0x1403011f0
mov rax, qword [r12]
xor r8d, r8d
mov rdx, rcx
mov rcx, r12
call qword [rax + reloc.WS2_32.dll_WSASetLastError]
jmp 0x140301222
xor ebx, ebx
mov qword [rsp + 0x78], rbx
cmp rbx, qword [rsp + 0x50]
jae 0x14030121d
mov rax, qword [r12]
mov r8d, 1
lea rdx, [0x140443814]
mov rcx, r12
call qword [rax + 0xa0]
inc rbx
jmp 0x1403011f2
mov rbx, qword [rsp + 0x38]
mov rax, qword [r12]
xor r8d, r8d
lea rdx, [rsp + 0xc0]
mov rcx, r12
call qword [rax + reloc.WS2_32.dll_WSASetLastError]
lea rax, [r14 + 0x10]
cmp rax, r14
jae 0x14030124d
cmp rax, 0x10
jae 0x14030124d
mov eax, 1
jmp 0x14030124f
xor eax, eax
test al, al
je 0x140301269
mov rax, qword [r12]
xor r8d, r8d
lea rdx, [0x140472220]
mov rcx, r12
call qword [rax + reloc.WS2_32.dll_WSASetLastError]
jmp 0x140301287
add r14, 0x10
mov qword [rsp + 0x80], r14
inc rbx
mov qword [rsp + 0x38], rbx
mov rbx, qword [rsp + 0x58]
jmp 0x140300f50
jmp 0x1403012a2
mov al, 1
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140284180
add rsp, 0x150
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret