Function at 0x140054a34
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push r13
push r14
push r15
sub rsp, 0x60
mov esi, edx
mov r13, rcx
test edx, edx
jne 0x140054a84
xorps xmm0, xmm0
movups xmmword [rax - 0x50], xmm0
movups xmmword [rax - 0x40], xmm0
movups xmmword [rax - 0x30], xmm0
lea rcx, [rax - 0x50]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemInfo]
nop dword [rax + rax]
mov esi, dword [rsp + 0x48]
cmp esi, 1
jae 0x140054a84
mov eax, 0x80070057
jmp 0x140054ca7
xor ebx, ebx
mov qword [rsp + 0x20], rbx
lea ecx, [rbx + 0x38]
call fcn.14000b1d0
test rax, rax
je 0x140054ad0
lea rcx, fcn.1400406c0
mov qword [rax], rcx
and qword [rax + 8], rbx
lea rcx, fcn.1400549e0
mov qword [rax + 0x10], rcx
and qword [rax + 0x18], rbx
lea rcx, fcn.140054a10
mov qword [rax + 0x20], rcx
and qword [rax + 0x28], rbx
and qword [rax + 0x30], rbx
mov rbx, rax
mov qword [rsp + 0x20], rax
lea r8, [rbx + 8]
lea rdx, [0x140054d10]
mov ecx, 4
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleHandleExW]
nop dword [rax + rax]
test eax, eax
jne 0x140054b38
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov esi, eax
test eax, eax
jle 0x140054b0b
movzx esi, ax
or esi, 0x80070000
mov ecx, 0x80004005
test esi, esi
cmovns esi, ecx
test rbx, rbx
je 0x140054b31
mov rcx, rbx
call fcn.1400548a8
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
nop dword [rax + rax]
mov eax, esi
jmp 0x140054ca7
xor r8d, r8d
mov rdx, rbx
lea rcx, [0x140054d10]
call qword [sym.imp.api_ms_win_core_threadpool_l1_2_0.dll_CreateThreadpoolWork]
nop dword [rax + rax]
mov r15, rax
cmp rax, qword [rbx + 0x28]
je 0x140054b7e
cmp qword [rbx + 0x28], 0
je 0x140054b7a
mov rcx, qword [rbx + 0x20]
mov rax, qword [rcx]
lea rcx, [rbx + 0x20]
call qword [0x1400d1188]
test al, al
je 0x140054cbf
mov qword [rbx + 0x28], r15
cmp qword [rbx + 0x28], 0
jne 0x140054bac
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov esi, eax
test eax, eax
jle 0x140054ba0
movzx esi, ax
or esi, 0x80070000
mov ecx, 0x80004005
test esi, esi
cmovns esi, ecx
jmp 0x140054c14
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_threadpool_l1_2_0.dll_CreateThreadpool]
nop dword [rax + rax]
mov r15, rax
cmp rax, qword [rbx + 0x18]
je 0x140054be7
cmp qword [rbx + 0x18], 0
je 0x140054be3
mov rcx, qword [rbx + 0x10]
mov rax, qword [rcx]
lea rcx, [rbx + 0x10]
call qword [0x1400d1188]
test al, al
je 0x140054ce0
mov qword [rbx + 0x18], r15
mov rcx, qword [rbx + 0x18]
test rcx, rcx
jne 0x140054c19
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
jle 0x140054c08
movzx eax, ax
or eax, 0x80070000
mov ecx, 0x80004005
test eax, eax
cmovns eax, ecx
mov esi, eax
jmp 0x140054b1a
mov edx, esi
call qword [sym.imp.api_ms_win_core_threadpool_l1_2_0.dll_SetThreadpoolThreadMaximum]
nop dword [rax + rax]
lea r14, [r13 + 0x10]
lea rax, [rsp + 0x20]
cmp r14, rax
je 0x140054c61
mov r15, rbx
xor ebx, ebx
mov rsi, qword [r14]
cmp r15, rsi
je 0x140054c61
test rsi, rsi
je 0x140054c5e
mov rcx, rsi
call fcn.1400548a8
mov rcx, rsi
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
nop dword [rax + rax]
mov qword [r14], r15
test rbx, rbx
je 0x140054c7d
mov rcx, rbx
call fcn.1400548a8
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
nop dword [rax + rax]
xor eax, eax
jmp 0x140054ca7
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r15
pop r14
pop r13
ret
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
nop
test eax, eax
jle 0x140054cd8
movzx eax, ax
or eax, 0x80070000
mov ecx, eax
call fcn.14000e83c
int3
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
jle 0x140054cf8
movzx eax, ax
or eax, 0x80070000
mov ecx, eax
call fcn.14000e83c
int3