Function at 0x14025fa60
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, 0x148
movaps xmmword [rsp + 0x130], xmm6
mov rsi, rcx
mov rax, qword [0x1402cb038]
xor rax, rsp
mov qword [rsp + 0x128], rax
lea rdi, [rsp + 0xe0]
mov qword [rdi], rdx
mov rcx, rdi
call fcn.14014b4b0
mov rbx, qword [rdi]
mov rax, qword [0x1402e6208]
test rax, rax
je 0x14025fabb
mov rcx, qword [0x1402e6210]
jmp 0x14025faf1
movaps xmm0, xmmword [0x14029ca60]
lea rdi, [rsp + 0x40]
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 [0x1402e6208], rax
mov qword [0x1402e6210], rcx
cmp rcx, rbx
ja 0x14025fb37
cmp rax, rbx
jb 0x14025fb37
lea r8, [rsp + 0x40]
mov qword [r8], 0
mov rdx, qword [rsp + 0xe0]
mov ecx, 4
call qword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
test eax, eax
jne 0x14025fb24
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x38]
mov qword [rcx], 0
jmp 0x14025fb45
lea rcx, [rsp + 0x38]
mov qword [rcx], 0
xor edx, edx
call fcn.14025ffb0
mov rdi, qword [rsp + 0x38]
test rdi, rdi
jne 0x14025fb8a
mov qword [rsi], 0
mov rcx, qword [rsp + 0x128]
xor rcx, rsp
call fcn.1401ce5b0
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x130]
add rsp, 0x148
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor ebx, ebx
lea r14, [rsp + 0x30]
mov qword [r14], rbx
mov qword [rsp + 0x38], rbx
call fcn.14017a3f0
mov rcx, r14
mov rdx, rdi
call fcn.14025ffb0
movabs r12, 0xaaaaaaaaaaaaaaaa
lea rcx, [rsp + 0x70]
mov qword [rcx + 0x10], r12
movaps xmm6, xmmword [0x14029ca60]
movaps xmmword [rcx], xmm6
call fcn.1401c97a0
mov rdi, qword [r14]
lea rdx, [rsp + 0x110]
movaps xmmword [rdx], xmm6
lea r8, [rsp + 0x10c]
mov dword [r8], 0xaaaaaaaa
lea r9, [rsp + 0x100]
mov qword [r9], rbx
lea rax, [rsp + 0xf8]
mov qword [rax], rbx
lea r10, [0x14029e6f0]
lea rcx, [rsp + 0x40]
mov qword [rcx], r10
mov qword [rcx + 8], rdi
mov qword [rsp + 0x20], rax
call fcn.14023f0d0
mov ebp, 0
mov r14d, 0
test al, al
je 0x14025fc7c
xorps xmm0, xmm0
lea r15, [rsp + 0x40]
movaps xmmword [r15], xmm0
mov qword [r15 + 0x10], 0
mov rdx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0x100]
mov r8, r15
call fcn.140238810
xor ebx, ebx
mov ebp, 0
mov r14d, 0
test al, al
jne 0x14025fe01
cmp byte [rsp + 0x57], 0
jns 0x14025fc7c
mov rcx, qword [rsp + 0x40]
call fcn.1401cbbbc
lea r15, [rsp + 0xe0]
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
jne 0x14025fcff
xor r15d, r15d
test rbp, rbp
jns 0x14025fcb9
mov rcx, r14
call fcn.1401cbbbc
lea rcx, [rsp + 0x70]
call fcn.1401c4170
mov rdi, qword [rsp + 0x30]
test rdi, rdi
je 0x14025fcdb
call fcn.14017a3f0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rdi, qword [rsp + 0x38]
mov qword [rsi], r15
test rdi, rdi
je 0x14025fb5b
call fcn.14017a3f0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x14025fb5b
mov ecx, 0x58
call fcn.1401cbbc4
mov r15, rax
movaps xmm0, xmmword [rsp + 0xe0]
movaps xmmword [rsp + 0x40], xmm0
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x50], rax
xor eax, eax
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0x30], rax
test rdi, rdi
je 0x14025fd3f
call fcn.14017a3f0
lea r13, [rsp + 0xc8]
mov rcx, r13
mov rdx, rdi
call fcn.14025ffb0
lea rax, fcn.140260010
mov qword [r15], rax
lea rdi, [r15 + 8]
xor eax, eax
mov qword [r15 + 8], rax
mov r12, qword [r13]
mov qword [r13], rax
test r12, r12
je 0x14025fd78
call fcn.14017a3f0
mov rcx, rdi
mov rdx, r12
call fcn.14025ffb0
mov rax, qword [rsp + 0x50]
mov qword [r15 + 0x20], rax
movaps xmm0, xmmword [rsp + 0x40]
movups xmmword [r15 + 0x10], xmm0
test rbp, rbp
js 0x14025fdbd
mov qword [r15 + 0x28], r14
mov qword [r15 + 0x30], rbx
mov qword [r15 + 0x38], rbp
mov rcx, r15
add rcx, 0x40
lea rdx, [rsp + 0x70]
call fcn.1401ad220
jmp 0x14025fcac
lea rcx, [r15 + 0x28]
mov rdx, r14
mov r8, rbx
call fcn.140009ad0
mov rdi, qword [rsp + 0xc8]
mov rcx, r15
add rcx, 0x40
lea rdx, [rsp + 0x70]
call fcn.1401ad220
test rdi, rdi
je 0x14025fcac
call fcn.14017a3f0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x14025fcac
movzx eax, byte [rsp + 0x57]
mov r8d, eax
and r8d, 0x7f
test al, al
cmovs r8, qword [rsp + 0x48]
cmovs r15, qword [rsp + 0x40]
lea r14, [rsp + 0xb8]
mov rcx, r14
mov rdx, r15
call fcn.1401c8260
lea rbx, [rsp + 0xc8]
mov rcx, rbx
mov rdx, r14
call fcn.1401b5140
lea r14, [rsp + 0xe0]
mov rcx, rbx
mov rdx, r14
call fcn.140173a20
lea rcx, [rsp + 0x70]
mov rdx, r14
call fcn.1401c4180
mov rcx, r14
call fcn.1401c4170
mov rcx, rbx
call fcn.1401c4170
mov qword [r14 + 0x10], r12
movaps xmmword [r14], xmm6
lea rdx, [rsp + 0x110]
mov rcx, r14
call fcn.1402356b0
lea rax, [0x1402b7334]
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0xb0], 3
movzx r8d, byte [r14 + 0x17]
test r8b, r8b
js 0x14025feb7
and r8d, 0x7f
mov rdx, r14
jmp 0x14025fec7
mov r8, qword [rsp + 0xe8]
mov rdx, qword [rsp + 0xe0]
lea r15, [rsp + 0x98]
mov rcx, r15
call fcn.1401c8260
lea rdx, [rsp + 0xa8]
mov rcx, r15
mov r8, r14
call fcn.140235c80
mov edx, dword [rsp + 0x10c]
mov rcx, rbx
call fcn.140067750
movzx r8d, byte [rsp + 0xdf]
test r8b, r8b
js 0x14025ff0d
and r8d, 0x7f
jmp 0x14025ff1d
mov r8, qword [rsp + 0xd0]
mov rbx, qword [rsp + 0xc8]
mov rcx, r14
mov rdx, rbx
call fcn.14001de40
cmp byte [rsp + 0xdf], 0
jns 0x14025ff3f
mov rcx, qword [rsp + 0xc8]
call fcn.1401cbbbc
lea r13, [rsp + 0xe0]
movzx eax, byte [r13 + 0x17]
mov r8d, eax
and r8d, 0x7f
test al, al
cmovs r8, qword [r13 + 8]
mov rdx, qword [r13]
cmovns rdx, r13
lea rbx, [rsp + 0x88]
mov rcx, rbx
call fcn.1401c8260
lea r15, [rsp + 0xc8]
mov rcx, r15
mov rdx, rbx
call fcn.14017d440
mov r14, qword [r15]
mov rbx, qword [r15 + 8]
mov rbp, qword [r15 + 0x10]
cmp byte [r13 + 0x17], 0
jns 0x14025fc6b
mov rcx, qword [rsp + 0xe0]
call fcn.1401cbbbc
jmp 0x14025fc6b