Function at 0x1400e1580
Capabilities:
Get system information on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x158
movaps xmmword [rsp + 0x140], xmm6
mov rsi, rcx
mov rax, qword [0x14037e040]
xor rax, rsp
mov qword [rsp + 0x138], rax
lea rdi, [rsp + 0xf0]
mov qword [rdi], rdx
mov rcx, rdi
call fcn.1400fc920
mov rbx, qword [rdi]
mov rax, qword [0x14039c7e0]
test rax, rax
je 0x1400e1b48
mov rcx, qword [0x14039c7e8]
cmp rcx, rbx
ja 0x1400e1bc1
cmp rax, rbx
jb 0x1400e1bc1
lea r8, [rsp + 0x50]
mov qword [r8], 0
mov rdx, qword [rsp + 0xf0]
mov ecx, 4
call qword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
test eax, eax
je 0x1400e1b91
mov rdi, qword [rsp + 0x50]
test rdi, rdi
je 0x1400e1635
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.140125100
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rdi, rdi
je 0x1400e1b85
xor ebx, ebx
mov qword [rsp + 0x48], rbx
call fcn.140125100
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
call fcn.140125100
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
movabs r12, 0xaaaaaaaaaaaaaaaa
lea rcx, [rsp + 0x80]
mov qword [rcx + 0x10], r12
movaps xmm6, xmmword [0x1402faf80]
movaps xmmword [rcx], xmm6
call fcn.140125d60
lea rdx, [rsp + 0x120]
movaps xmmword [rdx], xmm6
lea r8, [rsp + 0x11c]
mov dword [r8], 0xaaaaaaaa
lea r9, [rsp + 0x110]
mov qword [r9], rbx
lea rax, [rsp + 0x108]
mov qword [rax], rbx
lea r10, fcn.1401ba770
lea rcx, [rsp + 0x50]
mov qword [rcx], r10
mov qword [rcx + 8], rdi
mov qword [rsp + 0x20], rax
call fcn.1400a2c40
test al, al
je 0x1400e1ba4
xorps xmm0, xmm0
lea rbx, [rsp + 0x50]
movaps xmmword [rbx], xmm0
mov qword [rbx + 0x10], 0
mov rdx, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x110]
mov r8, rbx
call fcn.14011b1b0
test al, al
je 0x1400e1bdf
movsx rax, byte [rsp + 0x67]
test rax, rax
cmovs rax, qword [rsp + 0x58]
cmovs rbx, qword [rsp + 0x50]
mov qword [rsp + 0xc8], rbx
mov qword [rsp + 0xd0], rax
test rax, rax
js 0x1400e1b83
sete al
test rbx, rbx
setne cl
or cl, al
je 0x1400e1b83
lea rbx, [rsp + 0xd8]
lea rdx, [rsp + 0xc8]
mov rcx, rbx
call fcn.140125dc0
lea r14, [rsp + 0xf0]
mov rcx, rbx
mov rdx, r14
call fcn.1401265f0
lea rcx, [rsp + 0x80]
mov rdx, r14
call fcn.140077280
mov rcx, r14
call fcn.140125f00
mov rcx, rbx
call fcn.140125f00
mov qword [r14 + 0x10], r12
movaps xmmword [r14], xmm6
lea rdx, [rsp + 0x120]
mov rcx, r14
call fcn.14005e080
lea rax, [0x140358e1e]
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0xc0], 3
movsx rax, byte [r14 + 0x17]
test rax, rax
jns 0x1400e17e3
mov rax, qword [rsp + 0xf8]
mov r14, qword [rsp + 0xf0]
mov qword [rsp + 0xa8], r14
mov qword [rsp + 0xb0], rax
test rax, rax
js 0x1400e1b83
sete al
test r14, r14
setne cl
or cl, al
je 0x1400e1b83
lea rcx, [rsp + 0xa8]
lea rdx, [rsp + 0xb8]
lea r14, [rsp + 0xf0]
mov r8, r14
call fcn.14005fe60
mov edx, dword [rsp + 0x11c]
mov rcx, rbx
call fcn.140060e00
movsx r13, byte [rsp + 0xef]
test r13, r13
jns 0x1400e185a
mov r13, qword [rsp + 0xe0]
mov rbx, qword [rsp + 0xd8]
test r13, r13
sete al
test rbx, rbx
setne cl
or cl, al
je 0x1400e1b83
movsx rax, byte [rsp + 0x107]
mov edx, 0xa
mov r15, rax
test rax, rax
jns 0x1400e18a1
movabs rdx, 0x7fffffffffffffff
and rdx, qword [rsp + 0x100]
dec rdx
mov r15, qword [rsp + 0xf8]
mov rcx, rdx
sub rcx, r15
cmp rcx, r13
jb 0x1400e1b03
test r13, r13
je 0x1400e1910
test al, al
jns 0x1400e18c1
mov r14, qword [rsp + 0xf0]
test r13, r13
js 0x1400e1b83
lea rcx, [r14 + r15*2]
cmp rcx, rbx
ja 0x1400e18e0
lea rax, [rcx + r13*2]
cmp rax, rbx
ja 0x1400e1b83
lea r8, [r13*2]
mov rdx, rbx
call fcn.1401a4fc0
add r15, r13
cmp byte [rsp + 0x107], 0
jns 0x1400e1b37
mov qword [rsp + 0xf8], r15
mov word [r14 + r15*2], 0
cmp byte [rsp + 0xef], 0
js 0x1400e1baf
lea rax, [rsp + 0xf0]
movsx rcx, byte [rax + 0x17]
test rcx, rcx
cmovs rcx, qword [rax + 8]
cmovs rax, qword [rax]
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa0], rcx
test rcx, rcx
js 0x1400e1b83
sete cl
test rax, rax
setne al
or al, cl
je 0x1400e1b83
lea r15, [rsp + 0xd8]
lea rdx, [rsp + 0x98]
mov rcx, r15
call fcn.14011b680
mov rbx, qword [r15]
mov r14, qword [r15 + 8]
mov r13, qword [r15 + 0x10]
cmp byte [rsp + 0x107], 0
jns 0x1400e199b
mov rcx, qword [rsp + 0xf0]
call fcn.14016b728
cmp byte [rsp + 0x67], 0
jns 0x1400e19ac
mov rcx, qword [rsp + 0x50]
call fcn.14016b728
lea r15, [rsp + 0xf0]
mov qword [r15 + 0x10], r12
movaps xmmword [r15], xmm6
call sub.KERNEL32.dll_GetCurrentProcess
mov rcx, rax
mov rdx, rdi
mov r8, r15
mov r9d, 0x18
call sub.KERNEL32.dll_K32GetModuleInformation
test eax, eax
je 0x1400e1b9c
mov ecx, 0x58
call fcn.14016b6ec
mov r15, rax
movaps xmm0, xmmword [rsp + 0xf0]
movaps xmmword [rsp + 0x50], xmm0
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x60], rax
call fcn.140125100
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
call fcn.140125100
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rax, fcn.1400e1c40
mov qword [r15], rax
mov qword [r15 + 8], 0
call fcn.140125100
cmp qword [r15 + 8], rdi
je 0x1400e1a5f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
cmp qword [r15 + 8], 0
jne 0x1400e1bec
mov qword [r15 + 8], rdi
call fcn.140125100
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rsp + 0x60]
mov qword [r15 + 0x20], rax
movaps xmm0, xmmword [rsp + 0x50]
movups xmmword [r15 + 0x10], xmm0
test r13, r13
jns 0x1400e1c00
lea rcx, [r15 + 0x28]
mov rdx, rbx
mov r8, r14
call fcn.140110510
mov rcx, r15
add rcx, 0x40
lea rdx, [rsp + 0x80]
call fcn.140125d80
xor edi, edi
test r13, r13
jns 0x1400e1aad
mov rcx, rbx
call fcn.14016b728
lea rcx, [rsp + 0x80]
call fcn.140125f00
test rdi, rdi
jne 0x1400e1c11
mov rdi, qword [rsp + 0x48]
mov qword [rsi], r15
test rdi, rdi
jne 0x1400e1c24
mov rcx, qword [rsp + 0x138]
xor rcx, rsp
call fcn.14016cc60
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x140]
add rsp, 0x158
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea r8, [r15 + r13]
sub r8, rdx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x20], r15
mov qword [rsp + 0x28], 0
lea rcx, [rsp + 0xf0]
mov r9, r15
call fcn.140044840
jmp 0x1400e1910
mov eax, r15d
and al, 0x7f
mov byte [rsp + 0x107], al
jmp 0x1400e1909
movaps xmm0, xmmword [0x1402faf80]
lea rdi, [rsp + 0x50]
movaps xmmword [rdi + 0x20], xmm0
movaps xmmword [rdi + 0x10], xmm0
movaps xmmword [rdi], xmm0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov rcx, qword [rdi + 8]
mov rax, qword [rdi + 0x10]
mov qword [0x14039c7e0], rax
mov qword [0x14039c7e8], rcx
jmp 0x1400e15dd
ud2
mov qword [rsi], 0
jmp 0x1400e1ad4
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1400e1616
xor r15d, r15d
jmp 0x1400e1aa0
xor r14d, r14d
xor r13d, r13d
jmp 0x1400e19ac
mov rcx, qword [rsp + 0xd8]
call fcn.14016b728
jmp 0x1400e191e
lea rdi, [rsp + 0x48]
mov qword [rdi], 0
mov rcx, rdi
xor edx, edx
call fcn.1402a3df0
mov rdi, qword [rdi]
jmp 0x1400e1635
xor r14d, r14d
xor r13d, r13d
xor ebx, ebx
jmp 0x1400e199b
call fcn.140125100
mov rcx, qword [r15 + 8]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x1400e1a4e
mov qword [r15 + 0x28], rbx
mov qword [r15 + 0x30], r14
mov qword [r15 + 0x38], r13
jmp 0x1400e1a8a
call fcn.140125100
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x1400e1ac3
call fcn.140125100
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x1400e1ad4