Function at 0x419fc0
Capabilities:
Check os version

Disassembly:
lea r12, [rsp - 0x188]
cmp r12, qword [r14 + 0x10]
jbe 0x41ac69
sub rsp, 0x208
mov qword [rsp + 0x200], rbp
lea rbp, [rsp + 0x200]
mov eax, 2
call fcn.004194a0
lea rax, [0x0058cb90]
call fcn.00402460
mov qword [0x00537ad8], rax
call fcn.00457020
mov qword [rsp + 0x38], rax
call fcn.0044a400
mov qword [rax + 0xd0], 5
lea rdi, [rax + 0xc8]
mov qword [rsp + 0x1f8], rdi
cmp dword [0x0058c440], 0
jne 0x41a048
lea rdx, [0x004ae0f0]
mov qword [rax + 0xc8], rdx
jmp 0x41a054
lea rdx, [0x004ae0f0]
call fcn.004660c0
mov qword [rsp + 0x1d0], rax
mov byte [rax + 0xf9], 2
mov rdx, qword [rax + 0x90]
mov qword [rsp + 0x1e0], rdx
mov ebx, 2
mov ecx, 6
mov rax, rdx
nop
call fcn.0043e960
movups xmmword [rsp + 0x108], xmm15
lea rdx, [0x0041ac80]
mov qword [rsp + 0x108], rdx
mov rdx, qword [rsp + 0x38]
mov qword [rsp + 0x110], rdx
lea rdx, [rsp + 0x108]
mov qword [rsp], rdx
call fcn.00463ca0
xorps xmm15, xmm15
mov r14, qword [0x0058c3c0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
lea rdx, [0x004b80a0]
mov qword [rsp], rdx
call fcn.00463ca0
xorps xmm15, xmm15
mov r14, qword [0x0058c3c0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rdx, qword [rsp + 0x1d0]
mov byte [rdx + 0xf9], 0
mov rax, qword [rsp + 0x1e0]
mov ebx, 4
mov ecx, 2
call fcn.0043e5a0
cmp byte [0x0053e3d0], 0
je 0x41a125
nop
call fcn.00458520
mov rcx, qword [rsp + 0x1d0]
mov qword [rcx + 0xd0], 0
cmp dword [0x0058c440], 0
nop
jne 0x41a14f
mov qword [rcx + 0xc8], 0
jmp 0x41a15e
mov rdi, qword [rsp + 0x1f8]
xor edx, edx
call fcn.004660c0
cmp dword [0x0058c224], 0
jne 0x41ac57
lea rax, [0x0058cc38]
call fcn.00432d20
mov qword [0x0058fd30], rax
lea rcx, [0x004b8078]
mov qword [rsp], rcx
call fcn.00463ca0
xorps xmm15, xmm15
mov r14, qword [0x0058c3c0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
call fcn.00457020
mov qword [rsp + 0x60], rax
call fcn.00467e80
xorps xmm15, xmm15
mov r14, qword [0x0058c3c0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rcx, qword [rsp]
mov qword [rsp + 0x40], rcx
movsxd rdx, dword [rsp + 8]
mov qword [rsp + 0x100], rdx
mov rbx, qword [0x00537ac8]
mov rsi, qword [rsp + 0x60]
mov rdi, rsi
sub rsi, rbx
add qword [0x00537ac0], rsi
mov qword [0x00537ab8], rdi
mov rbx, qword [0x00537ac8]
sub rdi, rbx
lea rax, [0x0058fd40]
mov rbx, rdi
call fcn.00409fe0
mov rcx, qword [rsp + 0x40]
imul rcx, rcx, 0x3b9aca00
mov rdx, qword [rsp + 0x100]
add rcx, rdx
lea rdx, [0x0058ed08]
mov rbx, rcx
xchg qword [rdx], rcx
mov rcx, qword [rsp + 0x60]
lea rdx, [0x0058fd28]
xchg qword [rdx], rcx
movzx ecx, byte [0x0058fd18]
mov rdx, qword [0x00537ac0]
lea rdi, [0x0058ed18]
mov qword [rdi + rcx*8], rdx
movzx ecx, byte [0x0058fd18]
lea rdx, [0x0058f518]
mov qword [rdx + rcx*8], rbx
mov rcx, qword [0x0058ed10]
add rcx, qword [0x00537ac0]
mov qword [0x0058ed10], rcx
movsxd rcx, dword [0x00537a94]
mov qword [rsp + 0x100], rcx
mov rdx, qword [0x00537aa8]
sub rdx, qword [0x00537aa0]
mov qword [rsp + 0xf8], rdx
lea rax, [0x0058cbe8]
call fcn.00402200
mov qword [rsp + 0x88], rax
lea rax, [0x0058cbf0]
call fcn.00402200
mov qword [rsp + 0x80], rax
lea rax, [0x0058cbf8]
call fcn.00402200
mov qword [rsp + 0x78], rax
lea rax, [0x0058cc00]
call fcn.00402200
mov qword [rsp + 0x70], rax
movsxd rcx, dword [0x00537a94]
mov qword [rsp + 0xf0], rcx
mov rdx, qword [0x00537ab8]
sub rdx, qword [0x00537ab0]
mov qword [rsp + 0xe8], rdx
lea rax, [0x0058c4f0]
nop
call fcn.00402200
mov qword [rsp + 0x48], rax
lea rax, [0x0058c4f8]
call fcn.00402200
mov rcx, qword [rsp + 0x88]
add qword [0x00537ae8], rcx
mov rdx, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x78]
lea rsi, [rbx + rdx]
add qword [0x00537af0], rsi
mov rsi, qword [rsp + 0x70]
add qword [0x00537af8], rsi
mov rdi, qword [rsp + 0xf8]
mov r8, qword [rsp + 0x100]
imul rdi, r8
mov qword [rsp + 0x30], rdi
mov r8, qword [rsp + 0xf0]
mov r9, qword [rsp + 0xe8]
imul r8, r9
mov qword [rsp + 0x68], r8
lea r9, [rdi + r8]
add qword [0x00537b00], r9
add rcx, rdi
add rcx, rdx
add rcx, rbx
add rcx, rsi
add rcx, r8
add qword [0x00537b08], rcx
mov rcx, qword [rsp + 0x48]
add qword [0x00537b10], rcx
add qword [0x00537b18], rax
add rcx, rax
add qword [0x00537b20], rcx
mov rcx, qword [0x00538048]
mov rdx, qword [rsp + 0x60]
sub rdx, rcx
movsxd rcx, dword [0x0058c228]
imul rcx, rdx
add rcx, qword [0x00538050]
mov qword [0x00537b38], rcx
lea rax, [0x00538570]
call fcn.00402200
add rax, qword [0x00537b28]
mov qword [0x00537b28], rax
mov rcx, qword [0x00537b38]
mov rdx, qword [0x00537b08]
add rdx, qword [0x00537b20]
add rdx, rax
sub rcx, rdx
mov qword [0x00537b30], rcx
mov rcx, qword [0x00537b08]
sub rcx, qword [0x00537af8]
xorps xmm0, xmm0
cvtsi2sd xmm0, rcx
mov rcx, qword [0x00537b38]
xorps xmm1, xmm1
cvtsi2sd xmm1, rcx
divsd xmm0, xmm1
movsd qword [0x0058fd20], xmm0
lea rax, [0x0058c4f0]
xor ebx, ebx
call fcn.00402220
lea rax, [0x0058c4f8]
xor ebx, ebx
call fcn.00402220
lea rax, [0x00538570]
xor ebx, ebx
call fcn.00402220
mov qword [0x00537694], 0
cmp byte [0x00537a58], 0
je 0x41a4b2
inc dword [0x0058fd1c]
lea rax, [0x00537a80]
call fcn.0040b540
inc dword [0x0058fd18]
lea rax, [0x00537a88]
call fcn.00442820
lea rax, [0x00537a80]
call fcn.0040b760
lea rax, [0x0058c700]
mov rbx, qword [rsp + 0x60]
call fcn.0041bfa0
call fcn.0042ff60
lea rax, [0x0053769c]
call fcn.00424940
nop
test bl, bl
je 0x41ac46
mov byte [rsp + 0x2b], bl
mov dword [rsp + 0x2c], eax
lea rax, [0x004b80a8]
mov qword [rsp], rax
nop dword [rax + rax]
call fcn.00463ca0
xorps xmm15, xmm15
mov r14, qword [0x0058c3c0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
call fcn.0042ffa0
nop dword [rax]
call fcn.004273a0
lea rax, [0x004b8060]
mov qword [rsp], rax
call fcn.00463ca0
xorps xmm15, xmm15
mov r14, qword [0x0058c3c0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
lea rax, [0x004b80b8]
mov qword [rsp], rax
call fcn.00463ca0
xorps xmm15, xmm15
mov r14, qword [0x0058c3c0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
lea rax, [0x0053769c]
mov ebx, dword [rsp + 0x2c]
movzx ecx, byte [rsp + 0x2b]
call fcn.004249c0
cmp dword [0x0058c6bc], 0
jle 0x41ab65
movsd xmm0, qword [0x004bc598]
mulsd xmm0, qword [0x0058fd20]
movsd qword [rsp + 0xe0], xmm0
movups xmmword [rsp + 0x118], xmm15
movups xmmword [rsp + 0x120], xmm15
call fcn.0043b900
mov rax, qword [0x00537aa0]
sub rax, qword [0x0058c388]
mov rcx, rax
movabs rax, 0x8637bd05af6c69b6
mul rcx
shr rdx, 0x13
lea rax, [rsp + 0x118]
mov ebx, 0x18
mov rcx, rbx
mov rdi, rdx
mov esi, 3
call fcn.0041bca0
mov ecx, dword [0x0058fd18]
mov qword [rsp + 0xd8], rcx
mov rdx, rax
lea rax, [rsp + 0x188]
mov rsi, rbx
mov rbx, rdx
mov rcx, rsi
nop dword [rax]
call fcn.00450a80
mov qword [rsp + 0x1f0], rax
mov qword [rsp + 0xd0], rbx
call fcn.0043b900
lea rax, [0x004adeb7]
mov ebx, 3
call fcn.0043c200
mov rax, qword [rsp + 0xd8]
call fcn.0043bf00
lea rax, [0x004add51]
mov ebx, 2
call fcn.0043c200
mov rax, qword [rsp + 0x1f0]
mov rbx, qword [rsp + 0xd0]
call fcn.0043c200
lea rax, [0x004addbb]
mov ebx, 2
call fcn.0043c200
movsd xmm0, qword [rsp + 0xe0]
cvttsd2si rax, xmm0
nop dword [rax]
call fcn.0043c000
lea rax, [0x004adddf]
mov ebx, 3
call fcn.0043c200
call fcn.0043b980
mov rax, qword [0x00537aa0]
movups xmmword [rsp + 0x130], xmm15
movups xmmword [rsp + 0x138], xmm15
mov rcx, qword [0x00537aa8]
mov qword [rsp + 0x130], rcx
mov rcx, qword [0x00537ab0]
mov qword [rsp + 0x138], rcx
mov rcx, qword [0x00537ab8]
mov qword [rsp + 0x140], rcx
xor ecx, ecx
jmp 0x41a78f
sub rdi, rax
lea rax, [rsp + 0x118]
mov ebx, 0x18
mov rcx, rbx
call fcn.0041bd80
mov rcx, rbx
mov rbx, rax
lea rax, [rsp + 0x168]
call fcn.00450a80
mov qword [rsp + 0x1f0], rax
mov qword [rsp + 0xd0], rbx
call fcn.0043b900
mov rax, qword [rsp + 0x1f0]
mov rbx, qword [rsp + 0xd0]
call fcn.0043c200
call fcn.0043b980
mov rcx, qword [rsp + 0x98]
inc rcx
mov rax, qword [rsp + 0x50]
cmp rcx, 3
jge 0x41a7ed
mov qword [rsp + 0x98], rcx
mov rdi, qword [rsp + rcx*8 + 0x130]
mov qword [rsp + 0x50], rdi
test rcx, rcx
je 0x41a725
mov qword [rsp + 0x100], rax
nop dword [rax + rax]
call fcn.0043b900
lea rax, [0x004add39]
mov ebx, 1
call fcn.0043c200
call fcn.0043b980
mov rax, qword [rsp + 0x100]
mov rdi, qword [rsp + 0x50]
jmp 0x41a725
call fcn.0043b900
lea rax, [0x004aeda7]
mov ebx, 0xb
nop
call fcn.0043c200
call fcn.0043b980
lea rax, [0x0058cbe8]
call fcn.00402200
mov qword [rsp + 0x100], rax
lea rax, [0x0058cbf0]
call fcn.00402200
mov qword [rsp + 0xf8], rax
lea rax, [0x0058cbf8]
call fcn.00402200
mov qword [rsp + 0xf0], rax
lea rax, [0x0058cc00]
call fcn.00402200
movups xmmword [rsp + 0x1a8], xmm15
movups xmmword [rsp + 0x1b0], xmm15
movups xmmword [rsp + 0x1c0], xmm15
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x1a8], rcx
mov rcx, qword [rsp + 0x100]
mov qword [rsp + 0x1b0], rcx
mov rcx, qword [rsp + 0xf8]
mov rdx, qword [rsp + 0xf0]
add rcx, rdx
mov qword [rsp + 0x1b8], rcx
mov qword [rsp + 0x1c0], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x1c8], rax
xor eax, eax
jmp 0x41a920
lea rax, [rsp + 0x118]
mov ebx, 0x18
mov rcx, rbx
call fcn.0041bd80
mov rcx, rbx
mov rbx, rax
lea rax, [rsp + 0x148]
call fcn.00450a80
mov qword [rsp + 0x1f0], rax
mov qword [rsp + 0xd0], rbx
call fcn.0043b900
mov rax, qword [rsp + 0x1f0]
mov rbx, qword [rsp + 0xd0]
call fcn.0043c200
call fcn.0043b980
mov rax, qword [rsp + 0x90]
inc rax
cmp rax, 5
jge 0x41a9ad
mov qword [rsp + 0x90], rax
mov rdi, qword [rsp + rax*8 + 0x1a8]
mov qword [rsp + 0x58], rdi
nop
cmp rax, 2
je 0x41a94c
cmp rax, 3
jne 0x41a974
call fcn.0043b900
lea rax, [0x004add3b]
mov ebx, 1
nop dword [rax]
call fcn.0043c200
call fcn.0043b980
mov rdi, qword [rsp + 0x58]
jmp 0x41a8be
test rax, rax
je 0x41a8be
nop dword [rax]
call fcn.0043b900
lea rax, [0x004add39]
mov ebx, 1
call fcn.0043c200
call fcn.0043b980
mov rax, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x58]
jmp 0x41a8be
lea rax, [0x0058cba8]
call fcn.00402460
mov qword [rsp + 0xd8], rax
lea rax, [0x0058cbb8]
call fcn.00402460
mov qword [rsp + 0xc8], rax
mov rcx, qword [0x00537ad0]
mov qword [rsp + 0xc0], rcx
mov rdx, qword [0x00537ad8]
mov qword [rsp + 0xb8], rdx
mov rbx, qword [0x00537ae0]
mov qword [rsp + 0xb0], rbx
mov rsi, qword [0x0058cb88]
mov qword [rsp + 0xa8], rsi
movsxd rdi, dword [0x00537a98]
mov qword [rsp + 0x100], rdi
call fcn.0043b900
lea rax, [0x004ae83b]
mov ebx, 9
call fcn.0043c200
mov rax, qword [rsp + 0xc0]
shr rax, 0x14
call fcn.0043bf00
lea rax, [0x004add63]
mov ebx, 2
call fcn.0043c200
mov rax, qword [rsp + 0xb8]
shr rax, 0x14
call fcn.0043bf00
lea rax, [0x004add63]
mov ebx, 2
call fcn.0043c200
mov rax, qword [rsp + 0xb0]
shr rax, 0x14
call fcn.0043bf00
lea rax, [0x004ae000]
mov ebx, 5
call fcn.0043c200
mov rax, qword [rsp + 0xa8]
shr rax, 0x14
call fcn.0043bf00
lea rax, [0x004aea69]
mov ebx, 0xa
call fcn.0043c200
mov rax, qword [rsp + 0xd8]
shr rax, 0x14
call fcn.0043bf00
lea rax, [0x004af13a]
mov ebx, 0xc
nop dword [rax + rax]
call fcn.0043c200
mov rax, qword [rsp + 0xc8]
shr rax, 0x14
call fcn.0043bf00
lea rax, [0x004af513]
mov ebx, 0xd
call fcn.0043c200
mov rax, qword [rsp + 0x100]
call fcn.0043c000
lea rax, [0x004add53]
mov ebx, 2
call fcn.0043c200
call fcn.0043b980
cmp byte [0x00537a58], 0
je 0x41ab4e
call fcn.0043b900
lea rax, [0x004ae7d8]
mov ebx, 9
call fcn.0043c200
call fcn.0043b980
call fcn.0043b900
call fcn.0043bb60
call fcn.0043b980
nop dword [rax]
call fcn.0043b980
lea rax, [0x005376c0]
call fcn.0040b540
mov rcx, qword [0x005376e0]
mov qword [rsp + 0x1d8], rcx
mov rdx, qword [0x005376e8]
mov qword [rsp + 0xa0], rdx
movups xmmword [0x005376e8], xmm15
cmp dword [0x0058c440], 0
nop
jne 0x41abaf
mov qword [0x005376e0], 0
jmp 0x41abbd
lea rdi, [0x005376e0]
xor ebx, ebx
call fcn.004660e0
lea rax, [0x005376c0]
call fcn.0040b760
mov rcx, qword [rsp + 0x1d8]
xor eax, eax
jmp 0x41ac04
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0x1e8], rcx
mov rax, qword [rcx]
call fcn.00403de0
mov rcx, qword [rsp + 0x1e8]
add rcx, 0x10
mov rax, qword [rsp + 0xd0]
inc rax
mov rdx, qword [rsp + 0xa0]
cmp rax, rdx
jl 0x41abd5
lea rax, [0x0051f290]
call fcn.0044ad20
lea rax, [0x0051f284]
call fcn.0044ad20
mov rax, qword [rsp + 0x1d0]
call fcn.0044a420
mov rbp, qword [rsp + 0x200]
add rsp, 0x208
ret
lea rax, [0x004b311d]
mov ebx, 0x1b
call fcn.0043a0e0
lea rax, [0x004b38ec]
mov ebx, 0x1d
call fcn.0043a0e0
nop
call fcn.00463de0
jmp fcn.00419fc0