Function at 0x140007eb0
Capabilities:
Get system information on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x238]
sub rsp, 0x338
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x220], rax
mov dword [rsp + 0x30], r9d
mov qword [rsp + 0x38], r8
mov r14, rdx
mov rsi, rcx
xor r13d, r13d
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], r8
mov ecx, 0xfffe
call fcn.14000c370
mov r15, rax
mov rbx, 0xffffffffffffffff
mov rdi, rbx
inc rdi
cmp word [r14 + rdi*2], r13w
jne 0x140007f16
movsxd rax, edi
lea r12, [rax + rax]
mov r8, r12
mov rdx, r14
lea rcx, [rbp + 0x10]
call fcn.14002e750
movsxd rax, edi
cmp word [rbp + rax*2 + 0xe], 0x5c
je 0x140007f4e
mov eax, 0x5c
mov word [rbp + r12 + 0x10], ax
inc edi
movsxd rax, edi
add rax, rax
cmp rax, 0x208
jae 0x140008211
mov word [rbp + rax + 0x10], r13w
cmp edi, 2
jl 0x140007f8c
cmp word [rbp + 0x10], 0x5c
jne 0x140007f8c
cmp word [rbp + 0x12], 0x5c
jne 0x140007f8c
lea r8, [rbp + 0x10]
mov edx, 0x7fff
mov rcx, r15
call fcn.140016598
jmp 0x140007fbd
lea r8, str.__
mov edx, 0x7fff
mov rcx, r15
call fcn.140016598
lea r8, [rbp + 0x10]
mov edx, 0x7fff
mov rcx, r15
call fcn.140016600
inc rbx
cmp word [r15 + rbx*2], r13w
jne 0x140007fb1
mov edi, ebx
lea rcx, [rbp + 0x10]
call fcn.1400086d0
mov ebx, eax
mov dword [rsp + 0x58], ebx
mov r8, qword [rsi + 0x50]
mov qword [rsp + 0x48], r8
lea r13, [rsi + 0x58]
mov edx, dword [r13]
test edx, edx
jne 0x140007ff7
lea rcx, [rbp - 0x28]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, dword [rbp - 0x24]
mov dword [r13], edx
mov r8, qword [rsp + 0x48]
lea eax, [rbx + rbx]
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x20]
cmp edx, eax
cmovae rcx, r13
mov eax, dword [rcx]
lea r14, [r8 - 1]
add r14, rax
dec rax
not rax
and r14, rax
cmp edx, ebx
jae 0x140008026
mov eax, ebx
sub eax, edx
add r14, rax
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x140008032
lea r14d, [rax + rax]
mov ecx, 8
call fcn.14000c334
mov r12, rax
mov qword [rsp + 0x28], rax
mov r9d, 4
mov r8d, 0x3000
mov rdx, r14
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [r12], rax
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 1
test rax, rax
je 0x140008217
mov edx, dword [r13]
cmp edx, ebx
jae 0x140008097
mov rcx, rbx
sub rcx, rdx
add rcx, rax
sub ebx, edx
mov eax, ebx
not rax
and rcx, rax
mov qword [rsp + 0x40], rcx
jmp 0x14000809c
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x28], r12
mov r13, qword [rsp + 0x38]
mov rax, qword [r13]
mov r8d, dword [rsp + 0x58]
mov rdx, r14
mov rcx, r13
call qword [rax + 8]
mov rax, qword [rsi]
cmp rax, qword [rsi + 8]
je 0x1400080ca
mov qword [rsi + 8], rax
mov rax, qword [rsi + 0x20]
sub rax, qword [rsi + 0x18]
sar rax, 3
xor ebx, ebx
movsxd r14, eax
test eax, eax
jle 0x140008101
nop
mov rax, qword [rsi + 0x18]
mov rcx, qword [rax + rbx*8]
call fcn.14001bb98
mov rax, qword [rsi + 0x18]
mov qword [rax + rbx*8], 0
inc rbx
cmp rbx, r14
jl 0x1400080e0
mov rax, qword [rsi + 0x18]
cmp rax, qword [rsi + 0x20]
je 0x14000810f
mov qword [rsi + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rbx, rax
mov qword [rsp + 0x38], rax
test rax, rax
je 0x1400081f0
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x70], r15
mov dword [rsp + 0x78], edi
lea rdx, [rsp + 0x68]
lea rcx, [rbp + 0x10]
call fcn.14000a3c0
mov rax, qword [r13]
mov rdx, qword [rsp + 0x68]
mov rcx, r13
call qword [rax + 0x10]
mov qword [rbp - 0x80], rsi
lea rax, [rsp + 0x40]
mov qword [rbp - 0x78], rax
lea rax, [rbp + 0x10]
mov qword [rbp - 0x70], rax
mov dword [rbp - 0x68], edi
mov qword [rbp - 0x60], r15
mov dword [rbp - 0x58], edi
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x10]
call fcn.14000a600
mov rcx, r15
call fcn.14000c090
nop
cmp rbx, 0xffffffffffffffff
je 0x1400081a9
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [r12]
test rcx, rcx
je 0x1400081c0
xor edx, edx
mov r8d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, 8
mov rcx, r12
call fcn.14000c090
mov rcx, qword [rbp + 0x220]
xor rcx, rsp
call fcn.14000c070
add rsp, 0x338
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea rdx, [0x14003a170]
lea rcx, [rbp - 0x50]
call fcn.140006b00
lea rdx, [0x14003dfc8]
lea rcx, [rbp - 0x50]
call fcn.14000de30
nop
call fcn.14000c1a0
nop
lea rdx, [0x14003a238]
lea rcx, [rbp - 0x50]
call fcn.140006b00
lea rdx, [0x14003dfc8]
lea rcx, [rbp - 0x50]
call fcn.14000de30
int3