Function at 0x14018e850
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x1b8
mov rax, qword [0x14034e740]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
mov dword [rsp + 0x44], 0
mov eax, dword [rsp + 0x1e0]
mov dword [rsp + 0x4c], eax
mov rcx, qword [rsp + 0x1c8]
call fcn.14018f640
cmp eax, 1
jne 0x14018e8ca
mov rcx, qword [rsp + 0x1c8]
call fcn.14018f620
mov rcx, rax
call fcn.1401623c0
movzx edx, al
mov ecx, dword [rsp + 0x1e0]
call fcn.14018ee40
mov dword [rsp + 0x4c], eax
mov dword [rsp + 0x40], 0
mov rcx, qword [rsp + 0x1c8]
call fcn.14018f620
mov rcx, rax
call fcn.140183430
mov rcx, rax
call fcn.14018f630
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
mov edx, eax
mov rcx, qword [rsp + 0x1d0]
call fcn.140160ca0
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x130]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x160]
call fcn.140182dd0
lea rcx, [rsp + 0x160]
call fcn.14015e9a0
nop
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0xb0], rax
mov eax, dword [rsp + 0x48]
mov qword [rsp + 0x78], rax
xor edx, edx
mov rax, qword [rsp + 0x1d8]
mov rcx, qword [rsp + 0x78]
div rcx
mov ecx, dword [rsp + 0x48]
imul rax, rcx
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x128]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x120], rax
cmp qword [rsp + 0x120], 0
je 0x14018ed46
mov rax, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x1d8]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x1d8]
mov rdx, qword [rsp + 0x128]
sub rdx, rcx
mov rcx, rdx
cmp rax, rcx
jae 0x14018eb9c
mov rax, qword [rsp + 0x80]
cmp qword [rsp + 0x120], rax
jb 0x14018eb9c
cmp qword [rsp + 0x120], 0
je 0x14018eb9c
mov rcx, qword [rsp + 0x1c8]
call fcn.14018f620
mov rcx, rax
call fcn.140183430
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x88], rax
lea r8, [rsp + 0x170]
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x50]
call qword [rsp + 0x90]
test eax, eax
je 0x14018ea6b
jmp 0x14018ed46
cmp dword [rsp + 0x190], 0x10000
jne 0x14018eb7c
mov rax, qword [rsp + 0x1d0]
cmp qword [rsp + 0x188], rax
jb 0x14018eb7c
mov rcx, qword [rsp + 0x1c8]
call fcn.14018f620
mov rcx, rax
call fcn.140183430
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
mov rax, qword [rax]
mov qword [rsp + 0x98], rax
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x20], eax
mov r9d, 0x3000
mov r8, qword [rsp + 0x1d0]
lea rdx, [rsp + 0x120]
mov rcx, qword [rsp + 0x58]
call qword [rsp + 0x98]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jl 0x14018eb7a
mov byte [rsp + 0x30], 0
movzx eax, byte [rsp + 0x1e8]
mov byte [rsp + 0x28], al
mov eax, dword [rsp + 0x1e0]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x1d0]
mov r8, qword [rsp + 0x120]
mov rdx, qword [rsp + 0x1c8]
lea rcx, [rsp + 0xf0]
call fcn.14018e1b0
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0xa8], rax
mov rdx, qword [rsp + 0xa8]
lea rcx, [rsp + 0x160]
call fcn.14015fd50
nop
lea rcx, [rsp + 0xf0]
call fcn.14015f940
nop
jmp 0x14018ed46
jmp 0x14018eb97
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x178]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x120], rax
jmp 0x14018ed41
mov rax, qword [rsp + 0xb0]
cmp qword [rsp + 0x128], rax
jae 0x14018ed3f
mov rcx, qword [rsp + 0x1c8]
call fcn.14018f620
mov rcx, rax
call fcn.140183430
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov rax, qword [rax]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0xb8], rax
lea r8, [rsp + 0x170]
mov rdx, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x68]
call qword [rsp + 0xc0]
test eax, eax
je 0x14018ec15
jmp 0x14018ed46
cmp dword [rsp + 0x190], 0x10000
jne 0x14018ed1f
mov rax, qword [rsp + 0x1d0]
cmp qword [rsp + 0x188], rax
jb 0x14018ed1f
mov rcx, qword [rsp + 0x1c8]
call fcn.14018f620
mov rcx, rax
call fcn.140183430
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
mov rax, qword [rax]
mov qword [rsp + 0xc8], rax
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x20], eax
mov r9d, 0x3000
mov r8, qword [rsp + 0x1d0]
lea rdx, [rsp + 0x128]
mov rcx, qword [rsp + 0x70]
call qword [rsp + reloc.WLDAP32.dll_Ordinal_200]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jl 0x14018ed1d
mov byte [rsp + 0x30], 0
movzx eax, byte [rsp + 0x1e8]
mov byte [rsp + 0x28], al
mov eax, dword [rsp + 0x1e0]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x1d0]
mov r8, qword [rsp + 0x128]
mov rdx, qword [rsp + 0x1c8]
lea rcx, [rsp + 0x100]
call fcn.14018e1b0
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0xd8], rax
mov rdx, qword [rsp + 0xd8]
lea rcx, [rsp + 0x160]
call fcn.14015fd50
nop
lea rcx, [rsp + 0x100]
call fcn.14015f940
nop
jmp 0x14018ed46
jmp 0x14018ed3d
mov rax, qword [rsp + 0x188]
mov rcx, qword [rsp + 0x170]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x128], rax
jmp 0x14018ed41
jmp 0x14018ed46
jmp 0x14018e99f
lea rcx, [rsp + 0x160]
call fcn.14016dcf0
movzx eax, al
test eax, eax
jne 0x14018edb8
movzx eax, byte [rsp + 0x1e8]
mov byte [rsp + 0x28], al
mov eax, dword [rsp + 0x1e0]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x1d8]
mov r8, qword [rsp + 0x1d0]
mov rdx, qword [rsp + 0x1c8]
mov rcx, qword [rsp + 0x1c0]
call fcn.14018e5b0
mov eax, dword [rsp + 0x44]
or eax, 1
mov dword [rsp + 0x44], eax
lea rcx, [rsp + 0x160]
call fcn.14015f940
mov rax, qword [rsp + 0x1c0]
jmp 0x14018ee1e
lea rax, [rsp + 0x110]
mov qword [rsp + 0xe0], rax
lea rdx, [rsp + 0x160]
mov rcx, qword [rsp + 0xe0]
call fcn.14017b710
mov qword [rsp + 0xe8], rax
xor r8d, r8d
mov rdx, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0x1c0]
call fcn.14018e130
mov eax, dword [rsp + 0x44]
or eax, 1
mov dword [rsp + 0x44], eax
lea rcx, [rsp + 0x160]
call fcn.14015f940
nop
mov rax, qword [rsp + 0x1c0]
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.14023b800
add rsp, 0x1b8
ret