Function at 0x18004b050
Capabilities:
Hash data with crc32
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x4f]
sub rsp, 0x100
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm8
mov r12d, edx
mov dword [rsp + 0x50], edx
mov r14, qword [0x1801b50e0]
mov rax, qword [r14 + 0x3eb8]
mov byte [rax + 0xb0], 1
mov r13, qword [r14 + 0x3eb8]
cmp byte [r13 + 0xb3], 0
je 0x18004b0b0
xor al, al
jmp 0x18004becf
movss xmm2, dword [r13 + 0x248]
cmp qword [r13 + 0x1a0], 0
jne 0x18004b0cd
cmp qword [r14 + 0x4af8], 0
je 0x18004b0d6
movss xmm2, dword [r13 + 0x218]
subss xmm2, dword [r13 + 0xf8]
maxss xmm2, dword [0x180150f6c]
xorps xmm8, xmm8
xorps xmm3, xmm3
mov rdx, qword [rbp + 0x77]
mov rdx, qword [rdx]
lea rcx, [rsp + 0x28]
call fcn.180030210
movss xmm2, dword [r13 + 0xfc]
movaps xmm3, xmm2
addss xmm3, dword [rsp + 0x2c]
movss xmm0, dword [r13 + 0xf8]
movaps xmm1, xmm0
addss xmm1, dword [rsp + 0x28]
movss dword [rsp + 0x38], xmm0
movss dword [rsp + 0x3c], xmm2
movss dword [rsp + 0x40], xmm1
movss dword [rsp + 0x44], xmm3
lea rcx, [r14 + 0x4b28]
mov edx, r12d
call fcn.180021090
mov rdx, rax
movsxd rcx, dword [rax]
cmp ecx, 0xffffffff
je 0x18004b165
imul rbx, rcx, 0x238
add rbx, qword [r14 + 0x4b20]
jmp 0x18004b17d
mov eax, dword [r14 + 0x4b38]
mov dword [rdx], eax
lea rcx, [r14 + 0x4b18]
call fcn.180053b90
mov rbx, rax
mov eax, dword [rbx + 4]
mov dword [rsp + 0x28], eax
mov rcx, rbx
sub rcx, qword [r14 + 0x4b20]
movabs rax, 0x73615a240e6c2b45
imul rcx
mov rdi, rdx
sar rdi, 8
mov rcx, rdi
shr rcx, 0x3f
add rdi, rcx
mov qword [rbp - 1], rdi
mov esi, dword [r14 + 0x4b00]
inc esi
mov dword [r14 + 0x4b00], esi
mov r8d, 8
cmp esi, dword [r14 + 0x4b08]
jle 0x18004b32c
xorps xmm6, xmm6
movups xmmword [rbp - 0x71], xmm6
movups xmmword [rbp - 0x61], xmm6
movups xmmword [rbp - 0x51], xmm6
movups xmmword [rbp - 0x41], xmm6
movups xmmword [rbp - 0x31], xmm6
movups xmmword [rbp - 0x21], xmm6
movups xmmword [rbp - 0x11], xmm6
mov dword [rbp - 0x6d], 0xbf800000
mov ecx, dword [r14 + 0x4b0c]
cmp esi, ecx
jle 0x18004b2a0
test ecx, ecx
je 0x18004b217
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
lea r8d, [rcx + rax]
mov r15d, esi
cmp r8d, esi
cmovg r15d, r8d
cmp r15d, ecx
jle 0x18004b2a0
mov rax, qword [0x1801b50e0]
test rax, rax
je 0x18004b238
inc dword [rax + 0xf4]
movsxd rax, r15d
imul rcx, rax, 0x70
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0x48], rax
mov rdx, qword [r14 + 0x4b10]
test rdx, rdx
je 0x18004b292
movsxd rcx, dword [r14 + 0x4b08]
imul r8, rcx, 0x70
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [r14 + 0x4b10]
test rcx, rcx
je 0x18004b287
mov rax, qword [0x1801b50e0]
test rax, rax
je 0x18004b287
dec dword [rax + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [rsp + 0x48]
mov qword [r14 + 0x4b10], rax
mov dword [r14 + 0x4b0c], r15d
movsxd rax, dword [r14 + 0x4b08]
cmp esi, eax
jle 0x18004b2f3
movsxd rdx, esi
cmp rax, rdx
jge 0x18004b2f3
imul rcx, rax, 0x70
sub rdx, rax
movups xmm0, xmmword [rbp - 0x71]
nop
mov rax, qword [r14 + 0x4b10]
movups xmmword [rcx + rax], xmm0
movups xmmword [rcx + rax + 0x10], xmm6
movups xmmword [rcx + rax + 0x20], xmm6
movups xmmword [rcx + rax + 0x30], xmm6
movups xmmword [rcx + rax + 0x40], xmm6
movups xmmword [rcx + rax + 0x50], xmm6
movups xmmword [rcx + rax + 0x60], xmm6
lea rcx, [rcx + 0x70]
sub rdx, 1
jne 0x18004b2c0
mov dword [r14 + 0x4b08], esi
lea rcx, [rbp - 0x61]
call fcn.1800437b0
nop
mov rcx, qword [rbp - 0x51]
test rcx, rcx
je 0x18004b326
mov rax, qword [0x1801b50e0]
test rax, rax
je 0x18004b31f
dec dword [rax + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov r8d, 8
movsxd rax, dword [r14 + 0x4b00]
imul rcx, rax, 0x70
mov r10, qword [r14 + 0x4b10]
add r10, 0xffffffffffffff90
add r10, rcx
mov qword [rsp + 0x48], r10
mov qword [rbx + 0x10], r10
mov dword [r10], edi
mov rax, qword [rbx + 0x10]
add rax, 0x10
mov qword [rbx + 0x198], rax
xor edi, edi
mov dword [rax], edi
mov dword [rax + 4], 1
mov byte [rbx + 0x22e], 1
test byte [r13 + 0xc], 0x40
mov edx, 0x87c0
mov eax, 0x27c0
cmovne edx, eax
mov rax, qword [r13 + 0x370]
mov r9d, edx
or r9d, 0x10
test dword [rax + 0xc], 0x100
cmove r9d, edx
or r9d, 0x10
mov eax, dword [r14 + 0x3e38]
cmp dword [rbx + 0x68], eax
je 0x18004b3b6
mov r15d, edi
mov dword [rsp + 0x20], edi
jmp 0x18004b3c3
movsx r15d, word [rbx + 0x78]
inc r15d
mov dword [rsp + 0x20], r15d
mov dword [rbx], r12d
mov dword [rbx + 4], r9d
mov eax, dword [r14 + 0x3e38]
mov dword [rbx + 0x68], eax
mov qword [rbx + 0x180], r13
mov qword [rbx + 0x178], r13
mov dword [rbx + 0x6c], 3
mov byte [rbx + 0x222], dil
movss xmm0, dword [rbp + 0x7f]
movss dword [rbx + 0xcc], xmm0
mov rax, qword [rbp + 0x77]
movsd xmm1, qword [rax]
movsd qword [r10 + 8], xmm1
mov word [rbx + 0x78], r15w
test r15d, r15d
jle 0x18004b59f
mov esi, dword [rbx + 0x1b0]
cmp esi, r15d
jge 0x18004b4f4
mov qword [rsp + 0x54], rdi
mov qword [rbp - 0x7d], rdi
mov ecx, dword [rbx + 0x1b4]
cmp esi, ecx
jne 0x18004b4d4
inc esi
test ecx, ecx
je 0x18004b450
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
lea r8d, [rcx + rax]
cmp r8d, esi
cmovg esi, r8d
cmp esi, ecx
jle 0x18004b4d4
mov rax, qword [0x1801b50e0]
test rax, rax
je 0x18004b46d
inc dword [rax + 0xf4]
movsxd rcx, esi
shl rcx, 4
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0x30], rax
mov rdx, qword [rbx + 0x1b8]
test rdx, rdx
je 0x18004b4c7
movsxd r8, dword [rbx + 0x1b0]
shl r8, 4
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rbx + 0x1b8]
test rcx, rcx
je 0x18004b4bc
mov rax, qword [0x1801b50e0]
test rax, rax
je 0x18004b4bc
dec dword [rax + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [rsp + 0x30]
mov qword [rbx + 0x1b8], rax
mov dword [rbx + 0x1b4], esi
movsxd rcx, dword [rbx + 0x1b0]
add rcx, rcx
mov rax, qword [rbx + 0x1b8]
movups xmm0, xmmword [rsp + 0x54]
movups xmmword [rax + rcx*8], xmm0
inc dword [rbx + 0x1b0]
mov r8d, r12d
xor edx, edx
lea rcx, str.Instances
call fcn.180020a40
mov esi, eax
mov rcx, qword [0x1801b50e0]
cmp dword [rcx + 0x3f00], eax
jne 0x18004b529
lea r8, str.Instances
mov edx, ntohl
mov ecx, eax
call fcn.1800375d0
not esi
movzx edx, sil
movzx eax, r15b
xor rdx, rax
lea r8, [0x180126050]
shr esi, 8
xor esi, dword [r8 + rdx*4]
movzx ecx, sil
movzx eax, byte [rsp + 0x21]
xor rcx, rax
shr esi, 8
xor esi, dword [r8 + rcx*4]
movzx ecx, sil
movzx eax, byte [rsp + 0x22]
xor rcx, rax
shr esi, 8
xor esi, dword [r8 + rcx*4]
movzx ecx, sil
movzx eax, byte [rsp + 0x23]
xor rcx, rax
shr esi, 8
xor esi, dword [r8 + rcx*4]
not esi
mov rax, qword [0x1801b50e0]
cmp dword [rax + 0x3f00], esi
jne 0x18004b5a2
movsxd r8, r15d
mov edx, 4
mov ecx, esi
call fcn.1800375d0
jmp 0x18004b5a2
mov esi, r12d
movsx rax, word [rbx + 0x78]
test eax, eax
jne 0x18004b5b3
mov dword [rbx + 0x1a0], esi
jmp 0x18004b5c4
mov rcx, rax
add rcx, rcx
mov rax, qword [rbx + 0x1b8]
mov dword [rax + rcx*8 - 0x10], esi
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rbx + 0xf8], xmm0
movups xmmword [rbx + 0xe8], xmm0
movups xmmword [rbx + 0x108], xmm0
mov rax, qword [0x1801b50e0]
mov rcx, qword [rax + 0x3eb8]
mov qword [rsp + 0x30], rcx
cmp dword [rax + 0x3f00], r12d
jne 0x18004b60e
xor r8d, r8d
lea edx, [r8 + 0xd]
mov ecx, r12d
call fcn.1800375d0
mov rcx, qword [rsp + 0x30]
lea r12, [rcx + 0xe8]
mov ecx, dword [r12 + 4]
mov r8d, dword [r12]
cmp r8d, ecx
jne 0x18004b64c
inc r8d
test ecx, ecx
je 0x18004b635
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18004b63a
mov eax, 8
cmp eax, r8d
cmovg r8d, eax
mov edx, r8d
mov rcx, r12
call fcn.1800389c0
movsxd rcx, dword [r12]
mov rax, qword [r12 + 8]
mov edx, dword [rsp + 0x50]
mov dword [rax + rcx*4], edx
inc dword [r12]
test r15d, r15d
jle 0x18004b6d2
mov rax, qword [0x1801b50e0]
mov r15, qword [rax + 0x3eb8]
cmp dword [rax + 0x3f00], esi
jne 0x18004b689
xor r8d, r8d
lea edx, [r8 + 0xd]
mov ecx, esi
call fcn.1800375d0
add r15, 0xe8
mov ecx, dword [r15 + 4]
mov r8d, dword [r15]
cmp r8d, ecx
jne 0x18004b6c5
inc r8d
test ecx, ecx
je 0x18004b6ae
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18004b6b3
mov eax, 8
cmp eax, r8d
cmovg r8d, eax
mov edx, r8d
mov rcx, r15
call fcn.1800389c0
movsxd rcx, dword [r15]
mov rax, qword [r15 + 8]
mov dword [rax + rcx*4], esi
inc dword [r15]
mov r10, qword [rbx + 0x180]
mov qword [rsp + 0x30], r10
mov eax, dword [r10 + 0x13c]
mov dword [rbx + 0xb0], eax
lea rdx, [r10 + 0x230]
movups xmm0, xmmword [rdx]
movups xmmword [rbx + 0x158], xmm0
movzx eax, byte [r10 + 0xb3]
mov byte [rbx + 0x232], al
movups xmm0, xmmword [r10 + 0x210]
mov r9, qword [rsp + 0x48]
movups xmmword [r9 + 0x28], xmm0
movups xmm0, xmmword [r10 + 0x220]
movups xmmword [r9 + 0x38], xmm0
movss xmm1, dword [r13 + 0x140]
movss dword [r9 + 0x60], xmm1
movsd xmm0, qword [r10 + 0x128]
movsd qword [r9 + 0x48], xmm0
movsd xmm0, qword [r10 + 0x120]
movsd qword [r9 + 0x50], xmm0
movsd xmm1, qword [r10 + 0x110]
movsd qword [r9 + 0x58], xmm1
mov eax, dword [r13 + 0x1b4]
mov dword [r9 + 0x64], eax
mov eax, dword [r13 + 0x1c0]
mov dword [r9 + 0x68], eax
mov qword [r10 + 0x120], rdi
mov qword [r10 + 0x128], rdi
movss xmm1, dword [r14 + 0x383c]
mov qword [rbx + 0xc4], 0x3f800000
movss dword [rbx + 0xbc], xmm1
mov eax, dword [r14 + 0x3840]
mov dword [rbx + 0xc0], eax
movss xmm0, dword [r14 + 0x383c]
addss xmm0, dword [0x180150f6c]
subss xmm0, xmm1
movss dword [rbx + 0xb8], xmm0
mov qword [rbx + 0x70], 0xffffffffffffffff
mov dword [rbx + 0x94], edi
mov word [rbx + 0x92], di
cmp r10, r13
lea rax, [rbx + 0x108]
cmove rdx, rax
lea rcx, [rbx + 0x118]
movups xmm0, xmmword [rdx]
movups xmmword [rcx], xmm0
movss xmm1, dword [rcx]
maxss xmm1, dword [rax]
movss xmm0, dword [rcx + 4]
maxss xmm0, dword [rax + 4]
movss dword [rcx], xmm1
movss dword [rcx + 4], xmm0
movss xmm1, dword [rcx + 8]
minss xmm1, dword [rax + 8]
movss xmm0, dword [rcx + 0xc]
minss xmm0, dword [rax + 0xc]
movss dword [rcx + 8], xmm1
movss dword [rcx + 0xc], xmm0
lea rdx, [rbx + 0x158]
call fcn.18001f200
movss xmm4, dword [r10 + 0x23c]
movss dword [rbx + 0x124], xmm4
movss xmm5, dword [rbx + 0x10c]
movss dword [rbx + 0x80], xmm5
movss dword [rbx + 0x7c], xmm5
mov dword [rbx + 0x88], edi
mov qword [rbx + 0x212], rdi
mov byte [rbx + 0x22d], 1
mov word [rbx + 0x1f6], di
mov r8, qword [0x1801b50e0]
movups xmm0, xmmword [r8 + 0x3b6c]
movups xmmword [rsp + 0x38], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [r8 + 0x37e0]
movss dword [rsp + 0x44], xmm0
lea rcx, [rsp + 0x38]
call fcn.180020fe0
mov dword [rbx + 0xa0], eax
movups xmm0, xmmword [r8 + 0x3b7c]
movups xmmword [rsp + 0x38], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [r8 + 0x37e0]
movss dword [rsp + 0x44], xmm0
lea rcx, [rsp + 0x38]
call fcn.180020fe0
mov dword [rbx + 0xa4], eax
mov qword [r14 + 0x4af8], rbx
mov r15, qword [rbp - 1]
mov dword [r13 + 0x1a8], r15d
cmp r10, r13
je 0x18004b90a
mov dword [r10 + 0x1a8], r15d
test byte [rsp + 0x28], 2
je 0x18004b918
mov byte [rbx + 0x22c], 1
lea rsi, [r14 + 0x4b40]
cmp r15d, dword [rsi]
jl 0x18004b992
mov dword [rsp + 0x28], 0xbf800000
lea r12d, [r15 + 1]
mov ecx, dword [rsi + 4]
cmp r12d, ecx
jle 0x18004b962
test ecx, ecx
je 0x18004b947
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18004b94c
mov eax, 8
mov edx, r12d
cmp eax, r12d
cmovg edx, eax
mov rcx, rsi
call fcn.1800389c0
mov r9, qword [rsp + 0x48]
movsxd rax, dword [rsi]
cmp r12d, eax
jle 0x18004b98f
mov rdx, rax
movsxd r8, r12d
cmp rax, r8
jge 0x18004b98f
mov eax, dword [rsp + 0x28]
nop dword [rax]
mov rcx, qword [rsi + 8]
mov dword [rcx + rdx*4], eax
inc rdx
cmp rdx, r8
jl 0x18004b980
mov dword [rsi], r12d
movsd xmm0, qword [r14 + 0x3e30]
cvtpd2ps xmm0, xmm0
movsxd rcx, r15d
mov rax, qword [r14 + 0x4b48]
movss dword [rax + rcx*4], xmm0
movsd xmm0, qword [r14 + 0x3e30]
cvtpd2ps xmm0, xmm0
movss dword [r9 + 4], xmm0
mov byte [rbx + 0x231], dil
mov rsi, rdi
mov r12, rdi
mov r8, qword [rbx + 0x18]
mov rcx, qword [rbx + 0x20]
sub rcx, r8
movabs rax, 0x4924924924924925
imul rcx
mov r15, rdx
sar r15, 5
mov rax, r15
shr rax, 0x3f
add r15, rax
test r15d, r15d
je 0x18004ba0d
cmp r15d, 3
je 0x18004ba0d
mov rsi, r8
mov r12, qword [rbx + 8]
mov qword [rbx + 8], rdi
cmp qword [rbx + 8], rdi
jne 0x18004bab6
mov rax, qword [0x1801b50e0]
test rax, rax
je 0x18004ba29
inc dword [rax + 0xf4]
mov ecx, 0x17c
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbx + 8], rax
xor edx, edx
mov r8d, 0x17c
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rbx + 8]
mov qword [rbx + 0x18], rcx
lea rax, [rcx + 0x150]
mov qword [rbx + 0x20], rax
lea rax, [rcx + 0x150]
mov qword [rbx + 0x28], rax
lea rax, [rcx + 0x156]
mov qword [rbx + 0x30], rax
lea rax, [rcx + 0x158]
mov qword [rbx + 0x38], rax
lea rax, [rcx + 0x170]
mov qword [rbx + 0x40], rax
lea rax, [rcx + 0x170]
mov qword [rbx + 0x48], rax
lea rax, [rcx + 0x174]
mov qword [rbx + 0x50], rax
lea rax, [rcx + 0x178]
mov qword [rbx + 0x58], rax
mov byte [rbx + 0x228], 1
mov byte [rbx + 0x224], 1
cmp byte [rbx + 0x22b], dil
je 0x18004bad9
mov word [rbx + 0x228], 0x100
mov byte [rbx + 0x224], 1
mov byte [rbx + 0x22b], dil
mov dword [rbx + 0x60], edi
mov r13d, 0xffffffff
cmp byte [rbx + 0x224], dil
je 0x18004bc3f
mov dword [rbx + 0x64], r13d
mov byte [rbx + 0x225], 1
mov word [rbx + 0x7a], r13w
mov word [rbx + 0x210], r13w
mov qword [rbx + 0x1fa], 0xffffffffffffffff
mov word [rbx + 0x204], r13w
mov word [rbx + 0x1f8], r13w
mov r8d, edi
mov r9, rdi
mov rcx, rdi
mov r10d, 0xff
nop
mov rdx, qword [rbx + 0x18]
test rsi, rsi
je 0x18004bb87
cmp r8d, r15d
jge 0x18004bb87
movups xmm0, xmmword [rcx + rsi]
movups xmmword [rcx + rdx], xmm0
movups xmm1, xmmword [rcx + rsi + 0x10]
movups xmmword [rcx + rdx + 0x10], xmm1
movups xmm0, xmmword [rcx + rsi + 0x20]
movups xmmword [rcx + rdx + 0x20], xmm0
movups xmm1, xmmword [rcx + rsi + 0x30]
movups xmmword [rcx + rdx + 0x30], xmm1
movups xmm0, xmmword [rcx + rsi + 0x40]
movups xmmword [rcx + rdx + 0x40], xmm0
movups xmm1, xmmword [rcx + rsi + 0x50]
movups xmmword [rcx + rdx + 0x50], xmm1
movups xmm0, xmmword [rcx + rsi + 0x60]
movups xmmword [rcx + rdx + 0x60], xmm0
jmp 0x18004bc1b
movss xmm2, dword [rcx + rdx + 0x14]
xorps xmm1, xmm1
movups xmmword [rbp - 0x61], xmm1
movups xmmword [rbp - 0x21], xmm1
movups xmmword [rbp - 0x11], xmm1
mov dword [rbp - 0x61], 0xbf800000
mov dword [rbp - 0x59], 0xbf800000
mov qword [rbp - 0x21], 0xffffffffffffffff
mov dword [rbp - 0x19], 0xffffffff
xorps xmm0, xmm0
psrldq xmm0, 0xd
movd eax, xmm0
and al, 0xfc
mov byte [rbp - 4], al
mov dword [rbp - 0x13], 0xff00ff
mov word [rbp - 0x15], r10w
movups xmmword [rcx + rdx], xmm1
movups xmm0, xmmword [rbp - 0x61]
movups xmmword [rcx + rdx + 0x10], xmm0
movups xmmword [rcx + rdx + 0x20], xmm1
movups xmmword [rcx + rdx + 0x30], xmm1
movups xmmword [rcx + rdx + 0x40], xmm1
movups xmm0, xmmword [rbp - 0x21]
movups xmmword [rcx + rdx + 0x50], xmm0
movups xmm1, xmmword [rbp - 0x11]
movups xmmword [rcx + rdx + 0x60], xmm1
movss dword [rcx + rdx + 0x14], xmm2
mov byte [rcx + rdx + 0x69], 1
mov word [rcx + rdx + 0x63], 0x101
mov byte [rcx + rdx + 0x62], 1
mov rax, qword [rbx + 0x28]
mov word [r9 + rax], r8w
mov word [rcx + rdx + 0x52], r8w
inc r8d
add rcx, 0x70
add r9, 2
cmp r8d, 3
jl 0x18004bb30
test r12, r12
je 0x18004bc5f
mov rax, qword [0x1801b50e0]
test rax, rax
je 0x18004bc56
dec dword [rax + 0xf4]
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
cmp byte [rbx + 0x228], dil
je 0x18004bc70
mov rcx, rbx
call fcn.180051a90
movss xmm2, dword [r14 + 0x3c18]
movss xmm0, dword [rbx + 0xe4]
ucomiss xmm0, xmm8
jp 0x18004bc89
je 0x18004bcd3
ucomiss xmm0, xmm2
jp 0x18004bc90
je 0x18004bcd3
movaps xmm1, xmm2
divss xmm1, xmm0
mov rax, qword [rbx + 0x18]
movaps xmm0, xmm1
mulss xmm0, dword [rax + 0x10]
movss dword [rax + 0x10], xmm0
mov rax, qword [rbx + 0x18]
movaps xmm0, xmm1
mulss xmm0, dword [rax + 0x80]
movss dword [rax + 0x80], xmm0
mov rax, qword [rbx + 0x18]
mulss xmm1, dword [rax + 0xf0]
movss dword [rax + 0xf0], xmm1
movss dword [rbx + 0xe4], xmm2
mov rax, qword [rsp + 0x30]
mov byte [rax + 0xb3], 1
cmp dword [rbx + 0x188], edi
jle 0x18004bd1b
mov ecx, dword [rbx + 0x18c]
test ecx, ecx
jns 0x18004bd15
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
mov edx, edi
test eax, eax
cmovg edx, eax
lea rcx, [rbx + 0x188]
call fcn.1800384f0
mov dword [rbx + 0x188], edi
cmp word [rbx + 0x78], di
jne 0x18004be91
movsx eax, word [rbx + 0x1fe]
cmp ax, 0xffff
je 0x18004bd4c
movss xmm1, dword [rbx + 0xdc]
ucomiss xmm1, dword [0x180151064]
jp 0x18004bd45
je 0x18004bd4c
mov ecx, eax
call fcn.18004eaf0
movzx eax, word [rbx + 0x1fe]
mov word [rbx + 0x200], ax
mov dword [rbx + 0xdc], 0x7f7fffff
mov word [rbx + 0x1fe], r13w
movsx rcx, word [rbx + 0x1fc]
cmp cx, 0xffff
je 0x18004bd95
imul rdx, rcx, 0x70
mov rax, qword [rbx + 0x18]
movss xmm1, dword [rdx + rax + 0x14]
call fcn.18004eaf0
mov word [rbx + 0x1fc], r13w
cmp word [rbx + 0x78], di
jne 0x18004be91
cmp word [rbx + 0x202], 0xffff
jne 0x18004bdbb
cmp word [rbx + 0x204], 0xffff
je 0x18004bdbb
mov word [rbx + 0x204], r13w
mov word [rbx + 0x202], r13w
movsx rax, word [rbx + 0x204]
cmp ax, 0xffff
je 0x18004be91
movsx r11d, word [rbx + 0x206]
test r11w, r11w
je 0x18004be91
mov r10, qword [rbx + 0x18]
imul r8, rax, 0x70
add r8, r10
cmp r11d, 0xffffffff
jne 0x18004bdff
movzx eax, word [r8 + 0x56]
jmp 0x18004be04
movzx eax, word [r8 + 0x58]
movsx edx, word [r8 + 0x52]
movsx rax, ax
imul rcx, rax, 0x70
movsx eax, word [rcx + r10 + 0x52]
mov word [r8 + 0x52], ax
lea r8d, [rdx + r11]
lea r10d, [r11 + rax]
cmp r8d, r10d
je 0x18004be52
nop dword [rax]
movsxd rcx, r8d
mov rax, qword [rbx + 0x28]
movsx rcx, word [rax + rcx*2]
imul rdx, rcx, 0x70
mov rax, qword [rbx + 0x18]
sub word [rdx + rax + 0x52], r11w
add r8d, r11d
cmp r8d, r10d
jne 0x18004be30
mov r8d, edi
cmp dword [rbx + 0x6c], edi
jle 0x18004be83
nop word [rax + rax]
movsxd rax, r8d
imul rcx, rax, 0x70
mov rax, qword [rbx + 0x18]
movsx rdx, word [rcx + rax + 0x52]
mov rax, qword [rbx + 0x28]
mov word [rax + rdx*2], r8w
inc r8d
cmp r8d, dword [rbx + 0x6c]
jl 0x18004be60
mov word [rbx + 0x206], di
mov byte [rbx + 0x229], 1
cmp byte [rbx + 0x22c], dil
je 0x18004becd
cmp dword [rbx + 0x6c], edi
jle 0x18004bebf
nop
movsxd rdx, edi
imul rcx, rdx, 0x70
mov rax, qword [rbx + 0x18]
mov word [rcx + rax + 0x52], di
mov rax, qword [rbx + 0x28]
mov word [rax + rdx*2], di
inc edi
cmp edi, dword [rbx + 0x6c]
jl 0x18004bea0
mov byte [rbx + 0x22c], 0
mov byte [rbx + 0x229], 1
mov al, 1
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm8, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret