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

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
lea rbp, [r11 - 0x108]
sub rsp, 0x1f0
mov rax, qword [0x180225b80]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov rsi, qword [0x18022eb78]
mov r10d, 0xffffffff
mov qword [r11 + 0x10], rbx
mov qword [r11 - 0x20], r12
mov qword [r11 - 0x28], r13
mov r13d, r8d
mov qword [r11 - 0x30], r14
mov qword [r11 - 0x38], r15
movaps xmmword [r11 - 0xc8], xmm14
mov r11, rcx
mov qword [rbp - 0x80], rcx
mov ecx, r10d
movzx r9d, byte [r11]
lea r8, [r11 + 1]
test r9b, r9b
je 0x1800497cf
lea rbx, [0x1801f0210]
nop dword [rax]
cmp r9b, 0x23
jne 0x1800497b3
cmp byte [r8], r9b
jne 0x1800497b3
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [rbx + rdx*4]
test r9b, r9b
jne 0x1800497a0
not ecx
call fcn.180047030
test rax, rax
mov qword [rsp + 0x60], rax
mov rdi, rax
sete dl
mov byte [rsp + 0x41], dl
test rax, rax
jne 0x180049800
mov edx, r13d
mov rcx, r11
call fcn.1800473c0
movzx edx, byte [rsp + 0x41]
mov rdi, rax
mov ecx, r13d
and ecx, 0xc0200
cmp ecx, 0xc0200
jne 0x180049815
or r13d, 6
cmp dword [rsi + 0x3e98], 0
mov r12d, dword [rsi + 0x3e48]
mov r9d, dword [rdi + 0x260]
mov dword [rsp + 0x5c], r12d
mov dword [rsp + 0x58], r9d
jne 0x180049843
cmp byte [rsi + 0x3e55], 0
je 0x180049843
mov al, 1
jmp 0x180049845
xor al, al
mov byte [rdi + 0xbe], al
lea eax, [r12 - 1]
cmp r9d, eax
setl r8b
mov byte [rsp + 0x40], r8b
bt r13d, 0x1a
jae 0x180049891
movsxd rax, dword [rsi + 0x4880]
imul rax, rax, 0x38
add rax, qword [rsi + 0x4878]
cmp rdi, qword [rax + 8]
mov eax, dword [rax]
setne cl
cmp dword [rdi + 0xcc], eax
setne al
or cl, al
or r8b, cl
mov byte [rsp + 0x40], r8b
mov byte [rdi + 0xbc], r8b
test r8b, r8b
je 0x1800498b2
or byte [rdi + 0xdc], 8
or byte [rdi + 0xdd], 8
or byte [rdi + 0xde], 8
xor ebx, ebx
cmp r9d, r12d
je 0x180049905
mov r8d, r13d
mov rcx, rdi
call fcn.1800470b0
mov r9d, dword [rsp + 0x58]
mov dword [rdi + 0x14], r13d
mov dword [rdi + 0x260], r12d
movsd xmm0, qword [rsi + 0x3e40]
mov word [rdi + 0xc6], bx
cvtpd2ps xmm0, xmm0
movss dword [rdi + 0x264], xmm0
movzx eax, word [rsi + 0x3eb8]
inc dword [rsi + 0x3eb8]
mov word [rdi + 0xc8], ax
jmp 0x180049909
mov r13d, dword [rdi + 0x14]
movsxd rax, dword [rsi + 0x3e98]
test eax, eax
jne 0x180049919
mov r14, rbx
jmp 0x180049929
imul rcx, rax, 0x58
mov rax, qword [rsi + 0x3ea0]
mov r14, qword [rcx + rax - 0x58]
cmp r9d, r12d
je 0x18004993e
test r13d, 0x5000000
mov r15, rbx
cmovne r15, r14
jmp 0x180049945
mov r15, qword [rdi + 0x368]
lea rbx, [rdi + 0xf0]
mov qword [rsp + 0x68], r15
cmp dword [rbx], 0
mov edx, 8
jne 0x18004997d
cmp dword [rbx + 4], 0
jne 0x180049969
mov rcx, rbx
call fcn.180057ee0
movsxd rdx, dword [rbx]
mov eax, dword [rdi + 0x10]
mov rcx, qword [rbx + 8]
mov dword [rcx + rdx*4], eax
mov edx, 8
inc dword [rbx]
mov eax, dword [rsi + 0x479c]
xorps xmm0, xmm0
movups xmm1, xmmword [rsi + 0x4774]
mov dword [rbp - 0x30], eax
movups xmmword [rbp - 0x2c], xmm0
mov qword [rsi + 0x3ec8], rdi
movzx eax, word [rbx]
lea rbx, [rsi + 0x3e98]
movups xmm0, xmmword [rsi + 0x4764]
mov r8d, dword [rbx + 4]
mov ecx, dword [rbx]
mov word [rbp - 0x2c], ax
movzx eax, word [rsi + 0x4810]
mov word [rbp - 0x2a], ax
movzx eax, word [rsi + 0x4820]
mov word [rbp - 0x28], ax
movzx eax, word [rsi + 0x4830]
mov word [rbp - 0x26], ax
movzx eax, word [rsi + 0x4840]
mov word [rbp - 0x24], ax
movzx eax, word [rsi + 0x4860]
mov word [rbp - 0x22], ax
movzx eax, word [rsi + 0x4850]
mov word [rbp - 0x20], ax
movzx eax, word [rsi + 0x4880]
mov word [rbp - 0x1e], ax
movzx eax, word [rsi + 0x5b58]
mov word [rbp - 0x1c], ax
mov qword [rbp - 0x70], rdi
movups xmmword [rbp - 0x68], xmm0
movups xmm0, xmmword [rsi + 0x4784]
movups xmmword [rbp - 0x58], xmm1
movsd xmm1, qword [rsi + 0x4794]
movsd qword [rbp - 0x38], xmm1
movups xmmword [rbp - 0x48], xmm0
cmp ecx, r8d
jne 0x180049a5c
inc ecx
test r8d, r8d
je 0x180049a4b
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x180049a4d
mov eax, edx
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.180057c80
movsxd rax, dword [rbx]
movaps xmm0, xmmword [rbp - 0x70]
movaps xmm1, xmmword [rbp - 0x60]
imul rcx, rax, 0x58
mov rax, qword [rbx + 8]
movups xmmword [rcx + rax], xmm0
movaps xmm0, xmmword [rbp - 0x50]
movups xmmword [rcx + rax + 0x10], xmm1
movaps xmm1, xmmword [rbp - 0x40]
movups xmmword [rcx + rax + 0x20], xmm0
movaps xmm0, xmmword [rbp - 0x30]
movups xmmword [rcx + rax + 0x30], xmm1
movsd xmm1, qword [rbp - 0x20]
movups xmmword [rcx + rax + 0x40], xmm0
movsd qword [rcx + rax + 0x50], xmm1
inc dword [rbx]
bt r13d, 0x1c
jae 0x180049aad
inc dword [rsi + 0x4890]
cmp dword [rsp + 0x58], r12d
je 0x180049b61
mov qword [rdi + 0x368], r15
mov qword [rdi + 0x390], rdi
mov qword [rdi + 0x388], rdi
mov qword [rdi + 0x380], rdi
mov qword [rdi + 0x378], rdi
test r15, r15
je 0x180049b30
mov eax, r13d
and eax, 0x3000000
cmp eax, 0x1000000
jne 0x180049afd
mov rax, qword [r15 + 0x378]
mov qword [rdi + 0x378], rax
bt r13d, 0x1a
jae 0x180049b12
mov rax, qword [r15 + 0x380]
mov qword [rdi + 0x380], rax
bt r13d, 0x1b
jb 0x180049b30
test r13d, 0x5000000
je 0x180049b30
mov rax, qword [r15 + 0x388]
mov qword [rdi + 0x388], rax
test dword [rdi + 0x14], 0x800000
je 0x180049b5a
mov rcx, rdi
nop dword [rax]
mov rax, qword [rcx + 0x368]
mov qword [rdi + 0x390], rax
mov rcx, rax
test dword [rax + 0x14], 0x800000
jne 0x180049b40
mov qword [rdi + 0x370], r14
mov r15, qword [0x18022eb78]
mov r12d, dword [rdi + 0x10]
lea rbx, [r15 + 0x4840]
mov ecx, dword [rbx + 4]
mov r8d, dword [rbx]
cmp r8d, ecx
jne 0x180049ba7
inc r8d
test ecx, ecx
je 0x180049b90
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180049b95
mov eax, 8
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.180057ee0
movsxd rcx, dword [rbx]
xor r10d, r10d
mov rax, qword [rbx + 8]
mov dword [rax + rcx*4], r12d
inc dword [rbx]
mov dword [r15 + 0x4744], r12d
mov eax, dword [rsi + 0x4744]
mov dword [rdi + 0x3c8], eax
mov qword [rsi + 0x3ec8], r10
bt r13d, 0x1a
jae 0x180049c12
movsxd rax, dword [rsi + 0x4880]
lea rcx, [rsi + 0x4880]
imul rbx, rax, 0x38
add rbx, qword [rsi + 0x4878]
mov rdx, rbx
mov qword [rbx + 8], rdi
mov eax, dword [r14 + 0x158]
mov dword [rbx + 0x18], eax
call fcn.180057420
mov eax, dword [rbx]
xor r10d, r10d
mov dword [rdi + 0xcc], eax
xor dl, dl
xor r15b, r15b
xor r12b, r12b
mov byte [rsp + 0x42], dl
test byte [rsi + 0x47a0], 1
je 0x180049cb7
movsx ecx, byte [rdi + 0xdc]
mov r8d, dword [rsi + 0x47a4]
test r8d, ecx
setne dl
mov byte [rsp + 0x42], dl
test r8d, ecx
je 0x180049ca8
movss xmm0, dword [rsi + 0x47bc]
movss xmm1, dword [rsi + 0x47b8]
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm1, xmm0
comiss xmm1, dword [0x1801fbd80]
jbe 0x180049ca8
movsd xmm0, qword [rsi + 0x47b0]
and ecx, 0xf1
mov eax, dword [rdi + 0xdc]
and eax, 0xffffff00
movsd qword [rdi + 0xe0], xmm0
movsd xmm1, qword [rsi + 0x47b8]
or ecx, eax
mov dword [rdi + 0xdc], ecx
movsd qword [rdi + 0xe8], xmm1
jmp 0x180049cb7
lea rdx, [rsi + 0x47b0]
mov rcx, rdi
call fcn.18004c310
test byte [rsi + 0x47a0], 2
xorps xmm14, xmm14
je 0x180049d11
movsx eax, byte [rdi + 0xdd]
mov r8d, dword [rsi + 0x47a8]
and eax, r8d
je 0x180049cea
movss xmm0, dword [rsi + 0x47c0]
comiss xmm0, xmm14
jbe 0x180049cea
mov r15b, 1
jmp 0x180049cf1
xor r15b, r15b
test eax, eax
je 0x180049d02
movss xmm0, dword [rsi + 0x47c4]
comiss xmm0, xmm14
jbe 0x180049d02
mov r12b, 1
lea rdx, [rsi + 0x47c0]
mov rcx, rdi
call fcn.18004c480
test byte [rsi + 0x47a0], 0x80
je 0x180049d54
movss xmm0, dword [rsi + 0x47d0]
comiss xmm0, xmm14
jb 0x180049d37
movss dword [rdi + 0x94], xmm0
mov dword [rdi + 0x9c], r10d
movss xmm0, dword [rsi + 0x47d4]
comiss xmm0, xmm14
jb 0x180049d54
movss dword [rdi + 0x98], xmm0
mov dword [rdi + 0xa0], r10d
test byte [rsi + 0x47a0], 4
mov ebx, dword [rsp + 0x5c]
mov r14d, dword [rsp + 0x58]
je 0x180049d75
movsd xmm0, qword [rsi + 0x47c8]
movsd qword [rdi + 0x48], xmm0
jmp 0x180049d82
cmp r14d, ebx
je 0x180049d82
mov qword [rdi + 0x48], 0
test byte [rsi + 0x47a0], 8
je 0x180049dd0
mov ecx, dword [rsi + 0x47ac]
movzx edx, byte [rsi + 0x47d8]
test ecx, ecx
je 0x180049da7
movsx eax, byte [rdi + 0xde]
test ecx, eax
je 0x180049dd0
movzx ecx, byte [rdi + 0xde]
mov eax, dword [rdi + 0xdc]
and ecx, 0xf1
shl ecx, 0x10
and eax, 0xff00ffff
or ecx, eax
mov byte [rdi + 0xb9], dl
mov dword [rdi + 0xdc], ecx
test byte [rsi + 0x47a0], 0x20
je 0x180049de1
mov rcx, rdi
call fcn.18004bd50
cmp byte [rdi + 0xbc], 0
je 0x180049dff
and byte [rdi + 0xdc], 0xf7
and byte [rdi + 0xdd], 0xf7
and byte [rdi + 0xde], 0xf7
mov r8d, 1
cmp r14d, ebx
je 0x18004b88f
movaps xmmword [rsp + 0x1c0], xmm6
lea rbx, [rdi + 0xf0]
movaps xmmword [rsp + 0x1b0], xmm7
mov eax, r13d
movaps xmmword [rsp + 0x1a0], xmm8
and eax, 0x3000000
movaps xmmword [rsp + 0x190], xmm9
movaps xmmword [rsp + 0x180], xmm10
movaps xmmword [rsp + 0x170], xmm11
movaps xmmword [rsp + 0x160], xmm12
mov byte [rdi + 0xb6], r8b
mov byte [rdi + 0xc0], 0
movaps xmmword [rsp + 0x150], xmm13
mov dword [rsp + 0x50], eax
movzx eax, byte [rdi + 0xd9]
mov dword [rdi + 0x238], 0xff7fffff
mov dword [rdi + 0x23c], 0xff7fffff
mov dword [rdi + 0x240], 0x7f7fffff
mov dword [rdi + 0x244], 0x7f7fffff
mov ecx, dword [rbx + 4]
mov byte [rsp + 0x43], al
cmp ecx, r8d
jge 0x180049edb
test ecx, ecx
je 0x180049ebf
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180049ec4
mov eax, 8
cmp eax, r8d
mov edx, r8d
mov rcx, rbx
cmovg edx, eax
call fcn.180057ee0
mov r8d, 1
mov dword [rbx], r8d
mov rcx, qword [rdi + 0x298]
call fcn.18005eda0
cmp byte [rdi + 0x3d4], 0
mov dword [rdi + 0x1b0], 0xffffffff
je 0x180049f3b
mov rcx, qword [rdi + 0x298]
mov edx, dword [rdi + 0x3cc]
add rcx, 0x10
mov byte [rdi + 0x3d4], 0
call fcn.180003a90
mov rcx, qword [rdi + 0x298]
mov edx, dword [rdi + 0x3d0]
add rcx, 0x20
call fcn.1800578e0
mov qword [rdi + 0x3cc], 0
cmp qword [rsi + 0x4a20], 0
mov r9, qword [rsp + 0x60]
je 0x18004a014
test dword [rdi + 0x14], 0x80000
jne 0x18004a014
test r9, r9
je 0x18004a014
mov r10, qword [rbp - 0x80]
mov r9, qword [rdi + 8]
mov rax, r10
mov r8, r9
sub r8, r10
nop word [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x180049f93
inc rax
test ecx, ecx
jne 0x180049f80
test edx, edx
je 0x18004a00f
movsxd r14, dword [rdi + 0x78]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [r10 + rbx], 0
jne 0x180049fa2
inc rbx
cmp r14, rbx
jae 0x180049ff9
test r9, r9
je 0x180049fcb
mov rax, qword [0x18022eb78]
test rax, rax
je 0x180049fcb
dec dword [rax + 0xf4]
mov rcx, r9
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x18022eb78]
test rax, rax
je 0x180049fe6
inc dword [rax + 0xf4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r10, qword [rbp - 0x80]
mov r14, rbx
mov r9, rax
mov r8, rbx
mov rdx, r10
mov rcx, r9
call sub.VCRUNTIME140.dll_memcpy
mov qword [rdi + 8], rax
mov dword [rdi + 0x78], r14d
mov r9, qword [rsp + 0x60]
lea r8, [rdi + 0x40]
mov rcx, rdi
lea rdx, [rdi + 0x38]
call fcn.180047810
movzx eax, byte [rdi + 0xd8]
test al, al
jle 0x18004a037
dec al
mov byte [rdi + 0xd8], al
movzx eax, byte [rdi + 0xd9]
test al, al
jle 0x18004a04a
dec al
mov byte [rdi + 0xd9], al
movzx eax, byte [rdi + 0xda]
test al, al
jle 0x18004a05d
dec al
mov byte [rdi + 0xda], al
test r9, r9
jne 0x18004a073
test r15b, r15b
je 0x18004a06c
test r12b, r12b
jne 0x18004a073
mov byte [rdi + 0xd9], 1
xor r9d, r9d
cmp byte [rsp + 0x40], r9b
je 0x18004a0bd
test r13d, 0x6000000
je 0x18004a0bd
mov byte [rdi + 0xd9], 1
test r13b, 0x40
je 0x18004a0bd
test r15b, r15b
jne 0x18004a0a0
mov dword [rdi + 0x30], r9d
mov dword [rdi + 0x28], r9d
test r12b, r12b
jne 0x18004a0ad
mov dword [rdi + 0x34], r9d
mov dword [rdi + 0x2c], r9d
mov qword [rdi + 0x40], 0
mov qword [rdi + 0x38], 0
mov rdx, qword [0x18022eb78]
mov rax, qword [rdx + 0x48a0]
mov r14, qword [rax]
mov qword [rdi + 0x18], r14
mov qword [rdx + 0x3ec8], rdi
movsxd rax, dword [rdi + 0x1b0]
cmp eax, 0xffffffff
je 0x18004a0f5
imul rcx, rax, 0x238
add rcx, qword [rdx + 0x4b30]
jmp 0x18004a0f8
mov rcx, r9
mov qword [rdx + 0x4b08], rcx
mov rax, qword [rdi]
movss xmm0, dword [rax + 0x3c2c]
mov rax, qword [rdi + 0x368]
mulss xmm0, dword [rdi + 0x290]
test rax, rax
je 0x18004a126
mulss xmm0, dword [rax + 0x290]
movss dword [rdx + 0x3c40], xmm0
movss dword [rdx + 0x3c28], xmm0
bt r13d, 0x18
jae 0x18004a147
movss xmm1, dword [rsi + 0x3820]
jmp 0x18004a169
test r13d, 0x6000000
je 0x18004a161
bt r13d, 0x1b
jb 0x18004a161
movss xmm1, dword [rsi + 0x3828]
jmp 0x18004a169
movss xmm1, dword [rsi + 0x3804]
movss dword [rdi + 0x5c], xmm1
mov eax, r13d
movsd xmm0, qword [rsi + 0x37f8]
and eax, 0x5010000
movsd qword [rdi + 0x50], xmm0
cmp eax, 0x1000000
jne 0x18004a1b0
ucomiss xmm1, xmm14
jp 0x18004a1b0
jne 0x18004a1b0
bt r13d, 0xa
jae 0x18004a1a3
movss xmm0, dword [rsi + 0x37fc]
jmp 0x18004a1a7
movaps xmm0, xmm14
movss dword [rdi + 0x54], xmm0
mov dword [rdi + 0x50], r9d
movss xmm0, dword [rdi + 0x50]
movzx ebx, byte [rsp + 0x41]
mov dword [rsp + 0x54], ebx
maxss xmm0, dword [rsi + 0x383c]
maxss xmm0, dword [rsi + 0x4804]
movss dword [rdi + 0x164], xmm0
mov eax, dword [rsi + 0x4808]
mov dword [rdi + 0x168], eax
test r13b, 0x21
jne 0x18004a339
test byte [rdi + 0x14], 1
mov rcx, qword [rdi]
je 0x18004a1fb
movaps xmm2, xmm14
jmp 0x18004a22f
mov rax, qword [rdi + 0x368]
movss xmm0, dword [rcx + 0x3c2c]
mulss xmm0, dword [rdi + 0x290]
test rax, rax
je 0x18004a21f
mulss xmm0, dword [rax + 0x290]
movss xmm2, dword [rcx + 0x3830]
addss xmm2, xmm2
addss xmm2, xmm0
movss xmm3, dword [rdi + 0x20]
movaps xmm0, xmm3
movss xmm4, dword [rdi + 0x24]
addss xmm0, dword [rdi + 0x30]
addss xmm2, dword [rdi + 0x24]
cmp qword [rsi + 0x3ed0], rdi
jne 0x18004a2ef
cmp dword [rsi + 0x3f14], 0
jne 0x18004a2ef
cmp dword [rsi + 0x3f18], 0
jne 0x18004a2ef
mov rax, qword [rdx + 0x3ec8]
movss xmm1, dword [rdx + 0x3854]
movaps xmm5, xmm1
minss xmm0, dword [rax + 0x240]
maxss xmm3, dword [rax + 0x238]
maxss xmm4, dword [rax + 0x23c]
minss xmm2, dword [rax + 0x244]
addss xmm5, xmm0
movss xmm0, dword [rdx + 0x3858]
subss xmm3, xmm1
movaps xmm6, xmm0
movss xmm1, dword [rdx + 0xe08]
subss xmm4, xmm0
addss xmm6, xmm2
comiss xmm1, xmm3
jb 0x18004a2ef
movss xmm0, dword [rdx + 0xe0c]
comiss xmm0, xmm4
jb 0x18004a2ef
comiss xmm5, xmm1
jbe 0x18004a2ef
comiss xmm6, xmm0
jbe 0x18004a2ef
cmp word [rsi + 0x3752], 2
jne 0x18004a2ef
mov byte [rdi + 0xba], 1
cmp byte [rdi + 0xba], 0
je 0x18004a340
movzx ecx, byte [rdi + 0xb9]
test cl, cl
movzx ebx, bl
sete al
test cl, cl
mov ecx, 1
mov byte [rdi + 0xb9], al
cmovne ebx, ecx
test dword [rdi + 0x14], 0x100
mov dword [rsp + 0x54], ebx
jne 0x18004a340
comiss xmm14, dword [rdx + 0x5ba4]
jb 0x18004a340
mov eax, dword [rdx + 0x1c]
mov dword [rdx + 0x5ba4], eax
jmp 0x18004a340
mov byte [rdi + 0xb9], 0
mov rcx, qword [rdi]
mov r8d, dword [rdi + 0x14]
movss xmm10, dword [rdi + 0xac]
movss xmm11, dword [rdi + 0xb0]
mov byte [rdi + 0xba], 0
lea rax, [rcx + 0x3c2c]
mov dword [rdi + 0x60], r9d
mov dword [rdi + 0x68], r9d
test r8b, 1
je 0x18004a37b
movaps xmm2, xmm14
jmp 0x18004a3ab
mov rdx, qword [rdi + 0x368]
movss xmm0, dword [rdi + 0x290]
mulss xmm0, dword [rax]
test rdx, rdx
je 0x18004a39b
mulss xmm0, dword [rdx + 0x290]
movss xmm2, dword [rcx + 0x3830]
addss xmm2, xmm2
addss xmm2, xmm0
bt r8d, 0xa
jae 0x18004a3ec
movss xmm1, dword [rdi + 0x290]
mulss xmm1, dword [rax]
mov rax, qword [rdi + 0x368]
test rax, rax
je 0x18004a3d2
mulss xmm1, dword [rax + 0x290]
movss xmm0, dword [rcx + 0x3830]
addss xmm1, dword [rdi + 0x168]
addss xmm0, xmm0
addss xmm1, xmm0
jmp 0x18004a3f0
movaps xmm1, xmm14
addss xmm1, xmm2
mov dword [rdi + 0x6c], r9d
lea r8, [rdi + 0x40]
mov qword [rdi + 0xac], 0
mov rdx, rdi
lea rcx, [rbp - 0x10]
movss dword [rdi + 0x64], xmm1
call fcn.180047920
test r13b, 0x40
je 0x18004a459
cmp byte [rdi + 0xb9], 0
jne 0x18004a459
test r15b, r15b
jne 0x18004a43b
movss xmm0, dword [rbp - 0x10]
movss dword [rdi + 0x30], xmm0
mov byte [rsp + 0x41], 1
test r12b, r12b
jne 0x18004a4fd
movss xmm0, dword [rbp - 0xc]
mov al, 1
movss dword [rdi + 0x34], xmm0
mov dword [rsp + 0x54], eax
jmp 0x18004a4fd
movzx eax, byte [rdi + 0xd0]
test al, al
jg 0x18004a471
cmp byte [rdi + 0xd1], 0
jle 0x18004a4fd
test r15b, r15b
jne 0x18004a49e
test al, al
jle 0x18004a49e
cmp byte [rdi + 0xd3], r15b
je 0x18004a48f
movss xmm0, dword [rdi + 0x30]
maxss xmm0, dword [rbp - 0x10]
jmp 0x18004a494
movss xmm0, dword [rbp - 0x10]
movss dword [rdi + 0x30], xmm0
mov byte [rsp + 0x41], 1
test r12b, r12b
jne 0x18004a4d1
cmp byte [rdi + 0xd1], r12b
jle 0x18004a4d1
cmp byte [rdi + 0xd3], r12b
je 0x18004a4c1
movss xmm0, dword [rdi + 0x34]
maxss xmm0, dword [rbp - 0xc]
jmp 0x18004a4c6
movss xmm0, dword [rbp - 0xc]
mov al, 1
movss dword [rdi + 0x34], xmm0
mov dword [rsp + 0x54], eax
cmp byte [rdi + 0xb9], 0
jne 0x18004a4fd
test dword [rdi + 0x14], 0x100
mov rcx, qword [0x18022eb78]
jne 0x18004a4fd
comiss xmm14, dword [rcx + 0x5ba4]
jb 0x18004a4fd
mov eax, dword [rcx + 0x1c]
mov dword [rcx + 0x5ba4], eax
lea r8, [rdi + 0x30]
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.1800475c0
cmp byte [rdi + 0xb9], 0
movss xmm2, dword [rax]
movss xmm1, dword [rax + 4]
movss dword [rdi + 0x30], xmm2
movss dword [rdi + 0x34], xmm1
je 0x18004a58a
bt r13d, 0x18
jb 0x18004a58a
test byte [rdi + 0x14], 1
mov rcx, qword [rdi]
je 0x18004a540
movaps xmm1, xmm14
jmp 0x18004a574
mov rax, qword [rdi + 0x368]
movss xmm0, dword [rcx + 0x3c2c]
mulss xmm0, dword [rdi + 0x290]
test rax, rax
je 0x18004a564
mulss xmm0, dword [rax + 0x290]
movss xmm1, dword [rcx + 0x3830]
addss xmm1, xmm1
addss xmm1, xmm0
addss xmm2, dword [rdi + 0x20]
addss xmm1, dword [rdi + 0x24]
subss xmm2, dword [rdi + 0x20]
subss xmm1, dword [rdi + 0x24]
jmp 0x18004a5a3
movaps xmm0, xmm2
unpcklps xmm0, xmm1
movaps xmm1, xmm0
movsd qword [rsp + 0x48], xmm0
movss xmm2, dword [rsp + 0x48]
shufps xmm1, xmm1, 0x55
movzx ebx, byte [rsp + 0x40]
movzx r15d, byte [rsp + 0x42]
movss dword [rdi + 0x28], xmm2
movss dword [rdi + 0x2c], xmm1
test bl, bl
je 0x18004a602
mov eax, r13d
mov dword [rdi + 0xd4], 0xffffffff
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x18004a602
test r15b, r15b
jne 0x18004a602
movsxd rax, dword [rsi + 0x4880]
imul rcx, rax, 0x38
mov rax, qword [rsi + 0x4888]
movss xmm0, dword [rcx + rax - 0x14]
movss xmm1, dword [rcx + rax - 0x10]
movss dword [rdi + 0x20], xmm0
movss dword [rdi + 0x24], xmm1
bt r13d, 0x18
jae 0x18004a692
mov r12, qword [rsp + 0x68]
lea rbx, [r12 + 0x190]
movzx eax, word [rbx]
mov word [rdi + 0xc6], ax
mov ecx, dword [rbx + 4]
mov r8d, dword [rbx]
cmp r8d, ecx
jne 0x18004a658
inc r8d
test ecx, ecx
je 0x18004a641
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18004a646
mov eax, 8
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.180057770
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov qword [rax + rcx*8], rdi
inc dword [rbx]
mov eax, dword [rsp + 0x50]
movzx ebx, byte [rsp + 0x40]
bt r13d, 0x1a
jb 0x18004a696
test r15b, r15b
jne 0x18004a696
cmp eax, 0x3000000
je 0x18004a696
movsd xmm0, qword [r12 + 0x100]
movsd qword [rdi + 0x20], xmm0
jmp 0x18004a696
mov eax, dword [rsp + 0x50]
movss xmm1, dword [rdi + 0xe0]
ucomiss xmm1, dword [0x1801fbfa4]
jp 0x18004a6a9
je 0x18004a6fa
cmp byte [rdi + 0xd9], 0
jne 0x18004a6fa
movss xmm0, dword [rdi + 0x28]
lea rdx, [rsp + 0x48]
mulss xmm0, dword [rdi + 0xe8]
xor r8d, r8d
mov rcx, rdi
subss xmm1, xmm0
movss xmm0, dword [rdi + 0xe4]
movss dword [rsp + 0x48], xmm1
movss xmm1, dword [rdi + 0x2c]
mulss xmm1, dword [rdi + 0xec]
subss xmm0, xmm1
movss dword [rsp + 0x4c], xmm0
call fcn.18004c310
jmp 0x18004a746
bt r13d, 0x1c
jb 0x18004a727
bt r13d, 0x1a
jae 0x18004a714
test r15b, r15b
jne 0x18004a714
cmp byte [rsp + 0x43], r15b
jg 0x18004a727
bt r13d, 0x19
jae 0x18004a746
test r15b, r15b
jne 0x18004a746
cmp eax, 0x3000000
je 0x18004a746
mov rdx, rdi
lea rcx, [rbp - 0x78]
call fcn.180050e50
movss xmm1, dword [rax + 4]
movss xmm0, dword [rax]
movss dword [rdi + 0x20], xmm0
movss dword [rdi + 0x24], xmm1
movss xmm0, dword [r14 + 0x14]
movss xmm1, dword [r14 + 0x18]
movaps xmm7, xmm0
movss xmm8, dword [r14 + 4]
movaps xmm6, xmm1
movss xmm9, dword [r14 + 8]
movaps xmm5, xmm8
movss xmm3, dword [rsi + 0x38b0]
movaps xmm4, xmm9
movss xmm2, dword [rsi + 0x38ac]
mov r12, qword [0x18022eb78]
movss dword [rbp - 8], xmm8
movss dword [rbp - 4], xmm9
addss xmm7, dword [r14 + 0x1c]
addss xmm6, dword [r14 + 0x20]
addss xmm5, dword [r14 + 0xc]
addss xmm4, dword [r14 + 0x10]
maxss xmm3, dword [rsi + 0x38b8]
maxss xmm2, dword [rsi + 0x38b4]
movss dword [rbp], xmm5
movss dword [rbp + 4], xmm4
subss xmm6, xmm3
subss xmm7, xmm2
addss xmm2, xmm0
addss xmm3, xmm1
movss dword [rbp + 0x1c], xmm6
movss dword [rbp + 0x18], xmm7
movss dword [rbp + 0x10], xmm2
movss dword [rbp + 0x14], xmm3
test r15b, r15b
jne 0x18004a891
bt r13d, 0x18
jb 0x18004a891
subss xmm5, xmm8
comiss xmm5, xmm14
jbe 0x18004a891
subss xmm4, xmm9
comiss xmm4, xmm14
jbe 0x18004a891
movss xmm0, dword [rdi + 0x2c]
cmp byte [r12 + 0x7f], r15b
je 0x18004a85c
test byte [rdi + 0x14], 1
jne 0x18004a85c
mov rcx, qword [rdi]
mov rax, qword [rdi + 0x368]
movss xmm1, dword [rcx + 0x3c2c]
mulss xmm1, dword [rdi + 0x290]
test rax, rax
je 0x18004a84c
mulss xmm1, dword [rax + 0x290]
movss xmm0, dword [rcx + 0x3830]
addss xmm0, xmm0
addss xmm0, xmm1
subss xmm2, dword [rdi + 0x28]
subss xmm3, xmm0
movss xmm0, dword [rdi + 0x24]
comiss xmm3, xmm0
ja 0x18004a876
movaps xmm3, xmm6
minss xmm3, xmm0
movss xmm0, dword [rdi + 0x20]
comiss xmm2, xmm0
ja 0x18004a887
movaps xmm2, xmm7
minss xmm2, xmm0
movss dword [rdi + 0x20], xmm2
movss dword [rdi + 0x24], xmm3
cvttss2si eax, dword [rdi + 0x20]
movd xmm1, eax
cvttss2si eax, dword [rdi + 0x24]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rdi + 0x20], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x24], xmm0
bt r13d, 0x18
jae 0x18004a8c4
movss xmm0, dword [rsi + 0x381c]
jmp 0x18004a8e5
mov eax, r13d
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x18004a8dd
movss xmm0, dword [rsi + 0x3824]
jmp 0x18004a8e5
movss xmm0, dword [rsi + 0x3800]
xor cl, cl
movss dword [rdi + 0x58], xmm0
mov dword [rsp + 0x48], ecx
test bl, bl
je 0x18004ab47
bt r13d, 0xc
jb 0x18004ab47
bt r13d, 0x1a
jae 0x18004a911
mov byte [rsp + 0x48], 1
jmp 0x18004a927
test r13d, 0x3000000
movzx ecx, cl
mov eax, 1
cmove ecx, eax
mov dword [rsp + 0x48], ecx
mov eax, dword [r12 + 0x4870]
sub eax, 1
js 0x18004ab47
movsxd rdx, eax
mov rax, qword [r12 + 0x4878]
imul r8, rdx, 0x38
add rax, 8
add r8, rax
nop
mov rcx, qword [r8]
test rcx, rcx
je 0x18004a961
test dword [rcx + 0x14], 0x8000000
jne 0x18004a970
sub r8, 0x38
sub rdx, 1
jns 0x18004a950
jmp 0x18004ab47
mov rax, rdi
cmp qword [rdi + 0x378], rcx
je 0x18004ab47
cmp rax, rcx
je 0x18004ab47
mov rax, qword [rax + 0x370]
test rax, rax
jne 0x18004a980
mov r8, qword [rdi + 0x378]
xor r15b, r15b
mov dword [rsp + 0x48], r15d
cmp rdi, r8
jne 0x18004ab4c
movsxd r9, dword [r12 + 0x4870]
mov r10, qword [r12 + 0x4878]
dec r9
imul rcx, r9, 0x38
add r10, 8
add r10, rcx
nop dword [rax + rax]
mov rdx, qword [r10]
test rdx, rdx
je 0x18004aa54
test dword [rdx + 0x14], 0x8000000
je 0x18004aa54
cmp byte [rdx + 0xb6], 0
jne 0x18004a9f3
cmp byte [rdx + 0xb7], 0
je 0x18004aa54
mov rax, rdi
cmp r8, rdx
je 0x18004aa62
nop dword [rax + rax]
cmp rax, rdx
je 0x18004aa62
mov rax, qword [rax + 0x370]
test rax, rax
jne 0x18004aa00
mov rax, qword [rdx + 0x370]
mov rcx, qword [rax + 0x378]
test rcx, rcx
je 0x18004aa54
mov rax, rdi
cmp r8, rcx
je 0x18004aa64
nop dword [rax]
cmp rax, rcx
je 0x18004aa64
mov rax, qword [rax + 0x370]
test rax, rax
jne 0x18004aa30
mov rax, qword [rcx + 0x370]
mov rcx, qword [rax + 0x378]
test rcx, rcx
jne 0x18004aa24
sub r10, 0x38
sub r9, 1
jns 0x18004a9d0
xor edx, edx
mov r9, qword [r12 + 0x3e70]
movsxd rax, dword [r12 + 0x3e68]
mov r15, qword [rdi + 0x378]
mov r8, qword [rdx + 0x378]
lea rcx, [r9 + rax*8]
cmp r9, rcx
jae 0x18004aa9e
nop dword [rax + rax]
cmp qword [r9], r15
je 0x18004aa9e
add r9, 8
cmp r9, rcx
jb 0x18004aa90
mov r14, qword [r12 + 0x3e70]
movsxd rax, dword [r12 + 0x3e68]
sub r9, r14
sar r9, 3
lea rcx, [r14 + rax*8]
cmp r14, rcx
jae 0x18004aace
nop
cmp qword [r14], r8
je 0x18004aace
add r14, 8
cmp r14, rcx
jb 0x18004aac0
mov r10, qword [r12 + 0x3e70]
sub r14, r10
sar r14, 3
cmp r9d, r14d
jge 0x18004ab1a
mov eax, r14d
sub eax, r9d
dec eax
movsxd r8, eax
lea eax, [r9 + 1]
movsxd rcx, eax
movsxd rax, r9d
shl r8, 3
lea rdx, [r10 + rcx*8]
lea rcx, [r10 + rax*8]
call sub.VCRUNTIME140.dll_memmove
mov rax, qword [r12 + 0x3e70]
movsxd rcx, r14d
mov qword [rax + rcx*8 - 8], r15
jmp 0x18004ab47
lea eax, [r14 + 1]
movsxd rbx, r14d
movsxd rcx, eax
sub r9d, r14d
movsxd r8, r9d
shl r8, 3
lea rdx, [r10 + rbx*8]
lea rcx, [r10 + rcx*8]
call sub.VCRUNTIME140.dll_memmove
mov rax, qword [r12 + 0x3e70]
mov qword [rax + rbx*8], r15
mov r15d, dword [rsp + 0x48]
movss xmm1, dword [rsi + 0x3c28]
xorps xmm0, xmm0
xor r14d, r14d
mov dword [rbp + 8], 0xffffffff
cmp byte [rsi + 0x7e], r14b
movaps xmm2, xmm1
mulss xmm1, dword [0x1801fbdc4]
setne r14b
mulss xmm2, dword [0x1801fbe3c]
inc r14d
cmp byte [rdi + 0xb9], 0
movups xmmword [rbp + 0x20], xmm0
movss xmm0, dword [rdi + 0x58]
addss xmm0, dword [0x1801fbe38]
addss xmm0, xmm1
maxss xmm2, xmm0
cvttss2si eax, xmm2
movd xmm13, eax
cvtdq2ps xmm13, xmm13
jne 0x18004abde
lea rax, [rbp + 0x10]
mov r9d, r14d
mov qword [rsp + 0x28], rax
lea r8, [rbp + 8]
lea rax, [rbp + 0x20]
mov rcx, rdi
lea rdx, [rbp - 0x10]
mov qword [rsp + 0x20], rax
call fcn.180047cb0
test al, al
je 0x18004abde
mov cl, 1
movzx edx, cl
jmp 0x18004abe7
movzx edx, byte [rsp + 0x41]
mov ecx, dword [rsp + 0x54]
cmp byte [rdi + 0xb9], 0
movzx eax, byte [rbp + 8]
mov byte [rdi + 0xc1], al
jne 0x18004ad38
cmp qword [rsp + 0x60], 0
movss xmm0, dword [rdi + 0x6c]
movss xmm2, dword [rdi + 0x200]
movss xmm3, dword [rdi + 0x204]
addss xmm0, dword [rdi + 0x64]
subss xmm2, dword [rdi + 0x1f8]
subss xmm3, dword [rdi + 0x1fc]
movss xmm4, dword [rdi + 0x34]
movss xmm5, dword [rdi + 0x30]
subss xmm4, xmm0
addss xmm2, xmm10
addss xmm3, xmm11
jne 0x18004ac52
movaps xmm1, xmm14
movaps xmm0, xmm14
jmp 0x18004ac6e
movss xmm1, dword [rdi + 0x50]
movss xmm0, dword [rdi + 0x54]
addss xmm1, xmm1
addss xmm0, xmm0
addss xmm1, dword [rdi + 0x38]
addss xmm0, dword [rdi + 0x3c]
test dl, dl
jne 0x18004ac75
movaps xmm5, xmm2
test cl, cl
jne 0x18004ac7c
movaps xmm4, xmm3
bt r13d, 0xe
jb 0x18004ac92
comiss xmm0, xmm4
jbe 0x18004ac8e
test r13b, 8
je 0x18004ac92
xor cl, cl
jmp 0x18004ac94
mov cl, 1
mov byte [rdi + 0xb5], cl
bt r13d, 0xf
jb 0x18004acd8
test cl, cl
je 0x18004acaf
movss xmm2, dword [rsi + 0x3864]
jmp 0x18004acb3
movaps xmm2, xmm14
subss xmm5, xmm2
comiss xmm1, xmm5
jbe 0x18004accb
mov eax, r13d
and eax, 0x808
cmp eax, 0x800
je 0x18004acd8
mov byte [rdi + 0xb4], 0
movaps xmm1, xmm14
jmp 0x18004ad02
mov byte [rdi + 0xb4], 1
test cl, cl
jne 0x18004acfa
comiss xmm0, xmm4
jbe 0x18004acf2
test r13b, 8
jne 0x18004acf2
mov cl, 1
jmp 0x18004acf4
xor cl, cl
mov byte [rdi + 0xb5], cl
movss xmm1, dword [rsi + 0x3864]
test cl, cl
je 0x18004ad10
movss xmm0, dword [rsi + 0x3864]
jmp 0x18004ad14
movaps xmm0, xmm14
movss dword [rdi + 0xac], xmm0
addss xmm0, dword [rdi + 0x68]
movss dword [rdi + 0xb0], xmm1
addss xmm1, dword [rdi + 0x6c]
movss dword [rdi + 0x68], xmm0
movss dword [rdi + 0x6c], xmm1
mov eax, r13d
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x18004ad60
cmp dword [rsp + 0x50], 0x3000000
je 0x18004ad60
mov r12, qword [rsp + 0x68]
lea rax, [r12 + 0x238]
jmp 0x18004ad69
mov r12, qword [rsp + 0x68]
lea rax, [rbp - 8]
test byte [rdi + 0x14], 1
movups xmm4, xmmword [rax]
mov rcx, qword [rdi]
movss xmm7, dword [rdi + 0x20]
movss xmm6, dword [rdi + 0x24]
movaps xmm3, xmm7
addss xmm3, dword [rdi + 0x28]
movaps xmm5, xmm6
addss xmm5, dword [rdi + 0x2c]
movups xmmword [rbp - 8], xmm4
je 0x18004ad99
movaps xmm2, xmm14
jmp 0x18004adcd
mov rax, qword [rdi + 0x368]
movss xmm0, dword [rcx + 0x3c2c]
mulss xmm0, dword [rdi + 0x290]
test rax, rax
je 0x18004adbd
mulss xmm0, dword [rax + 0x290]
movss xmm2, dword [rcx + 0x3830]
addss xmm2, xmm2
addss xmm2, xmm0
movss xmm0, dword [rdi + 0x24]
addss xmm2, xmm6
movss dword [rsp + 0x74], xmm0
movaps xmm1, xmm7
addss xmm1, dword [rdi + 0x30]
movss dword [rsp + 0x70], xmm7
mov eax, r13d
and eax, 0x401
movss dword [rsp + 0x7c], xmm2
movss dword [rsp + 0x78], xmm1
movss dword [rdi + 0x1e8], xmm7
movaps xmm7, xmm4
movss dword [rdi + 0x1ec], xmm6
movss dword [rdi + 0x1f0], xmm3
movss dword [rdi + 0x1f4], xmm5
movaps xmm5, xmm4
movss xmm0, dword [rdi + 0x1e8]
shufps xmm5, xmm4, 0x55
maxss xmm0, xmm4
shufps xmm7, xmm4, 0xaa
maxss xmm6, xmm5
movss dword [rdi + 0x1e8], xmm0
movss dword [rdi + 0x1ec], xmm6
movaps xmm6, xmm4
movss xmm1, dword [rdi + 0x1f0]
movss xmm0, dword [rdi + 0x1f4]
minss xmm1, xmm7
shufps xmm6, xmm4, 0xff
minss xmm0, xmm6
movss dword [rdi + 0x1f0], xmm1
movss dword [rdi + 0x1f4], xmm0
movss xmm9, dword [rdi + 0x20]
movss xmm10, dword [rdi + 0x24]
movaps xmm8, xmm9
movaps xmm12, xmm10
addss xmm9, dword [rdi + 0x28]
addss xmm10, dword [rdi + 0x2c]
addss xmm8, dword [rdi + 0x60]
addss xmm12, dword [rdi + 0x64]
subss xmm9, dword [rdi + 0x68]
subss xmm10, dword [rdi + 0x6c]
movss dword [rdi + 0x1f8], xmm8
movss dword [rdi + 0x1fc], xmm12
movss dword [rdi + 0x200], xmm9
movss dword [rdi + 0x204], xmm10
cmp eax, 1
jne 0x18004aee4
movss xmm11, dword [rdi + 0x5c]
jmp 0x18004aeed
movss xmm11, dword [rsi + 0x3838]
movss xmm2, dword [0x1801fbdf0]
xorps xmm1, xmm1
movss xmm0, dword [rdi + 0x50]
addss xmm8, xmm2
mulss xmm0, xmm2
addss xmm12, xmm2
addss xmm9, xmm2
addss xmm10, xmm2
cvttss2si eax, xmm0
xorps xmm0, xmm0
addss xmm12, xmm11
subss xmm10, dword [rdi + 0x5c]
cvtsi2ss xmm1, eax
maxss xmm1, dword [rdi + 0x5c]
addss xmm8, xmm1
subss xmm9, xmm1
cvttss2si eax, xmm8
xorps xmm8, xmm8
cvtsi2ss xmm8, eax
cvttss2si eax, xmm12
movss dword [rdi + 0x208], xmm8
cvtsi2ss xmm0, eax
cvttss2si eax, xmm9
movss dword [rdi + 0x20c], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
cvttss2si eax, xmm10
movss dword [rdi + 0x210], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
movss dword [rdi + 0x214], xmm0
movss xmm0, dword [rdi + 0x20c]
comiss xmm5, xmm0
jbe 0x18004af9c
movaps xmm1, xmm5
jmp 0x18004afa3
movaps xmm1, xmm6
minss xmm1, xmm0
comiss xmm4, xmm8
jbe 0x18004afae
movaps xmm0, xmm4
jmp 0x18004afb6
movaps xmm0, xmm7
minss xmm0, xmm8
movss dword [rdi + 0x208], xmm0
movss dword [rdi + 0x20c], xmm1
movss xmm0, dword [rdi + 0x214]
comiss xmm5, xmm0
ja 0x18004afda
minss xmm6, xmm0
movaps xmm5, xmm6
movss xmm0, dword [rdi + 0x210]
comiss xmm4, xmm0
ja 0x18004afee
minss xmm7, xmm0
movaps xmm4, xmm7
movss dword [rdi + 0x210], xmm4
movss dword [rdi + 0x214], xmm5
movss xmm0, dword [rdi + 0x28]
comiss xmm0, xmm14
jbe 0x18004b01c
test r13d, 0x2000040
jne 0x18004b01c
mulss xmm0, dword [0x1801fbdfc]
jmp 0x18004b02c
movss xmm0, dword [rsi + 0x3c28]
mulss xmm0, dword [0x1801fbef0]
cvttss2si eax, xmm0
mov rdx, rdi
lea rcx, [rbp - 0x78]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x268], xmm0
movss xmm0, dword [rdi + 0x200]
subss xmm0, dword [rdi + 0x1f8]
movss xmm1, dword [rdi + 0x50]
movss xmm2, dword [rdi + 0x54]
addss xmm1, xmm1
addss xmm2, xmm2
addss xmm1, dword [rdi + 0x38]
addss xmm2, dword [rdi + 0x3c]
subss xmm1, xmm0
movaps xmm0, xmm14
maxss xmm0, xmm1
movss dword [rdi + 0x8c], xmm0
movss xmm0, dword [rdi + 0x204]
subss xmm0, dword [rdi + 0x1fc]
subss xmm2, xmm0
movaps xmm0, xmm14
maxss xmm0, xmm2
movss dword [rdi + 0x90], xmm0
call fcn.18004f820
mov rcx, qword [rdi + 0x298]
movss xmm0, dword [rax]
movss xmm1, dword [rax + 4]
movss dword [rdi + 0x84], xmm0
movss dword [rdi + 0x88], xmm1
mov dword [rdi + 0x94], 0x7f7fffff
mov dword [rdi + 0x98], 0x7f7fffff
mov qword [rdi + 0x70], 0
mov rax, qword [rsi + 0x3c20]
mov rdx, qword [rax + 0x40]
mov rdx, qword [rdx + 8]
call fcn.18005f400
mov rcx, qword [0x18022eb78]
lea r8, [rbp]
xor r9d, r9d
lea rdx, [rbp - 8]
mov rax, qword [rcx + 0x3ec8]
mov byte [rax + 0xb8], 1
mov rbx, qword [rcx + 0x3ec8]
mov rcx, qword [rbx + 0x298]
call fcn.18005f2f0
mov rax, qword [rbx + 0x298]
movsxd rcx, dword [rax + 0x58]
mov rax, qword [rax + 0x60]
add rcx, rcx
movss xmm0, dword [rax + rcx*8 - 0xc]
movss xmm1, dword [rax + rcx*8 - 8]
movss xmm2, dword [rax + rcx*8 - 4]
mov eax, dword [rax + rcx*8 - 0x10]
mov dword [rbx + 0x238], eax
mov eax, r13d
movss dword [rbx + 0x23c], xmm0
and eax, 0x5000000
movss dword [rbx + 0x240], xmm1
movss dword [rbx + 0x244], xmm2
xor bl, bl
cmp eax, 0x1000000
jne 0x18004b242
cmp dword [rsp + 0x50], 0x3000000
je 0x18004b242
movsxd rax, dword [r12 + 0x190]
cmp eax, 2
jl 0x18004b20a
mov rcx, rax
mov rax, qword [r12 + 0x198]
mov rdx, qword [rax + rcx*8 - 0x10]
test rdx, rdx
je 0x18004b20a
movss xmm1, dword [rdi + 0x24]
movss xmm5, dword [rdx + 0x24]
movaps xmm2, xmm1
movss xmm7, dword [rdx + 0x20]
movaps xmm0, xmm5
addss xmm0, dword [rdx + 0x2c]
movss xmm6, dword [rdi + 0x20]
movaps xmm3, xmm7
addss xmm3, dword [rdx + 0x28]
addss xmm2, dword [rdi + 0x2c]
movaps xmm4, xmm6
comiss xmm0, xmm1
addss xmm4, dword [rdi + 0x28]
jbe 0x18004b20a
comiss xmm2, xmm5
jbe 0x18004b20a
comiss xmm3, xmm6
jbe 0x18004b20a
comiss xmm4, xmm7
jbe 0x18004b20a
mov r8b, 1
jmp 0x18004b20d
xor r8b, r8b
mov rdx, qword [rdi + 0x298]
movsxd rax, dword [rdx]
imul rcx, rax, 0x38
mov rax, qword [rdx + 8]
cmp dword [rcx + rax - 0x18], 0
jne 0x18004b242
mov rax, qword [r12 + 0x298]
cmp dword [rax + 0x20], 0
jle 0x18004b242
test r8b, r8b
jne 0x18004b242
mov bl, 1
mov qword [rdi + 0x298], rax
mov rax, qword [rsi + 0x4a10]
test rax, rax
jne 0x18004b255
mov rax, qword [rsi + 0x48a8]
test r15b, r15b
jne 0x18004b274
test rax, rax
je 0x18004b26f
mov rax, qword [rax + 0x388]
cmp qword [rdi + 0x388], rax
je 0x18004b274
xor r8b, r8b
jmp 0x18004b277
mov r8b, 1
movss dword [rsp + 0x30], xmm13
lea rax, [rbp + 0x20]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x70]
mov rcx, rdi
mov dword [rsp + 0x20], r14d
call fcn.180048bf0
test bl, bl
je 0x18004b2ab
lea rax, [rdi + 0x2a0]
mov qword [rdi + 0x298], rax
movss xmm5, dword [rdi + 0x48]
mov ecx, r13d
shr ecx, 3
not cl
and cl, 1
ucomiss xmm5, xmm14
jp 0x18004b307
jne 0x18004b307
movss xmm0, dword [rdi + 0x50]
mov eax, r13d
movss xmm1, dword [rdi + 0x28]
addss xmm0, xmm0
and eax, 0x808
subss xmm1, xmm0
movss xmm0, dword [rdi + 0x68]
addss xmm0, dword [rdi + 0x60]
subss xmm1, xmm0
cmp eax, 0x800
jne 0x18004b2fd
movss xmm7, dword [rdi + 0x38]
maxss xmm7, xmm1
jmp 0x18004b30a
movaps xmm7, xmm14
maxss xmm7, xmm1
jmp 0x18004b30a
movaps xmm7, xmm5
movss xmm4, dword [rdi + 0x4c]
ucomiss xmm4, xmm14
jp 0x18004b350
jne 0x18004b350
movss xmm0, dword [rdi + 0x54]
movss xmm1, dword [rdi + 0x2c]
addss xmm0, xmm0
subss xmm1, xmm0
movss xmm0, dword [rdi + 0x6c]
addss xmm0, dword [rdi + 0x64]
subss xmm1, xmm0
test cl, cl
je 0x18004b346
movss xmm6, dword [rdi + 0x3c]
maxss xmm6, xmm1
jmp 0x18004b353
movaps xmm6, xmm14
maxss xmm6, xmm1
jmp 0x18004b353
movaps xmm6, xmm4
ucomiss xmm5, xmm14
movss xmm8, dword [rdi + 0x50]
movss xmm10, dword [rdi + 0x84]
movaps xmm0, xmm8
maxss xmm0, dword [rdi + 0x5c]
movss xmm1, dword [rdi + 0x1f8]
subss xmm1, xmm10
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm3, eax
cvtdq2ps xmm3, xmm3
movss dword [rdi + 0x218], xmm3
addss xmm3, xmm7
movss xmm9, dword [rdi + 0x54]
movss xmm11, dword [rdi + 0x88]
movaps xmm1, xmm9
movss xmm0, dword [rdi + 0x1fc]
maxss xmm1, dword [rdi + 0x5c]
subss xmm0, xmm11
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm2, eax
cvtdq2ps xmm2, xmm2
movss dword [rdi + 0x21c], xmm2
addss xmm6, xmm2
movss dword [rdi + 0x220], xmm3
movss dword [rdi + 0x224], xmm6
movups xmm0, xmmword [rdi + 0x218]
movups xmmword [rdi + 0x228], xmm0
movss xmm12, dword [rdi + 0x20]
movss xmm6, dword [rdi + 0x60]
movaps xmm2, xmm12
subss xmm2, xmm10
addss xmm2, xmm8
addss xmm2, xmm6
movss dword [rdi + 0x248], xmm2
movss xmm13, dword [rdi + 0x24]
movss xmm7, dword [rdi + 0x64]
movaps xmm3, xmm13
subss xmm3, xmm11
addss xmm3, xmm9
addss xmm3, xmm7
movss dword [rdi + 0x24c], xmm3
jp 0x18004b461
jne 0x18004b461
movss xmm5, dword [rdi + 0x28]
movaps xmm0, xmm8
addss xmm0, xmm8
movaps xmm1, xmm6
addss xmm1, dword [rdi + 0x68]
subss xmm5, xmm0
subss xmm5, xmm1
ucomiss xmm4, xmm14
addss xmm2, xmm5
movss dword [rdi + 0x250], xmm2
jp 0x18004b493
jne 0x18004b493
movss xmm4, dword [rdi + 0x2c]
movaps xmm0, xmm9
addss xmm0, xmm9
movaps xmm1, xmm7
addss xmm1, dword [rdi + 0x6c]
subss xmm4, xmm0
subss xmm4, xmm1
xor r14d, r14d
addss xmm3, xmm4
cvtps2pd xmm2, xmm8
lea rcx, [rdi + 0x16c]
movss dword [rdi + 0x254], xmm3
movaps xmm0, xmm6
addss xmm0, xmm8
cvtps2pd xmm1, xmm10
subss xmm0, xmm10
movaps xmm10, xmmword [rsp + 0x180]
cvtps2pd xmm3, xmm9
movss dword [rdi + 0x144], xmm0
mov qword [rdi + 0x148], r14
cvtps2pd xmm0, xmm12
movaps xmm12, xmmword [rsp + 0x160]
addsd xmm2, xmm0
cvtps2pd xmm0, xmm6
subsd xmm2, xmm1
xorps xmm1, xmm1
addsd xmm2, xmm0
cvtps2pd xmm0, xmm13
movaps xmm13, xmmword [rsp + 0x150]
addsd xmm2, xmm1
addsd xmm3, xmm0
cvtps2pd xmm1, xmm11
movaps xmm11, xmmword [rsp + 0x170]
subsd xmm3, xmm1
cvtpd2ps xmm1, xmm2
cvtps2pd xmm0, xmm7
movss dword [rdi + 0x110], xmm1
addsd xmm3, xmm0
cvtpd2ps xmm0, xmm3
movss dword [rdi + 0x114], xmm0
movss xmm0, dword [rdi + 0x110]
movss xmm1, dword [rdi + 0x114]
cvtps2pd xmm0, xmm0
cvtps2pd xmm1, xmm1
subsd xmm2, xmm0
subsd xmm3, xmm1
cvtpd2ps xmm2, xmm2
cvtpd2ps xmm0, xmm3
movss dword [rdi + 0x150], xmm2
movss dword [rdi + 0x154], xmm0
movss xmm0, dword [rdi + 0x114]
movss xmm1, dword [rdi + 0x110]
movss dword [rdi + 0x100], xmm1
movss dword [rdi + 0x104], xmm0
movss dword [rdi + 0x108], xmm1
movss dword [rdi + 0x10c], xmm0
movss dword [rdi + 0x118], xmm1
movss dword [rdi + 0x11c], xmm0
movss dword [rdi + 0x120], xmm1
movss dword [rdi + 0x124], xmm0
mov qword [rdi + 0x130], r14
mov qword [rdi + 0x128], r14
mov qword [rdi + 0x138], r14
mov word [rdi + 0x140], r14w
mov dword [rdi + 0x158], r14d
movzx eax, word [rdi + 0x15e]
mov word [rdi + 0x15c], ax
mov word [rdi + 0x15e], r14w
mov byte [rdi + 0x160], r14b
movss xmm0, dword [rdi + 0x90]
comiss xmm0, xmm14
seta al
mov byte [rdi + 0x161], al
mov byte [rdi + 0x162], r14b
movss xmm0, dword [rsi + 0x383c]
cmp byte [rsp + 0x40], r14b
je 0x18004b636
xor eax, eax
mov qword [rcx + 0x12], rax
cvttss2si eax, xmm0
mov word [rcx + 8], ax
call fcn.18007d730
xor r11d, r11d
mov qword [rcx + 0x12], r11
mov eax, dword [rcx + 4]
mov dword [rcx], eax
mov dword [rcx + 4], r14d
mov qword [rdi + 0x188], r14
mov ecx, dword [rdi + 0x194]
test ecx, ecx
jns 0x18004b681
mov eax, ecx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x190]
test eax, eax
cmovg edx, eax
call fcn.180057770
mov dword [rdi + 0x190], r14d
lea rax, [rdi + 0x270]
mov qword [rdi + 0x1a0], rax
mov eax, 1
mov qword [rdi + 0x1a8], r14
mov dword [rdi + 0x1b4], eax
test r12, r12
je 0x18004b6b5
mov eax, dword [r12 + 0x1b4]
mov dword [rdi + 0x1b8], eax
mov eax, dword [rdi + 0x268]
mov dword [rdi + 0x1bc], eax
mov dword [rdi + 0x1c0], 0xbf800000
mov ecx, dword [rdi + 0x1cc]
test ecx, ecx
jns 0x18004b6f8
mov eax, ecx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x1c8]
test eax, eax
cmovg edx, eax
call fcn.180057ee0
mov dword [rdi + 0x1c8], r14d
mov ecx, dword [rdi + 0x1dc]
test ecx, ecx
jns 0x18004b726
mov eax, ecx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x1d8]
test eax, eax
cmovg edx, eax
call fcn.180057ee0
mov dword [rdi + 0x1d8], r14d
movzx eax, byte [rdi + 0xd0]
test al, al
jle 0x18004b740
dec al
mov byte [rdi + 0xd0], al
movzx eax, byte [rdi + 0xd1]
test al, al
jle 0x18004b753
dec al
mov byte [rdi + 0xd1], al
test r15b, r15b
je 0x18004b76a
mov rcx, rdi
call fcn.18004bd50
xor edx, edx
mov rcx, rdi
call fcn.180052170
movss xmm8, dword [rsp + 0x7c]
movss xmm7, dword [rsp + 0x78]
movss xmm6, dword [rsp + 0x74]
movss xmm9, dword [rsp + 0x70]
test r13b, 1
jne 0x18004b7c0
mov r8, qword [rbp - 0x80]
lea rdx, [rbp - 8]
movaps xmm0, xmm9
movss dword [rbp - 4], xmm6
addss xmm0, dword [rdi + 0x5c]
movaps xmm1, xmm7
movss dword [rbp + 4], xmm8
subss xmm1, dword [rdi + 0x5c]
mov rcx, rdi
movss dword [rbp - 8], xmm0
movss dword [rbp], xmm1
call fcn.1800492e0
mov rdx, qword [0x18022eb78]
mov dword [rdi + 0x258], r14d
movss xmm1, dword [rdx + 0x3854]
movss xmm0, dword [rdx + 0x3858]
subss xmm9, xmm1
addss xmm7, xmm1
movss xmm1, dword [rdx + 0xe08]
addss xmm8, xmm0
subss xmm6, xmm0
comiss xmm1, xmm9
movaps xmm9, xmmword [rsp + 0x190]
jb 0x18004b825
movss xmm0, dword [rdx + 0xe0c]
comiss xmm0, xmm6
jb 0x18004b825
comiss xmm7, xmm1
jbe 0x18004b825
comiss xmm8, xmm0
mov r8d, 1
ja 0x18004b828
mov r8d, r14d
mov eax, dword [rdi + 0x7c]
mov ecx, dword [rsi + 0x4748]
movups xmm0, xmmword [rsp + 0x70]
mov dword [rdx + 0x4764], eax
movaps xmm8, xmmword [rsp + 0x1a0]
movaps xmm7, xmmword [rsp + 0x1b0]
movaps xmm6, xmmword [rsp + 0x1c0]
movups xmmword [rdx + 0x4780], xmm0
mov dword [rdx + 0x4768], ecx
movups xmmword [rdx + 0x4770], xmm0
mov dword [rdx + 0x476c], r8d
mov eax, dword [rsi + 0x474c]
test eax, eax
je 0x18004b905
cmp dword [rdi + 0x10], eax
je 0x18004b888
cmp dword [rdi + 0x7c], eax
jne 0x18004b905
call fcn.180056ca0
jmp 0x18004b905
mov rcx, qword [0x18022eb78]
mov qword [rcx + 0x3ec8], rdi
movsxd rax, dword [rdi + 0x1b0]
cmp eax, 0xffffffff
je 0x18004b8bc
imul rdx, rax, 0x238
add rdx, qword [rcx + 0x4b30]
xor r14d, r14d
jmp 0x18004b8c2
xor r14d, r14d
mov edx, r14d
mov qword [rcx + 0x4b08], rdx
mov rax, qword [rdi]
movss xmm0, dword [rax + 0x3c2c]
mov rax, qword [rdi + 0x368]
mulss xmm0, dword [rdi + 0x290]
test rax, rax
je 0x18004b8f0
mulss xmm0, dword [rax + 0x290]
mov r12, qword [rsp + 0x68]
movss dword [rcx + 0x3c40], xmm0
movss dword [rcx + 0x3c28], xmm0
lea rdx, [rdi + 0x210]
mov r8b, 1
lea rcx, [rdi + 0x208]
call fcn.180045700
mov eax, dword [rsp + 0x58]
mov r15, qword [rsp + 0x1d0]
mov rbx, qword [rsp + 0x218]
mov byte [rdi + 0xb8], 0
inc word [rdi + 0xc2]
mov dword [rsi + 0x47a0], r14d
mov r14, qword [rsp + 0x1d8]
cmp eax, dword [rsp + 0x5c]
je 0x18004bab3
bt r13d, 0x18
jae 0x18004ba20
test r13b, 0x40
jne 0x18004b9e1
cmp byte [rdi + 0xd0], 0
jg 0x18004b9e1
cmp byte [rdi + 0xd1], 0
jg 0x18004b9e1
bt r13d, 0x17
jae 0x18004b9a9
cmp byte [rsi + 0x48e8], 0
je 0x18004b9a9
mov rcx, qword [rsi + 0x48a8]
test rcx, rcx
je 0x18004b9a9
mov rax, qword [rdi + 0x390]
cmp qword [rcx + 0x390], rax
jne 0x18004b9a9
mov al, 1
jmp 0x18004b9ab
xor al, al
cmp byte [rsi + 0x5c38], 0
jne 0x18004b9e1
test al, al
jne 0x18004b9e1
movss xmm0, dword [rdi + 0x1e8]
comiss xmm0, dword [rdi + 0x1f0]
jae 0x18004b9da
movss xmm0, dword [rdi + 0x1ec]
comiss xmm0, dword [rdi + 0x1f4]
jb 0x18004b9e1
mov byte [rdi + 0xd8], 1
test r12, r12
je 0x18004ba20
cmp byte [r12 + 0xb9], 0
jne 0x18004b9fc
cmp byte [r12 + 0xd8], 0
jle 0x18004ba03
mov byte [rdi + 0xd8], 1
cmp byte [r12 + 0xb9], 0
jne 0x18004ba19
cmp byte [r12 + 0xd9], 0
jle 0x18004ba20
mov byte [rdi + 0xd9], 1
comiss xmm14, dword [rsi + 0x37f0]
jb 0x18004ba31
mov byte [rdi + 0xd8], 1
cmp byte [rdi + 0xd8], 0
jg 0x18004ba51
cmp byte [rdi + 0xd9], 0
jg 0x18004ba51
xor cl, cl
cmp byte [rdi + 0xda], cl
jg 0x18004ba53
xor al, al
jmp 0x18004ba55
mov cl, 1
mov al, 1
mov byte [rdi + 0xbd], al
movzx eax, byte [rdi + 0xdb]
test al, al
jle 0x18004ba75
dec al
mov byte [rdi + 0xdb], al
or dword [rdi + 0x14], 0xc0200
xor al, al
cmp byte [rdi + 0xb9], al
jne 0x18004ba8b
cmp byte [rdi + 0xb6], al
je 0x18004ba8b
test cl, cl
je 0x18004baad
cmp byte [rdi + 0xd0], al
jg 0x18004baad
cmp byte [rdi + 0xd1], al
jg 0x18004baad
cmp byte [rdi + 0xd9], 0
mov ecx, 1
movzx eax, al
cmovle eax, ecx
mov byte [rdi + 0xbb], al
cmp byte [rdi + 0xbe], 0
movaps xmm14, xmmword [rsp + 0x140]
mov r13, qword [rsp + 0x1e0]
mov r12, qword [rsp + 0x1e8]
jne 0x18004bb28
cmp byte [rsi + 0x84], 0
je 0x18004bae6
cmp qword [rsp + 0x60], 0
je 0x18004bafe
cmp byte [rsi + 0x85], 0
je 0x18004bb28
movsx eax, byte [rsi + 0x5caa]
cmp eax, dword [rsi + 0x3e98]
jne 0x18004bb28
movzx eax, byte [rdi + 0xd0]
test al, al
jle 0x18004bb11
inc al
mov byte [rdi + 0xd0], al
movzx eax, byte [rdi + 0xd1]
test al, al
jle 0x18004bb24
inc al
mov byte [rdi + 0xd1], al
xor al, al
jmp 0x18004bb32
cmp byte [rdi + 0xbb], 0
sete al
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.180199a90
add rsp, 0x1f0
pop rdi
pop rsi
pop rbp
ret