Function at 0x18003fe80
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 - 0x1d8]
sub rsp, 0x298
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 [0x180060010]
xor rax, rsp
mov qword [rbp + 0xe8], 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 [0x180060f20]
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 0x180040480
mov r14d, dword [rbp + 0x208]
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 0x18003ff96
call fcn.180011f80
mov rbx, qword [0x180060f20]
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.180005250
mov r13d, eax
mov dword [rbp - 0x80], eax
cmp dword [rbx + 0x1c6c], eax
jne 0x18003ffc7
mov dword [rbx + 0x1c70], eax
cmp dword [rbx + 0x1ca8], r13d
jne 0x18003ffd7
mov byte [rbx + 0x1cac], 1
cmp dword [rbx + 0x1c54], r13d
jne 0x18003fff7
mov r8, r15
mov edx, 0xb
mov ecx, r13d
call fcn.180018dc0
mov rbx, qword [0x180060f20]
mov rcx, r15
cmp r15, 0xffffffffffffffff
jae 0x18004001d
movzx edx, byte [rcx]
test dl, dl
je 0x18004001d
lea rax, [rcx + 1]
cmp dl, 0x23
jne 0x180040014
cmp byte [rax], dl
je 0x18004001d
mov rcx, rax
cmp rax, 0xffffffffffffffff
jb 0x180040000
movss xmm0, dword [rbx + 0x1990]
movss xmm1, dword [0x180056574]
movss dword [rbp - 0x20], xmm1
movss xmm9, dword [0x180056560]
xorps xmm10, xmm10
cmp r15, rcx
jne 0x180040049
xorps xmm7, xmm7
jmp 0x18004008d
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.1800329b0
movss xmm0, dword [rbp - 0x68]
addss xmm0, dword [0x180056444]
cvttss2si eax, xmm0
movd xmm7, eax
cvtdq2ps xmm7, xmm7
movss xmm0, dword [rbp - 0x64]
movss dword [rbp - 0x1c], xmm7
test sil, sil
je 0x1800400a9
movss xmm0, dword [r12 + 0x1990]
mulss xmm0, dword [0x1800564c8]
movss xmm6, dword [r12 + 0x15b0]
movaps xmm3, xmm6
addss xmm3, xmm6
addss xmm3, xmm0
call fcn.180011e00
movaps xmm2, xmm0
mov rdx, qword [rbp + 0x200]
mov rdx, qword [rdx]
lea rcx, [rbp - 0x68]
call fcn.180011e80
comiss xmm7, xmm10
jbe 0x1800400ee
movaps xmm1, xmm7
addss xmm1, dword [r12 + 0x15c4]
jmp 0x1800400f1
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 + 0xa8], 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.180011a80
test sil, sil
je 0x180040546
mov r9d, 0x100
lea r8, [rbp - 8]
mov edx, r13d
lea rcx, [rbp + 0x78]
call fcn.180011bd0
test al, al
je 0x18004047b
mov r15d, dword [r12 + 0x1ce0]
movups xmm0, xmmword [r12 + 0x1cd8]
movups xmmword [rbp + 0xa8], xmm0
movss dword [rdi + 0xd8], xmm8
movss dword [rdi + 0xdc], xmm12
mov rbx, qword [0x180060f20]
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.180019730
movups xmm0, xmmword [r12 + 0x16a8]
movups xmmword [rbx + 0x1668], xmm0
movss xmm1, dword [r12 + 0x15b4]
mov ecx, 7
call fcn.180005e80
movss xmm1, dword [r12 + 0x15b8]
mov ecx, 8
call fcn.180005e80
mov rbx, qword [0x180060f20]
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.180019640
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.18000bc80
movzx r11d, al
mov r8, qword [0x180060f20]
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, [0x180050ed0]
mov ecx, dword [rbx + r10*4 + 8]
cmp dword [rbx + r10*4], 8
jne 0x180040369
mov eax, dword [rbx + r10*4 + 4]
cmp eax, 1
jne 0x18004034a
mov eax, dword [r9 + rdx*4 - 8]
mov dword [rcx + r8 + 0x1570], eax
jmp 0x180040369
cmp eax, 2
jne 0x180040369
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 0x1800403d2
mov eax, dword [rbx + r10*4 + 4]
cmp eax, 1
jne 0x1800403b5
mov eax, dword [rdx + rcx*4 + 4]
mov dword [r9 + r8 + 0x1570], eax
jmp 0x1800403d2
cmp eax, 2
jne 0x1800403d2
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 0x18004043b
mov eax, dword [rbx + r10*4 + 4]
cmp eax, 1
jne 0x18004041e
mov eax, dword [rdx + rcx*4 + 4]
mov dword [r9 + r8 + 0x1570], eax
jmp 0x18004043b
cmp eax, 2
jne 0x18004043b
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 0x1800404e4
call fcn.18000bf50
call fcn.1800120b0
xor al, al
mov rcx, qword [rbp + 0xe8]
xor rcx, rsp
call fcn.18004d5b0
lea r11, [rsp + 0x298]
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 0x180040599
bt r14d, 0x1c
jb 0x18004058f
mov r9d, 0x100
lea r8, [rbp - 8]
mov edx, r13d
lea rcx, [rbp + 0x78]
call fcn.180011bd0
test al, al
je 0x180040480
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.180007a20
movzx edx, al
mov byte [rsp + 0x6d], al
mov eax, 1
test dl, dl
je 0x1800405bd
mov dword [r12 + 0x1fb0], eax
mov rsi, qword [0x180060f20]
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 0x18004060f
cmp dword [r12 + 0x1e3c], r13d
je 0x18004060a
cmp dword [r12 + 0x1e30], r13d
jne 0x18004060f
cmp dword [r12 + 0x1e58], 2
jne 0x18004060f
mov r13b, 1
jmp 0x180040612
xor r13b, r13b
mov byte [rsp + 0x51], r13b
test dl, dl
je 0x18004062b
cmp byte [r12 + 0x420], 0
je 0x18004062b
mov r14b, 1
jmp 0x18004062e
xor r14b, r14b
mov byte [rsp + 0x54], r14b
mov r8d, dword [rsp + 0x5c]
test r8b, r8b
je 0x18004069f
test rsi, rsi
je 0x18004069f
test eax, eax
jne 0x18004069f
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.180005250
mov ebx, eax
mov rcx, qword [0x180060f20]
cmp dword [rcx + 0x1c54], eax
jne 0x18004068b
lea r8, str.SCROLLY
mov edx, 0xb
mov ecx, eax
call fcn.180018dc0
cmp dword [r12 + 0x1ca8], ebx
jne 0x18004069a
mov dil, 1
jmp 0x1800406ac
mov r8d, dword [rsp + 0x5c]
xor dil, dil
test r8b, r8b
je 0x180040720
test rsi, rsi
je 0x180040720
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.180005250
mov ebx, eax
mov rcx, qword [0x180060f20]
cmp dword [rcx + 0x1c54], eax
jne 0x1800406f5
lea r8, str.SCROLLY
mov edx, 0xb
mov ecx, eax
call fcn.180018dc0
mov r8d, dword [rsp + 0x5c]
cmp dword [r12 + 0x1c6c], ebx
jne 0x180040720
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 0x180040745
mov byte [rsp + 0x52], 0
mov byte [rsp + 0x78], 0
xor bl, bl
mov byte [rsp + 0x50], bl
test r8b, r8b
je 0x180040741
mov rax, qword [rbp - 0x48]
movss xmm9, dword [rax + 0x60]
jmp 0x180040745
mov byte [rsp + 0x50], bl
test rsi, rsi
je 0x18004075a
movzx eax, r8b
xor al, 1
cmp byte [rsi + 0x63], al
je 0x18004075a
mov r12b, 1
jmp 0x18004075d
xor r12b, r12b
test r14b, r14b
jne 0x180040785
test dil, dil
jne 0x180040785
test r13b, r13b
jne 0x180040785
test r15b, r15b
jne 0x180040785
test bl, bl
jne 0x180040788
mov byte [rsp + 0x53], r13b
mov rax, qword [rsp + 0x70]
mov r11d, dword [rbp - 0x80]
jmp 0x18004079f
mov r13b, 1
mov byte [rsp + 0x53], 1
mov rax, qword [rsp + 0x70]
mov r11d, dword [rbp - 0x80]
cmp dword [rax + 0x1c6c], r11d
jne 0x1800407a8
test r12b, r12b
je 0x1800409c0
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 0x1800407c4
lea ebx, [rax + 1]
mov ecx, dword [rsi + 0x34]
cmp ebx, ecx
jle 0x1800407fd
test ecx, ecx
je 0x1800407e8
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1800407ed
mov eax, 8
mov edx, ebx
cmp eax, ebx
cmovg edx, eax
lea rcx, [rsi + 0x30]
call fcn.180019dd0
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 0x18004083f
test ecx, ecx
je 0x18004082a
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18004082f
mov eax, 8
mov edx, ebx
cmp eax, ebx
cmovg edx, eax
lea rcx, [rsi + 0x10]
call fcn.180019f30
mov dword [rsi + 0x10], ebx
mov ecx, dword [rsi + 0x24]
test ecx, ecx
jns 0x180040864
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.180019dd0
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 0x1800408b5
cmp byte [rdi], 0
je 0x1800408b3
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp - 0x58]
call fcn.180005570
movsxd rcx, eax
add rdi, rcx
mov eax, dword [rbp - 0x58]
test eax, eax
je 0x1800408b3
mov word [rbx], ax
add rbx, 2
cmp rbx, r14
jb 0x180040886
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 0x180040904
test r12b, r12b
jne 0x180040904
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 0x180040953
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 0x1800409ae
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 0x180040992
test dl, dl
je 0x18004098d
test byte [rcx + 0x1e40], 4
jne 0x180040992
mov byte [rsp + 0x78], 1
cmp byte [rsp + 0x58], 0
jne 0x1800409a9
cmp byte [rsp + 0x54], 0
je 0x1800409ae
cmp byte [rcx + 0x140], 0
je 0x1800409ae
mov byte [rsp + 0x78], 1
movzx ebx, byte [rsp + 0x50]
bt r14d, 0xd
jae 0x1800409c9
mov byte [rsi + 0x58], 1
jmp 0x1800409c9
mov r15, qword [rbp - 0x50]
mov r14d, dword [rsp + 0x64]
mov rdi, qword [rsp + 0x70]
cmp dword [rdi + 0x1c6c], r11d
je 0x180040a74
test r13b, r13b
je 0x180040a67
mov rdx, qword [rbp - 0x18]
mov ecx, r11d
call fcn.180007960
call fcn.180013c70
mov rcx, rdx
call fcn.180011270
mov eax, dword [rdi + 0x1c80]
or eax, 3
mov dword [rdi + 0x1c80], eax
mov r8d, dword [rsp + 0x5c]
test r8b, r8b
jne 0x180040a1b
test r14b, r14b
jns 0x180040a24
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 0x180040a4f
or rax, 0x60
mov qword [rdi + 0x1c88], rax
mov r11d, dword [rbp - 0x80]
test r14d, 0x440
je 0x180040a67
or rax, 1
mov qword [rdi + 0x1c88], rax
cmp dword [rdi + 0x1c6c], r11d
jne 0x180040b0a
test rsi, rsi
jne 0x180040ae3
mov rdx, qword [0x180060f20]
mov ecx, dword [rdx + 0x1c6c]
test ecx, ecx
setne al
mov byte [rdx + 0x1c78], al
xor r8d, r8d
test ecx, ecx
je 0x180040ab1
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 0x180040b0a
cmp byte [rdi + 0x420], 0
je 0x180040b13
cmp byte [rsp + 0x53], 0
jne 0x180040b13
test r13b, r13b
jne 0x180040b13
mov byte [rsp + 0x52], 1
mov cl, 1
jmp 0x180040b19
test rsi, rsi
je 0x180040b17
test bl, bl
je 0x180040b17
mov cl, 1
jmp 0x180040b19
xor cl, cl
mov byte [rsp + 0x50], cl
mov r13d, dword [rsp + 0x78]
test rsi, rsi
je 0x180040b3c
mov eax, dword [rsi + 0x54]
cmp dword [rsi + 0x50], eax
jne 0x180040b34
test r13b, r13b
je 0x180040b3c
test cl, cl
je 0x180040b3c
mov dl, 1
jmp 0x180040b3e
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 0x180040c41
test rsi, rsi
je 0x180040c41
test cl, cl
jne 0x180040b71
test dl, dl
je 0x180040c49
mov r14d, dword [rbp - 0x78]
inc r14d
mov ecx, dword [rsi + 0x14]
cmp r14d, ecx
jle 0x180040ba6
test ecx, ecx
je 0x180040b8f
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180040b94
mov eax, 8
mov edx, r14d
cmp eax, r14d
cmovg edx, eax
lea rcx, [rsi + 0x10]
call fcn.180019f30
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 0x180040bf0
cmp byte [rdi], 0
je 0x180040bf0
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp - 0x58]
call fcn.180005570
movsxd rcx, eax
add rdi, rcx
mov eax, dword [rbp - 0x58]
test eax, eax
je 0x180040bf0
mov word [rbx], ax
add rbx, 2
cmp rbx, r14
jb 0x180040bc3
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 0x180040c6e
test dl, dl
jne 0x180040c6e
mov r12, qword [rsp + 0x70]
cmp dword [r12 + 0x1c6c], r11d
je 0x180040c73
xor al, al
mov byte [rbp - 0x70], al
cmp qword [rbp - 0x38], 0
je 0x180040c91
test al, al
je 0x180040c85
mov rax, qword [rsi + 0x28]
jmp 0x180040c88
mov r12, qword [rsp + 0x70]
test al, al
jne 0x180040c58
test rsi, rsi
je 0x180040c58
cmp byte [rsi + 0x40], al
je 0x180040c58
mov al, 1
jmp 0x180040c5a
mov rax, r15
cmp byte [rax], 0
jne 0x180040c91
mov al, 1
jmp 0x180040c93
xor al, al
mov byte [rsp + 0x53], al
mov r14d, dword [rbp - 0x2c]
test r14b, r14b
je 0x180040d3c
test al, al
jne 0x180040d3c
mov rdx, qword [r12 + 0x1988]
cmp dword [rdx + 0x18], 0x2a
ja 0x180040cc0
mov r8, qword [rdx + 0x38]
jmp 0x180040ce4
mov rax, qword [rdx + 0x20]
movzx ecx, word [rax + 0x54]
mov eax, 0xffff
cmp cx, ax
jne 0x180040cd8
mov r8, qword [rdx + 0x38]
jmp 0x180040ce4
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.180011570
xor ecx, ecx
mov dword [rbp - 0x58], ecx
movss xmm0, dword [0x180056410]
mov ebx, dword [rbp - 0x80]
cmp dword [r12 + 0x1c6c], ebx
jne 0x180041339
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 0x180040dd9
movss xmm2, dword [r12 + 0x12c]
mov rax, qword [rbp - 0x48]
subss xmm2, dword [rax + 0xdc]
jmp 0x180040de7
movss xmm2, dword [r12 + 0x1990]
mulss xmm2, xmm0
movzx r14d, byte [r12 + 0xc9]
mov byte [rsp + 0x6c], r14b
test r13b, r13b
je 0x180040e1d
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 0x180041153
movzx eax, byte [rsp + 0x6d]
test al, al
je 0x18004109d
cmp word [r12 + 0x42a], 2
jb 0x18004109d
cmp byte [r12 + 0x141], 0
jne 0x18004109d
lea rdi, [rsi + 0x4c]
cmp byte [rdi + 0x17], 0
je 0x180040e57
movaps xmm2, xmm10
mov rcx, rsi
call fcn.18003e3a0
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 0x18004100a
test eax, eax
je 0x180040e9c
lea eax, [rdx - 1]
movsxd rcx, eax
mov rax, qword [rsi + 0x18]
cmp word [rax + rcx*2], 0xa
je 0x180040e9c
xor cl, cl
jmp 0x180040e9e
mov cl, 1
mov eax, dword [rsi + 0x54]
cmp dword [rsi + 0x50], eax
jne 0x180040eaa
test cl, cl
jne 0x180040ece
mov r8d, 0x20000c
mov rdx, rdi
mov rcx, rsi
call fcn.18003e890
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 0x180040eea
mov eax, dword [rdi + 8]
cmp dword [rdi + 4], eax
jne 0x180040ee6
mov dword [rdi + 8], edx
mov dword [rdi + 4], edx
jmp 0x180040eea
mov dword [rdi], eax
mov edx, eax
lea r9d, [rdx + 1]
movsxd r10, dword [rsi + 4]
cmp r9d, r10d
jge 0x180040fb9
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 0x180040f9c
test rdx, rdx
jle 0x180040fa7
mov r8, qword [rsi + 0x18]
movzx ecx, word [r8 + rdx*2 - 2]
cmp ecx, 0x3b
ja 0x180040f4f
bt r13, rcx
jb 0x180040f96
cmp cx, r15w
je 0x180040f96
sub cx, 0x5b
cmp cx, 0x22
ja 0x180040f68
movzx eax, cx
bt r12, rax
jb 0x180040f96
movzx ecx, word [r8 + rdx*2]
cmp ecx, 0x3b
ja 0x180040f78
bt r13, rcx
jb 0x180040f91
cmp cx, r15w
je 0x180040f91
sub cx, 0x5b
cmp cx, 0x22
ja 0x180040f96
movzx eax, cx
bt r12, rax
jae 0x180040f96
mov eax, r14d
jmp 0x180040f98
mov eax, edi
test eax, eax
jne 0x180040fa7
inc r9d
inc rdx
cmp rdx, r10
jl 0x180040f30
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 0x180040ff2
cmp eax, r10d
jle 0x180040fda
mov dword [rdi + 4], r10d
mov eax, r10d
cmp ecx, r10d
jle 0x180040fe9
mov dword [rdi + 8], r10d
mov ecx, r10d
mov r9d, dword [rdi]
cmp eax, ecx
jne 0x180040ff2
mov dword [rdi], eax
mov r9d, eax
cmp r9d, r10d
jle 0x180041091
mov dword [rdi], r10d
lea rax, [rsi + 0xe7d]
jmp 0x180041146
mov rcx, qword [rsi + 0x18]
movzx ebx, word [rcx + rdx*2]
mov r8d, 0x200004
mov rdx, rdi
mov rcx, rsi
call fcn.18003e890
mov byte [rsi + 0xe7c], 1
mov dword [rsi + 0xe78], 0xbe99999a
mov r8d, 0x600005
mov rdx, rdi
mov rcx, rsi
call fcn.18003e890
mov byte [rsi + 0xe7c], 1
mov dword [rsi + 0xe78], 0xbe99999a
mov r8d, 0x600001
mov rdx, rdi
mov rcx, rsi
call fcn.18003e890
mov dword [rsi + 0xe78], 0xbe99999a
cmp bx, 0xa
je 0x18004108a
test r15b, r15b
je 0x18004108a
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 0x180041146
lea rbx, [rsi + 0xe7d]
movzx ecx, byte [rbx]
cmp byte [r12 + 0x420], 0
je 0x1800410e7
test cl, cl
jne 0x1800410e7
test al, al
je 0x1800410e2
cmp byte [rsi + 0x63], cl
je 0x1800410c3
movaps xmm2, xmm10
mov rcx, rsi
call fcn.18003e3a0
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 0x180041150
mov rax, rbx
test dl, dl
je 0x180041150
test cl, cl
jne 0x180041150
movss xmm0, dword [r12 + 0x3b4]
ucomiss xmm0, xmm10
jp 0x180041116
jne 0x180041116
movss xmm0, dword [r12 + 0x3b8]
ucomiss xmm0, xmm10
jp 0x180041116
je 0x180041150
cmp byte [rsi + 0x63], 0
je 0x180041120
movaps xmm2, xmm10
mov eax, dword [rsi + 0x54]
cmp dword [rsi + 0x50], eax
jne 0x18004112e
mov eax, dword [rsi + 0x4c]
mov dword [rsi + 0x50], eax
mov rcx, rsi
call fcn.18003e3a0
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 0x180041166
cmp byte [r12 + 0x130], 0
jne 0x180041166
mov byte [rax], 0
cmp byte [r12 + 0x140], 0
je 0x18004117c
cmp byte [r12 + 0x142], 0
je 0x18004118c
test r14b, r14b
je 0x180041190
cmp byte [r12 + 0x143], 0
je 0x180041190
mov bl, 1
jmp 0x180041192
xor bl, bl
mov r8d, dword [rsp + 0x64]
bt r8d, 0xa
jae 0x18004125a
mov rax, qword [0x180060f20]
mov ecx, dword [rax + 0x3c]
test ecx, ecx
js 0x18004125a
call fcn.18000bbc0
test al, al
mov eax, dword [rsp + 0x60]
je 0x18004125e
test bl, bl
jne 0x18004125e
cmp byte [r12 + 0x141], bl
jne 0x18004125e
test al, al
jne 0x18004125e
mov rcx, qword [r12 + 0x1568]
movsxd rax, dword [r12 + 0x1560]
lea rdx, [rcx + rax*2]
cmp rcx, rdx
jae 0x180041212
nop dword [rax]
movzx eax, word [rcx]
add rcx, 2
cmp ax, 9
je 0x18004125a
cmp rcx, rdx
jb 0x180041200
mov dword [rsp + 0x58], 9
mov dword [rsp + 0x20], 2
mov edx, r8d
lea rcx, [rsp + 0x58]
call fcn.18003fc80
test al, al
je 0x180041255
lea rdx, [rsi + 0x4c]
mov r8d, dword [rsp + 0x58]
mov rcx, rsi
call fcn.18003e890
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 0x180041332
test bl, bl
jne 0x180041300
test al, al
jne 0x180041300
cmp byte [rsp + 0x51], al
jne 0x180041300
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 0x1800412b0
cmp byte [r12 + 0x141], 0
jne 0x1800412eb
mov dword [rsp + 0x20], 2
mov edx, r8d
lea rcx, [rsp + 0x58]
call fcn.18003fc80
test al, al
je 0x1800412eb
lea rdx, [rsi + 0x4c]
mov r8d, dword [rsp + 0x58]
mov rcx, rsi
call fcn.18003e890
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 0x180041290
mov ecx, dword [r12 + 0x1564]
test ecx, ecx
jns 0x18004132a
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.180019f30
mov dword [r12 + 0x1560], r15d
mov r14d, dword [rbp - 0x2c]
mov ebx, dword [rbp - 0x80]
xor cl, cl
cmp dword [r12 + 0x1c6c], ebx
jne 0x180041ff0
cmp byte [r12 + 0x1c78], cl
jne 0x180041ff0
cmp byte [rsp + 0x52], cl
jne 0x180041ff0
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 0x1800413c0
mov r8d, dword [r12 + 0x3c0]
cmp r8d, 0xa
jne 0x1800413c0
mov r9b, 1
jmp 0x1800413cf
mov r8d, dword [r12 + 0x3c0]
xor r9b, r9b
test al, al
je 0x1800413fd
movzx r12d, byte [r12 + 0x142]
mov rcx, qword [rsp + 0x70]
cmp byte [rcx + 0x143], 0
je 0x180041406
cmp byte [rcx + 0x140], 0
jne 0x180041406
test r12b, r12b
jne 0x180041406
mov r15b, 1
cmp r8d, 8
jmp 0x180041417
movzx r12d, byte [r12 + 0x140]
xor r15b, r15b
test al, al
je 0x180041413
cmp r8d, 8
jmp 0x180041417
cmp r8d, 1
sete r10b
mov byte [rsp + 0x6c], r10b
test r10b, r10b
je 0x18004143f
mov rax, qword [0x180060f20]
mov ecx, dword [rax + 0x88]
test ecx, ecx
js 0x18004143f
call fcn.18000bbc0
test al, al
jne 0x18004145c
cmp r8d, 2
jne 0x180041483
mov rax, qword [0x180060f20]
mov ecx, dword [rax + 0x64]
test ecx, ecx
js 0x180041483
call fcn.18000bbc0
test al, al
je 0x180041483
mov edi, dword [rsp + 0x60]
mov r11d, dword [rsp + 0x5c]
test dil, dil
jne 0x18004148c
test r14b, r14b
jne 0x18004148c
test r11b, r11b
je 0x18004147c
mov eax, dword [rsi + 0x54]
cmp dword [rsi + 0x50], eax
je 0x18004148c
mov byte [rsp + 0x51], 1
jmp 0x180041491
mov r11d, dword [rsp + 0x5c]
mov edi, dword [rsp + 0x60]
mov byte [rsp + 0x51], 0
test r10b, r10b
je 0x1800414b0
mov rax, qword [0x180060f20]
mov ecx, dword [rax + 0x80]
test ecx, ecx
js 0x1800414b0
call fcn.18000bbc0
test al, al
jne 0x1800414cd
cmp r8d, 1
jne 0x1800414e6
mov rax, qword [0x180060f20]
mov ecx, dword [rax + 0x60]
test ecx, ecx
js 0x1800414e6
call fcn.18000bbc0
test al, al
je 0x1800414e6
test r14b, r14b
jne 0x1800414e6
test r11b, r11b
je 0x1800414df
mov eax, dword [rsi + 0x54]
cmp dword [rsi + 0x50], eax
je 0x1800414e6
mov byte [rsp + 0x6d], 1
jmp 0x1800414eb
mov byte [rsp + 0x6d], 0
test r10b, r10b
je 0x18004150a
mov rax, qword [0x180060f20]
mov ecx, dword [rax + 0x84]
test ecx, ecx
js 0x18004150a
call fcn.18000bbc0
test al, al
jne 0x180041527
cmp r8d, 2
jne 0x180041531
mov rax, qword [0x180060f20]
mov ecx, dword [rax + 0x60]
test ecx, ecx
js 0x180041531
call fcn.18000bbc0
test al, al
je 0x180041531
test dil, dil
jne 0x180041531
mov r13b, 1
jmp 0x180041534
xor r13b, r13b
test r10b, r10b
je 0x180041567
mov rax, qword [0x180060f20]
mov ecx, dword [rax + 0x90]
test ecx, ecx
js 0x180041567
call fcn.18000bbc0
mov r8d, dword [rsp + 0x68]
test al, al
je 0x18004156c
test dil, dil
jne 0x18004156c
test r8b, r8b
je 0x18004156c
mov r14b, 1
jmp 0x180041574
mov r8d, dword [rsp + 0x68]
xor r14b, r14b
test r10b, r10b
je 0x18004158e
mov rax, qword [0x180060f20]
mov ecx, dword [rax + 0x8c]
test ecx, ecx
js 0x18004158e
call fcn.18000bbc0
test al, al
jne 0x1800415ad
test r9b, r9b
je 0x1800415bc
mov rax, qword [0x180060f20]
mov ecx, dword [rax + 0x90]
test ecx, ecx
js 0x1800415bc
call fcn.18000bbc0
test al, al
je 0x1800415bc
test dil, dil
jne 0x1800415bc
test r8b, r8b
je 0x1800415bc
mov dil, 1
jmp 0x1800415bf
xor dil, dil
mov rax, qword [0x180060f20]
mov ecx, dword [rax + 0x70]
test ecx, ecx
js 0x1800415d6
call fcn.18000bbc0
test al, al
jne 0x1800415ed
mov rax, qword [0x180060f20]
mov ecx, dword [rax + 0x78]
test ecx, ecx
js 0x1800415f2
call fcn.18000bbc0
test al, al
je 0x1800415f2
mov r11b, 1
jmp 0x1800415f5
xor r11b, r11b
mov r9d, 1
mov edx, r9d
xor ecx, ecx
call fcn.180014d80
comiss xmm0, xmm10
jbe 0x180041622
mov rax, qword [0x180060f20]
mov ecx, dword [rax + 0x6c]
test ecx, ecx
js 0x18004163a
call fcn.18000bbc0
test al, al
je 0x18004163a
mov edx, r9d
mov ecx, 2
call fcn.180014d80
comiss xmm0, xmm10
ja 0x18004163a
xor r10b, r10b
jmp 0x18004163e
movzx r10d, r9b
mov rax, qword [0x180060f20]
mov ecx, dword [rax + 0x74]
test ecx, ecx
js 0x180041655
call fcn.18000bbc0
test al, al
jne 0x180041669
mov edx, r9d
mov ecx, r9d
call fcn.180014d80
comiss xmm0, xmm10
ja 0x180041669
xor r9b, r9b
mov rax, qword [0x180060f20]
mov ecx, dword [rax + 0x40]
test ecx, ecx
js 0x1800416b2
call fcn.18000bbc0
test al, al
je 0x1800416b2
test r15b, r15b
je 0x18004168c
mov eax, 0x200004
jmp 0x18004169c
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.18003e890
jmp 0x180041fb6
mov rax, qword [0x180060f20]
mov ecx, dword [rax + 0x44]
test ecx, ecx
js 0x18004170f
call fcn.18000bbc0
test al, al
je 0x18004170f
test r15b, r15b
je 0x1800416e9
mov ecx, 0x200005
or ebx, ecx
lea rdx, [rsi + 0x4c]
mov r8d, ebx
mov rcx, rsi
call fcn.18003e890
jmp 0x180041fb6
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.18003e890
jmp 0x180041fb6
mov rax, qword [0x180060f20]
mov ecx, dword [rax + 0x48]
test ecx, ecx
js 0x18004179b
call fcn.18000bbc0
test al, al
je 0x18004179b
cmp byte [rsp + 0x5c], 0
je 0x18004179b
mov r12, qword [rsp + 0x70]
cmp byte [r12 + 0x140], 0
je 0x18004176a
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 0x180041fcc
movzx eax, r15b
lea r8d, [rax*4 + 0x200002]
or r8d, ebx
lea rdx, [rsi + 0x4c]
mov rcx, rsi
call fcn.18003e890
mov byte [rsi + 0xe7c], 1
mov dword [rsi + 0xe78], 0xbe99999a
jmp 0x180041fcc
mov r8, qword [0x180060f20]
mov ecx, dword [r8 + 0x4c]
test ecx, ecx
js 0x18004180f
call fcn.18000bbc0
test al, al
je 0x18004180f
cmp byte [rsp + 0x5c], 0
je 0x18004180f
mov r12, qword [rsp + 0x70]
cmp byte [r12 + 0x140], 0
je 0x1800417fe
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 0x180041fcc
movzx eax, r15b
lea r8d, [rax*4 + 0x200003]
jmp 0x180041776
mov rax, qword [0x180060f20]
mov ecx, dword [rax + 0x50]
test ecx, ecx
js 0x180041878
call fcn.18000bbc0
mov r15d, dword [rsp + 0x5c]
test al, al
je 0x18004187d
test r15b, r15b
je 0x18004187d
or ebx, 0x20000e
lea rdx, [rsi + 0x4c]
mov r8d, ebx
mov rcx, rsi
call fcn.18003e890
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 0x180041fcc
mov r15d, dword [rsp + 0x5c]
mov rax, qword [0x180060f20]
mov ecx, dword [rax + 0x54]
test ecx, ecx
js 0x1800418e1
call fcn.18000bbc0
test al, al
je 0x1800418e1
test r15b, r15b
je 0x1800418e1
or ebx, 0x20000f
lea rdx, [rsi + 0x4c]
mov r8d, ebx
mov rcx, rsi
call fcn.18003e890
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 0x180041fcc
mov rax, qword [0x180060f20]
mov ecx, dword [rax + 0x58]
test ecx, ecx
js 0x18004191e
call fcn.18000bbc0
test al, al
je 0x18004191e
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 0x180041779
mov rax, qword [0x180060f20]
mov ecx, dword [rax + 0x5c]
test ecx, ecx
js 0x18004195c
call fcn.18000bbc0
test al, al
je 0x18004195c
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 0x180041779
mov rax, qword [0x180060f20]
mov ecx, dword [rax + 0x64]
test ecx, ecx
js 0x18004199f
call fcn.18000bbc0
movzx r8d, byte [rsp + 0x51]
test al, al
je 0x1800419a5
cmp byte [rsp + 0x60], 0
jne 0x1800419a5
test r8b, r8b
jne 0x1800419a5
or ebx, 0x200008
lea rdx, [rsi + 0x4c]
mov r8d, ebx
mov rcx, rsi
call fcn.18003e890
jmp 0x180041fb6
movzx r8d, byte [rsp + 0x51]
mov rax, qword [0x180060f20]
mov ecx, dword [rax + 0x68]
test ecx, ecx
js 0x180041a74
call fcn.18000bbc0
test al, al
je 0x180041a74
cmp byte [rsp + 0x60], 0
jne 0x180041a74
mov eax, dword [rsi + 0x54]
cmp dword [rsi + 0x50], eax
jne 0x1800419ff
test r12b, r12b
je 0x180041a12
lea rdx, [rsi + 0x4c]
mov r8d, 0x60000c
mov rcx, rsi
call fcn.18003e890
mov byte [rsi + 0xe7c], 1
mov dword [rsi + 0xe78], 0xbe99999a
mov r12, qword [rsp + 0x70]
or ebx, 0x200009
mov r8d, ebx
jmp 0x180041779
mov r12, qword [rsp + 0x70]
cmp byte [r12 + 0xc9], 0
je 0x180041a04
cmp byte [r12 + 0x143], 0
je 0x180041a04
cmp byte [r12 + 0x142], 0
jne 0x180041a04
cmp byte [r12 + 0x140], 0
jne 0x180041a04
lea rdx, [rsi + 0x4c]
mov r8d, 0x600004
mov rcx, rsi
call fcn.18003e890
mov byte [rsi + 0xe7c], 1
mov dword [rsi + 0xe78], 0xbe99999a
or ebx, 0x200009
mov r8d, ebx
jmp 0x180041779
test r11b, r11b
je 0x180041ae9
mov edx, dword [rsp + 0x64]
mov eax, edx
shr eax, 0xb
and al, 1
mov r12, qword [rsp + 0x70]
test r15b, r15b
je 0x180041a9f
movzx ecx, byte [r12 + 0x140]
test al, al
je 0x180041aae
test cl, cl
jne 0x180041ab2
mov byte [rsp + 0x52], 1
mov byte [rsp + 0x54], 1
jmp 0x180041fcc
test cl, cl
jne 0x180041a9f
cmp byte [rsp + 0x60], 0
jne 0x180041fcc
mov dword [rsp + 0x58], 0xa
mov dword [rsp + 0x20], 2
lea rcx, [rsp + 0x58]
call fcn.18003fc80
test al, al
je 0x180041fcc
mov r8d, dword [rsp + 0x58]
jmp 0x180041779
test r10b, r10b
je 0x180041afd
mov byte [rsp + 0x52], 1
mov byte [rsp + 0x54], 1
jmp 0x180041fc7
test r9b, r9b
je 0x180041b12
mov cl, 1
mov byte [rsp + 0x52], cl
mov r12, qword [rsp + 0x70]
jmp 0x180041fce
test r14b, r14b
jne 0x180041f92
test dil, dil
jne 0x180041f92
cmp byte [rsp + 0x6c], dil
je 0x180041b59
mov rax, qword [0x180060f20]
mov ecx, dword [rax + 0x7c]
test ecx, ecx
js 0x180041b59
call fcn.18000bbc0
test al, al
je 0x180041b59
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 0x180041fc0
test r8b, r8b
jne 0x180041d8e
cmp byte [rsp + 0x6d], r8b
jne 0x180041d8e
test r13b, r13b
je 0x180041fc7
mov rcx, qword [0x180060f20]
mov rax, qword [rcx + 0x100]
test rax, rax
je 0x180041b9f
mov rcx, qword [rcx + 0x110]
call rax
mov rbx, rax
test rax, rax
jne 0x180041ba6
jmp 0x180041fc7
lea rbx, [0x180050c4e]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rbx + rax], 0
jne 0x180041bb0
mov rcx, qword [0x180060f20]
test rcx, rcx
je 0x180041bcb
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 0x180041c4e
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.180005570
movsxd rcx, eax
add rbx, rcx
cmp dword [rsp + 0x68], r12d
je 0x180041c4a
mov dword [rsp + 0x20], 5
mov edx, r15d
lea rcx, [rsp + 0x68]
call fcn.18003fc80
test al, al
je 0x180041c45
movzx eax, word [rsp + 0x68]
mov word [rdi], ax
inc r14d
add rdi, 2
cmp byte [rbx], r12b
jne 0x180041c00
mov r15, qword [rbp - 0x18]
movsxd rax, r14d
mov word [r15 + rax*2], r12w
test r14d, r14d
jle 0x180041d69
mov edx, dword [rsi + 4]
mov r8d, dword [rsi + 0x54]
mov eax, dword [rsi + 0x50]
mov ecx, edx
cmp eax, r8d
je 0x180041ca0
mov r9d, eax
cmp eax, edx
jle 0x180041c80
mov dword [rsi + 0x50], edx
mov r9d, edx
mov ecx, dword [rsi + 4]
mov r10d, r8d
cmp r8d, edx
jle 0x180041c91
mov dword [rsi + 0x54], edx
mov r10d, edx
mov ecx, dword [rsi + 4]
mov r8d, r10d
mov eax, r9d
cmp r9d, r10d
jne 0x180041ca0
mov dword [rsi + 0x4c], r9d
mov r9d, dword [rsi + 0x4c]
cmp r9d, edx
jle 0x180041caf
mov dword [rsi + 0x4c], edx
mov r9d, edx
cmp eax, r8d
je 0x180041cdd
mov edx, eax
cmp eax, ecx
jle 0x180041cbf
mov dword [rsi + 0x50], ecx
mov edx, ecx
mov r10d, r8d
cmp r8d, ecx
jle 0x180041ccd
mov dword [rsi + 0x54], ecx
mov r10d, ecx
mov r8d, r10d
mov eax, edx
cmp edx, r10d
jne 0x180041cdd
mov dword [rsi + 0x4c], edx
mov r9d, edx
cmp r9d, ecx
jle 0x180041ce5
mov dword [rsi + 0x4c], ecx
cmp eax, r8d
je 0x180041d21
lea rdx, [rsi + 0x4c]
mov rcx, rsi
jge 0x180041d09
sub r8d, eax
mov r9d, r8d
mov r8d, eax
call fcn.18003e710
mov eax, dword [rsi + 0x50]
mov dword [rsi + 0x54], eax
jmp 0x180041d1a
sub eax, r8d
mov r9d, eax
call fcn.18003e710
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.18003e210
test al, al
je 0x180041d62
mov edi, dword [rsi + 0x4c]
lea rcx, [rsi + 0x6c]
xor edx, edx
call fcn.18003f7a0
test rax, rax
je 0x180041d5a
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 0x180041d80
mov rax, qword [0x180060f20]
test rax, rax
je 0x180041d80
dec dword [rax + 0x3b0]
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x180041fc7
mov r12, qword [rsp + 0x70]
cmp qword [r12 + 0x108], 0
je 0x180041ee5
mov eax, dword [rsi + 0x54]
mov ecx, dword [rsi + 0x50]
cmp ecx, eax
je 0x180041db9
mov edx, eax
cmovl edx, ecx
cmovge eax, ecx
xor r13d, r13d
jmp 0x180041dc2
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 0x180041ded
cmp rdx, r8
jae 0x180041e10
movzx eax, word [rdx]
test ax, ax
je 0x180041e10
add rdx, 2
cmp ax, r10w
jae 0x180041e03
inc ecx
jmp 0x180041de3
cmp ax, r9w
sbb eax, eax
add eax, 3
add ecx, eax
jmp 0x180041de3
inc ecx
mov rax, qword [0x180060f20]
test rax, rax
je 0x180041e24
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 0x180041e99
mov r13d, 0x80
test r11, r11
je 0x180041e5f
cmp r10, r11
jae 0x180041e96
movzx eax, word [r10]
test ax, ax
je 0x180041e96
mov r8d, eax
add r10, 2
cmp eax, r13d
jae 0x180041e7c
mov byte [r9], r8b
inc r9
jmp 0x180041e91
mov edx, edi
sub edx, r9d
dec edx
mov rcx, r9
call fcn.180005720
movsxd rcx, eax
add r9, rcx
cmp r9, rbx
jb 0x180041e55
xor r13d, r13d
mov byte [r9], 0
mov rax, qword [0x180060f20]
mov r8, qword [rax + 0x108]
test r8, r8
je 0x180041ec4
mov rdx, r14
mov rcx, qword [rax + 0x110]
call r8
mov rax, qword [0x180060f20]
test r14, r14
je 0x180041ed4
test rax, rax
je 0x180041ed4
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 0x180041ee8
xor r13d, r13d
test r8b, r8b
je 0x180041fcc
mov eax, dword [rsi + 0x54]
lea rbx, [rsi + 0x4c]
cmp dword [rsi + 0x50], eax
jne 0x180041f0d
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 0x180041fcc
mov ecx, dword [rsi + 4]
cmp eax, ecx
jle 0x180041f30
mov dword [rbx + 4], ecx
mov eax, ecx
cmp r8d, ecx
jle 0x180041f3b
mov dword [rbx + 8], ecx
mov r8d, ecx
cmp eax, r8d
jne 0x180041f42
mov dword [rbx], eax
cmp dword [rbx], ecx
jle 0x180041f48
mov dword [rbx], ecx
cmp eax, r8d
je 0x180041f8c
mov rdx, rbx
mov rcx, rsi
jge 0x180041f75
sub r8d, eax
mov r9d, r8d
mov r8d, eax
call fcn.18003e710
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 0x180041fcc
sub eax, r8d
mov r9d, eax
call fcn.18003e710
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 0x180041fcc
movzx r8d, r14b
xor r8d, 1
add r8d, 0x20000a
lea rdx, [rsi + 0x4c]
mov rcx, rsi
call fcn.18003e890
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 0x180041fe1
cmp byte [rsp + 0x50], 0
je 0x180041fe1
mov al, 1
jmp 0x180041fe3
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 0x18004275f
test cl, cl
je 0x180042212
cmp byte [rsp + 0x60], r14b
jne 0x1800421f3
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 0x180042043
inc rax
test ecx, ecx
jne 0x180042030
test edx, edx
je 0x1800421f3
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 0x18004215c
movsxd rbx, eax
add rbx, r9
mov rdi, r9
nop dword [rax]
test rbx, rbx
je 0x18004208a
cmp rdi, rbx
jae 0x1800420b1
cmp byte [rdi], 0
je 0x1800420b1
mov r8, rbx
mov rdx, rdi
lea rcx, [rsp + 0x58]
call fcn.180005570
movsxd rcx, eax
add rdi, rcx
cmp dword [rsp + 0x58], 0
je 0x1800420b1
inc r14d
jmp 0x180042080
lea r15d, [r14 + 1]
test r15d, r15d
jle 0x1800420f8
mov edi, r15d
cmp r15d, 8
mov eax, 8
cmovl edi, eax
test edi, edi
jle 0x1800420f8
mov rax, qword [0x180060f20]
test rax, rax
je 0x1800420df
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 0x18004214f
test rbx, rbx
je 0x18004211f
cmp rdi, rbx
jae 0x18004214f
cmp byte [rdi], 0
je 0x18004214f
mov r8, rbx
mov rdx, rdi
lea rcx, [rsp + 0x58]
call fcn.180005570
movsxd rcx, eax
add rdi, rcx
mov eax, dword [rsp + 0x58]
test eax, eax
je 0x18004214f
mov word [r14], ax
add r14, 2
cmp r14, r12
jb 0x180042115
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.18003f990
mov r9, rax
test rax, rax
je 0x1800421a5
test edi, edi
jle 0x1800421a5
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 0x180042190
mov r8d, dword [rsi + 4]
xor edx, edx
mov rcx, rsi
call fcn.18003e140
test ebx, ebx
jle 0x1800421d2
mov r9d, ebx
mov r8, r13
xor edx, edx
mov rcx, rsi
call fcn.18003e210
test al, al
je 0x1800421d2
mov dword [rsi + 0x4c], ebx
mov byte [rsi + 0x62], 0
test r13, r13
je 0x1800421f3
mov rax, qword [0x180060f20]
test rax, rax
je 0x1800421e9
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 0x180042205
test r9b, 0x20
jne 0x180042217
mov r14, qword [rbp - 0x50]
mov r12d, dword [rbp - 0x7c]
jmp 0x1800426b9
mov r9d, dword [rsp + 0x64]
mov r10d, dword [rsp + 0x60]
test r10b, r10b
jne 0x1800422c9
mov byte [rsi + 0x40], 1
mov eax, dword [rsi + 0x10]
lea ebx, [rax*4 + 1]
mov ecx, dword [rsi + 0x24]
cmp ebx, ecx
jle 0x18004225e
test ecx, ecx
je 0x180042249
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18004224e
mov eax, 8
mov edx, ebx
cmp eax, ebx
cmovg edx, eax
lea rcx, [rsi + 0x20]
call fcn.180019dd0
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 0x1800422bb
mov r14d, 0x80
nop
movzx eax, word [r10]
test ax, ax
je 0x1800422b8
mov r8d, eax
add r10, 2
cmp eax, r14d
jae 0x18004229d
mov byte [r9], r8b
inc r9
jmp 0x1800422b3
mov edx, r11d
sub edx, r9d
dec edx
mov rcx, r9
call fcn.180005720
movsxd rcx, eax
add r9, rcx
cmp r9, rbx
jb 0x180042280
xor r14d, r14d
mov byte [r9], 0
mov r9d, dword [rsp + 0x64]
mov r10d, dword [rsp + 0x60]
test r9d, 0x801c0
je 0x180042661
mov r8d, 0x16
test r9b, 0x40
je 0x180042302
mov rax, qword [0x180060f20]
mov ecx, dword [rax + 0x3c]
test ecx, ecx
js 0x180042302
call fcn.18000bbc0
test al, al
je 0x180042302
lea eax, [r8 + 0x2a]
mov r8d, r14d
jmp 0x180042376
test r9b, r9b
jns 0x180042353
mov rax, qword [0x180060f20]
mov ecx, dword [rax + 0x48]
test ecx, ecx
js 0x18004232d
call fcn.18000bbc0
test al, al
je 0x18004232d
mov r11d, 0x80
mov eax, r11d
lea r8d, [r11 - 0x7d]
jmp 0x18004237c
mov rax, qword [0x180060f20]
mov ecx, dword [rax + 0x4c]
test ecx, ecx
js 0x180042353
call fcn.18000bbc0
test al, al
je 0x180042353
mov r11d, 0x80
mov eax, r11d
lea r8d, [r11 - 0x7c]
jmp 0x18004237c
mov eax, 0x80000
test eax, r9d
je 0x180042366
cmp byte [rsi + 0xe7e], 0
jne 0x180042376
bt r9d, 8
jae 0x180042661
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 0x1800423a9
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 0x1800423ea
cmp rcx, r8
jae 0x18004240d
movzx eax, word [rcx]
test ax, ax
je 0x18004240d
add rcx, 2
cmp ax, r11w
jae 0x180042400
inc ebx
jmp 0x1800423e0
cmp ax, r9w
sbb eax, eax
add eax, 3
add ebx, eax
jmp 0x1800423e0
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 0x18004242a
cmp rcx, r8
jae 0x18004244f
movzx eax, word [rcx]
test ax, ax
je 0x18004244f
add rcx, 2
cmp ax, r11w
jae 0x180042441
inc r15d
jmp 0x180042420
cmp ax, r9w
sbb eax, eax
add eax, 3
add r15d, eax
jmp 0x180042420
mov dword [rbp + 0x38], r15d
movsxd rax, dword [rsi + 0x54]
lea rcx, [rdx + rax*2]
mov r12d, r14d
nop
test rcx, rcx
je 0x18004246a
cmp rdx, rcx
jae 0x18004248f
movzx eax, word [rdx]
test ax, ax
je 0x18004248f
add rdx, 2
cmp ax, r11w
jae 0x180042481
inc r12d
jmp 0x180042460
cmp ax, r9w
sbb eax, eax
add eax, 3
add r12d, eax
jmp 0x180042460
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 0x1800424ac
test r13b, r13b
je 0x1800424f6
mov rbx, qword [rbp + 0x20]
lea rdi, [rbx + rcx]
test rdi, rdi
je 0x1800424be
cmp rbx, rdi
jae 0x1800424e5
cmp byte [rbx], 0
je 0x1800424e5
mov r8, rdi
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.180005570
movsxd rcx, eax
add rbx, rcx
cmp dword [rsp + 0x58], 0
je 0x1800424e5
inc r14d
jmp 0x1800424b4
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 0x180042504
test r13b, r13b
je 0x18004254e
cmp eax, ecx
jne 0x18004250e
mov r14d, dword [rsi + 0x4c]
jmp 0x18004254a
mov rbx, qword [rbp + 0x20]
lea rdi, [rbx + rax]
test rdi, rdi
je 0x180042520
cmp rbx, rdi
jae 0x180042547
cmp byte [rbx], 0
je 0x180042547
mov r8, rdi
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.180005570
movsxd rcx, eax
add rbx, rcx
cmp dword [rsp + 0x58], 0
je 0x180042547
inc r14d
jmp 0x180042516
mov eax, dword [rbp + 0x38]
mov dword [rsi + 0x50], r14d
movsxd rcx, dword [rbp + 0x3c]
cmp ecx, r12d
jne 0x180042560
test r13b, r13b
je 0x180042667
cmp ecx, eax
jne 0x1800425a3
mov r14d, dword [rsi + 0x50]
mov dword [rsi + 0x54], r14d
mov r12d, dword [rbp - 0x7c]
test r13b, r13b
je 0x18004266b
mov ebx, dword [rbp + 0x28]
mov eax, dword [rbp - 0x58]
cmp ebx, eax
jle 0x1800425f9
test r12b, r12b
je 0x1800425f9
sub ebx, eax
add ebx, dword [rsi + 0x10]
mov ecx, dword [rsi + 0x14]
cmp ebx, ecx
jle 0x1800425f6
test ecx, ecx
je 0x1800425e1
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1800425e6
mov rbx, qword [rbp + 0x20]
lea rdi, [rbx + rcx]
xor eax, eax
mov r14d, eax
test rdi, rdi
je 0x1800425ba
cmp rbx, rdi
jae 0x180042568
cmp byte [rbx], 0
je 0x180042568
mov r8, rdi
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.180005570
movsxd rcx, eax
add rbx, rcx
cmp dword [rsp + 0x58], 0
je 0x180042568
inc r14d
jmp 0x1800425b0
mov eax, 8
mov edx, ebx
cmp eax, ebx
cmovg edx, eax
lea rcx, [rsi + 0x10]
call fcn.180019f30
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 0x180042641
cmp byte [rdi], 0
je 0x180042641
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp - 0x58]
call fcn.180005570
movsxd rcx, eax
add rdi, rcx
mov eax, dword [rbp - 0x58]
test eax, eax
je 0x180042641
mov word [rbx], ax
add rbx, 2
cmp rbx, r14
jb 0x180042614
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 0x18004266b
mov r12d, dword [rbp - 0x7c]
jmp 0x180042670
mov r12d, dword [rbp - 0x7c]
mov r9d, dword [rsp + 0x64]
mov r14, qword [rbp - 0x50]
cmp byte [rsp + 0x60], 0
jne 0x1800426b9
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 0x1800426a3
inc rax
test ecx, ecx
jne 0x180042690
test edx, edx
je 0x1800426b4
mov rdi, r9
mov ecx, dword [rsi + 8]
mov r9d, dword [rsp + 0x64]
jmp 0x1800426c1
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 0x180042754
test r12b, r12b
je 0x180042723
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 0x180042726
mov edx, dword [rbp - 0x78]
lea eax, [rcx + 1]
cmp eax, edx
cmovl edx, eax
movsxd rbx, edx
cmp rbx, 1
jb 0x18004274f
jbe 0x180042749
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 0x1800427d8
cmp dword [r12 + 0x1c6c], ebx
jne 0x1800427d8
mov rdx, qword [0x180060f20]
mov ecx, dword [rdx + 0x1c6c]
test ecx, ecx
setne al
mov byte [rdx + 0x1c78], al
test ecx, ecx
je 0x1800427a6
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 0x1800428b8
mov r8d, 1
mov edx, ebx
lea rcx, [rbp - 8]
call fcn.180006f30
mov rax, qword [0x180060f20]
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.1800057e0
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.180006c40
movaps xmm15, xmm8
addss xmm15, xmm11
movss dword [rbp + 0xa0], xmm15
movaps xmm14, xmm12
addss xmm14, xmm7
movss dword [rbp + 0xa4], 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 0x180042902
movaps xmm2, xmm11
addss xmm2, xmm8
movss dword [rbp - 0x7c], xmm2
movaps xmm15, xmm2
movss dword [rbp + 0xa0], xmm2
movaps xmm1, xmm12
addss xmm1, xmm7
movss dword [rsp + 0x68], xmm1
movaps xmm14, xmm1
movss dword [rbp + 0xa4], xmm1
mov r8, qword [rbp - 0x48]
movsd xmm0, qword [r8 + 0xd8]
movsd qword [rbp - 0x18], xmm0
lea r11, [rbp - 0x18]
movss dword [rbp + 0x9c], xmm12
movss dword [rbp + 0x98], 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 0x18004293d
mov r13, qword [rsi + 0x28]
jmp 0x180042941
mov r13, qword [rbp - 0x50]
mov rdi, r14
movzx r14d, byte [rsp + 0x53]
test r14b, r14b
je 0x18004296c
mov rax, qword [rbp - 0x38]
mov r13, rax
mov rdi, 0xffffffffffffffff
nop dword [rax]
inc rdi
cmp byte [rax + rdi], 0
jne 0x180042960
add rdi, rax
movzx eax, byte [rsp + 0x50]
mov ecx, dword [rsp + 0x78]
test al, al
jne 0x180042b75
test cl, cl
jne 0x180042b75
test r10b, r10b
je 0x1800429e2
xor eax, eax
mov ecx, eax
movzx edx, byte [r13]
lea rdi, [r13 + 1]
test dl, dl
je 0x1800429b5
nop dword [rax + rax]
lea eax, [rcx + 1]
cmp dl, 0xa
cmovne eax, ecx
mov ecx, eax
movzx edx, byte [rdi]
inc rdi
test dl, dl
jne 0x1800429a0
dec rdi
movzx eax, byte [rdi]
cmp al, 0xa
je 0x1800429c5
cmp al, 0xd
je 0x1800429c5
inc ecx
movaps xmm6, xmm11
movd xmm7, ecx
cvtdq2ps xmm7, xmm7
mulss xmm7, dword [r12 + 0x1990]
movss dword [rsp + 0x58], xmm7
jmp 0x180042a24
test r14b, r14b
jne 0x180042a0d
cmp dword [r12 + 0x1c6c], ebx
jne 0x1800429f7
movsxd rdi, dword [rsi + 8]
jmp 0x180042a0a
mov rdi, 0xffffffffffffffff
nop
inc rdi
cmp byte [rdi + r13], 0
jne 0x180042a00
add rdi, r13
mov rax, rdi
sub rax, r13
movss xmm6, dword [rbp - 0x78]
cmp rax, 0x200000
jge 0x180042b67
mov rcx, qword [0x180060f20]
mov rax, r14
add rax, rax
movups xmm0, xmmword [rcx + rax*8 + 0x1638]
movups xmmword [rbp + 0x78], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rcx + 0x1570]
movss dword [rbp + 0x84], xmm0
lea rcx, [rbp + 0x78]
call fcn.1800057e0
mov r9d, eax
mov r8, qword [r8 + 0x270]
lea rdx, [rbp + 0x98]
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 0x180042b67
test rdi, rdi
jne 0x180042ab1
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [rcx + r13], al
jne 0x180042aa5
add rcx, r13
cmp r13, rcx
je 0x180042b67
test r10, r10
jne 0x180042ac7
mov rax, qword [r8 + 0x38]
mov r10, qword [rax + 8]
ucomiss xmm2, xmm10
jp 0x180042ad8
jne 0x180042ad8
mov rax, qword [r8 + 0x38]
movss xmm2, dword [rax + 0x10]
movups xmm0, xmmword [r8 + 0x88]
movups xmmword [rbp - 8], xmm0
test rdx, rdx
je 0x180042b33
movss xmm1, dword [rdx]
movss xmm0, dword [rbp - 8]
comiss xmm0, xmm1
jae 0x180042afc
movss dword [rbp - 8], xmm1
movss xmm1, dword [rdx + 4]
movss xmm0, dword [rbp - 4]
comiss xmm0, xmm1
jae 0x180042b10
movss dword [rbp - 4], xmm1
movss xmm0, dword [rdx + 8]
comiss xmm0, dword [rbp]
ja 0x180042b20
movss dword [rbp], xmm0
movss xmm0, dword [rdx + 0xc]
comiss xmm0, dword [rbp + 4]
ja 0x180042b30
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.180032bd0
movss xmm8, dword [0x18005644c]
jmp 0x1800434a2
test r14b, r14b
jne 0x180042b81
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 0x180042bb6
movsxd rax, dword [rsi + 0x4c]
lea r10, [r15 + rax*2]
lea edx, [r9 + 1]
lea r8d, [r9 - 1]
test cl, cl
je 0x180042bd2
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 0x180042c21
cmp cx, 0xa
jne 0x180042c15
inc r9d
cmp r8d, 0xffffffff
jne 0x180042c02
cmp rax, r10
jb 0x180042c02
mov r8d, r9d
dec edx
test edx, edx
jle 0x180042c21
cmp ebx, 0xffffffff
jne 0x180042c15
cmp rax, r14
jb 0x180042c15
mov ebx, r9d
dec edx
test edx, edx
jle 0x180042c21
add rax, 2
movzx ecx, word [rax]
test cx, cx
jne 0x180042be5
inc r9d
mov r11d, r9d
cmp r8d, 0xffffffff
cmovne r11d, r8d
cmp ebx, 0xffffffff
cmove ebx, r9d
mov rdx, r10
cmp r10, r15
jbe 0x180042c52
nop
lea rax, [rdx - 2]
cmp word [rax], 0xa
je 0x180042c52
mov rdx, rax
cmp rax, r15
ja 0x180042c40
mov rax, qword [0x180060f20]
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 0x180042cc0
nop dword [rax + rax]
movzx ecx, word [rdx]
add rdx, 2
cmp ecx, 0xa
jne 0x180042c97
maxss xmm1, xmm12
movaps xmm12, xmm10
jmp 0x180042cbb
cmp ecx, 0xd
je 0x180042cbb
cmp ecx, dword [r8]
jge 0x180042cac
mov rax, qword [r8 + 8]
movss xmm0, dword [rax + rcx*4]
jmp 0x180042cb2
movss xmm0, dword [r8 + 0x10]
mulss xmm0, xmm3
addss xmm12, xmm0
cmp rdx, r10
jb 0x180042c80
maxss xmm12, xmm1
movss xmm4, dword [r12 + 0x1990]
movd xmm13, r11d
cvtdq2ps xmm13, xmm13
mulss xmm13, xmm4
test ebx, ebx
js 0x180042d63
mov rdx, r14
cmp r14, r15
jbe 0x180042d02
nop dword [rax]
lea rax, [rdx - 2]
cmp word [rax], 0xa
je 0x180042d02
mov rdx, rax
cmp rax, r15
ja 0x180042cf0
movaps xmm1, xmm10
movaps xmm6, xmm10
cmp rdx, r14
jae 0x180042d51
nop
movzx ecx, word [rdx]
add rdx, 2
cmp ecx, 0xa
jne 0x180042d26
maxss xmm1, xmm6
movaps xmm6, xmm10
jmp 0x180042d4c
cmp ecx, 0xd
je 0x180042d4c
cmp ecx, dword [r8]
jge 0x180042d3b
mov rax, qword [r8 + 8]
movss xmm2, dword [rax + rcx*4]
jmp 0x180042d41
movss xmm2, dword [r8 + 0x10]
movaps xmm0, xmm3
mulss xmm0, xmm2
addss xmm6, xmm0
cmp rdx, r14
jb 0x180042d10
movd xmm8, ebx
cvtdq2ps xmm8, xmm8
mulss xmm8, xmm4
maxss xmm6, xmm1
mov r10d, dword [rsp + 0x5c]
test r10b, r10b
je 0x180042d85
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 0x180042ebe
cmp byte [rsi + 0xe7c], 0
je 0x180042ebe
test dword [rsp + 0x64], 0x1000
jne 0x180042e02
movaps xmm2, xmm11
mulss xmm2, dword [0x1800563fc]
subss xmm11, dword [r12 + 0x15ac]
movss xmm1, dword [rsi + 0x48]
comiss xmm1, xmm12
jbe 0x180042dde
movaps xmm1, xmm12
subss xmm1, xmm2
movaps xmm0, xmm10
maxss xmm0, xmm1
jmp 0x180042df0
movaps xmm0, xmm12
subss xmm0, xmm11
comiss xmm0, xmm1
jb 0x180042e07
addss xmm0, xmm2
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsi + 0x48], xmm0
jmp 0x180042e07
xor eax, eax
mov dword [rsi + 0x48], eax
test r10b, r10b
je 0x180042eb7
movaps xmm0, xmm13
subss xmm0, dword [r12 + 0x1990]
movss xmm3, dword [rbp - 0x24]
comiss xmm9, xmm0
jbe 0x180042e34
movaps xmm9, xmm10
maxss xmm9, xmm0
jmp 0x180042e65
movss xmm2, dword [r12 + 0x15b0]
addss xmm2, xmm2
movaps xmm1, xmm3
subss xmm1, xmm2
movaps xmm0, xmm13
subss xmm0, xmm1
comiss xmm0, xmm9
jb 0x180042e65
movaps xmm9, xmm13
subss xmm9, xmm3
addss xmm9, xmm2
movss xmm2, dword [r12 + 0x15b0]
comiss xmm10, xmm9
jbe 0x180042e7b
movaps xmm2, xmm10
jmp 0x180042e91
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 0x1800432ea
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 0x180042efb
movss xmm1, dword [0x18005644c]
jmp 0x180042f03
movss xmm1, dword [0x180056414]
mov rax, qword [0x180060f20]
movups xmm0, xmmword [rax + 0x1928]
movups xmmword [rbp + 0x78], xmm0
mulss xmm1, dword [rax + 0x1570]
shufps xmm0, xmm0, 0xff
mulss xmm0, xmm1
movss dword [rbp + 0x84], xmm0
lea rcx, [rbp + 0x78]
call fcn.1800057e0
mov r15d, eax
test r10b, r10b
je 0x180042f46
movss dword [rbp - 0x20], xmm10
jmp 0x180042f4f
movss xmm10, dword [0x180056488]
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 0x180043160
movss xmm1, dword [rbp - 0x74]
nop word [rax + rax]
movss xmm5, dword [r12 + 0x1990]
movaps xmm0, xmm14
addss xmm0, xmm5
comiss xmm7, xmm0
ja 0x18004315b
comiss xmm1, xmm7
jbe 0x180042fdb
cmp rbx, r14
jae 0x18004313f
nop dword [rax]
movzx eax, word [rbx]
add rbx, 2
cmp ax, 0xa
je 0x18004313f
cmp rbx, r14
jb 0x180042fc0
jmp 0x18004313f
mov rax, qword [0x180060f20]
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 0x18004304c
movzx ecx, word [rbx]
add rbx, 2
cmp ecx, 0xa
je 0x180043040
cmp ecx, 0xd
je 0x180042ffe
cmp ecx, dword [rdx]
jge 0x18004302e
mov rax, qword [rdx + 8]
movss xmm2, dword [rax + rcx*4]
movaps xmm0, xmm3
mulss xmm0, xmm2
addss xmm1, xmm0
jmp 0x180042ffe
movss xmm2, dword [rdx + 0x10]
movaps xmm0, xmm3
mulss xmm0, xmm2
addss xmm1, xmm0
jmp 0x180042ffe
movaps xmm4, xmm8
maxss xmm4, xmm1
movaps xmm1, xmm8
maxss xmm1, xmm4
comiss xmm8, xmm1
jb 0x180043089
mov rax, qword [r12 + 0x1988]
cmp dword [rax], 0x20
jle 0x180043071
mov rax, qword [rax + 8]
movss xmm0, dword [rax + 0x80]
jmp 0x180043076
movss xmm0, dword [rax + 0x10]
mulss xmm0, dword [0x180056410]
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 + 0x78], xmm6
movss dword [rbp + 0x7c], xmm2
minss xmm1, xmm15
minss xmm0, xmm14
movss dword [rbp + 0x80], xmm1
movss dword [rbp + 0x84], xmm0
comiss xmm0, dword [rbp - 0x74]
jbe 0x18004313a
comiss xmm14, xmm2
jbe 0x18004313a
comiss xmm1, xmm3
jbe 0x18004313a
comiss xmm15, xmm6
jbe 0x18004313a
xor eax, eax
mov dword [rsp + 0x28], eax
movss dword [rsp + 0x20], xmm8
mov r9d, r15d
lea r8, [rbp + 0x80]
lea rdx, [rbp + 0x78]
mov rax, qword [rbp - 0x48]
mov rcx, qword [rax + 0x270]
call fcn.18002ecb0
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 0x180042f90
mov r10d, dword [rsp + 0x5c]
xorps xmm10, xmm10
test r10b, r10b
jne 0x18004317b
mov rax, rdi
sub rax, r13
cmp rax, 0x200000
jge 0x1800432f8
mov rcx, qword [0x180060f20]
movzx r14d, byte [rsp + 0x53]
mov eax, r14d
add rax, rax
movups xmm0, xmmword [rcx + rax*8 + 0x1638]
movups xmmword [rbp + 0x78], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rcx + 0x1570]
movss dword [rbp + 0x84], xmm0
lea rcx, [rbp + 0x78]
call fcn.1800057e0
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 + 0x98]
cmp byte [rsp + 0x5c], 0
mov eax, 0
cmovne rdx, rax
test r9d, 0xff000000
je 0x180043302
test rdi, rdi
jne 0x180043231
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [rcx + r13], al
jne 0x180043225
add rcx, r13
cmp r13, rcx
je 0x180043302
test r10, r10
jne 0x180043247
mov rax, qword [r8 + 0x38]
mov r10, qword [rax + 8]
ucomiss xmm2, xmm10
jp 0x180043258
jne 0x180043258
mov rax, qword [r8 + 0x38]
movss xmm2, dword [rax + 0x10]
movups xmm0, xmmword [r8 + 0x88]
movups xmmword [rbp - 8], xmm0
test rdx, rdx
je 0x1800432b3
movss xmm1, dword [rdx]
movss xmm0, dword [rbp - 8]
comiss xmm0, xmm1
jae 0x18004327c
movss dword [rbp - 8], xmm1
movss xmm1, dword [rdx + 4]
movss xmm0, dword [rbp - 4]
comiss xmm0, xmm1
jae 0x180043290
movss dword [rbp - 4], xmm1
movss xmm0, dword [rdx + 8]
comiss xmm0, dword [rbp]
ja 0x1800432a0
movss dword [rbp], xmm0
movss xmm0, dword [rdx + 0xc]
comiss xmm0, dword [rbp + 4]
ja 0x1800432b0
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.180032bd0
jmp 0x180043302
movss xmm9, dword [rbp + 0x90]
jmp 0x180043164
mov rbx, qword [rbp - 0x48]
movzx r14d, byte [rsp + 0x53]
cmp byte [rsp + 0x50], 0
je 0x180043488
movss xmm0, dword [r12 + 0x18]
addss xmm0, dword [rsi + 0xe78]
movss dword [rsi + 0xe78], xmm0
cmp byte [r12 + 0xca], 0
je 0x180043353
comiss xmm10, xmm0
jae 0x180043353
movss xmm1, dword [0x180056460]
call sub.api_ms_win_crt_math_l1_1_0.dll_fmodf
movss xmm1, dword [0x180056434]
comiss xmm1, xmm0
jae 0x180043353
xor cl, cl
jmp 0x180043355
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 [0x180056410]
movss dword [rbp + 0x7c], xmm0
movaps xmm2, xmm6
movss xmm8, dword [0x18005644c]
addss xmm2, xmm8
movss dword [rbp + 0x80], xmm2
movaps xmm1, xmm7
subss xmm1, dword [0x18005646c]
movss dword [rbp + 0x84], xmm1
movss xmm12, dword [rbp - 0x74]
test cl, cl
je 0x180043456
comiss xmm1, xmm12
jbe 0x180043456
movss xmm3, dword [rsp + 0x68]
comiss xmm3, xmm0
jbe 0x180043456
comiss xmm2, dword [rbp - 0x30]
jbe 0x180043456
movss xmm0, dword [rbp - 0x7c]
comiss xmm0, xmm6
jbe 0x180043456
mov rax, qword [0x180060f20]
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.1800057e0
mov r9d, eax
movss dword [rsp + 0x20], xmm8
lea r8, [rbp - 0x38]
lea rdx, [rbp + 0x78]
mov rcx, qword [rbx + 0x270]
call fcn.18002ea40
movss xmm13, dword [rbp - 0x40]
cmp byte [rsp + 0x60], 0
jne 0x18004349d
subss xmm6, xmm8
subss xmm7, dword [r12 + 0x1990]
movss dword [r12 + 0x30c0], xmm6
movss dword [r12 + 0x30c4], xmm7
jmp 0x18004349d
movss xmm8, dword [0x18005644c]
movss xmm12, dword [rbp - 0x74]
movss xmm13, dword [rbp - 0x40]
movss xmm6, dword [rbp - 0x78]
mov r15d, dword [rbp - 0x2c]
test r15b, r15b
je 0x1800434b5
test r14b, r14b
jne 0x1800434b5
call fcn.180011610
cmp byte [rsp + 0x5c], 0
je 0x18004354d
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.18003be40
mov ebx, dword [r12 + 0x1cc0]
mov eax, ebx
or eax, 0x101
mov dword [r12 + 0x1cc0], eax
call fcn.18000bf50
mov eax, dword [r12 + 0x1ce0]
and eax, 0x80
mov esi, dword [rbp + 0xb0]
or esi, eax
mov dword [r12 + 0x1cc0], ebx
call fcn.1800120b0
cmp dword [r12 + 0x1cd8], 0
jne 0x18004354d
mov eax, dword [rbp - 0x80]
mov dword [r12 + 0x1cd8], eax
mov eax, dword [rbp + 0xac]
mov dword [r12 + 0x1cdc], eax
mov dword [r12 + 0x1ce0], esi
cmp byte [r12 + 0x312c], 0
je 0x1800436d7
test r15b, r15b
je 0x18004356a
test r14b, r14b
je 0x1800436d7
mov rsi, qword [0x180060f20]
mov rbx, qword [rsi + 0x1c20]
xor eax, eax
mov qword [rsi + 0x3158], rax
mov qword [rsi + 0x3150], rax
test rdi, rdi
jne 0x1800435b3
mov rdi, r13
cmp r13, 0xffffffffffffffff
jae 0x1800435b3
movzx ecx, byte [rdi]
test cl, cl
je 0x1800435b3
lea rax, [rdi + 1]
cmp cl, 0x23
jne 0x1800435aa
cmp byte [rax], cl
je 0x1800435b3
mov rdi, rax
cmp rax, 0xffffffffffffffff
jb 0x180043596
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 0x1800435f0
lea rcx, [0x180050d5c]
call fcn.180017d50
mov byte [rsi + 0x3164], 1
lea r8, [0x180055df5]
lea rdx, [0x180055df4]
lea rcx, [rbp + 0x90]
call fcn.180017d90
mov ecx, dword [rsi + 0x3168]
mov eax, dword [rbx + 0x160]
cmp ecx, eax
jle 0x180043622
mov dword [rsi + 0x3168], eax
mov ecx, eax
mov r14d, dword [rbx + 0x160]
sub r14d, ecx
mov r12d, 1
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 0x180043659
cmp rbx, rdi
je 0x1800436b8
mov r9d, ebx
sub r9d, r13d
cmp byte [rsi + 0x3164], 0
lea edx, [r14*4]
jne 0x180043673
mov edx, r12d
mov qword [rsp + 0x20], r13
lea r8, [0x180050c4e]
lea rcx, str._s_.s
call fcn.180017d50
mov byte [rsi + 0x3164], 0
cmp byte [rbx], 0xa
jne 0x1800436aa
lea rcx, [0x180050d5c]
call fcn.180017d50
mov byte [rsi + 0x3164], r12b
cmp rbx, rdi
je 0x1800436b8
lea r13, [rbx + 1]
jmp 0x180043632
lea r8, [0x180055df1]
lea rdx, [0x180055df0]
lea rcx, [rbp + 0x90]
call fcn.180017d90
mov r12, qword [rsp + 0x70]
movss xmm0, dword [rbp - 0x1c]
comiss xmm0, xmm10
jbe 0x180043712
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.180005f90
movzx edx, byte [rsp + 0x7c]
mov ecx, dword [rsp + 0x64]
test dl, dl
je 0x18004373c
bt ecx, 0x1b
jb 0x18004373c
mov rax, qword [0x180060f20]
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 0x180040482