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

Disassembly:
mov r11, rsp
push rbp
push rbx
push rsi
push rdi
push r12
push r15
lea rbp, [r11 - 0xd8]
sub rsp, 0x1a8
movaps xmmword [r11 - 0xb8], xmm13
mov rax, qword [0x14012f080]
xor rax, rsp
mov qword [rbp - 8], rax
mov rsi, qword [0x1401697b0]
mov r10d, 0xffffffff
mov qword [r11 + 0x10], r13
mov ebx, r8d
mov qword [r11 - 0x38], r14
mov r11, rcx
mov qword [rbp - 0x60], rcx
mov ecx, r10d
movzx r9d, byte [r11]
lea r8, [r11 + 1]
test r9b, r9b
je 0x1400406b4
lea rdi, [0x1400f2e50]
cmp r9b, 0x23
jne 0x140040698
cmp byte [r8], r9b
jne 0x140040698
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 [rdi + rdx*4]
test r9b, r9b
jne 0x140040685
not ecx
call fcn.14003dfd0
test rax, rax
mov qword [rsp + 0x48], rax
mov rdi, rax
sete byte [rsp + 0x31]
test rax, rax
jne 0x1400406dd
mov edx, ebx
mov rcx, r11
call fcn.14003e050
mov rdi, rax
mov edx, dword [rsi + 0x1b90]
mov ecx, ebx
mov r9d, dword [rdi + 0x290]
mov r15d, ebx
or r15d, 6
mov dword [rsp + 0x68], edx
and ecx, 0xc0200
mov dword [rsp + 0x64], r9d
cmp ecx, 0xc0200
cmovne r15d, ebx
lea rbx, [rsi + 0x1be0]
cmp dword [rbx], 0
jne 0x140040725
cmp byte [rsi + 0x1b9d], 0
je 0x140040725
mov al, 1
jmp 0x140040727
xor al, al
movzx r12d, byte [rdi + 0xbd]
mov byte [rdi + 0xa6], al
lea eax, [rdx - 1]
cmp r9d, eax
mov byte [rsp + 0x38], r12b
setl r8b
mov byte [rsp + 0x32], r8b
bt r15d, 0x1a
jae 0x140040782
movsxd rax, dword [rsi + 0x1da8]
lea rax, [rax + rax*2]
shl rax, 4
add rax, qword [rsi + 0x1da0]
cmp rdi, qword [rax + 8]
mov eax, dword [rax]
setne cl
cmp dword [rdi + 0xb0], eax
setne al
or cl, al
or r8b, cl
mov byte [rsp + 0x32], r8b
test r8b, r8b
jne 0x140040795
test r12b, r12b
jg 0x140040795
mov byte [rdi + 0xa4], r8b
jmp 0x1400407b1
or byte [rdi + 0xc0], 8
or byte [rdi + 0xc1], 8
or byte [rdi + 0xc2], 8
mov byte [rdi + 0xa4], 1
xor ecx, ecx
cmp r9d, edx
je 0x1400407f3
mov dword [rdi + 0x1c], r15d
mov dword [rdi + 0x290], edx
movsd xmm0, qword [rsi + 0x1b88]
mov word [rdi + 0xac], cx
cvtpd2ps xmm0, xmm0
movss dword [rdi + 0x294], xmm0
movzx eax, word [rsi + 0x1c00]
inc dword [rsi + 0x1c00]
mov word [rdi + 0xae], ax
jmp 0x1400407f7
mov r15d, dword [rdi + 0x1c]
movsxd rax, dword [rbx]
test eax, eax
jne 0x140040803
mov rax, rcx
jmp 0x140040814
mov rcx, rax
mov rax, qword [rsi + 0x1be8]
mov rax, qword [rax + rcx*8 - 8]
xor ecx, ecx
cmp r9d, edx
je 0x140040829
test r15d, 0x5000000
mov r13, rcx
cmovne r13, rax
jmp 0x140040830
mov r13, qword [rdi + 0x398]
lea r14, [rdi + 0xd8]
mov qword [rsp + 0x58], r13
cmp dword [r14], 0
mov eax, 8
jne 0x14004086d
cmp dword [r14 + 4], 0
jne 0x140040858
mov edx, eax
mov rcx, r14
call fcn.14004b750
mov eax, dword [rdi + 0x18]
movsxd rdx, dword [r14]
mov rcx, qword [r14 + 8]
mov dword [rcx + rdx*4], eax
mov eax, 8
inc dword [r14]
mov ecx, dword [rbx + 4]
mov r8d, dword [rbx]
cmp r8d, ecx
jne 0x14004089a
inc r8d
test ecx, ecx
je 0x140040888
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.14004b0d0
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov rdx, qword [0x1401697b0]
mov qword [rax + rcx*8], rdi
inc dword [rbx]
xor ebx, ebx
mov qword [rsi + 0x1c10], rdi
mov rax, qword [rdx + 0x1c10]
movzx ecx, word [rax + 0xd8]
mov word [rdi + 0x208], cx
movzx eax, word [rdx + 0x1d38]
mov word [rdi + 0x20a], ax
movzx eax, word [rdx + 0x1d48]
mov word [rdi + 0x20c], ax
movzx eax, word [rdx + 0x1d58]
mov word [rdi + 0x20e], ax
movzx eax, word [rdx + 0x1d68]
mov word [rdi + 0x210], ax
movzx eax, word [rdx + 0x1d88]
mov word [rdi + 0x212], ax
movzx eax, word [rdx + 0x1da8]
mov word [rdi + 0x214], ax
mov eax, r15d
and eax, 0x4000000
mov qword [rsi + 0x1c10], rbx
mov dword [rsp + 0x34], eax
je 0x140040964
lea rcx, [rsi + 0x1da8]
movsxd rax, dword [rcx]
lea rbx, [rax + rax*2]
shl rbx, 4
add rbx, qword [rsi + 0x1da0]
mov rdx, rbx
mov qword [rbx + 8], rdi
call fcn.14004ad80
mov eax, dword [rbx]
xor ebx, ebx
mov dword [rdi + 0xb0], eax
test r12b, r12b
jle 0x140040976
bt r15d, 0x18
jb 0x140040976
mov dword [rdi + 0x3c0], ebx
mov r10d, dword [rsp + 0x68]
mov r11d, dword [rsp + 0x64]
cmp r11d, r10d
je 0x140040a0b
mov qword [rdi + 0x398], r13
mov qword [rdi + 0x3b0], rdi
mov qword [rdi + 0x3a8], rdi
mov qword [rdi + 0x3a0], rdi
test r13, r13
je 0x1400409e5
mov eax, r15d
and eax, 0x3000000
cmp eax, 0x1000000
jne 0x1400409c7
mov rax, qword [r13 + 0x3a0]
mov qword [rdi + 0x3a0], rax
bt r15d, 0x1b
jb 0x1400409e5
test r15d, 0x5000000
je 0x1400409e5
mov rax, qword [r13 + 0x3a8]
mov qword [rdi + 0x3a8], rax
test dword [rdi + 0x1c], 0x800000
je 0x140040a0b
mov rcx, rdi
mov rax, qword [rcx + 0x398]
mov qword [rdi + 0x3b0], rax
mov rcx, rax
test dword [rax + 0x1c], 0x800000
jne 0x1400409f1
xor dl, dl
xor r12b, r12b
xor r13b, r13b
mov byte [rsp + 0x33], dl
test byte [rsi + 0x1cb0], 1
je 0x140040ab3
mov r8d, dword [rsi + 0x1cb4]
movzx ecx, byte [rdi + 0xc0]
movsx eax, cl
test r8d, eax
setne dl
mov byte [rsp + 0x33], dl
test r8d, eax
je 0x140040aa4
movss xmm0, dword [rsi + 0x1ccc]
movss xmm1, dword [rsi + 0x1cc8]
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm1, xmm0
comiss xmm1, dword [0x14011c464]
jbe 0x140040aa4
movsd xmm0, qword [rsi + 0x1cc0]
and ecx, 0xf1
mov eax, dword [rdi + 0xc0]
and eax, 0xffffff00
movsd qword [rdi + 0xc4], xmm0
movsd xmm1, qword [rsi + 0x1cc8]
or ecx, eax
mov dword [rdi + 0xc0], ecx
movsd qword [rdi + 0xcc], xmm1
jmp 0x140040ab3
lea rdx, [rsi + 0x1cc0]
mov rcx, rdi
call fcn.140043060
test byte [rsi + 0x1cb0], 2
xorps xmm13, xmm13
je 0x140040b06
movsx eax, byte [rdi + 0xc1]
lea rdx, [rsi + 0x1cd0]
mov r8d, dword [rsi + 0x1cb8]
and eax, r8d
je 0x140040ae9
movss xmm0, dword [rdx]
comiss xmm0, xmm13
jbe 0x140040ae9
mov r12b, 1
jmp 0x140040aed
test eax, eax
je 0x140040afe
movss xmm0, dword [rsi + 0x1cd4]
comiss xmm0, xmm13
jbe 0x140040afe
mov r13b, 1
mov rcx, rdi
call fcn.140043190
test byte [rsi + 0x1cb0], 0x80
je 0x140040b44
movss xmm0, dword [rsi + 0x1ce0]
comiss xmm0, xmm13
jb 0x140040b28
movss dword [rdi + 0x7c], xmm0
mov dword [rdi + 0x84], ebx
movss xmm0, dword [rsi + 0x1ce4]
comiss xmm0, xmm13
jb 0x140040b44
movss dword [rdi + 0x80], xmm0
mov dword [rdi + 0x88], ebx
test byte [rsi + 0x1cb0], 4
je 0x140040b5c
movsd xmm0, qword [rsi + 0x1cd8]
movsd qword [rdi + 0x48], xmm0
jmp 0x140040b69
cmp r11d, r10d
je 0x140040b69
mov qword [rdi + 0x48], 0
test byte [rsi + 0x1cb0], 8
je 0x140040bb7
mov ecx, dword [rsi + 0x1cbc]
movzx edx, byte [rsi + 0x1ce8]
test ecx, ecx
je 0x140040b8e
movsx eax, byte [rdi + 0xc2]
test ecx, eax
je 0x140040bb7
movzx ecx, byte [rdi + 0xc2]
mov eax, dword [rdi + 0xc0]
and ecx, 0xf1
shl ecx, 0x10
and eax, 0xff00ffff
or ecx, eax
mov byte [rdi + 0xa1], dl
mov dword [rdi + 0xc0], ecx
test byte [rsi + 0x1cb0], 0x20
je 0x140040bd2
mov rcx, rdi
call fcn.140042ae0
mov r10d, dword [rsp + 0x68]
mov r11d, dword [rsp + 0x64]
cmp byte [rdi + 0xa4], 0
je 0x140040bf0
and byte [rdi + 0xc0], 0xf7
and byte [rdi + 0xc1], 0xf7
and byte [rdi + 0xc2], 0xf7
mov r8d, 1
cmp r11d, r10d
je 0x140042788
movaps xmmword [rsp + 0x190], xmm6
mov eax, r15d
movaps xmmword [rsp + 0x180], xmm7
and eax, 0x3000000
movaps xmmword [rsp + 0x170], xmm8
movaps xmmword [rsp + 0x160], xmm9
movaps xmmword [rsp + 0x150], xmm10
movaps xmmword [rsp + 0x140], xmm11
movaps xmmword [rsp + 0x130], xmm12
movaps xmmword [rsp + 0x110], xmm14
mov byte [rdi + 0x9e], r8b
mov byte [rdi + 0xa7], 0
movaps xmmword [rsp + 0x100], xmm15
mov dword [rdi + 0x268], 0xff7fffff
mov dword [rdi + 0x26c], 0xff7fffff
mov dword [rdi + 0x270], 0x7f7fffff
mov dword [rdi + 0x274], 0x7f7fffff
mov ecx, dword [r14 + 4]
mov dword [rsp + 0x3c], eax
cmp ecx, r8d
jge 0x140040cc4
test ecx, ecx
je 0x140040ca8
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x140040cad
mov eax, 8
cmp eax, r8d
mov edx, r8d
mov rcx, r14
cmovg edx, eax
call fcn.14004b750
mov r8d, 1
mov dword [r14], r8d
mov rcx, qword [rdi + 0x2c8]
call fcn.140053190
cmp byte [rdi + 0x3f0], 0
mov dword [rdi + 0x1c8], 0xffffffff
je 0x140040d24
mov rcx, qword [rdi + 0x2c8]
mov edx, dword [rdi + 0x3e8]
add rcx, 0x10
mov byte [rdi + 0x3f0], 0
call fcn.14004b560
mov rcx, qword [rdi + 0x2c8]
mov edx, dword [rdi + 0x3ec]
add rcx, 0x20
call fcn.14004b320
mov qword [rdi + 0x3e8], 0
cmp qword [rsi + 0x1f08], 0
mov r9, qword [rsp + 0x48]
je 0x140040df4
test dword [rdi + 0x1c], 0x80000
jne 0x140040df4
test r9, r9
je 0x140040df4
mov r10, qword [rbp - 0x60]
mov r9, qword [rdi + 0x10]
mov rax, r10
mov r8, r9
sub r8, r10
nop
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140040d73
inc rax
test ecx, ecx
jne 0x140040d60
test edx, edx
je 0x140040def
movsxd r14, dword [rdi + 0x60]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [r10 + rbx], 0
jne 0x140040d82
inc rbx
cmp r14, rbx
jae 0x140040dd9
test r9, r9
je 0x140040dab
mov rax, qword [0x1401697b0]
test rax, rax
je 0x140040dab
dec dword [rax + 0x3b4]
mov rcx, r9
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x1401697b0]
test rax, rax
je 0x140040dc6
inc dword [rax + 0x3b4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r10, qword [rbp - 0x60]
mov r14, rbx
mov r9, rax
mov r8, rbx
mov rdx, r10
mov rcx, r9
call sub.VCRUNTIME140.dll_memcpy
mov qword [rdi + 0x10], rax
mov dword [rdi + 0x60], r14d
mov r9, qword [rsp + 0x48]
lea rdx, [rdi + 0x38]
mov rcx, rdi
lea r8, [rdi + 0x40]
call fcn.14003e6c0
movzx eax, byte [rdi + 0xbc]
test al, al
jle 0x140040e17
dec al
mov byte [rdi + 0xbc], al
movzx eax, byte [rdi + 0xbd]
test al, al
jle 0x140040e2a
dec al
mov byte [rdi + 0xbd], al
movzx eax, byte [rdi + 0xbe]
test al, al
jle 0x140040e3d
dec al
mov byte [rdi + 0xbe], al
test r9, r9
jne 0x140040e53
test r12b, r12b
je 0x140040e4c
test r13b, r13b
jne 0x140040e53
mov byte [rdi + 0xbd], 1
xor r8d, r8d
cmp byte [rsp + 0x32], r8b
je 0x140040e9c
test r15d, 0x6000000
je 0x140040e9c
mov byte [rdi + 0xbd], 1
test r15b, 0x40
je 0x140040e9c
test r12b, r12b
jne 0x140040e80
mov dword [rdi + 0x30], r8d
mov dword [rdi + 0x28], r8d
test r13b, r13b
jne 0x140040e8d
mov dword [rdi + 0x34], r8d
mov dword [rdi + 0x2c], r8d
mov qword [rdi + 0x40], 0
mov qword [rdx], 0
mov rcx, qword [0x1401697b0]
mov qword [rcx + 0x1c10], rdi
movsxd rax, dword [rdi + 0x1c8]
cmp eax, 0xffffffff
je 0x140040ec6
imul rdx, rax, 0x258
add rdx, qword [rcx + 0x2000]
jmp 0x140040ec9
mov rdx, r8
movss xmm0, dword [rcx + 0x1984]
mov qword [rcx + 0x1ff0], rdx
mov rax, qword [rdi + 0x398]
mulss xmm0, dword [rdi + 0x2c0]
test rax, rax
je 0x140040ef4
mulss xmm0, dword [rax + 0x2c0]
mov eax, r15d
movss dword [rcx + 0x1998], xmm0
and eax, 0x1000000
movss dword [rcx + 0x1980], xmm0
mov dword [rsp + 0x50], eax
je 0x140040f1c
movss xmm1, dword [rsi + 0x158c]
jmp 0x140040f3e
test r15d, 0x6000000
je 0x140040f36
bt r15d, 0x1b
jb 0x140040f36
movss xmm1, dword [rsi + 0x1594]
jmp 0x140040f3e
movss xmm1, dword [rsi + 0x1570]
movss dword [rdi + 0x5c], xmm1
mov eax, r15d
movsd xmm0, qword [rsi + 0x1564]
and eax, 0x5010000
movsd qword [rdi + 0x50], xmm0
cmp eax, 0x1000000
jne 0x140040f85
ucomiss xmm1, xmm13
jp 0x140040f85
jne 0x140040f85
bt r15d, 0xa
jae 0x140040f78
movss xmm0, dword [rsi + 0x1568]
jmp 0x140040f7c
movaps xmm0, xmm13
movss dword [rdi + 0x54], xmm0
mov dword [rdi + 0x50], r8d
movss xmm0, dword [rdi + 0x50]
maxss xmm0, dword [rsi + 0x15a8]
maxss xmm0, dword [rsi + 0x1d14]
movss dword [rdi + 0x170], xmm0
mov eax, dword [rsi + 0x1d18]
mov dword [rdi + 0x174], eax
test r15b, 0x21
jne 0x1400410f9
mov edx, dword [rdi + 0x1c]
test dl, 1
je 0x140040fc6
movaps xmm2, xmm13
jmp 0x140040ffa
mov rax, qword [rdi + 0x398]
movss xmm0, dword [rdi + 0x2c0]
mulss xmm0, dword [rcx + 0x1984]
test rax, rax
je 0x140040fea
mulss xmm0, dword [rax + 0x2c0]
movss xmm2, dword [rcx + 0x159c]
addss xmm2, xmm2
addss xmm2, xmm0
lea r14, [rdi + 0x30]
movss xmm3, dword [rdi + 0x20]
movaps xmm0, xmm3
movss xmm4, dword [rdi + 0x24]
addss xmm0, dword [r14]
addss xmm2, dword [rdi + 0x24]
cmp qword [rsi + 0x1c18], rdi
jne 0x1400410bd
cmp dword [rsi + 0x1c44], 0
jne 0x1400410bd
cmp dword [rsi + 0x1c48], 0
jne 0x1400410bd
mov rax, qword [rcx + 0x1c10]
movss xmm1, dword [rcx + 0x15c0]
movaps xmm5, xmm1
minss xmm0, dword [rax + 0x270]
maxss xmm3, dword [rax + 0x268]
maxss xmm4, dword [rax + 0x26c]
minss xmm2, dword [rax + 0x274]
addss xmm5, xmm0
movss xmm0, dword [rcx + 0x15c4]
subss xmm3, xmm1
movaps xmm6, xmm0
movss xmm1, dword [rcx + 0x128]
subss xmm4, xmm0
addss xmm6, xmm2
comiss xmm1, xmm3
jb 0x1400410bd
movss xmm0, dword [rcx + 0x12c]
comiss xmm0, xmm4
jb 0x1400410bd
comiss xmm5, xmm1
jbe 0x1400410bd
comiss xmm6, xmm0
jbe 0x1400410bd
cmp byte [rsi + 0x425], 0
je 0x1400410bd
mov byte [rdi + 0xa2], 1
cmp byte [rdi + 0xa2], 0
je 0x140041104
cmp byte [rdi + 0xa1], 0
sete al
mov byte [rdi + 0xa1], al
bt edx, 8
jb 0x1400410ef
comiss xmm13, dword [rcx + 0x302c]
jb 0x1400410ef
mov eax, dword [rcx + 0x1c]
mov dword [rcx + 0x302c], eax
mov rcx, rdi
call fcn.140042ae0
jmp 0x140041104
mov byte [rdi + 0xa1], 0
lea r14, [rdi + 0x30]
lea r8, [rdi + 0x40]
mov byte [rdi + 0xa2], 0
mov rdx, rdi
lea rcx, [rbp - 0x38]
call fcn.14003e7d0
movzx ebx, byte [rsp + 0x31]
mov eax, r15d
and eax, 0x40
mov byte [rsp + 0x30], bl
mov dword [rbp - 0x64], eax
je 0x14004116a
cmp byte [rdi + 0xa1], 0
jne 0x14004116a
test r12b, r12b
jne 0x14004114c
movss xmm0, dword [rbp - 0x38]
movss dword [r14], xmm0
mov byte [rsp + 0x31], 1
test r13b, r13b
jne 0x14004120e
movss xmm0, dword [rbp - 0x34]
mov bl, 1
movss dword [rdi + 0x34], xmm0
mov byte [rsp + 0x30], bl
jmp 0x14004120e
movzx eax, byte [rdi + 0xb4]
test al, al
jg 0x140041182
cmp byte [rdi + 0xb5], 0
jle 0x14004120e
test r12b, r12b
jne 0x1400411af
test al, al
jle 0x1400411af
cmp byte [rdi + 0xb7], r12b
je 0x1400411a0
movss xmm0, dword [r14]
maxss xmm0, dword [rbp - 0x38]
jmp 0x1400411a5
movss xmm0, dword [rbp - 0x38]
movss dword [r14], xmm0
mov byte [rsp + 0x31], 1
test r13b, r13b
jne 0x1400411e2
cmp byte [rdi + 0xb5], r13b
jle 0x1400411e2
cmp byte [rdi + 0xb7], r13b
je 0x1400411d2
movss xmm0, dword [rdi + 0x34]
maxss xmm0, dword [rbp - 0x34]
jmp 0x1400411d7
movss xmm0, dword [rbp - 0x34]
mov bl, 1
movss dword [rdi + 0x34], xmm0
mov byte [rsp + 0x30], bl
cmp byte [rdi + 0xa1], 0
jne 0x14004120e
test dword [rdi + 0x1c], 0x100
mov rcx, qword [0x1401697b0]
jne 0x14004120e
comiss xmm13, dword [rcx + 0x302c]
jb 0x14004120e
mov eax, dword [rcx + 0x1c]
mov dword [rcx + 0x302c], eax
mov r8, r14
lea rcx, [rsp + 0x78]
mov rdx, rdi
call fcn.14003e470
cmp byte [rdi + 0xa1], 0
mov edx, dword [rsp + 0x50]
movss xmm3, dword [rax]
movss xmm0, dword [rax + 4]
movss dword [r14], xmm3
movss dword [r14 + 4], xmm0
mov r14, qword [0x1401697b0]
je 0x1400412b8
test edx, edx
jne 0x1400412b8
test byte [rdi + 0x1c], 1
je 0x140041256
movaps xmm2, xmm13
jmp 0x14004128c
mov rax, qword [rdi + 0x398]
movss xmm0, dword [r14 + 0x1984]
mulss xmm0, dword [rdi + 0x2c0]
test rax, rax
je 0x14004127b
mulss xmm0, dword [rax + 0x2c0]
movss xmm2, dword [r14 + 0x159c]
addss xmm2, xmm2
addss xmm2, xmm0
movss xmm1, dword [rdi + 0x20]
lea r13, [rdi + 0x30]
addss xmm2, dword [rdi + 0x24]
movaps xmm0, xmm1
addss xmm0, xmm3
subss xmm2, dword [rdi + 0x24]
subss xmm0, xmm1
movss dword [rsp + 0x44], xmm2
movss dword [rsp + 0x40], xmm0
jmp 0x1400412c7
movsd xmm0, qword [rdi + 0x30]
lea r13, [rdi + 0x30]
movsd qword [rsp + 0x40], xmm0
mov ecx, dword [rdi + 0x1c]
lea rax, [rsp + 0x40]
movsd xmm0, qword [rax]
movsd qword [rdi + 0x28], xmm0
test cl, 1
je 0x1400412e3
movaps xmm1, xmm13
jmp 0x140041319
mov rax, qword [rdi + 0x398]
movss xmm0, dword [r14 + 0x1984]
mulss xmm0, dword [rdi + 0x2c0]
test rax, rax
je 0x140041308
mulss xmm0, dword [rax + 0x2c0]
movss xmm1, dword [r14 + 0x159c]
addss xmm1, xmm1
addss xmm1, xmm0
bt ecx, 0xa
jae 0x140041363
mov rax, qword [rdi + 0x398]
movss xmm14, dword [r14 + 0x1984]
mulss xmm14, dword [rdi + 0x2c0]
test rax, rax
je 0x140041346
mulss xmm14, dword [rax + 0x2c0]
movss xmm0, dword [r14 + 0x159c]
addss xmm14, dword [rdi + 0x174]
addss xmm0, xmm0
addss xmm14, xmm0
jmp 0x140041367
movaps xmm14, xmm13
cmp byte [rsp + 0x32], 0
addss xmm14, xmm1
movzx r12d, byte [rsp + 0x33]
je 0x1400413c2
mov eax, r15d
mov dword [rdi + 0xb8], 0xffffffff
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x1400413c2
test r12b, r12b
jne 0x1400413c2
movsxd rax, dword [rsi + 0x1da8]
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 0x1db0]
add rcx, rcx
movss xmm0, dword [rax + rcx*8 - 0x10]
movss xmm1, dword [rax + rcx*8 - 0xc]
movss dword [rdi + 0x20], xmm0
movss dword [rdi + 0x24], xmm1
test edx, edx
je 0x140041462
mov rdx, qword [rsp + 0x58]
lea rbx, [rdx + 0x1a8]
movzx eax, word [rbx]
mov word [rdi + 0xac], ax
mov ecx, dword [rbx + 4]
mov r8d, dword [rbx]
cmp r8d, ecx
jne 0x140041420
inc r8d
test ecx, ecx
je 0x1400413fd
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x140041402
mov eax, 8
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.14004b0d0
mov rdx, qword [rsp + 0x58]
mov r14, qword [0x1401697b0]
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov r8d, dword [rsp + 0x34]
mov qword [rax + rcx*8], rdi
inc dword [rbx]
mov eax, dword [rsp + 0x3c]
test r8d, r8d
jne 0x14004145b
test r12b, r12b
jne 0x14004145b
movzx ebx, byte [rsp + 0x30]
cmp eax, 0x3000000
je 0x14004146b
movsd xmm0, qword [rdx + 0xe8]
movsd qword [rdi + 0x20], xmm0
jmp 0x14004146b
movzx ebx, byte [rsp + 0x30]
jmp 0x14004146b
mov r8d, dword [rsp + 0x34]
mov eax, dword [rsp + 0x3c]
movss xmm1, dword [rdi + 0xc4]
ucomiss xmm1, dword [0x14011c7d8]
jp 0x14004147e
je 0x1400414cf
cmp byte [rdi + 0xbd], 0
jne 0x1400414cf
movss xmm0, dword [rdi + 0xcc]
lea rdx, [rsp + 0x40]
mulss xmm0, dword [rdi + 0x28]
xor r8d, r8d
mov rcx, rdi
subss xmm1, xmm0
movss xmm0, dword [rdi + 0xc8]
movss dword [rsp + 0x40], xmm1
movss xmm1, dword [rdi + 0xd0]
mulss xmm1, dword [rdi + 0x2c]
subss xmm0, xmm1
movss dword [rsp + 0x44], xmm0
call fcn.140043060
jmp 0x140041519
bt r15d, 0x1c
jb 0x1400414fa
test r8d, r8d
je 0x1400414e7
test r12b, r12b
jne 0x1400414e7
cmp byte [rsp + 0x38], r12b
jg 0x1400414fa
bt r15d, 0x19
jae 0x14004151e
test r12b, r12b
jne 0x14004151e
cmp eax, 0x3000000
je 0x14004151e
mov rdx, rdi
lea rcx, [rbp - 0x78]
call fcn.140045490
movss xmm1, dword [rax + 4]
movss xmm0, dword [rax]
movss dword [rdi + 0x20], xmm0
movss dword [rdi + 0x24], xmm1
mov r8d, dword [rsp + 0x34]
mov rax, qword [r14 + 0x1dc0]
movss xmm3, dword [rsi + 0x1608]
movss xmm2, dword [rsi + 0x1604]
maxss xmm3, dword [rsi + 0x1610]
mov rcx, qword [rax]
maxss xmm2, dword [rsi + 0x160c]
movss xmm8, dword [rcx + 4]
movss xmm7, dword [rcx + 8]
movaps xmm15, xmm8
movss xmm0, dword [rcx + 0x14]
movaps xmm6, xmm7
movss xmm1, dword [rcx + 0x18]
movaps xmm5, xmm0
movss dword [rsp + 0x6c], xmm8
movaps xmm4, xmm1
movss dword [rbp - 0x48], xmm8
movss dword [rsp + 0x70], xmm7
movss dword [rbp - 0x44], xmm7
addss xmm6, dword [rcx + 0x10]
addss xmm5, dword [rcx + 0x1c]
addss xmm4, dword [rcx + 0x20]
addss xmm15, dword [rcx + 0xc]
mov ecx, dword [rsp + 0x50]
movss dword [rsp + 0x34], xmm6
movss dword [rbp - 0x3c], xmm6
subss xmm5, xmm2
subss xmm4, xmm3
movss dword [rbp - 0x40], xmm15
addss xmm2, xmm0
addss xmm3, xmm1
movss dword [rbp - 0x20], xmm5
movss dword [rbp - 0x1c], xmm4
movss dword [rbp - 0x28], xmm2
movss dword [rbp - 0x24], xmm3
test r12b, r12b
jne 0x14004169a
test ecx, ecx
jne 0x14004169a
cmp byte [rdi + 0xb4], r12b
jg 0x14004169a
cmp byte [rdi + 0xb5], r12b
jg 0x14004169a
movaps xmm0, xmm15
subss xmm0, xmm8
comiss xmm0, xmm13
jbe 0x14004169a
movaps xmm0, xmm6
subss xmm0, xmm7
comiss xmm0, xmm13
jbe 0x14004169a
movss xmm0, dword [rdi + 0x2c]
cmp byte [r14 + 0xcd], r12b
je 0x140041665
test byte [rdi + 0x1c], 1
jne 0x140041665
mov rax, qword [rdi + 0x398]
movss xmm1, dword [r14 + 0x1984]
mulss xmm1, dword [rdi + 0x2c0]
test rax, rax
je 0x140041654
mulss xmm1, dword [rax + 0x2c0]
movss xmm0, dword [r14 + 0x159c]
addss xmm0, xmm0
addss xmm0, xmm1
subss xmm2, dword [rdi + 0x28]
subss xmm3, xmm0
movss xmm0, dword [rdi + 0x24]
comiss xmm3, xmm0
ja 0x14004167f
movaps xmm3, xmm4
minss xmm3, xmm0
movss xmm0, dword [rdi + 0x20]
comiss xmm2, xmm0
ja 0x140041690
movaps xmm2, xmm5
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
test ecx, ecx
je 0x1400416ca
movss xmm2, dword [rsi + 0x1588]
jmp 0x1400416eb
mov eax, r15d
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x1400416e3
movss xmm2, dword [rsi + 0x1590]
jmp 0x1400416eb
movss xmm2, dword [rsi + 0x156c]
xor dl, dl
movss dword [rdi + 0x58], xmm2
mov dword [rsp + 0x60], edx
cmp byte [rsp + 0x32], dl
je 0x140041723
bt r15d, 0xc
jb 0x140041723
test r8d, r8d
je 0x14004170f
mov byte [rsp + 0x60], 1
jmp 0x140041723
cmp dword [rsp + 0x3c], 0
mov ecx, 1
movzx edx, dl
cmove edx, ecx
mov dword [rsp + 0x60], edx
addss xmm2, dword [0x14011c5ec]
xorps xmm0, xmm0
mov dword [rbp - 0x30], 0xffffffff
movups xmmword [rbp - 0x18], xmm0
xor ecx, ecx
movss xmm0, dword [rsi + 0x1980]
cmp byte [rsi + 0xcc], cl
movaps xmm1, xmm0
mulss xmm0, dword [0x14011c4f4]
setne cl
mulss xmm1, dword [0x14011c5f0]
inc ecx
cmp byte [rdi + 0xa1], 0
addss xmm2, xmm0
mov dword [rsp + 0x40], ecx
maxss xmm1, xmm2
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbp - 0x68], xmm0
jne 0x1400417bd
lea rax, [rbp - 0x28]
mov r9d, ecx
mov qword [rsp + 0x28], rax
lea r8, [rbp - 0x30]
lea rax, [rbp - 0x18]
mov rcx, rdi
lea rdx, [rbp - 0x38]
mov qword [rsp + 0x20], rax
call fcn.14003ebc0
mov r14, qword [0x1401697b0]
test al, al
je 0x1400417bd
mov bl, 1
movzx ecx, bl
jmp 0x1400417c2
movzx ecx, byte [rsp + 0x31]
cmp byte [rdi + 0xa1], 0
movzx eax, byte [rbp - 0x30]
mov byte [rdi + 0xa8], al
jne 0x140041913
cmp qword [rsp + 0x48], 0
movss xmm2, dword [rdi + 0x230]
movss xmm3, dword [rdi + 0x234]
subss xmm2, dword [rdi + 0x228]
subss xmm3, dword [rdi + 0x22c]
movss xmm4, dword [rdi + 0x34]
movss xmm5, dword [r13]
subss xmm4, xmm14
addss xmm2, dword [rdi + 0x94]
addss xmm3, dword [rdi + 0x98]
jne 0x14004182f
mov qword [rbp - 0x58], 0
lea rax, [rbp - 0x58]
jmp 0x140041859
movss xmm0, dword [rdi + 0x50]
lea rax, [rbp - 0x50]
movss xmm1, dword [rdi + 0x54]
addss xmm0, xmm0
addss xmm1, xmm1
addss xmm0, dword [rdi + 0x38]
addss xmm1, dword [rdi + 0x3c]
movss dword [rbp - 0x50], xmm0
movss dword [rbp - 0x4c], xmm1
movss xmm6, dword [rax]
movss xmm1, dword [rax + 4]
test cl, cl
jne 0x140041869
movaps xmm5, xmm2
test bl, bl
jne 0x140041870
movaps xmm4, xmm3
bt r15d, 0xe
jb 0x140041886
comiss xmm1, xmm4
jbe 0x140041882
test r15b, 8
je 0x140041886
xor cl, cl
jmp 0x140041888
mov cl, 1
mov byte [rdi + 0x9d], cl
lea rdx, [rsi + 0x15d0]
bt r15d, 0xf
jb 0x1400418cf
test cl, cl
je 0x1400418a6
movss xmm0, dword [rdx]
jmp 0x1400418aa
movaps xmm0, xmm13
subss xmm5, xmm0
comiss xmm6, xmm5
jbe 0x1400418c2
mov eax, r15d
and eax, 0x808
cmp eax, 0x800
je 0x1400418cf
mov byte [rdi + 0x9c], 0
movaps xmm1, xmm13
jmp 0x1400418f5
mov byte [rdi + 0x9c], 1
test cl, cl
jne 0x1400418f1
comiss xmm1, xmm4
jbe 0x1400418e9
test r15b, 8
jne 0x1400418e9
mov cl, 1
jmp 0x1400418eb
xor cl, cl
mov byte [rdi + 0x9d], cl
movss xmm1, dword [rdx]
test cl, cl
je 0x1400418ff
movss xmm0, dword [rdx]
jmp 0x140041903
movaps xmm0, xmm13
movss dword [rdi + 0x94], xmm0
movss dword [rdi + 0x98], xmm1
mov r12d, r15d
and r12d, 0x5000000
cmp r12d, 0x1000000
jne 0x14004193d
cmp dword [rsp + 0x3c], 0x3000000
je 0x14004193d
mov rax, qword [rsp + 0x58]
add rax, 0x268
jmp 0x140041941
lea rax, [rbp - 0x48]
test byte [rdi + 0x1c], 1
movss xmm7, dword [rdi + 0x20]
movss xmm5, dword [rdi + 0x24]
movaps xmm3, xmm7
addss xmm3, dword [rdi + 0x28]
movups xmm6, xmmword [rax]
movaps xmm4, xmm5
addss xmm4, dword [rdi + 0x2c]
je 0x14004196a
movaps xmm2, xmm13
jmp 0x1400419a0
mov rax, qword [rdi + 0x398]
movss xmm0, dword [r14 + 0x1984]
mulss xmm0, dword [rdi + 0x2c0]
test rax, rax
je 0x14004198f
mulss xmm0, dword [rax + 0x2c0]
movss xmm2, dword [r14 + 0x159c]
addss xmm2, xmm2
addss xmm2, xmm0
movss xmm0, dword [rdi + 0x24]
addss xmm2, xmm5
movss dword [rsp + 0x7c], xmm0
movaps xmm1, xmm7
addss xmm1, dword [r13]
movss dword [rsp + 0x78], xmm7
mov eax, r15d
and eax, 0x401
movss dword [rbp - 0x7c], xmm2
movss dword [rbp - 0x80], xmm1
movss dword [rdi + 0x218], xmm7
movaps xmm7, xmm6
movss dword [rdi + 0x21c], xmm5
movss dword [rdi + 0x220], xmm3
movaps xmm3, xmm6
movss dword [rdi + 0x224], xmm4
movaps xmm4, xmm6
movss xmm0, dword [rdi + 0x218]
shufps xmm4, xmm6, 0x55
maxss xmm0, xmm6
shufps xmm3, xmm6, 0xaa
maxss xmm5, xmm4
shufps xmm7, xmm6, 0xff
movss dword [rdi + 0x218], xmm0
movss dword [rdi + 0x21c], xmm5
movss xmm1, dword [rdi + 0x220]
movss xmm0, dword [rdi + 0x224]
minss xmm1, xmm3
minss xmm0, xmm7
movss dword [rdi + 0x220], xmm1
movss dword [rdi + 0x224], xmm0
movss xmm10, dword [rdi + 0x20]
movss xmm5, dword [rdi + 0x24]
movaps xmm8, xmm10
movss dword [rdi + 0x228], xmm10
movaps xmm9, xmm5
addss xmm9, xmm14
addss xmm8, dword [rdi + 0x28]
addss xmm5, dword [rdi + 0x2c]
movss dword [rdi + 0x22c], xmm9
subss xmm8, dword [rdi + 0x94]
subss xmm5, dword [rdi + 0x98]
movss dword [rdi + 0x230], xmm8
movss dword [rdi + 0x234], xmm5
cmp eax, 1
jne 0x140041ab1
movss xmm11, dword [rdi + 0x5c]
jmp 0x140041aba
movss xmm11, dword [rsi + 0x15a4]
movss xmm12, dword [0x14011c540]
lea r13, [rdi + 0x238]
movss xmm0, dword [rdi + 0x50]
addss xmm10, xmm12
mulss xmm0, xmm12
addss xmm9, xmm12
lea r14, [rdi + 0x240]
addss xmm8, xmm12
addss xmm5, xmm12
cvttss2si eax, xmm0
subss xmm5, dword [rdi + 0x5c]
addss xmm9, xmm11
movd xmm1, eax
cvtdq2ps xmm1, xmm1
maxss xmm1, dword [rdi + 0x5c]
addss xmm10, xmm1
subss xmm8, xmm1
cvttss2si eax, xmm10
movd xmm10, eax
cvttss2si eax, xmm9
cvtdq2ps xmm10, xmm10
movd xmm0, eax
cvtdq2ps xmm0, xmm0
cvttss2si eax, xmm8
movss dword [rdi + 0x23c], xmm0
movss dword [r13], xmm10
movd xmm0, eax
cvtdq2ps xmm0, xmm0
cvttss2si eax, xmm5
movss dword [r14], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x244], xmm0
movss xmm0, dword [r13 + 4]
comiss xmm4, xmm0
jbe 0x140041b6f
movaps xmm1, xmm4
jmp 0x140041b76
movaps xmm1, xmm7
minss xmm1, xmm0
comiss xmm6, xmm10
jbe 0x140041b81
movaps xmm0, xmm6
jmp 0x140041b89
movaps xmm0, xmm3
minss xmm0, xmm10
movss dword [r13], xmm0
movss dword [r13 + 4], xmm1
movss xmm0, dword [r13 + 0xc]
comiss xmm4, xmm0
ja 0x140041ba7
minss xmm7, xmm0
movaps xmm4, xmm7
movss xmm0, dword [r13 + 8]
comiss xmm6, xmm0
jbe 0x140041bb7
movaps xmm3, xmm6
jmp 0x140041bbb
minss xmm3, xmm0
movss dword [r13 + 8], xmm3
movss dword [r13 + 0xc], xmm4
movss xmm0, dword [rdi + 0x28]
comiss xmm0, xmm13
jbe 0x140041be5
test r15d, 0x2000040
jne 0x140041be5
mulss xmm0, dword [0x14011c568]
jmp 0x140041bf5
movss xmm0, dword [rsi + 0x1980]
mulss xmm0, dword [0x14011c6cc]
cvttss2si eax, xmm0
mov rdx, rdi
lea rcx, [rbp - 0x78]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x298], xmm0
movss xmm0, dword [rdi + 0x230]
subss xmm0, dword [rdi + 0x228]
movss xmm1, dword [rdi + 0x50]
addss xmm1, xmm1
addss xmm1, dword [rdi + 0x38]
subss xmm1, xmm0
movaps xmm0, xmm13
maxss xmm0, xmm1
movss xmm1, dword [rdi + 0x54]
addss xmm1, xmm1
movss dword [rdi + 0x74], xmm0
movss xmm0, dword [rdi + 0x234]
subss xmm0, dword [rdi + 0x22c]
addss xmm1, dword [rdi + 0x3c]
subss xmm1, xmm0
movaps xmm0, xmm13
maxss xmm0, xmm1
movss dword [rdi + 0x78], xmm0
call fcn.140044100
mov rcx, qword [rdi + 0x2c8]
movss xmm0, dword [rax]
movss xmm1, dword [rax + 4]
movss dword [rdi + 0x6c], xmm0
movss dword [rdi + 0x70], xmm1
mov dword [rdi + 0x7c], 0x7f7fffff
mov dword [rdi + 0x80], 0x7f7fffff
mov rax, qword [rsi + 0x1978]
mov rdx, qword [rax + 0x40]
mov rdx, qword [rdx + 8]
call fcn.140053820
mov rcx, qword [0x1401697b0]
movaps xmm0, xmm6
unpckhpd xmm0, xmm6
xor r9d, r9d
movq r8, xmm0
movq rdx, xmm6
mov rax, qword [rcx + 0x1c10]
mov byte [rax + 0xa0], 1
mov rbx, qword [rcx + 0x1c10]
mov rcx, qword [rbx + 0x2c8]
call fcn.140053700
mov rax, qword [rbx + 0x2c8]
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 + 0x268], eax
movss dword [rbx + 0x26c], xmm0
movss dword [rbx + 0x270], xmm1
movss dword [rbx + 0x274], xmm2
mov r9, qword [0x1401697b0]
bt r15d, 0x1b
jae 0x140041d9a
mov eax, dword [r9 + 0x1d98]
sub eax, 1
js 0x140041d81
movsxd rdx, eax
mov rax, qword [r9 + 0x1da0]
add rax, 8
lea r8, [rdx + rdx*2]
shl r8, 4
add r8, rax
mov rax, qword [r8]
test rax, rax
je 0x140041d77
test dword [rax + 0x1c], 0x8000000
jne 0x140041d83
sub r8, 0x30
sub rdx, 1
jns 0x140041d66
xor eax, eax
cmp rdi, rax
jne 0x140041d9a
cmp byte [rdi + 0xbd], 0
jg 0x140041d9a
mov cl, 1
mov edx, 0x404
jmp 0x140041da1
xor cl, cl
mov edx, 0x3f4
mov rax, qword [rsi + 0x1f00]
test rax, rax
je 0x140041dba
cmp rdi, qword [rax + 0x3a0]
jne 0x140041dba
mov bl, 1
jmp 0x140041dbc
xor bl, bl
test cl, cl
jne 0x140041dc8
test bl, bl
je 0x140041f15
movups xmm1, xmmword [rdx + r9 + 0x1560]
lea rcx, [rbp - 0x78]
movss xmm0, dword [rsi + 0x1f44]
mulss xmm0, dword [r9 + 0x1560]
movups xmmword [rbp - 0x78], xmm1
shufps xmm1, xmm1, 0xff
mulss xmm1, xmm0
movss dword [rbp - 0x6c], xmm1
call fcn.140037cc0
mov rcx, qword [rdi + 0x2c8]
lea rdx, [rbp - 0x48]
mov r9d, eax
mov dword [rsp + 0x28], 0
lea r8, [rbp - 0x40]
movss dword [rsp + 0x20], xmm13
call fcn.140056240
test bl, bl
je 0x140041f15
cmp rdi, qword [rsi + 0x1f00]
jne 0x140041f15
movss xmm0, dword [rsi + 0x1980]
movss xmm2, dword [rdi + 0x20]
movss xmm3, dword [rdi + 0x24]
movaps xmm1, xmm2
addss xmm2, dword [rdi + 0x28]
movss xmm11, dword [rsp + 0x34]
subss xmm1, xmm0
movaps xmm4, xmm3
addss xmm3, dword [rdi + 0x2c]
subss xmm4, xmm0
addss xmm2, xmm0
movss dword [rbp - 0x48], xmm1
addss xmm3, xmm0
movss xmm0, dword [rsp + 0x6c]
comiss xmm0, xmm1
movss dword [rbp - 0x40], xmm2
movss dword [rbp - 0x3c], xmm3
movss dword [rbp - 0x44], xmm4
jb 0x140041ea6
movss xmm0, dword [rsp + 0x70]
comiss xmm0, xmm4
jb 0x140041ea6
comiss xmm2, xmm15
jb 0x140041ea6
comiss xmm3, xmm11
jae 0x140041f1c
mov rax, qword [0x1401697b0]
lea rcx, [rbp - 0x78]
movss xmm0, dword [rsi + 0x1f14]
mulss xmm0, dword [0x14011c4fc]
movups xmm1, xmmword [rax + 0x1944]
mulss xmm0, dword [rax + 0x1560]
movups xmmword [rbp - 0x78], xmm1
shufps xmm1, xmm1, 0xff
mulss xmm1, xmm0
movss dword [rbp - 0x6c], xmm1
call fcn.140037cc0
movss xmm0, dword [rsi + 0x156c]
lea r8, [rbp - 0x40]
mov rcx, qword [rdi + 0x2c8]
lea rdx, [rbp - 0x48]
mov r9d, eax
mov dword [rsp + 0x28], 0
movss dword [rsp + 0x20], xmm0
call fcn.140056240
jmp 0x140041f1c
movss xmm11, dword [rsp + 0x34]
xor bl, bl
cmp r12d, 0x1000000
jne 0x140041f65
cmp dword [rsp + 0x3c], 0x3000000
je 0x140041f65
mov rdx, qword [rdi + 0x2c8]
movsxd rax, dword [rdx]
imul rcx, rax, 0x38
mov rax, qword [rdx + 8]
cmp dword [rcx + rax - 0x18], 0
jne 0x140041f65
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x2c8]
cmp dword [rax + 0x20], 0
jle 0x140041f65
mov bl, 1
mov qword [rdi + 0x2c8], rax
mov rax, qword [rsi + 0x1ef8]
test rax, rax
jne 0x140041f78
mov rax, qword [rsi + 0x1dc8]
mov r12d, dword [rsp + 0x60]
test r12b, r12b
jne 0x140041f9c
test rax, rax
je 0x140041f97
mov rax, qword [rax + 0x3a8]
cmp qword [rdi + 0x3a8], rax
je 0x140041f9c
xor r8b, r8b
jmp 0x140041f9f
mov r8b, 1
movss xmm0, dword [rbp - 0x68]
lea rax, [rbp - 0x18]
mov r9d, dword [rsp + 0x40]
lea rdx, [rsp + 0x78]
movss dword [rsp + 0x28], xmm0
mov rcx, rdi
mov qword [rsp + 0x20], rax
call fcn.14003faa0
test bl, bl
je 0x140041fd7
lea rax, [rdi + 0x2d0]
mov qword [rdi + 0x2c8], rax
cmp qword [rsi + 0x1f00], rdi
jne 0x140042172
movss xmm1, dword [rsi + 0x1980]
movss xmm7, dword [rdi + 0x20]
movss xmm6, dword [rdi + 0x24]
movaps xmm9, xmm7
addss xmm7, dword [rdi + 0x28]
movss xmm2, dword [rdi + 0x58]
subss xmm9, xmm1
movss xmm0, dword [rsp + 0x6c]
movaps xmm8, xmm6
addss xmm6, dword [rdi + 0x2c]
movaps xmm10, xmm2
subss xmm8, xmm1
maxss xmm10, dword [rsi + 0x156c]
comiss xmm0, xmm9
addss xmm7, xmm1
addss xmm6, xmm1
jb 0x14004207e
movss xmm0, dword [rsp + 0x70]
comiss xmm0, xmm8
jb 0x14004207e
comiss xmm7, xmm15
jb 0x14004207e
comiss xmm6, xmm11
jb 0x14004207e
xorps xmm1, xmmword [0x14011cb00]
movaps xmm10, xmm2
subss xmm1, dword [0x14011c5ec]
movaps xmm0, xmm1
subss xmm9, xmm1
subss xmm8, xmm1
addss xmm0, xmm7
addss xmm1, xmm6
movaps xmm7, xmm0
movaps xmm6, xmm1
mov rax, qword [0x1401697b0]
lea rcx, [rbp - 0x48]
movss xmm0, dword [rsi + 0x1f14]
mov rbx, qword [rdi + 0x2c8]
movups xmm1, xmmword [rax + 0x1944]
mulss xmm0, dword [rax + 0x1560]
movups xmmword [rbp - 0x48], xmm1
shufps xmm1, xmm1, 0xff
mulss xmm1, xmm0
movss dword [rbp - 0x3c], xmm1
call fcn.140037cc0
mov r14d, eax
test eax, 0xff000000
je 0x14004216b
test byte [rbx + 0x30], 1
addss xmm9, xmm12
addss xmm8, xmm12
mov dword [rsp + 0x20], 0xffffffff
movaps xmm3, xmm10
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x40]
mov rcx, rbx
movss dword [rsp + 0x40], xmm9
movss dword [rsp + 0x44], xmm8
je 0x14004210e
subss xmm7, xmm12
subss xmm6, xmm12
jmp 0x14004211e
subss xmm7, dword [0x14011c53c]
subss xmm6, dword [0x14011c53c]
movss dword [rsp + 0x48], xmm7
movss dword [rsp + 0x4c], xmm6
call fcn.140055a60
movss xmm0, dword [0x14011c66c]
mov r9d, r14d
mov r8d, dword [rbx + 0x78]
mov rcx, rbx
mov rdx, qword [rbx + 0x80]
movss dword [rsp + 0x28], xmm0
mov dword [rsp + 0x20], 1
call fcn.140053b10
xor r8d, r8d
lea r14, [rdi + 0x240]
mov dword [rbx + 0x78], r8d
jmp 0x140042175
lea r14, [rdi + 0x240]
xor r8d, r8d
movss xmm6, dword [rdi + 0x48]
mov ecx, r15d
movaps xmm15, xmmword [rsp + 0x100]
movaps xmm12, xmmword [rsp + 0x130]
shr ecx, 3
not cl
and cl, 1
ucomiss xmm6, xmm13
jp 0x1400421e0
jne 0x1400421e0
movss xmm0, dword [rdi + 0x50]
mov eax, r15d
movss xmm1, dword [rdi + 0x28]
addss xmm0, xmm0
and eax, 0x808
subss xmm1, xmm0
subss xmm1, dword [rdi + 0x94]
cmp eax, 0x800
jne 0x1400421d5
movss xmm9, dword [rdi + 0x38]
maxss xmm9, xmm1
jmp 0x1400421e4
movaps xmm9, xmm13
maxss xmm9, xmm1
jmp 0x1400421e4
movaps xmm9, xmm6
movss xmm4, dword [rdi + 0x4c]
ucomiss xmm4, xmm13
jp 0x14004222c
jne 0x14004222c
movss xmm0, dword [rdi + 0x54]
movss xmm1, dword [rdi + 0x2c]
addss xmm0, xmm0
subss xmm1, xmm0
subss xmm1, xmm14
subss xmm1, dword [rdi + 0x98]
test cl, cl
je 0x140042221
movss xmm8, dword [rdi + 0x3c]
maxss xmm8, xmm1
jmp 0x140042230
movaps xmm8, xmm13
maxss xmm8, xmm1
jmp 0x140042230
movaps xmm8, xmm4
ucomiss xmm6, xmm13
movss xmm5, dword [rdi + 0x50]
xorps xmm2, xmm2
movss xmm10, dword [rdi + 0x6c]
movaps xmm1, xmm5
maxss xmm1, dword [rdi + 0x5c]
movss xmm0, dword [rdi + 0x228]
xorps xmm3, xmm3
movss xmm7, dword [rdi + 0x54]
subss xmm0, xmm10
movss xmm11, dword [rdi + 0x70]
addss xmm1, xmm0
movss xmm0, dword [rdi + 0x22c]
subss xmm0, xmm11
cvttss2si eax, xmm1
movaps xmm1, xmm7
maxss xmm1, dword [rdi + 0x5c]
cvtsi2ss xmm3, eax
addss xmm1, xmm0
addss xmm9, xmm3
cvttss2si eax, xmm1
movss xmm1, dword [rdi + 0x24]
subss xmm1, xmm11
cvtsi2ss xmm2, eax
addss xmm1, xmm7
addss xmm8, xmm2
shufps xmm2, xmm2, 0
movss xmm2, xmm9
shufps xmm2, xmm2, 0x27
addss xmm1, xmm14
movss xmm2, xmm8
shufps xmm2, xmm2, 0x39
movss xmm2, xmm3
movss xmm3, dword [rdi + 0x20]
movups xmmword [rdi + 0x248], xmm2
movups xmmword [rdi + 0x258], xmm2
movaps xmm2, xmm3
movss dword [rdi + 0x27c], xmm1
subss xmm2, xmm10
addss xmm2, xmm5
movss dword [rdi + 0x278], xmm2
jp 0x140042314
jne 0x140042314
movss xmm6, dword [rdi + 0x28]
movaps xmm0, xmm5
addss xmm0, xmm5
subss xmm6, xmm0
subss xmm6, dword [rdi + 0x94]
ucomiss xmm4, xmm13
addss xmm6, xmm2
movss dword [rdi + 0x280], xmm6
jp 0x140042345
jne 0x140042345
movss xmm4, dword [rdi + 0x2c]
movaps xmm0, xmm7
addss xmm0, xmm7
subss xmm4, xmm0
subss xmm4, xmm14
subss xmm4, dword [rdi + 0x98]
addss xmm5, xmm13
addss xmm7, xmm14
movaps xmm14, xmmword [rsp + 0x110]
addss xmm4, xmm1
subss xmm5, xmm10
movaps xmm10, xmmword [rsp + 0x150]
subss xmm7, xmm11
movaps xmm11, xmmword [rsp + 0x140]
movss dword [rdi + 0x284], xmm4
movss dword [rdi + 0x128], xmm5
addss xmm5, xmm13
mov qword [rdi + 0x12c], 0
addss xmm7, dword [rdi + 0x24]
addss xmm5, xmm3
movss dword [rdi + 0xf8], xmm5
movss dword [rdi + 0xfc], xmm7
movss dword [rdi + 0xe8], xmm5
movss dword [rdi + 0xec], xmm7
movss dword [rdi + 0xf0], xmm5
movss dword [rdi + 0xf4], xmm7
movss xmm0, dword [rdi + 0xf8]
movss xmm1, dword [rdi + 0xfc]
movss dword [rdi + 0x100], xmm0
movss dword [rdi + 0x104], xmm1
movss dword [rdi + 0x108], xmm0
movss dword [rdi + 0x10c], xmm1
mov qword [rdi + 0x118], 0
mov qword [rdi + 0x110], 0
mov qword [rdi + 0x120], 0
mov dword [rdi + 0x15c], r8d
mov eax, dword [rdi + 0x164]
mov dword [rdi + 0x160], eax
mov dword [rdi + 0x164], r8d
mov byte [rdi + 0x16c], 0
movss xmm0, dword [rdi + 0x78]
comiss xmm0, xmm13
seta al
cmp byte [rsp + 0x32], 0
mov byte [rdi + 0x16d], al
mov byte [rdi + 0x16e], 0
movss xmm0, dword [rsi + 0x15a8]
movss dword [rdi + 0x178], xmm0
mov qword [rdi + 0x17c], 0
je 0x14004248d
xor eax, eax
mov qword [rdi + 0x190], rax
mov dword [rdi + 0x198], eax
movss xmm1, dword [rdi + 0x17c]
cvttss2si eax, xmm1
addss xmm1, dword [rdi + 0x190]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x184], xmm0
movss dword [rdi + 0x17c], xmm1
mov dword [rdi + 0x190], r8d
movss xmm0, dword [rdi + 0x194]
comiss xmm0, xmm13
jbe 0x1400424e5
movss xmm0, dword [rdi + 0x178]
addss xmm0, dword [rdi + 0x17c]
movss dword [rdi + 0x17c], xmm0
movss xmm1, dword [rdi + 0x17c]
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x188], xmm0
addss xmm1, dword [rdi + 0x194]
movss dword [rdi + 0x17c], xmm1
mov dword [rdi + 0x194], r8d
movss xmm0, dword [rdi + 0x198]
comiss xmm0, xmm13
jbe 0x14004252d
addss xmm1, dword [rdi + 0x178]
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x18c], xmm0
addss xmm1, dword [rdi + 0x198]
movss dword [rdi + 0x17c], xmm1
mov qword [rdi + 0x198], 0
mov dword [rdi + 0x1a0], r8d
mov ecx, dword [rdi + 0x1ac]
test ecx, ecx
jns 0x14004258c
mov eax, ecx
cdq
sub eax, edx
mov edx, r8d
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x1a8]
test eax, eax
cmovg edx, eax
call fcn.14004b0d0
xor r8d, r8d
mov dword [rdi + 0x1a8], r8d
lea rax, [rdi + 0x2a0]
mov qword [rdi + 0x1b8], rax
mov ecx, 1
mov rax, qword [rsp + 0x58]
mov qword [rdi + 0x1c0], r8
mov dword [rdi + 0x1cc], ecx
test rax, rax
je 0x1400425c5
mov eax, dword [rax + 0x1cc]
jmp 0x1400425c7
mov eax, ecx
mov dword [rdi + 0x1d0], eax
mov qword [rdi + 0x1d4], 0xffffffffffffffff
mov eax, dword [rdi + 0x298]
mov dword [rdi + 0x1e0], eax
mov dword [rdi + 0x1e4], 0xbf800000
mov ecx, dword [rdi + 0x1ec]
test ecx, ecx
jns 0x140042618
mov eax, ecx
cdq
sub eax, edx
mov edx, r8d
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x1e8]
test eax, eax
cmovg edx, eax
call fcn.14004b750
xor r8d, r8d
mov dword [rdi + 0x1e8], r8d
mov ecx, dword [rdi + 0x1fc]
test ecx, ecx
jns 0x140042649
mov eax, ecx
cdq
sub eax, edx
mov edx, r8d
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x1f8]
test eax, eax
cmovg edx, eax
call fcn.14004b750
xor r8d, r8d
mov dword [rdi + 0x1f8], r8d
movzx eax, byte [rdi + 0xb4]
test al, al
jle 0x140042663
dec al
mov byte [rdi + 0xb4], al
movzx eax, byte [rdi + 0xb5]
test al, al
jle 0x140042676
dec al
mov byte [rdi + 0xb5], al
test r12b, r12b
je 0x14004268d
mov rcx, rdi
call fcn.140042ae0
xor edx, edx
mov rcx, rdi
call fcn.140045fa0
movss xmm8, dword [rbp - 0x7c]
movss xmm7, dword [rbp - 0x80]
movss xmm6, dword [rsp + 0x7c]
movss xmm9, dword [rsp + 0x78]
test r15b, 1
jne 0x1400426e1
mov r8, qword [rbp - 0x60]
lea rdx, [rbp - 0x48]
movaps xmm0, xmm9
movss dword [rbp - 0x44], xmm6
addss xmm0, dword [rdi + 0x5c]
movaps xmm1, xmm7
movss dword [rbp - 0x3c], xmm8
subss xmm1, dword [rdi + 0x5c]
mov rcx, rdi
movss dword [rbp - 0x48], xmm0
movss dword [rbp - 0x40], xmm1
call fcn.140040170
mov rax, qword [0x1401697b0]
xor ebx, ebx
mov dword [rdi + 0x288], ebx
movss xmm1, dword [rax + 0x15c0]
movss xmm0, dword [rax + 0x15c4]
subss xmm9, xmm1
addss xmm7, xmm1
movss xmm1, dword [rax + 0x128]
addss xmm8, xmm0
subss xmm6, xmm0
comiss xmm1, xmm9
movaps xmm9, xmmword [rsp + 0x160]
jb 0x140042744
movss xmm0, dword [rax + 0x12c]
comiss xmm0, xmm6
jb 0x140042744
comiss xmm7, xmm1
jbe 0x140042744
comiss xmm8, xmm0
lea ecx, [rbx + 1]
ja 0x140042746
mov ecx, ebx
mov eax, dword [rdi + 0x64]
movups xmm0, xmmword [rsp + 0x78]
mov r12d, dword [rsp + 0x50]
mov r15d, dword [rbp - 0x64]
movaps xmm8, xmmword [rsp + 0x170]
movaps xmm7, xmmword [rsp + 0x180]
movaps xmm6, xmmword [rsp + 0x190]
mov dword [rdi + 0x134], eax
mov dword [rdi + 0x138], ecx
movups xmmword [rdi + 0x13c], xmm0
jmp 0x14004280c
mov rcx, qword [0x1401697b0]
mov qword [rcx + 0x1c10], rdi
movsxd rax, dword [rdi + 0x1c8]
cmp eax, 0xffffffff
je 0x1400427b2
imul rdx, rax, 0x258
add rdx, qword [rcx + 0x2000]
jmp 0x1400427b5
mov rdx, rbx
movss xmm0, dword [rcx + 0x1984]
mov qword [rcx + 0x1ff0], rdx
mov rax, qword [rdi + 0x398]
mulss xmm0, dword [rdi + 0x2c0]
test rax, rax
je 0x1400427e0
mulss xmm0, dword [rax + 0x2c0]
mov r12d, r15d
movss dword [rcx + 0x1998], xmm0
and r12d, 0x1000000
movss dword [rcx + 0x1980], xmm0
and r15d, 0x40
lea r14, [rdi + 0x240]
lea r13, [rdi + 0x238]
movsxd rcx, dword [rsi + 0x1d78]
mov rax, qword [rsi + 0x1d80]
mov ecx, dword [rax + rcx*4 - 4]
mov dword [rdi + 0x1dc], ecx
test r12d, r12d
je 0x140042836
mov rbx, qword [rsp + 0x58]
mov eax, dword [rbx + 0x168]
jmp 0x14004283d
mov eax, ebx
mov rbx, qword [rsp + 0x58]
mov r8b, 1
mov dword [rdi + 0x168], eax
mov rdx, r14
mov rcx, r13
call fcn.14003cd70
mov r14, qword [rsp + 0x1a0]
xor eax, eax
mov r13, qword [rsp + 0x1e8]
mov byte [rdi + 0xa0], 0
inc word [rdi + 0xaa]
mov dword [rsi + 0x1cb0], eax
mov eax, dword [rsp + 0x64]
cmp eax, dword [rsp + 0x68]
je 0x140042984
test r12d, r12d
je 0x14004290e
test r15d, r15d
jne 0x1400428d7
cmp byte [rdi + 0xb4], r15b
jg 0x1400428d7
cmp byte [rdi + 0xb5], r15b
jg 0x1400428d7
cmp byte [rsi + 0x3084], r15b
jne 0x1400428d7
movss xmm0, dword [rdi + 0x218]
comiss xmm0, dword [rdi + 0x220]
jae 0x1400428d0
movss xmm0, dword [rdi + 0x21c]
comiss xmm0, dword [rdi + 0x224]
jb 0x1400428d7
mov byte [rdi + 0xbc], 1
test rbx, rbx
je 0x14004290e
cmp byte [rbx + 0xa1], 0
jne 0x1400428ee
cmp byte [rbx + 0xbc], 0
jle 0x1400428f5
mov byte [rdi + 0xbc], 1
cmp byte [rbx + 0xa1], 0
jne 0x140042907
cmp byte [rbx + 0xbd], 0
jle 0x14004290e
mov byte [rdi + 0xbd], 1
comiss xmm13, dword [rsi + 0x1560]
jb 0x14004291f
mov byte [rdi + 0xbc], 1
cmp byte [rdi + 0xbc], 0
jg 0x14004293e
cmp byte [rdi + 0xbd], 0
jg 0x14004293e
cmp byte [rdi + 0xbe], 0
jg 0x14004293e
xor cl, cl
jmp 0x140042940
mov cl, 1
xor al, al
mov byte [rdi + 0xa5], cl
cmp byte [rdi + 0xa1], al
jne 0x14004295c
cmp byte [rdi + 0x9e], al
je 0x14004295c
test cl, cl
je 0x14004297e
cmp byte [rdi + 0xb4], al
jg 0x14004297e
cmp byte [rdi + 0xb5], al
jg 0x14004297e
cmp byte [rdi + 0xbd], 0
mov ecx, 1
movzx eax, al
cmovle eax, ecx
mov byte [rdi + 0xa3], al
cmp byte [rdi + 0xa3], 0
sete al
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400dcfb0
movaps xmm13, xmmword [rsp + 0x120]
add rsp, 0x1a8
pop r15
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret