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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x198]
sub rsp, 0x270
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
movaps xmmword [rax - 0x88], xmm11
movaps xmmword [rax - 0x98], xmm12
movaps xmmword [rax - 0xa8], xmm13
movaps xmmword [rax - 0xb8], xmm14
movaps xmmword [rax - 0xc8], xmm15
mov rax, qword [0x180045008]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov qword [rbp - 0x50], r8
mov rbx, qword [0x180045ba8]
mov r12, rbx
mov qword [rsp + 0x68], rbx
mov rax, qword [rbx + 0x1c20]
mov byte [rax + 0x90], 1
mov rdi, qword [rbx + 0x1c20]
mov qword [rbp - 0x48], rdi
cmp byte [rdi + 0x93], 0
jne 0x18002f9fc
mov r14d, dword [rbp + 0x1c8]
mov dword [rsp + 0x60], r14d
mov esi, r14d
shr esi, 0x1a
and sil, 1
mov dword [rsp + 0x58], esi
mov eax, r14d
shr eax, 0xe
and al, 1
mov dword [rsp + 0x5c], eax
mov eax, r14d
shr eax, 0xf
and al, 1
mov dword [rbp - 0x58], eax
mov eax, r14d
shr eax, 0x10
not al
and al, 1
mov dword [rsp + 0x74], eax
mov eax, r14d
shr eax, 0x12
and al, 1
mov dword [rbp - 0x78], eax
test sil, sil
je 0x18002f51a
call fcn.18000f530
mov rbx, qword [0x180045ba8]
movsxd rcx, dword [rdi + 0xc8]
mov rax, qword [rdi + 0xd0]
mov r8d, dword [rax + rcx*4 - 4]
xor edx, edx
lea r15, str.FOV
mov rcx, r15
call fcn.180003650
mov r13d, eax
mov dword [rbp - 0x5c], eax
cmp dword [rbx + 0x1c6c], eax
jne 0x18002f552
mov dword [rbx + 0x1c70], eax
cmp dword [rbx + 0x1ca8], r13d
jne 0x18002f562
mov byte [rbx + 0x1cac], 1
cmp dword [rbx + 0x1c54], r13d
jne 0x18002f582
mov r8, r15
mov edx, 0xb
mov ecx, r13d
call fcn.180015de0
mov rbx, qword [0x180045ba8]
mov rcx, r15
cmp r15, 0xffffffffffffffff
jae 0x18002f5ad
nop dword [rax + rax]
movzx edx, byte [rcx]
test dl, dl
je 0x18002f5ad
lea rax, [rcx + 1]
cmp dl, 0x23
jne 0x18002f5a4
cmp byte [rax], dl
je 0x18002f5ad
mov rcx, rax
cmp rax, 0xffffffffffffffff
jb 0x18002f590
movss xmm0, dword [rbx + 0x1990]
movss xmm1, dword [0x18003e79c]
movss dword [rbp - 0x28], xmm1
movss xmm10, dword [0x18003e78c]
xorps xmm8, xmm8
cmp r15, rcx
jne 0x18002f5d9
xorps xmm7, xmm7
jmp 0x18002f61d
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], r15
movss dword [rsp + 0x20], xmm1
movaps xmm3, xmm10
movaps xmm2, xmm0
lea rdx, [rbp - 0x70]
mov rcx, qword [rbx + 0x1988]
call fcn.180025400
movss xmm0, dword [rbp - 0x70]
addss xmm0, dword [0x18003e6ec]
cvttss2si eax, xmm0
movd xmm7, eax
cvtdq2ps xmm7, xmm7
movss xmm0, dword [rbp - 0x6c]
movss dword [rbp - 0x24], xmm7
test sil, sil
je 0x18002f639
movss xmm0, dword [r12 + 0x1990]
mulss xmm0, dword [0x18003e738]
movss xmm6, dword [r12 + 0x15b0]
movaps xmm3, xmm6
addss xmm3, xmm6
addss xmm3, xmm0
call fcn.18000f3b0
movaps xmm2, xmm0
mov rdx, qword [rbp + 0x1c0]
mov rdx, qword [rdx]
lea rcx, [rbp - 0x70]
call fcn.18000f430
comiss xmm7, xmm8
jbe 0x18002f67e
movaps xmm1, xmm7
addss xmm1, dword [r12 + 0x15c4]
jmp 0x18002f681
xorps xmm1, xmm1
movss xmm14, dword [rdi + 0xdc]
movss dword [rbp - 0x74], xmm14
movaps xmm0, xmm14
movss xmm7, dword [rbp - 0x6c]
movss dword [rbp - 0x2c], xmm7
addss xmm0, xmm7
movss xmm12, dword [rdi + 0xd8]
movss dword [rbp - 0x38], xmm12
movaps xmm9, xmm12
movss xmm11, dword [rbp - 0x70]
addss xmm9, xmm11
movss dword [rbp - 0x30], xmm9
movss dword [rbp - 0x20], xmm12
movss dword [rbp - 0x1c], xmm14
movss dword [rbp - 0x18], xmm9
movss dword [rbp - 0x14], xmm0
movaps xmm2, xmm14
addss xmm2, xmm7
addss xmm1, xmm11
addss xmm1, xmm12
movss dword [rbp + 0x68], xmm12
movss dword [rbp + 0x6c], xmm14
movss dword [rbp + 0x70], xmm1
movss dword [rbp + 0x74], xmm2
mov rbx, rdi
mov qword [rbp - 0x70], rbx
xorps xmm0, xmm0
movups xmmword [rbp + 0x80], xmm0
subss xmm2, xmm14
subss xmm1, xmm12
test sil, sil
je 0x18002fac8
movss dword [rbp - 0x70], xmm1
movss dword [rbp - 0x6c], xmm2
movaps xmm1, xmm6
lea rcx, [rbp - 0x70]
call fcn.18000f030
mov r9d, 0x100
lea r8, [rbp - 0x20]
mov edx, r13d
lea rcx, [rbp + 0x68]
call fcn.18000f180
test al, al
je 0x18002f9f7
mov r15d, dword [r12 + 0x1ce0]
movups xmm0, xmmword [r12 + 0x1cd8]
movups xmmword [rbp + 0x80], xmm0
movss dword [rdi + 0xd8], xmm12
movss dword [rdi + 0xdc], xmm14
mov rbx, qword [0x180045ba8]
mov dword [rbp + 0x68], 3
movups xmm0, xmmword [rbx + 0x1668]
movups xmmword [rbp + 0x6c], xmm0
lea rcx, [rbx + 0x1d88]
lea rdx, [rbp + 0x68]
call fcn.180016680
movups xmm0, xmmword [r12 + 0x16a8]
movups xmmword [rbx + 0x1668], xmm0
movss xmm1, dword [r12 + 0x15b4]
mov ecx, 7
call fcn.180003e20
movss xmm1, dword [r12 + 0x15b8]
mov ecx, 8
call fcn.180003e20
mov rbx, qword [0x180045ba8]
lea rcx, [rbx + 0x1d98]
movss xmm1, dword [rbx + 0x1578]
movss xmm0, dword [rbx + 0x157c]
mov dword [rbp - 0x70], 2
movss dword [rbp - 0x6c], xmm1
movss dword [rbp - 0x68], xmm0
lea rdx, [rbp - 0x70]
call fcn.180016590
xor r14d, r14d
mov qword [rbx + 0x1578], r14
movss xmm1, dword [rbp - 0x14]
movss xmm14, dword [rbp - 0x1c]
movss dword [rbp - 0x74], xmm14
subss xmm1, xmm14
movss xmm6, dword [rbp - 0x18]
movss dword [rbp - 0x30], xmm6
movaps xmm0, xmm6
movss xmm12, dword [rbp - 0x20]
movss dword [rbp - 0x38], xmm12
subss xmm0, xmm12
movss dword [rbp - 0x70], xmm0
movss dword [rbp - 0x6c], xmm1
lea r8, [rbp - 0x70]
mov edx, r13d
call fcn.1800098e0
movzx r11d, al
mov r8, qword [0x180045ba8]
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, [0x180039aa0]
mov ecx, dword [rbx + r10*4 + 8]
cmp dword [rbx + r10*4], 8
jne 0x18002f8e5
mov eax, dword [rbx + r10*4 + 4]
cmp eax, 1
jne 0x18002f8c6
mov eax, dword [r9 + rdx*4 - 8]
mov dword [rcx + r8 + 0x1570], eax
jmp 0x18002f8e5
cmp eax, 2
jne 0x18002f8e5
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 0x18002f94e
mov eax, dword [rbx + r10*4 + 4]
cmp eax, 1
jne 0x18002f931
mov eax, dword [rdx + rcx*4 + 4]
mov dword [r9 + r8 + 0x1570], eax
jmp 0x18002f94e
cmp eax, 2
jne 0x18002f94e
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 0x18002f9b7
mov eax, dword [rbx + r10*4 + 4]
cmp eax, 1
jne 0x18002f99a
mov eax, dword [rdx + rcx*4 + 4]
mov dword [r9 + r8 + 0x1570], eax
jmp 0x18002f9b7
cmp eax, 2
jne 0x18002f9b7
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 0x18002fa66
call fcn.180009ab0
call fcn.18000f660
xor al, al
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.180036580
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
movaps xmm13, xmmword [r11 - 0x80]
movaps xmm14, xmmword [r11 - 0x90]
movaps xmm15, xmmword [r11 - 0xa0]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov rbx, qword [r12 + 0x1c20]
mov qword [rbp - 0x70], 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 0x18002fb30
movss dword [rbp - 0x40], xmm1
movss dword [rbp - 0x3c], xmm2
movaps xmm1, xmm6
lea rcx, [rbp - 0x40]
call fcn.18000f030
bt r14d, 0x1c
jb 0x18002fb25
mov r9d, 0x100
lea r8, [rbp - 0x20]
mov edx, r13d
lea rcx, [rbp + 0x68]
call fcn.18000f180
test al, al
je 0x18002f9fc
movss xmm0, dword [rbp - 0x18]
movss dword [rbp - 0x30], xmm0
movss xmm14, dword [rbp - 0x1c]
movss dword [rbp - 0x74], xmm14
movss xmm12, dword [rbp - 0x20]
movss dword [rbp - 0x38], xmm12
mov r15d, dword [r12 + 0x1ce0]
xor r14d, r14d
mov edx, r13d
lea rcx, [rbp - 0x20]
call fcn.1800057b0
movzx edx, al
mov byte [rsp + 0x70], al
mov eax, 1
test dl, dl
je 0x18002fb54
mov dword [r12 + 0x1fb0], eax
mov rdi, qword [0x180045ba8]
add rdi, 0x2130
cmp dword [rdi], r13d
cmovne rdi, r14
shr r15d, 8
and r15b, al
mov dword [rbp - 0x80], r15d
mov eax, dword [r12 + 0x1c6c]
cmp eax, r13d
je 0x18002fba5
cmp dword [r12 + 0x1e3c], r13d
je 0x18002fba0
cmp dword [r12 + 0x1e30], r13d
jne 0x18002fba5
cmp dword [r12 + 0x1e58], 2
jne 0x18002fba5
mov r13b, 1
jmp 0x18002fba8
xor r13b, r13b
mov byte [rsp + 0x51], r13b
test dl, dl
je 0x18002fbc1
cmp byte [r12 + 0x420], 0
je 0x18002fbc1
mov r14b, 1
jmp 0x18002fbc4
xor r14b, r14b
mov byte [rsp + 0x53], r14b
test sil, sil
je 0x18002fc2b
test rdi, rdi
je 0x18002fc2b
test eax, eax
jne 0x18002fc2b
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.180003650
mov ebx, eax
mov rcx, qword [0x180045ba8]
cmp dword [rcx + 0x1c54], eax
jne 0x18002fc1c
lea r8, str.SCROLLY
mov edx, 0xb
mov ecx, eax
call fcn.180015de0
cmp dword [r12 + 0x1ca8], ebx
jne 0x18002fc2b
mov sil, 1
jmp 0x18002fc3b
xor sil, sil
mov ecx, dword [rsp + 0x58]
test cl, cl
je 0x18002fcae
test rdi, rdi
je 0x18002fcae
mov rax, qword [rbp - 0x70]
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.180003650
mov ebx, eax
mov rcx, qword [0x180045ba8]
cmp dword [rcx + 0x1c54], eax
jne 0x18002fc84
lea r8, str.SCROLLY
mov edx, 0xb
mov ecx, eax
call fcn.180015de0
mov ecx, dword [rsp + 0x58]
cmp dword [r12 + 0x1c6c], ebx
jne 0x18002fcae
mov bl, 1
mov byte [rsp + 0x50], bl
mov byte [rsp + 0x52], 0
mov byte [rsp + 0x78], 0
mov rax, qword [rbp - 0x70]
movss xmm10, dword [rax + 0x60]
jmp 0x18002fcd2
mov byte [rsp + 0x52], 0
mov byte [rsp + 0x78], 0
xor bl, bl
mov byte [rsp + 0x50], bl
test cl, cl
je 0x18002fcce
mov rax, qword [rbp - 0x70]
movss xmm10, dword [rax + 0x60]
jmp 0x18002fcd2
mov byte [rsp + 0x50], bl
test rdi, rdi
je 0x18002fce6
movzx eax, cl
xor al, 1
cmp byte [rdi + 0x63], al
je 0x18002fce6
mov r12b, 1
jmp 0x18002fce9
xor r12b, r12b
test r14b, r14b
jne 0x18002fd11
test sil, sil
jne 0x18002fd11
test r13b, r13b
jne 0x18002fd11
test r15b, r15b
jne 0x18002fd11
test bl, bl
jne 0x18002fd14
mov byte [rsp + 0x54], r13b
mov rax, qword [rsp + 0x68]
mov r14d, dword [rbp - 0x5c]
jmp 0x18002fd2b
mov r13b, 1
mov byte [rsp + 0x54], 1
mov rax, qword [rsp + 0x68]
mov r14d, dword [rbp - 0x5c]
cmp dword [rax + 0x1c6c], r14d
jne 0x18002fd34
test r12b, r12b
je 0x18002ff43
lea rdi, [rax + 0x2130]
mov dword [rdi + 0xe78], 0xbe99999a
mov rax, 0xffffffffffffffff
mov r14, qword [rbp - 0x50]
lea rax, [rax + 1]
cmp byte [r14 + rax], 0
jne 0x18002fd50
lea ebx, [rax + 1]
mov ecx, dword [rdi + 0x34]
cmp ebx, ecx
jle 0x18002fd89
test ecx, ecx
je 0x18002fd74
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18002fd79
mov eax, 8
mov edx, ebx
cmp eax, ebx
cmovg edx, eax
lea rcx, [rdi + 0x30]
call fcn.180016df0
mov dword [rdi + 0x30], ebx
movsxd r8, ebx
mov rdx, r14
mov rcx, qword [rdi + 0x38]
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [rdi + 0x14]
cmp ecx, 0x21
jge 0x18002fdca
test ecx, ecx
je 0x18002fdb2
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18002fdb7
mov eax, 8
mov edx, 0x21
cmp eax, edx
cmovg edx, eax
lea rcx, [rdi + 0x10]
call fcn.180016e80
mov dword [rdi + 0x10], 0x21
mov ecx, dword [rdi + 0x24]
test ecx, ecx
jns 0x18002fdf3
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, [rdi + 0x20]
call fcn.180016df0
xor r8d, r8d
mov dword [rdi + 0x20], r8d
mov byte [rdi + 0x40], r8b
mov rsi, r14
mov r15, qword [rdi + 0x18]
mov rbx, r15
lea r14, [r15 + 0x3e]
cmp r15, r14
jae 0x18002fe41
cmp byte [rsi], 0
je 0x18002fe3e
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp - 0x40]
call fcn.180003970
movsxd rcx, eax
add rsi, rcx
mov eax, dword [rbp - 0x40]
test eax, eax
je 0x18002fe3e
mov word [rbx], ax
add rbx, 2
cmp rbx, r14
jb 0x18002fe11
xor r8d, r8d
mov word [rbx], r8w
sub rbx, r15
sar rbx, 1
mov dword [rdi + 4], ebx
sub esi, dword [rbp - 0x50]
mov dword [rdi + 8], esi
mov r14d, dword [rbp - 0x5c]
cmp dword [rdi], r14d
jne 0x18002fe8c
test r12b, r12b
jne 0x18002fe8c
mov dl, 1
mov ecx, ebx
cmp dword [rdi + 0x4c], ebx
cmovl ecx, dword [rdi + 0x4c]
mov dword [rdi + 0x4c], ecx
mov ecx, ebx
cmp dword [rdi + 0x50], ebx
cmovl ecx, dword [rdi + 0x50]
mov dword [rdi + 0x50], ecx
cmp dword [rdi + 0x54], ebx
cmovl ebx, dword [rdi + 0x54]
mov dword [rdi + 0x54], ebx
mov ecx, dword [rsp + 0x58]
jmp 0x18002fedc
xor dl, dl
mov dword [rdi], r14d
mov qword [rdi + 0x48], 0
mov dword [rdi + 0xe6a], 0x630000
mov dword [rdi + 0xe70], r8d
mov dword [rdi + 0xe74], 0x3e7
mov qword [rdi + 0x50], 0
mov word [rdi + 0x61], 1
mov dword [rdi + 0x68], r8d
mov byte [rdi + 0x60], dl
mov ecx, dword [rsp + 0x58]
movzx eax, cl
xor al, 1
mov byte [rdi + 0x63], al
mov byte [rdi + 0x58], dl
mov dword [rdi + 0x5c], r8d
mov esi, dword [rsp + 0x60]
test cl, cl
jne 0x18002ff32
test sil, 0x10
mov eax, dword [rsp + 0x78]
movzx eax, al
mov ecx, 1
cmovne eax, ecx
mov dword [rsp + 0x78], eax
mov rax, qword [rsp + 0x68]
cmp byte [rsp + 0x51], 0
je 0x18002ff18
test dl, dl
je 0x18002ff14
test byte [rax + 0x1e40], 4
jne 0x18002ff18
mov byte [rsp + 0x78], cl
cmp byte [rbp - 0x80], 0
jne 0x18002ff2e
cmp byte [rsp + 0x53], 0
je 0x18002ff32
cmp byte [rax + 0x140], 0
je 0x18002ff32
mov byte [rsp + 0x78], cl
movzx ebx, byte [rsp + 0x50]
bt esi, 0xd
jae 0x18002ff47
mov byte [rdi + 0x58], 1
jmp 0x18002ff47
mov esi, dword [rsp + 0x60]
mov r15, qword [rsp + 0x68]
cmp dword [r15 + 0x1c6c], r14d
je 0x18002ffea
test r13b, r13b
je 0x18002ffe1
mov rdx, qword [rbp - 0x48]
mov ecx, r14d
call fcn.180005630
call fcn.180010af0
mov rcx, rdx
call fcn.18000e980
mov eax, dword [r15 + 0x1c80]
or eax, 3
mov dword [r15 + 0x1c80], eax
mov ecx, dword [rsp + 0x58]
test cl, cl
jne 0x18002ff99
test sil, sil
jns 0x18002ffa3
or eax, 0xc
mov dword [r15 + 0x1c80], eax
or dword [r15 + 0x1c84], 2
mov rax, qword [r15 + 0x1c88]
or rax, 0x180
mov qword [r15 + 0x1c88], rax
test cl, cl
je 0x18002ffce
or rax, 0x60
mov qword [r15 + 0x1c88], rax
test esi, 0x440
je 0x18002ffe1
or rax, 1
mov qword [r15 + 0x1c88], rax
cmp dword [r15 + 0x1c6c], r14d
jne 0x180030057
test rdi, rdi
jne 0x180030057
mov rdx, qword [0x180045ba8]
mov ecx, dword [rdx + 0x1c6c]
test ecx, ecx
setne al
mov byte [rdx + 0x1c78], al
xor esi, esi
test ecx, ecx
je 0x180030024
mov dword [rdx + 0x1c74], esi
mov word [rdx + 0x1c7b], si
mov dword [rdx + 0x1ca4], 0xffffffff
mov dword [rdx + 0x1c6c], esi
mov word [rdx + 0x1c79], 0
mov qword [rdx + 0x1c98], rsi
mov word [rdx + 0x1c7d], 0
mov qword [rdx + 0x1c80], 0
mov qword [rdx + 0x1c88], rsi
jmp 0x180030059
xor esi, esi
cmp dword [r15 + 0x1c6c], r14d
jne 0x180030081
cmp byte [r15 + 0x420], 0
je 0x18003008a
cmp byte [rsp + 0x54], 0
jne 0x18003008a
test r13b, r13b
jne 0x18003008a
mov byte [rsp + 0x52], 1
mov cl, 1
jmp 0x180030090
test rdi, rdi
je 0x18003008e
test bl, bl
je 0x18003008e
mov cl, 1
jmp 0x180030090
xor cl, cl
mov byte [rsp + 0x50], cl
mov r13d, dword [rsp + 0x78]
test rdi, rdi
je 0x1800300b3
mov eax, dword [rdi + 0x54]
cmp dword [rdi + 0x50], eax
jne 0x1800300ab
test r13b, r13b
je 0x1800300b3
test cl, cl
je 0x1800300b3
mov dl, 1
jmp 0x1800300b5
xor dl, dl
mov dword [rsp + 0x78], edx
movzx r12d, dl
mov byte [rsp + 0x7c], 0
mov byte [rsp + 0x53], 0
mov eax, dword [rsp + 0x5c]
test al, al
je 0x1800301bb
test rdi, rdi
je 0x1800301bb
test cl, cl
jne 0x1800300e8
test dl, dl
je 0x1800301c3
mov ecx, dword [rdi + 0x14]
cmp ecx, 0x21
jge 0x180030117
test ecx, ecx
je 0x1800300ff
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180030104
mov eax, 8
mov edx, 0x21
cmp eax, edx
cmovg edx, eax
lea rcx, [rdi + 0x10]
call fcn.180016e80
mov dword [rdi + 0x10], 0x21
mov rax, qword [rbp - 0x50]
mov rsi, rax
mov r15, qword [rdi + 0x18]
mov rbx, r15
lea r14, [r15 + 0x40]
cmp r15, r14
jae 0x180030166
cmp byte [rsi], 0
je 0x180030162
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp - 0x40]
call fcn.180003970
movsxd rcx, eax
add rsi, rcx
mov eax, dword [rbp - 0x40]
test eax, eax
je 0x180030162
mov word [rbx], ax
add rbx, 2
cmp rbx, r14
jb 0x180030135
mov rax, qword [rbp - 0x50]
xor ecx, ecx
mov word [rbx], cx
sub rbx, r15
sar rbx, 1
mov dword [rdi + 4], ebx
sub esi, eax
mov dword [rdi + 8], esi
mov ecx, ebx
cmp dword [rdi + 0x4c], ebx
cmovl ecx, dword [rdi + 0x4c]
mov dword [rdi + 0x4c], ecx
mov ecx, ebx
cmp dword [rdi + 0x50], ebx
cmovl ecx, dword [rdi + 0x50]
mov dword [rdi + 0x50], ecx
cmp dword [rdi + 0x54], ebx
cmovl ebx, dword [rdi + 0x54]
mov dword [rdi + 0x54], ebx
xor esi, esi
mov edx, esi
cmp ecx, ebx
cmovne edx, r12d
mov dword [rsp + 0x78], edx
mov r15, qword [rsp + 0x68]
movzx ecx, byte [rsp + 0x50]
mov r14d, dword [rbp - 0x5c]
mov eax, dword [rsp + 0x5c]
test cl, cl
jne 0x1800301cc
test dl, dl
jne 0x1800301cc
cmp dword [r15 + 0x1c6c], r14d
jne 0x1800301de
test al, al
jne 0x1800301de
test rdi, rdi
je 0x1800301de
cmp byte [rdi + 0x40], al
mov byte [rbp - 0x60], 1
jne 0x1800301e2
mov byte [rbp - 0x60], 0
cmp byte [rbp - 0x58], 0
je 0x180030276
mov rdx, qword [r15 + 0x1988]
cmp dword [rdx + 0x18], 0x2a
ja 0x1800301ff
mov r8, qword [rdx + 0x38]
jmp 0x180030223
mov rax, qword [rdx + 0x20]
movzx ecx, word [rax + 0x54]
mov eax, 0xffff
cmp cx, ax
jne 0x180030217
mov r8, qword [rdx + 0x38]
jmp 0x180030223
lea rcx, [rcx + rcx*4]
mov rax, qword [rdx + 0x30]
lea r8, [rax + rcx*8]
lea rcx, [r15 + 0x2fb8]
mov eax, dword [rdx + 0x14]
mov dword [rcx + 0x14], eax
mov rax, qword [r15 + 0x1988]
mov edx, dword [rax + 0x5c]
mov dword [rcx + 0x5c], edx
mov rax, qword [r15 + 0x1988]
mov edx, dword [rax + 0x60]
mov dword [rcx + 0x60], edx
mov rax, qword [r15 + 0x1988]
mov edx, dword [rax + 0x64]
mov dword [rcx + 0x64], edx
mov rax, qword [r15 + 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.18000ec80
mov dword [rbp - 0x40], esi
mov ebx, 0x20000c
movss xmm0, dword [0x18003e6b0]
cmp dword [r15 + 0x1c6c], r14d
jne 0x18003082e
mov eax, dword [rdi + 8]
mov dword [rbp - 0x40], eax
mov byte [rdi + 0xe7e], 0
mov dword [rdi + 0x44], 0x20
mov ecx, dword [rsp + 0x60]
mov dword [rdi + 0xe80], ecx
movzx edx, byte [r15 + 0x130]
test dl, dl
sete al
mov byte [r15 + 0x1c79], al
mov eax, 1
mov dword [r15 + 0x33a4], eax
movss xmm1, dword [r15 + 0x128]
subss xmm1, xmm12
subss xmm1, dword [r15 + 0x15ac]
addss xmm1, dword [rdi + 0x48]
mov r12d, dword [rsp + 0x58]
test r12b, r12b
je 0x18003030e
movss xmm2, dword [r15 + 0x12c]
mov rax, qword [rbp - 0x70]
subss xmm2, dword [rax + 0xdc]
jmp 0x18003031b
movss xmm2, dword [r15 + 0x1990]
mulss xmm2, xmm0
movzx r14d, byte [r15 + 0xc9]
mov byte [rsp + 0x54], r14b
test r13b, r13b
je 0x18003034c
mov dword [rdi + 0x50], esi
mov eax, dword [rdi + 4]
mov dword [rdi + 0x54], eax
mov dword [rdi + 0x4c], eax
mov byte [rdi + 0x62], 0
lea rax, [rdi + 0xe7d]
mov byte [rax], 1
jmp 0x180030676
movzx eax, byte [rsp + 0x70]
test al, al
je 0x1800305c6
cmp word [r15 + 0x42a], 2
jb 0x1800305c6
cmp byte [r15 + 0x141], 0
jne 0x1800305c6
lea rsi, [rdi + 0x4c]
cmp byte [rsi + 0x17], 0
je 0x180030384
movaps xmm2, xmm8
mov rcx, rdi
call fcn.18002d930
movsxd rdx, eax
mov dword [rsi], edx
mov dword [rsi + 4], edx
mov dword [rsi + 8], edx
mov byte [rsi + 0x16], 0
movzx ecx, word [r15 + 0x42a]
sub ecx, 2
test cl, 1
jne 0x180030531
test eax, eax
je 0x1800303c8
lea eax, [rdx - 1]
movsxd rcx, eax
mov rax, qword [rdi + 0x18]
cmp word [rax + rcx*2], 0xa
je 0x1800303c8
xor cl, cl
jmp 0x1800303ca
mov cl, 1
mov eax, dword [rdi + 0x54]
cmp dword [rdi + 0x50], eax
jne 0x1800303d6
test cl, cl
jne 0x1800303f7
mov r8d, ebx
mov rdx, rsi
mov rcx, rdi
call fcn.18002de20
mov byte [rdi + 0xe7c], 1
mov dword [rdi + 0xe78], 0xbe99999a
mov edx, dword [rsi]
mov eax, dword [rdi + 0x54]
cmp dword [rdi + 0x50], eax
jne 0x180030413
mov eax, dword [rsi + 8]
cmp dword [rsi + 4], eax
jne 0x18003040f
mov dword [rsi + 8], edx
mov dword [rsi + 4], edx
jmp 0x180030413
mov dword [rsi], eax
mov edx, eax
lea r9d, [rdx + 1]
movsxd r10, dword [rdi + 4]
cmp r9d, r10d
jge 0x1800304de
movsxd rdx, r9d
mov r11d, dword [rdi + 0xe80]
and r11d, 0x8000
xor esi, esi
movabs r13, 0x800130100002600
mov r12d, 0x3000
movabs r15, 0x700000005
lea r14d, [rsi + 1]
test r11d, r11d
jne 0x1800304c1
test rdx, rdx
jle 0x1800304cc
mov r8, qword [rdi + 0x18]
movzx ecx, word [r8 + rdx*2 - 2]
cmp ecx, 0x3b
ja 0x180030474
bt r13, rcx
jb 0x1800304bb
cmp cx, r12w
je 0x1800304bb
sub cx, 0x5b
cmp cx, 0x22
ja 0x18003048d
movzx eax, cx
bt r15, rax
jb 0x1800304bb
movzx ecx, word [r8 + rdx*2]
cmp ecx, 0x3b
ja 0x18003049d
bt r13, rcx
jb 0x1800304b6
cmp cx, r12w
je 0x1800304b6
sub cx, 0x5b
cmp cx, 0x22
ja 0x1800304bb
movzx eax, cx
bt r15, rax
jae 0x1800304bb
mov eax, r14d
jmp 0x1800304bd
mov eax, esi
test eax, eax
jne 0x1800304cc
inc r9d
inc rdx
cmp rdx, r10
jl 0x180030455
lea rsi, [rdi + 0x4c]
movzx r14d, byte [rsp + 0x54]
mov r15, qword [rsp + 0x68]
cmp r9d, r10d
cmovg r9d, r10d
mov dword [rsi], r9d
mov dword [rdi + 0x54], r9d
mov ecx, dword [rsi + 8]
mov eax, dword [rsi + 4]
cmp eax, ecx
je 0x180030517
cmp eax, r10d
jle 0x1800304ff
mov dword [rsi + 4], r10d
mov eax, r10d
cmp ecx, r10d
jle 0x18003050e
mov dword [rsi + 8], r10d
mov ecx, r10d
mov r9d, dword [rsi]
cmp eax, ecx
jne 0x180030517
mov dword [rsi], eax
mov r9d, eax
cmp r9d, r10d
jle 0x1800305b8
mov dword [rsi], r10d
lea rax, [rdi + 0xe7d]
xor esi, esi
jmp 0x18003066c
mov rcx, qword [rdi + 0x18]
movzx ebx, word [rcx + rdx*2]
mov r8d, 0x200004
mov rdx, rsi
mov rcx, rdi
call fcn.18002de20
mov byte [rdi + 0xe7c], 1
mov dword [rdi + 0xe78], 0xbe99999a
mov r8d, 0x600005
mov rdx, rsi
mov rcx, rdi
call fcn.18002de20
mov byte [rdi + 0xe7c], 1
mov dword [rdi + 0xe78], 0xbe99999a
mov r8d, 0x600001
mov rdx, rsi
mov rcx, rdi
call fcn.18002de20
mov dword [rdi + 0xe78], 0xbe99999a
cmp bx, 0xa
je 0x1800305b1
test r12b, r12b
je 0x1800305b1
mov ecx, dword [rdi + 0x50]
mov eax, dword [rdi + 0x54]
mov dword [rdi + 0x50], eax
mov dword [rdi + 0x54], ecx
mov dword [rsi], ecx
mov byte [rdi + 0xe7c], 0
lea rax, [rdi + 0xe7d]
xor esi, esi
jmp 0x18003066c
lea rbx, [rdi + 0xe7d]
movzx ecx, byte [rbx]
cmp byte [r15 + 0x420], 0
je 0x18003060f
test cl, cl
jne 0x18003060f
test al, al
je 0x18003060a
cmp byte [rdi + 0x63], cl
je 0x1800305eb
movaps xmm2, xmm8
mov rcx, rdi
call fcn.18002d930
mov dword [rdi + 0x4c], eax
mov dword [rdi + 0x50], eax
mov dword [rdi + 0x54], eax
mov byte [rdi + 0x62], 0
mov dword [rdi + 0xe78], 0xbe99999a
mov rax, rbx
jmp 0x180030676
mov rax, rbx
test dl, dl
je 0x180030676
test cl, cl
jne 0x180030676
movss xmm0, dword [r15 + 0x3b4]
ucomiss xmm0, xmm8
jp 0x18003063c
jne 0x18003063c
movss xmm0, dword [r15 + 0x3b8]
ucomiss xmm0, xmm8
jp 0x18003063c
je 0x180030676
cmp byte [rdi + 0x63], 0
je 0x180030646
movaps xmm2, xmm8
mov eax, dword [rdi + 0x54]
cmp dword [rdi + 0x50], eax
jne 0x180030654
mov eax, dword [rdi + 0x4c]
mov dword [rdi + 0x50], eax
mov rcx, rdi
call fcn.18002d930
mov dword [rdi + 0x54], eax
mov dword [rdi + 0x4c], eax
mov byte [rdi + 0xe7c], 1
mov rax, rbx
mov dword [rdi + 0xe78], 0xbe99999a
cmp byte [rax], 0
je 0x180030688
cmp byte [r15 + 0x130], 0
jne 0x180030688
mov byte [rax], 0
cmp byte [r15 + 0x140], 0
je 0x18003069c
cmp byte [r15 + 0x142], 0
je 0x1800306ab
test r14b, r14b
je 0x1800306af
cmp byte [r15 + 0x143], 0
je 0x1800306af
mov bl, 1
jmp 0x1800306b1
xor bl, bl
mov r8d, dword [rsp + 0x60]
bt r8d, 0xa
jae 0x180030767
mov rax, qword [0x180045ba8]
mov ecx, dword [rax + 0x3c]
test ecx, ecx
js 0x180030767
call fcn.180009820
test al, al
mov eax, dword [rsp + 0x5c]
je 0x18003076b
test bl, bl
jne 0x18003076b
cmp byte [r15 + 0x141], bl
jne 0x18003076b
test al, al
jne 0x18003076b
mov rcx, qword [r15 + 0x1568]
movsxd rax, dword [r15 + 0x1560]
lea rdx, [rcx + rax*2]
cmp rcx, rdx
jae 0x180030722
movzx eax, word [rcx]
add rcx, 2
cmp ax, 9
je 0x180030767
cmp rcx, rdx
jb 0x180030710
mov dword [rbp - 0x80], 9
mov dword [rsp + 0x20], 2
mov edx, r8d
lea rcx, [rbp - 0x80]
call fcn.18002f210
test al, al
je 0x180030762
lea rdx, [rdi + 0x4c]
mov r8d, dword [rbp - 0x80]
mov rcx, rdi
call fcn.18002de20
mov byte [rdi + 0xe7c], 1
mov dword [rdi + 0xe78], 0xbe99999a
mov r8d, dword [rsp + 0x60]
mov eax, dword [rsp + 0x5c]
cmp dword [r15 + 0x1560], 0
jle 0x18003082a
test bl, bl
jne 0x1800307fa
test al, al
jne 0x1800307fa
cmp byte [rsp + 0x51], al
jne 0x1800307fa
xor eax, eax
mov ebx, eax
nop
mov rax, qword [r15 + 0x1568]
movzx ecx, word [rbx + rax]
mov dword [rbp - 0x80], ecx
cmp ecx, 9
jne 0x1800307ad
cmp byte [r15 + 0x141], 0
jne 0x1800307e6
mov dword [rsp + 0x20], 2
mov edx, r8d
lea rcx, [rbp - 0x80]
call fcn.18002f210
test al, al
je 0x1800307e6
lea rdx, [rdi + 0x4c]
mov r8d, dword [rbp - 0x80]
mov rcx, rdi
call fcn.18002de20
mov byte [rdi + 0xe7c], 1
mov dword [rdi + 0xe78], 0xbe99999a
inc esi
add rbx, 2
cmp esi, dword [r15 + 0x1560]
mov r8d, dword [rsp + 0x60]
jl 0x180030790
mov ecx, dword [r15 + 0x1564]
xor esi, esi
test ecx, ecx
jns 0x180030823
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
mov edx, esi
test eax, eax
cmovg edx, eax
lea rcx, [r15 + 0x1560]
call fcn.180016e80
mov dword [r15 + 0x1560], esi
mov r14d, dword [rbp - 0x5c]
xor cl, cl
cmp dword [r15 + 0x1c6c], r14d
jne 0x1800314df
cmp byte [r15 + 0x1c78], cl
jne 0x1800314df
cmp byte [rsp + 0x52], cl
jne 0x1800314df
movaps xmm0, xmm7
subss xmm0, dword [r15 + 0x15b0]
divss xmm0, dword [r15 + 0x1990]
cvttss2si eax, xmm0
mov ecx, 1
cmp eax, ecx
cmovge ecx, eax
mov dword [rbp - 0x80], ecx
mov dword [rdi + 0x5c], ecx
movzx eax, byte [r15 + 0x141]
neg al
sbb ebx, ebx
and ebx, 0x400000
movzx eax, byte [r15 + 0xc9]
test al, al
je 0x1800308ad
mov r8d, dword [r15 + 0x3c0]
cmp r8d, 0xa
jne 0x1800308ad
mov r9b, 1
jmp 0x1800308bb
mov r8d, dword [r15 + 0x3c0]
xor r9b, r9b
test al, al
je 0x1800308e5
movzx r12d, byte [r15 + 0x142]
cmp byte [r15 + 0x143], 0
je 0x1800308ed
cmp byte [r15 + 0x140], 0
jne 0x1800308ed
test r12b, r12b
jne 0x1800308ed
mov r15b, 1
cmp r8d, 8
jmp 0x1800308fe
movzx r12d, byte [r15 + 0x140]
xor r15b, r15b
test al, al
je 0x1800308fa
cmp r8d, 8
jmp 0x1800308fe
cmp r8d, 1
sete r10b
mov byte [rsp + 0x54], r10b
test r10b, r10b
je 0x180030926
mov rax, qword [0x180045ba8]
mov ecx, dword [rax + 0x88]
test ecx, ecx
js 0x180030926
call fcn.180009820
test al, al
jne 0x180030943
cmp r8d, 2
jne 0x18003096e
mov rax, qword [0x180045ba8]
mov ecx, dword [rax + 0x64]
test ecx, ecx
js 0x18003096e
call fcn.180009820
test al, al
je 0x18003096e
mov esi, dword [rsp + 0x5c]
mov r14d, dword [rbp - 0x58]
mov r11d, dword [rsp + 0x58]
test sil, sil
jne 0x18003097b
test r14b, r14b
jne 0x18003097b
test r11b, r11b
je 0x180030967
mov eax, dword [rdi + 0x54]
cmp dword [rdi + 0x50], eax
je 0x18003097b
mov byte [rsp + 0x51], 1
jmp 0x180030980
mov r11d, dword [rsp + 0x58]
mov esi, dword [rsp + 0x5c]
mov r14d, dword [rbp - 0x58]
mov byte [rsp + 0x51], 0
test r10b, r10b
je 0x18003099f
mov rax, qword [0x180045ba8]
mov ecx, dword [rax + 0x80]
test ecx, ecx
js 0x18003099f
call fcn.180009820
test al, al
jne 0x1800309bc
cmp r8d, 1
jne 0x1800309d5
mov rax, qword [0x180045ba8]
mov ecx, dword [rax + 0x60]
test ecx, ecx
js 0x1800309d5
call fcn.180009820
test al, al
je 0x1800309d5
test r14b, r14b
jne 0x1800309d5
test r11b, r11b
je 0x1800309ce
mov eax, dword [rdi + 0x54]
cmp dword [rdi + 0x50], eax
je 0x1800309d5
mov byte [rsp + 0x70], 1
jmp 0x1800309da
mov byte [rsp + 0x70], 0
test r10b, r10b
je 0x1800309f9
mov rax, qword [0x180045ba8]
mov ecx, dword [rax + 0x84]
test ecx, ecx
js 0x1800309f9
call fcn.180009820
test al, al
jne 0x180030a16
cmp r8d, 2
jne 0x180030a20
mov rax, qword [0x180045ba8]
mov ecx, dword [rax + 0x60]
test ecx, ecx
js 0x180030a20
call fcn.180009820
test al, al
je 0x180030a20
test sil, sil
jne 0x180030a20
mov r13b, 1
jmp 0x180030a23
xor r13b, r13b
test r10b, r10b
je 0x180030a56
mov rax, qword [0x180045ba8]
mov ecx, dword [rax + 0x90]
test ecx, ecx
js 0x180030a56
call fcn.180009820
mov r8d, dword [rsp + 0x74]
test al, al
je 0x180030a5b
test sil, sil
jne 0x180030a5b
test r8b, r8b
je 0x180030a5b
mov r14b, 1
jmp 0x180030a63
mov r8d, dword [rsp + 0x74]
xor r14b, r14b
test r10b, r10b
je 0x180030a7d
mov rax, qword [0x180045ba8]
mov ecx, dword [rax + 0x8c]
test ecx, ecx
js 0x180030a7d
call fcn.180009820
test al, al
jne 0x180030a9c
test r9b, r9b
je 0x180030aab
mov rax, qword [0x180045ba8]
mov ecx, dword [rax + 0x90]
test ecx, ecx
js 0x180030aab
call fcn.180009820
test al, al
je 0x180030aab
test sil, sil
jne 0x180030aab
test r8b, r8b
je 0x180030aab
mov sil, 1
jmp 0x180030aae
xor sil, sil
mov rax, qword [0x180045ba8]
mov ecx, dword [rax + 0x70]
test ecx, ecx
js 0x180030ac5
call fcn.180009820
test al, al
jne 0x180030adc
mov rax, qword [0x180045ba8]
mov ecx, dword [rax + 0x78]
test ecx, ecx
js 0x180030ae1
call fcn.180009820
test al, al
je 0x180030ae1
mov r11b, 1
jmp 0x180030ae4
xor r11b, r11b
mov r9d, 1
mov edx, r9d
xor ecx, ecx
call fcn.180011c00
comiss xmm0, xmm8
jbe 0x180030b11
mov rax, qword [0x180045ba8]
mov ecx, dword [rax + 0x6c]
test ecx, ecx
js 0x180030b29
call fcn.180009820
test al, al
je 0x180030b29
mov edx, r9d
mov ecx, 2
call fcn.180011c00
comiss xmm0, xmm8
ja 0x180030b29
xor r10b, r10b
jmp 0x180030b2d
movzx r10d, r9b
mov rax, qword [0x180045ba8]
mov ecx, dword [rax + 0x74]
test ecx, ecx
js 0x180030b44
call fcn.180009820
test al, al
jne 0x180030b58
mov edx, r9d
mov ecx, r9d
call fcn.180011c00
comiss xmm0, xmm8
ja 0x180030b58
xor r9b, r9b
mov rax, qword [0x180045ba8]
mov ecx, dword [rax + 0x40]
test ecx, ecx
js 0x180030ba1
call fcn.180009820
test al, al
je 0x180030ba1
test r15b, r15b
je 0x180030b7b
mov eax, 0x200004
jmp 0x180030b8b
mov eax, 0x200000
test r12b, r12b
mov ecx, 0x20000c
cmovne eax, ecx
or ebx, eax
mov r8d, ebx
lea rdx, [rdi + 0x4c]
mov rcx, rdi
call fcn.18002de20
jmp 0x1800314a4
mov rax, qword [0x180045ba8]
mov ecx, dword [rax + 0x44]
test ecx, ecx
js 0x180030bfe
call fcn.180009820
test al, al
je 0x180030bfe
test r15b, r15b
je 0x180030bd8
mov ecx, 0x200005
or ebx, ecx
mov r8d, ebx
lea rdx, [rdi + 0x4c]
mov rcx, rdi
call fcn.18002de20
jmp 0x1800314a4
mov ecx, 0x200001
mov eax, 0x20000d
test r12b, r12b
cmovne ecx, eax
or ebx, ecx
mov r8d, ebx
lea rdx, [rdi + 0x4c]
mov rcx, rdi
call fcn.18002de20
jmp 0x1800314a4
mov rax, qword [0x180045ba8]
mov ecx, dword [rax + 0x48]
test ecx, ecx
js 0x180030c78
call fcn.180009820
test al, al
je 0x180030c78
cmp byte [rsp + 0x58], 0
je 0x180030c78
mov rax, qword [rsp + 0x68]
cmp byte [rax + 0x140], 0
je 0x180030c58
mov rdx, qword [rbp - 0x70]
movss xmm0, dword [rdx + 0x60]
mov r15, rax
subss xmm0, dword [rax + 0x1990]
maxss xmm0, xmm8
movss dword [rdx + 0x70], xmm0
xor eax, eax
mov dword [rdx + 0x78], eax
mov dword [rdx + 0x80], eax
jmp 0x1800314ba
movzx eax, r15b
lea r8d, [rax*4 + 0x200002]
or r8d, ebx
lea rdx, [rdi + 0x4c]
mov rcx, rdi
call fcn.18002de20
jmp 0x1800314a4
mov r8, qword [0x180045ba8]
mov ecx, dword [r8 + 0x4c]
test ecx, ecx
js 0x180030cfd
call fcn.180009820
test al, al
je 0x180030cfd
cmp byte [rsp + 0x58], 0
je 0x180030cfd
mov rax, qword [rsp + 0x68]
cmp byte [rax + 0x140], 0
je 0x180030cdd
mov rax, qword [r8 + 0x1c20]
mov rcx, qword [rbp - 0x70]
movss xmm0, dword [rcx + 0x60]
mov r15, qword [rsp + 0x68]
addss xmm0, dword [r15 + 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 0x1800314ba
movzx eax, r15b
lea r8d, [rax*4 + 0x200003]
or r8d, ebx
lea rdx, [rdi + 0x4c]
mov rcx, rdi
call fcn.18002de20
jmp 0x1800314a4
mov rax, qword [0x180045ba8]
mov ecx, dword [rax + 0x50]
test ecx, ecx
js 0x180030d64
call fcn.180009820
mov r15d, dword [rsp + 0x58]
test al, al
je 0x180030d69
test r15b, r15b
je 0x180030d69
or ebx, 0x20000e
lea rdx, [rdi + 0x4c]
mov r8d, ebx
mov rcx, rdi
call fcn.18002de20
mov byte [rdi + 0xe7c], 1
mov dword [rdi + 0xe78], 0xbe99999a
movd xmm0, dword [rbp - 0x80]
cvtdq2ps xmm0, xmm0
mov r15, qword [rsp + 0x68]
mulss xmm0, dword [r15 + 0x1990]
subss xmm10, xmm0
jmp 0x1800314ba
mov r15d, dword [rsp + 0x58]
mov rax, qword [0x180045ba8]
mov ecx, dword [rax + 0x54]
test ecx, ecx
js 0x180030dcb
call fcn.180009820
test al, al
je 0x180030dcb
test r15b, r15b
je 0x180030dcb
or ebx, 0x20000f
lea rdx, [rdi + 0x4c]
mov r8d, ebx
mov rcx, rdi
call fcn.18002de20
mov byte [rdi + 0xe7c], 1
mov dword [rdi + 0xe78], 0xbe99999a
movd xmm0, dword [rbp - 0x80]
cvtdq2ps xmm0, xmm0
mov r15, qword [rsp + 0x68]
mulss xmm0, dword [r15 + 0x1990]
addss xmm10, xmm0
jmp 0x1800314ba
mov rax, qword [0x180045ba8]
mov ecx, dword [rax + 0x58]
test ecx, ecx
js 0x180030e24
call fcn.180009820
test al, al
je 0x180030e24
mov eax, ebx
or eax, 0x200006
or ebx, 0x200004
mov r15, qword [rsp + 0x68]
cmp byte [r15 + 0x140], 0
cmovne ebx, eax
mov r8d, ebx
lea rdx, [rdi + 0x4c]
mov rcx, rdi
call fcn.18002de20
mov byte [rdi + 0xe7c], 1
mov dword [rdi + 0xe78], 0xbe99999a
jmp 0x1800314ba
mov rax, qword [0x180045ba8]
mov ecx, dword [rax + 0x5c]
test ecx, ecx
js 0x180030e5e
call fcn.180009820
test al, al
je 0x180030e5e
mov eax, ebx
or eax, 0x200007
mov r8d, 0x200005
or r8d, ebx
mov r15, qword [rsp + 0x68]
cmp byte [r15 + 0x140], 0
cmovne r8d, eax
jmp 0x180030e02
mov rax, qword [0x180045ba8]
mov ecx, dword [rax + 0x64]
test ecx, ecx
js 0x180030ea1
call fcn.180009820
movzx r8d, byte [rsp + 0x51]
test al, al
je 0x180030ea7
cmp byte [rsp + 0x5c], 0
jne 0x180030ea7
test r8b, r8b
jne 0x180030ea7
or ebx, 0x200008
mov r8d, ebx
lea rdx, [rdi + 0x4c]
mov rcx, rdi
call fcn.18002de20
jmp 0x1800314a4
movzx r8d, byte [rsp + 0x51]
mov rax, qword [0x180045ba8]
mov ecx, dword [rax + 0x68]
test ecx, ecx
js 0x180030f6c
call fcn.180009820
test al, al
je 0x180030f6c
cmp byte [rsp + 0x5c], 0
jne 0x180030f6c
mov eax, dword [rdi + 0x54]
cmp dword [rdi + 0x50], eax
jne 0x180030f01
test r12b, r12b
je 0x180030f11
lea rdx, [rdi + 0x4c]
mov r8d, 0x60000c
mov rcx, rdi
call fcn.18002de20
mov byte [rdi + 0xe7c], 1
mov dword [rdi + 0xe78], 0xbe99999a
mov r15, qword [rsp + 0x68]
or ebx, 0x200009
jmp 0x180030dff
mov r15, qword [rsp + 0x68]
cmp byte [r15 + 0xc9], 0
je 0x180030f06
cmp byte [r15 + 0x143], 0
je 0x180030f06
cmp byte [r15 + 0x142], 0
jne 0x180030f06
cmp byte [r15 + 0x140], 0
jne 0x180030f06
lea rdx, [rdi + 0x4c]
mov r8d, 0x600004
mov rcx, rdi
call fcn.18002de20
mov byte [rdi + 0xe7c], 1
mov dword [rdi + 0xe78], 0xbe99999a
or ebx, 0x200009
jmp 0x180030dff
test r11b, r11b
je 0x180030fdd
mov edx, dword [rsp + 0x60]
mov eax, edx
shr eax, 0xb
and al, 1
test r15b, r15b
mov r15, qword [rsp + 0x68]
je 0x180030f96
movzx ecx, byte [r15 + 0x140]
test al, al
je 0x180030fa5
test cl, cl
jne 0x180030fa9
mov byte [rsp + 0x52], 1
mov byte [rsp + 0x53], 1
jmp 0x1800314ba
test cl, cl
jne 0x180030f96
cmp byte [rsp + 0x5c], 0
jne 0x1800314ba
mov dword [rbp - 0x80], 0xa
mov dword [rsp + 0x20], 2
lea rcx, [rbp - 0x80]
call fcn.18002f210
test al, al
je 0x1800314ba
mov r8d, dword [rbp - 0x80]
jmp 0x180030e02
test r10b, r10b
je 0x180030ff1
mov byte [rsp + 0x52], 1
mov byte [rsp + 0x53], 1
jmp 0x1800314b5
test r9b, r9b
je 0x180031006
mov cl, 1
mov byte [rsp + 0x52], cl
mov r15, qword [rsp + 0x68]
jmp 0x1800314bc
test r14b, r14b
jne 0x180031480
test sil, sil
jne 0x180031480
cmp byte [rsp + 0x54], sil
je 0x18003104d
mov rax, qword [0x180045ba8]
mov ecx, dword [rax + 0x7c]
test ecx, ecx
js 0x18003104d
call fcn.180009820
test al, al
je 0x18003104d
xor eax, eax
mov dword [rdi + 0x50], eax
mov eax, dword [rdi + 4]
mov dword [rdi + 0x54], eax
mov dword [rdi + 0x4c], eax
mov byte [rdi + 0x62], sil
jmp 0x1800314ae
test r8b, r8b
jne 0x18003127a
cmp byte [rsp + 0x70], r8b
jne 0x18003127a
test r13b, r13b
je 0x1800314b5
mov rcx, qword [0x180045ba8]
mov rax, qword [rcx + 0x100]
test rax, rax
je 0x180031093
mov rcx, qword [rcx + 0x110]
call rax
mov rbx, rax
test rax, rax
jne 0x18003109a
jmp 0x1800314b5
lea rbx, [0x180039788]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], 0
jne 0x1800310a1
mov rcx, qword [0x180045ba8]
test rcx, rcx
je 0x1800310bc
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 - 0x80], rax
xor r12d, r12d
mov r14d, r12d
cmp byte [rbx], r12b
je 0x18003113a
mov rsi, rax
mov r15d, dword [rsp + 0x60]
nop dword [rax]
nop dword [rax + rax]
xor r8d, r8d
mov rdx, rbx
lea rcx, [rbp - 0x48]
call fcn.180003970
movsxd rcx, eax
add rbx, rcx
cmp dword [rbp - 0x48], r12d
je 0x180031136
mov dword [rsp + 0x20], 5
mov edx, r15d
lea rcx, [rbp - 0x48]
call fcn.18002f210
test al, al
je 0x180031131
movzx eax, word [rbp - 0x48]
mov word [rsi], ax
inc r14d
add rsi, 2
cmp byte [rbx], r12b
jne 0x1800310f0
mov r15, qword [rbp - 0x80]
movsxd rax, r14d
mov word [r15 + rax*2], r12w
test r14d, r14d
jle 0x180031255
mov edx, dword [rdi + 4]
mov r8d, dword [rdi + 0x54]
mov eax, dword [rdi + 0x50]
mov ecx, edx
cmp eax, r8d
je 0x18003118c
mov r9d, eax
cmp eax, edx
jle 0x18003116c
mov dword [rdi + 0x50], edx
mov r9d, edx
mov ecx, dword [rdi + 4]
mov r10d, r8d
cmp r8d, edx
jle 0x18003117d
mov dword [rdi + 0x54], edx
mov r10d, edx
mov ecx, dword [rdi + 4]
mov r8d, r10d
mov eax, r9d
cmp r9d, r10d
jne 0x18003118c
mov dword [rdi + 0x4c], r9d
mov r9d, dword [rdi + 0x4c]
cmp r9d, edx
jle 0x18003119b
mov dword [rdi + 0x4c], edx
mov r9d, edx
cmp eax, r8d
je 0x1800311c9
mov edx, eax
cmp eax, ecx
jle 0x1800311ab
mov dword [rdi + 0x50], ecx
mov edx, ecx
mov r10d, r8d
cmp r8d, ecx
jle 0x1800311b9
mov dword [rdi + 0x54], ecx
mov r10d, ecx
mov r8d, r10d
mov eax, edx
cmp edx, r10d
jne 0x1800311c9
mov dword [rdi + 0x4c], edx
mov r9d, edx
cmp r9d, ecx
jle 0x1800311d1
mov dword [rdi + 0x4c], ecx
cmp eax, r8d
je 0x18003120d
lea rdx, [rdi + 0x4c]
mov rcx, rdi
jge 0x1800311f5
sub r8d, eax
mov r9d, r8d
mov r8d, eax
call fcn.18002dca0
mov eax, dword [rdi + 0x50]
mov dword [rdi + 0x54], eax
jmp 0x180031206
sub eax, r8d
mov r9d, eax
call fcn.18002dca0
mov eax, dword [rdi + 0x54]
mov dword [rdi + 0x50], eax
mov dword [rdi + 0x4c], eax
mov byte [rdi + 0x62], r12b
mov r9d, r14d
mov r8, r15
mov edx, dword [rdi + 0x4c]
mov rcx, rdi
call fcn.18002d7a0
test al, al
je 0x18003124e
mov esi, dword [rdi + 0x4c]
lea rcx, [rdi + 0x6c]
xor edx, edx
call fcn.18002ed30
test rax, rax
je 0x180031246
mov dword [rax], esi
mov dword [rax + 4], r12d
mov dword [rax + 8], r14d
mov dword [rax + 0xc], 0xffffffff
add dword [rdi + 0x4c], r14d
mov byte [rdi + 0x62], r12b
mov byte [rdi + 0xe7c], 1
test r15, r15
je 0x18003126c
mov rax, qword [0x180045ba8]
test rax, rax
je 0x18003126c
dec dword [rax + 0x3b0]
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1800314b5
mov r15, qword [rsp + 0x68]
cmp qword [r15 + 0x108], 0
je 0x1800313d3
mov eax, dword [rdi + 0x54]
mov ecx, dword [rdi + 0x50]
cmp ecx, eax
je 0x1800312a4
mov edx, eax
cmovl edx, ecx
cmovge eax, ecx
xor r12d, r12d
jmp 0x1800312ad
xor r12d, r12d
mov edx, r12d
mov eax, dword [rdi + 4]
movsxd r14, eax
mov rax, qword [rdi + 0x18]
lea r8, [rax + r14*2]
movsxd r15, edx
lea rdx, [rax + r15*2]
mov ecx, r12d
mov r9d, 0x800
mov r13d, 0x80
nop
test r8, r8
je 0x1800312da
cmp rdx, r8
jae 0x1800312fd
movzx eax, word [rdx]
test ax, ax
je 0x1800312fd
add rdx, 2
cmp ax, r13w
jae 0x1800312f0
inc ecx
jmp 0x1800312d0
cmp ax, r9w
sbb eax, eax
add eax, 3
add ecx, eax
jmp 0x1800312d0
inc ecx
mov rax, qword [0x180045ba8]
test rax, rax
je 0x180031311
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 rsi, rax
mov rcx, qword [rdi + 0x18]
lea r11, [rcx + r14*2]
lea r10, [rcx + r15*2]
mov r9, rax
lea r14, [rax + rbx]
lea rbx, [r14 - 1]
cmp rax, rbx
jae 0x180031382
nop dword [rax]
test r11, r11
je 0x18003134a
cmp r10, r11
jae 0x180031382
movzx eax, word [r10]
test ax, ax
je 0x180031382
mov r8d, eax
add r10, 2
cmp eax, r13d
jae 0x180031367
mov byte [r9], r8b
inc r9
jmp 0x18003137d
mov edx, r14d
sub edx, r9d
dec edx
mov rcx, r9
call fcn.180003b20
movsxd rcx, eax
add r9, rcx
cmp r9, rbx
jb 0x180031340
mov byte [r9], 0
mov rax, qword [0x180045ba8]
mov r8, qword [rax + 0x108]
test r8, r8
je 0x1800313ad
mov rdx, rsi
mov rcx, qword [rax + 0x110]
call r8
mov rax, qword [0x180045ba8]
test rsi, rsi
je 0x1800313bd
test rax, rax
je 0x1800313bd
dec dword [rax + 0x3b0]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
movzx r8d, byte [rsp + 0x51]
mov r15, qword [rsp + 0x68]
jmp 0x1800313d6
xor r12d, r12d
test r8b, r8b
je 0x1800314ba
mov eax, dword [rdi + 0x54]
lea rbx, [rdi + 0x4c]
cmp dword [rdi + 0x50], eax
jne 0x1800313fb
mov dword [rdi + 0x50], r12d
mov eax, dword [rdi + 4]
mov dword [rdi + 0x54], eax
mov dword [rbx], eax
mov byte [rdi + 0x62], 0
mov byte [rdi + 0xe7c], 1
mov r8d, dword [rbx + 8]
mov eax, dword [rbx + 4]
cmp eax, r8d
je 0x1800314ba
mov ecx, dword [rdi + 4]
cmp eax, ecx
jle 0x18003141e
mov dword [rbx + 4], ecx
mov eax, ecx
cmp r8d, ecx
jle 0x180031429
mov dword [rbx + 8], ecx
mov r8d, ecx
cmp eax, r8d
jne 0x180031430
mov dword [rbx], eax
cmp dword [rbx], ecx
jle 0x180031436
mov dword [rbx], ecx
cmp eax, r8d
je 0x18003147a
mov rdx, rbx
mov rcx, rdi
jge 0x180031463
sub r8d, eax
mov r9d, r8d
mov r8d, eax
call fcn.18002dca0
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 0x1800314ba
sub eax, r8d
mov r9d, eax
call fcn.18002dca0
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 0x1800314ba
movzx r8d, r14b
xor r8d, 1
add r8d, 0x20000a
lea rdx, [rdi + 0x4c]
mov rcx, rdi
call fcn.18002de20
mov eax, dword [rdi + 0x4c]
mov dword [rdi + 0x54], eax
mov dword [rdi + 0x50], eax
mov dword [rdi + 0xe78], 0xbe99999a
mov byte [rdi + 0xe7c], 1
mov r15, qword [rsp + 0x68]
xor cl, cl
mov eax, dword [rdi + 0x54]
cmp dword [rdi + 0x50], eax
je 0x1800314cf
cmp byte [rsp + 0x50], 0
je 0x1800314cf
mov al, 1
jmp 0x1800314d1
xor al, al
mov edx, dword [rsp + 0x78]
or dl, al
mov dword [rsp + 0x78], edx
mov r14d, dword [rbp - 0x5c]
xor r13d, r13d
mov qword [rbp - 0x48], r13
mov dword [rsp + 0x74], r13d
cmp dword [r15 + 0x1c6c], r14d
jne 0x180031c6b
test cl, cl
je 0x180031705
cmp byte [rsp + 0x5c], r13b
jne 0x1800316e6
mov r9, qword [rdi + 0x38]
mov rax, qword [rbp - 0x50]
mov r8, r9
sub r8, rax
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x180031533
inc rax
test ecx, ecx
jne 0x180031520
test edx, edx
je 0x1800316e6
mov r12, r9
mov qword [rbp - 0x48], r9
mov eax, dword [rdi + 0x30]
dec eax
mov dword [rsp + 0x74], eax
mov qword [rbp + 0x68], r13
mov r15d, r13d
mov qword [rbp + 0x70], r13
test eax, eax
jle 0x180031642
movsxd rbx, eax
add rbx, r9
mov rsi, r9
xor eax, eax
mov r14d, eax
nop dword [rax]
test rbx, rbx
je 0x18003157a
cmp rsi, rbx
jae 0x18003159f
cmp byte [rsi], 0
je 0x18003159f
mov r8, rbx
mov rdx, rsi
lea rcx, [rbp - 0x80]
call fcn.180003970
movsxd rcx, eax
add rsi, rcx
cmp dword [rbp - 0x80], 0
je 0x18003159f
inc r14d
jmp 0x180031570
lea r15d, [r14 + 1]
test r15d, r15d
jle 0x1800315e3
mov esi, r15d
cmp r15d, 8
mov eax, 8
cmovl esi, eax
test esi, esi
jle 0x1800315e3
mov rax, qword [0x180045ba8]
test rax, rax
je 0x1800315cd
inc dword [rax + 0x3b0]
movsxd rcx, esi
add rcx, rcx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r13, rax
mov qword [rbp + 0x70], rax
mov dword [rbp + 0x6c], esi
mov dword [rbp + 0x68], r15d
mov rsi, r12
mov r14, r13
movsxd r12, r15d
lea r12, [r12*2 - 2]
add r12, r13
cmp r13, r12
jae 0x180031638
test rbx, rbx
je 0x18003160a
cmp rsi, rbx
jae 0x180031638
cmp byte [rsi], 0
je 0x180031638
mov r8, rbx
mov rdx, rsi
lea rcx, [rbp - 0x80]
call fcn.180003970
movsxd rcx, eax
add rsi, rcx
mov eax, dword [rbp - 0x80]
test eax, eax
je 0x180031638
mov word [r14], ax
add r14, 2
cmp r14, r12
jb 0x180031600
xor eax, eax
mov word [r14], ax
mov eax, dword [rsp + 0x74]
lea ebx, [r15 - 1]
test eax, eax
mov r14d, 0
cmovle ebx, r14d
movsxd rsi, dword [rdi + 4]
lea rcx, [rdi + 0x6c]
mov r9d, ebx
mov r8d, esi
xor edx, edx
call fcn.18002ef20
mov r9, rax
test rax, rax
je 0x180031695
test esi, esi
jle 0x180031695
mov edx, r14d
nop word [rax + rax]
mov rcx, qword [rdi + 0x18]
movzx eax, word [rcx + rdx*2]
mov word [r9 + rdx*2], ax
inc rdx
cmp rdx, rsi
jl 0x180031680
mov r8d, dword [rdi + 4]
xor edx, edx
mov rcx, rdi
call fcn.18002d6d0
test ebx, ebx
jle 0x1800316c2
mov r9d, ebx
mov r8, r13
xor edx, edx
mov rcx, rdi
call fcn.18002d7a0
test al, al
je 0x1800316c2
mov dword [rdi + 0x4c], ebx
mov byte [rdi + 0x62], r14b
test r13, r13
je 0x1800316e3
mov rax, qword [0x180045ba8]
test rax, rax
je 0x1800316d9
dec dword [rax + 0x3b0]
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
xor r13d, r13d
mov r9d, dword [rsp + 0x60]
cmp byte [rsp + 0x53], 0
je 0x1800316f8
test r9b, 0x20
jne 0x18003170a
mov r14, qword [rbp - 0x50]
mov r12d, dword [rbp - 0x78]
jmp 0x180031bc1
mov r9d, dword [rsp + 0x60]
mov r10d, dword [rsp + 0x5c]
test r10b, r10b
jne 0x1800317ba
mov byte [rdi + 0x40], 1
mov eax, dword [rdi + 0x10]
lea ebx, [rax*4 + 1]
mov ecx, dword [rdi + 0x24]
cmp ebx, ecx
jle 0x180031751
test ecx, ecx
je 0x18003173c
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180031741
mov eax, 8
mov edx, ebx
cmp eax, ebx
cmovg edx, eax
lea rcx, [rdi + 0x20]
call fcn.180016df0
mov dword [rdi + 0x20], ebx
mov r10, qword [rdi + 0x18]
mov r9, qword [rdi + 0x28]
movsxd r11, ebx
add r11, r9
lea rbx, [r11 - 1]
cmp r9, rbx
jae 0x1800317ac
mov r13d, 0x80
movzx eax, word [r10]
test ax, ax
je 0x1800317a9
mov r8d, eax
add r10, 2
cmp eax, r13d
jae 0x18003178e
mov byte [r9], r8b
inc r9
jmp 0x1800317a4
mov edx, r11d
sub edx, r9d
dec edx
mov rcx, r9
call fcn.180003b20
movsxd rcx, eax
add r9, rcx
cmp r9, rbx
jb 0x180031771
xor r13d, r13d
mov byte [r9], 0
mov r9d, dword [rsp + 0x60]
mov r10d, dword [rsp + 0x5c]
test r9d, 0x801c0
je 0x180031b5f
mov r8d, 0x16
test r9b, 0x40
je 0x1800317f3
mov rax, qword [0x180045ba8]
mov ecx, dword [rax + 0x3c]
test ecx, ecx
js 0x1800317f3
call fcn.180009820
test al, al
je 0x1800317f3
lea eax, [r8 + 0x2a]
mov r8d, r13d
jmp 0x180031867
test r9b, r9b
jns 0x180031844
mov rax, qword [0x180045ba8]
mov ecx, dword [rax + 0x48]
test ecx, ecx
js 0x18003181e
call fcn.180009820
test al, al
je 0x18003181e
mov r11d, 0x80
mov eax, r11d
lea r8d, [r11 - 0x7d]
jmp 0x18003186d
mov rax, qword [0x180045ba8]
mov ecx, dword [rax + 0x4c]
test ecx, ecx
js 0x180031844
call fcn.180009820
test al, al
je 0x180031844
mov r11d, 0x80
mov eax, r11d
lea r8d, [r11 - 0x7c]
jmp 0x18003186d
mov eax, 0x80000
test eax, r9d
je 0x180031857
cmp byte [rdi + 0xe7e], 0
jne 0x180031867
bt r9d, 8
jae 0x180031b5f
mov eax, 0x100
mov r11d, 0x80
mov dword [rbp], r13d
mov qword [rbp + 0x19], r13
mov dword [rbp + 0x21], r13d
mov word [rbp + 0x25], r13w
mov byte [rbp + 0x27], 0
mov dword [rbp - 0x10], eax
mov dword [rbp - 0xc], r9d
mov qword [rbp - 8], r13
test r10b, r10b
mov rax, qword [rbp - 0x50]
jne 0x18003189a
mov rax, qword [rdi + 0x28]
mov dword [rbp + 4], r8d
mov qword [rbp + 8], rax
mov eax, dword [rdi + 8]
mov dword [rbp + 0x10], eax
mov eax, dword [rdi + 0x44]
mov dword [rbp + 0x14], eax
mov byte [rbp + 0x18], 0
mov rdx, qword [rdi + 0x18]
movsxd rax, dword [rdi + 0x4c]
lea r8, [rdx + rax*2]
mov rcx, rdx
mov ebx, r13d
mov r9d, 0x800
nop word [rax + rax]
test r8, r8
je 0x1800318da
cmp rcx, r8
jae 0x1800318fd
movzx eax, word [rcx]
test ax, ax
je 0x1800318fd
add rcx, 2
cmp ax, r11w
jae 0x1800318f0
inc ebx
jmp 0x1800318d0
cmp ax, r9w
sbb eax, eax
add eax, 3
add ebx, eax
jmp 0x1800318d0
mov dword [rbp + 0x1c], ebx
movsxd rax, dword [rdi + 0x50]
lea r8, [rdx + rax*2]
mov rcx, rdx
mov r15d, r13d
nop
test r8, r8
je 0x18003191a
cmp rcx, r8
jae 0x18003193f
movzx eax, word [rcx]
test ax, ax
je 0x18003193f
add rcx, 2
cmp ax, r11w
jae 0x180031931
inc r15d
jmp 0x180031910
cmp ax, r9w
sbb eax, eax
add eax, 3
add r15d, eax
jmp 0x180031910
mov dword [rbp + 0x20], r15d
movsxd rax, dword [rdi + 0x54]
lea rcx, [rdx + rax*2]
mov r12d, r13d
nop
test rcx, rcx
je 0x18003195a
cmp rdx, rcx
jae 0x18003197f
movzx eax, word [rdx]
test ax, ax
je 0x18003197f
add rdx, 2
cmp ax, r11w
jae 0x180031971
inc r12d
jmp 0x180031950
cmp ax, r9w
sbb eax, eax
add eax, 3
add r12d, eax
jmp 0x180031950
mov dword [rbp + 0x24], r12d
lea rcx, [rbp - 0x10]
call r13
movzx r13d, byte [rbp + 0x18]
movsxd rcx, dword [rbp + 0x1c]
cmp ecx, ebx
jne 0x18003199c
test r13b, r13b
je 0x1800319ed
mov rbx, qword [rbp + 8]
lea rsi, [rbx + rcx]
xor eax, eax
mov r14d, eax
nop dword [rax]
test rsi, rsi
je 0x1800319ba
cmp rbx, rsi
jae 0x1800319df
cmp byte [rbx], 0
je 0x1800319df
mov r8, rsi
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.180003970
movsxd rcx, eax
add rbx, rcx
cmp dword [rbp - 0x80], 0
je 0x1800319df
inc r14d
jmp 0x1800319b0
mov dword [rdi + 0x4c], r14d
mov byte [rdi + 0xe7c], 1
mov ecx, dword [rbp + 0x1c]
movsxd rax, dword [rbp + 0x20]
cmp eax, r15d
jne 0x1800319fb
test r13b, r13b
je 0x180031a48
cmp eax, ecx
jne 0x180031a05
mov r14d, dword [rdi + 0x4c]
jmp 0x180031a44
mov rbx, qword [rbp + 8]
lea rsi, [rbx + rax]
xor eax, eax
mov r14d, eax
test rsi, rsi
je 0x180031a1c
cmp rbx, rsi
jae 0x180031a41
cmp byte [rbx], 0
je 0x180031a41
mov r8, rsi
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.180003970
movsxd rcx, eax
add rbx, rcx
cmp dword [rbp - 0x80], 0
je 0x180031a41
inc r14d
jmp 0x180031a12
mov eax, dword [rbp + 0x20]
mov dword [rdi + 0x50], r14d
movsxd rcx, dword [rbp + 0x24]
cmp ecx, r12d
jne 0x180031a5a
test r13b, r13b
je 0x180031b65
cmp ecx, eax
jne 0x180031a9d
mov r14d, dword [rdi + 0x50]
mov dword [rdi + 0x54], r14d
mov r12d, dword [rbp - 0x78]
test r13b, r13b
je 0x180031b69
mov ebx, dword [rbp + 0x10]
mov eax, dword [rbp - 0x40]
cmp ebx, eax
jle 0x180031af7
test r12b, r12b
je 0x180031af7
sub ebx, eax
add ebx, dword [rdi + 0x10]
mov ecx, dword [rdi + 0x14]
cmp ebx, ecx
jle 0x180031af4
test ecx, ecx
je 0x180031adf
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180031ae4
mov rbx, qword [rbp + 8]
lea rsi, [rbx + rcx]
xor eax, eax
mov r14d, eax
nop word [rax + rax]
test rsi, rsi
je 0x180031aba
cmp rbx, rsi
jae 0x180031a62
cmp byte [rbx], 0
je 0x180031a62
mov r8, rsi
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.180003970
movsxd rcx, eax
add rbx, rcx
cmp dword [rbp - 0x80], 0
je 0x180031a62
inc r14d
jmp 0x180031ab0
mov eax, 8
mov edx, ebx
cmp eax, ebx
cmovg edx, eax
lea rcx, [rdi + 0x10]
call fcn.180016e80
mov dword [rdi + 0x10], ebx
mov rsi, qword [rbp + 8]
mov r15, qword [rdi + 0x18]
mov rbx, r15
movsxd r14, dword [rdi + 0x10]
dec r14
lea r14, [r15 + r14*2]
cmp r15, r14
jae 0x180031b3f
cmp byte [rsi], 0
je 0x180031b3f
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp - 0x40]
call fcn.180003970
movsxd rcx, eax
add rsi, rcx
mov eax, dword [rbp - 0x40]
test eax, eax
je 0x180031b3f
mov word [rbx], ax
add rbx, 2
cmp rbx, r14
jb 0x180031b12
xor eax, eax
mov word [rbx], ax
sub rbx, r15
sar rbx, 1
mov dword [rdi + 4], ebx
mov eax, dword [rbp + 0x10]
mov dword [rdi + 8], eax
mov dword [rdi + 0xe78], 0xbe99999a
jmp 0x180031b69
mov r12d, dword [rbp - 0x78]
jmp 0x180031b6e
mov r12d, dword [rbp - 0x78]
mov r9d, dword [rsp + 0x60]
mov r14, qword [rbp - 0x50]
cmp byte [rsp + 0x5c], 0
jne 0x180031bbe
mov r9, qword [rdi + 0x28]
mov rax, r9
mov r8, r14
sub r8, r9
nop word [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x180031ba3
inc rax
test ecx, ecx
jne 0x180031b90
xor r13d, r13d
test edx, edx
je 0x180031bb7
mov rsi, r9
mov ecx, dword [rdi + 8]
mov r9d, dword [rsp + 0x60]
jmp 0x180031bc9
mov r9d, dword [rsp + 0x60]
jmp 0x180031bc1
xor r13d, r13d
mov rsi, qword [rbp - 0x48]
mov ecx, dword [rsp + 0x74]
mov dword [rdi + 0xe80], r13d
test rsi, rsi
je 0x180031c62
test r12b, r12b
je 0x180031c2f
mov qword [rbp + 0x38], r13
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x50], xmm0
mov dword [rbp + 0x28], 0x40000
mov dword [rbp + 0x2c], r9d
mov qword [rbp + 0x40], r14
mov dword [rbp + 0x48], ecx
lea eax, [rcx + 1]
cmp eax, 0x20
mov ecx, 0x20
cmovle eax, ecx
mov dword [rbp + 0x4c], eax
mov qword [rbp + 0x30], r13
lea rcx, [rbp + 0x28]
call r13
mov r14, qword [rbp + 0x40]
mov qword [rbp - 0x50], r14
mov edx, dword [rbp + 0x4c]
lea ecx, [rdx - 1]
cmp dword [rbp + 0x48], ecx
cmovl ecx, dword [rbp + 0x48]
jmp 0x180031c34
mov edx, 0x20
lea eax, [rcx + 1]
cmp eax, edx
cmovl edx, eax
movsxd rbx, edx
cmp rbx, 1
jb 0x180031c5d
jbe 0x180031c57
lea r8, [rbx - 1]
mov rdx, rsi
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov byte [rbx + r14 - 1], 0
mov byte [rsp + 0x7c], 1
mov r14d, dword [rbp - 0x5c]
mov r15, qword [rsp + 0x68]
cmp byte [rsp + 0x52], 0
je 0x180031ce3
cmp dword [r15 + 0x1c6c], r14d
jne 0x180031ce3
mov rdx, qword [0x180045ba8]
mov ecx, dword [rdx + 0x1c6c]
test ecx, ecx
setne al
mov byte [rdx + 0x1c78], al
test ecx, ecx
je 0x180031cb1
mov dword [rdx + 0x1c74], r13d
mov word [rdx + 0x1c7b], 0
mov dword [rdx + 0x1ca4], 0xffffffff
mov dword [rdx + 0x1c6c], r13d
mov word [rdx + 0x1c79], 0
mov qword [rdx + 0x1c98], r13
mov word [rdx + 0x1c7d], 0
mov qword [rdx + 0x1c80], 0
mov qword [rdx + 0x1c88], r13
mov r10d, dword [rsp + 0x58]
test r10b, r10b
jne 0x180031d9e
mov r8d, 1
mov edx, r14d
lea rcx, [rbp - 0x20]
call fcn.180004cc0
movss xmm9, dword [0x18003e6f4]
movaps xmm1, xmm9
mov ecx, 7
call fcn.180003d40
mov r8d, eax
movss xmm0, dword [r15 + 0x15b4]
movss dword [rsp + 0x20], xmm0
mov r9b, 1
mov rdx, qword [rbp - 0x18]
movaps xmm0, xmm12
unpcklps xmm0, xmm14
movq rcx, xmm0
call fcn.180004b50
movaps xmm15, xmm12
addss xmm15, xmm11
movss dword [rbp + 0x70], xmm15
movaps xmm13, xmm14
addss xmm13, xmm7
movss dword [rbp + 0x74], xmm13
movaps xmm0, xmm12
addss xmm0, dword [r15 + 0x15ac]
movss dword [rbp - 0x40], xmm0
movaps xmm1, xmm14
addss xmm1, dword [r15 + 0x15b0]
movss dword [rbp - 0x3c], xmm1
movss dword [rbp - 0x48], xmm15
movss dword [rbp - 0x78], xmm13
mov r8, qword [rbp - 0x70]
mov r10d, dword [rsp + 0x58]
jmp 0x180031de6
movaps xmm2, xmm11
addss xmm2, xmm12
movss dword [rbp - 0x48], xmm2
movaps xmm15, xmm2
movss dword [rbp + 0x70], xmm2
movaps xmm1, xmm7
addss xmm1, xmm14
movss dword [rbp - 0x78], xmm1
movaps xmm13, xmm1
movss dword [rbp + 0x74], xmm1
mov r8, qword [rbp - 0x70]
movsd xmm0, qword [r8 + 0xd8]
movsd qword [rbp - 0x40], xmm0
movss xmm9, dword [0x18003e6f4]
lea r11, [rbp - 0x40]
movss dword [rbp + 0x6c], xmm14
movss dword [rbp + 0x68], xmm12
movsd xmm0, qword [r11]
movsd qword [rbp + 0x60], xmm0
xorps xmm5, xmm5
movss dword [rsp + 0x74], xmm5
xorps xmm7, xmm7
movss dword [rbp - 0x80], xmm7
cmp byte [rbp - 0x60], 0
je 0x180031e21
mov r13, qword [rdi + 0x28]
mov qword [rbp - 0x50], r13
jmp 0x180031e25
mov r13, qword [rbp - 0x50]
movzx eax, byte [rsp + 0x50]
mov ecx, dword [rsp + 0x78]
test al, al
jne 0x180031ffd
test cl, cl
jne 0x180031ffd
test r10b, r10b
je 0x180031ea0
xor r14d, r14d
mov ecx, r14d
movzx edx, byte [r13]
lea rsi, [r13 + 1]
test dl, dl
je 0x180031e75
nop word [rax + rax]
lea eax, [rcx + 1]
cmp dl, 0xa
cmovne eax, ecx
mov ecx, eax
movzx edx, byte [rsi]
inc rsi
test dl, dl
jne 0x180031e60
dec rsi
movzx eax, byte [rsi]
cmp al, 0xa
je 0x180031e85
cmp al, 0xd
je 0x180031e85
inc ecx
movaps xmm6, xmm11
movd xmm7, ecx
cvtdq2ps xmm7, xmm7
mulss xmm7, dword [r15 + 0x1990]
movss dword [rbp - 0x80], xmm7
jmp 0x180031ede
cmp dword [r15 + 0x1c6c], r14d
jne 0x180031eaf
movsxd rsi, dword [rdi + 8]
jmp 0x180031ec0
mov rsi, 0xffffffffffffffff
inc rsi
cmp byte [rsi + r13], 0
jne 0x180031eb6
add rsi, r13
mov rax, rsi
sub rax, r13
movss xmm6, dword [rsp + 0x74]
xor r14d, r14d
cmp rax, 0x200000
jge 0x180032849
movss xmm13, dword [0x18003e6f4]
movaps xmm1, xmm13
xor ecx, ecx
call fcn.180003d40
mov r9d, eax
mov r8, qword [r8 + 0x270]
lea rdx, [rbp + 0x68]
test r10b, r10b
cmovne rdx, r14
mov rcx, rsi
movss xmm2, dword [r15 + 0x1990]
mov r10, qword [r15 + 0x1988]
test eax, 0xff000000
je 0x180032860
test rsi, rsi
jne 0x180031f3e
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [rcx + r13], 0
jne 0x180031f31
add rcx, r13
cmp r13, rcx
je 0x180032860
test r10, r10
jne 0x180031f54
mov rax, qword [r8 + 0x38]
mov r10, qword [rax + 8]
xorps xmm8, xmm8
ucomiss xmm2, xmm8
jp 0x180031f69
jne 0x180031f69
mov rax, qword [r8 + 0x38]
movss xmm2, dword [rax + 0x10]
movups xmm0, xmmword [r8 + 0x88]
movups xmmword [rbp - 0x20], xmm0
test rdx, rdx
je 0x180031fc4
movss xmm1, dword [rdx]
movss xmm0, dword [rbp - 0x20]
comiss xmm0, xmm1
jae 0x180031f8d
movss dword [rbp - 0x20], xmm1
movss xmm1, dword [rdx + 4]
movss xmm0, dword [rbp - 0x1c]
comiss xmm0, xmm1
jae 0x180031fa1
movss dword [rbp - 0x1c], xmm1
movss xmm0, dword [rdx + 8]
comiss xmm0, dword [rbp - 0x18]
ja 0x180031fb1
movss dword [rbp - 0x18], xmm0
movss xmm0, dword [rdx + 0xc]
comiss xmm0, dword [rbp - 0x14]
ja 0x180031fc1
movss dword [rbp - 0x14], xmm0
test rdx, rdx
setne al
mov byte [rsp + 0x48], al
movss dword [rsp + 0x40], xmm8
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], r13
lea rax, [rbp - 0x20]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r9d
mov r9, qword [r11]
mov rdx, r8
mov rcx, r10
call fcn.180025620
jmp 0x180032864
movsxd r12, dword [rdi + 8]
lea rsi, [r12 + r13]
mov r15, qword [rdi + 0x18]
xorps xmm8, xmm8
xorps xmm6, xmm6
xor r9d, r9d
mov r10d, r9d
mov r14d, r9d
mov r8d, 0xfffffc18
mov ebx, r8d
mov edx, r9d
test al, al
je 0x180032039
movsxd rax, dword [rdi + 0x4c]
lea r10, [r15 + rax*2]
lea edx, [r9 + 1]
lea r8d, [r9 - 1]
test cl, cl
je 0x180032055
mov ecx, dword [rdi + 0x54]
cmp dword [rdi + 0x50], ecx
cmovl ecx, dword [rdi + 0x50]
movsxd rax, ecx
lea r14, [r15 + rax*2]
mov ebx, 0xffffffff
inc edx
movzx eax, byte [rsp + 0x58]
add edx, eax
mov rax, r15
movzx ecx, word [r15]
test cx, cx
je 0x1800320a4
cmp cx, 0xa
jne 0x180032098
inc r9d
cmp r8d, 0xffffffff
jne 0x180032085
cmp rax, r10
jb 0x180032085
mov r8d, r9d
dec edx
test edx, edx
jle 0x1800320a4
cmp ebx, 0xffffffff
jne 0x180032098
cmp rax, r14
jb 0x180032098
mov ebx, r9d
dec edx
test edx, edx
jle 0x1800320a4
add rax, 2
movzx ecx, word [rax]
test cx, cx
jne 0x180032068
inc r9d
mov r11d, r9d
cmp r8d, 0xffffffff
cmovne r11d, r8d
cmp ebx, 0xffffffff
cmove ebx, r9d
mov rdx, r10
cmp r10, r15
jbe 0x1800320d3
lea rax, [rdx - 2]
cmp word [rax], 0xa
je 0x1800320d3
mov rdx, rax
cmp rax, r15
ja 0x1800320c1
mov rax, qword [0x180045ba8]
mov r8, qword [rax + 0x1988]
movss xmm3, dword [rax + 0x1990]
divss xmm3, dword [r8 + 0x14]
movaps xmm1, xmm5
movaps xmm12, xmm5
cmp rdx, r10
jae 0x180032140
nop dword [rax + rax]
movzx ecx, word [rdx]
add rdx, 2
cmp ecx, 0xa
jne 0x180032117
maxss xmm1, xmm12
movaps xmm12, xmm5
jmp 0x18003213b
cmp ecx, 0xd
je 0x18003213b
cmp ecx, dword [r8]
jge 0x18003212c
mov rax, qword [r8 + 8]
movss xmm0, dword [rax + rcx*4]
jmp 0x180032132
movss xmm0, dword [r8 + 0x10]
mulss xmm0, xmm3
addss xmm12, xmm0
cmp rdx, r10
jb 0x180032100
maxss xmm12, xmm1
mov r13, qword [rsp + 0x68]
movss xmm4, dword [r13 + 0x1990]
movd xmm14, r11d
cvtdq2ps xmm14, xmm14
mulss xmm14, xmm4
test ebx, ebx
js 0x1800321e2
mov rdx, r14
cmp r14, r15
jbe 0x180032182
nop dword [rax]
lea rax, [rdx - 2]
cmp word [rax], 0xa
je 0x180032182
mov rdx, rax
cmp rax, r15
ja 0x180032170
movaps xmm1, xmm5
movaps xmm6, xmm5
cmp rdx, r14
jae 0x1800321d0
nop dword [rax]
movzx ecx, word [rdx]
add rdx, 2
cmp ecx, 0xa
jne 0x1800321a5
maxss xmm1, xmm6
movaps xmm6, xmm5
jmp 0x1800321cb
cmp ecx, 0xd
je 0x1800321cb
cmp ecx, dword [r8]
jge 0x1800321ba
mov rax, qword [r8 + 8]
movss xmm2, dword [rax + rcx*4]
jmp 0x1800321c0
movss xmm2, dword [r8 + 0x10]
movaps xmm0, xmm3
mulss xmm0, xmm2
addss xmm6, xmm0
cmp rdx, r14
jb 0x180032190
movd xmm8, ebx
cvtdq2ps xmm8, xmm8
mulss xmm8, xmm4
maxss xmm6, xmm1
mov r10d, dword [rsp + 0x58]
test r10b, r10b
je 0x180032204
movss dword [rsp + 0x74], xmm11
movd xmm7, r9d
cvtdq2ps xmm7, xmm7
mulss xmm7, xmm4
movss dword [rbp - 0x80], xmm7
movzx r8d, byte [rsp + 0x50]
test r8b, r8b
je 0x18003232c
cmp byte [rdi + 0xe7c], 0
je 0x18003232c
test dword [rsp + 0x60], 0x1000
jne 0x18003227b
movaps xmm0, xmm11
mulss xmm0, dword [0x18003e698]
subss xmm11, dword [r13 + 0x15ac]
movss xmm2, dword [rdi + 0x48]
movaps xmm1, xmm12
comiss xmm2, xmm12
jbe 0x18003225b
subss xmm1, xmm0
movaps xmm0, xmm5
maxss xmm0, xmm1
jmp 0x180032269
subss xmm1, xmm11
comiss xmm1, xmm2
jb 0x180032280
addss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x48], xmm0
jmp 0x180032280
xor eax, eax
mov dword [rdi + 0x48], eax
test r10b, r10b
je 0x180032325
movaps xmm0, xmm14
subss xmm0, dword [r13 + 0x1990]
movss xmm3, dword [rbp - 0x2c]
comiss xmm10, xmm0
jbe 0x1800322ac
movaps xmm10, xmm5
maxss xmm10, xmm0
jmp 0x1800322dc
movss xmm2, dword [r13 + 0x15b0]
addss xmm2, xmm2
movaps xmm1, xmm3
subss xmm1, xmm2
movaps xmm0, xmm14
subss xmm0, xmm1
comiss xmm0, xmm10
jb 0x1800322dc
movaps xmm10, xmm14
subss xmm10, xmm3
addss xmm10, xmm2
movss xmm2, dword [r13 + 0x15b0]
comiss xmm5, xmm10
jbe 0x1800322f0
movaps xmm2, xmm5
jmp 0x180032305
addss xmm2, xmm2
addss xmm2, xmm7
subss xmm2, xmm3
maxss xmm2, xmm5
minss xmm2, xmm10
mov rax, qword [rbp - 0x70]
movss xmm0, dword [rax + 0x60]
subss xmm0, xmm2
movss xmm1, dword [rbp + 0x64]
addss xmm1, xmm0
movss dword [rbp + 0x64], xmm1
movss dword [rax + 0x60], xmm2
mov byte [rdi + 0xe7c], 0
movss xmm11, dword [rdi + 0x48]
cmp byte [rsp + 0x78], 0
je 0x180032585
mov edx, dword [rdi + 0x54]
mov ecx, dword [rdi + 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 0x180032365
movaps xmm1, xmm9
jmp 0x18003236d
movss xmm1, dword [0x18003e6b4]
mov ecx, 0x2f
call fcn.180003d40
mov r15d, eax
xorps xmm5, xmm5
test r10b, r10b
je 0x18003238d
movss dword [rbp - 0x28], xmm5
xorps xmm10, xmm10
jmp 0x180032396
movss xmm10, dword [0x18003e70c]
movss xmm9, dword [rbp + 0x60]
addss xmm6, xmm9
subss xmm6, xmm11
movss xmm7, dword [rbp + 0x64]
addss xmm7, xmm8
subss xmm7, xmm5
cmp rbx, r14
jae 0x18003258b
movss xmm8, dword [0x18003e6b0]
movss xmm1, dword [rbp - 0x74]
nop dword [rax + rax]
movss xmm4, dword [r13 + 0x1990]
movaps xmm0, xmm13
addss xmm0, xmm4
comiss xmm7, xmm0
ja 0x18003257e
comiss xmm1, xmm7
jbe 0x18003241b
cmp rbx, r14
jae 0x180032563
nop dword [rax + rax]
movzx eax, word [rbx]
add rbx, 2
cmp ax, 0xa
je 0x180032563
cmp rbx, r14
jb 0x180032400
jmp 0x180032563
mov rax, qword [0x180045ba8]
mov rdx, qword [rax + 0x1988]
movss xmm2, dword [rax + 0x1990]
divss xmm2, dword [rdx + 0x14]
movaps xmm3, xmm5
movaps xmm1, xmm5
cmp rbx, r14
jae 0x180032482
movzx ecx, word [rbx]
add rbx, 2
cmp ecx, 0xa
je 0x180032478
cmp ecx, 0xd
je 0x18003243c
cmp ecx, dword [rdx]
jge 0x180032469
mov rax, qword [rdx + 8]
movss xmm0, dword [rax + rcx*4]
mulss xmm0, xmm2
addss xmm1, xmm0
jmp 0x18003243c
movss xmm0, dword [rdx + 0x10]
mulss xmm0, xmm2
addss xmm1, xmm0
jmp 0x18003243c
movaps xmm3, xmm5
maxss xmm3, xmm1
movaps xmm1, xmm5
maxss xmm1, xmm3
comiss xmm5, xmm1
jb 0x1800324ba
mov rax, qword [r13 + 0x1988]
cmp dword [rax], 0x20
jle 0x1800324a5
mov rax, qword [rax + 8]
movss xmm0, dword [rax + 0x80]
jmp 0x1800324aa
movss xmm0, dword [rax + 0x10]
mulss xmm0, xmm8
cvttss2si eax, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
addss xmm1, xmm6
movaps xmm0, xmm10
addss xmm0, xmm7
addss xmm6, xmm5
movss xmm2, dword [rbp - 0x28]
subss xmm2, xmm4
addss xmm2, xmm7
movss xmm3, dword [rbp - 0x38]
maxss xmm6, xmm3
maxss xmm2, dword [rbp - 0x74]
movss dword [rbp - 0x20], xmm6
movss dword [rbp - 0x1c], xmm2
minss xmm1, xmm15
minss xmm0, xmm13
movss dword [rbp - 0x18], xmm1
movss dword [rbp - 0x14], xmm0
comiss xmm0, dword [rbp - 0x74]
jbe 0x18003255e
comiss xmm13, xmm2
jbe 0x18003255e
comiss xmm1, xmm3
jbe 0x18003255e
comiss xmm15, xmm6
jbe 0x18003255e
xor eax, eax
mov dword [rsp + 0x28], eax
movss dword [rsp + 0x20], xmm5
mov r9d, r15d
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x20]
mov rax, qword [rbp - 0x70]
mov rcx, qword [rax + 0x270]
call fcn.1800219f0
movss xmm0, dword [rbp - 0x48]
movss dword [rbp - 0x48], xmm0
movss xmm0, dword [rbp - 0x78]
movss dword [rbp - 0x78], xmm0
movss xmm9, dword [rbp + 0x60]
xorps xmm5, xmm5
movss xmm1, dword [rbp - 0x74]
movaps xmm6, xmm9
subss xmm6, xmm11
addss xmm7, dword [r13 + 0x1990]
cmp rbx, r14
jb 0x1800323d0
mov r10d, dword [rsp + 0x58]
jmp 0x18003258b
movss xmm9, dword [rbp + 0x60]
test r10b, r10b
jne 0x18003259d
cmp r12, 0x200000
jge 0x1800326e6
movss xmm13, dword [0x18003e6f4]
movaps xmm1, xmm13
xor ecx, ecx
call fcn.180003d40
mov r9d, eax
mov rbx, qword [rbp - 0x70]
mov r8, qword [rbx + 0x270]
mov rcx, rsi
subss xmm9, xmm11
movss dword [rbp - 0x70], xmm9
movss xmm0, dword [rbp + 0x64]
xorps xmm5, xmm5
subss xmm0, xmm5
movss dword [rbp - 0x6c], xmm0
mov r15, r13
movss xmm2, dword [r13 + 0x1990]
mov r10, qword [r13 + 0x1988]
lea rdx, [rbp + 0x68]
cmp byte [rsp + 0x58], 0
mov r14d, 0
cmovne rdx, r14
test eax, 0xff000000
je 0x1800326f9
mov r13, qword [rbp - 0x50]
test rsi, rsi
jne 0x18003262c
mov rcx, 0xffffffffffffffff
nop
inc rcx
cmp byte [rcx + r13], r14b
jne 0x180032620
add rcx, r13
cmp r13, rcx
je 0x1800326fd
test r10, r10
jne 0x180032642
mov rax, qword [r8 + 0x38]
mov r10, qword [rax + 8]
ucomiss xmm2, xmm5
jp 0x180032652
jne 0x180032652
mov rax, qword [r8 + 0x38]
movss xmm2, dword [rax + 0x10]
movups xmm0, xmmword [r8 + 0x88]
movups xmmword [rbp - 0x20], xmm0
test rdx, rdx
je 0x1800326ad
movss xmm1, dword [rdx]
movss xmm0, dword [rbp - 0x20]
comiss xmm0, xmm1
jae 0x180032676
movss dword [rbp - 0x20], xmm1
movss xmm1, dword [rdx + 4]
movss xmm0, dword [rbp - 0x1c]
comiss xmm0, xmm1
jae 0x18003268a
movss dword [rbp - 0x1c], xmm1
movss xmm0, dword [rdx + 8]
comiss xmm0, dword [rbp - 0x18]
ja 0x18003269a
movss dword [rbp - 0x18], xmm0
movss xmm0, dword [rdx + 0xc]
comiss xmm0, dword [rbp - 0x14]
ja 0x1800326aa
movss dword [rbp - 0x14], xmm0
test rdx, rdx
setne al
mov byte [rsp + 0x48], al
movss dword [rsp + 0x40], xmm5
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], r13
lea rax, [rbp - 0x20]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r9d
mov r9, qword [rbp - 0x70]
mov rdx, r8
mov rcx, r10
call fcn.180025620
xorps xmm5, xmm5
jmp 0x1800326fd
movss xmm13, dword [0x18003e6f4]
mov r15, r13
mov rbx, qword [rbp - 0x70]
xor r14d, r14d
mov r13, qword [rbp - 0x50]
cmp byte [rsp + 0x50], 0
je 0x180032854
movss xmm0, dword [r15 + 0x18]
addss xmm0, dword [rdi + 0xe78]
movss dword [rdi + 0xe78], xmm0
cmp byte [r15 + 0xca], 0
je 0x18003274b
comiss xmm5, xmm0
jae 0x18003274b
movss xmm1, dword [0x18003e6fc]
call sub.api_ms_win_crt_math_l1_1_0.dll_fmodf
movss xmm1, dword [0x18003e6d8]
comiss xmm1, xmm0
jae 0x18003274b
xor cl, cl
jmp 0x18003274d
mov cl, 1
addss xmm12, dword [rbp + 0x60]
subss xmm12, xmm11
cvttss2si eax, xmm12
movd xmm6, eax
cvtdq2ps xmm6, xmm6
movss xmm0, dword [rbp + 0x64]
addss xmm0, xmm14
xorps xmm8, xmm8
subss xmm0, xmm8
cvttss2si eax, xmm0
movd xmm7, eax
cvtdq2ps xmm7, xmm7
movss dword [rbp + 0x68], xmm6
movaps xmm0, xmm7
subss xmm0, dword [r15 + 0x1990]
addss xmm0, dword [0x18003e6b0]
movss dword [rbp + 0x6c], xmm0
movaps xmm2, xmm6
addss xmm2, xmm13
movss dword [rbp + 0x70], xmm2
movaps xmm1, xmm7
subss xmm1, dword [0x18003e708]
movss dword [rbp + 0x74], xmm1
movss xmm14, dword [rbp - 0x74]
test cl, cl
je 0x18003281a
comiss xmm1, xmm14
jbe 0x18003281a
movss xmm3, dword [rbp - 0x78]
comiss xmm3, xmm0
jbe 0x18003281a
comiss xmm2, dword [rbp - 0x38]
jbe 0x18003281a
movss xmm0, dword [rbp - 0x48]
comiss xmm0, xmm6
jbe 0x18003281a
movss dword [rbp - 0x70], xmm6
movss dword [rbp - 0x6c], xmm1
movaps xmm1, xmm13
xor ecx, ecx
call fcn.180003d40
mov r9d, eax
movss dword [rsp + 0x20], xmm13
lea r8, [rbp - 0x70]
lea rdx, [rbp + 0x68]
mov rcx, qword [rbx + 0x270]
call fcn.180021780
cmp byte [rsp + 0x5c], 0
jne 0x180032841
subss xmm6, xmm13
subss xmm7, dword [r15 + 0x1990]
movss dword [r15 + 0x30c0], xmm6
movss dword [r15 + 0x30c4], xmm7
movss xmm6, dword [rsp + 0x74]
jmp 0x180032864
movss xmm13, dword [0x18003e6f4]
jmp 0x180032860
movss xmm6, dword [rsp + 0x74]
movss xmm14, dword [rbp - 0x74]
xorps xmm8, xmm8
mov ebx, dword [rbp - 0x58]
test bl, bl
je 0x180032870
call fcn.18000ed20
cmp byte [rsp + 0x58], 0
je 0x180032901
movss dword [rbp - 0x70], xmm6
movss xmm0, dword [rbp - 0x80]
addss xmm0, dword [r15 + 0x15b0]
movss dword [rbp - 0x6c], xmm0
lea rcx, [rbp - 0x70]
call fcn.18002c7b0
mov ebx, dword [r15 + 0x1cc0]
mov eax, ebx
or eax, 0x101
mov dword [r15 + 0x1cc0], eax
call fcn.180009ab0
mov eax, dword [r15 + 0x1ce0]
and eax, 0x80
mov edi, dword [rbp + 0x88]
or edi, eax
mov dword [r15 + 0x1cc0], ebx
call fcn.18000f660
mov ebx, dword [rbp - 0x58]
cmp dword [r15 + 0x1cd8], 0
jne 0x180032901
mov eax, dword [rbp - 0x5c]
mov dword [r15 + 0x1cd8], eax
mov eax, dword [rbp + 0x84]
mov dword [r15 + 0x1cdc], eax
mov dword [r15 + 0x1ce0], edi
cmp byte [r15 + 0x312c], 0
je 0x180032a82
test bl, bl
jne 0x180032a82
mov rdi, qword [0x180045ba8]
mov rbx, qword [rdi + 0x1c20]
mov qword [rdi + 0x3158], r14
mov qword [rdi + 0x3150], r14
test rsi, rsi
jne 0x18003295e
mov rsi, r13
cmp r13, 0xffffffffffffffff
jae 0x18003295e
movzx ecx, byte [rsi]
test cl, cl
je 0x18003295e
lea rax, [rsi + 1]
cmp cl, 0x23
jne 0x180032955
cmp byte [rax], cl
je 0x18003295e
mov rsi, rax
cmp rax, 0xffffffffffffffff
jb 0x180032941
movss xmm0, dword [rdi + 0x15b0]
addss xmm0, dword [rdi + 0x3160]
addss xmm0, xmm13
movss xmm1, dword [rbp + 0x64]
movss dword [rdi + 0x3160], xmm1
comiss xmm1, xmm0
jbe 0x180032998
lea rcx, [0x180039934]
call fcn.180014bd0
mov byte [rdi + 0x3164], 1
lea r8, [0x18003e42d]
lea rdx, [0x18003e42c]
lea rcx, [rbp + 0x60]
call fcn.180014c10
mov ecx, dword [rdi + 0x3168]
mov eax, dword [rbx + 0x160]
cmp ecx, eax
jle 0x1800329c7
mov dword [rdi + 0x3168], eax
mov ecx, eax
mov r14d, dword [rbx + 0x160]
sub r14d, ecx
mov r15d, 1
nop word [rax + rax]
mov r8, rsi
sub r8, r13
mov edx, 0xa
mov rcx, r13
call sub.VCRUNTIME140.dll_memchr
mov rbx, rsi
test rax, rax
cmovne rbx, rax
cmp r13, rbx
jne 0x180032a07
cmp rbx, rsi
je 0x180032a66
mov r9d, ebx
sub r9d, r13d
cmp byte [rdi + 0x3164], 0
lea edx, [r14*4]
jne 0x180032a21
mov edx, r15d
mov qword [rsp + 0x20], r13
lea r8, [0x180039788]
lea rcx, str._s_.s
call fcn.180014bd0
mov byte [rdi + 0x3164], 0
cmp byte [rbx], 0xa
jne 0x180032a58
lea rcx, [0x180039934]
call fcn.180014bd0
mov byte [rdi + 0x3164], r15b
cmp rbx, rsi
je 0x180032a66
lea r13, [rbx + 1]
jmp 0x1800329e0
lea r8, [0x18003e429]
lea rdx, [0x18003e428]
lea rcx, [rbp + 0x60]
call fcn.180014c10
mov r15, qword [rsp + 0x68]
movss xmm0, dword [rbp - 0x24]
comiss xmm0, xmm8
jbe 0x180032abf
movss xmm0, dword [rbp - 0x30]
addss xmm0, dword [r15 + 0x15c4]
addss xmm14, dword [r15 + 0x15b0]
mov r9b, 1
xor r8d, r8d
lea rdx, str.FOV
unpcklps xmm0, xmm14
movq rcx, xmm0
call fcn.180003ea0
movzx edx, byte [rsp + 0x7c]
mov ecx, dword [rsp + 0x60]
test dl, dl
je 0x180032ae9
bt ecx, 0x1b
jb 0x180032ae9
mov rax, qword [0x180045ba8]
mov word [rax + 0x1c7c], 0x101
or dword [rax + 0x1ce0], 4
test cl, 0x20
mov eax, edx
movzx ecx, byte [rsp + 0x53]
cmovne eax, ecx
jmp 0x18002f9fe