Function at 0x140200430
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, 0x138
movaps xmmword [rsp + 0x120], xmm6
mov rsi, rcx
mov rax, qword [0x14030c028]
xor rax, rsp
mov qword [rsp + 0x118], rax
mov qword [rsp + 0xd0], rdx
lea rcx, [rsp + 0xd0]
call fcn.140019da0
mov rdi, qword [rsp + 0xd0]
mov rax, qword [0x14032bde0]
test rax, rax
je 0x14020049a
mov rcx, qword [0x14032bde8]
cmp rcx, rdi
jbe 0x1402004dc
jmp 0x1402008bb
movaps xmm0, xmmword [0x14029de10]
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov rcx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x40]
mov qword [0x14032bde0], rax
mov qword [0x14032bde8], rcx
cmp rcx, rdi
ja 0x1402008bb
cmp rax, rdi
jb 0x1402008bb
mov qword [rsp + 0x30], 0
mov rdx, qword [rsp + 0xd0]
lea r8, [rsp + 0x30]
mov ecx, 4
call qword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
test eax, eax
jne 0x140200510
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdi, qword [rsp + 0x30]
test rdi, rdi
je 0x1402008bb
mov r13, qword [sym.imp.KERNEL32.dll_GetLastError]
call r13
mov ebx, eax
call fcn.1400f5de0
mov rbp, qword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, ebx
call rbp
call fcn.1400f5de0
call r13
mov ebx, eax
call fcn.1400f5de0
mov ecx, ebx
call rbp
movabs rbp, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x70], rbp
movaps xmm6, xmmword [0x14029de10]
movaps xmmword [rsp + 0x60], xmm6
lea rcx, [rsp + 0x60]
call fcn.14001f0c0
movaps xmmword [rsp + 0x100], xmm6
mov dword [rsp + 0xfc], 0xaaaaaaaa
mov qword [rsp + 0xf0], 0
mov qword [rsp + 0xe8], 0
lea rax, fcn.140024040
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rdi
lea rax, [rsp + 0xe8]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x100]
lea r8, [rsp + 0xfc]
lea r9, [rsp + 0xf0]
call fcn.1401807c0
xor r14d, r14d
mov r12d, 0
mov r15d, 0
test al, al
je 0x1402007f0
xorps xmm0, xmm0
movaps xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], 0
mov rdx, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0xf0]
lea rbx, [rsp + 0x30]
mov r8, rbx
call fcn.140103380
xor r14d, r14d
mov r12d, 0
mov r15d, 0
test al, al
je 0x1402007df
movzx eax, byte [rsp + 0x47]
test al, al
cmovs rbx, qword [rsp + 0x30]
mov qword [rsp + 0xa8], rbx
cmovs rax, qword [rsp + 0x38]
mov qword [rsp + 0xb0], rax
lea r14, [rsp + 0xb8]
lea rdx, [rsp + 0xa8]
mov rcx, r14
call fcn.1400f23c0
lea rbx, [rsp + 0xd0]
mov rcx, r14
mov rdx, rbx
call fcn.1400f2f20
lea rcx, [rsp + 0x60]
mov rdx, rbx
call fcn.1400f24b0
mov rcx, rbx
call fcn.140030e80
mov rcx, r14
call fcn.140030e80
mov qword [rsp + 0xe0], rbp
movaps xmmword [rsp + 0xd0], xmm6
lea rdx, [rsp + 0x100]
mov rcx, rbx
call fcn.140113da0
lea rax, [0x1402c36fa]
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa0], 3
movzx eax, byte [rsp + 0xe7]
test al, al
mov rcx, qword [rsp + 0xd0]
cmovns rcx, rbx
mov qword [rsp + 0x88], rcx
cmovs rax, qword [rsp + 0xd8]
mov qword [rsp + 0x90], rax
lea rcx, [rsp + 0x88]
lea rdx, [rsp + 0x98]
mov r8, rbx
call fcn.1401106b0
mov edx, dword [rsp + 0xfc]
mov rcx, r14
call fcn.14010fef0
movzx r8d, byte [rsp + 0xcf]
test r8b, r8b
jns 0x140200753
mov r8, qword [rsp + 0xc0]
mov r14, qword [rsp + 0xb8]
mov rcx, rbx
mov rdx, r14
call fcn.1400e8f12
cmp byte [rsp + 0xcf], 0
jns 0x140200775
mov rcx, qword [rsp + 0xb8]
call fcn.140255d7c
movzx eax, byte [rsp + 0xe7]
test al, al
cmovs rbx, qword [rsp + 0xd0]
mov qword [rsp + 0x78], rbx
cmovs rax, qword [rsp + 0xd8]
mov qword [rsp + 0x80], rax
lea rcx, [rsp + 0xb8]
lea rdx, [rsp + 0x78]
call fcn.140103680
mov r15, qword [rsp + 0xb8]
mov r14, qword [rsp + 0xc0]
mov r12, qword [rsp + 0xc8]
cmp byte [rsp + 0xe7], 0
jns 0x1402007df
mov rcx, qword [rsp + 0xd0]
call fcn.140255d7c
cmp byte [rsp + 0x47], 0
jns 0x1402007f0
mov rcx, qword [rsp + 0x30]
call fcn.140255d7c
mov qword [rsp + 0xe0], rbp
movaps xmmword [rsp + 0xd0], xmm6
call sub.KERNEL32.dll_GetCurrentProcess
lea r8, [rsp + 0xd0]
mov rcx, rax
mov rdx, rdi
mov r9d, 0x18
call sub.KERNEL32.dll_K32GetModuleInformation
test eax, eax
je 0x1402008bf
mov ecx, 0x58
call fcn.140255d40
mov rbx, rax
movaps xmm0, xmmword [rsp + 0xd0]
movaps xmmword [rsp + 0x30], xmm0
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x40], rax
call fcn.1400f5de0
call r13
mov ebp, eax
call fcn.1400f5de0
mov ecx, ebp
mov rax, qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbp, r13
mov r13, rax
call rax
lea rax, str.P_t__
mov qword [rbx], rax
mov qword [rbx + 8], 0
call fcn.1400f5de0
call rbp
mov ebp, eax
mov qword [rbx + 8], rdi
call fcn.1400f5de0
mov ecx, ebp
call r13
mov rax, qword [rsp + 0x40]
mov qword [rbx + 0x20], rax
movaps xmm0, xmmword [rsp + 0x30]
movups xmmword [rbx + 0x10], xmm0
test r12, r12
js 0x1402008c8
mov qword [rbx + 0x28], r15
mov qword [rbx + 0x30], r14
mov qword [rbx + 0x38], r12
jmp 0x1402008d7
xor ebx, ebx
jmp 0x140200914
xor ebx, ebx
test r12, r12
jns 0x1402008f7
jmp 0x1402008ef
lea rcx, [rbx + 0x28]
mov rdx, r15
mov r8, r14
call fcn.1400e73e6
mov rcx, rbx
add rcx, 0x40
lea rdx, [rsp + 0x60]
call fcn.14005d600
xor edi, edi
test r12, r12
jns 0x1402008f7
mov rcx, r15
call fcn.140255d7c
lea rcx, [rsp + 0x60]
call fcn.140030e80
test rdi, rdi
je 0x140200914
call fcn.1400f5de0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [rsi], rbx
mov rcx, qword [rsp + 0x118]
xor rcx, rsp
call fcn.140257200
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x120]
add rsp, 0x138
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret