Function at 0x140001e80
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0xd0]
sub rsp, 0x1d0
mov rax, qword [0x140492fc0]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov rsi, rcx
mov qword [rsp + 0x68], rcx
xor ecx, ecx
mov dword [rsp + 0x20], ecx
lea rax, [0x140484d90]
mov qword [rsi], rax
mov dword [rsp + 0x20], 1
mov qword [rbp - 0x60], 0x114
mov qword [rbp - 0x58], rcx
mov dword [rbp - 0x50], ecx
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp - 0x4c]
call fcn.140259400
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, 0xffffffff
test rax, rax
je 0x1400023a1
lea rdx, str.RtlGetVersion
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400023a1
lea rcx, [rbp - 0x60]
call rax
test eax, eax
jne 0x1400023a1
mov r8d, 0xa
mov edx, dword [rbp - 0x58]
lea rcx, [rsp + 0x48]
call fcn.1400bbaa0
mov r14, rax
mov r8d, 0xa
mov edx, dword [rbp - 0x5c]
lea rcx, [rsp + 0x60]
call fcn.1400bbaa0
mov rbx, rax
mov r8d, listen
lea rdx, str.OS_Version:
lea rcx, [rsp + 0x38]
call fcn.1400ba890
mov dword [rsp + 0x20], 0x181
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.1400b7020
nop
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x58], rax
mov ecx, dword [rax]
inc ecx
cmp ecx, 1
jbe 0x140001fa4
mov rax, qword [rsp + 0x38]
lock inc dword [rax]
mov dword [rsp + 0x20], 0x381
mov r8d, 1
lea rdx, [0x140265ccc]
lea rcx, [rsp + 0x28]
call fcn.1400ba890
mov dword [rsp + 0x20], 0x781
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x58]
call fcn.1400b7020
nop
mov rax, qword [rsp + 0x28]
mov ecx, dword [rax]
test ecx, ecx
je 0x140001ffb
cmp ecx, 0xffffffff
je 0x140002011
mov rax, qword [rsp + 0x28]
mov ecx, edi
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x140002011
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x28]
call fcn.1400affb0
nop
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x50], rax
mov ecx, dword [rax]
inc ecx
cmp ecx, 1
jbe 0x14000202c
mov rax, qword [rsp + 0x58]
lock inc dword [rax]
mov dword [rsp + 0x20], 0xf81
mov rdx, r14
lea rcx, [rsp + 0x50]
call fcn.1400b7020
nop
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x40], rax
mov ecx, dword [rax]
inc ecx
cmp ecx, 1
jbe 0x14000205d
mov rax, qword [rsp + 0x50]
lock inc dword [rax]
mov dword [rsp + 0x20], 0x1f81
mov r8d, 1
lea rdx, [0x140265cc8]
lea rcx, [rsp + 0x28]
call fcn.1400ba890
mov dword [rsp + 0x20], 0x3f81
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x40]
call fcn.1400b7020
nop
mov rax, qword [rsp + 0x28]
mov ecx, dword [rax]
test ecx, ecx
je 0x1400020b4
cmp ecx, 0xffffffff
je 0x1400020c9
mov rax, qword [rsp + 0x28]
mov ecx, edi
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x1400020c9
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x28]
call fcn.1400affb0
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.1400b7020
nop
mov rax, qword [rsp + 0x40]
mov ecx, dword [rax]
test ecx, ecx
je 0x1400020f7
cmp ecx, 0xffffffff
je 0x14000210d
mov rax, qword [rsp + 0x40]
mov ecx, edi
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x14000210d
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x40]
call fcn.1400affb0
nop
mov rax, qword [rsp + 0x50]
mov ecx, dword [rax]
test ecx, ecx
je 0x14000212d
cmp ecx, 0xffffffff
je 0x140002143
mov rax, qword [rsp + 0x50]
mov ecx, edi
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x140002143
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x50]
call fcn.1400affb0
nop
mov rax, qword [rsp + 0x58]
mov ecx, dword [rax]
test ecx, ecx
je 0x140002163
cmp ecx, 0xffffffff
je 0x140002178
mov rax, qword [rsp + 0x58]
mov ecx, edi
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x140002178
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x58]
call fcn.1400affb0
mov dword [rsp + 0x20], 0x2501
mov rax, qword [rsp + 0x38]
mov ecx, dword [rax]
test ecx, ecx
je 0x1400021a0
cmp ecx, 0xffffffff
je 0x1400021b6
mov rax, qword [rsp + 0x38]
mov ecx, edi
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x1400021b6
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x38]
call fcn.1400affb0
nop
mov rax, qword [rsp + 0x60]
mov ecx, dword [rax]
test ecx, ecx
je 0x1400021d6
cmp ecx, 0xffffffff
je 0x1400021ec
mov rax, qword [rsp + 0x60]
mov ecx, edi
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x1400021ec
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x60]
call fcn.1400affb0
nop
mov rax, qword [rsp + 0x48]
mov ecx, dword [rax]
test ecx, ecx
je 0x14000220c
cmp ecx, 0xffffffff
je 0x140002221
mov rax, qword [rsp + 0x48]
mov ecx, edi
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x140002221
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x48]
call fcn.1400affb0
mov r8d, 0xa
mov edx, dword [rbp - 0x54]
lea rcx, [rsp + 0x48]
call fcn.1400bbaa0
mov rbx, rax
mov r8d, reloc.WS2_32.dll_ntohl
lea rdx, str.Build_Number:
lea rcx, [rsp + 0x38]
call fcn.1400ba890
mov dword [rsp + 0x20], 0xe501
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.1400b7020
nop
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
mov ecx, dword [rax]
inc ecx
cmp ecx, 1
jbe 0x14000227f
mov rax, qword [rsp + 0x38]
lock inc dword [rax]
mov dword [rsp + 0x20], 0x1e501
mov r8d, 1
lea rdx, [0x140265cc8]
lea rcx, [rsp + 0x28]
call fcn.1400ba890
mov dword [rsp + 0x20], 0x3e501
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x40]
call fcn.1400b7020
nop
mov rax, qword [rsp + 0x28]
mov ecx, dword [rax]
test ecx, ecx
je 0x1400022d6
cmp ecx, 0xffffffff
je 0x1400022eb
mov rax, qword [rsp + 0x28]
mov ecx, edi
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x1400022eb
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x28]
call fcn.1400affb0
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.1400b7020
nop
mov rax, qword [rsp + 0x40]
mov ecx, dword [rax]
test ecx, ecx
je 0x140002319
cmp ecx, 0xffffffff
je 0x14000232e
mov rax, qword [rsp + 0x40]
mov ecx, edi
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x14000232e
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x40]
call fcn.1400affb0
mov dword [rsp + 0x20], 0x2a501
mov rax, qword [rsp + 0x38]
mov ecx, dword [rax]
test ecx, ecx
je 0x140002356
cmp ecx, 0xffffffff
je 0x14000236c
mov rax, qword [rsp + 0x38]
mov ecx, edi
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x14000236c
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x38]
call fcn.1400affb0
nop
mov rax, qword [rsp + 0x48]
mov ecx, dword [rax]
test ecx, ecx
je 0x14000238c
cmp ecx, 0xffffffff
je 0x1400023a1
mov rax, qword [rsp + 0x48]
mov ecx, edi
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x1400023a1
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x48]
call fcn.1400affb0
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r8d, 0x18
lea rdx, str.Processor_Architecture:
lea rcx, [rsp + 0x28]
call fcn.1400ba890
or dword [rsp + 0x20], 2
lea rdx, [rsp + 0x28]
mov rcx, rsi
call fcn.1400b7020
nop
mov rax, qword [rsp + 0x28]
mov ecx, dword [rax]
test ecx, ecx
je 0x1400023f6
cmp ecx, 0xffffffff
je 0x14000240b
mov rax, qword [rsp + 0x28]
mov ecx, edi
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x14000240b
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x28]
call fcn.1400affb0
movzx ecx, word [rsp + 0x70]
test ecx, ecx
je 0x1400024fd
sub ecx, 5
je 0x1400024ce
sub ecx, 1
je 0x1400024a2
cmp ecx, 3
lea rcx, [rsp + 0x28]
je 0x14000247b
mov r8d, reloc.WS2_32.dll_setsockopt
lea rdx, str.Unknown_architecture_n
call fcn.1400ba890
or dword [rsp + 0x20], 0x40
lea rdx, [rsp + 0x28]
mov rcx, rsi
call fcn.1400b7020
nop
mov rax, qword [rsp + 0x28]
mov ecx, dword [rax]
test ecx, ecx
je 0x140002545
cmp ecx, 0xffffffff
je 0x14000255a
mov rax, qword [rsp + 0x28]
lock xadd dword [rax], edi
jmp 0x140002540
mov r8d, setsockopt
lea rdx, str.x64__AMD_or_Intel__n
call fcn.1400ba890
or dword [rsp + 0x20], 4
lea rdx, [rsp + 0x28]
mov rcx, rsi
call fcn.1400b7020
nop
jmp 0x140002455
mov r8d, setsockopt
lea rdx, str.Intel_Itanium_based_n
lea rcx, [rsp + 0x28]
call fcn.1400ba890
or dword [rsp + 0x20], 0x10
lea rdx, [rsp + 0x28]
mov rcx, rsi
call fcn.1400b7020
nop
jmp 0x140002455
mov r8d, 4
lea rdx, str.ARM_n
lea rcx, [rsp + 0x28]
call fcn.1400ba890
or dword [rsp + 0x20], 8
lea rdx, [rsp + 0x28]
mov rcx, rsi
call fcn.1400b7020
nop
jmp 0x140002455
mov r8d, 4
lea rdx, str.x86_n
lea rcx, [rsp + 0x28]
call fcn.1400ba890
or dword [rsp + 0x20], 0x20
lea rdx, [rsp + 0x28]
mov rcx, rsi
call fcn.1400b7020
nop
mov rax, qword [rsp + 0x28]
mov ecx, dword [rax]
test ecx, ecx
je 0x140002545
cmp ecx, 0xffffffff
je 0x14000255a
mov rcx, qword [rsp + 0x28]
lock xadd dword [rcx], edi
cmp edi, 1
jne 0x14000255a
mov r8d, 8
mov edx, 2
mov rcx, qword [rsp + 0x28]
call fcn.1400affb0
mov rax, rsi
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.140229fa0
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret