Function at 0x41a800
Capabilities:
Check os version

Disassembly:
lea r12, [rsp - 0x188]
cmp r12, qword [r14 + 0x10]
jbe 0x41b4a9
sub rsp, 0x208
mov qword [rsp + 0x200], rbp
lea rbp, [rsp + 0x200]
mov eax, 2
call fcn.00419ce0
lea rax, [0x005d1f90]
call fcn.00402480
mov qword [0x0057ceb8], rax
call fcn.00457bc0
mov qword [rsp + 0x38], rax
call fcn.0044ae60
mov qword [rax + 0xd0], 5
lea rdi, [rax + 0xc8]
mov qword [rsp + 0x1f8], rdi
cmp dword [0x005d1840], 0
jne 0x41a888
lea rdx, [0x004e81df]
mov qword [rax + 0xc8], rdx
jmp 0x41a894
lea rdx, [0x004e81df]
call fcn.00466cc0
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.0043f2c0
movups xmmword [rsp + 0x108], xmm15
lea rdx, [0x0041b4c0]
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.004648a0
xorps xmm15, xmm15
mov r14, qword [0x005d17a8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
lea rdx, [0x004f23f8]
mov qword [rsp], rdx
call fcn.004648a0
xorps xmm15, xmm15
mov r14, qword [0x005d17a8]
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.0043ef00
cmp byte [0x005837b0], 0
je 0x41a965
nop
call fcn.004590c0
mov rcx, qword [rsp + 0x1d0]
mov qword [rcx + 0xd0], 0
cmp dword [0x005d1840], 0
nop
jne 0x41a98f
mov qword [rcx + 0xc8], 0
jmp 0x41a99e
mov rdi, qword [rsp + 0x1f8]
xor edx, edx
call fcn.00466cc0
cmp dword [0x005d1608], 0
jne 0x41b497
lea rax, [0x005d2038]
call fcn.004335c0
mov qword [0x005d5130], rax
lea rcx, [0x004f23d0]
mov qword [rsp], rcx
call fcn.004648a0
xorps xmm15, xmm15
mov r14, qword [0x005d17a8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
call fcn.00457bc0
mov qword [rsp + 0x60], rax
call fcn.00468ac0
xorps xmm15, xmm15
mov r14, qword [0x005d17a8]
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 [0x0057cea8]
mov rsi, qword [rsp + 0x60]
mov rdi, rsi
sub rsi, rbx
add qword [0x0057cea0], rsi
mov qword [0x0057ce98], rdi
mov rbx, qword [0x0057cea8]
sub rdi, rbx
lea rax, [0x005d5140]
mov rbx, rdi
call fcn.0040a1a0
mov rcx, qword [rsp + 0x40]
imul rcx, rcx, 0x3b9aca00
mov rdx, qword [rsp + 0x100]
add rcx, rdx
lea rdx, [0x005d4108]
mov rbx, rcx
xchg qword [rdx], rcx
mov rcx, qword [rsp + 0x60]
lea rdx, [0x005d5128]
xchg qword [rdx], rcx
movzx ecx, byte [0x005d5118]
mov rdx, qword [0x0057cea0]
lea rdi, [0x005d4118]
mov qword [rdi + rcx*8], rdx
movzx ecx, byte [0x005d5118]
lea rdx, [0x005d4918]
mov qword [rdx + rcx*8], rbx
mov rcx, qword [0x005d4110]
add rcx, qword [0x0057cea0]
mov qword [0x005d4110], rcx
movsxd rcx, dword [0x0057ce74]
mov qword [rsp + 0x100], rcx
mov rdx, qword [0x0057ce88]
sub rdx, qword [0x0057ce80]
mov qword [rsp + 0xf8], rdx
lea rax, [0x005d1fe8]
call fcn.00402220
mov qword [rsp + 0x88], rax
lea rax, [0x005d1ff0]
call fcn.00402220
mov qword [rsp + 0x80], rax
lea rax, [0x005d1ff8]
call fcn.00402220
mov qword [rsp + 0x78], rax
lea rax, [0x005d2000]
call fcn.00402220
mov qword [rsp + 0x70], rax
movsxd rcx, dword [0x0057ce74]
mov qword [rsp + 0xf0], rcx
mov rdx, qword [0x0057ce98]
sub rdx, qword [0x0057ce90]
mov qword [rsp + 0xe8], rdx
lea rax, [0x005d18f0]
nop
call fcn.00402220
mov qword [rsp + 0x48], rax
lea rax, [0x005d18f8]
call fcn.00402220
mov rcx, qword [rsp + 0x88]
add qword [0x0057cec8], rcx
mov rdx, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x78]
lea rsi, [rbx + rdx]
add qword [0x0057ced0], rsi
mov rsi, qword [rsp + 0x70]
add qword [0x0057ced8], rsi
mov rdi, qword [rsp + 0x100]
mov r8, qword [rsp + 0xf8]
imul rdi, r8
mov qword [rsp + 0x30], rdi
mov r8, qword [rsp + 0xe8]
mov r9, qword [rsp + 0xf0]
imul r8, r9
mov qword [rsp + 0x68], r8
lea r9, [rdi + r8]
add qword [0x0057cee0], r9
add rcx, rdi
add rcx, rdx
add rcx, rbx
add rcx, rsi
add rcx, r8
add qword [0x0057cee8], rcx
mov rcx, qword [rsp + 0x48]
add qword [0x0057cef0], rcx
add qword [0x0057cef8], rax
add rcx, rax
add qword [0x0057cf00], rcx
mov rcx, qword [0x0057d428]
mov rdx, qword [rsp + 0x60]
sub rdx, rcx
movsxd rcx, dword [0x005d160c]
imul rdx, rcx
add rdx, qword [0x0057d430]
mov qword [0x0057cf18], rdx
lea rax, [0x0057d950]
call fcn.00402220
add rax, qword [0x0057cf08]
mov qword [0x0057cf08], rax
mov rcx, qword [0x0057cf18]
mov rdx, qword [0x0057cee8]
add rdx, qword [0x0057cf00]
add rdx, rax
sub rcx, rdx
mov qword [0x0057cf10], rcx
mov rcx, qword [0x0057cee8]
sub rcx, qword [0x0057ced8]
xorps xmm0, xmm0
cvtsi2sd xmm0, rcx
mov rcx, qword [0x0057cf18]
xorps xmm1, xmm1
cvtsi2sd xmm1, rcx
divsd xmm0, xmm1
movsd qword [0x005d5120], xmm0
lea rax, [0x005d18f0]
xor ebx, ebx
call fcn.00402240
lea rax, [0x005d18f8]
xor ebx, ebx
call fcn.00402240
lea rax, [0x0057d950]
xor ebx, ebx
call fcn.00402240
mov qword [0x0057c9f4], 0
cmp byte [0x0057ce38], 0
je 0x41acf2
inc dword [0x005d511c]
lea rax, [0x0057ce60]
call fcn.0040b700
inc dword [0x005d5118]
lea rax, [0x0057ce68]
call fcn.004431e0
lea rax, [0x0057ce60]
call fcn.0040b920
lea rax, [0x005d1b00]
mov rbx, qword [rsp + 0x60]
call fcn.0041c7e0
call fcn.00430800
lea rax, [0x0057c9fc]
call fcn.00425180
nop
test bl, bl
je 0x41b486
mov byte [rsp + 0x2b], bl
mov dword [rsp + 0x2c], eax
lea rax, [0x004f2400]
mov qword [rsp], rax
nop dword [rax + rax]
call fcn.004648a0
xorps xmm15, xmm15
mov r14, qword [0x005d17a8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
call fcn.00430840
nop dword [rax]
call fcn.00427c00
lea rax, [0x004f23b8]
mov qword [rsp], rax
call fcn.004648a0
xorps xmm15, xmm15
mov r14, qword [0x005d17a8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
lea rax, [0x004f2410]
mov qword [rsp], rax
call fcn.004648a0
xorps xmm15, xmm15
mov r14, qword [0x005d17a8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
lea rax, [0x0057c9fc]
mov ebx, dword [rsp + 0x2c]
movzx ecx, byte [rsp + 0x2b]
call fcn.00425200
cmp dword [0x005d1abc], 0
jle 0x41b3a5
movsd xmm0, qword [0x004f7a80]
mulsd xmm0, qword [0x005d5120]
movsd qword [rsp + 0xe0], xmm0
movups xmmword [rsp + 0x118], xmm15
movups xmmword [rsp + 0x120], xmm15
call fcn.0043c260
mov rax, qword [0x0057ce80]
sub rax, qword [0x005d1770]
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.0041c4e0
mov ecx, dword [0x005d5118]
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.00451520
mov qword [rsp + 0x1f0], rax
mov qword [rsp + 0xd0], rbx
call fcn.0043c260
lea rax, [0x004e7f83]
mov ebx, 3
call fcn.0043cb60
mov rax, qword [rsp + 0xd8]
call fcn.0043c860
lea rax, [0x004e7e11]
mov ebx, 2
call fcn.0043cb60
mov rax, qword [rsp + 0x1f0]
mov rbx, qword [rsp + 0xd0]
call fcn.0043cb60
lea rax, [0x004e7e7b]
mov ebx, 2
call fcn.0043cb60
movsd xmm0, qword [rsp + 0xe0]
cvttsd2si rax, xmm0
nop dword [rax]
call fcn.0043c960
lea rax, [0x004e7e9f]
mov ebx, 3
call fcn.0043cb60
call fcn.0043c2e0
mov rax, qword [0x0057ce80]
movups xmmword [rsp + 0x130], xmm15
movups xmmword [rsp + 0x138], xmm15
mov rcx, qword [0x0057ce88]
mov qword [rsp + 0x130], rcx
mov rcx, qword [0x0057ce90]
mov qword [rsp + 0x138], rcx
mov rcx, qword [0x0057ce98]
mov qword [rsp + 0x140], rcx
xor ecx, ecx
jmp 0x41afcf
sub rdi, rax
lea rax, [rsp + 0x118]
mov ebx, 0x18
mov rcx, rbx
call fcn.0041c5c0
mov rcx, rbx
mov rbx, rax
lea rax, [rsp + 0x168]
call fcn.00451520
mov qword [rsp + 0x1f0], rax
mov qword [rsp + 0xd0], rbx
call fcn.0043c260
mov rax, qword [rsp + 0x1f0]
mov rbx, qword [rsp + 0xd0]
call fcn.0043cb60
call fcn.0043c2e0
mov rcx, qword [rsp + 0x98]
inc rcx
mov rax, qword [rsp + 0x50]
cmp rcx, 3
jge 0x41b02d
mov qword [rsp + 0x98], rcx
mov rdi, qword [rsp + rcx*8 + 0x130]
mov qword [rsp + 0x50], rdi
test rcx, rcx
je 0x41af65
mov qword [rsp + 0x100], rax
nop dword [rax + rax]
call fcn.0043c260
lea rax, [0x004e7df9]
mov ebx, 1
call fcn.0043cb60
call fcn.0043c2e0
mov rax, qword [rsp + 0x100]
mov rdi, qword [rsp + 0x50]
jmp 0x41af65
call fcn.0043c260
lea rax, [0x004e8f6e]
mov ebx, 0xb
nop
call fcn.0043cb60
call fcn.0043c2e0
lea rax, [0x005d1fe8]
call fcn.00402220
mov qword [rsp + 0x100], rax
lea rax, [0x005d1ff0]
call fcn.00402220
mov qword [rsp + 0xf8], rax
lea rax, [0x005d1ff8]
call fcn.00402220
mov qword [rsp + 0xf0], rax
lea rax, [0x005d2000]
call fcn.00402220
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 0x41b160
lea rax, [rsp + 0x118]
mov ebx, 0x18
mov rcx, rbx
call fcn.0041c5c0
mov rcx, rbx
mov rbx, rax
lea rax, [rsp + 0x148]
call fcn.00451520
mov qword [rsp + 0x1f0], rax
mov qword [rsp + 0xd0], rbx
call fcn.0043c260
mov rax, qword [rsp + 0x1f0]
mov rbx, qword [rsp + 0xd0]
call fcn.0043cb60
call fcn.0043c2e0
mov rax, qword [rsp + 0x90]
inc rax
cmp rax, 5
jge 0x41b1ed
mov qword [rsp + 0x90], rax
mov rdi, qword [rsp + rax*8 + 0x1a8]
mov qword [rsp + 0x58], rdi
nop
cmp rax, 2
je 0x41b18c
cmp rax, 3
jne 0x41b1b4
call fcn.0043c260
lea rax, [0x004e7dfb]
mov ebx, 1
nop dword [rax]
call fcn.0043cb60
call fcn.0043c2e0
mov rdi, qword [rsp + 0x58]
jmp 0x41b0fe
test rax, rax
je 0x41b0fe
nop dword [rax]
call fcn.0043c260
lea rax, [0x004e7df9]
mov ebx, 1
call fcn.0043cb60
call fcn.0043c2e0
mov rax, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x58]
jmp 0x41b0fe
lea rax, [0x005d1fa8]
call fcn.00402480
mov qword [rsp + 0xd8], rax
lea rax, [0x005d1fb8]
call fcn.00402480
mov qword [rsp + 0xc8], rax
mov rcx, qword [0x0057ceb0]
mov qword [rsp + 0xc0], rcx
mov rdx, qword [0x0057ceb8]
mov qword [rsp + 0xb8], rdx
mov rbx, qword [0x0057cec0]
mov qword [rsp + 0xb0], rbx
mov rsi, qword [0x005d1f88]
mov qword [rsp + 0xa8], rsi
movsxd rdi, dword [0x0057ce78]
mov qword [rsp + 0x100], rdi
call fcn.0043c260
lea rax, [0x004e89a3]
mov ebx, 9
call fcn.0043cb60
mov rax, qword [rsp + 0xc0]
shr rax, 0x14
call fcn.0043c860
lea rax, [0x004e7e23]
mov ebx, 2
call fcn.0043cb60
mov rax, qword [rsp + 0xb8]
shr rax, 0x14
call fcn.0043c860
lea rax, [0x004e7e23]
mov ebx, 2
call fcn.0043cb60
mov rax, qword [rsp + 0xb0]
shr rax, 0x14
call fcn.0043c860
lea rax, [0x004e80e0]
mov ebx, 5
call fcn.0043cb60
mov rax, qword [rsp + 0xa8]
shr rax, 0x14
call fcn.0043c860
lea rax, [0x004e8bfe]
mov ebx, 0xa
call fcn.0043cb60
mov rax, qword [rsp + 0xd8]
shr rax, 0x14
call fcn.0043c860
lea rax, [0x004e930c]
mov ebx, 0xc
nop dword [rax + rax]
call fcn.0043cb60
mov rax, qword [rsp + 0xc8]
shr rax, 0x14
call fcn.0043c860
lea rax, [0x004e96fd]
mov ebx, 0xd
call fcn.0043cb60
mov rax, qword [rsp + 0x100]
call fcn.0043c960
lea rax, [0x004e7e13]
mov ebx, 2
call fcn.0043cb60
call fcn.0043c2e0
cmp byte [0x0057ce38], 0
je 0x41b38e
call fcn.0043c260
lea rax, [0x004e8940]
mov ebx, 9
call fcn.0043cb60
call fcn.0043c2e0
call fcn.0043c260
call fcn.0043c4c0
call fcn.0043c2e0
nop dword [rax]
call fcn.0043c2e0
lea rax, [0x0057ca20]
call fcn.0040b700
mov rcx, qword [0x0057ca40]
mov qword [rsp + 0x1d8], rcx
mov rdx, qword [0x0057ca48]
mov qword [rsp + 0xa0], rdx
movups xmmword [0x0057ca48], xmm15
cmp dword [0x005d1840], 0
nop
jne 0x41b3ef
mov qword [0x0057ca40], 0
jmp 0x41b3fd
lea rdi, [0x0057ca40]
xor ebx, ebx
call fcn.00466ce0
lea rax, [0x0057ca20]
call fcn.0040b920
mov rcx, qword [rsp + 0x1d8]
xor eax, eax
jmp 0x41b444
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0x1e8], rcx
mov rax, qword [rcx]
call fcn.00403e00
mov rcx, qword [rsp + 0x1e8]
add rcx, 0x10
mov rax, qword [rsp + 0xd0]
inc rax
mov rdx, qword [rsp + 0xa0]
cmp rax, rdx
jl 0x41b415
lea rax, [0x00564290]
call fcn.0044b7c0
lea rax, [0x00564284]
call fcn.0044b7c0
mov rax, qword [rsp + 0x1d0]
call fcn.0044ae80
mov rbp, qword [rsp + 0x200]
add rsp, 0x208
ret
lea rax, [0x004ed39c]
mov ebx, 0x1b
call fcn.0043aa20
lea rax, [0x004edba4]
mov ebx, 0x1d
call fcn.0043aa20
nop
call fcn.004649e0
jmp fcn.0041a800