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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov eax, 0x20
mov eax, eax
mov ecx, dword [0x18031b2e4]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov eax, dword [rax + rcx]
cmp dword [0x18031d4e4], eax
jle 0x1800142ad
lea rcx, [0x18031d4e4]
call fcn.18024c2f8
cmp dword [0x18031d4e4], 0xffffffff
jne 0x1800142ad
lea rcx, [0x18031d3f0]
call fcn.180004850
mov rax, qword [rax + 0x38]
mov qword [rsp + 0x70], rax
lea rdx, str.mp_damage_scale_ct_head
mov rcx, qword [rsp + 0x70]
call fcn.180121140
mov qword [0x18031d4c0], rax
lea rcx, [0x18031d4e4]
call fcn.18024c28c
mov eax, 0x20
mov eax, eax
mov ecx, dword [0x18031b2e4]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov eax, dword [rax + rcx]
cmp dword [0x18031d4e0], eax
jle 0x180014320
lea rcx, [0x18031d4e0]
call fcn.18024c2f8
cmp dword [0x18031d4e0], 0xffffffff
jne 0x180014320
lea rcx, [0x18031d3f0]
call fcn.180004850
mov rax, qword [rax + 0x38]
mov qword [rsp + 0x78], rax
lea rdx, str.mp_damage_scale_t_head
mov rcx, qword [rsp + 0x78]
call fcn.180121140
mov qword [0x18031d4b8], rax
lea rcx, [0x18031d4e0]
call fcn.18024c28c
mov eax, 0x20
mov eax, eax
mov ecx, dword [0x18031b2e4]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov eax, dword [rax + rcx]
cmp dword [0x18031d4cc], eax
jle 0x180014399
lea rcx, [0x18031d4cc]
call fcn.18024c2f8
cmp dword [0x18031d4cc], 0xffffffff
jne 0x180014399
lea rcx, [0x18031d3f0]
call fcn.180004850
mov rax, qword [rax + 0x38]
mov qword [rsp + 0x80], rax
lea rdx, str.mp_damage_scale_ct_body
mov rcx, qword [rsp + 0x80]
call fcn.180121140
mov qword [0x18031d4b0], rax
lea rcx, [0x18031d4cc]
call fcn.18024c28c
mov eax, 0x20
mov eax, eax
mov ecx, dword [0x18031b2e4]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov eax, dword [rax + rcx]
cmp dword [0x18031d4c8], eax
jle 0x180014412
lea rcx, [0x18031d4c8]
call fcn.18024c2f8
cmp dword [0x18031d4c8], 0xffffffff
jne 0x180014412
lea rcx, [0x18031d3f0]
call fcn.180004850
mov rax, qword [rax + 0x38]
mov qword [rsp + 0x88], rax
lea rdx, str.mp_damage_scale_t_body
mov rcx, qword [rsp + 0x88]
call fcn.180121140
mov qword [0x18031d4d8], rax
lea rcx, [0x18031d4c8]
call fcn.18024c28c
mov rcx, qword [0x18031d4c0]
call fcn.1800138d0
movss dword [rsp + 0x44], xmm0
mov rcx, qword [0x18031d4b8]
call fcn.1800138d0
movss dword [rsp + 0x48], xmm0
mov rcx, qword [0x18031d4b0]
call fcn.1800138d0
movss dword [rsp + 0x4c], xmm0
mov rcx, qword [0x18031d4d8]
call fcn.1800138d0
movss dword [rsp + 0x50], xmm0
mov rcx, qword [rsp + 0xb0]
call fcn.180007320
cmp dword [rax], 3
jne 0x180014473
mov byte [rsp + 0x20], 1
jmp 0x180014478
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x22], al
mov rcx, qword [rsp + 0xb0]
call fcn.180007320
cmp dword [rax], 2
jne 0x18001449a
mov byte [rsp + 0x21], 1
jmp 0x18001449f
mov byte [rsp + 0x21], 0
movzx eax, byte [rsp + 0x21]
mov byte [rsp + 0x23], al
movzx eax, byte [rsp + 0x22]
test eax, eax
je 0x1800144bf
movss xmm0, dword [rsp + 0x44]
movss dword [rsp + 0x34], xmm0
jmp 0x1800144f0
movzx eax, byte [rsp + 0x23]
test eax, eax
je 0x1800144d6
movss xmm0, dword [rsp + 0x48]
movss dword [rsp + 0x30], xmm0
jmp 0x1800144e4
movss xmm0, dword [0x1802d9c98]
movss dword [rsp + 0x30], xmm0
movss xmm0, dword [rsp + 0x30]
movss dword [rsp + 0x34], xmm0
movss xmm0, dword [rsp + 0x34]
movss dword [rsp + 0x54], xmm0
movzx eax, byte [rsp + 0x22]
test eax, eax
je 0x180014513
movss xmm0, dword [rsp + 0x4c]
movss dword [rsp + 0x3c], xmm0
jmp 0x180014544
movzx eax, byte [rsp + 0x23]
test eax, eax
je 0x18001452a
movss xmm0, dword [rsp + 0x50]
movss dword [rsp + 0x38], xmm0
jmp 0x180014538
movss xmm0, dword [0x1802d9c98]
movss dword [rsp + 0x38], xmm0
movss xmm0, dword [rsp + 0x38]
movss dword [rsp + 0x3c], xmm0
movss xmm0, dword [rsp + 0x3c]
movss dword [rsp + 0x28], xmm0
mov eax, dword [rsp + 0xa8]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
dec eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 7
ja case.default.0x180014586
movsxd rax, dword [rsp + 0x24]
lea rcx, [0x180000000]
mov eax, dword [rcx + rax*4 + 0x14750]
add rax, rcx
jmp rax
mov rcx, qword [rsp + 0xb8]
call fcn.180013f90
movss xmm0, dword [rax]
mulss xmm0, dword [rsp + 0x54]
movss dword [rsp + 0x5c], xmm0
mov rax, qword [rsp + 0xc0]
movss xmm0, dword [rax]
movss dword [rsp + 0x58], xmm0
movss xmm0, dword [rsp + 0x58]
mulss xmm0, dword [rsp + 0x5c]
mov rax, qword [rsp + 0xc0]
movss dword [rax], xmm0
jmp case.default.0x180014586
mov rax, qword [rsp + 0xc0]
movss xmm0, dword [rax]
mulss xmm0, dword [rsp + 0x28]
mov rax, qword [rsp + 0xc0]
movss dword [rax], xmm0
jmp case.default.0x180014586
movss xmm0, dword [0x1802d9ccc]
mulss xmm0, dword [rsp + 0x28]
mov rax, qword [rsp + 0xc0]
movss xmm1, dword [rax]
mulss xmm1, xmm0
movaps xmm0, xmm1
mov rax, qword [rsp + 0xc0]
movss dword [rax], xmm0
jmp case.default.0x180014586
movss xmm0, dword [0x1802d9c5c]
mulss xmm0, dword [rsp + 0x28]
mov rax, qword [rsp + 0xc0]
movss xmm1, dword [rax]
mulss xmm1, xmm0
movaps xmm0, xmm1
mov rax, qword [rsp + 0xc0]
movss dword [rax], xmm0
mov edx, dword [rsp + 0xa8]
mov rcx, qword [rsp + 0xb0]
call fcn.1800141d0
movzx eax, al
test eax, eax
jne 0x18001466d
jmp 0x180014746
movss xmm0, dword [0x1802d9c98]
movss dword [rsp + 0x64], xmm0
movss xmm0, dword [0x1802d9c1c]
movss dword [rsp + 0x40], xmm0
mov rcx, qword [rsp + 0xb8]
call fcn.180013d50
movss xmm0, dword [rax]
mulss xmm0, dword [0x1802d9c1c]
movss dword [rsp + 0x60], xmm0
mov rax, qword [rsp + 0xc0]
movss xmm0, dword [rax]
mulss xmm0, dword [rsp + 0x60]
movss dword [rsp + 0x2c], xmm0
mov rax, qword [rsp + 0xc0]
movss xmm0, dword [rax]
subss xmm0, dword [rsp + 0x2c]
movss xmm1, dword [rsp + 0x64]
mulss xmm1, dword [rsp + 0x40]
mulss xmm0, xmm1
movss dword [rsp + 0x68], xmm0
mov rcx, qword [rsp + 0xb0]
call fcn.1800140b0
cvtsi2ss xmm0, dword [rax]
movss xmm1, dword [rsp + 0x68]
comiss xmm1, xmm0
jbe 0x180014734
mov rcx, qword [rsp + 0xb0]
call fcn.1800140b0
cvtsi2ss xmm0, dword [rax]
divss xmm0, dword [rsp + 0x40]
mov rax, qword [rsp + 0xc0]
movss xmm1, dword [rax]
subss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x2c], xmm0
mov rax, qword [rsp + 0xc0]
movss xmm0, dword [rsp + 0x2c]
movss dword [rax], xmm0
add rsp, 0x98
ret