Function at 0x1400048d0
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 [0x1405beab8]
xor rax, rsp
mov qword [rbp + 0x28], rax
mov rbx, r8
mov r14, rcx
mov qword [rsp + 0x60], rcx
mov dword [rsp + 0x30], 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 + 0x30], 1
mov r8d, edx
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r12, rax
mov qword [rsp + 0x48], rax
test rax, rax
je 0x140004e30
lea rcx, [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r15, qword [rbp - 0x60]
mov qword [rsp + 0x38], r15
mov r13, qword [rbp - 0x58]
mov qword [rsp + 0x50], r13
mov rdx, rbx
lea rcx, [rbp - 0x18]
call fcn.14000eb50
nop
lea rdi, [rbp - 0x18]
mov r8, qword [rbp - 0x18]
cmp qword [rbp], 0x10
cmovae rdi, r8
lea rcx, [rbp - 0x18]
cmovae rcx, r8
mov rsi, qword [rbp - 8]
add rsi, rcx
lea rbx, [rbp - 0x18]
cmp qword [rbp], 0x10
cmovae rbx, r8
cmp rbx, rsi
je 0x1400049bb
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 0x1400049a7
cmp r15, r13
jae 0x140004dd9
movabs rsi, 0x7fffffffffffffff
nop
mov r9d, 0x30
lea r8, [rsp + 0x68]
mov rdx, r15
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test rax, rax
je 0x140004dd9
cmp dword [rbp - 0x78], 0x1000
jne 0x140004dc7
mov eax, dword [rbp - 0x74]
cmp eax, 1
je 0x140004dc7
cmp eax, 0x100
je 0x140004dc7
mov rdi, qword [rbp - 0x80]
xorps xmm1, xmm1
movdqu xmmword [rbp + 8], xmm1
xor ebx, ebx
mov qword [rbp + 0x18], rbx
test rdi, rdi
je 0x140004a90
cmp rdi, rsi
ja 0x140004e66
cmp rdi, 0x1000
jb 0x140004a66
lea rcx, [rdi + 0x27]
cmp rcx, rdi
jbe 0x140004e60
call fcn.1401c3ac0
test rax, rax
je 0x140004e23
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x140004a71
mov rcx, rdi
call fcn.1401c3ac0
mov rsi, rax
mov qword [rbp + 8], rsi
lea rbx, [rsi + rdi]
mov qword [rbp + 0x18], rbx
mov r8, rdi
xor edx, edx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memset
mov qword [rbp + 0x10], rbx
jmp 0x140004a98
mov rbx, qword [rbp + 0x10]
mov rsi, qword [rbp + 8]
lea rax, [rbp + 0x20]
mov qword [rsp + 0x20], rax
mov r9, rdi
mov r8, rsi
mov rdx, qword [rsp + 0x68]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x140004d85
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
xor eax, eax
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rax
cmp rsi, rbx
jne 0x140004aea
mov ecx, eax
mov qword [rbp - 0x28], rax
mov edi, reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x20], rdi
mov byte [rbp - 0x38], al
jmp 0x140004bc4
sub rbx, rsi
movabs rcx, 0x7fffffffffffffff
cmp rbx, rcx
ja 0x140004e5a
mov qword [rbp - 0x20], reloc.WS2_32.dll_ntohs
cmp rbx, 0x10
jae 0x140004b2b
mov qword [rbp - 0x28], rbx
mov r8, rbx
mov rdx, rsi
lea rcx, [rbp - 0x38]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbp + rbx - 0x38], 0
jmp 0x140004bbc
mov rdi, rbx
or rdi, 0xf
cmp rdi, rcx
jbe 0x140004b3c
mov rdi, rcx
jmp 0x140004b49
cmp rdi, 0x16
mov ecx, socket
cmovb rdi, rcx
mov rcx, rdi
add rcx, 1
mov rdx, 0xffffffffffffffff
cmovb rcx, rdx
cmp rcx, 0x1000
jb 0x140004b90
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140004e6c
mov rcx, rax
call fcn.1401c3ac0
test rax, rax
je 0x140004e1c
lea r15, [rax + 0x27]
and r15, 0xffffffffffffffe0
mov qword [r15 - 8], rax
jmp 0x140004b9d
test rcx, rcx
je 0x140004b9a
call fcn.1401c3ac0
mov r15, rax
mov qword [rbp - 0x38], r15
mov qword [rbp - 0x28], rbx
mov qword [rbp - 0x20], rdi
mov r8, rbx
mov rdx, rsi
mov rcx, r15
call sub.VCRUNTIME140.dll_memcpy
mov byte [r15 + rbx], 0
mov rcx, qword [rbp - 0x28]
mov rdi, qword [rbp - 0x20]
lea r12, [rbp - 0x38]
cmp rdi, 0x10
setae al
mov r15, qword [rbp - 0x38]
cmovae r12, r15
lea rdx, [rbp - 0x38]
test al, al
je 0x140004be8
mov rbx, r15
lea r13, [rcx + r15]
jmp 0x140004bf0
lea r13, [rcx + rdx]
lea rbx, [rbp - 0x38]
cmp rbx, r13
je 0x140004c21
sub r12, rbx
nop dword [rax + rax]
movsx ecx, byte [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [rbx + r12], al
inc rbx
cmp rbx, r13
jne 0x140004c00
mov rdi, qword [rbp - 0x20]
mov rcx, qword [rbp - 0x28]
mov r15, qword [rbp - 0x38]
lea r13, [rbp - 0x18]
cmp qword [rbp], 0x10
cmovae r13, qword [rbp - 0x18]
lea rax, [rbp - 0x38]
cmp rdi, 0x10
cmovae rax, r15
mov qword [rsp + 0x40], rax
mov r12, qword [rbp - 8]
cmp r12, rcx
ja 0x140004d3f
sub rcx, r12
test r12, r12
jne 0x140004c59
xor ebx, ebx
jmp 0x140004cd0
inc rcx
add rcx, rax
mov qword [rsp + 0x58], rcx
movsx edx, byte [r13]
mov r8, rcx
sub r8, rax
mov rcx, rax
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x140004d3f
nop dword [rax]
nop word [rax + rax]
mov r8, r12
mov rdx, r13
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140004cc4
inc rbx
mov r8, qword [rsp + 0x58]
sub r8, rbx
movsx edx, byte [r13]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
jne 0x140004c90
jmp 0x140004d3f
sub rbx, qword [rsp + 0x40]
cmp rbx, 0xffffffffffffffff
je 0x140004d3f
nop
mov rcx, qword [rsp + 0x68]
add rcx, rbx
mov qword [rsp + 0x40], rcx
mov rdx, qword [r14 + 8]
cmp rdx, qword [r14 + 0x10]
je 0x140004cf1
mov qword [rdx], rcx
add qword [r14 + 8], 8
jmp 0x140004cfe
lea r8, [rsp + 0x40]
mov rcx, r14
call fcn.140010530
lea r9, [rbp - 0x18]
cmp qword [rbp], 0x10
cmovae r9, qword [rbp - 0x18]
lea rcx, [rbp - 0x38]
mov r15, qword [rbp - 0x38]
mov rdi, qword [rbp - 0x20]
cmp rdi, 0x10
cmovae rcx, r15
lea r8, [rbx + 1]
mov rax, qword [rbp - 8]
mov qword [rsp + 0x20], rax
mov rdx, qword [rbp - 0x28]
call fcn.14000fc10
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x140004cd0
cmp rdi, 0x10
jb 0x140004d76
lea rdx, [rdi + 1]
mov rax, r15
cmp rdx, 0x1000
jb 0x140004d6e
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004e1c
mov rcx, r15
call fcn.1401c3fc8
mov r13, qword [rsp + 0x50]
mov r12, qword [rsp + 0x48]
mov r15, qword [rsp + 0x38]
test rsi, rsi
je 0x140004dbd
mov rcx, qword [rbp + 0x18]
sub rcx, rsi
mov rax, rsi
cmp rcx, 0x1000
jb 0x140004db2
add rcx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004e23
mov rdx, rcx
mov rcx, rsi
call fcn.1401c3fc8
movabs rsi, 0x7fffffffffffffff
add r15, qword [rbp - 0x80]
mov qword [rsp + 0x38], r15
cmp r15, r13
jb 0x1400049d0
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbp]
cmp rdx, 0x10
jb 0x140004e30
inc rdx
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004e2a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004e2a
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.1401c3fc8
nop
mov rax, r14
mov rcx, qword [rbp + 0x28]
xor rcx, rsp
call fcn.1401c3a90
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.140001670
nop
call fcn.1400015d0
int3
call fcn.140010350
nop
call fcn.1400015d0
int3