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

Disassembly:
mov r11, rsp
push rbp
push rsi
push r14
lea rbp, [r11 - 0x5f]
sub rsp, 0xd0
movss xmm2, dword [rdx + 8]
mov r14, rcx
movss xmm3, dword [rdx + 0xc]
mov rsi, qword [rcx]
movaps xmm1, xmm3
movaps xmmword [r11 - 0x58], xmm8
movss xmm8, dword [rdx + 4]
movaps xmmword [r11 - 0x68], xmm9
movaps xmm0, xmm8
mov rax, qword [rsi + 0x38]
movaps xmm9, xmm8
movaps xmmword [r11 - 0x78], xmm10
movaps xmm10, xmm8
movaps xmmword [rsp + 0x60], xmm11
movaps xmm11, xmm2
mulss xmm0, dword [rax]
mulss xmm1, dword [rax + 8]
mulss xmm11, dword [rax + 4]
mulss xmm9, dword [rax + 0x10]
mulss xmm8, dword [rax + 0x30]
addss xmm11, xmm0
mulss xmm10, dword [rax + 0x20]
movaps xmm0, xmm2
mulss xmm0, dword [rax + 0x14]
addss xmm11, xmm1
movaps xmm1, xmm3
mulss xmm1, dword [rax + 0x18]
addss xmm9, xmm0
movaps xmm0, xmm2
mulss xmm2, dword [rax + 0x34]
mulss xmm0, dword [rax + 0x24]
addss xmm11, dword [rax + 0xc]
addss xmm9, xmm1
movaps xmm1, xmm3
mulss xmm3, dword [rax + 0x38]
addss xmm8, xmm2
mulss xmm1, dword [rax + 0x28]
addss xmm10, xmm0
addss xmm9, dword [rax + 0x1c]
addss xmm8, xmm3
addss xmm10, xmm1
addss xmm8, dword [rax + 0x3c]
addss xmm10, dword [rax + 0x2c]
comiss xmm8, dword [0x18001437c]
jb 0x180004e55
mov rax, qword [rsi + 0x10]
movss xmm0, dword [rdx]
movaps xmmword [r11 - 0x48], xmm7
movss xmm1, dword [rax + 0x28]
comiss xmm1, xmm0
jb 0x180004b8a
subss xmm1, xmm0
jmp 0x180004b92
movss xmm1, dword [0x1800143d8]
movss xmm0, dword [0x1800143a0]
comiss xmm1, xmm0
movaps xmmword [rsp + 0xb0], xmm6
movss xmm6, dword [0x180014398]
movaps xmm7, xmm6
jb 0x180004bc9
subss xmm1, xmm0
movaps xmm0, xmm6
divss xmm1, dword [0x180014388]
minss xmm0, xmm1
subss xmm7, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm7
jae 0x180004e45
mov rax, qword [rcx + 8]
mov rdx, qword [rsi + 8]
mov qword [rsp + 0x108], rdi
mov rdi, qword [rcx + 0x18]
mov r9, qword [rax]
mov rax, qword [rcx + 0x10]
mov qword [rsp + 0xc8], r12
xor r12d, r12d
mov qword [rsp + 0xc0], r15
mov r15, qword [rdx + 0x20]
mov qword [rsp + 0x100], rbx
cmp r9, r15
jae 0x180004c46
mov r8, qword [rdx + 0x18]
mov r11d, dword [rdi]
movzx r10d, word [r8 + r9*2]
test r11d, r11d
jle 0x180004c37
cmp r10d, r11d
jae 0x180004c37
mov rbx, qword [rdi + 8]
mov rbx, qword [rbx + r10*8]
test rbx, rbx
jne 0x180004cb3
movzx ecx, word [r8 + r15*2 - 2]
mov word [r8 + r9*2], cx
dec qword [rdx + 0x20]
mov qword [rbp - 0x59], rax
lea r8, [rbp - 0x69]
mov rax, qword [rsi + 0x48]
lea rdx, [rbp + 0x67]
mov qword [rbp - 0x51], rax
lea rcx, [rbp - 0x59]
lea rax, str.s2r:__panorama_images_icons_equipment_stomp_damage.svg
mov dword [rbp - 0x61], 0xffffffff
mov qword [rbp - 0x69], rax
mov dword [rbp - 0x5d], 1
call fcn.180006ff0
mov rbx, qword [rbp + 0x67]
test rbx, rbx
je 0x180004e25
mov eax, dword [rdi]
lea rdx, [rbp + 0x67]
test eax, eax
lea ecx, [rax - 1]
cmovle cx, r12w
mov word [rbp + 0x67], cx
mov rcx, qword [rsi + 8]
add rcx, 0x10
call fcn.18000b150
test rbx, rbx
je 0x180004e25
mov rax, qword [0x180016028]
movsx rcx, byte [rax + 0x109]
test cl, cl
je 0x180004e25
mov rax, rcx
add rax, rbx
je 0x180004e25
mov qword [rbp - 0x69], rax
movaps xmm1, xmm7
mov rax, qword [r14]
mov rcx, qword [rax + 0x48]
mov qword [rbp - 0x61], rcx
lea rcx, [rbp - 0x69]
call fcn.18000cfd0
movaps xmm1, xmm10
lea rcx, [rbp - 0x69]
xorps xmm1, xmmword [0x1800143e0]
call fcn.18000d6a0
mov rcx, qword [r14]
movaps xmm0, xmm6
divss xmm0, xmm8
mov rax, qword [rcx + 0x10]
mov rbx, qword [rax + 8]
mov rax, qword [rcx + 0x40]
mulss xmm9, xmm0
movaps xmm7, xmm0
mulss xmm7, xmm11
test rax, rax
je 0x180004d3d
movss xmm0, dword [rax + 0x14]
divss xmm0, dword [0x18001439c]
jmp 0x180004d40
movaps xmm0, xmm6
movss xmm1, dword [0x1800143d0]
lea rax, [0x18001064c]
divss xmm10, xmm0
lea rcx, [rbp + 0x67]
mov dword [rbp + 0x6f], 0x3f800000
movss xmm0, dword [0x180014380]
addss xmm10, dword [0x1800143cc]
divss xmm1, xmm10
comiss xmm0, xmm1
movss dword [rbp + 0x67], xmm1
cmova rcx, rax
lea rax, [rbp + 0x6f]
comiss xmm1, xmm6
cmovbe rax, rcx
lea rcx, [rbx + 0x10]
movss xmm1, dword [rax]
call fcn.18000c500
addss xmm7, xmm6
mov dword [rbp + 0x6b], 2
movaps xmm0, xmm6
mov dword [rbp + 0x73], 2
subss xmm0, xmm9
mov qword [rbp - 0x59], rax
lea rcx, [rbx + 0x10]
mulss xmm7, dword [0x18001438c]
mulss xmm0, dword [0x18001438c]
mulss xmm7, dword [0x1800143c4]
mulss xmm0, dword [0x1800143c4]
movss dword [rbp + 0x6f], xmm7
mov rdx, qword [rbp + 0x6f]
movss dword [rbp + 0x67], xmm0
mov r8, qword [rbp + 0x67]
call fcn.18000da20
mov rcx, qword [rbp - 0x69]
lea rdx, [rbp - 0x49]
mov qword [rbp - 0x51], rax
lea rax, [rbp - 0x59]
mov qword [rbp - 0x39], 2
mov qword [rbp - 0x41], rax
mov dword [rbp - 0x49], 2
mov rax, qword [rcx]
call qword [rax + 0x88]
mov rax, qword [r14 + 8]
inc qword [rax]
mov rbx, qword [rsp + 0x100]
mov r15, qword [rsp + 0xc0]
mov r12, qword [rsp + 0xc8]
mov rdi, qword [rsp + 0x108]
movaps xmm6, xmmword [rsp + 0xb0]
movaps xmm7, xmmword [rsp + 0xa0]
lea r11, [rsp + 0xd0]
movaps xmm8, xmmword [r11 - 0x40]
movaps xmm9, xmmword [r11 - 0x50]
movaps xmm10, xmmword [r11 - 0x60]
movaps xmm11, xmmword [r11 - 0x70]
mov rsp, r11
pop r14
pop rsi
pop rbp
ret