Function at 0x41a8c0
Capabilities:
Check os version

Disassembly:
lea r12, [rsp - 0x188]
cmp r12, qword [r14 + 0x10]
jbe 0x41b569
sub rsp, 0x208
mov qword [rsp + 0x200], rbp
lea rbp, [rsp + 0x200]
mov eax, 2
call fcn.00419da0
lea rax, [0x005e6fb0]
call fcn.004023a0
mov qword [0x00591eb8], rax
call fcn.00455a60
mov qword [rsp + 0x38], rax
call fcn.004492a0
mov qword [rax + 0xd0], 5
lea rdi, [rax + 0xc8]
mov qword [rsp + 0x1f8], rdi
cmp dword [0x005e6870], 0
jne 0x41a948
lea rdx, [0x004e30cd]
mov qword [rax + 0xc8], rdx
jmp 0x41a954
lea rdx, [0x004e30cd]
call fcn.00464ba0
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.0043d8e0
movups xmmword [rsp + 0x108], xmm15
lea rdx, [0x0041b580]
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.00462780
xorps xmm15, xmm15
mov r14, qword [0x005e67d8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
lea rdx, [0x004f06c8]
mov qword [rsp], rdx
call fcn.00462780
xorps xmm15, xmm15
mov r14, qword [0x005e67d8]
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.0043d520
cmp byte [0x005987b0], 0
je 0x41aa25
nop
call fcn.00456e60
mov rcx, qword [rsp + 0x1d0]
mov qword [rcx + 0xd0], 0
cmp dword [0x005e6870], 0
nop
jne 0x41aa4f
mov qword [rcx + 0xc8], 0
jmp 0x41aa5e
mov rdi, qword [rsp + 0x1f8]
xor edx, edx
call fcn.00464ba0
cmp dword [0x005e6608], 0
jne 0x41b557
lea rax, [0x005e7058]
call fcn.00432740
mov qword [0x005ea150], rax
lea rcx, [0x004f06a0]
mov qword [rsp], rcx
call fcn.00462780
xorps xmm15, xmm15
mov r14, qword [0x005e67d8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
call fcn.00455a60
mov qword [rsp + 0x60], rax
call fcn.00466800
xorps xmm15, xmm15
mov r14, qword [0x005e67d8]
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 [0x00591ea8]
mov rsi, qword [rsp + 0x60]
mov rdi, rsi
sub rsi, rbx
add qword [0x00591ea0], rsi
mov qword [0x00591e98], rdi
mov rbx, qword [0x00591ea8]
sub rdi, rbx
lea rax, [0x005ea160]
mov rbx, rdi
call fcn.0040a2c0
mov rcx, qword [rsp + 0x40]
imul rcx, rcx, 0x3b9aca00
mov rdx, qword [rsp + 0x100]
add rcx, rdx
lea rdx, [0x005e9128]
mov rbx, rcx
xchg qword [rdx], rcx
mov rcx, qword [rsp + 0x60]
lea rdx, [0x005ea148]
xchg qword [rdx], rcx
movzx ecx, byte [0x005ea138]
mov rdx, qword [0x00591ea0]
lea rdi, [0x005e9138]
mov qword [rdi + rcx*8], rdx
movzx ecx, byte [0x005ea138]
lea rdx, [0x005e9938]
mov qword [rdx + rcx*8], rbx
mov rcx, qword [0x005e9130]
add rcx, qword [0x00591ea0]
mov qword [0x005e9130], rcx
movsxd rcx, dword [0x00591e74]
mov qword [rsp + 0x100], rcx
mov rdx, qword [0x00591e88]
sub rdx, qword [0x00591e80]
mov qword [rsp + 0xf8], rdx
lea rax, [0x005e7008]
call fcn.00402140
mov qword [rsp + 0x88], rax
lea rax, [0x005e7010]
call fcn.00402140
mov qword [rsp + 0x80], rax
lea rax, [0x005e7018]
call fcn.00402140
mov qword [rsp + 0x78], rax
lea rax, [0x005e7020]
call fcn.00402140
mov qword [rsp + 0x70], rax
movsxd rcx, dword [0x00591e74]
mov qword [rsp + 0xf0], rcx
mov rdx, qword [0x00591e98]
sub rdx, qword [0x00591e90]
mov qword [rsp + 0xe8], rdx
lea rax, [0x005e6910]
nop
call fcn.00402140
mov qword [rsp + 0x48], rax
lea rax, [0x005e6918]
call fcn.00402140
mov rcx, qword [rsp + 0x88]
add qword [0x00591ec8], rcx
mov rdx, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x78]
lea rsi, [rbx + rdx]
add qword [0x00591ed0], rsi
mov rsi, qword [rsp + 0x70]
add qword [0x00591ed8], 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 [0x00591ee0], r9
add rcx, rdi
add rcx, rdx
add rcx, rbx
add rcx, rsi
add rcx, r8
add qword [0x00591ee8], rcx
mov rcx, qword [rsp + 0x48]
add qword [0x00591ef0], rcx
add qword [0x00591ef8], rax
add rcx, rax
add qword [0x00591f00], rcx
mov rcx, qword [0x00592428]
mov rdx, qword [rsp + 0x60]
sub rdx, rcx
movsxd rcx, dword [0x005e660c]
imul rcx, rdx
add rcx, qword [0x00592430]
mov qword [0x00591f18], rcx
lea rax, [0x00592950]
call fcn.00402140
add rax, qword [0x00591f08]
mov qword [0x00591f08], rax
mov rcx, qword [0x00591f18]
mov rdx, qword [0x00591ee8]
add rdx, qword [0x00591f00]
add rdx, rax
sub rcx, rdx
mov qword [0x00591f10], rcx
mov rcx, qword [0x00591ee8]
sub rcx, qword [0x00591ed8]
xorps xmm0, xmm0
cvtsi2sd xmm0, rcx
mov rcx, qword [0x00591f18]
xorps xmm1, xmm1
cvtsi2sd xmm1, rcx
divsd xmm0, xmm1
movsd qword [0x005ea140], xmm0
lea rax, [0x005e6910]
xor ebx, ebx
call fcn.00402160
lea rax, [0x005e6918]
xor ebx, ebx
call fcn.00402160
lea rax, [0x00592950]
xor ebx, ebx
call fcn.00402160
mov qword [0x00591974], 0
cmp byte [0x00591e38], 0
je 0x41adb2
inc dword [0x005ea13c]
lea rax, [0x00591e60]
call fcn.0040b8c0
inc dword [0x005ea138]
lea rax, [0x00591e68]
call fcn.00441780
lea rax, [0x00591e60]
call fcn.0040bae0
lea rax, [0x005e6b20]
mov rbx, qword [rsp + 0x60]
call fcn.0041c820
call fcn.0042fc60
lea rax, [0x0059197c]
call fcn.00424f80
nop
test bl, bl
je 0x41b546
mov byte [rsp + 0x2b], bl
mov dword [rsp + 0x2c], eax
lea rax, [0x004f06d0]
mov qword [rsp], rax
nop dword [rax + rax]
call fcn.00462780
xorps xmm15, xmm15
mov r14, qword [0x005e67d8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
call fcn.0042fca0
nop dword [rax]
call fcn.004278c0
lea rax, [0x004f0688]
mov qword [rsp], rax
call fcn.00462780
xorps xmm15, xmm15
mov r14, qword [0x005e67d8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
lea rax, [0x004f06e0]
mov qword [rsp], rax
call fcn.00462780
xorps xmm15, xmm15
mov r14, qword [0x005e67d8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
lea rax, [0x0059197c]
mov ebx, dword [rsp + 0x2c]
movzx ecx, byte [rsp + 0x2b]
call fcn.00425000
cmp dword [0x005e6adc], 0
jle 0x41b465
movsd xmm0, qword [0x004f5ad8]
mulsd xmm0, qword [0x005ea140]
movsd qword [rsp + 0xe0], xmm0
movups xmmword [rsp + 0x118], xmm15
movups xmmword [rsp + 0x120], xmm15
call fcn.0043a960
mov rax, qword [0x00591e80]
sub rax, qword [0x005e67a0]
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.0041c560
mov ecx, dword [0x005ea138]
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.0044f820
mov qword [rsp + 0x1f0], rax
mov qword [rsp + 0xd0], rbx
call fcn.0043a960
lea rax, [0x004e2dd3]
mov ebx, 3
call fcn.0043b200
mov rax, qword [rsp + 0xd8]
call fcn.0043af40
lea rax, [0x004e2c49]
mov ebx, 2
call fcn.0043b200
mov rax, qword [rsp + 0x1f0]
mov rbx, qword [rsp + 0xd0]
call fcn.0043b200
lea rax, [0x004e2cb9]
mov ebx, 2
call fcn.0043b200
movsd xmm0, qword [rsp + 0xe0]
cvttsd2si rax, xmm0
nop dword [rax]
call fcn.0043b020
lea rax, [0x004e2cdd]
mov ebx, 3
call fcn.0043b200
call fcn.0043a9e0
mov rax, qword [0x00591e80]
movups xmmword [rsp + 0x130], xmm15
movups xmmword [rsp + 0x138], xmm15
mov rcx, qword [0x00591e88]
mov qword [rsp + 0x130], rcx
mov rcx, qword [0x00591e90]
mov qword [rsp + 0x138], rcx
mov rcx, qword [0x00591e98]
mov qword [rsp + 0x140], rcx
xor ecx, ecx
jmp 0x41b08f
sub rdi, rax
lea rax, [rsp + 0x118]
mov ebx, 0x18
mov rcx, rbx
call fcn.0041c600
mov rcx, rbx
mov rbx, rax
lea rax, [rsp + 0x168]
call fcn.0044f820
mov qword [rsp + 0x1f0], rax
mov qword [rsp + 0xd0], rbx
call fcn.0043a960
mov rax, qword [rsp + 0x1f0]
mov rbx, qword [rsp + 0xd0]
call fcn.0043b200
call fcn.0043a9e0
mov rcx, qword [rsp + 0x98]
inc rcx
mov rax, qword [rsp + 0x50]
cmp rcx, 3
jge 0x41b0ed
mov qword [rsp + 0x98], rcx
mov rdi, qword [rsp + rcx*8 + 0x130]
mov qword [rsp + 0x50], rdi
test rcx, rcx
je 0x41b025
mov qword [rsp + 0x100], rax
nop dword [rax + rax]
call fcn.0043a960
lea rax, [0x004e2c39]
mov ebx, 1
call fcn.0043b200
call fcn.0043a9e0
mov rax, qword [rsp + 0x100]
mov rdi, qword [rsp + 0x50]
jmp 0x41b025
call fcn.0043a960
lea rax, [0x004e432c]
mov ebx, 0xb
nop
call fcn.0043b200
call fcn.0043a9e0
lea rax, [0x005e7008]
call fcn.00402140
mov qword [rsp + 0x100], rax
lea rax, [0x005e7010]
call fcn.00402140
mov qword [rsp + 0xf8], rax
lea rax, [0x005e7018]
call fcn.00402140
mov qword [rsp + 0xf0], rax
lea rax, [0x005e7020]
call fcn.00402140
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 0x41b220
lea rax, [rsp + 0x118]
mov ebx, 0x18
mov rcx, rbx
call fcn.0041c600
mov rcx, rbx
mov rbx, rax
lea rax, [rsp + 0x148]
call fcn.0044f820
mov qword [rsp + 0x1f0], rax
mov qword [rsp + 0xd0], rbx
call fcn.0043a960
mov rax, qword [rsp + 0x1f0]
mov rbx, qword [rsp + 0xd0]
call fcn.0043b200
call fcn.0043a9e0
mov rax, qword [rsp + 0x90]
inc rax
cmp rax, 5
jge 0x41b2ad
mov qword [rsp + 0x90], rax
mov rdi, qword [rsp + rax*8 + 0x1a8]
mov qword [rsp + 0x58], rdi
nop
cmp rax, 2
je 0x41b24c
cmp rax, 3
jne 0x41b274
call fcn.0043a960
lea rax, [0x004e2c3a]
mov ebx, 1
nop dword [rax]
call fcn.0043b200
call fcn.0043a9e0
mov rdi, qword [rsp + 0x58]
jmp 0x41b1be
test rax, rax
je 0x41b1be
nop dword [rax]
call fcn.0043a960
lea rax, [0x004e2c39]
mov ebx, 1
call fcn.0043b200
call fcn.0043a9e0
mov rax, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x58]
jmp 0x41b1be
lea rax, [0x005e6fc8]
call fcn.004023a0
mov qword [rsp + 0xd8], rax
lea rax, [0x005e6fd8]
call fcn.004023a0
mov qword [rsp + 0xc8], rax
mov rcx, qword [0x00591eb0]
mov qword [rsp + 0xc0], rcx
mov rdx, qword [0x00591eb8]
mov qword [rsp + 0xb8], rdx
mov rbx, qword [0x00591ec0]
mov qword [rsp + 0xb0], rbx
mov rsi, qword [0x005e6fa8]
mov qword [rsp + 0xa8], rsi
movsxd rdi, dword [0x00591e78]
mov qword [rsp + 0x100], rdi
call fcn.0043a960
lea rax, [0x004e3b62]
mov ebx, 9
call fcn.0043b200
mov rax, qword [rsp + 0xc0]
shr rax, 0x14
call fcn.0043af40
lea rax, [0x004e2c5b]
mov ebx, 2
call fcn.0043b200
mov rax, qword [rsp + 0xb8]
shr rax, 0x14
call fcn.0043af40
lea rax, [0x004e2c5b]
mov ebx, 2
call fcn.0043b200
mov rax, qword [rsp + 0xb0]
shr rax, 0x14
call fcn.0043af40
lea rax, [0x004e2f92]
mov ebx, 5
call fcn.0043b200
mov rax, qword [rsp + 0xa8]
shr rax, 0x14
call fcn.0043af40
lea rax, [0x004e3ec2]
mov ebx, 0xa
call fcn.0043b200
mov rax, qword [rsp + 0xd8]
shr rax, 0x14
call fcn.0043af40
lea rax, [0x004e4809]
mov ebx, 0xc
nop dword [rax + rax]
call fcn.0043b200
mov rax, qword [rsp + 0xc8]
shr rax, 0x14
call fcn.0043af40
lea rax, [0x004e4dfe]
mov ebx, 0xd
call fcn.0043b200
mov rax, qword [rsp + 0x100]
call fcn.0043b020
lea rax, [0x004e2c4b]
mov ebx, 2
call fcn.0043b200
call fcn.0043a9e0
cmp byte [0x00591e38], 0
je 0x41b44e
call fcn.0043a960
lea rax, [0x004e3aff]
mov ebx, 9
call fcn.0043b200
call fcn.0043a9e0
call fcn.0043a960
call fcn.0043aba0
call fcn.0043a9e0
nop dword [rax]
call fcn.0043a9e0
lea rax, [0x005919e0]
call fcn.0040b8c0
mov rcx, qword [0x00591a00]
mov qword [rsp + 0x1d8], rcx
mov rdx, qword [0x00591a08]
mov qword [rsp + 0xa0], rdx
movups xmmword [0x00591a08], xmm15
cmp dword [0x005e6870], 0
nop
jne 0x41b4af
mov qword [0x00591a00], 0
jmp 0x41b4bd
lea rdi, [0x00591a00]
xor ebx, ebx
call fcn.00464bc0
lea rax, [0x005919e0]
call fcn.0040bae0
mov rcx, qword [rsp + 0x1d8]
xor eax, eax
jmp 0x41b504
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0x1e8], rcx
mov rax, qword [rcx]
call fcn.004045c0
mov rcx, qword [rsp + 0x1e8]
add rcx, 0x10
mov rax, qword [rsp + 0xd0]
inc rax
mov rdx, qword [rsp + 0xa0]
cmp rax, rdx
jl 0x41b4d5
lea rax, [0x00574454]
call fcn.00449be0
lea rax, [0x00574448]
call fcn.00449be0
mov rax, qword [rsp + 0x1d0]
call fcn.004492c0
mov rbp, qword [rsp + 0x200]
add rsp, 0x208
ret
lea rax, [0x004ea5ac]
mov ebx, 0x1b
call fcn.00439180
lea rax, [0x004eb05f]
mov ebx, 0x1d
call fcn.00439180
nop
call fcn.004628c0
jmp fcn.0041a8c0