Function at 0x14001e470
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x180
mov rax, qword [0x140091240]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov rbx, rcx
mov rcx, qword [0x140091e18]
lea rdi, [0x140091e18]
cmp rcx, rdi
je 0x14001e4c0
test byte [rcx + 0x1c], 8
je 0x14001e4c0
mov rcx, qword [rcx + 0x10]
lea r8, str.I_R_K
mov edx, 0xa
call fcn.140001790
xor edx, edx
mov dword [rsp + 0x50], 0x114
mov r8d, 0x110
lea rcx, [rsp + 0x54]
call fcn.1400520b0
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov rcx, qword [0x140091e18]
cmp rcx, rdi
je 0x14001e5f4
test byte [rcx + 0x1c], 8
je 0x14001e51c
mov r9d, dword [rsp + 0x54]
lea r8, str.I_R_K
mov rcx, qword [rcx + 0x10]
mov edx, ntohl
call fcn.1400082f0
mov rcx, qword [0x140091e18]
cmp rcx, rdi
je 0x14001e5f4
test byte [rcx + 0x1c], 8
je 0x14001e54c
mov r9d, dword [rsp + 0x58]
lea r8, str.I_R_K
mov rcx, qword [rcx + 0x10]
mov edx, ntohl
call fcn.1400082f0
mov rcx, qword [0x140091e18]
cmp rcx, rdi
je 0x14001e5f4
test byte [rcx + 0x1c], 8
je 0x14001e57c
mov r9d, dword [rsp + 0x5c]
lea r8, str.I_R_K
mov rcx, qword [rcx + 0x10]
mov edx, reloc.WS2_32.dll_listen
call fcn.1400082f0
mov rcx, qword [0x140091e18]
cmp rcx, rdi
je 0x14001e5f4
test byte [rcx + 0x1c], 8
je 0x14001e5a8
mov r9d, dword [rsp + 0x60]
lea r8, str.I_R_K
mov rcx, qword [rcx + 0x10]
mov edx, reloc.WS2_32.dll_ntohl
call fcn.1400082f0
mov rcx, qword [0x140091e18]
cmp rcx, rdi
je 0x14001e5f4
test byte [rcx + 0x1c], 8
je 0x14001e5d4
mov rcx, qword [rcx + 0x10]
lea r9, [rsp + 0x64]
mov edx, reloc.WS2_32.dll_ntohs
lea r8, str.I_R_K
call fcn.14001e400
mov rcx, qword [0x140091e18]
cmp rcx, rdi
je 0x14001e5f4
test byte [rcx + 0x1c], 8
je 0x14001e5f4
mov rcx, qword [rcx + 0x10]
lea r8, str.I_R_K
mov edx, 0x10
call fcn.140001790
xorps xmm0, xmm0
lea rcx, [rsp + 0x20]
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov rcx, qword [0x140091e18]
cmp rcx, rdi
je 0x14001e728
test byte [rcx + 0x1c], 8
je 0x14001e648
mov r9d, dword [rsp + 0x40]
lea r8, str.I_R_K
mov rcx, qword [rcx + 0x10]
mov edx, setsockopt
call fcn.1400082f0
mov rcx, qword [0x140091e18]
cmp rcx, rdi
je 0x14001e728
test byte [rcx + 0x1c], 8
je 0x14001e679
movzx r9d, word [rsp + 0x20]
lea r8, str.I_R_K
mov rcx, qword [rcx + 0x10]
mov edx, setsockopt
call fcn.1400082f0
mov rcx, qword [0x140091e18]
cmp rcx, rdi
je 0x14001e728
test byte [rcx + 0x1c], 8
je 0x14001e6a9
mov r9d, dword [rsp + 0x44]
lea r8, str.I_R_K
mov rcx, qword [rcx + 0x10]
mov edx, setsockopt
call fcn.1400082f0
mov rcx, qword [0x140091e18]
cmp rcx, rdi
je 0x14001e728
test byte [rcx + 0x1c], 8
je 0x14001e6d6
movzx r9d, word [rsp + 0x4c]
lea r8, str.I_R_K
mov rcx, qword [rcx + 0x10]
mov edx, setsockopt
call fcn.1400082f0
mov rcx, qword [0x140091e18]
cmp rcx, rdi
je 0x14001e728
test byte [rcx + 0x1c], 8
je 0x14001e703
movzx r9d, word [rsp + 0x4e]
lea r8, str.I_R_K
mov rcx, qword [rcx + 0x10]
mov edx, reloc.WS2_32.dll_setsockopt
call fcn.1400082f0
mov rcx, qword [0x140091e18]
cmp rcx, rdi
je 0x14001e728
test byte [rcx + 0x1c], 8
je 0x14001e728
mov r9d, dword [rsp + 0x24]
lea r8, str.I_R_K
mov rcx, qword [rcx + 0x10]
mov edx, reloc.WS2_32.dll_shutdown
call fcn.1400082f0
mov rax, rbx
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.140036b80
mov rbx, qword [rsp + 0x190]
add rsp, 0x180
pop rdi
ret