Function at 0x1400fd210
Capabilities:
Get system information on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x168
cmp qword [rcx + 0x80], 0
jne 0x1400fdb05
mov r15d, edx
mov rdi, rcx
xorps xmm0, xmm0
movaps xmmword [rsp + 0x150], xmm0
movaps xmmword [rsp + 0x140], xmm0
movaps xmmword [rsp + 0x130], xmm0
lea rcx, [rsp + 0x130]
call sub.KERNEL32.dll_GetSystemInfo
movzx r12d, word [rsp + 0x130]
xor ecx, ecx
mov eax, 0x80000000
mov r8, rbx
cpuid
xchg rbx, r8
cmp eax, 0x80000004
mov byte [rsp + 0x27], r15b
mov qword [rsp + 0x110], rdi
jb 0x1400fd418
mov esi, eax
mov qword [rsp + 0x28], r12
movzx eax, byte [0x141936118]
xor edi, edi
mov edx, 0x50
xor ecx, ecx
call fcn.1400dee70
test rax, rax
je 0x1400fdb66
mov r8, rax
mov qword [rsp + 0x30], 5
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], 0
mov ebp, 0x80000000
mov r13d, 0x80000000
nop dword [rax]
cmp ebp, esi
adc r13d, 0
mov eax, ebp
xor ecx, ecx
mov rbx, rbx
cpuid
xchg rbx, rbx
mov r14d, ecx
mov r15d, edx
mov r12d, eax
cmp rdi, qword [rsp + 0x30]
jne 0x1400fd319
lea rcx, [rsp + 0x30]
mov rdx, rdi
call fcn.140050570
mov r8, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
shl rdi, 4
mov dword [r8 + rdi], r12d
mov dword [r8 + rdi + 4], ebx
mov dword [r8 + rdi + 8], r14d
mov dword [r8 + rdi + 0xc], r15d
mov rdi, qword [rsp + 0x40]
inc rdi
mov qword [rsp + 0x40], rdi
cmp ebp, esi
jae 0x1400fd349
mov ebp, r13d
cmp r13d, esi
jbe 0x1400fd2e0
movzx eax, byte [0x141936118]
mov edx, 0x30
xor ecx, ecx
call fcn.1400dee70
test rax, rax
je 0x1400fdb66
mov rsi, rax
mov qword [rsp + 0x50], 0x30
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], 0
cmp rdi, 3
jb 0x1400fd42d
mov rbx, qword [rsp + 0x38]
shl rdi, 4
add rdi, rbx
mov edx, dword [rbx + 0x20]
lea rsi, [rsp + 0x50]
mov rcx, rsi
call fcn.1400fdb70
mov edx, dword [rbx + 0x24]
mov rcx, rsi
call fcn.1400fdb70
mov edx, dword [rbx + 0x28]
mov rcx, rsi
call fcn.1400fdb70
add rbx, 0x2c
xor r14d, r14d
mov r12, qword [rsp + 0x28]
nop word [rax + rax]
mov edx, dword [rbx + r14]
mov rcx, rsi
call fcn.1400fdb70
cmp r14, 0x20
je 0x1400fd43f
lea r15, [rbx + r14]
add r15, 4
cmp r15, rdi
je 0x1400fd43f
mov edx, dword [r15]
mov rcx, rsi
call fcn.1400fdb70
mov edx, dword [r15 + 4]
mov rcx, rsi
call fcn.1400fdb70
mov edx, dword [r15 + 8]
mov rcx, rsi
call fcn.1400fdb70
add r14, 0x10
jmp 0x1400fd3d0
mov eax, 1
mov qword [rsp + 0x28], rax
xor r13d, r13d
xor r14d, r14d
jmp 0x1400fd4ea
xor eax, eax
movzx r15d, byte [rsp + 0x27]
mov r12, qword [rsp + 0x28]
mov r8, rax
jmp 0x1400fd487
mov rsi, qword [rsp + 0x58]
mov rax, qword [rsp + 0x60]
test rax, rax
je 0x1400fd471
xor r8d, r8d
movzx r15d, byte [rsp + 0x27]
nop word [rax + rax]
cmp byte [rsi + r8], 0
je 0x1400fd47e
inc r8
cmp rax, r8
jne 0x1400fd460
jmp 0x1400fd479
xor eax, eax
movzx r15d, byte [rsp + 0x27]
mov r8, rax
jmp 0x1400fd487
cmp r8, rax
ja 0x1400fdb66
lea rcx, [rsp + 0xa0]
mov rdx, rsi
call fcn.14003d750
cmp qword [rsp + 0xa0], 0
je 0x1400fd6ae
mov eax, 1
mov qword [rsp + 0x28], rax
xor r13d, r13d
xor r14d, r14d
cmp qword [rsp + 0x50], 0
je 0x1400fd4cf
mov rcx, qword [0x141936088]
xor edx, edx
mov r8, rsi
call fcn.140102ef8
cmp qword [rsp + 0x30], 0
je 0x1400fd4ea
mov r8, qword [rsp + 0x38]
mov rcx, qword [0x141936088]
xor edx, edx
call fcn.140102ef8
xor ecx, ecx
xor eax, eax
mov rbp, rbx
cpuid
xchg rbx, rbp
mov esi, ecx
mov ebx, edx
movzx eax, byte [0x141936118]
mov edx, 0xc
xor ecx, ecx
call fcn.1400dee70
test rax, rax
je 0x1400fdb66
mov qword [rsp + 0x50], 0xc
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], 0
lea rdi, [rsp + 0x50]
mov rcx, rdi
mov edx, ebp
call fcn.1400fdb70
mov rcx, rdi
mov edx, ebx
call fcn.1400fdb70
mov rcx, rdi
mov edx, esi
call fcn.1400fdb70
mov rsi, qword [rsp + 0x58]
mov r8, qword [rsp + 0x60]
test r8, r8
je 0x1400fd58c
xor eax, eax
nop word cs:[rax + rax]
cmp byte [rsi + rax], 0
je 0x1400fd580
inc rax
cmp r8, rax
jne 0x1400fd570
jmp 0x1400fd58c
cmp rax, r8
mov r8, rax
ja 0x1400fdb66
lea rcx, [rsp + 0xa0]
mov rdx, rsi
call fcn.14003d750
cmp qword [rsp + 0xa0], 0
je 0x1400fd5c9
cmp r12w, 0xe
ja 0x1400fd60e
lea rax, [0x14192bbf0]
mov rcx, r12
mov r12, qword [rax + r12*8]
lea rax, [0x14192bc68]
mov rbx, qword [rax + rcx*8]
jmp 0x1400fd61b
mov rbx, qword [rsp + 0xa8]
mov r12, qword [rsp + 0xb0]
test r12, r12
sete bpl
je 0x1400fdb19
js 0x1400fdb66
movzx eax, byte [0x141936118]
xor ecx, ecx
mov rdx, r12
call fcn.1400dee70
test rax, rax
je 0x1400fdb66
mov rdi, rax
jmp 0x1400fdb1e
lea rbx, [0x14192b6eb]
mov r12d, 7
movzx eax, byte [0x141936118]
xor ecx, ecx
mov rdx, r12
call fcn.1400dee70
test rax, rax
je 0x1400fdb66
mov rdi, rax
mov rcx, rax
mov rdx, rbx
mov r8, r12
call sub.msvcrt.dll_memcpy
xor ebp, ebp
cmp qword [rsp + 0x50], 0
je 0x1400fd661
mov rcx, qword [0x141936088]
xor edx, edx
mov r8, rsi
call fcn.140102ef8
mov esi, dword [rsp + 0x150]
test r15b, r15b
mov qword [rsp + 0x108], r13
je 0x1400fd68a
lea rcx, [rsp + 0xf0]
mov rdx, rsi
call fcn.1400fdc30
jmp 0x1400fd711
test rsi, rsi
je 0x1400fd6f2
lea rdx, [rsi*8]
mov ecx, 8
call fcn.1400dee70
mov rcx, rsi
test rax, rax
jne 0x1400fd6f9
jmp 0x1400fdb66
mov rbx, qword [rsp + 0xa8]
mov r14, qword [rsp + 0xb0]
test r14, r14
je 0x1400fdb3d
js 0x1400fdb66
movzx eax, byte [0x141936118]
xor ecx, ecx
mov rdx, r14
call fcn.1400dee70
test rax, rax
je 0x1400fdb66
mov rcx, rax
mov r13, r14
jmp 0x1400fdb45
mov eax, 8
xor ecx, ecx
mov qword [rsp + 0xf0], rcx
mov qword [rsp + 0xf8], rax
mov qword [rsp + 0x100], rsi
mov dword [rsp + 0x4c], ebp
mov qword [rsp + 0x98], rdi
inc rsi
imul rdx, rsi, 0x70
movzx eax, byte [0x141936118]
xor ecx, ecx
call fcn.1400dee70
test rax, rax
je 0x1400fdb66
mov r13, rax
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], 0
mov rbx, qword [rsp + 0x100]
test rbx, rbx
je 0x1400fd998
mov rbp, qword [rsp + 0xf8]
shl rbx, 3
mov r15d, 1
xor esi, esi
jmp 0x1400fd7f7
imul rax, rsi, 0x70
mov rcx, qword [rsp + 0x90]
mov qword [r13 + rax + 0x40], rcx
movaps xmm0, xmmword [rsp + 0x50]
movaps xmm1, xmmword [rsp + 0x60]
movaps xmm2, xmmword [rsp + 0x70]
movaps xmm3, xmmword [rsp + 0x80]
movups xmmword [r13 + rax + 0x30], xmm3
movups xmmword [r13 + rax + 0x20], xmm2
movups xmmword [r13 + rax + 0x10], xmm1
movups xmmword [r13 + rax], xmm0
movabs rcx, 0x8000000000000000
mov qword [r13 + rax + 0x48], rcx
mov qword [r13 + rax + 0x60], rdi
mov dword [r13 + rax + 0x68], 0
mov rsi, qword [rsp + 0x40]
inc rsi
mov qword [rsp + 0x40], rsi
inc r15
add rbx, 0xfffffffffffffff8
je 0x1400fd998
mov qword [rsp + 0x118], r15
lea rax, [rsp + 0x118]
mov qword [rsp + 0x120], rax
lea rax, [0x14003cee0]
mov qword [rsp + 0x128], rax
lea rax, [0x14192b700]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 1
mov qword [rsp + 0x70], 0
lea rax, [rsp + 0x120]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 1
lea rcx, [rsp + 0xa0]
lea rdx, [rsp + 0x50]
call fcn.140036930
mov edi, 1
test r12, r12
je 0x1400fd891
js 0x1400fdb66
movzx eax, byte [0x141936118]
xor ecx, ecx
mov rdx, r12
call fcn.1400dee70
test rax, rax
je 0x1400fdb66
mov rdi, rax
mov rcx, rdi
mov rdx, qword [rsp + 0x98]
mov r8, r12
call sub.msvcrt.dll_memcpy
mov qword [rsp + 0xb8], r12
mov qword [rsp + 0xc0], rdi
mov qword [rsp + 0xc8], r12
test r14, r14
je 0x1400fd8f0
js 0x1400fdb66
movzx eax, byte [0x141936118]
xor ecx, ecx
mov rdx, r14
call fcn.1400dee70
test rax, rax
je 0x1400fdb66
mov rdi, rax
jmp 0x1400fd8f5
mov edi, 1
mov rdx, qword [rsp + 0x28]
mov rcx, rdi
mov r8, r14
call sub.msvcrt.dll_memcpy
mov qword [rsp + 0xd0], r14
mov qword [rsp + 0xd8], rdi
mov qword [rsp + 0xe0], r14
mov rdi, qword [rbp + r15*8 - 8]
movups xmm0, xmmword [rsp + 0xa0]
movups xmm1, xmmword [rsp + 0xb0]
movups xmm2, xmmword [rsp + 0xc0]
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x60], xmm1
movaps xmmword [rsp + 0x70], xmm2
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], r14
cmp rsi, qword [rsp + 0x30]
jne 0x1400fd780
lea rcx, [rsp + 0x30]
mov rdx, rsi
call fcn.1400fde50
mov r13, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
jmp 0x1400fd780
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0xa8], rax
cmp qword [rsp + 0xf0], 0
je 0x1400fd9e0
mov r8, qword [rsp + 0xf8]
mov rcx, qword [0x141936088]
xor edx, edx
call fcn.140102ef8
cmp qword [rsp + 0x108], 0
movzx ebp, byte [rsp + 0x27]
mov r14, qword [rsp + 0x110]
je 0x1400fda0b
mov rcx, qword [0x141936088]
xor edx, edx
mov r8, qword [rsp + 0x28]
call fcn.140102ef8
cmp byte [rsp + 0x4c], 0
jne 0x1400fda28
mov rcx, qword [0x141936088]
xor edx, edx
mov r8, qword [rsp + 0x98]
call fcn.140102ef8
lea rsi, [r14 + 0x70]
mov rdi, qword [r14 + 0x80]
test rdi, rdi
je 0x1400fdacf
mov rbx, qword [r14 + 0x78]
add rbx, 0x50
jmp 0x1400fda59
add rbx, 0x70
dec rdi
je 0x1400fdacf
cmp qword [rbx - 0x50], 0
je 0x1400fda72
mov r8, qword [rbx - 0x48]
mov rcx, qword [0x141936088]
xor edx, edx
call fcn.140102ef8
mov rax, qword [rbx - 8]
movabs rcx, 0x8000000000000000
cmp rax, rcx
je 0x1400fda9b
test rax, rax
je 0x1400fda9b
mov r8, qword [rbx]
mov rcx, qword [0x141936088]
xor edx, edx
call fcn.140102ef8
cmp qword [rbx - 0x38], 0
je 0x1400fdab4
mov r8, qword [rbx - 0x30]
mov rcx, qword [0x141936088]
xor edx, edx
call fcn.140102ef8
cmp qword [rbx - 0x20], 0
je 0x1400fda50
mov r8, qword [rbx - 0x18]
mov rcx, qword [0x141936088]
xor edx, edx
call fcn.140102ef8
jmp 0x1400fda50
cmp qword [rsi], 0
je 0x1400fdae7
mov r8, qword [r14 + 0x78]
mov rcx, qword [0x141936088]
xor edx, edx
call fcn.140102ef8
mov rax, qword [rsp + 0xb0]
mov qword [rsi + 0x10], rax
movaps xmm0, xmmword [rsp + 0xa0]
movups xmmword [rsi], xmm0
mov byte [r14 + 0x88], bpl
add rsp, 0x168
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov edi, 1
mov rcx, rdi
mov rdx, rbx
mov r8, r12
call sub.msvcrt.dll_memcpy
cmp qword [rsp + 0x50], 0
jne 0x1400fd650
jmp 0x1400fd661
mov ecx, 1
xor r13d, r13d
mov qword [rsp + 0x28], rcx
mov rdx, rbx
mov r8, r14
call sub.msvcrt.dll_memcpy
cmp qword [rsp + 0x50], 0
jne 0x1400fd4be
jmp 0x1400fd4cf
ud2