Function at 0x549600
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x549888
sub rsp, 0x70
mov qword [rsp + 0x68], rbp
lea rbp, [rsp + 0x68]
mov qword [rsp + 0x80], rbx
movsd qword [rsp + 0x90], xmm1
mov qword [rsp + 0x98], rcx
mov qword [rsp + 0x78], rax
mulsd xmm0, xmm1
movsd qword [rsp + 0x50], xmm0
movzx rdx, byte [0x0089b622]
test edx, edx
je 0x549654
roundsd xmm2, xmm0, 2
jmp 0x54965c
call fcn.00484180
movups xmm2, xmm0
movsd qword [rsp], xmm2
movsd xmm0, qword [0x006dafa0]
movsd qword [rsp + 8], xmm0
call fcn.004847a0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
movsd xmm0, qword [0x006dafa0]
movsd xmm1, qword [rsp + 0x50]
divsd xmm0, xmm1
movsd xmm1, qword [rsp + 0x10]
movsd qword [rsp + 0x20], xmm1
movsd qword [rsp], xmm0
movsd xmm0, qword [0x006dafa0]
movsd qword [rsp + 8], xmm0
call fcn.00484840
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
movsd xmm0, qword [rsp + 0x20]
cvttsd2si rcx, xmm0
mov rbx, qword [rsp + 0x80]
imul rcx, rbx
mov qword [rsp + 0x48], rcx
mov rbx, qword [rsp + 0x78]
imul rbx, rcx
mov qword [rsp + 0x40], rbx
movsd xmm0, qword [rsp + 0x10]
movsd qword [rsp + 0x18], xmm0
lea rax, [0x00627640]
mov rcx, rbx
call fcn.0044b620
mov qword [rsp + 0x60], rax
mov rbx, qword [rsp + 0x78]
mov rcx, rbx
lea rax, [0x006275c0]
call fcn.0044b620
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x98]
movsd xmm0, qword [rsp + 0x18]
movsd xmm1, qword [rsp + 0x90]
xor esi, esi
jmp 0x549760
inc rsi
mov rcx, r9
cmp rdx, rsi
jle 0x5497b9
mov qword [rsp + 0x28], rsi
xorps xmm2, xmm2
cvtsi2sd xmm2, rsi
movsd xmm3, qword [0x006daf78]
addsd xmm2, xmm3
mulsd xmm2, xmm1
subsd xmm2, xmm3
cvttsd2si r10, xmm2
mov r9, rcx
shr rcx, 0x3f
lea r11, [rcx + r9]
sar r11, 1
sub r10, r11
inc r10
mov qword [rax + rsi*8], r10
xorps xmm4, xmm4
cvtsi2sd xmm4, r10
subsd xmm2, xmm4
movsd qword [rsp + 0x30], xmm2
xor ecx, ecx
jmp 0x54982f
mov rbx, qword [rsp + 0x40]
mov rdi, rax
mov rsi, rdx
mov r8, rsi
mov r9, rcx
mov rax, qword [rsp + 0x60]
mov rcx, rbx
mov rbp, qword [rsp + 0x68]
add rsp, 0x70
ret
movsd xmm4, qword [0x006db050]
mulsd xmm0, xmm4
cvttsd2si r10d, xmm0
mov r11, qword [rsp + 0x60]
mov dword [r11 + rax*4], r10d
lea r10, [rbx + 1]
mov rax, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x98]
mov rsi, rcx
movsd xmm0, qword [rsp + 0x18]
movsd xmm1, qword [rsp + 0x90]
movsd xmm2, qword [rsp + 0x30]
movsd xmm3, qword [0x006daf78]
mov rcx, r10
cmp rcx, r9
jge 0x54975a
mov qword [rsp + 0x38], rcx
xorps xmm1, xmm1
cvtsi2sd xmm1, rcx
subsd xmm2, xmm1
mulsd xmm2, xmm0
mov rax, qword [rbx]
mov rdx, rbx
movups xmm0, xmm2
call rax
mov rax, qword [rsp + 0x28]
mov r9, qword [rsp + 0x48]
mov rcx, rax
imul rax, r9
mov rbx, qword [rsp + 0x38]
add rax, rbx
mov rsi, qword [rsp + 0x40]
cmp rsi, rax
ja 0x5497dc
mov rcx, rsi
call fcn.00464f40
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
movsd qword [rsp + 0x18], xmm0
movsd qword [rsp + 0x20], xmm1
mov qword [rsp + 0x28], rcx
call fcn.00462860
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
movsd xmm0, qword [rsp + 0x18]
movsd xmm1, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
jmp fcn.00549600