Function at 0x140008680
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 [0x140098080]
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.140007a60
mov r12, qword [rbp]
test al, al
je 0x140008862
mov eax, dword [0x14008ca50]
mov dword [rsp + 0x20], eax
movzx eax, word [0x14008ca54]
mov word [rsp + 0x24], ax
mov byte [rsp + 0x20], reloc.WLDAP32.dll_Ordinal_46
xor byte [rsp + 0x21], 0x34
xor byte [rsp + 0x22], 0x35
xor byte [rsp + 0x23], 0x36
xor al, 0x37
mov byte [rsp + 0x24], al
xor byte [rsp + 0x25], 0x38
mov rbx, r12
mov rdi, qword [rbp + 8]
cmp r12, rdi
je 0x140008744
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 0x140008746
add rbx, 8
cmp rbx, rdi
jne 0x140008720
xor esi, esi
mov eax, dword [0x14008ca58]
mov dword [rsp + 0x28], eax
movzx eax, word [0x14008ca5c]
mov word [rsp + 0x2c], ax
movzx eax, byte [reloc.WS2_32.dll_gethostname]
mov byte [rsp + 0x28], reloc.WLDAP32.dll_Ordinal_46
xor byte [rsp + 0x29], 0x34
xor byte [rsp + 0x2a], 0x35
xor byte [rsp + 0x2b], 0x36
xor byte [rsp + 0x2c], 0x37
xor byte [rsp + 0x2d], 0x38
xor al, 0x39
mov byte [rsp + 0x2e], al
mov rbx, r12
cmp r12, rdi
je 0x1400087b4
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 0x1400087b7
add rbx, 8
cmp rbx, rdi
jne 0x140008790
xor r14d, r14d
mov eax, dword [0x14008ca60]
mov dword [rsp + 0x20], eax
movzx eax, word [0x14008ca64]
mov word [rsp + 0x24], ax
mov byte [rsp + 0x20], reloc.WLDAP32.dll_Ordinal_46
xor byte [rsp + 0x21], 0x34
xor byte [rsp + 0x22], 0x35
xor byte [rsp + 0x23], 0x36
xor byte [rsp + 0x24], 0x37
xor byte [rsp + 0x25], 0x38
mov rbx, r12
cmp r12, rdi
je 0x140008824
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 0x140008827
add rbx, 8
cmp rbx, rdi
jne 0x140008800
xor r15d, r15d
test rsi, rsi
je 0x140008862
cmp rsi, r14
jae 0x140008862
cmp r14, r15
jae 0x140008862
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 0x140008862
xor edx, edx
mov eax, dword [r15 + 0xc]
div ecx
test edx, edx
jne 0x140008862
mov bl, 1
jmp 0x140008864
xor bl, bl
test r12, r12
je 0x1400088a5
mov rdx, qword [rbp + 0x10]
sub rdx, r12
and rdx, 0xfffffffffffffff8
mov rax, r12
cmp rdx, 0x1000
jb 0x14000889d
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000889d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r12
call fcn.14006c60c
movzx eax, bl
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.14006c360
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