Function at 0x46a870
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x28
cmp edx, dword [rcx + 0x20]
mov r8, rcx
je 0x46aaf8
test edx, edx
jne 0x46a88e
movsd xmm1, qword [0x005085c8]
jmp 0x46a896
movsd xmm1, qword [0x005085c0]
movsd xmm2, qword [0x005079f8]
movsd xmm3, qword [0x005085b8]
mov dword [rcx + 0x20], edx
cvtsi2sd xmm0, dword [rcx + 0x28]
mulsd xmm0, xmm1
cvttsd2si eax, xmm0
mov dword [rcx + 0x28], eax
cmp dword [rcx + 0x20], 0
jne 0x46a8d8
cvtsi2sd xmm0, eax
divsd xmm0, xmm2
addsd xmm0, xmm3
cvttsd2si eax, xmm0
lea ecx, [rax + rax*4]
add ecx, ecx
mov dword [r8 + 0x28], ecx
xor edx, edx
cmp dword [r8 + 0x20], 1
mov dword [r8 + 0x30], edx
jne 0x46a8ef
mov dword [r8 + 0x2c], 0x3e8
jmp 0x46a8f7
mov dword [r8 + 0x2c], 0xbb8
cvtsi2sd xmm0, dword [r8 + 0x38]
mulsd xmm0, xmm1
cvttsd2si eax, xmm0
mov dword [r8 + 0x38], eax
cmp dword [r8 + 0x20], 0
jne 0x46a929
cvtsi2sd xmm0, eax
divsd xmm0, xmm2
addsd xmm0, xmm3
cvttsd2si eax, xmm0
lea ecx, [rax + rax*4]
add ecx, ecx
mov dword [r8 + 0x38], ecx
cmp dword [r8 + 0x20], 1
mov dword [r8 + 0x40], edx
jne 0x46a93e
mov dword [r8 + 0x3c], 0x3e8
jmp 0x46a946
mov dword [r8 + 0x3c], 0xbb8
cvtsi2sd xmm0, dword [r8 + 0x48]
mulsd xmm0, xmm1
cvttsd2si eax, xmm0
mov dword [r8 + 0x48], eax
cmp dword [r8 + 0x20], 0
jne 0x46a978
cvtsi2sd xmm0, eax
divsd xmm0, xmm2
addsd xmm0, xmm3
cvttsd2si eax, xmm0
lea ecx, [rax + rax*4]
add ecx, ecx
mov dword [r8 + 0x48], ecx
cmp dword [r8 + 0x20], 1
mov dword [r8 + 0x50], edx
jne 0x46a98d
mov dword [r8 + 0x4c], 0x3e8
jmp 0x46a995
mov dword [r8 + 0x4c], 0xbb8
cvtsi2sd xmm0, dword [r8 + 0x58]
mulsd xmm0, xmm1
cvttsd2si eax, xmm0
mov dword [r8 + 0x58], eax
cmp dword [r8 + 0x20], 0
jne 0x46a9c7
cvtsi2sd xmm0, eax
divsd xmm0, xmm2
addsd xmm0, xmm3
cvttsd2si eax, xmm0
lea ecx, [rax + rax*4]
add ecx, ecx
mov dword [r8 + 0x58], ecx
cmp dword [r8 + 0x20], 1
mov dword [r8 + 0x60], edx
jne 0x46a9dc
mov dword [r8 + 0x5c], 0x3e8
jmp 0x46a9e4
mov dword [r8 + 0x5c], 0xbb8
cvtsi2sd xmm0, dword [r8 + 0x68]
mulsd xmm0, xmm1
cvttsd2si eax, xmm0
mov dword [r8 + 0x68], eax
cmp dword [r8 + 0x20], 0
jne 0x46aa16
cvtsi2sd xmm0, eax
divsd xmm0, xmm2
addsd xmm0, xmm3
cvttsd2si eax, xmm0
lea ecx, [rax + rax*4]
add ecx, ecx
mov dword [r8 + 0x68], ecx
cmp dword [r8 + 0x20], 1
mov dword [r8 + 0x70], edx
jne 0x46aa2b
mov dword [r8 + 0x6c], 0x3e8
jmp 0x46aa33
mov dword [r8 + 0x6c], 0xbb8
cvtsi2sd xmm0, dword [r8 + 0x78]
mulsd xmm0, xmm1
cvttsd2si eax, xmm0
mov dword [r8 + 0x78], eax
cmp dword [r8 + 0x20], 0
jne 0x46aa65
cvtsi2sd xmm0, eax
divsd xmm0, xmm2
addsd xmm0, xmm3
cvttsd2si eax, xmm0
lea ecx, [rax + rax*4]
add ecx, ecx
mov dword [r8 + 0x78], ecx
cmp dword [r8 + 0x20], 1
mov dword [r8 + 0x80], edx
jne 0x46aa7d
mov dword [r8 + 0x7c], 0x3e8
jmp 0x46aa85
mov dword [r8 + 0x7c], 0xbb8
cvtsi2sd xmm0, dword [r8 + 0x88]
mulsd xmm0, xmm1
cvttsd2si eax, xmm0
mov dword [r8 + 0x88], eax
cmp dword [r8 + 0x20], 0
jne 0x46aac0
cvtsi2sd xmm0, eax
divsd xmm0, xmm2
addsd xmm0, xmm3
cvttsd2si eax, xmm0
lea ecx, [rax + rax*4]
add ecx, ecx
mov dword [r8 + 0x88], ecx
cmp dword [r8 + 0x20], 1
mov dword [r8 + 0x90], edx
jne 0x46aae5
mov rcx, r8
mov dword [r8 + 0x8c], 0x3e8
add rsp, 0x28
jmp fcn.0046ad10
mov rcx, r8
mov dword [r8 + 0x8c], 0xbb8
call fcn.0046ad10
add rsp, 0x28
ret