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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov r9, qword [0x1808e0030]
mov rdi, r9
mov rbx, qword [r9 + 0x48b0]
test dword [rbx + 0x14], 0x40000
jne 0x1800581e3
cmp qword [r9 + 0x4a18], 0
jne 0x1800581e3
mov edx, 0x205
mov qword [rsp + 0x60], rbp
mov rcx, r9
call fcn.18004eab0
cmp byte [rax], 0
jne 0x18005807b
xor bpl, bpl
jmp 0x1800580b0
cmp byte [r9 + 0x4744], 0
je 0x18005808f
cmp dword [r9 + 0x3f30], 0xffffffff
jne 0x1800580a8
mov edx, 0x205
mov rcx, rdi
call fcn.18003e1a0
mov r9, qword [0x1808e0030]
cmp dword [rax], 0xffffffff
je 0x1800580ad
xor bpl, bpl
jmp 0x1800580b0
mov bpl, 1
mov edx, 0x206
mov rcx, r9
call fcn.18004eab0
cmp byte [rax], 0
jne 0x1800580c7
xor sil, sil
jmp 0x1800580f5
cmp byte [r9 + 0x4744], 0
je 0x1800580db
cmp dword [r9 + 0x3f30], 0xffffffff
jne 0x1800580ed
mov edx, 0x206
mov rcx, r9
call fcn.18003e1a0
cmp dword [rax], 0xffffffff
je 0x1800580f2
xor sil, sil
jmp 0x1800580f5
mov sil, 1
mov edx, 0xffffffff
mov ecx, 0x207
mov r8d, 1
call fcn.18004f370
mov edx, 0xffffffff
mov ecx, 0x208
mov r8d, 1
movzx r15d, al
call fcn.18004f370
cmp bpl, sil
movzx r14d, al
mov rbp, qword [rsp + 0x60]
jne 0x18005813a
cmp r15b, al
je 0x1800581e3
cmp dword [rdi + 0x48e8], 0
je 0x18005814a
xor ecx, ecx
call fcn.180056010
cmp word [rbx + 0x15c], 0
jne 0x18005821c
cmp byte [rbx + 0x162], 0
je 0x18005821c
mov edx, 0xffffffff
mov ecx, 0x205
mov r8d, 1
call fcn.18004f370
test al, al
je 0x18005819c
movss xmm1, dword [rbx + 0x204]
subss xmm1, dword [rbx + 0x1fc]
movss xmm0, dword [rbx + 0x88]
subss xmm0, xmm1
jmp 0x1800581cd
mov edx, 0xffffffff
mov ecx, 0x206
mov r8d, 1
call fcn.18004f370
test al, al
je 0x1800581fa
movss xmm0, dword [rbx + 0x204]
subss xmm0, dword [rbx + 0x1fc]
addss xmm0, dword [rbx + 0x88]
movss dword [rbx + 0x98], xmm0
xor eax, eax
mov dword [rbx + 0xa8], eax
mov dword [rbx + 0xa0], eax
xorps xmm0, xmm0
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
test r15b, r15b
je 0x180058209
xor eax, eax
mov dword [rbx + 0x98], eax
jmp 0x1800581d7
test r14b, r14b
je 0x1800581e3
mov eax, dword [rbx + 0x90]
mov dword [rbx + 0x98], eax
jmp 0x1800581d5
mov rax, qword [rbx]
movsxd rsi, dword [rdi + 0x48e8]
add rsi, rsi
movaps xmmword [rsp + 0x30], xmm6
movaps xmmword [rsp + 0x20], xmm7
movss xmm0, dword [rax + 0x3c0c]
mov rax, qword [rbx + 0x368]
mulss xmm0, dword [rbx + 0x290]
test rax, rax
je 0x180058257
mulss xmm0, dword [rax + 0x290]
movss xmm1, dword [rbx + 0x204]
xor edx, edx
subss xmm1, dword [rbx + 0x1fc]
xorps xmm7, xmm7
mov ecx, 0x205
xorps xmm6, xmm6
lea r8d, [rdx + 1]
subss xmm1, xmm0
movss xmm0, dword [rbx + rsi*8 + 0x3b4]
subss xmm0, dword [rbx + rsi*8 + 0x3ac]
addss xmm1, xmm0
maxss xmm7, xmm1
call fcn.18004f370
test al, al
je 0x1800582d9
movaps xmm6, xmm7
mov dword [rdi + 0x4918], 3
xorps xmm6, xmmword [0x1808afde0]
movaps xmm7, xmmword [rsp + 0x20]
movaps xmm0, xmm6
movaps xmm6, xmmword [rsp + 0x30]
mov dword [rdi + 0x4920], 2
mov dword [rdi + 0x490c], 0x30
jmp 0x1800581e6
xor edx, edx
mov ecx, 0x206
lea r8d, [rdx + 1]
call fcn.18004f370
test al, al
je 0x180058309
movaps xmm6, xmm7
mov dword [rdi + 0x4920], 3
mov dword [rdi + 0x490c], 0x30
jmp 0x1800583b3
test r15b, r15b
je 0x180058365
movss xmm0, dword [rbx + rsi*8 + 0x3a8]
xor eax, eax
comiss xmm0, dword [rbx + rsi*8 + 0x3b0]
mov dword [rbx + rsi*8 + 0x3b4], eax
mov dword [rbx + rsi*8 + 0x3ac], eax
jbe 0x18005833f
mov dword [rbx + rsi*8 + 0x3b0], eax
mov dword [rbx + rsi*8 + 0x3a8], eax
movaps xmm7, xmmword [rsp + 0x20]
movaps xmm0, xmm6
movaps xmm6, xmmword [rsp + 0x30]
mov dword [rdi + 0x4918], 3
mov dword [rdi + 0x490c], 0x50
jmp 0x1800581e6
test r14b, r14b
je 0x1800583bd
movss xmm1, dword [rbx + 0x3c]
movss xmm0, dword [rbx + rsi*8 + 0x3a8]
comiss xmm0, dword [rbx + rsi*8 + 0x3b0]
movss dword [rbx + rsi*8 + 0x3b4], xmm1
movss dword [rbx + rsi*8 + 0x3ac], xmm1
ja 0x180058399
comiss xmm1, xmm1
jbe 0x1800583a9
xor eax, eax
mov dword [rbx + rsi*8 + 0x3b0], eax
mov dword [rbx + rsi*8 + 0x3a8], eax
mov dword [rdi + 0x490c], 0x50
mov dword [rdi + 0x4918], 2
movaps xmm7, xmmword [rsp + 0x20]
movaps xmm0, xmm6
movaps xmm6, xmmword [rsp + 0x30]
jmp 0x1800581e6