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

Disassembly:
mov rax, rsp
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1c8]
sub rsp, 0x288
movaps xmmword [rax - 0x58], xmm6
movaps xmmword [rax - 0x68], xmm7
movaps xmmword [rax - 0x78], xmm8
movaps xmmword [rax - 0x88], xmm9
movaps xmmword [rax - 0x98], xmm10
movaps xmmword [rax - 0xa8], xmm11
movaps xmmword [rax - 0xb8], xmm12
movaps xmmword [rax - 0xc8], xmm13
movaps xmmword [rax - 0xd8], xmm14
movaps xmmword [rax - 0xe8], xmm15
mov rax, qword [0x18005e008]
xor rax, rsp
mov qword [rbp + 0xd8], rax
mov dword [rbp - 0x78], r9d
mov qword [rbp - 0x50], r8
mov qword [rbp - 0x38], rdx
mov r15, rcx
mov qword [rbp - 0x10], rcx
mov rbx, qword [0x18005f058]
mov r12, rbx
mov qword [rsp + 0x70], rbx
mov rax, qword [rbx + 0x1c20]
mov byte [rax + 0x90], 1
mov rdi, qword [rbx + 0x1c20]
mov qword [rbp - 0x18], rdi
cmp byte [rdi + 0x93], 0
jne 0x18003efe0
mov r14d, dword [rbp + 0x1f8]
mov dword [rsp + 0x64], r14d
mov esi, r14d
shr esi, 0x1a
and sil, 1
mov dword [rsp + 0x5c], esi
mov eax, r14d
shr eax, 0xe
and al, 1
mov dword [rsp + 0x60], eax
mov eax, r14d
shr eax, 0xf
and al, 1
mov dword [rbp - 0x2c], eax
mov eax, r14d
shr eax, 0x10
not al
and al, 1
mov dword [rsp + 0x68], eax
mov eax, r14d
shr eax, 0x12
and al, 1
mov dword [rbp - 0x7c], eax
test sil, sil
je 0x18003eaf6
call fcn.18001b9b0
mov rbx, qword [0x18005f058]
movsxd rcx, dword [rdi + 0xc8]
mov rax, qword [rdi + 0xd0]
mov r8d, dword [rax + rcx*4 - 4]
xor edx, edx
mov rcx, r15
call fcn.18000ed50
mov r13d, eax
mov dword [rbp - 0x80], eax
cmp dword [rbx + 0x1c6c], eax
jne 0x18003eb27
mov dword [rbx + 0x1c70], eax
cmp dword [rbx + 0x1ca8], r13d
jne 0x18003eb37
mov byte [rbx + 0x1cac], 1
cmp dword [rbx + 0x1c54], r13d
jne 0x18003eb57
mov r8, r15
mov edx, 0xb
mov ecx, r13d
call fcn.1800228e0
mov rbx, qword [0x18005f058]
mov rcx, r15
cmp r15, 0xffffffffffffffff
jae 0x18003eb7d
movzx edx, byte [rcx]
test dl, dl
je 0x18003eb7d
lea rax, [rcx + 1]
cmp dl, 0x23
jne 0x18003eb74
cmp byte [rax], dl
je 0x18003eb7d
mov rcx, rax
cmp rax, 0xffffffffffffffff
jb 0x18003eb60
movss xmm0, dword [rbx + 0x1990]
movss xmm1, dword [0x180054244]
movss dword [rbp - 0x20], xmm1
movss xmm9, dword [0x180054230]
xorps xmm10, xmm10
cmp r15, rcx
jne 0x18003eba9
xorps xmm7, xmm7
jmp 0x18003ebed
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], r15
movss dword [rsp + 0x20], xmm1
movaps xmm3, xmm9
movaps xmm2, xmm0
lea rdx, [rbp - 0x68]
mov rcx, qword [rbx + 0x1988]
call fcn.180031f10
movss xmm0, dword [rbp - 0x68]
addss xmm0, dword [0x18005413c]
cvttss2si eax, xmm0
movd xmm7, eax
cvtdq2ps xmm7, xmm7
movss xmm0, dword [rbp - 0x64]
movss dword [rbp - 0x1c], xmm7
test sil, sil
je 0x18003ec09
movss xmm0, dword [r12 + 0x1990]
mulss xmm0, dword [0x1800541ac]
movss xmm6, dword [r12 + 0x15b0]
movaps xmm3, xmm6
addss xmm3, xmm6
addss xmm3, xmm0
call fcn.18001b830
movaps xmm2, xmm0
mov rdx, qword [rbp + 0x1f0]
mov rdx, qword [rdx]
lea rcx, [rbp - 0x68]
call fcn.18001b8b0
comiss xmm7, xmm10
jbe 0x18003ec4e
movaps xmm1, xmm7
addss xmm1, dword [r12 + 0x15c4]
jmp 0x18003ec51
xorps xmm1, xmm1
movss xmm12, dword [rdi + 0xdc]
movss dword [rbp - 0x74], xmm12
movaps xmm0, xmm12
movss xmm7, dword [rbp - 0x64]
movss dword [rbp - 0x24], xmm7
addss xmm0, xmm7
movss xmm8, dword [rdi + 0xd8]
movss dword [rbp - 0x30], xmm8
movaps xmm13, xmm8
movss xmm11, dword [rbp - 0x68]
addss xmm13, xmm11
movss dword [rbp - 0x40], xmm13
movss dword [rbp - 8], xmm8
movss dword [rbp - 4], xmm12
movss dword [rbp], xmm13
movss dword [rbp + 4], xmm0
movaps xmm2, xmm12
addss xmm2, xmm7
addss xmm1, xmm11
addss xmm1, xmm8
movss dword [rbp + 0x78], xmm8
movss dword [rbp + 0x7c], xmm12
movss dword [rbp + 0x80], xmm1
movss dword [rbp + 0x84], xmm2
mov rbx, rdi
mov qword [rbp - 0x48], rbx
xorps xmm0, xmm0
movups xmmword [rbp + 0x98], xmm0
subss xmm2, xmm12
subss xmm1, xmm8
movss dword [rbp - 0x68], xmm1
movss dword [rbp - 0x64], xmm2
lea rcx, [rbp - 0x68]
movaps xmm1, xmm6
call fcn.18001b4b0
test sil, sil
je 0x18003f0a6
mov r9d, 0x100
lea r8, [rbp - 8]
mov edx, r13d
lea rcx, [rbp + 0x78]
call fcn.18001b600
test al, al
je 0x18003efdb
mov r15d, dword [r12 + 0x1ce0]
movups xmm0, xmmword [r12 + 0x1cd8]
movups xmmword [rbp + 0x98], xmm0
movss dword [rdi + 0xd8], xmm8
movss dword [rdi + 0xdc], xmm12
mov rbx, qword [0x18005f058]
mov dword [rbp + 0x78], 3
movups xmm0, xmmword [rbx + 0x1668]
movups xmmword [rbp + 0x7c], xmm0
lea rcx, [rbx + 0x1d88]
lea rdx, [rbp + 0x78]
call fcn.180023220
movups xmm0, xmmword [r12 + 0x16a8]
movups xmmword [rbx + 0x1668], xmm0
movss xmm1, dword [r12 + 0x15b4]
mov ecx, 7
call fcn.18000f980
movss xmm1, dword [r12 + 0x15b8]
mov ecx, 8
call fcn.18000f980
mov rbx, qword [0x18005f058]
lea rcx, [rbx + 0x1d98]
movss xmm1, dword [rbx + 0x1578]
movss xmm0, dword [rbx + 0x157c]
mov dword [rbp - 0x68], 2
movss dword [rbp - 0x64], xmm1
movss dword [rbp - 0x60], xmm0
lea rdx, [rbp - 0x68]
call fcn.180023130
xor edi, edi
mov qword [rbx + 0x1578], rdi
movss xmm1, dword [rbp + 4]
movss xmm12, dword [rbp - 4]
movss dword [rbp - 0x74], xmm12
subss xmm1, xmm12
movss xmm13, dword [rbp]
movss dword [rbp - 0x40], xmm13
movaps xmm0, xmm13
movss xmm8, dword [rbp - 8]
movss dword [rbp - 0x30], xmm8
subss xmm0, xmm8
movss dword [rbp - 0x68], xmm0
movss dword [rbp - 0x64], xmm1
mov dword [rsp + 0x20], 4
lea r8, [rbp - 0x68]
mov edx, r13d
mov rcx, qword [rbp - 0x10]
call fcn.180015790
movzx r11d, al
mov r8, qword [0x18005f058]
movsxd rcx, dword [r8 + 0x1d98]
lea rdx, [rcx + rcx*2]
mov r9, qword [r8 + 0x1da0]
movsxd rcx, dword [r9 + rdx*4 - 0xc]
lea r10, [rcx + rcx*2]
lea rbx, [0x18004f2f0]
mov ecx, dword [rbx + r10*4 + 8]
cmp dword [rbx + r10*4], 8
jne 0x18003eec9
mov eax, dword [rbx + r10*4 + 4]
cmp eax, 1
jne 0x18003eeaa
mov eax, dword [r9 + rdx*4 - 8]
mov dword [rcx + r8 + 0x1570], eax
jmp 0x18003eec9
cmp eax, 2
jne 0x18003eec9
mov eax, dword [r9 + rdx*4 - 8]
mov dword [rcx + r8 + 0x1570], eax
mov eax, dword [r9 + rdx*4 - 4]
mov dword [rcx + r8 + 0x1574], eax
movsxd rcx, dword [r8 + 0x1d98]
lea eax, [rcx - 1]
mov dword [r8 + 0x1d98], eax
lea rax, [rcx - 2]
lea rcx, [rax + rax*2]
mov rdx, qword [r8 + 0x1da0]
movsxd rax, dword [rdx + rcx*4]
lea r10, [rax + rax*2]
mov r9d, dword [rbx + r10*4 + 8]
cmp dword [rbx + r10*4], 8
jne 0x18003ef32
mov eax, dword [rbx + r10*4 + 4]
cmp eax, 1
jne 0x18003ef15
mov eax, dword [rdx + rcx*4 + 4]
mov dword [r9 + r8 + 0x1570], eax
jmp 0x18003ef32
cmp eax, 2
jne 0x18003ef32
mov eax, dword [rdx + rcx*4 + 4]
mov dword [r9 + r8 + 0x1570], eax
mov eax, dword [rdx + rcx*4 + 8]
mov dword [r9 + r8 + 0x1574], eax
movsxd rcx, dword [r8 + 0x1d98]
lea eax, [rcx - 1]
mov dword [r8 + 0x1d98], eax
lea rax, [rcx - 2]
lea rcx, [rax + rax*2]
mov rdx, qword [r8 + 0x1da0]
movsxd rax, dword [rdx + rcx*4]
lea r10, [rax + rax*2]
mov r9d, dword [rbx + r10*4 + 8]
cmp dword [rbx + r10*4], 8
jne 0x18003ef9b
mov eax, dword [rbx + r10*4 + 4]
cmp eax, 1
jne 0x18003ef7e
mov eax, dword [rdx + rcx*4 + 4]
mov dword [r9 + r8 + 0x1570], eax
jmp 0x18003ef9b
cmp eax, 2
jne 0x18003ef9b
mov eax, dword [rdx + rcx*4 + 4]
mov dword [r9 + r8 + 0x1570], eax
mov eax, dword [rdx + rcx*4 + 8]
mov dword [r9 + r8 + 0x1574], eax
dec dword [r8 + 0x1d98]
movsxd rax, dword [r8 + 0x1d88]
lea rdx, [rax + rax*4]
mov rcx, qword [r8 + 0x1d90]
movsxd rax, dword [rcx + rdx*4 - 0x14]
add rax, rax
movups xmm0, xmmword [rcx + rdx*4 - 0x10]
movups xmmword [r8 + rax*8 + 0x1638], xmm0
dec dword [r8 + 0x1d88]
test r11b, r11b
jne 0x18003f044
call fcn.180015a60
call fcn.18001bae0
xor al, al
mov rcx, qword [rbp + 0xd8]
xor rcx, rsp
call fcn.18004ad00
lea r11, [rsp + 0x288]
movaps xmm6, xmmword [r11 - 0x18]
movaps xmm7, xmmword [r11 - 0x28]
movaps xmm8, xmmword [r11 - 0x38]
movaps xmm9, xmmword [r11 - 0x48]
movaps xmm10, xmmword [r11 - 0x58]
movaps xmm11, xmmword [r11 - 0x68]
movaps xmm12, xmmword [r11 - 0x78]
movaps xmm13, xmmword [r11 - 0x88]
movaps xmm14, xmmword [r11 - 0x98]
movaps xmm15, xmmword [r11 - 0xa8]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rbx, qword [r12 + 0x1c20]
mov qword [rbp - 0x48], rbx
movsx ecx, word [rbx + 0x132]
mov eax, dword [rbx + 0x12c]
bts ecx, eax
mov word [rbx + 0x132], cx
movss xmm0, dword [rbx + 0xd8]
addss xmm0, dword [r12 + 0x15ac]
movss dword [rbx + 0xd8], xmm0
movss xmm1, dword [r12 + 0x15b0]
addss xmm1, dword [rbx + 0xdc]
movss dword [rbx + 0xdc], xmm1
subss xmm11, dword [rbx + 0x84]
jmp 0x18003f0f9
bt r14d, 0x1c
jb 0x18003f0ef
mov r9d, 0x100
lea r8, [rbp - 8]
mov edx, r13d
lea rcx, [rbp + 0x78]
call fcn.18001b600
test al, al
je 0x18003efe0
movss xmm13, dword [rbp]
movss dword [rbp - 0x40], xmm13
movss xmm12, dword [rbp - 4]
movss dword [rbp - 0x74], xmm12
movss xmm8, dword [rbp - 8]
movss dword [rbp - 0x30], xmm8
mov r15d, dword [r12 + 0x1ce0]
xor edi, edi
mov edx, r13d
lea rcx, [rbp - 8]
call fcn.180011520
movzx edx, al
mov byte [rsp + 0x6d], al
mov eax, 1
test dl, dl
je 0x18003f11d
mov dword [r12 + 0x1fb0], eax
mov rsi, qword [0x18005f058]
add rsi, 0x2130
cmp dword [rsi], r13d
cmovne rsi, rdi
shr r15d, 8
and r15b, al
mov dword [rsp + 0x58], r15d
mov eax, dword [r12 + 0x1c6c]
cmp eax, r13d
je 0x18003f16f
cmp dword [r12 + 0x1e3c], r13d
je 0x18003f16a
cmp dword [r12 + 0x1e30], r13d
jne 0x18003f16f
cmp dword [r12 + 0x1e58], 2
jne 0x18003f16f
mov r13b, 1
jmp 0x18003f172
xor r13b, r13b
mov byte [rsp + 0x51], r13b
test dl, dl
je 0x18003f18b
cmp byte [r12 + 0x420], 0
je 0x18003f18b
mov r14b, 1
jmp 0x18003f18e
xor r14b, r14b
mov byte [rsp + 0x54], r14b
mov r8d, dword [rsp + 0x5c]
test r8b, r8b
je 0x18003f1ff
test rsi, rsi
je 0x18003f1ff
test eax, eax
jne 0x18003f1ff
movsxd rcx, dword [rbx + 0xc8]
mov rax, qword [rbx + 0xd0]
mov r8d, dword [rax + rcx*4 - 4]
xor edx, edx
lea rcx, str.SCROLLY
call fcn.18000ed50
mov ebx, eax
mov rcx, qword [0x18005f058]
cmp dword [rcx + 0x1c54], eax
jne 0x18003f1eb
lea r8, str.SCROLLY
mov edx, 0xb
mov ecx, eax
call fcn.1800228e0
cmp dword [r12 + 0x1ca8], ebx
jne 0x18003f1fa
mov dil, 1
jmp 0x18003f20c
mov r8d, dword [rsp + 0x5c]
xor dil, dil
test r8b, r8b
je 0x18003f280
test rsi, rsi
je 0x18003f280
mov rax, qword [rbp - 0x48]
movsxd rcx, dword [rax + 0xc8]
mov rax, qword [rax + 0xd0]
mov r8d, dword [rax + rcx*4 - 4]
xor edx, edx
lea rcx, str.SCROLLY
call fcn.18000ed50
mov ebx, eax
mov rcx, qword [0x18005f058]
cmp dword [rcx + 0x1c54], eax
jne 0x18003f255
lea r8, str.SCROLLY
mov edx, 0xb
mov ecx, eax
call fcn.1800228e0
mov r8d, dword [rsp + 0x5c]
cmp dword [r12 + 0x1c6c], ebx
jne 0x18003f280
mov bl, 1
mov byte [rsp + 0x50], bl
mov byte [rsp + 0x52], 0
mov byte [rsp + 0x78], 0
mov rax, qword [rbp - 0x48]
movss xmm9, dword [rax + 0x60]
jmp 0x18003f2a5
mov byte [rsp + 0x52], 0
mov byte [rsp + 0x78], 0
xor bl, bl
mov byte [rsp + 0x50], bl
test r8b, r8b
je 0x18003f2a1
mov rax, qword [rbp - 0x48]
movss xmm9, dword [rax + 0x60]
jmp 0x18003f2a5
mov byte [rsp + 0x50], bl
test rsi, rsi
je 0x18003f2ba
movzx eax, r8b
xor al, 1
cmp byte [rsi + 0x63], al
je 0x18003f2ba
mov r12b, 1
jmp 0x18003f2bd
xor r12b, r12b
test r14b, r14b
jne 0x18003f2e5
test dil, dil
jne 0x18003f2e5
test r13b, r13b
jne 0x18003f2e5
test r15b, r15b
jne 0x18003f2e5
test bl, bl
jne 0x18003f2e8
mov byte [rsp + 0x53], r13b
mov rax, qword [rsp + 0x70]
mov r11d, dword [rbp - 0x80]
jmp 0x18003f2ff
mov r13b, 1
mov byte [rsp + 0x53], 1
mov rax, qword [rsp + 0x70]
mov r11d, dword [rbp - 0x80]
cmp dword [rax + 0x1c6c], r11d
jne 0x18003f308
test r12b, r12b
je 0x18003f520
lea rsi, [rax + 0x2130]
mov dword [rsi + 0xe78], 0xbe99999a
mov rax, 0xffffffffffffffff
mov r14, qword [rbp - 0x50]
lea rax, [rax + 1]
cmp byte [r14 + rax], 0
jne 0x18003f324
lea ebx, [rax + 1]
mov ecx, dword [rsi + 0x34]
cmp ebx, ecx
jle 0x18003f35d
test ecx, ecx
je 0x18003f348
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18003f34d
mov eax, 8
mov edx, ebx
cmp eax, ebx
cmovg edx, eax
lea rcx, [rsi + 0x30]
call fcn.1800238c0
mov dword [rsi + 0x30], ebx
movsxd r8, ebx
mov rdx, r14
mov rcx, qword [rsi + 0x38]
call sub.VCRUNTIME140.dll_memcpy
mov ebx, dword [rbp - 0x78]
inc ebx
mov ecx, dword [rsi + 0x14]
cmp ebx, ecx
jle 0x18003f39f
test ecx, ecx
je 0x18003f38a
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18003f38f
mov eax, 8
mov edx, ebx
cmp eax, ebx
cmovg edx, eax
lea rcx, [rsi + 0x10]
call fcn.180023a20
mov dword [rsi + 0x10], ebx
mov ecx, dword [rsi + 0x24]
test ecx, ecx
jns 0x18003f3c4
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
mov edx, ecx
test eax, eax
cmovg edx, eax
lea rcx, [rsi + 0x20]
call fcn.1800238c0
xor ecx, ecx
mov dword [rsi + 0x20], ecx
mov byte [rsi + 0x40], cl
mov rdi, r14
mov r15, qword [rsi + 0x18]
mov rbx, r15
movsxd r14, dword [rbp - 0x78]
dec r14
lea r14, [r15 + r14*2]
cmp r15, r14
jae 0x18003f415
cmp byte [rdi], 0
je 0x18003f413
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp - 0x58]
call fcn.18000f070
movsxd rcx, eax
add rdi, rcx
mov eax, dword [rbp - 0x58]
test eax, eax
je 0x18003f413
mov word [rbx], ax
add rbx, 2
cmp rbx, r14
jb 0x18003f3e6
xor ecx, ecx
mov word [rbx], cx
sub rbx, r15
sar rbx, 1
mov dword [rsi + 4], ebx
mov r15, qword [rbp - 0x50]
sub edi, r15d
mov dword [rsi + 8], edi
mov r11d, dword [rbp - 0x80]
cmp dword [rsi], r11d
jne 0x18003f464
test r12b, r12b
jne 0x18003f464
mov dl, 1
mov ecx, ebx
cmp dword [rsi + 0x4c], ebx
cmovl ecx, dword [rsi + 0x4c]
mov dword [rsi + 0x4c], ecx
mov ecx, ebx
cmp dword [rsi + 0x50], ebx
cmovl ecx, dword [rsi + 0x50]
mov dword [rsi + 0x50], ecx
cmp dword [rsi + 0x54], ebx
cmovl ebx, dword [rsi + 0x54]
mov dword [rsi + 0x54], ebx
mov r8d, dword [rsp + 0x5c]
jmp 0x18003f4b3
xor dl, dl
mov dword [rsi], r11d
mov qword [rsi + 0x48], 0
mov dword [rsi + 0xe6a], 0x630000
mov dword [rsi + 0xe70], ecx
mov dword [rsi + 0xe74], 0x3e7
mov qword [rsi + 0x50], 0
mov word [rsi + 0x61], 1
mov dword [rsi + 0x68], ecx
mov byte [rsi + 0x60], dl
mov r8d, dword [rsp + 0x5c]
movzx eax, r8b
xor al, 1
mov byte [rsi + 0x63], al
mov byte [rsi + 0x58], dl
mov dword [rsi + 0x5c], ecx
mov r14d, dword [rsp + 0x64]
test r8b, r8b
jne 0x18003f50e
test r14b, 0x10
mov eax, dword [rsp + 0x78]
movzx eax, al
mov ecx, 1
cmovne eax, ecx
mov dword [rsp + 0x78], eax
mov rcx, qword [rsp + 0x70]
cmp byte [rsp + 0x51], r8b
je 0x18003f4f2
test dl, dl
je 0x18003f4ed
test byte [rcx + 0x1e40], 4
jne 0x18003f4f2
mov byte [rsp + 0x78], 1
cmp byte [rsp + 0x58], 0
jne 0x18003f509
cmp byte [rsp + 0x54], 0
je 0x18003f50e
cmp byte [rcx + 0x140], 0
je 0x18003f50e
mov byte [rsp + 0x78], 1
movzx ebx, byte [rsp + 0x50]
bt r14d, 0xd
jae 0x18003f529
mov byte [rsi + 0x58], 1
jmp 0x18003f529
mov r15, qword [rbp - 0x50]
mov r14d, dword [rsp + 0x64]
mov rdi, qword [rsp + 0x70]
cmp dword [rdi + 0x1c6c], r11d
je 0x18003f5d4
test r13b, r13b
je 0x18003f5c7
mov rdx, qword [rbp - 0x18]
mov ecx, r11d
call fcn.180011460
call fcn.18001d6a0
mov rcx, rdx
call fcn.18001aca0
mov eax, dword [rdi + 0x1c80]
or eax, 3
mov dword [rdi + 0x1c80], eax
mov r8d, dword [rsp + 0x5c]
test r8b, r8b
jne 0x18003f57b
test r14b, r14b
jns 0x18003f584
or eax, 0xc
mov dword [rdi + 0x1c80], eax
or dword [rdi + 0x1c84], 2
mov rax, qword [rdi + 0x1c88]
or rax, 0x180
mov qword [rdi + 0x1c88], rax
test r8b, r8b
je 0x18003f5af
or rax, 0x60
mov qword [rdi + 0x1c88], rax
mov r11d, dword [rbp - 0x80]
test r14d, 0x440
je 0x18003f5c7
or rax, 1
mov qword [rdi + 0x1c88], rax
cmp dword [rdi + 0x1c6c], r11d
jne 0x18003f66a
test rsi, rsi
jne 0x18003f643
mov rdx, qword [0x18005f058]
mov ecx, dword [rdx + 0x1c6c]
test ecx, ecx
setne al
mov byte [rdx + 0x1c78], al
xor r8d, r8d
test ecx, ecx
je 0x18003f611
mov dword [rdx + 0x1c74], r8d
mov word [rdx + 0x1c7b], r8w
mov dword [rdx + 0x1ca4], 0xffffffff
mov dword [rdx + 0x1c6c], r8d
mov word [rdx + 0x1c79], 0
mov qword [rdx + 0x1c98], r8
mov word [rdx + 0x1c7d], 0
mov qword [rdx + 0x1c80], 0
mov qword [rdx + 0x1c88], r8
cmp dword [rdi + 0x1c6c], r11d
jne 0x18003f66a
cmp byte [rdi + 0x420], 0
je 0x18003f673
cmp byte [rsp + 0x53], 0
jne 0x18003f673
test r13b, r13b
jne 0x18003f673
mov byte [rsp + 0x52], 1
mov cl, 1
jmp 0x18003f679
test rsi, rsi
je 0x18003f677
test bl, bl
je 0x18003f677
mov cl, 1
jmp 0x18003f679
xor cl, cl
mov byte [rsp + 0x50], cl
mov r13d, dword [rsp + 0x78]
test rsi, rsi
je 0x18003f69c
mov eax, dword [rsi + 0x54]
cmp dword [rsi + 0x50], eax
jne 0x18003f694
test r13b, r13b
je 0x18003f69c
test cl, cl
je 0x18003f69c
mov dl, 1
jmp 0x18003f69e
xor dl, dl
mov dword [rsp + 0x78], edx
movzx r12d, dl
mov byte [rsp + 0x7c], 0
mov byte [rsp + 0x54], 0
mov eax, dword [rsp + 0x60]
test al, al
je 0x18003f7a1
test rsi, rsi
je 0x18003f7a1
test cl, cl
jne 0x18003f6d1
test dl, dl
je 0x18003f7a9
mov r14d, dword [rbp - 0x78]
inc r14d
mov ecx, dword [rsi + 0x14]
cmp r14d, ecx
jle 0x18003f706
test ecx, ecx
je 0x18003f6ef
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18003f6f4
mov eax, 8
mov edx, r14d
cmp eax, r14d
cmovg edx, eax
lea rcx, [rsi + 0x10]
call fcn.180023a20
mov dword [rsi + 0x10], r14d
mov rdi, r15
mov r15, qword [rsi + 0x18]
mov rbx, r15
movsxd r14, r14d
dec r14
lea r14, [r15 + r14*2]
cmp r15, r14
jae 0x18003f750
cmp byte [rdi], 0
je 0x18003f750
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp - 0x58]
call fcn.18000f070
movsxd rcx, eax
add rdi, rcx
mov eax, dword [rbp - 0x58]
test eax, eax
je 0x18003f750
mov word [rbx], ax
add rbx, 2
cmp rbx, r14
jb 0x18003f723
xor edx, edx
mov word [rbx], dx
sub rbx, r15
sar rbx, 1
mov dword [rsi + 4], ebx
mov r15, qword [rbp - 0x50]
sub edi, r15d
mov dword [rsi + 8], edi
mov ecx, ebx
cmp dword [rsi + 0x4c], ebx
cmovl ecx, dword [rsi + 0x4c]
mov dword [rsi + 0x4c], ecx
mov ecx, ebx
cmp dword [rsi + 0x50], ebx
cmovl ecx, dword [rsi + 0x50]
mov dword [rsi + 0x50], ecx
cmp dword [rsi + 0x54], ebx
cmovl ebx, dword [rsi + 0x54]
mov dword [rsi + 0x54], ebx
cmp ecx, ebx
cmovne edx, r12d
mov dword [rsp + 0x78], edx
movzx ecx, byte [rsp + 0x50]
mov r11d, dword [rbp - 0x80]
mov eax, dword [rsp + 0x60]
test cl, cl
jne 0x18003f7ce
test dl, dl
jne 0x18003f7ce
mov r12, qword [rsp + 0x70]
cmp dword [r12 + 0x1c6c], r11d
je 0x18003f7d3
xor al, al
mov byte [rbp - 0x70], al
cmp qword [rbp - 0x38], 0
je 0x18003f7f1
test al, al
je 0x18003f7e5
mov rax, qword [rsi + 0x28]
jmp 0x18003f7e8
mov r12, qword [rsp + 0x70]
test al, al
jne 0x18003f7b8
test rsi, rsi
je 0x18003f7b8
cmp byte [rsi + 0x40], al
je 0x18003f7b8
mov al, 1
jmp 0x18003f7ba
mov rax, r15
cmp byte [rax], 0
jne 0x18003f7f1
mov al, 1
jmp 0x18003f7f3
xor al, al
mov byte [rsp + 0x53], al
mov r14d, dword [rbp - 0x2c]
test r14b, r14b
je 0x18003f89c
test al, al
jne 0x18003f89c
mov rdx, qword [r12 + 0x1988]
cmp dword [rdx + 0x18], 0x2a
ja 0x18003f820
mov r8, qword [rdx + 0x38]
jmp 0x18003f844
mov rax, qword [rdx + 0x20]
movzx ecx, word [rax + 0x54]
mov eax, 0xffff
cmp cx, ax
jne 0x18003f838
mov r8, qword [rdx + 0x38]
jmp 0x18003f844
lea rcx, [rcx + rcx*4]
mov rax, qword [rdx + 0x30]
lea r8, [rax + rcx*8]
lea rcx, [r12 + 0x2fb8]
mov eax, dword [rdx + 0x14]
mov dword [rcx + 0x14], eax
mov rax, qword [r12 + 0x1988]
mov edx, dword [rax + 0x5c]
mov dword [rcx + 0x5c], edx
mov rax, qword [r12 + 0x1988]
mov edx, dword [rax + 0x60]
mov dword [rcx + 0x60], edx
mov rax, qword [r12 + 0x1988]
mov edx, dword [rax + 0x64]
mov dword [rcx + 0x64], edx
mov rax, qword [r12 + 0x1988]
mov rdx, qword [rax + 0x40]
mov qword [rcx + 0x40], rdx
mov qword [rcx + 0x38], r8
mov eax, dword [r8 + 4]
mov dword [rcx + 0x10], eax
call fcn.18001afa0
xor ecx, ecx
mov dword [rbp - 0x58], ecx
movss xmm0, dword [0x18005410c]
mov ebx, dword [rbp - 0x80]
cmp dword [r12 + 0x1c6c], ebx
jne 0x18003fe99
mov eax, dword [rsi + 8]
mov dword [rbp - 0x58], eax
mov byte [rsi + 0xe7e], cl
mov eax, dword [rbp - 0x78]
mov dword [rsi + 0x44], eax
mov ecx, dword [rsp + 0x64]
mov dword [rsi + 0xe80], ecx
movzx edx, byte [r12 + 0x130]
test dl, dl
sete al
mov byte [r12 + 0x1c79], al
mov eax, 1
mov dword [r12 + 0x33a4], eax
movss xmm1, dword [r12 + 0x128]
subss xmm1, xmm8
subss xmm1, dword [r12 + 0x15ac]
addss xmm1, dword [rsi + 0x48]
mov r15d, dword [rsp + 0x5c]
test r15b, r15b
je 0x18003f939
movss xmm2, dword [r12 + 0x12c]
mov rax, qword [rbp - 0x48]
subss xmm2, dword [rax + 0xdc]
jmp 0x18003f947
movss xmm2, dword [r12 + 0x1990]
mulss xmm2, xmm0
movzx r14d, byte [r12 + 0xc9]
mov byte [rsp + 0x6c], r14b
test r13b, r13b
je 0x18003f97d
xor r15d, r15d
mov dword [rsi + 0x50], r15d
mov eax, dword [rsi + 4]
mov dword [rsi + 0x54], eax
mov dword [rsi + 0x4c], eax
mov byte [rsi + 0x62], r15b
lea rax, [rsi + 0xe7d]
mov byte [rax], 1
jmp 0x18003fcb3
movzx eax, byte [rsp + 0x6d]
test al, al
je 0x18003fbfd
cmp word [r12 + 0x42a], 2
jb 0x18003fbfd
cmp byte [r12 + 0x141], 0
jne 0x18003fbfd
lea rdi, [rsi + 0x4c]
cmp byte [rdi + 0x17], 0
je 0x18003f9b7
movaps xmm2, xmm10
mov rcx, rsi
call fcn.18003cf00
movsxd rdx, eax
mov dword [rdi], edx
mov dword [rdi + 4], edx
mov dword [rdi + 8], edx
mov byte [rdi + 0x16], 0
movzx ecx, word [r12 + 0x42a]
sub ecx, 2
test cl, 1
jne 0x18003fb6a
test eax, eax
je 0x18003f9fc
lea eax, [rdx - 1]
movsxd rcx, eax
mov rax, qword [rsi + 0x18]
cmp word [rax + rcx*2], 0xa
je 0x18003f9fc
xor cl, cl
jmp 0x18003f9fe
mov cl, 1
mov eax, dword [rsi + 0x54]
cmp dword [rsi + 0x50], eax
jne 0x18003fa0a
test cl, cl
jne 0x18003fa2e
mov r8d, 0x20000c
mov rdx, rdi
mov rcx, rsi
call fcn.18003d3f0
mov byte [rsi + 0xe7c], 1
mov dword [rsi + 0xe78], 0xbe99999a
mov edx, dword [rdi]
mov eax, dword [rsi + 0x54]
cmp dword [rsi + 0x50], eax
jne 0x18003fa4a
mov eax, dword [rdi + 8]
cmp dword [rdi + 4], eax
jne 0x18003fa46
mov dword [rdi + 8], edx
mov dword [rdi + 4], edx
jmp 0x18003fa4a
mov dword [rdi], eax
mov edx, eax
lea r9d, [rdx + 1]
movsxd r10, dword [rsi + 4]
cmp r9d, r10d
jge 0x18003fb19
movsxd rdx, r9d
mov r11d, dword [rsi + 0xe80]
and r11d, 0x8000
xor edi, edi
movabs r13, 0x800130100002600
mov r15d, 0x3000
movabs r12, 0x700000005
lea r14d, [rdi + 1]
nop dword [rax]
test r11d, r11d
jne 0x18003fafc
test rdx, rdx
jle 0x18003fb07
mov r8, qword [rsi + 0x18]
movzx ecx, word [r8 + rdx*2 - 2]
cmp ecx, 0x3b
ja 0x18003faaf
bt r13, rcx
jb 0x18003faf6
cmp cx, r15w
je 0x18003faf6
sub cx, 0x5b
cmp cx, 0x22
ja 0x18003fac8
movzx eax, cx
bt r12, rax
jb 0x18003faf6
movzx ecx, word [r8 + rdx*2]
cmp ecx, 0x3b
ja 0x18003fad8
bt r13, rcx
jb 0x18003faf1
cmp cx, r15w
je 0x18003faf1
sub cx, 0x5b
cmp cx, 0x22
ja 0x18003faf6
movzx eax, cx
bt r12, rax
jae 0x18003faf6
mov eax, r14d
jmp 0x18003faf8
mov eax, edi
test eax, eax
jne 0x18003fb07
inc r9d
inc rdx
cmp rdx, r10
jl 0x18003fa90
lea rdi, [rsi + 0x4c]
movzx r14d, byte [rsp + 0x6c]
mov r12, qword [rsp + 0x70]
cmp r9d, r10d
cmovg r9d, r10d
mov dword [rdi], r9d
mov dword [rsi + 0x54], r9d
mov ecx, dword [rdi + 8]
mov eax, dword [rdi + 4]
cmp eax, ecx
je 0x18003fb52
cmp eax, r10d
jle 0x18003fb3a
mov dword [rdi + 4], r10d
mov eax, r10d
cmp ecx, r10d
jle 0x18003fb49
mov dword [rdi + 8], r10d
mov ecx, r10d
mov r9d, dword [rdi]
cmp eax, ecx
jne 0x18003fb52
mov dword [rdi], eax
mov r9d, eax
cmp r9d, r10d
jle 0x18003fbf1
mov dword [rdi], r10d
lea rax, [rsi + 0xe7d]
jmp 0x18003fca6
mov rcx, qword [rsi + 0x18]
movzx ebx, word [rcx + rdx*2]
mov r8d, 0x200004
mov rdx, rdi
mov rcx, rsi
call fcn.18003d3f0
mov byte [rsi + 0xe7c], 1
mov dword [rsi + 0xe78], 0xbe99999a
mov r8d, 0x600005
mov rdx, rdi
mov rcx, rsi
call fcn.18003d3f0
mov byte [rsi + 0xe7c], 1
mov dword [rsi + 0xe78], 0xbe99999a
mov r8d, 0x600001
mov rdx, rdi
mov rcx, rsi
call fcn.18003d3f0
mov dword [rsi + 0xe78], 0xbe99999a
cmp bx, 0xa
je 0x18003fbea
test r15b, r15b
je 0x18003fbea
mov ecx, dword [rsi + 0x50]
mov eax, dword [rsi + 0x54]
mov dword [rsi + 0x50], eax
mov dword [rsi + 0x54], ecx
mov dword [rdi], ecx
mov byte [rsi + 0xe7c], 0
lea rax, [rsi + 0xe7d]
jmp 0x18003fca6
lea rbx, [rsi + 0xe7d]
movzx ecx, byte [rbx]
cmp byte [r12 + 0x420], 0
je 0x18003fc47
test cl, cl
jne 0x18003fc47
test al, al
je 0x18003fc42
cmp byte [rsi + 0x63], cl
je 0x18003fc23
movaps xmm2, xmm10
mov rcx, rsi
call fcn.18003cf00
mov dword [rsi + 0x4c], eax
mov dword [rsi + 0x50], eax
mov dword [rsi + 0x54], eax
mov byte [rsi + 0x62], 0
mov dword [rsi + 0xe78], 0xbe99999a
mov rax, rbx
jmp 0x18003fcb0
mov rax, rbx
test dl, dl
je 0x18003fcb0
test cl, cl
jne 0x18003fcb0
movss xmm0, dword [r12 + 0x3b4]
ucomiss xmm0, xmm10
jp 0x18003fc76
jne 0x18003fc76
movss xmm0, dword [r12 + 0x3b8]
ucomiss xmm0, xmm10
jp 0x18003fc76
je 0x18003fcb0
cmp byte [rsi + 0x63], 0
je 0x18003fc80
movaps xmm2, xmm10
mov eax, dword [rsi + 0x54]
cmp dword [rsi + 0x50], eax
jne 0x18003fc8e
mov eax, dword [rsi + 0x4c]
mov dword [rsi + 0x50], eax
mov rcx, rsi
call fcn.18003cf00
mov dword [rsi + 0x54], eax
mov dword [rsi + 0x4c], eax
mov byte [rsi + 0xe7c], 1
mov rax, rbx
mov dword [rsi + 0xe78], 0xbe99999a
xor r15d, r15d
cmp byte [rax], 0
je 0x18003fcc6
cmp byte [r12 + 0x130], 0
jne 0x18003fcc6
mov byte [rax], 0
cmp byte [r12 + 0x140], 0
je 0x18003fcdc
cmp byte [r12 + 0x142], 0
je 0x18003fcec
test r14b, r14b
je 0x18003fcf0
cmp byte [r12 + 0x143], 0
je 0x18003fcf0
mov bl, 1
jmp 0x18003fcf2
xor bl, bl
mov r8d, dword [rsp + 0x64]
bt r8d, 0xa
jae 0x18003fdba
mov rax, qword [0x18005f058]
mov ecx, dword [rax + 0x3c]
test ecx, ecx
js 0x18003fdba
call fcn.1800156d0
test al, al
mov eax, dword [rsp + 0x60]
je 0x18003fdbe
test bl, bl
jne 0x18003fdbe
cmp byte [r12 + 0x141], bl
jne 0x18003fdbe
test al, al
jne 0x18003fdbe
mov rcx, qword [r12 + 0x1568]
movsxd rax, dword [r12 + 0x1560]
lea rdx, [rcx + rax*2]
cmp rcx, rdx
jae 0x18003fd72
nop dword [rax]
movzx eax, word [rcx]
add rcx, 2
cmp ax, 9
je 0x18003fdba
cmp rcx, rdx
jb 0x18003fd60
mov dword [rsp + 0x58], 9
mov dword [rsp + 0x20], 2
mov edx, r8d
lea rcx, [rsp + 0x58]
call fcn.18003e7e0
test al, al
je 0x18003fdb5
lea rdx, [rsi + 0x4c]
mov r8d, dword [rsp + 0x58]
mov rcx, rsi
call fcn.18003d3f0
mov byte [rsi + 0xe7c], 1
mov dword [rsi + 0xe78], 0xbe99999a
mov r8d, dword [rsp + 0x64]
mov eax, dword [rsp + 0x60]
cmp dword [r12 + 0x1560], 0
jle 0x18003fe92
test bl, bl
jne 0x18003fe60
test al, al
jne 0x18003fe60
cmp byte [rsp + 0x51], al
jne 0x18003fe60
mov edi, r15d
mov rbx, r15
nop dword [rax]
mov rax, qword [r12 + 0x1568]
movzx ecx, word [rbx + rax]
mov dword [rsp + 0x58], ecx
cmp ecx, 9
jne 0x18003fe10
cmp byte [r12 + 0x141], 0
jne 0x18003fe4b
mov dword [rsp + 0x20], 2
mov edx, r8d
lea rcx, [rsp + 0x58]
call fcn.18003e7e0
test al, al
je 0x18003fe4b
lea rdx, [rsi + 0x4c]
mov r8d, dword [rsp + 0x58]
mov rcx, rsi
call fcn.18003d3f0
mov byte [rsi + 0xe7c], 1
mov dword [rsi + 0xe78], 0xbe99999a
inc edi
add rbx, 2
cmp edi, dword [r12 + 0x1560]
mov r8d, dword [rsp + 0x64]
jl 0x18003fdf0
mov ecx, dword [r12 + 0x1564]
test ecx, ecx
jns 0x18003fe8a
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
mov edx, r15d
test eax, eax
cmovg edx, eax
lea rcx, [r12 + 0x1560]
call fcn.180023a20
mov dword [r12 + 0x1560], r15d
mov r14d, dword [rbp - 0x2c]
mov ebx, dword [rbp - 0x80]
xor cl, cl
cmp dword [r12 + 0x1c6c], ebx
jne 0x180040b50
cmp byte [r12 + 0x1c78], cl
jne 0x180040b50
cmp byte [rsp + 0x52], cl
jne 0x180040b50
movaps xmm0, xmm7
subss xmm0, dword [r12 + 0x15b0]
divss xmm0, dword [r12 + 0x1990]
cvttss2si eax, xmm0
mov ecx, 1
cmp eax, ecx
cmovge ecx, eax
mov dword [rsp + 0x58], ecx
mov dword [rsi + 0x5c], ecx
movzx eax, byte [r12 + 0x141]
neg al
sbb ebx, ebx
and ebx, 0x400000
movzx eax, byte [r12 + 0xc9]
test al, al
je 0x18003ff20
mov r8d, dword [r12 + 0x3c0]
cmp r8d, 0xa
jne 0x18003ff20
mov r9b, 1
jmp 0x18003ff2f
mov r8d, dword [r12 + 0x3c0]
xor r9b, r9b
test al, al
je 0x18003ff5d
movzx r12d, byte [r12 + 0x142]
mov rcx, qword [rsp + 0x70]
cmp byte [rcx + 0x143], 0
je 0x18003ff66
cmp byte [rcx + 0x140], 0
jne 0x18003ff66
test r12b, r12b
jne 0x18003ff66
mov r15b, 1
cmp r8d, 8
jmp 0x18003ff77
movzx r12d, byte [r12 + 0x140]
xor r15b, r15b
test al, al
je 0x18003ff73
cmp r8d, 8
jmp 0x18003ff77
cmp r8d, 1
sete r10b
mov byte [rsp + 0x6c], r10b
test r10b, r10b
je 0x18003ff9f
mov rax, qword [0x18005f058]
mov ecx, dword [rax + 0x88]
test ecx, ecx
js 0x18003ff9f
call fcn.1800156d0
test al, al
jne 0x18003ffbc
cmp r8d, 2
jne 0x18003ffe3
mov rax, qword [0x18005f058]
mov ecx, dword [rax + 0x64]
test ecx, ecx
js 0x18003ffe3
call fcn.1800156d0
test al, al
je 0x18003ffe3
mov edi, dword [rsp + 0x60]
mov r11d, dword [rsp + 0x5c]
test dil, dil
jne 0x18003ffec
test r14b, r14b
jne 0x18003ffec
test r11b, r11b
je 0x18003ffdc
mov eax, dword [rsi + 0x54]
cmp dword [rsi + 0x50], eax
je 0x18003ffec
mov byte [rsp + 0x51], 1
jmp 0x18003fff1
mov r11d, dword [rsp + 0x5c]
mov edi, dword [rsp + 0x60]
mov byte [rsp + 0x51], 0
test r10b, r10b
je 0x180040010
mov rax, qword [0x18005f058]
mov ecx, dword [rax + 0x80]
test ecx, ecx
js 0x180040010
call fcn.1800156d0
test al, al
jne 0x18004002d
cmp r8d, 1
jne 0x180040046
mov rax, qword [0x18005f058]
mov ecx, dword [rax + 0x60]
test ecx, ecx
js 0x180040046
call fcn.1800156d0
test al, al
je 0x180040046
test r14b, r14b
jne 0x180040046
test r11b, r11b
je 0x18004003f
mov eax, dword [rsi + 0x54]
cmp dword [rsi + 0x50], eax
je 0x180040046
mov byte [rsp + 0x6d], 1
jmp 0x18004004b
mov byte [rsp + 0x6d], 0
test r10b, r10b
je 0x18004006a
mov rax, qword [0x18005f058]
mov ecx, dword [rax + 0x84]
test ecx, ecx
js 0x18004006a
call fcn.1800156d0
test al, al
jne 0x180040087
cmp r8d, 2
jne 0x180040091
mov rax, qword [0x18005f058]
mov ecx, dword [rax + 0x60]
test ecx, ecx
js 0x180040091
call fcn.1800156d0
test al, al
je 0x180040091
test dil, dil
jne 0x180040091
mov r13b, 1
jmp 0x180040094
xor r13b, r13b
test r10b, r10b
je 0x1800400c7
mov rax, qword [0x18005f058]
mov ecx, dword [rax + 0x90]
test ecx, ecx
js 0x1800400c7
call fcn.1800156d0
mov r8d, dword [rsp + 0x68]
test al, al
je 0x1800400cc
test dil, dil
jne 0x1800400cc
test r8b, r8b
je 0x1800400cc
mov r14b, 1
jmp 0x1800400d4
mov r8d, dword [rsp + 0x68]
xor r14b, r14b
test r10b, r10b
je 0x1800400ee
mov rax, qword [0x18005f058]
mov ecx, dword [rax + 0x8c]
test ecx, ecx
js 0x1800400ee
call fcn.1800156d0
test al, al
jne 0x18004010d
test r9b, r9b
je 0x18004011c
mov rax, qword [0x18005f058]
mov ecx, dword [rax + 0x90]
test ecx, ecx
js 0x18004011c
call fcn.1800156d0
test al, al
je 0x18004011c
test dil, dil
jne 0x18004011c
test r8b, r8b
je 0x18004011c
mov dil, 1
jmp 0x18004011f
xor dil, dil
mov rax, qword [0x18005f058]
mov ecx, dword [rax + 0x70]
test ecx, ecx
js 0x180040136
call fcn.1800156d0
test al, al
jne 0x18004014d
mov rax, qword [0x18005f058]
mov ecx, dword [rax + 0x78]
test ecx, ecx
js 0x180040152
call fcn.1800156d0
test al, al
je 0x180040152
mov r11b, 1
jmp 0x180040155
xor r11b, r11b
mov r9d, 1
mov edx, r9d
xor ecx, ecx
call fcn.18001e7b0
comiss xmm0, xmm10
jbe 0x180040182
mov rax, qword [0x18005f058]
mov ecx, dword [rax + 0x6c]
test ecx, ecx
js 0x18004019a
call fcn.1800156d0
test al, al
je 0x18004019a
mov edx, r9d
mov ecx, 2
call fcn.18001e7b0
comiss xmm0, xmm10
ja 0x18004019a
xor r10b, r10b
jmp 0x18004019e
movzx r10d, r9b
mov rax, qword [0x18005f058]
mov ecx, dword [rax + 0x74]
test ecx, ecx
js 0x1800401b5
call fcn.1800156d0
test al, al
jne 0x1800401c9
mov edx, r9d
mov ecx, r9d
call fcn.18001e7b0
comiss xmm0, xmm10
ja 0x1800401c9
xor r9b, r9b
mov rax, qword [0x18005f058]
mov ecx, dword [rax + 0x40]
test ecx, ecx
js 0x180040212
call fcn.1800156d0
test al, al
je 0x180040212
test r15b, r15b
je 0x1800401ec
mov eax, 0x200004
jmp 0x1800401fc
mov eax, 0x200000
test r12b, r12b
mov ecx, 0x20000c
cmovne eax, ecx
or ebx, eax
lea rdx, [rsi + 0x4c]
mov r8d, ebx
mov rcx, rsi
call fcn.18003d3f0
jmp 0x180040b16
mov rax, qword [0x18005f058]
mov ecx, dword [rax + 0x44]
test ecx, ecx
js 0x18004026f
call fcn.1800156d0
test al, al
je 0x18004026f
test r15b, r15b
je 0x180040249
mov ecx, 0x200005
or ebx, ecx
lea rdx, [rsi + 0x4c]
mov r8d, ebx
mov rcx, rsi
call fcn.18003d3f0
jmp 0x180040b16
mov ecx, 0x200001
mov eax, 0x20000d
test r12b, r12b
cmovne ecx, eax
or ebx, ecx
lea rdx, [rsi + 0x4c]
mov r8d, ebx
mov rcx, rsi
call fcn.18003d3f0
jmp 0x180040b16
mov rax, qword [0x18005f058]
mov ecx, dword [rax + 0x48]
test ecx, ecx
js 0x1800402fb
call fcn.1800156d0
test al, al
je 0x1800402fb
cmp byte [rsp + 0x5c], 0
je 0x1800402fb
mov r12, qword [rsp + 0x70]
cmp byte [r12 + 0x140], 0
je 0x1800402ca
mov rdx, qword [rbp - 0x48]
movss xmm0, dword [rdx + 0x60]
subss xmm0, dword [r12 + 0x1990]
maxss xmm0, xmm10
movss dword [rdx + 0x70], xmm0
xor eax, eax
mov dword [rdx + 0x78], eax
mov dword [rdx + 0x80], eax
jmp 0x180040b2c
movzx eax, r15b
lea r8d, [rax*4 + 0x200002]
or r8d, ebx
lea rdx, [rsi + 0x4c]
mov rcx, rsi
call fcn.18003d3f0
mov byte [rsi + 0xe7c], 1
mov dword [rsi + 0xe78], 0xbe99999a
jmp 0x180040b2c
mov r8, qword [0x18005f058]
mov ecx, dword [r8 + 0x4c]
test ecx, ecx
js 0x18004036f
call fcn.1800156d0
test al, al
je 0x18004036f
cmp byte [rsp + 0x5c], 0
je 0x18004036f
mov r12, qword [rsp + 0x70]
cmp byte [r12 + 0x140], 0
je 0x18004035e
mov rax, qword [r8 + 0x1c20]
mov rcx, qword [rbp - 0x48]
movss xmm0, dword [rcx + 0x60]
addss xmm0, dword [r12 + 0x1990]
minss xmm0, dword [rax + 0x68]
movss dword [rcx + 0x70], xmm0
xor eax, eax
mov dword [rcx + 0x78], eax
mov dword [rcx + 0x80], eax
jmp 0x180040b2c
movzx eax, r15b
lea r8d, [rax*4 + 0x200003]
jmp 0x1800402d6
mov rax, qword [0x18005f058]
mov ecx, dword [rax + 0x50]
test ecx, ecx
js 0x1800403d8
call fcn.1800156d0
mov r15d, dword [rsp + 0x5c]
test al, al
je 0x1800403dd
test r15b, r15b
je 0x1800403dd
or ebx, 0x20000e
lea rdx, [rsi + 0x4c]
mov r8d, ebx
mov rcx, rsi
call fcn.18003d3f0
mov byte [rsi + 0xe7c], 1
mov dword [rsi + 0xe78], 0xbe99999a
movd xmm0, dword [rsp + 0x58]
cvtdq2ps xmm0, xmm0
mov r12, qword [rsp + 0x70]
mulss xmm0, dword [r12 + 0x1990]
subss xmm9, xmm0
jmp 0x180040b2c
mov r15d, dword [rsp + 0x5c]
mov rax, qword [0x18005f058]
mov ecx, dword [rax + 0x54]
test ecx, ecx
js 0x180040441
call fcn.1800156d0
test al, al
je 0x180040441
test r15b, r15b
je 0x180040441
or ebx, 0x20000f
lea rdx, [rsi + 0x4c]
mov r8d, ebx
mov rcx, rsi
call fcn.18003d3f0
mov byte [rsi + 0xe7c], 1
mov dword [rsi + 0xe78], 0xbe99999a
movd xmm0, dword [rsp + 0x58]
cvtdq2ps xmm0, xmm0
mov r12, qword [rsp + 0x70]
mulss xmm0, dword [r12 + 0x1990]
addss xmm9, xmm0
jmp 0x180040b2c
mov rax, qword [0x18005f058]
mov ecx, dword [rax + 0x58]
test ecx, ecx
js 0x18004047e
call fcn.1800156d0
test al, al
je 0x18004047e
mov eax, ebx
or eax, 0x200006
or ebx, 0x200004
mov r12, qword [rsp + 0x70]
cmp byte [r12 + 0x140], 0
cmovne ebx, eax
mov r8d, ebx
jmp 0x1800402d9
mov rax, qword [0x18005f058]
mov ecx, dword [rax + 0x5c]
test ecx, ecx
js 0x1800404bc
call fcn.1800156d0
test al, al
je 0x1800404bc
mov eax, ebx
or eax, 0x200007
mov r8d, 0x200005
or r8d, ebx
mov r12, qword [rsp + 0x70]
cmp byte [r12 + 0x140], 0
cmovne r8d, eax
jmp 0x1800402d9
mov rax, qword [0x18005f058]
mov ecx, dword [rax + 0x64]
test ecx, ecx
js 0x1800404ff
call fcn.1800156d0
movzx r8d, byte [rsp + 0x51]
test al, al
je 0x180040505
cmp byte [rsp + 0x60], 0
jne 0x180040505
test r8b, r8b
jne 0x180040505
or ebx, 0x200008
lea rdx, [rsi + 0x4c]
mov r8d, ebx
mov rcx, rsi
call fcn.18003d3f0
jmp 0x180040b16
movzx r8d, byte [rsp + 0x51]
mov rax, qword [0x18005f058]
mov ecx, dword [rax + 0x68]
test ecx, ecx
js 0x1800405d4
call fcn.1800156d0
test al, al
je 0x1800405d4
cmp byte [rsp + 0x60], 0
jne 0x1800405d4
mov eax, dword [rsi + 0x54]
cmp dword [rsi + 0x50], eax
jne 0x18004055f
test r12b, r12b
je 0x180040572
lea rdx, [rsi + 0x4c]
mov r8d, 0x60000c
mov rcx, rsi
call fcn.18003d3f0
mov byte [rsi + 0xe7c], 1
mov dword [rsi + 0xe78], 0xbe99999a
mov r12, qword [rsp + 0x70]
or ebx, 0x200009
mov r8d, ebx
jmp 0x1800402d9
mov r12, qword [rsp + 0x70]
cmp byte [r12 + 0xc9], 0
je 0x180040564
cmp byte [r12 + 0x143], 0
je 0x180040564
cmp byte [r12 + 0x142], 0
jne 0x180040564
cmp byte [r12 + 0x140], 0
jne 0x180040564
lea rdx, [rsi + 0x4c]
mov r8d, 0x600004
mov rcx, rsi
call fcn.18003d3f0
mov byte [rsi + 0xe7c], 1
mov dword [rsi + 0xe78], 0xbe99999a
or ebx, 0x200009
mov r8d, ebx
jmp 0x1800402d9
test r11b, r11b
je 0x180040649
mov edx, dword [rsp + 0x64]
mov eax, edx
shr eax, 0xb
and al, 1
mov r12, qword [rsp + 0x70]
test r15b, r15b
je 0x1800405ff
movzx ecx, byte [r12 + 0x140]
test al, al
je 0x18004060e
test cl, cl
jne 0x180040612
mov byte [rsp + 0x52], 1
mov byte [rsp + 0x54], 1
jmp 0x180040b2c
test cl, cl
jne 0x1800405ff
cmp byte [rsp + 0x60], 0
jne 0x180040b2c
mov dword [rsp + 0x58], 0xa
mov dword [rsp + 0x20], 2
lea rcx, [rsp + 0x58]
call fcn.18003e7e0
test al, al
je 0x180040b2c
mov r8d, dword [rsp + 0x58]
jmp 0x1800402d9
test r10b, r10b
je 0x18004065d
mov byte [rsp + 0x52], 1
mov byte [rsp + 0x54], 1
jmp 0x180040b27
test r9b, r9b
je 0x180040672
mov cl, 1
mov byte [rsp + 0x52], cl
mov r12, qword [rsp + 0x70]
jmp 0x180040b2e
test r14b, r14b
jne 0x180040af2
test dil, dil
jne 0x180040af2
cmp byte [rsp + 0x6c], dil
je 0x1800406b9
mov rax, qword [0x18005f058]
mov ecx, dword [rax + 0x7c]
test ecx, ecx
js 0x1800406b9
call fcn.1800156d0
test al, al
je 0x1800406b9
xor eax, eax
mov dword [rsi + 0x50], eax
mov eax, dword [rsi + 4]
mov dword [rsi + 0x54], eax
mov dword [rsi + 0x4c], eax
mov byte [rsi + 0x62], dil
jmp 0x180040b20
test r8b, r8b
jne 0x1800408ee
cmp byte [rsp + 0x6d], r8b
jne 0x1800408ee
test r13b, r13b
je 0x180040b27
mov rcx, qword [0x18005f058]
mov rax, qword [rcx + 0x100]
test rax, rax
je 0x1800406ff
mov rcx, qword [rcx + 0x110]
call rax
mov rbx, rax
test rax, rax
jne 0x180040706
jmp 0x180040b27
lea rbx, [0x18004e9d8]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rbx + rax], 0
jne 0x180040710
mov rcx, qword [0x18005f058]
test rcx, rcx
je 0x18004072b
inc dword [rcx + 0x3b0]
inc eax
movsxd rcx, eax
add rcx, rcx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r15, rax
mov qword [rbp - 0x18], rax
xor r12d, r12d
mov r14d, r12d
cmp byte [rbx], r12b
je 0x1800407ae
mov rdi, rax
mov r15d, dword [rsp + 0x64]
nop dword [rax]
nop word [rax + rax]
xor r8d, r8d
mov rdx, rbx
lea rcx, [rsp + 0x68]
call fcn.18000f070
movsxd rcx, eax
add rbx, rcx
cmp dword [rsp + 0x68], r12d
je 0x1800407aa
mov dword [rsp + 0x20], 5
mov edx, r15d
lea rcx, [rsp + 0x68]
call fcn.18003e7e0
test al, al
je 0x1800407a5
movzx eax, word [rsp + 0x68]
mov word [rdi], ax
inc r14d
add rdi, 2
cmp byte [rbx], r12b
jne 0x180040760
mov r15, qword [rbp - 0x18]
movsxd rax, r14d
mov word [r15 + rax*2], r12w
test r14d, r14d
jle 0x1800408c9
mov edx, dword [rsi + 4]
mov r8d, dword [rsi + 0x54]
mov eax, dword [rsi + 0x50]
mov ecx, edx
cmp eax, r8d
je 0x180040800
mov r9d, eax
cmp eax, edx
jle 0x1800407e0
mov dword [rsi + 0x50], edx
mov r9d, edx
mov ecx, dword [rsi + 4]
mov r10d, r8d
cmp r8d, edx
jle 0x1800407f1
mov dword [rsi + 0x54], edx
mov r10d, edx
mov ecx, dword [rsi + 4]
mov r8d, r10d
mov eax, r9d
cmp r9d, r10d
jne 0x180040800
mov dword [rsi + 0x4c], r9d
mov r9d, dword [rsi + 0x4c]
cmp r9d, edx
jle 0x18004080f
mov dword [rsi + 0x4c], edx
mov r9d, edx
cmp eax, r8d
je 0x18004083d
mov edx, eax
cmp eax, ecx
jle 0x18004081f
mov dword [rsi + 0x50], ecx
mov edx, ecx
mov r10d, r8d
cmp r8d, ecx
jle 0x18004082d
mov dword [rsi + 0x54], ecx
mov r10d, ecx
mov r8d, r10d
mov eax, edx
cmp edx, r10d
jne 0x18004083d
mov dword [rsi + 0x4c], edx
mov r9d, edx
cmp r9d, ecx
jle 0x180040845
mov dword [rsi + 0x4c], ecx
cmp eax, r8d
je 0x180040881
lea rdx, [rsi + 0x4c]
mov rcx, rsi
jge 0x180040869
sub r8d, eax
mov r9d, r8d
mov r8d, eax
call fcn.18003d270
mov eax, dword [rsi + 0x50]
mov dword [rsi + 0x54], eax
jmp 0x18004087a
sub eax, r8d
mov r9d, eax
call fcn.18003d270
mov eax, dword [rsi + 0x54]
mov dword [rsi + 0x50], eax
mov dword [rsi + 0x4c], eax
mov byte [rsi + 0x62], r12b
mov r9d, r14d
mov r8, r15
mov edx, dword [rsi + 0x4c]
mov rcx, rsi
call fcn.18003cd70
test al, al
je 0x1800408c2
mov edi, dword [rsi + 0x4c]
lea rcx, [rsi + 0x6c]
xor edx, edx
call fcn.18003e300
test rax, rax
je 0x1800408ba
mov dword [rax], edi
mov dword [rax + 4], r12d
mov dword [rax + 8], r14d
mov dword [rax + 0xc], 0xffffffff
add dword [rsi + 0x4c], r14d
mov byte [rsi + 0x62], r12b
mov byte [rsi + 0xe7c], 1
test r15, r15
je 0x1800408e0
mov rax, qword [0x18005f058]
test rax, rax
je 0x1800408e0
dec dword [rax + 0x3b0]
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x180040b27
mov r12, qword [rsp + 0x70]
cmp qword [r12 + 0x108], 0
je 0x180040a45
mov eax, dword [rsi + 0x54]
mov ecx, dword [rsi + 0x50]
cmp ecx, eax
je 0x180040919
mov edx, eax
cmovl edx, ecx
cmovge eax, ecx
xor r13d, r13d
jmp 0x180040922
xor r13d, r13d
mov edx, r13d
mov eax, dword [rsi + 4]
movsxd rdi, eax
mov rax, qword [rsi + 0x18]
lea r8, [rax + rdi*2]
movsxd r15, edx
lea rdx, [rax + r15*2]
mov ecx, r13d
mov r9d, 0x800
mov r10d, 0x80
test r8, r8
je 0x18004094d
cmp rdx, r8
jae 0x180040970
movzx eax, word [rdx]
test ax, ax
je 0x180040970
add rdx, 2
cmp ax, r10w
jae 0x180040963
inc ecx
jmp 0x180040943
cmp ax, r9w
sbb eax, eax
add eax, 3
add ecx, eax
jmp 0x180040943
inc ecx
mov rax, qword [0x18005f058]
test rax, rax
je 0x180040984
inc dword [rax + 0x3b0]
movsxd rbx, ecx
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r14, rax
mov rcx, qword [rsi + 0x18]
lea r11, [rcx + rdi*2]
lea r10, [rcx + r15*2]
mov r9, rax
lea rdi, [rax + rbx]
lea rbx, [rdi - 1]
cmp rax, rbx
jae 0x1800409f9
mov r13d, 0x80
test r11, r11
je 0x1800409bf
cmp r10, r11
jae 0x1800409f6
movzx eax, word [r10]
test ax, ax
je 0x1800409f6
mov r8d, eax
add r10, 2
cmp eax, r13d
jae 0x1800409dc
mov byte [r9], r8b
inc r9
jmp 0x1800409f1
mov edx, edi
sub edx, r9d
dec edx
mov rcx, r9
call fcn.18000f220
movsxd rcx, eax
add r9, rcx
cmp r9, rbx
jb 0x1800409b5
xor r13d, r13d
mov byte [r9], 0
mov rax, qword [0x18005f058]
mov r8, qword [rax + 0x108]
test r8, r8
je 0x180040a24
mov rdx, r14
mov rcx, qword [rax + 0x110]
call r8
mov rax, qword [0x18005f058]
test r14, r14
je 0x180040a34
test rax, rax
je 0x180040a34
dec dword [rax + 0x3b0]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
movzx r8d, byte [rsp + 0x51]
jmp 0x180040a48
xor r13d, r13d
test r8b, r8b
je 0x180040b2c
mov eax, dword [rsi + 0x54]
lea rbx, [rsi + 0x4c]
cmp dword [rsi + 0x50], eax
jne 0x180040a6d
mov dword [rsi + 0x50], r13d
mov eax, dword [rsi + 4]
mov dword [rsi + 0x54], eax
mov dword [rbx], eax
mov byte [rsi + 0x62], 0
mov byte [rsi + 0xe7c], 1
mov r8d, dword [rbx + 8]
mov eax, dword [rbx + 4]
cmp eax, r8d
je 0x180040b2c
mov ecx, dword [rsi + 4]
cmp eax, ecx
jle 0x180040a90
mov dword [rbx + 4], ecx
mov eax, ecx
cmp r8d, ecx
jle 0x180040a9b
mov dword [rbx + 8], ecx
mov r8d, ecx
cmp eax, r8d
jne 0x180040aa2
mov dword [rbx], eax
cmp dword [rbx], ecx
jle 0x180040aa8
mov dword [rbx], ecx
cmp eax, r8d
je 0x180040aec
mov rdx, rbx
mov rcx, rsi
jge 0x180040ad5
sub r8d, eax
mov r9d, r8d
mov r8d, eax
call fcn.18003d270
mov eax, dword [rbx + 4]
mov dword [rbx + 8], eax
mov dword [rbx], eax
mov byte [rbx + 0x16], 0
mov byte [rbx + 0x16], 0
jmp 0x180040b2c
sub eax, r8d
mov r9d, eax
call fcn.18003d270
mov eax, dword [rbx + 8]
mov dword [rbx + 4], eax
mov dword [rbx], eax
mov byte [rbx + 0x16], 0
mov byte [rbx + 0x16], 0
jmp 0x180040b2c
movzx r8d, r14b
xor r8d, 1
add r8d, 0x20000a
lea rdx, [rsi + 0x4c]
mov rcx, rsi
call fcn.18003d3f0
mov eax, dword [rsi + 0x4c]
mov dword [rsi + 0x54], eax
mov dword [rsi + 0x50], eax
mov dword [rsi + 0xe78], 0xbe99999a
mov byte [rsi + 0xe7c], 1
mov r12, qword [rsp + 0x70]
xor cl, cl
mov eax, dword [rsi + 0x54]
cmp dword [rsi + 0x50], eax
je 0x180040b41
cmp byte [rsp + 0x50], 0
je 0x180040b41
mov al, 1
jmp 0x180040b43
xor al, al
mov edx, dword [rsp + 0x78]
or dl, al
mov dword [rsp + 0x78], edx
mov ebx, dword [rbp - 0x80]
xor r14d, r14d
mov qword [rbp - 0x68], r14
mov dword [rsp + 0x68], r14d
cmp dword [r12 + 0x1c6c], ebx
jne 0x1800412bf
test cl, cl
je 0x180040d72
cmp byte [rsp + 0x60], r14b
jne 0x180040d53
mov r9, qword [rsi + 0x38]
mov rax, qword [rbp - 0x50]
mov r8, r9
sub r8, rax
nop dword [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x180040ba3
inc rax
test ecx, ecx
jne 0x180040b90
test edx, edx
je 0x180040d53
mov r12, r9
mov qword [rbp - 0x68], r9
mov eax, dword [rsi + 0x30]
dec eax
mov dword [rsp + 0x68], eax
mov qword [rbp + 0x78], r14
mov r15d, r14d
mov r13, r14
mov qword [rbp + 0x80], r14
test eax, eax
jle 0x180040cbc
movsxd rbx, eax
add rbx, r9
mov rdi, r9
nop dword [rax]
test rbx, rbx
je 0x180040bea
cmp rdi, rbx
jae 0x180040c11
cmp byte [rdi], 0
je 0x180040c11
mov r8, rbx
mov rdx, rdi
lea rcx, [rsp + 0x58]
call fcn.18000f070
movsxd rcx, eax
add rdi, rcx
cmp dword [rsp + 0x58], 0
je 0x180040c11
inc r14d
jmp 0x180040be0
lea r15d, [r14 + 1]
test r15d, r15d
jle 0x180040c58
mov edi, r15d
cmp r15d, 8
mov eax, 8
cmovl edi, eax
test edi, edi
jle 0x180040c58
mov rax, qword [0x18005f058]
test rax, rax
je 0x180040c3f
inc dword [rax + 0x3b0]
movsxd rcx, edi
add rcx, rcx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r13, rax
mov qword [rbp + 0x80], rax
mov dword [rbp + 0x7c], edi
mov dword [rbp + 0x78], r15d
mov rdi, r12
mov r14, r13
movsxd r12, r15d
lea r12, [r12*2 - 2]
add r12, r13
cmp r13, r12
jae 0x180040caf
test rbx, rbx
je 0x180040c7f
cmp rdi, rbx
jae 0x180040caf
cmp byte [rdi], 0
je 0x180040caf
mov r8, rbx
mov rdx, rdi
lea rcx, [rsp + 0x58]
call fcn.18000f070
movsxd rcx, eax
add rdi, rcx
mov eax, dword [rsp + 0x58]
test eax, eax
je 0x180040caf
mov word [r14], ax
add r14, 2
cmp r14, r12
jb 0x180040c75
xor eax, eax
mov word [r14], ax
mov eax, dword [rsp + 0x68]
xor r14d, r14d
lea ebx, [r15 - 1]
test eax, eax
cmovle ebx, r14d
movsxd rdi, dword [rsi + 4]
lea rcx, [rsi + 0x6c]
mov r9d, ebx
mov r8d, edi
xor edx, edx
call fcn.18003e4f0
mov r9, rax
test rax, rax
je 0x180040d05
test edi, edi
jle 0x180040d05
mov rdx, r14
nop word [rax + rax]
mov rcx, qword [rsi + 0x18]
movzx eax, word [rcx + rdx*2]
mov word [r9 + rdx*2], ax
inc rdx
cmp rdx, rdi
jl 0x180040cf0
mov r8d, dword [rsi + 4]
xor edx, edx
mov rcx, rsi
call fcn.18003cca0
test ebx, ebx
jle 0x180040d32
mov r9d, ebx
mov r8, r13
xor edx, edx
mov rcx, rsi
call fcn.18003cd70
test al, al
je 0x180040d32
mov dword [rsi + 0x4c], ebx
mov byte [rsi + 0x62], 0
test r13, r13
je 0x180040d53
mov rax, qword [0x18005f058]
test rax, rax
je 0x180040d49
dec dword [rax + 0x3b0]
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov r9d, dword [rsp + 0x64]
cmp byte [rsp + 0x54], 0
je 0x180040d65
test r9b, 0x20
jne 0x180040d77
mov r14, qword [rbp - 0x50]
mov r12d, dword [rbp - 0x7c]
jmp 0x180041219
mov r9d, dword [rsp + 0x64]
mov r10d, dword [rsp + 0x60]
test r10b, r10b
jne 0x180040e29
mov byte [rsi + 0x40], 1
mov eax, dword [rsi + 0x10]
lea ebx, [rax*4 + 1]
mov ecx, dword [rsi + 0x24]
cmp ebx, ecx
jle 0x180040dbe
test ecx, ecx
je 0x180040da9
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180040dae
mov eax, 8
mov edx, ebx
cmp eax, ebx
cmovg edx, eax
lea rcx, [rsi + 0x20]
call fcn.1800238c0
mov dword [rsi + 0x20], ebx
mov r10, qword [rsi + 0x18]
mov r9, qword [rsi + 0x28]
movsxd r11, ebx
add r11, r9
lea rbx, [r11 - 1]
cmp r9, rbx
jae 0x180040e1b
mov r14d, 0x80
nop
movzx eax, word [r10]
test ax, ax
je 0x180040e18
mov r8d, eax
add r10, 2
cmp eax, r14d
jae 0x180040dfd
mov byte [r9], r8b
inc r9
jmp 0x180040e13
mov edx, r11d
sub edx, r9d
dec edx
mov rcx, r9
call fcn.18000f220
movsxd rcx, eax
add r9, rcx
cmp r9, rbx
jb 0x180040de0
xor r14d, r14d
mov byte [r9], 0
mov r9d, dword [rsp + 0x64]
mov r10d, dword [rsp + 0x60]
test r9d, 0x801c0
je 0x1800411c1
mov r8d, 0x16
test r9b, 0x40
je 0x180040e62
mov rax, qword [0x18005f058]
mov ecx, dword [rax + 0x3c]
test ecx, ecx
js 0x180040e62
call fcn.1800156d0
test al, al
je 0x180040e62
lea eax, [r8 + 0x2a]
mov r8d, r14d
jmp 0x180040ed6
test r9b, r9b
jns 0x180040eb3
mov rax, qword [0x18005f058]
mov ecx, dword [rax + 0x48]
test ecx, ecx
js 0x180040e8d
call fcn.1800156d0
test al, al
je 0x180040e8d
mov r11d, 0x80
mov eax, r11d
lea r8d, [r11 - 0x7d]
jmp 0x180040edc
mov rax, qword [0x18005f058]
mov ecx, dword [rax + 0x4c]
test ecx, ecx
js 0x180040eb3
call fcn.1800156d0
test al, al
je 0x180040eb3
mov r11d, 0x80
mov eax, r11d
lea r8d, [r11 - 0x7c]
jmp 0x180040edc
mov eax, 0x80000
test eax, r9d
je 0x180040ec6
cmp byte [rsi + 0xe7e], 0
jne 0x180040ed6
bt r9d, 8
jae 0x1800411c1
mov eax, 0x100
mov r11d, 0x80
mov dword [rbp + 0x18], r14d
mov qword [rbp + 0x31], r14
mov dword [rbp + 0x39], r14d
mov word [rbp + 0x3d], r14w
mov byte [rbp + 0x3f], 0
mov dword [rbp + 8], eax
mov dword [rbp + 0xc], r9d
mov qword [rbp + 0x10], r14
test r10b, r10b
mov rax, qword [rbp - 0x50]
jne 0x180040f09
mov rax, qword [rsi + 0x28]
mov dword [rbp + 0x1c], r8d
mov qword [rbp + 0x20], rax
mov eax, dword [rsi + 8]
mov dword [rbp + 0x28], eax
mov eax, dword [rsi + 0x44]
mov dword [rbp + 0x2c], eax
mov byte [rbp + 0x30], 0
mov rdx, qword [rsi + 0x18]
movsxd rax, dword [rsi + 0x4c]
lea r8, [rdx + rax*2]
mov rcx, rdx
mov ebx, r14d
mov r9d, 0x800
nop dword [rax]
test r8, r8
je 0x180040f4a
cmp rcx, r8
jae 0x180040f6d
movzx eax, word [rcx]
test ax, ax
je 0x180040f6d
add rcx, 2
cmp ax, r11w
jae 0x180040f60
inc ebx
jmp 0x180040f40
cmp ax, r9w
sbb eax, eax
add eax, 3
add ebx, eax
jmp 0x180040f40
mov dword [rbp + 0x34], ebx
movsxd rax, dword [rsi + 0x50]
lea r8, [rdx + rax*2]
mov rcx, rdx
mov r15d, r14d
nop
test r8, r8
je 0x180040f8a
cmp rcx, r8
jae 0x180040faf
movzx eax, word [rcx]
test ax, ax
je 0x180040faf
add rcx, 2
cmp ax, r11w
jae 0x180040fa1
inc r15d
jmp 0x180040f80
cmp ax, r9w
sbb eax, eax
add eax, 3
add r15d, eax
jmp 0x180040f80
mov dword [rbp + 0x38], r15d
movsxd rax, dword [rsi + 0x54]
lea rcx, [rdx + rax*2]
mov r12d, r14d
nop
test rcx, rcx
je 0x180040fca
cmp rdx, rcx
jae 0x180040fef
movzx eax, word [rdx]
test ax, ax
je 0x180040fef
add rdx, 2
cmp ax, r11w
jae 0x180040fe1
inc r12d
jmp 0x180040fc0
cmp ax, r9w
sbb eax, eax
add eax, 3
add r12d, eax
jmp 0x180040fc0
mov dword [rbp + 0x3c], r12d
lea rcx, [rbp + 8]
call r14
movzx r13d, byte [rbp + 0x30]
movsxd rcx, dword [rbp + 0x34]
cmp ecx, ebx
jne 0x18004100c
test r13b, r13b
je 0x180041056
mov rbx, qword [rbp + 0x20]
lea rdi, [rbx + rcx]
test rdi, rdi
je 0x18004101e
cmp rbx, rdi
jae 0x180041045
cmp byte [rbx], 0
je 0x180041045
mov r8, rdi
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.18000f070
movsxd rcx, eax
add rbx, rcx
cmp dword [rsp + 0x58], 0
je 0x180041045
inc r14d
jmp 0x180041014
mov dword [rsi + 0x4c], r14d
mov byte [rsi + 0xe7c], 1
mov ecx, dword [rbp + 0x34]
xor r14d, r14d
movsxd rax, dword [rbp + 0x38]
cmp eax, r15d
jne 0x180041064
test r13b, r13b
je 0x1800410ae
cmp eax, ecx
jne 0x18004106e
mov r14d, dword [rsi + 0x4c]
jmp 0x1800410aa
mov rbx, qword [rbp + 0x20]
lea rdi, [rbx + rax]
test rdi, rdi
je 0x180041080
cmp rbx, rdi
jae 0x1800410a7
cmp byte [rbx], 0
je 0x1800410a7
mov r8, rdi
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.18000f070
movsxd rcx, eax
add rbx, rcx
cmp dword [rsp + 0x58], 0
je 0x1800410a7
inc r14d
jmp 0x180041076
mov eax, dword [rbp + 0x38]
mov dword [rsi + 0x50], r14d
movsxd rcx, dword [rbp + 0x3c]
cmp ecx, r12d
jne 0x1800410c0
test r13b, r13b
je 0x1800411c7
cmp ecx, eax
jne 0x180041103
mov r14d, dword [rsi + 0x50]
mov dword [rsi + 0x54], r14d
mov r12d, dword [rbp - 0x7c]
test r13b, r13b
je 0x1800411cb
mov ebx, dword [rbp + 0x28]
mov eax, dword [rbp - 0x58]
cmp ebx, eax
jle 0x180041159
test r12b, r12b
je 0x180041159
sub ebx, eax
add ebx, dword [rsi + 0x10]
mov ecx, dword [rsi + 0x14]
cmp ebx, ecx
jle 0x180041156
test ecx, ecx
je 0x180041141
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180041146
mov rbx, qword [rbp + 0x20]
lea rdi, [rbx + rcx]
xor eax, eax
mov r14d, eax
test rdi, rdi
je 0x18004111a
cmp rbx, rdi
jae 0x1800410c8
cmp byte [rbx], 0
je 0x1800410c8
mov r8, rdi
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.18000f070
movsxd rcx, eax
add rbx, rcx
cmp dword [rsp + 0x58], 0
je 0x1800410c8
inc r14d
jmp 0x180041110
mov eax, 8
mov edx, ebx
cmp eax, ebx
cmovg edx, eax
lea rcx, [rsi + 0x10]
call fcn.180023a20
mov dword [rsi + 0x10], ebx
mov rdi, qword [rbp + 0x20]
mov r15, qword [rsi + 0x18]
mov rbx, r15
movsxd r14, dword [rsi + 0x10]
dec r14
lea r14, [r15 + r14*2]
cmp r15, r14
jae 0x1800411a1
cmp byte [rdi], 0
je 0x1800411a1
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp - 0x58]
call fcn.18000f070
movsxd rcx, eax
add rdi, rcx
mov eax, dword [rbp - 0x58]
test eax, eax
je 0x1800411a1
mov word [rbx], ax
add rbx, 2
cmp rbx, r14
jb 0x180041174
xor eax, eax
mov word [rbx], ax
sub rbx, r15
sar rbx, 1
mov dword [rsi + 4], ebx
mov eax, dword [rbp + 0x28]
mov dword [rsi + 8], eax
mov dword [rsi + 0xe78], 0xbe99999a
jmp 0x1800411cb
mov r12d, dword [rbp - 0x7c]
jmp 0x1800411d0
mov r12d, dword [rbp - 0x7c]
mov r9d, dword [rsp + 0x64]
mov r14, qword [rbp - 0x50]
cmp byte [rsp + 0x60], 0
jne 0x180041219
mov r9, qword [rsi + 0x28]
mov rax, r9
mov r8, r14
sub r8, r9
nop dword [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x180041203
inc rax
test ecx, ecx
jne 0x1800411f0
test edx, edx
je 0x180041214
mov rdi, r9
mov ecx, dword [rsi + 8]
mov r9d, dword [rsp + 0x64]
jmp 0x180041221
mov r9d, dword [rsp + 0x64]
mov rdi, qword [rbp - 0x68]
mov ecx, dword [rsp + 0x68]
xor edx, edx
mov dword [rsi + 0xe80], edx
test rdi, rdi
je 0x1800412b4
test r12b, r12b
je 0x180041283
mov qword [rbp + 0x50], rdx
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x68], xmm0
mov dword [rbp + 0x40], 0x40000
mov dword [rbp + 0x44], r9d
mov qword [rbp + 0x58], r14
mov dword [rbp + 0x60], ecx
lea eax, [rcx + 1]
cmp dword [rbp - 0x78], eax
cmovge eax, dword [rbp - 0x78]
mov dword [rbp + 0x64], eax
mov qword [rbp + 0x48], rdx
lea rcx, [rbp + 0x40]
call rdx
mov r14, qword [rbp + 0x58]
mov qword [rbp - 0x50], r14
mov edx, dword [rbp + 0x64]
lea ecx, [rdx - 1]
cmp dword [rbp + 0x60], ecx
cmovl ecx, dword [rbp + 0x60]
jmp 0x180041286
mov edx, dword [rbp - 0x78]
lea eax, [rcx + 1]
cmp eax, edx
cmovl edx, eax
movsxd rbx, edx
cmp rbx, 1
jb 0x1800412af
jbe 0x1800412a9
lea r8, [rbx - 1]
mov rdx, rdi
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov byte [r14 + rbx - 1], 0
mov byte [rsp + 0x7c], 1
xor r14d, r14d
mov ebx, dword [rbp - 0x80]
mov r12, qword [rsp + 0x70]
cmp byte [rsp + 0x52], 0
je 0x180041338
cmp dword [r12 + 0x1c6c], ebx
jne 0x180041338
mov rdx, qword [0x18005f058]
mov ecx, dword [rdx + 0x1c6c]
test ecx, ecx
setne al
mov byte [rdx + 0x1c78], al
test ecx, ecx
je 0x180041306
mov dword [rdx + 0x1c74], r14d
mov word [rdx + 0x1c7b], 0
mov dword [rdx + 0x1ca4], 0xffffffff
mov dword [rdx + 0x1c6c], r14d
mov word [rdx + 0x1c79], 0
mov qword [rdx + 0x1c98], r14
mov word [rdx + 0x1c7d], 0
mov qword [rdx + 0x1c80], 0
mov qword [rdx + 0x1c88], r14
mov r10d, dword [rsp + 0x5c]
test r10b, r10b
jne 0x180041418
mov r8d, 1
mov edx, ebx
lea rcx, [rbp - 8]
call fcn.180010a30
mov rax, qword [0x18005f058]
movups xmm0, xmmword [rax + 0x16a8]
movups xmmword [rbp + 0x78], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x1570]
movss dword [rbp + 0x84], xmm0
lea rcx, [rbp + 0x78]
call fcn.18000f2e0
mov r8d, eax
movss xmm0, dword [r12 + 0x15b4]
movss dword [rsp + 0x20], xmm0
mov r9b, 1
mov rdx, qword [rbp]
movaps xmm0, xmm8
unpcklps xmm0, xmm12
movq rcx, xmm0
call fcn.180010740
movaps xmm15, xmm8
addss xmm15, xmm11
movss dword [rbp + 0x80], xmm15
movaps xmm14, xmm12
addss xmm14, xmm7
movss dword [rbp + 0x84], xmm14
movaps xmm0, xmm8
addss xmm0, dword [r12 + 0x15ac]
movss dword [rbp - 0x68], xmm0
movaps xmm1, xmm12
addss xmm1, dword [r12 + 0x15b0]
movss dword [rbp - 0x64], xmm1
lea r11, [rbp - 0x68]
movss dword [rbp - 0x7c], xmm15
movss dword [rsp + 0x68], xmm14
mov r8, qword [rbp - 0x48]
mov r10d, dword [rsp + 0x5c]
jmp 0x180041462
movaps xmm2, xmm11
addss xmm2, xmm8
movss dword [rbp - 0x7c], xmm2
movaps xmm15, xmm2
movss dword [rbp + 0x80], xmm2
movaps xmm1, xmm7
addss xmm1, xmm12
movss dword [rsp + 0x68], xmm1
movaps xmm14, xmm1
movss dword [rbp + 0x84], xmm1
mov r8, qword [rbp - 0x48]
movsd xmm0, qword [r8 + 0xd8]
movsd qword [rbp - 0x18], xmm0
lea r11, [rbp - 0x18]
movss dword [rbp + 0x7c], xmm12
movss dword [rbp + 0x78], xmm8
movsd xmm0, qword [r11]
movsd qword [rbp + 0x90], xmm0
movss dword [rbp - 0x78], xmm10
movaps xmm7, xmm10
movss dword [rsp + 0x58], xmm7
cmp byte [rbp - 0x70], 0
je 0x180041497
mov r13, qword [rsi + 0x28]
jmp 0x18004149b
mov r13, qword [rbp - 0x50]
mov rdi, r14
movzx r14d, byte [rsp + 0x53]
test r14b, r14b
je 0x1800414c3
mov rax, qword [rbp - 0x38]
mov r13, rax
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [rax + rdi], 0
jne 0x1800414b7
add rdi, rax
movzx eax, byte [rsp + 0x50]
mov ecx, dword [rsp + 0x78]
test al, al
jne 0x1800416c0
test cl, cl
jne 0x1800416c0
test r10b, r10b
je 0x180041534
xor eax, eax
mov ecx, eax
movzx edx, byte [r13]
lea rdi, [r13 + 1]
test dl, dl
je 0x180041507
lea eax, [rcx + 1]
cmp dl, 0xa
cmovne eax, ecx
mov ecx, eax
movzx edx, byte [rdi]
inc rdi
test dl, dl
jne 0x1800414f2
dec rdi
movzx eax, byte [rdi]
cmp al, 0xa
je 0x180041517
cmp al, 0xd
je 0x180041517
inc ecx
movaps xmm6, xmm11
movd xmm7, ecx
cvtdq2ps xmm7, xmm7
mulss xmm7, dword [r12 + 0x1990]
movss dword [rsp + 0x58], xmm7
jmp 0x180041574
test r14b, r14b
jne 0x18004155d
cmp dword [r12 + 0x1c6c], ebx
jne 0x180041549
movsxd rdi, dword [rsi + 8]
jmp 0x18004155a
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [rdi + r13], 0
jne 0x180041550
add rdi, r13
mov rax, rdi
sub rax, r13
movss xmm6, dword [rbp - 0x78]
cmp rax, 0x200000
jge 0x1800416b2
mov rcx, qword [0x18005f058]
mov rax, r14
add rax, rax
movups xmm0, xmmword [rcx + rax*8 + 0x1638]
movups xmmword [rbp - 8], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rcx + 0x1570]
movss dword [rbp + 4], xmm0
lea rcx, [rbp - 8]
call fcn.18000f2e0
mov r9d, eax
mov r8, qword [r8 + 0x270]
lea rdx, [rbp + 0x78]
test r10b, r10b
mov eax, 0
cmovne rdx, rax
mov rcx, rdi
movss xmm2, dword [r12 + 0x1990]
mov r10, qword [r12 + 0x1988]
test r9d, 0xff000000
je 0x1800416b2
test rdi, rdi
jne 0x1800415fc
mov rcx, 0xffffffffffffffff
nop
inc rcx
cmp byte [rcx + r13], al
jne 0x1800415f0
add rcx, r13
cmp r13, rcx
je 0x1800416b2
test r10, r10
jne 0x180041612
mov rax, qword [r8 + 0x38]
mov r10, qword [rax + 8]
ucomiss xmm2, xmm10
jp 0x180041623
jne 0x180041623
mov rax, qword [r8 + 0x38]
movss xmm2, dword [rax + 0x10]
movups xmm0, xmmword [r8 + 0x88]
movups xmmword [rbp - 8], xmm0
test rdx, rdx
je 0x18004167e
movss xmm1, dword [rdx]
movss xmm0, dword [rbp - 8]
comiss xmm0, xmm1
jae 0x180041647
movss dword [rbp - 8], xmm1
movss xmm1, dword [rdx + 4]
movss xmm0, dword [rbp - 4]
comiss xmm0, xmm1
jae 0x18004165b
movss dword [rbp - 4], xmm1
movss xmm0, dword [rdx + 8]
comiss xmm0, dword [rbp]
ja 0x18004166b
movss dword [rbp], xmm0
movss xmm0, dword [rdx + 0xc]
comiss xmm0, dword [rbp + 4]
ja 0x18004167b
movss dword [rbp + 4], xmm0
test rdx, rdx
setne al
mov byte [rsp + 0x48], al
movss dword [rsp + 0x40], xmm10
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], r13
lea rax, [rbp - 8]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r9d
mov r9, qword [r11]
mov rdx, r8
mov rcx, r10
call fcn.180032130
movss xmm8, dword [0x180054144]
jmp 0x180041fd3
test r14b, r14b
jne 0x1800416cc
movsxd rdi, dword [rsi + 8]
add rdi, r13
mov r15, qword [rsi + 0x18]
movaps xmm8, xmm10
movaps xmm6, xmm10
xor r9d, r9d
mov r10d, r9d
mov r14d, r9d
mov r8d, 0xfffffc18
mov ebx, r8d
mov edx, r9d
test al, al
je 0x180041701
movsxd rax, dword [rsi + 0x4c]
lea r10, [r15 + rax*2]
lea edx, [r9 + 1]
lea r8d, [r9 - 1]
test cl, cl
je 0x18004171d
mov ecx, dword [rsi + 0x54]
cmp dword [rsi + 0x50], ecx
cmovl ecx, dword [rsi + 0x50]
movsxd rax, ecx
lea r14, [r15 + rax*2]
mov ebx, 0xffffffff
inc edx
movzx eax, byte [rsp + 0x5c]
add edx, eax
mov rax, r15
movzx ecx, word [r15]
test cx, cx
je 0x18004176c
cmp cx, 0xa
jne 0x180041760
inc r9d
cmp r8d, 0xffffffff
jne 0x18004174d
cmp rax, r10
jb 0x18004174d
mov r8d, r9d
dec edx
test edx, edx
jle 0x18004176c
cmp ebx, 0xffffffff
jne 0x180041760
cmp rax, r14
jb 0x180041760
mov ebx, r9d
dec edx
test edx, edx
jle 0x18004176c
add rax, 2
movzx ecx, word [rax]
test cx, cx
jne 0x180041730
inc r9d
mov r11d, r9d
cmp r8d, 0xffffffff
cmovne r11d, r8d
cmp ebx, 0xffffffff
cmove ebx, r9d
mov rdx, r10
cmp r10, r15
jbe 0x1800417a2
nop dword [rax]
lea rax, [rdx - 2]
cmp word [rax], 0xa
je 0x1800417a2
mov rdx, rax
cmp rax, r15
ja 0x180041790
mov rax, qword [0x18005f058]
mov r8, qword [rax + 0x1988]
movss xmm3, dword [rax + 0x1990]
divss xmm3, dword [r8 + 0x14]
movaps xmm1, xmm10
movaps xmm12, xmm10
cmp rdx, r10
jae 0x180041810
nop dword [rax + rax]
movzx ecx, word [rdx]
add rdx, 2
cmp ecx, 0xa
jne 0x1800417e7
maxss xmm1, xmm12
movaps xmm12, xmm10
jmp 0x18004180b
cmp ecx, 0xd
je 0x18004180b
cmp ecx, dword [r8]
jge 0x1800417fc
mov rax, qword [r8 + 8]
movss xmm0, dword [rax + rcx*4]
jmp 0x180041802
movss xmm0, dword [r8 + 0x10]
mulss xmm0, xmm3
addss xmm12, xmm0
cmp rdx, r10
jb 0x1800417d0
maxss xmm12, xmm1
movss xmm4, dword [r12 + 0x1990]
movd xmm13, r11d
cvtdq2ps xmm13, xmm13
mulss xmm13, xmm4
test ebx, ebx
js 0x1800418b3
mov rdx, r14
cmp r14, r15
jbe 0x180041852
nop dword [rax]
lea rax, [rdx - 2]
cmp word [rax], 0xa
je 0x180041852
mov rdx, rax
cmp rax, r15
ja 0x180041840
movaps xmm1, xmm10
movaps xmm6, xmm10
cmp rdx, r14
jae 0x1800418a1
nop
movzx ecx, word [rdx]
add rdx, 2
cmp ecx, 0xa
jne 0x180041876
maxss xmm1, xmm6
movaps xmm6, xmm10
jmp 0x18004189c
cmp ecx, 0xd
je 0x18004189c
cmp ecx, dword [r8]
jge 0x18004188b
mov rax, qword [r8 + 8]
movss xmm2, dword [rax + rcx*4]
jmp 0x180041891
movss xmm2, dword [r8 + 0x10]
movaps xmm0, xmm3
mulss xmm0, xmm2
addss xmm6, xmm0
cmp rdx, r14
jb 0x180041860
movd xmm8, ebx
cvtdq2ps xmm8, xmm8
mulss xmm8, xmm4
maxss xmm6, xmm1
mov r10d, dword [rsp + 0x5c]
test r10b, r10b
je 0x1800418d5
movss dword [rbp - 0x78], xmm11
movd xmm7, r9d
cvtdq2ps xmm7, xmm7
mulss xmm7, xmm4
movss dword [rsp + 0x58], xmm7
movzx r8d, byte [rsp + 0x50]
test r8b, r8b
je 0x180041a0a
cmp byte [rsi + 0xe7c], 0
je 0x180041a0a
test dword [rsp + 0x64], 0x1000
jne 0x18004194e
movaps xmm0, xmm11
mulss xmm0, dword [0x1800540f8]
subss xmm11, dword [r12 + 0x15ac]
movss xmm2, dword [rsi + 0x48]
movaps xmm1, xmm12
comiss xmm2, xmm12
jbe 0x18004192e
subss xmm1, xmm0
movaps xmm0, xmm10
maxss xmm0, xmm1
jmp 0x18004193c
subss xmm1, xmm11
comiss xmm1, xmm2
jb 0x180041953
addss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsi + 0x48], xmm0
jmp 0x180041953
xor eax, eax
mov dword [rsi + 0x48], eax
test r10b, r10b
je 0x180041a03
movaps xmm0, xmm13
subss xmm0, dword [r12 + 0x1990]
movss xmm3, dword [rbp - 0x24]
comiss xmm9, xmm0
jbe 0x180041980
movaps xmm9, xmm10
maxss xmm9, xmm0
jmp 0x1800419b1
movss xmm2, dword [r12 + 0x15b0]
addss xmm2, xmm2
movaps xmm1, xmm3
subss xmm1, xmm2
movaps xmm0, xmm13
subss xmm0, xmm1
comiss xmm0, xmm9
jb 0x1800419b1
movaps xmm9, xmm13
subss xmm9, xmm3
addss xmm9, xmm2
movss xmm2, dword [r12 + 0x15b0]
comiss xmm10, xmm9
jbe 0x1800419c7
movaps xmm2, xmm10
jmp 0x1800419dd
addss xmm2, xmm2
addss xmm2, xmm7
subss xmm2, xmm3
maxss xmm2, xmm10
minss xmm2, xmm9
mov rax, qword [rbp - 0x48]
movss xmm0, dword [rax + 0x60]
subss xmm0, xmm2
movss xmm1, dword [rbp + 0x94]
addss xmm1, xmm0
movss dword [rbp + 0x94], xmm1
movss dword [rax + 0x60], xmm2
mov byte [rsi + 0xe7c], 0
movss xmm11, dword [rsi + 0x48]
cmp byte [rsp + 0x78], 0
je 0x180041e1b
mov edx, dword [rsi + 0x54]
mov ecx, dword [rsi + 0x50]
mov eax, edx
cmp ecx, edx
cmovl eax, ecx
cdqe
lea rbx, [r15 + rax*2]
cmovge edx, ecx
movsxd rax, edx
lea r14, [r15 + rax*2]
test r8b, r8b
je 0x180041a47
movss xmm1, dword [0x180054144]
jmp 0x180041a4f
movss xmm1, dword [0x180054110]
mov rax, qword [0x18005f058]
movups xmm0, xmmword [rax + 0x1928]
movups xmmword [rbp - 8], xmm0
mulss xmm1, dword [rax + 0x1570]
shufps xmm0, xmm0, 0xff
mulss xmm0, xmm1
movss dword [rbp + 4], xmm0
lea rcx, [rbp - 8]
call fcn.18000f2e0
mov r15d, eax
test r10b, r10b
je 0x180041a8f
movss dword [rbp - 0x20], xmm10
jmp 0x180041a98
movss xmm10, dword [0x180054170]
movss xmm9, dword [rbp + 0x90]
addss xmm6, xmm9
subss xmm6, xmm11
movss xmm7, dword [rbp + 0x94]
addss xmm7, xmm8
xorps xmm8, xmm8
subss xmm7, xmm8
cmp rbx, r14
jae 0x180041c97
movss xmm1, dword [rbp - 0x74]
nop
movss xmm5, dword [r12 + 0x1990]
movaps xmm0, xmm14
addss xmm0, xmm5
comiss xmm7, xmm0
ja 0x180041c92
comiss xmm1, xmm7
jbe 0x180041b1b
cmp rbx, r14
jae 0x180041c76
nop dword [rax]
movzx eax, word [rbx]
add rbx, 2
cmp ax, 0xa
je 0x180041c76
cmp rbx, r14
jb 0x180041b00
jmp 0x180041c76
mov rax, qword [0x18005f058]
mov rdx, qword [rax + 0x1988]
movss xmm3, dword [rax + 0x1990]
divss xmm3, dword [rdx + 0x14]
movaps xmm4, xmm8
movaps xmm1, xmm8
cmp rbx, r14
jae 0x180041b8c
movzx ecx, word [rbx]
add rbx, 2
cmp ecx, 0xa
je 0x180041b80
cmp ecx, 0xd
je 0x180041b3e
cmp ecx, dword [rdx]
jge 0x180041b6e
mov rax, qword [rdx + 8]
movss xmm2, dword [rax + rcx*4]
movaps xmm0, xmm3
mulss xmm0, xmm2
addss xmm1, xmm0
jmp 0x180041b3e
movss xmm2, dword [rdx + 0x10]
movaps xmm0, xmm3
mulss xmm0, xmm2
addss xmm1, xmm0
jmp 0x180041b3e
movaps xmm4, xmm8
maxss xmm4, xmm1
movaps xmm1, xmm8
maxss xmm1, xmm4
comiss xmm8, xmm1
jb 0x180041bc9
mov rax, qword [r12 + 0x1988]
cmp dword [rax], 0x20
jle 0x180041bb1
mov rax, qword [rax + 8]
movss xmm0, dword [rax + 0x80]
jmp 0x180041bb6
movss xmm0, dword [rax + 0x10]
mulss xmm0, dword [0x18005410c]
cvttss2si eax, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
addss xmm1, xmm6
movaps xmm0, xmm10
addss xmm0, xmm7
addss xmm6, xmm8
movss xmm2, dword [rbp - 0x20]
subss xmm2, xmm5
addss xmm2, xmm7
movss xmm3, dword [rbp - 0x30]
maxss xmm6, xmm3
maxss xmm2, dword [rbp - 0x74]
movss dword [rbp - 8], xmm6
movss dword [rbp - 4], xmm2
minss xmm1, xmm15
minss xmm0, xmm14
movss dword [rbp], xmm1
movss dword [rbp + 4], xmm0
comiss xmm0, dword [rbp - 0x74]
jbe 0x180041c71
comiss xmm14, xmm2
jbe 0x180041c71
comiss xmm1, xmm3
jbe 0x180041c71
comiss xmm15, xmm6
jbe 0x180041c71
xor eax, eax
mov dword [rsp + 0x28], eax
movss dword [rsp + 0x20], xmm8
mov r9d, r15d
lea r8, [rbp]
lea rdx, [rbp - 8]
mov rax, qword [rbp - 0x48]
mov rcx, qword [rax + 0x270]
call fcn.18002e3c0
movss xmm0, dword [rbp - 0x7c]
movss dword [rbp - 0x7c], xmm0
movss xmm0, dword [rsp + 0x68]
movss dword [rsp + 0x68], xmm0
movss xmm9, dword [rbp + 0x90]
movss xmm1, dword [rbp - 0x74]
movaps xmm6, xmm9
subss xmm6, xmm11
addss xmm7, dword [r12 + 0x1990]
cmp rbx, r14
jb 0x180041ad0
mov r10d, dword [rsp + 0x5c]
xorps xmm10, xmm10
test r10b, r10b
jne 0x180041cb2
mov rax, rdi
sub rax, r13
cmp rax, 0x200000
jge 0x180041e29
mov rcx, qword [0x18005f058]
movzx r14d, byte [rsp + 0x53]
mov eax, r14d
add rax, rax
movups xmm0, xmmword [rcx + rax*8 + 0x1638]
movups xmmword [rbp - 8], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rcx + 0x1570]
movss dword [rbp + 4], xmm0
lea rcx, [rbp - 8]
call fcn.18000f2e0
mov r9d, eax
mov rbx, qword [rbp - 0x48]
mov r8, qword [rbx + 0x270]
mov rcx, rdi
subss xmm9, xmm11
movss dword [rbp - 0x38], xmm9
movss xmm0, dword [rbp + 0x94]
subss xmm0, xmm10
movss dword [rbp - 0x34], xmm0
movss xmm2, dword [r12 + 0x1990]
mov r10, qword [r12 + 0x1988]
lea rdx, [rbp + 0x78]
cmp byte [rsp + 0x5c], 0
mov eax, 0
cmovne rdx, rax
test r9d, 0xff000000
je 0x180041e33
test rdi, rdi
jne 0x180041d62
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [rcx + r13], al
jne 0x180041d56
add rcx, r13
cmp r13, rcx
je 0x180041e33
test r10, r10
jne 0x180041d78
mov rax, qword [r8 + 0x38]
mov r10, qword [rax + 8]
ucomiss xmm2, xmm10
jp 0x180041d89
jne 0x180041d89
mov rax, qword [r8 + 0x38]
movss xmm2, dword [rax + 0x10]
movups xmm0, xmmword [r8 + 0x88]
movups xmmword [rbp - 8], xmm0
test rdx, rdx
je 0x180041de4
movss xmm1, dword [rdx]
movss xmm0, dword [rbp - 8]
comiss xmm0, xmm1
jae 0x180041dad
movss dword [rbp - 8], xmm1
movss xmm1, dword [rdx + 4]
movss xmm0, dword [rbp - 4]
comiss xmm0, xmm1
jae 0x180041dc1
movss dword [rbp - 4], xmm1
movss xmm0, dword [rdx + 8]
comiss xmm0, dword [rbp]
ja 0x180041dd1
movss dword [rbp], xmm0
movss xmm0, dword [rdx + 0xc]
comiss xmm0, dword [rbp + 4]
ja 0x180041de1
movss dword [rbp + 4], xmm0
test rdx, rdx
setne al
mov byte [rsp + 0x48], al
movss dword [rsp + 0x40], xmm10
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], r13
lea rax, [rbp - 8]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r9d
mov r9, qword [rbp - 0x38]
mov rdx, r8
mov rcx, r10
call fcn.180032130
jmp 0x180041e33
movss xmm9, dword [rbp + 0x90]
jmp 0x180041c9b
mov rbx, qword [rbp - 0x48]
movzx r14d, byte [rsp + 0x53]
cmp byte [rsp + 0x50], 0
je 0x180041fb9
movss xmm0, dword [r12 + 0x18]
addss xmm0, dword [rsi + 0xe78]
movss dword [rsi + 0xe78], xmm0
cmp byte [r12 + 0xca], 0
je 0x180041e84
comiss xmm10, xmm0
jae 0x180041e84
movss xmm1, dword [0x180054158]
call sub.api_ms_win_crt_math_l1_1_0.dll_fmodf
movss xmm1, dword [0x180054130]
comiss xmm1, xmm0
jae 0x180041e84
xor cl, cl
jmp 0x180041e86
mov cl, 1
addss xmm12, dword [rbp + 0x90]
subss xmm12, xmm11
cvttss2si eax, xmm12
movd xmm6, eax
cvtdq2ps xmm6, xmm6
movss xmm0, dword [rbp + 0x94]
addss xmm0, xmm13
subss xmm0, xmm10
cvttss2si eax, xmm0
movd xmm7, eax
cvtdq2ps xmm7, xmm7
movss dword [rbp + 0x78], xmm6
movaps xmm0, xmm7
subss xmm0, dword [r12 + 0x1990]
addss xmm0, dword [0x18005410c]
movss dword [rbp + 0x7c], xmm0
movaps xmm2, xmm6
movss xmm8, dword [0x180054144]
addss xmm2, xmm8
movss dword [rbp + 0x80], xmm2
movaps xmm1, xmm7
subss xmm1, dword [0x180054164]
movss dword [rbp + 0x84], xmm1
movss xmm12, dword [rbp - 0x74]
test cl, cl
je 0x180041f87
comiss xmm1, xmm12
jbe 0x180041f87
movss xmm3, dword [rsp + 0x68]
comiss xmm3, xmm0
jbe 0x180041f87
comiss xmm2, dword [rbp - 0x30]
jbe 0x180041f87
movss xmm0, dword [rbp - 0x7c]
comiss xmm0, xmm6
jbe 0x180041f87
mov rax, qword [0x18005f058]
movups xmm0, xmmword [rax + 0x1638]
movups xmmword [rbp - 8], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x1570]
movss dword [rbp + 4], xmm0
movss dword [rbp - 0x38], xmm6
movss dword [rbp - 0x34], xmm1
lea rcx, [rbp - 8]
call fcn.18000f2e0
mov r9d, eax
movss dword [rsp + 0x20], xmm8
lea r8, [rbp - 0x38]
lea rdx, [rbp + 0x78]
mov rcx, qword [rbx + 0x270]
call fcn.18002e150
movss xmm13, dword [rbp - 0x40]
cmp byte [rsp + 0x60], 0
jne 0x180041fce
subss xmm6, xmm8
subss xmm7, dword [r12 + 0x1990]
movss dword [r12 + 0x30c0], xmm6
movss dword [r12 + 0x30c4], xmm7
jmp 0x180041fce
movss xmm8, dword [0x180054144]
movss xmm12, dword [rbp - 0x74]
movss xmm13, dword [rbp - 0x40]
movss xmm6, dword [rbp - 0x78]
mov r15d, dword [rbp - 0x2c]
test r15b, r15b
je 0x180041fe6
test r14b, r14b
jne 0x180041fe6
call fcn.18001b040
cmp byte [rsp + 0x5c], 0
je 0x18004207e
movss dword [rbp - 0x38], xmm6
movss xmm0, dword [rsp + 0x58]
addss xmm0, dword [r12 + 0x15b0]
movss dword [rbp - 0x34], xmm0
lea rcx, [rbp - 0x38]
call fcn.18003abe0
mov ebx, dword [r12 + 0x1cc0]
mov eax, ebx
or eax, 0x101
mov dword [r12 + 0x1cc0], eax
call fcn.180015a60
mov eax, dword [r12 + 0x1ce0]
and eax, 0x80
mov esi, dword [rbp + 0xa0]
or esi, eax
mov dword [r12 + 0x1cc0], ebx
call fcn.18001bae0
cmp dword [r12 + 0x1cd8], 0
jne 0x18004207e
mov eax, dword [rbp - 0x80]
mov dword [r12 + 0x1cd8], eax
mov eax, dword [rbp + 0x9c]
mov dword [r12 + 0x1cdc], eax
mov dword [r12 + 0x1ce0], esi
cmp byte [r12 + 0x312c], 0
je 0x180042215
test r15b, r15b
je 0x18004209b
test r14b, r14b
je 0x180042215
mov rsi, qword [0x18005f058]
mov rbx, qword [rsi + 0x1c20]
xor eax, eax
mov qword [rsi + 0x3158], rax
mov qword [rsi + 0x3150], rax
test rdi, rdi
jne 0x1800420e4
mov rdi, r13
cmp r13, 0xffffffffffffffff
jae 0x1800420e4
movzx ecx, byte [rdi]
test cl, cl
je 0x1800420e4
lea rax, [rdi + 1]
cmp cl, 0x23
jne 0x1800420db
cmp byte [rax], cl
je 0x1800420e4
mov rdi, rax
cmp rax, 0xffffffffffffffff
jb 0x1800420c7
movss xmm0, dword [rsi + 0x15b0]
addss xmm0, dword [rsi + 0x3160]
addss xmm0, xmm8
movss xmm1, dword [rbp + 0x94]
movss dword [rsi + 0x3160], xmm1
comiss xmm1, xmm0
jbe 0x180042121
lea rcx, [0x18004f17c]
call fcn.180021780
mov byte [rsi + 0x3164], 1
lea r8, [0x180053ccd]
lea rdx, [0x180053ccc]
lea rcx, [rbp + 0x90]
call fcn.1800217c0
mov ecx, dword [rsi + 0x3168]
mov eax, dword [rbx + 0x160]
cmp ecx, eax
jle 0x180042153
mov dword [rsi + 0x3168], eax
mov ecx, eax
mov r14d, dword [rbx + 0x160]
sub r14d, ecx
mov r12d, 1
nop dword [rax]
nop word [rax + rax]
mov r8, rdi
sub r8, r13
mov edx, 0xa
mov rcx, r13
call sub.VCRUNTIME140.dll_memchr
mov rbx, rdi
test rax, rax
cmovne rbx, rax
cmp r13, rbx
jne 0x180042197
cmp rbx, rdi
je 0x1800421f6
mov r9d, ebx
sub r9d, r13d
cmp byte [rsi + 0x3164], 0
lea edx, [r14*4]
jne 0x1800421b1
mov edx, r12d
mov qword [rsp + 0x20], r13
lea r8, [0x18004e9d8]
lea rcx, str._s_.s
call fcn.180021780
mov byte [rsi + 0x3164], 0
cmp byte [rbx], 0xa
jne 0x1800421e8
lea rcx, [0x18004f17c]
call fcn.180021780
mov byte [rsi + 0x3164], r12b
cmp rbx, rdi
je 0x1800421f6
lea r13, [rbx + 1]
jmp 0x180042170
lea r8, [0x180053cc9]
lea rdx, [0x180053cc8]
lea rcx, [rbp + 0x90]
call fcn.1800217c0
mov r12, qword [rsp + 0x70]
movss xmm0, dword [rbp - 0x1c]
comiss xmm0, xmm10
jbe 0x180042250
addss xmm13, dword [r12 + 0x15c4]
addss xmm12, dword [r12 + 0x15b0]
mov r9b, 1
xor r8d, r8d
mov rdx, qword [rbp - 0x10]
movaps xmm0, xmm13
unpcklps xmm0, xmm12
movq rcx, xmm0
call fcn.18000fa90
movzx edx, byte [rsp + 0x7c]
mov ecx, dword [rsp + 0x64]
test dl, dl
je 0x18004227a
bt ecx, 0x1b
jb 0x18004227a
mov rax, qword [0x18005f058]
mov word [rax + 0x1c7c], 0x101
or dword [rax + 0x1ce0], 4
test cl, 0x20
mov eax, edx
movzx ecx, byte [rsp + 0x54]
cmovne eax, ecx
jmp 0x18003efe2