Function at 0x14018e840
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.14018f630
cmp eax, 1
jne 0x14018e8ba
mov rcx, qword [rsp + 0x1c8]
call fcn.14018f610
mov rcx, rax
call fcn.1401623b0
movzx edx, al
mov ecx, dword [rsp + 0x1e0]
call fcn.14018ee30
mov dword [rsp + 0x4c], eax
mov dword [rsp + 0x40], 0
mov rcx, qword [rsp + 0x1c8]
call fcn.14018f610
mov rcx, rax
call fcn.140183420
mov rcx, rax
call fcn.14018f620
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
mov edx, eax
mov rcx, qword [rsp + 0x1d0]
call fcn.140160c90
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.140182dc0
lea rcx, [rsp + 0x160]
call fcn.14015e990
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 0x14018ed36
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 0x14018eb8c
mov rax, qword [rsp + 0x80]
cmp qword [rsp + 0x120], rax
jb 0x14018eb8c
cmp qword [rsp + 0x120], 0
je 0x14018eb8c
mov rcx, qword [rsp + 0x1c8]
call fcn.14018f610
mov rcx, rax
call fcn.140183420
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 0x14018ea5b
jmp 0x14018ed36
cmp dword [rsp + 0x190], 0x10000
jne 0x14018eb6c
mov rax, qword [rsp + 0x1d0]
cmp qword [rsp + 0x188], rax
jb 0x14018eb6c
mov rcx, qword [rsp + 0x1c8]
call fcn.14018f610
mov rcx, rax
call fcn.140183420
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 0x14018eb6a
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.14018e1a0
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.14015fd40
nop
lea rcx, [rsp + 0xf0]
call fcn.14015f930
nop
jmp 0x14018ed36
jmp 0x14018eb87
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x178]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x120], rax
jmp 0x14018ed31
mov rax, qword [rsp + 0xb0]
cmp qword [rsp + 0x128], rax
jae 0x14018ed2f
mov rcx, qword [rsp + 0x1c8]
call fcn.14018f610
mov rcx, rax
call fcn.140183420
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 0x14018ec05
jmp 0x14018ed36
cmp dword [rsp + 0x190], 0x10000
jne 0x14018ed0f
mov rax, qword [rsp + 0x1d0]
cmp qword [rsp + 0x188], rax
jb 0x14018ed0f
mov rcx, qword [rsp + 0x1c8]
call fcn.14018f610
mov rcx, rax
call fcn.140183420
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 0x14018ed0d
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.14018e1a0
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.14015fd40
nop
lea rcx, [rsp + 0x100]
call fcn.14015f930
nop
jmp 0x14018ed36
jmp 0x14018ed2d
mov rax, qword [rsp + 0x188]
mov rcx, qword [rsp + 0x170]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x128], rax
jmp 0x14018ed31
jmp 0x14018ed36
jmp 0x14018e98f
lea rcx, [rsp + 0x160]
call fcn.14016dce0
movzx eax, al
test eax, eax
jne 0x14018eda8
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.14018e5a0
mov eax, dword [rsp + 0x44]
or eax, 1
mov dword [rsp + 0x44], eax
lea rcx, [rsp + 0x160]
call fcn.14015f930
mov rax, qword [rsp + 0x1c0]
jmp 0x14018ee0e
lea rax, [rsp + 0x110]
mov qword [rsp + 0xe0], rax
lea rdx, [rsp + 0x160]
mov rcx, qword [rsp + 0xe0]
call fcn.14017b700
mov qword [rsp + 0xe8], rax
xor r8d, r8d
mov rdx, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0x1c0]
call fcn.14018e120
mov eax, dword [rsp + 0x44]
or eax, 1
mov dword [rsp + 0x44], eax
lea rcx, [rsp + 0x160]
call fcn.14015f930
nop
mov rax, qword [rsp + 0x1c0]
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.14023b7f0
add rsp, 0x1b8
ret