Function at 0x180004370
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
movaps xmm8, xmm2
movaps xmmword [r11 - 0x68], xmm9
movss xmm9, dword [rdx + 4]
mov rax, qword [rsi + 0x38]
movaps xmm0, xmm9
movaps xmmword [r11 - 0x78], xmm10
movaps xmm10, xmm9
movaps xmmword [rsp + 0x60], xmm11
movaps xmm11, xmm9
mulss xmm0, dword [rax]
mulss xmm1, dword [rax + 8]
mulss xmm8, dword [rax + 4]
mulss xmm10, dword [rax + 0x10]
mulss xmm9, dword [rax + 0x30]
addss xmm8, xmm0
mulss xmm11, dword [rax + 0x20]
movaps xmm0, xmm2
mulss xmm0, dword [rax + 0x14]
addss xmm8, xmm1
movaps xmm1, xmm3
mulss xmm1, dword [rax + 0x18]
addss xmm10, xmm0
movaps xmm0, xmm2
mulss xmm2, dword [rax + 0x34]
mulss xmm0, dword [rax + 0x24]
addss xmm8, dword [rax + 0xc]
addss xmm10, xmm1
movaps xmm1, xmm3
mulss xmm3, dword [rax + 0x38]
addss xmm9, xmm2
mulss xmm1, dword [rax + 0x28]
addss xmm11, xmm0
addss xmm10, dword [rax + 0x1c]
addss xmm9, xmm3
addss xmm11, xmm1
addss xmm9, dword [rax + 0x3c]
addss xmm11, dword [rax + 0x2c]
comiss xmm9, dword [0x180012eb4]
jb 0x18000474e
mov rax, qword [rsi + 0x10]
movss xmm0, dword [rdx]
movss xmm2, dword [0x180012ed8]
movaps xmmword [r11 - 0x38], xmm6
movss xmm1, dword [rax + 0x28]
comiss xmm1, xmm0
movaps xmmword [r11 - 0x48], xmm7
jb 0x180004497
subss xmm1, xmm0
comiss xmm1, xmm2
jae 0x18000449f
movss xmm6, dword [0x180012ed0]
movaps xmm7, xmm6
jmp 0x1800044cd
movss xmm1, dword [0x180012f08]
movss xmm6, dword [0x180012ed0]
subss xmm1, xmm2
movaps xmm0, xmm6
movaps xmm7, xmm6
divss xmm1, dword [0x180012ec0]
minss xmm0, xmm1
subss xmm7, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm7
jae 0x18000473e
mov rax, qword [rcx + 8]
mov rdx, qword [rsi + 8]
mov qword [rsp + 0x100], rbx
mov qword [rsp + 0x108], rdi
mov r9, qword [rax]
mov rdi, qword [rcx + 0x18]
mov rax, qword [rcx + 0x10]
mov qword [rsp + 0xc8], r12
xor r12d, r12d
mov qword [rsp + 0xc0], r15
mov r15, qword [rdx + 0x20]
cmp r9, r15
jae 0x18000453e
mov r8, qword [rdx + 0x18]
mov r11d, dword [rdi]
movzx r10d, word [r8 + r9*2]
test r11d, r11d
jle 0x18000452f
cmp r10d, r11d
jae 0x18000452f
mov rbx, qword [rdi + 8]
mov rbx, qword [rbx + r10*8]
test rbx, rbx
jne 0x1800045ab
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.180006770
mov rbx, qword [rbp + 0x67]
test rbx, rbx
je 0x18000471e
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.180009fc0
test rbx, rbx
je 0x18000471e
mov rax, qword [0x180015028]
movsx rcx, byte [rax + 0x104]
test cl, cl
je 0x18000471e
mov rax, rcx
add rax, rbx
je 0x18000471e
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.18000ca80
movaps xmm1, xmm11
lea rcx, [rbp - 0x69]
xorps xmm1, xmmword [0x180012f10]
call fcn.18000cd60
mov rcx, qword [r14]
movaps xmm0, xmm6
divss xmm0, xmm9
mov rax, qword [rcx + 0x10]
mov rbx, qword [rax + 8]
mov rax, qword [rcx + 0x40]
mulss xmm8, xmm0
mulss xmm10, xmm0
test rax, rax
je 0x180004632
movss xmm0, dword [rax + 0x14]
divss xmm0, dword [0x180012ed4]
jmp 0x180004635
movaps xmm0, xmm6
movss xmm1, dword [0x180012f00]
lea rax, [0x18000f62c]
divss xmm11, xmm0
lea rcx, [rbp + 0x67]
mov dword [rbp + 0x6f], 0x3f800000
movss xmm0, dword [0x180012eb8]
addss xmm11, dword [0x180012efc]
divss xmm1, xmm11
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.18000bfe0
addss xmm8, xmm6
mov dword [rbp + 0x6b], 2
movaps xmm0, xmm6
mov dword [rbp + 0x73], 2
subss xmm0, xmm10
mov qword [rbp - 0x59], rax
lea rcx, [rbx + 0x10]
mulss xmm8, dword [0x180012ec4]
mulss xmm0, dword [0x180012ec4]
mulss xmm8, dword [0x180012ef4]
mulss xmm0, dword [0x180012ef4]
movss dword [rbp + 0x6f], xmm8
mov rdx, qword [rbp + 0x6f]
movss dword [rbp + 0x67], xmm0
mov r8, qword [rbp + 0x67]
call fcn.18000d0e0
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 rdi, qword [rsp + 0x108]
mov r15, qword [rsp + 0xc0]
mov r12, qword [rsp + 0xc8]
mov rbx, qword [rsp + 0x100]
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