Function at 0x140054f20
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x140100040]
xor rax, rsp
mov qword [rbp + 0x20], rax
xorps xmm0, xmm0
movdqa xmmword [rbp], xmm0
mov qword [rbp + 0x10], 0
lea rdx, [rsp + 0x60]
call fcn.1400541e0
mov r12, qword [rbp]
test al, al
je 0x140055102
mov eax, dword [0x1400ef960]
mov dword [rsp + 0x20], eax
movzx eax, word [0x1400ef964]
mov word [rsp + 0x24], ax
mov byte [rsp + 0x20], reloc.WLDAP32.dll_Ordinal_46
xor byte [rsp + 0x21], 0x38
xor byte [rsp + 0x22], 0x39
xor byte [rsp + 0x23], 0x3a
xor al, 0x3b
mov byte [rsp + 0x24], al
xor byte [rsp + 0x25], 0x3c
mov rbx, r12
mov rdi, qword [rbp + 8]
cmp r12, rdi
je 0x140054fe4
nop dword [rax]
nop word [rax + rax]
mov rsi, qword [rbx]
mov r8d, 8
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x140054fe6
add rbx, 8
cmp rbx, rdi
jne 0x140054fc0
xor esi, esi
mov eax, dword [0x1400ef968]
mov dword [rsp + 0x28], eax
movzx eax, word [0x1400ef96c]
mov word [rsp + 0x2c], ax
movzx eax, byte [0x1400ef96e]
mov byte [rsp + 0x28], reloc.WLDAP32.dll_Ordinal_46
xor byte [rsp + 0x29], 0x38
xor byte [rsp + 0x2a], 0x39
xor byte [rsp + 0x2b], 0x3a
xor byte [rsp + 0x2c], 0x3b
xor byte [rsp + 0x2d], 0x3c
xor al, 0x3d
mov byte [rsp + 0x2e], al
mov rbx, r12
cmp r12, rdi
je 0x140055054
nop
mov r14, qword [rbx]
mov r8d, 8
lea rdx, [rsp + 0x28]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x140055057
add rbx, 8
cmp rbx, rdi
jne 0x140055030
xor r14d, r14d
mov eax, dword [0x1400ef940]
mov dword [rsp + 0x20], eax
movzx eax, word [0x1400ef944]
mov word [rsp + 0x24], ax
mov byte [rsp + 0x20], reloc.WLDAP32.dll_Ordinal_46
xor byte [rsp + 0x21], 0x38
xor byte [rsp + 0x22], 0x39
xor byte [rsp + 0x23], 0x3a
xor byte [rsp + 0x24], 0x3b
xor byte [rsp + 0x25], 0x3c
mov rbx, r12
cmp r12, rdi
je 0x1400550c4
nop dword [rax]
nop word [rax + rax]
mov r15, qword [rbx]
mov r8d, 8
lea rdx, [rsp + 0x20]
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x1400550c7
add rbx, 8
cmp rbx, rdi
jne 0x1400550a0
xor r15d, r15d
test rsi, rsi
je 0x140055102
cmp rsi, r14
jae 0x140055102
cmp r14, r15
jae 0x140055102
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
xor edx, edx
mov eax, dword [r14 + 0xc]
mov rcx, qword [rsp + 0x58]
div ecx
test edx, edx
jne 0x140055102
xor edx, edx
mov eax, dword [r15 + 0xc]
div ecx
test edx, edx
jne 0x140055102
mov bl, 1
jmp 0x140055104
xor bl, bl
test r12, r12
je 0x140055145
mov rdx, qword [rbp + 0x10]
sub rdx, r12
and rdx, 0xfffffffffffffff8
mov rax, r12
cmp rdx, 0x1000
jb 0x14005513d
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005513d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r12
call fcn.1400557d0
movzx eax, bl
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.140055510
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret