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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov rbx, qword [0x1800c72c8]
mov ebp, 3
test byte [rbx + 8], 2
mov byte [rbx + 0xdb], 0
je 0x18005b224
test byte [rbx + 0xc], 1
je 0x18005b224
movdqa xmm0, xmmword [0x1800a8b90]
lea r14, [rsp + 0x40]
movdqa xmm1, xmmword [0x1800a8ba0]
mov r13b, 1
mov rsi, qword [0x1800c72c8]
movdqu xmmword [rsp + 0x40], xmm0
movdqu xmmword [rsp + 0x50], xmm1
nop
mov edi, dword [r14]
mov rcx, rsi
mov edx, edi
call fcn.180056b40
cmp byte [rax], 0
je 0x18005b214
lea eax, [rdi - 0x200]
cmp eax, 0x8b
jbe 0x18005b1f7
cmp edi, 0x1000
je 0x18005b1f7
cmp edi, 0x2000
je 0x18005b1f7
cmp edi, 0x4000
je 0x18005b1f7
cmp edi, 0x8000
je 0x18005b1f7
cmp edi, 0x800
jne 0x18005b207
mov edx, edi
mov rcx, rsi
call fcn.180056bd0
cmp byte [rax + 8], 0
jne 0x18005b214
mov dword [rbx + 0x490c], ebp
mov rsi, qword [0x1800c72c8]
add r14, 4
lea rax, [rsp + 0x60]
cmp r14, rax
jne 0x18005b1b0
jmp 0x18005b22e
mov rsi, qword [0x1800c72c8]
xor r13b, r13b
movzx r12d, byte [rbx + 8]
movdqa xmm0, xmmword [0x1800a8b80]
mov dword [rsp + 0x30], 0x201
mov dword [rsp + 0x34], 0x203
mov dword [rsp + 0x38], 0x204
movdqu xmmword [rsp + 0x20], xmm0
and r12b, 1
je 0x18005b2e6
lea r14, [rsp + 0x20]
nop dword [rax + rax]
mov edi, dword [r14]
mov rcx, rsi
mov edx, edi
call fcn.180056b40
cmp byte [rax], 0
je 0x18005b2d8
lea eax, [rdi - 0x200]
cmp eax, 0x8b
jbe 0x18005b2b7
cmp edi, 0x1000
je 0x18005b2b7
cmp edi, 0x2000
je 0x18005b2b7
cmp edi, 0x4000
je 0x18005b2b7
cmp edi, 0x8000
je 0x18005b2b7
cmp edi, 0x800
jne 0x18005b2c7
mov edx, edi
mov rcx, rsi
call fcn.180056bd0
cmp byte [rax + 8], 0
jne 0x18005b2d8
mov dword [rbx + 0x490c], 2
mov rsi, qword [0x1800c72c8]
add r14, 4
lea rax, [rsp + 0x3c]
cmp r14, rax
jne 0x18005b270
cmp dword [rbx + 0x491c], 0
je 0x18005b369
mov r8, qword [rsi + 0x48d8]
test r8, r8
je 0x18005b369
movsxd rax, dword [rsi + 0x4910]
mov ecx, dword [rsi + 0x491c]
mov rdx, rax
mov dword [rsi + 0x4910], eax
add rdx, rdx
mov dword [rsi + 0x48e0], ecx
mov dword [rsi + 0x48e4], 0
mov dword [r8 + rax*4 + 0x3a0], ecx
mov rax, qword [rsi + 0x48d8]
movups xmm0, xmmword [rsi + 0x4920]
movups xmmword [rax + rdx*8 + 0x3a8], xmm0
cmp byte [rsi + 0x491a], 0
mov byte [rsi + 0x4914], 1
je 0x18005b369
mov rax, qword [0x1800c72c8]
mov word [rax + 0x4915], 1
mov byte [rax + 0x4917], 1
xor esi, esi
mov word [rbx + 0x4919], 0
mov dword [rbx + 0x491c], esi
mov dword [rbx + 0x48f8], esi
cmp byte [rbx + 0x4930], sil
je 0x18005b38e
call fcn.18005a2e0
xor r15b, r15b
mov dword [rbx + 0x4974], esi
mov r14d, 1
mov word [rbx + 0x4930], si
cmp byte [rbx + 0x4915], sil
je 0x18005b3d7
cmp byte [rbx + 0x4914], sil
je 0x18005b3d7
cmp byte [rbx + 0x4916], sil
jne 0x18005b3d7
cmp byte [rbx + 0x4917], sil
je 0x18005b3d7
cmp qword [rbx + 0x48d8], rsi
movzx r15d, r15b
cmovne r15d, r14d
mov rcx, qword [rbx + 0x48d8]
mov byte [rbx + 0x4915], sil
test rcx, rcx
je 0x18005b41c
mov rax, rcx
nop dword [rax]
cmp qword [rax + 0x378], rax
je 0x18005b410
test dword [rax + 0x14], 0x14000000
jne 0x18005b410
mov rax, qword [rax + 0x368]
test rax, rax
jne 0x18005b3f0
jmp 0x18005b41c
cmp rax, rcx
je 0x18005b41c
mov qword [rax + 0x398], rcx
mov rax, qword [rbx + 0x48d8]
test rax, rax
je 0x18005b440
cmp qword [rax + 0x398], rsi
je 0x18005b440
cmp dword [rbx + 0x4910], esi
jne 0x18005b440
mov qword [rax + 0x398], rsi
call fcn.18005ca20
test r12b, r12b
jne 0x18005b453
test r13b, r13b
je 0x18005b564
mov rax, qword [rbx + 0x48d8]
test rax, rax
je 0x18005b564
test dword [rax + 0x14], 0x40000
jne 0x18005b564
mov byte [rbx + 0xdd], r14b
cmp dword [rbx + 0x48e0], esi
je 0x18005b56b
cmp byte [rbx + 0x4916], sil
jne 0x18005b56b
movzx eax, r14b
mov byte [rbx + 0xde], al
call fcn.18005bab0
mov qword [rbx + 0x48ec], rsi
mov dword [rbx + 0x48e8], esi
mov dword [rbx + 0x48f4], esi
cmp dword [rbx + 0x48e0], esi
je 0x18005b685
cmp byte [rbx + 0x4916], sil
jne 0x18005b685
cmp qword [rbx + 0x4a40], rsi
jne 0x18005b685
mov rax, qword [rbx + 0x48d8]
test rax, rax
je 0x18005b685
test dword [rax + 0x14], 0x40000
jne 0x18005b685
mov rdi, qword [0x1800c72c8]
test r12b, r12b
je 0x18005b513
cmp byte [rdi + 0x2eec], sil
je 0x18005b513
cmp byte [rdi + 0x4038], sil
je 0x18005b52a
test r13b, r13b
je 0x18005b57f
cmp byte [rdi + 0x350c], sil
je 0x18005b57f
cmp byte [rdi + 0x44d0], sil
jne 0x18005b57f
movzx ebp, r14b
test r12b, r12b
je 0x18005b546
xor r8d, r8d
xor edx, edx
mov ecx, 0x20c
call fcn.180058f20
test al, al
jne 0x18005b55e
test r13b, r13b
je 0x18005b582
xor r8d, r8d
xor edx, edx
mov ecx, 0x26e
call fcn.180058f20
test al, al
je 0x18005b582
movzx esi, r14b
jmp 0x18005b582
mov byte [rbx + 0xdd], sil
cmp qword [rbx + 0x4a40], rsi
jne 0x18005b490
xor al, al
jmp 0x18005b494
xor bpl, bpl
test r12b, r12b
je 0x18005b599
cmp byte [rdi + 0x2efc], 0
je 0x18005b599
cmp byte [rdi + 0x4044], 0
je 0x18005b5b0
test r13b, r13b
je 0x18005b5ea
cmp byte [rdi + 0x34fc], 0
je 0x18005b5ea
cmp byte [rdi + 0x44c4], 0
jne 0x18005b5ea
movzx edi, r14b
test r12b, r12b
je 0x18005b5cc
xor r8d, r8d
xor edx, edx
mov ecx, 0x20d
call fcn.180058f20
test al, al
jne 0x18005b5e4
test r13b, r13b
je 0x18005b5ed
xor r8d, r8d
xor edx, edx
mov ecx, 0x26d
call fcn.180058f20
test al, al
je 0x18005b5ed
movzx edx, r14b
jmp 0x18005b5ef
xor dil, dil
xor dl, dl
mov ecx, dword [rbx + 0x3f58]
test ecx, ecx
jne 0x18005b616
test sil, sil
je 0x18005b61e
mov eax, dword [rbx + 0x48e0]
mov dword [rbx + 0x48e8], eax
mov dword [rbx + 0x48f4], 2
jmp 0x18005b61e
cmp ecx, dword [rbx + 0x48e0]
jne 0x18005b657
test dl, dl
je 0x18005b635
mov eax, dword [rbx + 0x48e0]
mov dword [rbx + 0x48e8], eax
mov dword [rbx + 0x48f4], r14d
test ecx, ecx
je 0x18005b641
cmp ecx, dword [rbx + 0x48e0]
jne 0x18005b657
test bpl, bpl
jne 0x18005b64b
test dil, dil
je 0x18005b657
mov eax, dword [rbx + 0x48e0]
mov dword [rbx + 0x48ec], eax
mov eax, dword [rbx + 0x3f58]
test eax, eax
je 0x18005b669
cmp eax, dword [rbx + 0x48e0]
jne 0x18005b67e
test sil, sil
jne 0x18005b672
test dl, dl
je 0x18005b67e
mov eax, dword [rbx + 0x48e0]
mov dword [rbx + 0x48f0], eax
mov ebp, 3
xor esi, esi
mov rax, qword [rbx + 0x48d8]
test rax, rax
je 0x18005b6a1
test dword [rax + 0x14], 0x40000
je 0x18005b6a1
mov byte [rbx + 0x4916], r14b
mov eax, dword [rbx + 0x4904]
test eax, eax
je 0x18005b6c9
mov dword [rbx + 0x48f0], eax
mov dword [rbx + 0x48ec], eax
mov dword [rbx + 0x48e8], eax
mov eax, dword [rbx + 0x4908]
mov dword [rbx + 0x48f4], eax
mov dword [rbx + 0x4904], esi
call fcn.18005bd10
cmp dword [rbx + 0x4940], 0xffffffff
jne 0x18005b7ce
mov rdi, qword [0x1800c72c8]
mov rsi, qword [rdi + 0x48d8]
test rsi, rsi
je 0x18005b7cc
cmp qword [rdi + 0x4a40], 0
jne 0x18005b7cc
test dword [rsi + 0x14], 0x40000
jne 0x18005b7cc
mov r8d, r14d
mov edx, 0xffffffff
mov ecx, 0x200
call fcn.180058f20
test al, al
je 0x18005b7cc
cmp byte [rdi + 0xe24], 0
jne 0x18005b7cc
cmp byte [rdi + 0xe26], 0
jne 0x18005b7cc
movzx eax, byte [rdi + 0xe25]
test byte [rdi + 8], r14b
je 0x18005b777
test al, al
je 0x18005b760
mov r14d, 0xffffffff
jmp 0x18005b791
cmp byte [rdi + 0x4916], r14b
jne 0x18005b791
cmp dword [rdi + 0x3f58], 0
jne 0x18005b791
xor r14d, r14d
jmp 0x18005b791
test al, al
je 0x18005b783
mov r14d, 0xffffffff
jmp 0x18005b791
xor r14d, r14d
cmp dword [rdi + 0x3f58], r14d
setne r14b
mov dword [rdi + 0x4970], r14d
mov eax, 0x21
cmp byte [rsi + 0xbc], 0
mov ecx, 0xffffffff
mov r8d, 0x400
cmovne ebp, eax
sar r14d, 0x1f
mov r9d, ebp
lea edx, [r14 + 3]
call fcn.18005a680
mov dword [rdi + 0x4974], 0xffffffff
xor esi, esi
mov rax, qword [0x1800c72c8]
cmp byte [rax + 0x4931], 0
jne 0x18005b7eb
cmp byte [rax + 0x4919], 0
jne 0x18005b7eb
xor cl, cl
jmp 0x18005b7ed
mov cl, 1
mov byte [rax + 0x4918], cl
mov rcx, qword [rbx + 0x48d8]
mov byte [rbx + 0x4914], 0
test rcx, rcx
je 0x18005b9f4
test dword [rcx + 0x14], 0x40000
jne 0x18005b9f4
cmp qword [rbx + 0x4a40], 0
jne 0x18005b9f4
mov rax, qword [rcx]
movss xmm0, dword [rax + 0x3c24]
mov rax, qword [rcx + 0x368]
mulss xmm0, dword [rcx + 0x290]
test rax, rax
je 0x18005b84c
mulss xmm0, dword [rax + 0x290]
cmp word [rcx + 0x15c], 0
mulss xmm0, dword [0x1800a6c50]
mov edx, dword [rbx + 0x4940]
movss xmm2, dword [0x1800a6bac]
mulss xmm0, dword [rbx + 0x18]
addss xmm0, dword [0x1800a6ba4]
cvttss2si eax, xmm0
movd xmm4, eax
cvtdq2ps xmm4, xmm4
jne 0x18005b916
cmp byte [rcx + 0x162], 0
je 0x18005b916
cmp edx, 0xffffffff
je 0x18005b916
movss xmm1, dword [0x1800a6c54]
test edx, edx
je 0x18005b8b0
cmp edx, 1
jne 0x18005b8de
movaps xmm0, xmm2
jmp 0x18005b8b3
movaps xmm0, xmm1
mulss xmm0, xmm4
mov dword [rcx + 0x9c], esi
mov dword [rcx + 0xa4], esi
addss xmm0, dword [rcx + 0x84]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rcx + 0x94], xmm0
cmp edx, 2
je 0x18005b8eb
cmp edx, 3
jne 0x18005b916
movaps xmm1, xmm2
mulss xmm1, xmm4
mov dword [rcx + 0xa0], esi
mov dword [rcx + 0xa8], esi
addss xmm1, dword [rcx + 0x88]
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rcx + 0x98], xmm0
test r13b, r13b
je 0x18005b9f4
mov rdx, qword [0x1800c72c8]
cmp byte [rdx + 0x355c], 0
movss xmm1, dword [rdx + 0x35f8]
movss xmm0, dword [rdx + 0x35d8]
subss xmm1, dword [rdx + 0x35e8]
subss xmm0, dword [rdx + 0x35c8]
je 0x18005b962
cmp byte [rdx + 0x450c], 0
jne 0x18005b962
movss xmm2, dword [0x1800a6c04]
jmp 0x18005b97c
cmp byte [rdx + 0x356c], 0
je 0x18005b97c
cmp byte [rdx + 0x4518], 0
jne 0x18005b97c
movss xmm2, dword [0x1800a6c44]
xorps xmm3, xmm3
ucomiss xmm0, xmm3
jp 0x18005b986
je 0x18005b9be
cmp byte [rcx + 0xb4], 0
je 0x18005b9be
mulss xmm0, xmm4
mov dword [rcx + 0x9c], esi
mov dword [rcx + 0xa4], esi
mulss xmm0, xmm2
addss xmm0, dword [rcx + 0x84]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rcx + 0x94], xmm0
ucomiss xmm1, xmm3
jp 0x18005b9c5
je 0x18005b9f4
mulss xmm1, xmm4
mov dword [rcx + 0xa0], esi
mov dword [rcx + 0xa8], esi
mulss xmm1, xmm2
addss xmm1, dword [rcx + 0x88]
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rcx + 0x98], xmm0
test r12b, r12b
jne 0x18005ba09
test r13b, r13b
jne 0x18005ba09
mov word [rbx + 0x4916], 1
jmp 0x18005ba57
test r15b, r15b
je 0x18005ba57
test byte [rbx + 8], 4
je 0x18005ba57
test byte [rbx + 0xc], 4
je 0x18005ba57
lea rcx, [rsp + 0x90]
call fcn.180059fd0
movss xmm0, dword [rax]
movss xmm1, dword [rax + 4]
movss dword [rbx + 0x36f0], xmm0
movss dword [rbx + 0x36f4], xmm1
movss dword [rbx + 0xe08], xmm0
movss dword [rbx + 0xe0c], xmm1
mov byte [rbx + 0xdb], 1
lea r11, [rsp + 0x60]
mov dword [rbx + 0x496c], esi
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret