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

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
push r14
lea rbp, [r11 - 0x5f]
sub rsp, 0xc8
movss xmm2, dword [rdx + 8]
mov rdi, rcx
movss xmm3, dword [rdx + 0xc]
mov rsi, qword [rcx]
movaps xmm1, xmm3
movaps xmmword [r11 - 0x58], xmm8
movaps xmm8, xmm2
movaps xmmword [r11 - 0x68], xmm9
movaps xmmword [r11 - 0x78], xmm10
mov r14, qword [rsi + 8]
movaps xmmword [rsp + 0x60], xmm11
movss xmm11, dword [rdx + 4]
movaps xmm0, xmm11
movaps xmm10, xmm11
mov rax, qword [r14]
movaps xmm9, xmm11
mov r8, qword [rax + 0x1f8]
mulss xmm0, dword [r8]
mulss xmm1, dword [r8 + 8]
mulss xmm8, dword [r8 + 4]
mulss xmm10, dword [r8 + 0x10]
mulss xmm11, dword [r8 + 0x30]
addss xmm8, xmm0
mulss xmm9, dword [r8 + 0x20]
movaps xmm0, xmm2
mulss xmm0, dword [r8 + 0x14]
addss xmm8, xmm1
movaps xmm1, xmm3
mulss xmm1, dword [r8 + 0x18]
addss xmm10, xmm0
movaps xmm0, xmm2
mulss xmm2, dword [r8 + 0x34]
mulss xmm0, dword [r8 + 0x24]
addss xmm8, dword [r8 + 0xc]
addss xmm10, xmm1
movaps xmm1, xmm3
mulss xmm3, dword [r8 + 0x38]
addss xmm11, xmm2
mulss xmm1, dword [r8 + 0x28]
addss xmm9, xmm0
addss xmm10, dword [r8 + 0x1c]
addss xmm11, xmm3
addss xmm9, xmm1
addss xmm11, dword [r8 + 0x3c]
addss xmm9, dword [r8 + 0x2c]
comiss xmm11, dword [0x180018a20]
jb 0x180008528
movss xmm1, dword [rcx + 0x28]
movss xmm0, dword [rdx]
comiss xmm1, xmm0
movss xmm2, dword [0x180018a44]
movaps xmmword [r11 - 0x38], xmm6
movaps xmmword [r11 - 0x48], xmm7
jb 0x180008276
subss xmm1, xmm0
comiss xmm1, xmm2
jae 0x18000827e
movss xmm6, dword [0x180018a3c]
movaps xmm7, xmm6
jmp 0x1800082ac
movss xmm1, dword [0x180018a78]
movss xmm6, dword [0x180018a3c]
subss xmm1, xmm2
movaps xmm0, xmm6
movaps xmm7, xmm6
divss xmm1, dword [0x180018a2c]
minss xmm0, xmm1
subss xmm7, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm7
jae 0x180008518
mov rax, qword [rcx + 8]
mov r8, qword [rsi]
mov qword [rsp + 0x100], rbx
mov rbx, qword [rcx + 0x20]
mov r10, qword [rax]
mov r11, qword [r8 + 0x20]
mov qword [rsp + 0xc0], r15
xor r15d, r15d
cmp r10, r11
jae 0x180008313
mov r9, qword [r8 + 0x18]
mov edx, dword [rbx]
movzx ecx, word [r9 + r10*2]
test edx, edx
jle 0x180008304
cmp ecx, edx
jae 0x180008304
mov rax, qword [rbx + 8]
mov qword [rbp - 0x59], r14
mov rdx, qword [rax + rcx*8]
mov qword [rbp - 0x51], rdx
test rdx, rdx
je 0x180008304
movaps xmm0, xmmword [rbp - 0x59]
jmp 0x18000837b
movzx eax, word [r9 + r11*2 - 2]
mov word [r9 + r10*2], ax
dec qword [r8 + 0x20]
mov rax, qword [rsi + 8]
lea r8, [rbp - 0x69]
mov qword [rbp - 0x59], rax
lea rdx, [rbp - 0x39]
mov rax, qword [rdi + 0x18]
lea rcx, [rbp - 0x59]
mov qword [rbp - 0x51], rax
lea rax, str.s2r:__panorama_images_icons_equipment_stomp_damage.svg
mov qword [rbp - 0x69], rax
mov dword [rbp - 0x61], 0xffffffff
mov dword [rbp - 0x5d], 1
call fcn.18000a510
cmp qword [rbp - 0x31], r15
je 0x180008508
mov eax, dword [rbx]
lea rdx, [rbp + 0x67]
test eax, eax
lea ecx, [rax - 1]
cmovle cx, r15w
mov word [rbp + 0x67], cx
mov rcx, qword [rsi]
add rcx, 0x10
call fcn.18000e190
movaps xmm0, xmmword [rbp - 0x39]
movaps xmmword [rbp - 0x69], xmm0
psrldq xmm0, 8
movq rax, xmm0
test rax, rax
je 0x180008508
movaps xmm1, xmm7
lea rcx, [rbp - 0x69]
call fcn.18000f5e0
movaps xmm1, xmm9
lea rcx, [rbp - 0x69]
xorps xmm1, xmmword [0x180018a80]
call fcn.18000fe00
mov rax, qword [rdi]
movaps xmm0, xmm6
divss xmm0, xmm11
mov rcx, qword [rax + 8]
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x1e8]
mov qword [rbp - 0x59], rax
mov rax, qword [rdx + 0x1f0]
mov qword [rbp - 0x51], rax
mov rax, qword [rdx + 0x200]
mulss xmm8, xmm0
mulss xmm10, xmm0
test rax, rax
je 0x1800083ff
movss xmm0, dword [rax + 0x14]
divss xmm0, dword [0x180018a40]
jmp 0x180008402
movaps xmm0, xmm6
movss xmm1, dword [0x180018a70]
lea rax, [0x180013f0c]
divss xmm9, xmm0
lea rcx, [rbp + 0x67]
mov dword [rbp + 0x6f], 0x3f800000
movss xmm0, dword [0x180018a24]
addss xmm9, dword [0x180018a6c]
divss xmm1, xmm9
comiss xmm0, xmm1
movss dword [rbp + 0x67], xmm1
cmova rcx, rax
lea rax, [rbp + 0x6f]
comiss xmm1, xmm6
cmovbe rax, rcx
lea rcx, [rbp - 0x59]
movss xmm1, dword [rax]
call fcn.18000ec50
addss xmm8, xmm6
mov dword [rbp + 0x6b], 2
movaps xmm0, xmm6
mov dword [rbp + 0x73], 2
subss xmm0, xmm10
mov qword [rbp - 0x39], rax
lea rcx, [rbp - 0x59]
mulss xmm8, dword [0x180018a30]
mulss xmm0, dword [0x180018a30]
mulss xmm8, dword [0x180018a64]
mulss xmm0, dword [0x180018a64]
movss dword [rbp + 0x6f], xmm8
mov rdx, qword [rbp + 0x6f]
movss dword [rbp + 0x67], xmm0
mov r8, qword [rbp + 0x67]
call fcn.180010ab0
mov rdx, qword [rbp - 0x61]
mov qword [rbp - 0x31], rax
lea rax, [rbp - 0x39]
mov qword [rbp - 0x51], rax
mov qword [rbp - 0x49], 2
mov dword [rbp - 0x59], 2
test rdx, rdx
je 0x180008501
mov rax, qword [0x18001a028]
movsx rcx, byte [rax + 0x159]
test cl, cl
je 0x180008501
add rcx, rdx
je 0x180008501
mov rax, qword [rcx]
lea rdx, [rbp - 0x59]
call qword [rax + 0x88]
mov rax, qword [rdi + 8]
inc qword [rax]
mov r15, qword [rsp + 0xc0]
mov rbx, qword [rsp + 0x100]
movaps xmm6, xmmword [rsp + 0xb0]
movaps xmm7, xmmword [rsp + 0xa0]
lea r11, [rsp + 0xc8]
movaps xmm8, xmmword [r11 - 0x38]
movaps xmm9, xmmword [r11 - 0x48]
movaps xmm10, xmmword [r11 - 0x58]
movaps xmm11, xmmword [r11 - 0x68]
mov rsp, r11
pop r14
pop rdi
pop rsi
pop rbp
ret