Function at 0x14004d070
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x50]
sub rsp, 0x150
xorps xmm0, xmm0
movdqa xmmword [rbp], xmm0
mov qword [rbp + 0x10], 0
lea rdx, [rsp + 0x60]
call fcn.14004bc60
test al, al
je 0x14004d373
mov eax, dword [0x1400d78a0]
mov dword [rbp + 0x68], eax
movzx eax, word [0x1400d78a4]
mov word [rbp + 0x6c], ax
mov byte [rbp + 0x68], 0x2e
xor byte [rbp + 0x69], 0x37
xor byte [rbp + 0x6a], 0x38
xor byte [rbp + 0x6b], 0x39
xor al, 0x3a
mov byte [rbp + 0x6c], al
xor byte [rbp + 0x6d], 0x3b
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
lea rax, [rbp + 0x68]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14004d100
lea rdx, [rbp + 0x68]
lea rcx, [rsp + 0x20]
call fcn.140001620
nop
lea rdx, [rsp + 0x20]
cmp qword [rsp + 0x38], 0xf
cmova rdx, qword [rsp + 0x20]
lea rcx, [rsp + 0x60]
call fcn.14004be10
mov rsi, rax
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x14004d177
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004d172
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004d172
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140059504
movdqa xmm0, xmmword [0x1400c2e50]
movdqu xmmword [rsp + 0x30], xmm0
mov byte [rsp + 0x20], 0
mov eax, dword [0x1400d78a8]
mov dword [rbp + 0x68], eax
movzx ecx, word [0x1400d78ac]
mov word [rbp + 0x6c], cx
movzx eax, byte [0x1400d78ae]
mov byte [rbp + 0x68], 0x2e
xor byte [rbp + 0x69], 0x37
xor byte [rbp + 0x6a], 0x38
xor byte [rbp + 0x6b], 0x39
xor cl, 0x3a
mov byte [rbp + 0x6c], cl
xor byte [rbp + 0x6d], 0x3b
xor al, 0x3c
mov byte [rbp + 0x6e], al
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
lea rax, [rbp + 0x68]
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14004d1e0
lea rdx, [rbp + 0x68]
lea rcx, [rsp + 0x40]
call fcn.140001620
nop
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.14004be10
mov rdi, rax
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x14004d257
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004d252
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004d252
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140059504
movdqa xmm0, xmmword [0x1400c2e50]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], 0
mov eax, dword [0x1400d78b0]
mov dword [rbp + 0x68], eax
movzx eax, word [0x1400d78b4]
mov word [rbp + 0x6c], ax
mov byte [rbp + 0x68], 0x2e
xor byte [rbp + 0x69], 0x37
xor byte [rbp + 0x6a], 0x38
xor byte [rbp + 0x6b], 0x39
xor al, 0x3a
mov byte [rbp + 0x6c], al
xor byte [rbp + 0x6d], 0x3b
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
lea rax, [rbp + 0x68]
nop dword [rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x14004d2b0
mov r8, rbx
lea rdx, [rbp + 0x68]
lea rcx, [rsp + 0x20]
call fcn.140001620
nop
lea rdx, [rsp + 0x20]
cmp qword [rsp + 0x38], 0xf
cmova rdx, qword [rsp + 0x20]
lea rcx, [rsp + 0x60]
call fcn.14004be10
mov rbx, rax
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x14004d329
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004d324
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004d324
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140059504
movdqa xmm0, xmmword [0x1400c2e50]
movdqu xmmword [rsp + 0x30], xmm0
mov byte [rsp + 0x20], 0
test rsi, rsi
je 0x14004d373
cmp rsi, rdi
jae 0x14004d373
cmp rdi, rbx
jae 0x14004d373
lea rcx, [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
xor edx, edx
mov eax, dword [rdi + 0xc]
mov rcx, qword [rbp + 0x48]
div ecx
test edx, edx
jne 0x14004d373
xor edx, edx
mov eax, dword [rbx + 0xc]
div ecx
test edx, edx
jne 0x14004d373
mov bl, 1
jmp 0x14004d375
xor bl, bl
mov rcx, qword [rbp]
test rcx, rcx
je 0x14004d3c6
mov rdx, qword [rbp + 0x10]
sub rdx, rcx
and rdx, 0xfffffffffffffff8
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004d3b1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004d3b1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140059504
xorps xmm0, xmm0
movdqa xmmword [rbp], xmm0
mov qword [rbp + 0x10], 0
movzx eax, bl
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret