Function at 0x18002d0f4
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, 0x100
mov rax, qword [0x180099380]
xor rax, rsp
mov qword [rsp + 0xf0], rax
movzx eax, word [rcx + 0x228]
xor edx, edx
mov r15, qword [0x18009a670]
mov r14, rcx
mov r13, qword [rcx + 0x1a0]
mov r12d, edx
mov word [rsp + 0x20], ax
movzx eax, word [rcx + 0x22c]
lea ecx, [rdx + 4]
mov word [rsp + 0x22], ax
lea rax, [rsp + 0x74]
mov qword [rsp + 0x50], r15
mov qword [rax - 4], rdx
mov qword [rax + 4], rdx
mov dword [rax + 0xc], edx
mov qword [rax + 0x14], rdx
lea rax, [rax + 0x20]
sub rcx, 1
jne 0x18002d160
mov eax, dword [r14 + 0x6c]
lea ebx, [rax*2 + 0x23]
sar ebx, 3
and ebx, 0xfffffffc
lea edi, [rbx + rbx*4]
movsxd rbp, edi
cmp edi, dword [r15 + 0x55cc]
jle 0x18002d1d9
mov rcx, rbp
call fcn.18000dbdc
mov rdx, qword [r15 + 0x55d0]
mov rsi, rax
test rdx, rdx
je 0x18002d1cb
movsxd r8, dword [r15 + 0x55c8]
mov rcx, rax
call fcn.180074630
mov rcx, qword [r15 + 0x55d0]
call fcn.18000dc2c
mov qword [r15 + 0x55d0], rsi
mov dword [r15 + 0x55cc], edi
mov rcx, qword [r15 + 0x55d0]
mov r8, rbp
xor edx, edx
call fcn.180074cd0
xor edi, edi
movsxd r10, ebx
lea rdx, [rsp + 0x88]
mov qword [rsp + 0x28], r10
mov r8d, edi
lea r9d, [rdi + 4]
mov rcx, qword [r15 + 0x55d0]
add rcx, r8
add r8, r10
mov qword [rdx], rcx
lea rdx, [rdx + 0x20]
sub r9, 1
jne 0x18002d203
lea eax, [rbx*4]
mov esi, edi
movsxd rdx, eax
add rdx, qword [r15 + 0x55d0]
mov qword [rsp + 0x48], rdx
cmp dword [r14 + 0x6c], edi
jle 0x18002d6bd
movdqa xmm5, xmmword [0x18007ad00]
mov r9, rdi
mov rax, qword [r14 + 0x58]
mov edx, esi
movsxd rcx, esi
and edx, 0x1f
sar rcx, 5
mov ecx, dword [rax + rcx*4]
bt ecx, edx
jae 0x18002d40b
movzx edx, word [rsp + 0x20]
mov ebp, edi
mov r10, qword [r14 + 0x18]
test dx, dx
mov ebx, edi
setg bpl
inc ebp
test ebx, ebx
jne 0x18002d288
movzx eax, word [r9 + r10 + 0x62]
jmp 0x18002d28e
movzx eax, word [r9 + r10 + 0x64]
movzx r15d, ax
mov r11d, r15d
shl r11, 5
add r11, qword [r13 + 0x10]
movsxd rcx, dword [r11]
mov eax, ecx
test ecx, ecx
jle 0x18002d2cd
mov rdi, qword [r11 + 8]
lea edx, [rcx - 1]
imul r8, rcx, 0x38
cmp dword [r8 + rdi - 0x18], 0
jne 0x18002d2c6
cmp qword [r8 + rdi - 0x10], 0
jne 0x18002d2c6
mov dword [r11], edx
mov eax, edx
movzx edx, word [rsp + 0x20]
xor edi, edi
cmp eax, 1
jne 0x18002d3ef
test dword [r9 + r10], 0x100
jne 0x18002d315
test dx, dx
jg 0x18002d2ee
movss xmm0, dword [r9 + r10 + 0x48]
jmp 0x18002d2f9
test ebx, ebx
jne 0x18002d302
movss xmm0, dword [r9 + r10 + 0x44]
maxss xmm0, dword [r9 + r10 + 0x4c]
jmp 0x18002d309
movss xmm0, dword [r9 + r10 + 0x48]
comiss xmm0, dword [r9 + r10 + 0x2c]
ja 0x18002d3ef
cmp word [rsp + 0x22], di
jle 0x18002d331
movsx eax, word [r14 + 0x22c]
cmp esi, eax
jge 0x18002d331
mov ecx, edi
lea r8, [rsp + 0x70]
jmp 0x18002d33e
mov ecx, 1
lea r8, [rsp + 0x90]
test dx, dx
jle 0x18002d34e
test ebx, ebx
jne 0x18002d34e
mov eax, edi
mov rdx, rdi
jmp 0x18002d356
mov eax, 2
lea edx, [rax + 0x3e]
lea edi, [rax + rcx]
xor eax, eax
cmp dword [r8 + rdx + 0x10], eax
jne 0x18002d368
movdqu xmmword [r8 + rdx], xmm5
mov rcx, qword [r8 + rdx + 0x18]
mov rax, r15
shr rax, 5
and r15d, 0x1f
mov qword [rsp + 0x38], rax
mov eax, dword [rcx + rax*4]
bts eax, r15d
mov r15, qword [rsp + 0x38]
mov dword [rcx + r15*4], eax
inc dword [r8 + rdx + 0x10]
mov rax, qword [r11 + 8]
movss xmm0, dword [r8 + rdx]
movss xmm4, dword [rax]
comiss xmm0, xmm4
movss xmm1, dword [rax + 4]
movss xmm2, dword [rax + 8]
movss xmm3, dword [rax + 0xc]
jbe 0x18002d3ba
movss dword [r8 + rdx], xmm4
movss xmm0, dword [r8 + rdx + 4]
comiss xmm0, xmm1
jbe 0x18002d3cd
movss dword [r8 + rdx + 4], xmm1
comiss xmm2, dword [r8 + rdx + 8]
jbe 0x18002d3dc
movss dword [r8 + rdx + 8], xmm2
comiss xmm3, dword [r8 + rdx + 0xc]
jbe 0x18002d3eb
movss dword [r8 + rdx + 0xc], xmm3
bts r12d, edi
movzx edx, word [rsp + 0x20]
inc ebx
mov edi, 0
cmp ebx, ebp
jl 0x18002d27c
or word [r9 + r10 + 0x60], 0xffff
inc esi
add r9, 0x74
cmp esi, dword [r14 + 0x6c]
jl 0x18002d24a
mov r15, qword [rsp + 0x50]
test r12d, r12d
je 0x18002d6bd
mov edx, dword [r13 + 4]
lea rcx, [r15 + 0x4f18]
sub edx, 2
call fcn.180022c48
mov rsi, qword [rsp + 0x48]
mov edx, 2
mov r8d, dword [r13 + 4]
mov rcx, rsi
mov rbx, qword [r15 + 0x4f20]
call fcn.18002bb14
movzx ecx, word [r14 + 0x234]
mov r9d, edi
movzx r15d, word [rsp + 0x20]
mov edx, ecx
mov r12, qword [rsp + 0x28]
and ecx, 0x1f
shr rdx, 5
mov eax, dword [rsi + rdx*4]
btr eax, ecx
mov dword [rsi + rdx*4], eax
test r15w, r15w
mov r10d, dword [r13 + 4]
mov eax, edi
movups xmm0, xmmword [r14 + 0x160]
setg al
lea rdi, [rsp + 0x88]
add eax, 2
sub r10d, eax
xor r11d, r11d
movdqu xmmword [rsp + 0x38], xmm0
mov ebp, dword [rdi - 8]
test ebp, ebp
je 0x18002d5fe
movups xmm0, xmmword [rdi - 0x18]
mov ecx, r9d
movdqu xmmword [rsp + 0x28], xmm0
and ecx, 1
je 0x18002d4da
cmp word [rsp + 0x22], r11w
jle 0x18002d4da
movss xmm5, dword [rsp + 0x28]
jmp 0x18002d4e6
movss xmm5, dword [rsp + 0x28]
minss xmm5, dword [rsp + 0x38]
mov eax, r9d
and eax, 2
je 0x18002d4fc
test r15w, r15w
jle 0x18002d4fc
movss xmm4, dword [rsp + 0x2c]
jmp 0x18002d508
movss xmm4, dword [rsp + 0x2c]
minss xmm4, dword [rsp + 0x3c]
movss xmm3, dword [rsp + 0x30]
test ecx, ecx
je 0x18002d518
maxss xmm3, dword [rsp + 0x40]
test eax, eax
je 0x18002d534
test dword [r14 + 4], 0x20000
jne 0x18002d534
movss xmm2, dword [rsp + 0x34]
maxss xmm2, dword [rsp + 0x44]
jmp 0x18002d53a
movss xmm2, dword [rsp + 0x34]
mov rdx, r12
sub r10d, ebp
sar rdx, 2
test rdx, rdx
jle 0x18002d567
mov r8, rsi
mov rax, qword [rdi]
mov rcx, r8
sub rcx, rsi
mov ecx, dword [rcx + rax]
not ecx
and dword [r8], ecx
add r8, 4
sub rdx, 1
jne 0x18002d54c
mov edx, r11d
cmp dword [r13 + 4], r11d
jle 0x18002d5fe
xor r15d, r15d
mov r8d, r15d
test ebp, ebp
je 0x18002d5f0
mov rsi, qword [rdi]
mov ecx, edx
movsxd rax, edx
and ecx, 0x1f
sar rax, 5
mov r11d, dword [rsi + rax*4]
bt r11d, ecx
jae 0x18002d5e4
btr r11d, ecx
movss dword [rsp + 0x58], xmm5
mov dword [rsi + rax*4], r11d
dec ebp
mov rcx, qword [r13 + 0x10]
movss dword [rsp + 0x5c], xmm4
movss dword [rsp + 0x60], xmm3
movss dword [rsp + 0x64], xmm2
mov rax, qword [r8 + rcx + 8]
movups xmm0, xmmword [rsp + 0x58]
movdqu xmmword [rax], xmm0
mov rax, rbx
add rbx, 0x20
movups xmm0, xmmword [r8 + rcx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [r8 + rcx + 0x10]
movups xmmword [rax + 0x10], xmm1
inc edx
add r8, 0x20
cmp edx, dword [r13 + 4]
jl 0x18002d57a
movzx r15d, word [rsp + 0x20]
xor r11d, r11d
mov rsi, qword [rsp + 0x48]
cmp r9d, 1
jne 0x18002d631
test r15w, r15w
jle 0x18002d631
mov rax, qword [r13 + 0x10]
mov rdx, rbx
movzx ecx, word [r14 + 0x234]
add rbx, 0x20
shl rcx, 5
movups xmm0, xmmword [rcx + rax]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rcx + rax + 0x10]
movups xmmword [rdx + 0x10], xmm1
inc r9d
add rdi, 0x20
cmp r9d, 4
jl 0x18002d4ad
mov eax, dword [r13 + 4]
mov r8d, r11d
mov r15, qword [rsp + 0x50]
test eax, eax
jle 0x18002d69f
mov r9, r11
test r10d, r10d
je 0x18002d69f
movsxd rax, r8d
mov ecx, r8d
sar rax, 5
and ecx, 0x1f
mov eax, dword [rsi + rax*4]
bt eax, ecx
jae 0x18002d68f
mov rax, qword [r13 + 0x10]
mov rcx, rbx
add rbx, 0x20
dec r10d
movups xmm0, xmmword [rax + r9]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + r9 + 0x10]
movups xmmword [rcx + 0x10], xmm1
mov eax, dword [r13 + 4]
inc r8d
add r9, 0x20
cmp r8d, eax
jl 0x18002d655
mov rcx, qword [r13 + 0x10]
add eax, 0xfffffffe
mov rdx, qword [r15 + 0x4f20]
add rcx, 0x40
movsxd r8, eax
shl r8, 5
call fcn.180074630
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.18004b080
lea r11, [rsp + 0x100]
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