Function at 0x140169050
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 [0x140320740]
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.140169e40
cmp eax, 1
jne 0x1401690ca
mov rcx, qword [rsp + 0x1c8]
call fcn.140169e20
mov rcx, rax
call fcn.14013c860
movzx edx, al
mov ecx, dword [rsp + 0x1e0]
call fcn.140169640
mov dword [rsp + 0x4c], eax
mov dword [rsp + 0x40], 0
mov rcx, qword [rsp + 0x1c8]
call fcn.140169e20
mov rcx, rax
call fcn.14015da80
mov rcx, rax
call fcn.140169e30
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
mov edx, eax
mov rcx, qword [rsp + 0x1d0]
call fcn.14013b140
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.14015d420
lea rcx, [rsp + 0x160]
call fcn.140138d90
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 0x140169546
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 0x14016939c
mov rax, qword [rsp + 0x80]
cmp qword [rsp + 0x120], rax
jb 0x14016939c
cmp qword [rsp + 0x120], 0
je 0x14016939c
mov rcx, qword [rsp + 0x1c8]
call fcn.140169e20
mov rcx, rax
call fcn.14015da80
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 0x14016926b
jmp 0x140169546
cmp dword [rsp + 0x190], 0x10000
jne 0x14016937c
mov rax, qword [rsp + 0x1d0]
cmp qword [rsp + 0x188], rax
jb 0x14016937c
mov rcx, qword [rsp + 0x1c8]
call fcn.140169e20
mov rcx, rax
call fcn.14015da80
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 0x14016937a
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.1401689b0
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.14013a1f0
nop
lea rcx, [rsp + 0xf0]
call fcn.140139dd0
nop
jmp 0x140169546
jmp 0x140169397
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x178]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x120], rax
jmp 0x140169541
mov rax, qword [rsp + 0xb0]
cmp qword [rsp + 0x128], rax
jae 0x14016953f
mov rcx, qword [rsp + 0x1c8]
call fcn.140169e20
mov rcx, rax
call fcn.14015da80
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 0x140169415
jmp 0x140169546
cmp dword [rsp + 0x190], 0x10000
jne 0x14016951f
mov rax, qword [rsp + 0x1d0]
cmp qword [rsp + 0x188], rax
jb 0x14016951f
mov rcx, qword [rsp + 0x1c8]
call fcn.140169e20
mov rcx, rax
call fcn.14015da80
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 0x14016951d
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.1401689b0
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.14013a1f0
nop
lea rcx, [rsp + 0x100]
call fcn.140139dd0
nop
jmp 0x140169546
jmp 0x14016953d
mov rax, qword [rsp + 0x188]
mov rcx, qword [rsp + 0x170]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x128], rax
jmp 0x140169541
jmp 0x140169546
jmp 0x14016919f
lea rcx, [rsp + 0x160]
call fcn.140148290
movzx eax, al
test eax, eax
jne 0x1401695b8
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.140168db0
mov eax, dword [rsp + 0x44]
or eax, 1
mov dword [rsp + 0x44], eax
lea rcx, [rsp + 0x160]
call fcn.140139dd0
mov rax, qword [rsp + 0x1c0]
jmp 0x14016961e
lea rax, [rsp + 0x110]
mov qword [rsp + 0xe0], rax
lea rdx, [rsp + 0x160]
mov rcx, qword [rsp + 0xe0]
call fcn.140155d50
mov qword [rsp + 0xe8], rax
xor r8d, r8d
mov rdx, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0x1c0]
call fcn.140168930
mov eax, dword [rsp + 0x44]
or eax, 1
mov dword [rsp + 0x44], eax
lea rcx, [rsp + 0x160]
call fcn.140139dd0
nop
mov rax, qword [rsp + 0x1c0]
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.1402164b0
add rsp, 0x1b8
ret