Function at 0x180007730
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x1801a70c0]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov rbx, r8
mov r13, rcx
mov qword [rsp + 0x58], rcx
mov dword [rsp + 0x48], 1
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rcx], xmm0
mov qword [rcx], rax
mov qword [rcx + 8], rax
mov qword [rcx + 0x10], rax
mov dword [rsp + 0x48], 1
mov r8d, edx
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r15, rax
mov qword [rsp + 0x38], rax
test rax, rax
je 0x180007ce7
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rbp - 0x68]
mov qword [rsp + 0x50], r14
mov r12, qword [rbp - 0x60]
mov qword [rsp + 0x40], r12
mov rdx, rbx
lea rcx, [rbp - 0x20]
call fcn.180012e20
nop
lea rdi, [rbp - 0x20]
mov r8, qword [rbp - 0x20]
cmp qword [rbp - 8], 0xf
cmova rdi, r8
lea rcx, [rbp - 0x20]
cmova rcx, r8
mov rsi, qword [rbp - 0x10]
add rsi, rcx
lea rbx, [rbp - 0x20]
cmp qword [rbp - 8], 0xf
cmova rbx, r8
cmp rbx, rsi
je 0x18000781b
sub rdi, rbx
movsx ecx, byte [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [rbx + rdi], al
inc rbx
cmp rbx, rsi
jne 0x180007807
cmp r14, r12
jae 0x180007c90
movabs rbx, 0x7fffffffffffffff
nop
mov r9d, Ordinal_50
lea r8, [rsp + 0x60]
mov rdx, r14
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test rax, rax
je 0x180007c90
cmp dword [rbp - 0x80], 0x1000
jne 0x180007c7d
mov eax, dword [rbp - 0x7c]
cmp eax, 1
je 0x180007c7d
cmp eax, 0x100
je 0x180007c7d
mov rdi, qword [rsp + 0x78]
xorps xmm1, xmm1
movdqu xmmword [rbp], xmm1
xor esi, esi
mov qword [rbp + 0x10], rsi
test rdi, rdi
je 0x1800078ef
cmp rdi, rbx
ja 0x180007d1d
cmp rdi, 0x1000
jb 0x1800078ca
lea rcx, [rdi + 0x27]
cmp rcx, rdi
jbe 0x180007d17
call fcn.180119288
mov rcx, rax
test rax, rax
je 0x180007cda
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1800078d2
mov rcx, rdi
call fcn.180119288
mov qword [rbp], rax
lea rbx, [rax + rdi]
mov qword [rbp + 0x10], rbx
mov r8, rdi
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rbp + 8], rbx
lea rax, [rbp + 0x18]
mov qword [rsp + 0x20], rax
mov r9, rdi
mov r8, qword [rbp]
mov rdx, qword [rsp + 0x60]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x180007c3d
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x28], rsi
mov r14, qword [rbp]
mov rbx, qword [rbp + 8]
cmp r14, rbx
jne 0x18000794a
mov rcx, rsi
mov qword [rbp - 0x30], rcx
mov r14d, reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x28], r14
mov byte [rbp - 0x40], cl
jmp 0x180007a23
sub rbx, r14
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
ja 0x180007d11
cmp rbx, 0xf
ja 0x18000798b
mov qword [rbp - 0x30], rbx
mov qword [rbp - 0x28], reloc.WS2_32.dll_ntohs
mov r8, rbx
mov rdx, r14
lea rcx, [rbp - 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbp + rbx - 0x40], 0
jmp 0x180007a1b
mov rdi, rbx
or rdi, 0xf
cmp rdi, rax
jbe 0x1800079aa
mov rdi, rax
movabs rax, 0x8000000000000000
add rax, 0x27
jmp 0x1800079d6
cmp rdi, 0x16
mov eax, reloc.WLDAP32.dll_Ordinal_22
cmovb rdi, rax
lea rcx, [rdi + 1]
test rcx, rcx
je 0x1800079fd
cmp rcx, 0x1000
jb 0x1800079f5
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x180007d23
mov rcx, rax
call fcn.180119288
test rax, rax
je 0x180007cd3
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x1800079fd
call fcn.180119288
mov rsi, rax
mov qword [rbp - 0x40], rsi
mov qword [rbp - 0x30], rbx
mov qword [rbp - 0x28], rdi
mov r8, rbx
mov rdx, r14
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsi + rbx], 0
mov r14, qword [rbp - 0x28]
mov rcx, qword [rbp - 0x30]
lea rdi, [rbp - 0x40]
mov r8, qword [rbp - 0x40]
mov qword [rsp + 0x30], r8
cmp r14, 0xf
cmova rdi, r8
lea rsi, [rbp - 0x40]
cmova rsi, r8
add rsi, rcx
lea rbx, [rbp - 0x40]
cmp r14, 0xf
cmova rbx, r8
cmp rbx, rsi
je 0x180007a78
sub rdi, rbx
movsx ecx, byte [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [rbx + rdi], al
inc rbx
cmp rbx, rsi
jne 0x180007a57
mov rcx, qword [rbp - 0x30]
mov r8, qword [rbp - 0x40]
mov qword [rsp + 0x30], r8
lea rsi, [rbp - 0x20]
cmp qword [rbp - 8], 0xf
cmova rsi, qword [rbp - 0x20]
lea r14, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova r14, r8
mov rdi, qword [rbp - 0x10]
cmp rdi, rcx
ja 0x180007bfd
sub rcx, rdi
test rdi, rdi
jne 0x180007aac
xor ebx, ebx
jmp 0x180007b13
lea r15, [r14 + rcx]
movsx r12d, byte [rsi]
lea r8, [r15 + 1]
sub r8, r14
mov edx, r12d
mov rcx, r14
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x180007bee
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x180007b06
inc rbx
lea r8, [r15 + 1]
sub r8, rbx
mov edx, r12d
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
jne 0x180007ad2
jmp 0x180007bee
sub rbx, r14
cmp rbx, 0xffffffffffffffff
je 0x180007bee
mov rcx, qword [rsp + 0x60]
add rcx, rbx
mov qword [rsp + 0x30], rcx
mov rdx, qword [r13 + 8]
cmp rdx, qword [r13 + 0x10]
je 0x180007b34
mov qword [rdx], rcx
add qword [r13 + 8], 8
jmp 0x180007b41
lea r8, [rsp + 0x30]
mov rcx, r13
call fcn.180015340
inc rbx
lea rsi, [rbp - 0x20]
cmp qword [rbp - 8], 0xf
cmova rsi, qword [rbp - 0x20]
lea r12, [rbp - 0x40]
mov rax, qword [rbp - 0x40]
mov qword [rsp + 0x30], rax
cmp qword [rbp - 0x28], 0xf
cmova r12, rax
mov rdi, qword [rbp - 0x10]
mov rax, qword [rbp - 0x30]
cmp rdi, rax
ja 0x180007bee
sub rax, rdi
cmp rbx, rax
ja 0x180007bee
test rdi, rdi
je 0x180007be4
lea r14, [rax + r12]
lea rcx, [r12 + rbx]
movsx r15d, byte [rsi]
lea r8, [r14 + 1]
sub r8, rcx
mov edx, r15d
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x180007bee
nop word [rax + rax]
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x180007be1
inc rbx
lea r8, [r14 + 1]
sub r8, rbx
mov edx, r15d
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
jne 0x180007bb0
jmp 0x180007bee
sub rbx, r12
cmp rbx, 0xffffffffffffffff
jne 0x180007b13
mov r12, qword [rsp + 0x40]
mov r15, qword [rsp + 0x38]
mov r8, qword [rsp + 0x30]
mov rcx, qword [rbp - 0x28]
cmp rcx, 0xf
jbe 0x180007c38
lea rdx, [rcx + 1]
mov rax, r8
cmp rdx, 0x1000
jb 0x180007c30
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180007cd3
mov rcx, r8
call fcn.180119280
mov r14, qword [rsp + 0x50]
mov rcx, qword [rbp]
test rcx, rcx
je 0x180007c73
mov rdx, qword [rbp + 0x10]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180007c6e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180007cda
call fcn.180119280
movabs rbx, 0x7fffffffffffffff
add r14, qword [rsp + 0x78]
mov qword [rsp + 0x50], r14
cmp r14, r12
jb 0x180007830
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x180007ce7
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180007ce1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180007ce1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.180119280
nop
mov rax, r13
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.180119260
mov rbx, qword [rsp + 0x188]
add rsp, 0x130
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.180005500
nop
call fcn.180005460
int3
call fcn.180015210
nop
call fcn.180005460
int3