Function at 0x415d40
Capabilities:
Check os version

Disassembly:
lea r12, [rsp - 0x188]
cmp r12, qword [r14 + 0x10]
jbe 0x4169e9
sub rsp, 0x208
mov qword [rsp + 0x200], rbp
lea rbp, [rsp + 0x200]
mov eax, 2
call fcn.00415220
lea rax, [0x005195d0]
call fcn.00402460
mov qword [0x004c4578], rax
call fcn.00450e40
mov qword [rsp + 0x38], rax
call fcn.00445240
mov qword [rax + 0xd0], 5
lea rdi, [rax + 0xc8]
mov qword [rsp + 0x1f8], rdi
cmp dword [0x00518e90], 0
jne 0x415dc8
lea rdx, [0x00472736]
mov qword [rax + 0xc8], rdx
jmp 0x415dd4
lea rdx, [0x00472736]
call fcn.0045e560
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.00439a40
movups xmmword [rsp + 0x108], xmm15
lea rdx, [0x00416a00]
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.0045c180
xorps xmm15, xmm15
mov r14, qword [0x00518e60]
mov r14, qword gs:[r14]
mov r14, qword [r14]
lea rdx, [0x00478128]
mov qword [rsp], rdx
call fcn.0045c180
xorps xmm15, xmm15
mov r14, qword [0x00518e60]
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.00439680
cmp byte [0x004cae70], 0
je 0x415ea5
nop
call fcn.00452340
mov rcx, qword [rsp + 0x1d0]
mov qword [rcx + 0xd0], 0
cmp dword [0x00518e90], 0
nop
jne 0x415ecf
mov qword [rcx + 0xc8], 0
jmp 0x415ede
mov rdi, qword [rsp + 0x1f8]
xor edx, edx
call fcn.0045e560
cmp dword [0x00518cc4], 0
jne 0x4169d7
lea rax, [0x00519678]
call fcn.0042e700
mov qword [0x0051c770], rax
lea rcx, [0x00478100]
mov qword [rsp], rcx
call fcn.0045c180
xorps xmm15, xmm15
mov r14, qword [0x00518e60]
mov r14, qword gs:[r14]
mov r14, qword [r14]
call fcn.00450e40
mov qword [rsp + 0x60], rax
call fcn.00460320
xorps xmm15, xmm15
mov r14, qword [0x00518e60]
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 [0x004c4568]
mov rsi, qword [rsp + 0x60]
mov rdi, rsi
sub rsi, rbx
add qword [0x004c4560], rsi
mov qword [0x004c4558], rdi
mov rbx, qword [0x004c4568]
sub rdi, rbx
lea rax, [0x0051c780]
mov rbx, rdi
call fcn.00409320
mov rcx, qword [rsp + 0x40]
imul rcx, rcx, 0x3b9aca00
mov rdx, qword [rsp + 0x100]
add rcx, rdx
lea rdx, [0x0051b748]
mov rbx, rcx
xchg qword [rdx], rcx
mov rcx, qword [rsp + 0x60]
lea rdx, [0x0051c768]
xchg qword [rdx], rcx
movzx ecx, byte [0x0051c758]
mov rdx, qword [0x004c4560]
lea rdi, [0x0051b758]
mov qword [rdi + rcx*8], rdx
movzx ecx, byte [0x0051c758]
lea rdx, [0x0051bf58]
mov qword [rdx + rcx*8], rbx
mov rcx, qword [0x0051b750]
add rcx, qword [0x004c4560]
mov qword [0x0051b750], rcx
movsxd rcx, dword [0x004c4534]
mov qword [rsp + 0x100], rcx
mov rdx, qword [0x004c4548]
sub rdx, qword [0x004c4540]
mov qword [rsp + 0xf8], rdx
lea rax, [0x00519628]
call fcn.00402220
mov qword [rsp + 0x88], rax
lea rax, [0x00519630]
call fcn.00402220
mov qword [rsp + 0x80], rax
lea rax, [0x00519638]
call fcn.00402220
mov qword [rsp + 0x78], rax
lea rax, [0x00519640]
call fcn.00402220
mov qword [rsp + 0x70], rax
movsxd rcx, dword [0x004c4534]
mov qword [rsp + 0xf0], rcx
mov rdx, qword [0x004c4558]
sub rdx, qword [0x004c4550]
mov qword [rsp + 0xe8], rdx
lea rax, [0x00518f30]
nop
call fcn.00402220
mov qword [rsp + 0x48], rax
lea rax, [0x00518f38]
call fcn.00402220
mov rcx, qword [rsp + 0x88]
add qword [0x004c4588], rcx
mov rdx, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x78]
lea rsi, [rbx + rdx]
add qword [0x004c4590], rsi
mov rsi, qword [rsp + 0x70]
add qword [0x004c4598], 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 [0x004c45a0], r9
add rcx, rdi
add rcx, rdx
add rcx, rbx
add rcx, rsi
add rcx, r8
add qword [0x004c45a8], rcx
mov rcx, qword [rsp + 0x48]
add qword [0x004c45b0], rcx
add qword [0x004c45b8], rax
add rcx, rax
add qword [0x004c45c0], rcx
mov rcx, qword [0x004c4ae8]
mov rdx, qword [rsp + 0x60]
sub rdx, rcx
movsxd rcx, dword [0x00518cc8]
imul rdx, rcx
add rdx, qword [0x004c4af0]
mov qword [0x004c45d8], rdx
lea rax, [0x004c5010]
call fcn.00402220
add rax, qword [0x004c45c8]
mov qword [0x004c45c8], rax
mov rcx, qword [0x004c45d8]
mov rdx, qword [0x004c45a8]
add rdx, qword [0x004c45c0]
add rdx, rax
sub rcx, rdx
mov qword [0x004c45d0], rcx
mov rcx, qword [0x004c45a8]
sub rcx, qword [0x004c4598]
xorps xmm0, xmm0
cvtsi2sd xmm0, rcx
mov rcx, qword [0x004c45d8]
xorps xmm1, xmm1
cvtsi2sd xmm1, rcx
divsd xmm0, xmm1
movsd qword [0x0051c760], xmm0
lea rax, [0x00518f30]
xor ebx, ebx
call fcn.00402240
lea rax, [0x00518f38]
xor ebx, ebx
call fcn.00402240
lea rax, [0x004c5010]
xor ebx, ebx
call fcn.00402240
mov qword [0x004c4134], 0
cmp byte [0x004c44f8], 0
je 0x416232
inc dword [0x0051c75c]
lea rax, [0x004c4520]
call fcn.0040a640
inc dword [0x0051c758]
lea rax, [0x004c4528]
call fcn.0043d6c0
lea rax, [0x004c4520]
call fcn.0040a860
lea rax, [0x00519140]
mov rbx, qword [rsp + 0x60]
call fcn.00417d20
call fcn.0042b940
lea rax, [0x004c413c]
call fcn.004206c0
nop
test bl, bl
je 0x4169c6
mov byte [rsp + 0x2b], bl
mov dword [rsp + 0x2c], eax
lea rax, [0x00478130]
mov qword [rsp], rax
nop dword [rax + rax]
call fcn.0045c180
xorps xmm15, xmm15
mov r14, qword [0x00518e60]
mov r14, qword gs:[r14]
mov r14, qword [r14]
call fcn.0042b980
nop dword [rax]
call fcn.00423140
lea rax, [0x004780e8]
mov qword [rsp], rax
call fcn.0045c180
xorps xmm15, xmm15
mov r14, qword [0x00518e60]
mov r14, qword gs:[r14]
mov r14, qword [r14]
lea rax, [0x00478140]
mov qword [rsp], rax
call fcn.0045c180
xorps xmm15, xmm15
mov r14, qword [0x00518e60]
mov r14, qword gs:[r14]
mov r14, qword [r14]
lea rax, [0x004c413c]
mov ebx, dword [rsp + 0x2c]
movzx ecx, byte [rsp + 0x2b]
call fcn.00420740
cmp dword [0x005190fc], 0
jle 0x4168e5
movsd xmm0, qword [0x0047b248]
mulsd xmm0, qword [0x0051c760]
movsd qword [rsp + 0xe0], xmm0
movups xmmword [rsp + 0x118], xmm15
movups xmmword [rsp + 0x120], xmm15
call fcn.004369e0
mov rax, qword [0x004c4540]
sub rax, qword [0x00518e28]
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.00417a20
mov ecx, dword [0x0051c758]
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.0044b7e0
mov qword [rsp + 0x1f0], rax
mov qword [rsp + 0xd0], rbx
call fcn.004369e0
lea rax, [0x0047263a]
mov ebx, 3
call fcn.004372e0
mov rax, qword [rsp + 0xd8]
call fcn.00436fe0
lea rax, [0x004725d0]
mov ebx, 2
call fcn.004372e0
mov rax, qword [rsp + 0x1f0]
mov rbx, qword [rsp + 0xd0]
call fcn.004372e0
lea rax, [0x004725f4]
mov ebx, 2
call fcn.004372e0
movsd xmm0, qword [rsp + 0xe0]
cvttsd2si rax, xmm0
nop dword [rax]
call fcn.004370e0
lea rax, [0x00472616]
mov ebx, 3
call fcn.004372e0
call fcn.00436a60
mov rax, qword [0x004c4540]
movups xmmword [rsp + 0x130], xmm15
movups xmmword [rsp + 0x138], xmm15
mov rcx, qword [0x004c4548]
mov qword [rsp + 0x130], rcx
mov rcx, qword [0x004c4550]
mov qword [rsp + 0x138], rcx
mov rcx, qword [0x004c4558]
mov qword [rsp + 0x140], rcx
xor ecx, ecx
jmp 0x41650f
sub rdi, rax
lea rax, [rsp + 0x118]
mov ebx, 0x18
mov rcx, rbx
call fcn.00417b00
mov rcx, rbx
mov rbx, rax
lea rax, [rsp + 0x168]
call fcn.0044b7e0
mov qword [rsp + 0x1f0], rax
mov qword [rsp + 0xd0], rbx
call fcn.004369e0
mov rax, qword [rsp + 0x1f0]
mov rbx, qword [rsp + 0xd0]
call fcn.004372e0
call fcn.00436a60
mov rcx, qword [rsp + 0x98]
inc rcx
mov rax, qword [rsp + 0x50]
cmp rcx, 3
jge 0x41656d
mov qword [rsp + 0x98], rcx
mov rdi, qword [rsp + rcx*8 + 0x130]
mov qword [rsp + 0x50], rdi
test rcx, rcx
je 0x4164a5
mov qword [rsp + 0x100], rax
nop dword [rax + rax]
call fcn.004369e0
lea rax, [0x004725c2]
mov ebx, 1
call fcn.004372e0
call fcn.00436a60
mov rax, qword [rsp + 0x100]
mov rdi, qword [rsp + 0x50]
jmp 0x4164a5
call fcn.004369e0
lea rax, [0x00472e3a]
mov ebx, 0xb
nop
call fcn.004372e0
call fcn.00436a60
lea rax, [0x00519628]
call fcn.00402220
mov qword [rsp + 0x100], rax
lea rax, [0x00519630]
call fcn.00402220
mov qword [rsp + 0xf8], rax
lea rax, [0x00519638]
call fcn.00402220
mov qword [rsp + 0xf0], rax
lea rax, [0x00519640]
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 0x4166a0
lea rax, [rsp + 0x118]
mov ebx, 0x18
mov rcx, rbx
call fcn.00417b00
mov rcx, rbx
mov rbx, rax
lea rax, [rsp + 0x148]
call fcn.0044b7e0
mov qword [rsp + 0x1f0], rax
mov qword [rsp + 0xd0], rbx
call fcn.004369e0
mov rax, qword [rsp + 0x1f0]
mov rbx, qword [rsp + 0xd0]
call fcn.004372e0
call fcn.00436a60
mov rax, qword [rsp + 0x90]
inc rax
cmp rax, 5
jge 0x41672d
mov qword [rsp + 0x90], rax
mov rdi, qword [rsp + rax*8 + 0x1a8]
mov qword [rsp + 0x58], rdi
nop
cmp rax, 2
je 0x4166cc
cmp rax, 3
jne 0x4166f4
call fcn.004369e0
lea rax, [0x004725c4]
mov ebx, 1
nop dword [rax]
call fcn.004372e0
call fcn.00436a60
mov rdi, qword [rsp + 0x58]
jmp 0x41663e
test rax, rax
je 0x41663e
nop dword [rax]
call fcn.004369e0
lea rax, [0x004725c2]
mov ebx, 1
call fcn.004372e0
call fcn.00436a60
mov rax, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x58]
jmp 0x41663e
lea rax, [0x005195e8]
call fcn.00402460
mov qword [rsp + 0xd8], rax
lea rax, [0x005195f8]
call fcn.00402460
mov qword [rsp + 0xc8], rax
mov rcx, qword [0x004c4570]
mov qword [rsp + 0xc0], rcx
mov rdx, qword [0x004c4578]
mov qword [rsp + 0xb8], rdx
mov rbx, qword [0x004c4580]
mov qword [rsp + 0xb0], rbx
mov rsi, qword [0x005195c8]
mov qword [rsp + 0xa8], rsi
movsxd rdi, dword [0x004c4538]
mov qword [rsp + 0x100], rdi
call fcn.004369e0
lea rax, [0x00472b09]
mov ebx, 9
call fcn.004372e0
mov rax, qword [rsp + 0xc0]
shr rax, 0x14
call fcn.00436fe0
lea rax, [0x004725de]
mov ebx, 2
call fcn.004372e0
mov rax, qword [rsp + 0xb8]
shr rax, 0x14
call fcn.00436fe0
lea rax, [0x004725de]
mov ebx, 2
call fcn.004372e0
mov rax, qword [rsp + 0xb0]
shr rax, 0x14
call fcn.00436fe0
lea rax, [0x004726f0]
mov ebx, 5
call fcn.004372e0
mov rax, qword [rsp + 0xa8]
shr rax, 0x14
call fcn.00436fe0
lea rax, [0x00472c32]
mov ebx, 0xa
call fcn.004372e0
mov rax, qword [rsp + 0xd8]
shr rax, 0x14
call fcn.00436fe0
lea rax, [0x00472fd3]
mov ebx, 0xc
nop dword [rax + rax]
call fcn.004372e0
mov rax, qword [rsp + 0xc8]
shr rax, 0x14
call fcn.00436fe0
lea rax, [0x00473220]
mov ebx, 0xd
call fcn.004372e0
mov rax, qword [rsp + 0x100]
call fcn.004370e0
lea rax, [0x004725d2]
mov ebx, 2
call fcn.004372e0
call fcn.00436a60
cmp byte [0x004c44f8], 0
je 0x4168ce
call fcn.004369e0
lea rax, [0x00472aaf]
mov ebx, 9
call fcn.004372e0
call fcn.00436a60
call fcn.004369e0
call fcn.00436c40
call fcn.00436a60
nop dword [rax]
call fcn.00436a60
lea rax, [0x004c4160]
call fcn.0040a640
mov rcx, qword [0x004c4180]
mov qword [rsp + 0x1d8], rcx
mov rdx, qword [0x004c4188]
mov qword [rsp + 0xa0], rdx
movups xmmword [0x004c4188], xmm15
cmp dword [0x00518e90], 0
nop
jne 0x41692f
mov qword [0x004c4180], 0
jmp 0x41693d
lea rdi, [0x004c4180]
xor ebx, ebx
call fcn.0045e580
lea rax, [0x004c4160]
call fcn.0040a860
mov rcx, qword [rsp + 0x1d8]
xor eax, eax
jmp 0x416984
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0x1e8], rcx
mov rax, qword [rcx]
call fcn.00403260
mov rcx, qword [rsp + 0x1e8]
add rcx, 0x10
mov rax, qword [rsp + 0xd0]
inc rax
mov rdx, qword [rsp + 0xa0]
cmp rax, rdx
jl 0x416955
lea rax, [0x004c1270]
call fcn.00445ba0
lea rax, [0x004c1264]
call fcn.00445ba0
mov rax, qword [rsp + 0x1d0]
call fcn.00445260
mov rbp, qword [rsp + 0x200]
add rsp, 0x208
ret
lea rax, [0x00474bfa]
mov ebx, 0x1b
call fcn.004351a0
lea rax, [0x0047510a]
mov ebx, 0x1d
call fcn.004351a0
nop
call fcn.0045c2c0
jmp fcn.00415d40