Function at 0x1400077c0
Capabilities:
Get system information on windows

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x3b0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x3a0], rax
mov dword [rsp + 0x38], r9d
mov r14, r8
mov qword [rsp + 0x60], r8
mov r15, rdx
mov rsi, rcx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0xf0], rcx
mov qword [rsp + 0x90], r8
mov qword [rsp + 0xd0], r8
xor eax, eax
mov dword [rsp + 0x20], eax
mov dword [rsp + 0xc0], eax
mov word [rsp + 0xc5], ax
mov byte [rsp + 0xc7], al
mov qword [rsp + 0xc8], r8
movzx eax, byte [rsp + 0x410]
mov byte [rsp + 0xc4], al
mov ecx, 0xfffe
call fcn.14000c370
mov rdi, rax
mov qword [rsp + 0x40], rax
mov rbx, 0xffffffffffffffff
mov r13, rbx
inc r13
cmp word [r15 + r13*2], 0
jne 0x140007864
mov qword [rsp + 0x48], r13
mov dword [rsp + 0x28], r13d
movsxd rax, r13d
lea r12, [rax + rax]
mov r8, r12
mov rdx, r15
lea rcx, [rsp + 0x190]
call fcn.14002e750
movsxd rax, r13d
cmp word [rsp + rax*2 + 0x18e], 0x5c
je 0x1400078bc
mov eax, 0x5c
mov word [rsp + r12 + 0x190], ax
inc r13d
mov qword [rsp + 0x48], r13
mov dword [rsp + 0x28], r13d
movsxd rax, r13d
add rax, rax
cmp rax, 0x208
jae 0x140007e4d
xor ecx, ecx
mov word [rsp + rax + 0x190], cx
cmp r13d, 2
jl 0x14000790b
cmp word [rsp + 0x190], 0x5c
jne 0x14000790b
cmp word [rsp + 0x192], 0x5c
jne 0x14000790b
lea r8, [rsp + 0x190]
mov edx, 0x7fff
mov rcx, rdi
call fcn.140016598
jmp 0x14000794a
lea r8, str.__
mov edx, 0x7fff
mov rcx, rdi
call fcn.140016598
lea r8, [rsp + 0x190]
mov edx, 0x7fff
mov rcx, rdi
call fcn.140016600
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x140007934
mov r13d, ebx
mov qword [rsp + 0x48], r13
mov dword [rsp + 0x28], ebx
lea rcx, [rsp + 0x190]
call fcn.1400086d0
mov ebx, eax
mov dword [rsp + 0xc0], ebx
mov rdi, qword [rsi + 0x50]
mov qword [rsp + 0xb0], rdi
add rsi, 0x58
mov edx, dword [rsi]
test edx, edx
jne 0x14000798d
lea rcx, [rsp + 0x150]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, dword [rsp + 0x154]
mov dword [rsi], edx
lea eax, [rbx + rbx]
mov dword [rsp + 0x58], eax
lea rcx, [rsp + 0x58]
cmp edx, eax
cmovae rcx, rsi
mov eax, dword [rcx]
dec rdi
add rdi, rax
dec rax
not rax
and rdi, rax
cmp edx, ebx
jae 0x1400079bb
mov eax, ebx
sub eax, edx
add rdi, rax
mov eax, dword [rsp + 0x38]
test eax, eax
je 0x1400079c6
lea edi, [rax + rax]
mov ecx, 8
call fcn.14000c334
mov r15, rax
mov qword [rsp + 0x68], rax
mov r9d, 4
mov r8d, 0x3000
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [r15], rax
mov qword [rsp + 0xa0], r15
mov dword [rsp + 0x20], 1
test rax, rax
je 0x140007e53
mov r8d, dword [rsi]
cmp r8d, ebx
jae 0x140007a31
mov rdx, rbx
sub rdx, r8
add rdx, rax
mov ecx, ebx
sub ecx, r8d
not rcx
and rdx, rcx
mov qword [rsp + 0xa8], rdx
jmp 0x140007a39
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0xb0], rdi
mov qword [rsp + 0xd8], r15
mov rax, qword [r14]
mov r8d, ebx
mov rdx, rdi
mov rcx, r14
call qword [rax + 8]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov r12, rax
mov qword [rsp + 0x58], rax
test rax, rax
je 0x140007e7c
mov qword [rsp + 0xb8], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
xor eax, eax
mov qword [rsp + 0x80], rax
mov esi, eax
mov r8, qword [rsp + 0x30]
mov rdi, qword [r8 + 8]
sub rdi, qword [r8]
sar rdi, 5
mov rbx, qword [rsp + 0x78]
test rdi, rdi
jle 0x140007bd2
movsxd rcx, r13d
mov qword [rsp + 0x20], rcx
mov r15d, eax
mov r12, qword [rsp + 0x40]
xor r13d, r13d
nop word [rax + rax]
mov rax, qword [r8]
add rax, r15
mov qword [rsp + 0x50], rax
cmp byte [rax + 0x1c], r13b
jne 0x140007bb5
lea rcx, [r12 + rcx*2]
movsxd r8, dword [rax + 0x18]
add r8, r8
mov rdx, qword [rax + 0x10]
call fcn.14002e750
mov rcx, qword [rsp + 0x50]
movsxd rax, dword [rcx + 0x18]
mov rdx, qword [rsp + 0x20]
lea rcx, [r12 + rdx*2]
mov word [rcx + rax*2], r13w
lea r8, [rsp + 0x150]
xor edx, edx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
jne 0x140007b40
mov rax, qword [r14]
mov r8d, 2
mov rdx, qword [rsp + 0x20]
lea rdx, [r12 + rdx*2]
mov rcx, r14
call qword [rax]
jmp 0x140007bab
test byte [rsp + 0x150], 0x10
jne 0x140007bab
mov r8, qword [rsp + 0x30]
mov rdx, qword [r8]
movsxd rcx, dword [rsp + 0x16c]
shl rcx, 0x20
mov eax, dword [rsp + 0x170]
or rcx, rax
mov qword [rdx + r15 + 8], rcx
mov rcx, qword [r8]
add rcx, r15
add rsi, qword [rcx + 8]
mov qword [rsp + 0x50], rcx
cmp rbx, qword [rsp + 0x80]
je 0x140007b94
mov qword [rbx], rcx
add rbx, 8
mov qword [rsp + 0x78], rbx
jmp 0x140007bb0
lea r8, [rsp + 0x50]
mov rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.14000aac0
mov rbx, qword [rsp + 0x78]
mov r8, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
add r15, 0x20
sub rdi, 1
jne 0x140007ad0
mov r15, qword [rsp + 0x68]
mov r12, qword [rsp + 0x58]
mov r13, qword [rsp + 0x48]
mov rax, qword [r14]
mov rdx, rsi
mov rcx, r14
call qword [rax + 0x10]
xor r10d, r10d
mov edi, r10d
mov qword [rsp + 0x50], r10
mov r9, qword [rsp + 0x30]
mov r14, qword [r9 + 8]
sub r14, qword [r9]
sar r14, 5
mov qword [rsp + 0xe0], r14
mov esi, r10d
mov qword [rsp + 0x68], r10
mov rdx, qword [rsp + 0x70]
sub rbx, rdx
sar rbx, 3
mov qword [rsp + 0xa0], rbx
nop dword [rax]
cmp rdi, r14
jge 0x140007d9b
mov r8, rdi
shl r8, 5
add r8, qword [r9]
cmp byte [r8 + 0x1c], 0
jne 0x140007d8e
cmp rsi, rbx
jge 0x140007d8e
lea rax, [rdx + rsi*8]
mov qword [rsp + 0x48], rax
mov rdx, qword [rax]
mov qword [rsp + 0x38], rdx
cmp r8, rdx
jne 0x140007d89
movsxd rax, r13d
mov rcx, qword [rsp + 0x40]
lea rax, [rcx + rax*2]
mov qword [rsp + 0x20], rax
movsxd r8, dword [rdx + 0x18]
add r8, r8
mov rdx, qword [rdx + 0x10]
mov rcx, rax
call fcn.14002e750
mov rcx, qword [rsp + 0x38]
movsxd rax, dword [rcx + 0x18]
mov rcx, qword [rsp + 0x20]
xor edx, edx
mov word [rcx + rax*2], dx
mov r8, qword [rsp + 0x48]
mov r8, qword [r8]
mov r8, qword [r8 + 8]
lea rcx, [rsp + 0xa8]
cmp byte [rsp + 0x410], dl
mov rdx, qword [rsp + 0x40]
je 0x140007cd4
call fcn.140008a80
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
xor r8d, r8d
mov rdx, qword [rsp + 0x20]
call qword [rax]
jmp 0x140007d34
lea r9, [rsp + 0x150]
call fcn.1400087e0
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax]
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x48]
mov rcx, qword [rax]
mov r8d, 0x40
lea rdx, [rsp + 0x150]
mov rcx, qword [rcx]
call fcn.14002f190
mov rdx, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x60]
test eax, eax
jne 0x140007d29
xor r8d, r8d
call qword [rsp + 0x38]
jmp 0x140007d34
mov r8d, 1
call qword [rsp + 0x38]
nop
mov r9, qword [rsp + 0x30]
jmp 0x140007d81
inc rsi
mov qword [rsp + 0x68], rsi
mov rdx, qword [rsp + 0x70]
inc rdi
mov qword [rsp + 0x50], rdi
jmp 0x140007c20
mov rcx, qword [rsp + 0x40]
call fcn.14000c090
nop
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140007df2
mov rax, qword [rsp + 0x80]
sub rax, rcx
sar rax, 3
lea rdx, [rax*8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007dec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007ea5
call fcn.14000c090
nop
cmp r12, 0xffffffffffffffff
je 0x140007e02
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
test r15, r15
je 0x140007e2a
mov rcx, qword [r15]
test rcx, rcx
je 0x140007e1d
xor edx, edx
mov r8d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, 8
mov rcx, r15
call fcn.14000c090
mov rcx, qword [rsp + 0x3a0]
xor rcx, rsp
call fcn.14000c070
add rsp, 0x3b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
call fcn.14000c1a0
nop
lea rdx, [0x14003a238]
lea rcx, [rsp + 0x100]
call fcn.140006b00
lea rdx, [0x14003dfc8]
lea rcx, [rsp + 0x100]
call fcn.14000de30
nop
lea rdx, [0x14003a170]
lea rcx, [rsp + 0x128]
call fcn.140006b00
lea rdx, [0x14003dfc8]
lea rcx, [rsp + 0x128]
call fcn.14000de30
int3
call fcn.14001bde0
int3