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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1e8]
sub rsp, 0x2b0
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
movaps xmmword [rax - 0x78], xmm9
movaps xmmword [rax - 0x88], xmm10
movaps xmmword [rax - 0x98], xmm11
movaps xmmword [rax - 0xa8], xmm12
movaps xmmword [rax - 0xb8], xmm13
movaps xmmword [rax - 0xc8], xmm14
movaps xmmword [rax - 0xd8], xmm15
mov rax, qword [0x18035c0c0]
xor rax, rsp
mov qword [rbp + 0x100], rax
mov dword [rbp - 0x38], r9d
mov qword [rsp + 0x68], r8
mov rdi, rcx
mov qword [rbp - 8], rcx
mov esi, dword [rbp + 0x218]
mov r15, qword [0x18035fc30]
mov qword [rsp + 0x70], r15
mov rax, qword [r15 + 0x4180]
mov byte [rax + 0xf5], 1
mov rbx, qword [r15 + 0x4180]
mov qword [rbp - 0x10], rbx
cmp byte [rbx + 0xf8], 0
jne 0x1800581e7
mov r13d, esi
shr r13d, 0x1a
and r13b, 1
mov dword [rsp + 0x7c], r13d
test r13b, r13b
je 0x180057e15
call fcn.180021310
movsxd r8, dword [rbx + 0x130]
mov rax, qword [rbx + 0x138]
mov r8d, dword [rax + r8*4 - 4]
xor edx, edx
mov rcx, rdi
call fcn.18000d750
mov r14d, eax
mov dword [rbp - 0x7c], eax
mov rcx, qword [rbx]
cmp dword [rcx + 0x41cc], eax
jne 0x180057e52
mov r8, rdi
mov edx, 0xb
mov ecx, eax
call fcn.180034e70
mov r8, qword [0x18035fc30]
mov rcx, rdi
cmp rdi, 0xffffffffffffffff
jae 0x180057e7f
movzx edx, byte [rcx]
test dl, dl
je 0x180057e7f
lea rax, [rcx + 1]
cmp dl, 0x23
jne 0x180057e76
cmp byte [rax], dl
je 0x180057e7f
mov rcx, rax
cmp rax, 0xffffffffffffffff
jb 0x180057e62
movss xmm0, dword [r8 + 0x3eb8]
xor eax, eax
movss xmm1, dword [0x180342f00]
movss dword [rbp - 0x1c], xmm1
movss xmm8, dword [0x180342edc]
xorps xmm10, xmm10
cmp rdi, rcx
jne 0x180057eae
xorps xmm7, xmm7
jmp 0x180057ef7
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rdi
movss dword [rsp + 0x20], xmm1
movaps xmm3, xmm8
movaps xmm2, xmm0
lea rdx, [rbp - 0x60]
mov rcx, qword [r8 + 0x3eb0]
call fcn.180046430
movss xmm0, dword [rbp - 0x60]
addss xmm0, dword [0x180342cf4]
cvttss2si eax, xmm0
movd xmm7, eax
cvtdq2ps xmm7, xmm7
movss xmm0, dword [rbp - 0x5c]
movss dword [rbp - 0x18], xmm7
test r13b, r13b
je 0x180057f12
movss xmm0, dword [r15 + 0x3eb8]
mulss xmm0, dword [0x180342e44]
movss xmm6, dword [r15 + 0x3a38]
movaps xmm3, xmm6
addss xmm3, xmm6
addss xmm3, xmm0
call fcn.180021180
movaps xmm2, xmm0
mov rdx, qword [rbp + 0x210]
mov rdx, qword [rdx]
lea rcx, [rbp - 0x60]
call fcn.180021200
comiss xmm7, xmm10
jbe 0x180057f55
movaps xmm1, xmm7
addss xmm1, dword [r15 + 0x3a4c]
jmp 0x180057f58
xorps xmm1, xmm1
movss xmm15, dword [rbx + 0x144]
movss dword [rbp - 0x50], xmm15
movaps xmm0, xmm15
movss xmm7, dword [rbp - 0x5c]
movss dword [rbp - 0x20], xmm7
addss xmm0, xmm7
movss xmm11, dword [rbx + 0x140]
movss dword [rbp - 0x28], xmm11
movaps xmm12, xmm11
movss xmm9, dword [rbp - 0x60]
addss xmm12, xmm9
movss dword [rbp - 0x24], xmm12
movss dword [rbp], xmm11
movss dword [rbp + 4], xmm15
movss dword [rbp + 8], xmm12
movss dword [rbp + 0xc], xmm0
movaps xmm2, xmm15
addss xmm2, xmm7
addss xmm1, xmm9
addss xmm1, xmm11
movss dword [rbp + 0x98], xmm11
movss dword [rbp + 0x9c], xmm15
movss dword [rbp + 0xa0], xmm1
movss dword [rbp + 0xa4], xmm2
mov r12, rbx
mov qword [rbp - 0x30], rbx
xorps xmm0, xmm0
movups xmmword [rbp + 0xb0], xmm0
subss xmm2, xmm15
subss xmm1, xmm11
mov edi, 1
movss dword [rbp - 0x60], xmm1
movss dword [rbp - 0x5c], xmm2
lea rcx, [rbp - 0x60]
movaps xmm1, xmm6
call fcn.180020eb0
test r13b, r13b
je 0x1800582be
mov r9d, 0x400
lea r8, [rbp]
mov edx, r14d
lea rcx, [rbp + 0x98]
call fcn.180020c30
test al, al
je 0x1800581e2
movups xmm0, xmmword [r15 + 0x4b30]
movaps xmmword [rbp + 0xb0], xmm0
movss dword [rbx + 0x140], xmm11
movss dword [rbx + 0x144], xmm15
mov eax, dword [r15 + 0x4d60]
mov edi, eax
cmp eax, r14d
jne 0x180058094
xor eax, eax
test byte [r15 + 0x4d6c], 8
je 0x180058096
bt esi, 0xa
jae 0x180058096
mov dword [r15 + 0x4d60], eax
mov edi, eax
jmp 0x180058096
xor eax, eax
cmp dword [r15 + 0x41e4], r14d
jne 0x1800580a6
mov dword [r15 + 0x4d60], eax
mov rbx, qword [0x18035fc30]
mov dword [rbp + 0x98], 3
movups xmm0, xmmword [rbx + 0x3b10]
movups xmmword [rbp + 0x9c], xmm0
lea rcx, [rbx + 0x4c28]
lea rdx, [rbp + 0x98]
call fcn.180035dc0
cmp dword [rbx + 0x4c24], 3
je 0x1800580f0
movups xmm0, xmmword [r15 + 0x3b50]
movups xmmword [rbx + 0x3b10], xmm0
movss xmm1, dword [r15 + 0x3a3c]
mov ecx, 7
call fcn.18000e4f0
movss xmm1, dword [r15 + 0x3a40]
mov ecx, 8
call fcn.18000e4f0
mov qword [rbp - 0x60], 0
lea rdx, [rbp - 0x60]
mov ecx, 2
call fcn.18000e570
movss xmm1, dword [rbp + 0xc]
movss xmm15, dword [rbp + 4]
movss dword [rbp - 0x50], xmm15
subss xmm1, xmm15
movss xmm6, dword [rbp + 8]
movss dword [rbp - 0x24], xmm6
movaps xmm0, xmm6
movss xmm11, dword [rbp]
movss dword [rbp - 0x28], xmm11
subss xmm0, xmm11
movss dword [rbp - 0x60], xmm0
movss dword [rbp - 0x5c], xmm1
mov dword [rsp + 0x20], 4
mov r9d, 1
lea r8, [rbp - 0x60]
mov edx, r14d
mov rcx, qword [rbp - 8]
call fcn.1800166d0
movzx ebx, al
mov dword [r15 + 0x4d60], edi
mov ecx, 3
call fcn.18000e600
mov r8, qword [0x18035fc30]
movsxd rcx, dword [r8 + 0x4c28]
cmp ecx, 1
jl 0x1800581d9
lea rdx, [rcx + rcx*4]
mov rcx, qword [r8 + 0x4c30]
movsxd rax, dword [rcx + rdx*4 - 0x14]
add rax, 0x3ae
add rax, rax
movups xmm0, xmmword [rcx + rdx*4 - 0x10]
movups xmmword [r8 + rax*8], xmm0
dec dword [r8 + 0x4c28]
test bl, bl
jne 0x18005824b
call fcn.180016a50
call fcn.180021450
xor al, al
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.1800a3060
lea r11, [rsp + 0x2b0]
mov rbx, 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 rdi
pop rsi
pop rbp
ret
mov r12, qword [r15 + 0x4180]
mov qword [rbp - 0x30], r12
movsx ecx, word [r12 + 0x19e]
mov eax, dword [r12 + 0x198]
bts ecx, eax
mov word [r12 + 0x19e], cx
movss xmm0, dword [r15 + 0x3a34]
addss xmm0, dword [r12 + 0x140]
movss dword [r12 + 0x140], xmm0
movss xmm1, dword [r15 + 0x3a38]
addss xmm1, dword [r12 + 0x144]
movss dword [r12 + 0x144], xmm1
subss xmm9, dword [r12 + 0xe8]
mov edi, 1
jmp 0x180058307
bt esi, 0x1c
jb 0x180058307
mov r9d, 0x400
lea r8, [rbp]
mov edx, r14d
lea rcx, [rbp + 0x98]
call fcn.180020c30
test al, al
je 0x1800581e7
movss xmm0, dword [rbp + 8]
movss dword [rbp - 0x24], xmm0
movss xmm15, dword [rbp + 4]
movss dword [rbp - 0x50], xmm15
movss xmm11, dword [rbp]
movss dword [rbp - 0x28], xmm11
mov r8d, dword [r15 + 0x4b34]
mov edx, r14d
lea rcx, [rbp]
call fcn.180012710
movzx ecx, al
mov byte [rsp + 0x60], al
test al, al
je 0x18005832c
mov dword [r15 + 0x5110], edi
mov rdi, qword [0x18035fc30]
test r14d, r14d
je 0x18005834a
cmp dword [rdi + 0x5128], r14d
jne 0x18005834a
add rdi, 0x5120
jmp 0x18005834c
xor edi, edi
mov qword [rbp - 0x60], rdi
mov edx, esi
bts edx, 0xe
test byte [r15 + 0x4b34], 0x80
cmove edx, esi
mov dword [rbp - 0x80], edx
mov eax, edx
shr eax, 0xe
and al, 1
mov dword [rsp + 0x5c], eax
mov eax, edx
shr eax, 0xf
and al, 1
mov dword [rbp - 0x3c], eax
mov eax, edx
shr eax, 0x10
not al
and al, 1
mov dword [rbp - 0x40], eax
mov eax, edx
shr eax, 0x12
and al, 1
mov dword [rbp - 0x6c], eax
mov eax, dword [r15 + 0x41e4]
cmp eax, r14d
je 0x1800583bf
cmp dword [r15 + 0x4d60], r14d
jne 0x1800583bf
test byte [r15 + 0x4d6c], 1
jne 0x1800583b8
cmp dword [r15 + 0x4d8c], 2
jne 0x1800583bf
mov byte [rsp + 0x51], 1
jmp 0x1800583c4
mov byte [rsp + 0x51], 0
test cl, cl
je 0x1800583d7
cmp byte [r15 + 0x3870], 0
je 0x1800583d7
mov r14b, 1
jmp 0x1800583da
xor r14b, r14b
mov byte [rsp + 0x53], r14b
test r13b, r13b
je 0x18005843f
test rdi, rdi
je 0x18005843f
test eax, eax
jne 0x18005843f
movsxd r8, dword [r12 + 0x130]
mov rax, qword [r12 + 0x138]
mov r8d, dword [rax + r8*4 - 4]
xor edx, edx
lea rcx, str.SCROLLY
call fcn.18000d750
mov ebx, eax
mov rcx, qword [r12]
cmp dword [rcx + 0x41cc], eax
jne 0x180058431
lea r8, str.SCROLLY
mov edx, 0xb
mov ecx, eax
call fcn.180034e70
cmp dword [r15 + 0x4214], ebx
jne 0x18005843f
mov sil, 1
jmp 0x18005844c
xor sil, sil
test r13b, r13b
je 0x1800584b9
test rdi, rdi
je 0x1800584b9
movsxd r8, dword [r12 + 0x130]
mov rax, qword [r12 + 0x138]
mov r8d, dword [rax + r8*4 - 4]
xor edx, edx
lea rcx, str.SCROLLY
call fcn.18000d750
mov ebx, eax
mov rcx, qword [r12]
cmp dword [rcx + 0x41cc], eax
jne 0x180058490
lea r8, str.SCROLLY
mov edx, 0xb
mov ecx, eax
call fcn.180034e70
cmp dword [r15 + 0x41e4], ebx
jne 0x1800584b9
mov r12b, 1
mov byte [rsp + 0x52], r12b
mov byte [rsp + 0x55], 0
mov byte [rbp - 0x78], 0
mov rax, qword [rbp - 0x30]
movss xmm8, dword [rax + 0xc4]
jmp 0x1800584e3
mov byte [rsp + 0x55], 0
mov byte [rbp - 0x78], 0
xor r12b, r12b
mov byte [rsp + 0x52], r12b
test r13b, r13b
je 0x1800584de
mov rax, qword [rbp - 0x30]
movss xmm8, dword [rax + 0xc4]
jmp 0x1800584e3
mov byte [rsp + 0x52], r12b
test rdi, rdi
je 0x1800584f6
cmp byte [rdi + 0xe8c], 0
je 0x1800584f6
mov r13b, 1
jmp 0x1800584fe
xor r13b, r13b
test rdi, rdi
je 0x18005850f
movzx eax, byte [rsp + 0x7c]
xor al, 1
cmp byte [rdi + 0x6b], al
je 0x18005850f
mov r15b, 1
jmp 0x180058512
xor r15b, r15b
test r14b, r14b
jne 0x180058539
test sil, sil
jne 0x180058539
cmp byte [rsp + 0x51], sil
jne 0x180058539
mov byte [rsp + 0x54], sil
test r12b, r12b
jne 0x18005853e
mov byte [rsp + 0x56], r12b
mov rax, qword [rsp + 0x70]
jmp 0x180058553
mov byte [rsp + 0x54], 1
mov byte [rsp + 0x56], 1
mov rax, qword [rsp + 0x70]
mov edx, dword [rbp - 0x7c]
cmp dword [rax + 0x41e4], edx
jne 0x180058561
test r15b, r15b
jne 0x180058561
test r13b, r13b
je 0x18005879f
lea rdi, [rax + 0x5120]
mov qword [rbp - 0x60], rdi
mov dword [rdi + 0xe80], 0xbe99999a
mov byte [rdi + 0xe8c], 0
mov ecx, dword [rdi + 8]
call fcn.180057c60
mov rbx, 0xffffffffffffffff
mov rax, qword [rsp + 0x68]
inc rbx
cmp byte [rax + rbx], 0
jne 0x180058591
test r13b, r13b
jne 0x1800585e9
lea esi, [rbx + 1]
mov ecx, dword [rdi + 0x3c]
cmp esi, ecx
jle 0x1800585d2
test ecx, ecx
je 0x1800585b8
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1800585bd
mov eax, 8
mov edx, esi
cmp eax, esi
cmovg edx, eax
lea rcx, [rdi + 0x38]
call fcn.180036290
mov rax, qword [rsp + 0x68]
mov dword [rdi + 0x38], esi
movsxd r8, esi
mov rdx, rax
mov rcx, qword [rdi + 0x40]
call fcn.1800d23f0
mov rax, qword [rsp + 0x68]
mov esi, dword [rbp - 0x7c]
cmp dword [rdi + 8], esi
jne 0x18005861c
test r15b, r15b
jne 0x18005861c
test r13b, r13b
jne 0x18005861c
mov r12b, 1
cmp dword [rdi + 0x10], ebx
jne 0x18005861c
cmp byte [rdi + 0x48], r13b
je 0x18005861f
movsxd r8, ebx
mov rdx, rax
mov rcx, qword [rdi + 0x30]
call fcn.1800ae830
test eax, eax
je 0x18005861f
xor r12b, r12b
mov dword [rdi + 8], esi
movsxd r14, dword [rbp - 0x38]
lea ebx, [r14 + 1]
mov ecx, dword [rdi + 0x1c]
cmp ebx, ecx
jle 0x180058655
test ecx, ecx
je 0x180058640
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180058645
mov eax, 8
mov edx, ebx
cmp eax, ebx
cmovg edx, eax
lea rcx, [rdi + 0x18]
call fcn.180036370
mov dword [rdi + 0x18], ebx
mov ecx, dword [rdi + 0x2c]
test ecx, ecx
jns 0x180058678
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor edx, edx
test eax, eax
cmovg edx, eax
lea rcx, [rdi + 0x28]
call fcn.180036290
xor edx, edx
mov dword [rdi + 0x28], edx
mov byte [rdi + 0x48], dl
mov rcx, qword [rsp + 0x68]
mov rsi, rcx
mov r15, qword [rdi + 0x20]
mov rbx, r15
dec r14
lea r14, [r15 + r14*2]
cmp r15, r14
jae 0x1800586d1
nop dword [rax + rax]
cmp byte [rsi], 0
je 0x1800586ca
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp - 0x54]
call fcn.18000db40
movsxd rcx, eax
add rsi, rcx
movzx eax, word [rbp - 0x54]
mov word [rbx], ax
add rbx, 2
cmp rbx, r14
jb 0x1800586a0
mov rcx, qword [rsp + 0x68]
xor edx, edx
mov word [rbx], dx
sub rbx, r15
sar rbx, 1
mov dword [rdi + 0xc], ebx
sub esi, ecx
mov dword [rdi + 0x10], esi
test r12b, r12b
je 0x18005870f
mov ecx, ebx
cmp dword [rdi + 0x54], ebx
cmovl ecx, dword [rdi + 0x54]
mov dword [rdi + 0x54], ecx
mov ecx, ebx
cmp dword [rdi + 0x58], ebx
cmovl ecx, dword [rdi + 0x58]
mov dword [rdi + 0x58], ecx
cmp dword [rdi + 0x5c], ebx
cmovl ebx, dword [rdi + 0x5c]
mov dword [rdi + 0x5c], ebx
mov ecx, dword [rsp + 0x7c]
jmp 0x180058759
mov qword [rdi + 0x50], 0
mov dword [rdi + 0xe72], 0x630000
mov dword [rdi + 0xe78], edx
mov dword [rdi + 0xe7c], 0x3e7
mov qword [rdi + 0x58], 0
mov word [rdi + 0x69], 1
mov dword [rdi + 0x70], edx
mov byte [rdi + 0x68], 0
mov ecx, dword [rsp + 0x7c]
movzx eax, cl
xor al, 1
mov byte [rdi + 0x6b], al
mov byte [rdi + 0x60], 0
mov dword [rdi + 0x64], edx
test r13b, r13b
je 0x18005892e
mov edx, dword [rdi + 0xc]
mov eax, dword [rdi + 0xe94]
mov ecx, edx
cmp eax, edx
cmovl ecx, eax
mov dword [rdi + 0x54], ecx
mov eax, dword [rdi + 0xe90]
cmp eax, edx
cmovl edx, eax
mov dword [rdi + 0x58], edx
mov dword [rdi + 0x5c], ecx
movzx r14d, byte [rsp + 0x53]
movzx r12d, byte [rsp + 0x52]
test dword [rbp - 0x80], 0x2000
je 0x18005879f
mov byte [rdi + 0x60], 1
mov rsi, qword [rsp + 0x70]
movzx r15d, byte [rsi + 0x61]
mov byte [rbp - 0x68], r15b
mov r13d, dword [rbp - 0x7c]
movzx ebx, byte [rsp + 0x54]
cmp dword [rsi + 0x41e4], r13d
je 0x1800587f3
test bl, bl
je 0x1800587e6
mov rdx, qword [rbp - 0x10]
mov ecx, r13d
call fcn.1800122d0
mov rdx, qword [rbp - 0x10]
mov ecx, r13d
call fcn.1800234b0
xor edx, edx
mov rcx, qword [rbp - 0x10]
call fcn.18001d3a0
cmp dword [rsi + 0x41e4], r13d
jne 0x18005898f
test r14b, r14b
je 0x180058816
mov rax, qword [0x18035fc30]
mov dword [rax + 0x4914], r13d
mov dword [rax + 0x4910], r13d
mov word [rax + 0x4918], 0
mov eax, dword [rsi + 0x4af0]
or eax, 3
mov dword [rsi + 0x4af0], eax
mov ecx, dword [rsp + 0x7c]
test cl, cl
jne 0x180058833
test byte [rbp - 0x80], 0x80
je 0x18005883c
or eax, 0xc
mov dword [rsi + 0x4af0], eax
mov rax, qword [0x18035fc30]
mov dword [rax + 0x42fc], r13d
mov dword [rax + 0x42f8], r13d
mov word [rax + 0x4300], 0
mov dword [rax + 0x47c4], r13d
mov dword [rax + 0x47c0], r13d
mov word [rax + 0x47c8], 0
mov dword [rax + 0x42b4], r13d
mov dword [rax + 0x42b0], r13d
mov word [rax + 0x42b8], 0
mov dword [rax + 0x42c0], r13d
mov dword [rax + 0x42bc], r13d
mov word [rax + 0x42c4], 0
test cl, cl
je 0x1800588d1
mov dword [rax + 0x429c], r13d
mov dword [rax + 0x4298], r13d
mov word [rax + 0x42a0], 0
mov dword [rax + 0x42a8], r13d
mov dword [rax + 0x42a4], r13d
mov word [rax + 0x42ac], 0
test r15b, r15b
je 0x1800588ed
mov dword [rax + 0x4980], r13d
mov dword [rax + 0x497c], r13d
mov word [rax + 0x4984], 0
cmp dword [rsi + 0x41e4], r13d
jne 0x18005898f
test rdi, rdi
jne 0x180058908
xor edx, edx
xor ecx, ecx
call fcn.1800122d0
cmp dword [rsi + 0x41e4], r13d
jne 0x18005898f
cmp byte [rsi + 0x3870], 0
je 0x180058999
cmp byte [rsp + 0x56], 0
jne 0x180058999
test bl, bl
jne 0x180058999
mov byte [rsp + 0x55], 1
mov cl, 1
jmp 0x18005899f
test cl, cl
jne 0x180058786
test byte [rbp - 0x80], 0x10
mov eax, dword [rbp - 0x78]
movzx eax, al
mov edx, 1
cmovne eax, edx
mov dword [rbp - 0x78], eax
mov rcx, qword [rsp + 0x70]
cmp byte [rsp + 0x51], 0
je 0x18005896b
test r12b, r12b
je 0x180058965
test byte [rcx + 0x4d6c], 4
jne 0x18005896b
movzx eax, dl
mov dword [rbp - 0x78], eax
movzx r14d, byte [rsp + 0x53]
test r14b, r14b
je 0x18005878c
movzx eax, al
cmp byte [rcx + 0xe68], 0
cmovne eax, edx
mov byte [rbp - 0x78], al
jmp 0x18005878c
test rdi, rdi
je 0x18005899d
test r12b, r12b
je 0x18005899d
mov cl, 1
jmp 0x18005899f
xor cl, cl
mov byte [rsp + 0x50], cl
mov r13d, dword [rbp - 0x78]
test rdi, rdi
je 0x1800589c1
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x1800589b9
test r13b, r13b
je 0x1800589c1
test cl, cl
je 0x1800589c1
mov dl, 1
jmp 0x1800589c3
xor dl, dl
mov dword [rsp + 0x58], edx
movzx r12d, dl
mov byte [rsp + 0x53], 0
mov byte [rsp + 0x56], 0
mov eax, dword [rsp + 0x5c]
test al, al
je 0x180058acc
test rdi, rdi
je 0x180058acc
test cl, cl
jne 0x1800589f6
test dl, dl
je 0x180058ad4
mov r14d, dword [rbp - 0x38]
inc r14d
mov ecx, dword [rdi + 0x1c]
cmp r14d, ecx
jle 0x180058a2b
test ecx, ecx
je 0x180058a14
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180058a19
mov eax, 8
mov edx, r14d
cmp eax, r14d
cmovg edx, eax
lea rcx, [rdi + 0x18]
call fcn.180036370
mov dword [rdi + 0x18], r14d
mov rcx, qword [rsp + 0x68]
mov rsi, rcx
mov r15, qword [rdi + 0x20]
mov rbx, r15
movsxd r14, r14d
dec r14
lea r14, [r15 + r14*2]
cmp r15, r14
jae 0x180058a7f
nop dword [rax]
cmp byte [rsi], 0
je 0x180058a7a
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp - 0x54]
call fcn.18000db40
movsxd rcx, eax
add rsi, rcx
movzx eax, word [rbp - 0x54]
mov word [rbx], ax
add rbx, 2
cmp rbx, r14
jb 0x180058a50
mov rcx, qword [rsp + 0x68]
xor edx, edx
mov word [rbx], dx
sub rbx, r15
sar rbx, 1
mov dword [rdi + 0xc], ebx
sub esi, ecx
mov dword [rdi + 0x10], esi
mov ecx, ebx
cmp dword [rdi + 0x54], ebx
cmovl ecx, dword [rdi + 0x54]
mov dword [rdi + 0x54], ecx
mov ecx, ebx
cmp dword [rdi + 0x58], ebx
cmovl ecx, dword [rdi + 0x58]
mov dword [rdi + 0x58], ecx
cmp dword [rdi + 0x5c], ebx
cmovl ebx, dword [rdi + 0x5c]
mov dword [rdi + 0x5c], ebx
cmp ecx, ebx
cmovne edx, r12d
mov dword [rsp + 0x58], edx
movzx r15d, byte [rbp - 0x68]
movzx ecx, byte [rsp + 0x50]
mov eax, dword [rsp + 0x5c]
test cl, cl
jne 0x180058ae8
test dl, dl
jne 0x180058ae8
mov r12, qword [rsp + 0x70]
mov esi, dword [rbp - 0x7c]
cmp dword [r12 + 0x41e4], esi
jne 0x180058b03
jmp 0x180058af0
mov esi, dword [rbp - 0x7c]
mov r12, qword [rsp + 0x70]
test al, al
jne 0x180058b03
test rdi, rdi
je 0x180058b03
cmp byte [rdi + 0x48], al
mov byte [rsp + 0x78], 1
jne 0x180058b08
mov byte [rsp + 0x78], 0
cmp byte [rbp - 0x3c], 0
je 0x180058ba2
mov rdx, qword [r12 + 0x3eb0]
cmp dword [rdx + 0x18], 0x2a
ja 0x180058b26
mov r8, qword [rdx + 0x38]
jmp 0x180058b4a
mov rax, qword [rdx + 0x20]
movzx ecx, word [rax + 0x54]
mov eax, 0xffff
cmp cx, ax
jne 0x180058b3e
mov r8, qword [rdx + 0x38]
jmp 0x180058b4a
lea rcx, [rcx + rcx*4]
mov rax, qword [rdx + 0x30]
lea r8, [rax + rcx*8]
lea rcx, [r12 + 0x5fd0]
mov eax, dword [rdx + 0x14]
mov dword [rcx + 0x14], eax
mov rax, qword [r12 + 0x3eb0]
mov edx, dword [rax + 0x64]
mov dword [rcx + 0x64], edx
mov rax, qword [r12 + 0x3eb0]
mov edx, dword [rax + 0x68]
mov dword [rcx + 0x68], edx
mov rax, qword [r12 + 0x3eb0]
mov edx, dword [rax + 0x6c]
mov dword [rcx + 0x6c], edx
mov rax, qword [r12 + 0x3eb0]
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.18001d800
xor eax, eax
mov dword [rbp - 0x54], eax
mov ebx, 0x20000c
mov r14d, 0x200004
mov dword [rbp - 0x48], r14d
movss xmm0, dword [0x180342cb4]
cmp dword [r12 + 0x41e4], esi
jne 0x180059137
mov eax, dword [rdi + 0x10]
mov dword [rbp - 0x54], eax
mov byte [rdi + 0xe86], 0
mov eax, dword [rbp - 0x38]
mov dword [rdi + 0x4c], eax
mov ecx, dword [rbp - 0x80]
mov dword [rdi + 0xe88], ecx
cmp byte [r12 + 0xe50], 0
sete al
mov byte [r12 + 0x41f1], al
movss xmm6, dword [r12 + 0xe48]
subss xmm6, xmm11
subss xmm6, dword [r12 + 0x3a34]
addss xmm6, dword [rdi + 0x50]
cmp byte [rsp + 0x7c], 0
je 0x180058c39
movss xmm2, dword [r12 + 0xe4c]
mov rax, qword [rbp - 0x30]
subss xmm2, dword [rax + 0x144]
jmp 0x180058c47
movss xmm2, dword [r12 + 0x3eb8]
mulss xmm2, xmm0
test r13b, r13b
je 0x180058c6c
xor r14d, r14d
mov dword [rdi + 0x58], r14d
mov eax, dword [rdi + 0xc]
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x54], eax
mov byte [rdi + 0x6a], r14b
mov byte [rdi + 0xe85], 1
jmp 0x180058f71
movzx eax, byte [rsp + 0x60]
test al, al
je 0x180058e1a
cmp word [r12 + 0x387a], 2
jb 0x180058e1a
cmp byte [r12 + 0xe69], 0
jne 0x180058e1a
cmp byte [rdi + 0x6b], 0
je 0x180058cb8
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp + 0x98]
call fcn.1800557d0
movss xmm2, dword [rbp + 0xa4]
movaps xmm1, xmm6
mov rcx, rdi
call fcn.180055d70
mov dword [rdi + 0x54], eax
mov dword [rdi + 0x58], eax
mov dword [rdi + 0x5c], eax
mov byte [rdi + 0x6a], 0
movzx ecx, word [r12 + 0x387a]
sub ecx, 2
test cl, 1
jne 0x180058d90
test eax, eax
je 0x180058cfc
movsxd rcx, eax
mov rax, qword [rdi + 0x20]
cmp word [rax + rcx*2 - 2], 0xa
je 0x180058cfc
xor cl, cl
jmp 0x180058cfe
mov cl, 1
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x180058d0a
test cl, cl
jne 0x180058d2a
lea rdx, [rdi + 0x54]
mov r8d, ebx
mov rcx, rdi
call fcn.180056220
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x180058d45
cmp dword [rdi + 0x58], eax
jne 0x180058d42
mov eax, dword [rdi + 0x54]
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x58], eax
jmp 0x180058d45
mov dword [rdi + 0x54], eax
mov edx, dword [rdi + 0x54]
mov rcx, rdi
call fcn.1800559b0
mov dword [rdi + 0x54], eax
mov dword [rdi + 0x5c], eax
mov eax, dword [rdi + 0xc]
mov edx, dword [rdi + 0x5c]
mov ecx, dword [rdi + 0x58]
cmp ecx, edx
je 0x180058d7c
cmp ecx, eax
jle 0x180058d6c
mov dword [rdi + 0x58], eax
mov ecx, eax
cmp edx, eax
jle 0x180058d75
mov dword [rdi + 0x5c], eax
mov edx, eax
cmp ecx, edx
jne 0x180058d7c
mov dword [rdi + 0x54], ecx
cmp dword [rdi + 0x54], eax
jle 0x180058e12
mov dword [rdi + 0x54], eax
mov esi, dword [rbp - 0x7c]
jmp 0x180058f61
mov rcx, qword [rdi + 0x20]
cdqe
movzx ebx, word [rcx + rax*2]
mov r8d, r14d
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.180056220
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
mov r8d, 0x600005
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.180056220
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
mov r8d, 0x600001
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.180056220
cmp bx, 0xa
je 0x180058e0b
cmp byte [rsp + 0x7c], 0
je 0x180058e0b
mov ecx, dword [rdi + 0x58]
mov eax, dword [rdi + 0x5c]
mov dword [rdi + 0x58], eax
mov dword [rdi + 0x5c], ecx
mov dword [rdi + 0x54], ecx
mov byte [rdi + 0xe84], 0
mov esi, dword [rbp - 0x7c]
jmp 0x180058f61
cmp byte [r12 + 0x3870], 0
je 0x180058edf
cmp byte [rdi + 0xe85], 0
jne 0x180058edf
test al, al
je 0x180058f6e
cmp byte [r12 + 0xe69], 0
je 0x180058e97
cmp byte [rdi + 0x6b], 0
je 0x180058e69
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp + 0x98]
call fcn.1800557d0
movss xmm2, dword [rbp + 0xa4]
lea rbx, [rdi + 0x5c]
mov eax, dword [rbx]
cmp dword [rdi + 0x58], eax
jne 0x180058e7a
mov eax, dword [rdi + 0x54]
mov dword [rdi + 0x58], eax
movaps xmm1, xmm6
mov rcx, rdi
call fcn.180055d70
mov ecx, 0x54
mov rdx, rdi
mov dword [rbx], eax
mov dword [rdx + rcx], eax
jmp 0x180058f61
cmp byte [rdi + 0x6b], 0
je 0x180058eb7
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp + 0x98]
call fcn.1800557d0
movss xmm2, dword [rbp + 0xa4]
movaps xmm1, xmm6
mov rcx, rdi
call fcn.180055d70
mov dword [rdi + 0x58], eax
mov byte [rdi + 0x6a], 0
lea rbx, [rdi + 0x5c]
mov ecx, 0x54
mov rdx, rdi
mov dword [rbx], eax
mov dword [rdx + rcx], eax
jmp 0x180058f61
cmp byte [r12 + 0xe50], 0
je 0x180058f6e
cmp byte [rdi + 0xe85], 0
jne 0x180058f6e
movss xmm0, dword [r12 + 0xf0]
ucomiss xmm0, xmm10
jp 0x180058f1b
jne 0x180058f1b
movss xmm0, dword [r12 + 0xf4]
ucomiss xmm0, xmm10
jp 0x180058f1b
je 0x180058f6e
cmp byte [rdi + 0x6b], 0
je 0x180058f3b
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp + 0x98]
call fcn.1800557d0
movss xmm2, dword [rbp + 0xa4]
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x180058f49
mov eax, dword [rdi + 0x54]
mov dword [rdi + 0x58], eax
movaps xmm1, xmm6
mov rcx, rdi
call fcn.180055d70
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x54], eax
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
mov ecx, dword [rbp - 0x80]
xor r14d, r14d
cmp byte [rdi + 0xe85], 0
je 0x180058f8c
cmp byte [r12 + 0xe50], 0
jne 0x180058f8c
mov byte [rdi + 0xe85], 0
bt ecx, 0xa
mov ecx, dword [rsp + 0x5c]
jae 0x18005903b
test cl, cl
jne 0x18005903b
mov ebx, esi
lea eax, [rsi + 1]
test eax, 0xfffffffe
jne 0x180058fc7
mov rbx, qword [0x18035fc30]
lea eax, [rsi - 1]
cmp eax, 0xfffffffd
ja 0x180058fc1
mov ebx, esi
jmp 0x180058fc7
mov ebx, dword [rbx + 0x4b00]
mov r8d, 0x1001
mov edx, ebx
mov ecx, 0x200
call fcn.18001e6c0
test al, al
je 0x180059037
mov r8d, 0x1021
mov edx, ebx
mov ecx, 0x200
call fcn.180020b70
test al, al
je 0x180059037
mov dword [rbp - 0x78], 9
mov dword [rsp + 0x28], 2
mov r8d, dword [rbp - 0x80]
lea rdx, [rbp - 0x78]
mov rcx, r12
call fcn.180057780
test al, al
je 0x180059037
lea rdx, [rdi + 0x54]
mov r8d, dword [rbp - 0x78]
mov rcx, rdi
call fcn.180056220
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
mov ecx, dword [rsp + 0x5c]
cmp byte [r12 + 0xe68], 0
je 0x180059051
cmp byte [r12 + 0xe6a], 0
je 0x180059061
test r15b, r15b
je 0x180059065
cmp byte [r12 + 0xe6b], 0
je 0x180059065
mov al, 1
jmp 0x180059067
xor al, al
cmp dword [r12 + 0x3910], 0
jle 0x180059137
test al, al
jne 0x180059105
test cl, cl
jne 0x180059105
cmp byte [rsp + 0x51], cl
jne 0x180059105
mov esi, r14d
mov rbx, r14
mov r15d, dword [rbp - 0x80]
nop word [rax + rax]
mov rax, qword [r12 + 0x3918]
movzx ecx, word [rbx + rax]
mov dword [rbp - 0x78], ecx
cmp ecx, 9
je 0x1800590f0
mov dword [rsp + 0x28], 2
mov r8d, r15d
lea rdx, [rbp - 0x78]
mov rcx, r12
call fcn.180057780
test al, al
je 0x1800590f0
lea rdx, [rdi + 0x54]
mov r8d, dword [rbp - 0x78]
mov rcx, rdi
call fcn.180056220
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
inc esi
add rbx, 2
cmp esi, dword [r12 + 0x3910]
jl 0x1800590a0
movzx r15d, byte [rbp - 0x68]
mov ecx, dword [r12 + 0x3914]
test ecx, ecx
jns 0x18005912f
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
mov edx, r14d
test eax, eax
cmovg edx, eax
lea rcx, [r12 + 0x3910]
call fcn.180036370
mov dword [r12 + 0x3910], r14d
xor r14b, r14b
mov byte [rbp - 0x67], r14b
mov r13d, dword [rbp - 0x7c]
cmp dword [r12 + 0x41e4], r13d
jne 0x18005a116
cmp byte [r12 + 0x41f0], r14b
jne 0x18005a116
cmp byte [rsp + 0x55], r14b
jne 0x18005a116
movaps xmm0, xmm7
subss xmm0, dword [r12 + 0x3a38]
divss xmm0, dword [r12 + 0x3eb8]
cvttss2si eax, xmm0
mov ecx, 1
cmp eax, ecx
cmovge ecx, eax
mov dword [rbp - 0x70], ecx
mov dword [rdi + 0x64], ecx
movzx eax, byte [r12 + 0xe69]
neg al
sbb eax, eax
and eax, 0x400000
mov dword [rbp - 0x78], eax
test r15b, r15b
je 0x1800591da
movzx eax, byte [r12 + 0xe6a]
mov byte [rsp + 0x51], al
cmp byte [r12 + 0xe6b], r14b
je 0x1800591e7
cmp byte [r12 + 0xe68], r14b
jne 0x1800591e7
test al, al
jne 0x1800591e7
mov byte [rsp + 0x54], 1
jmp 0x1800591ec
movzx eax, byte [r12 + 0xe68]
mov byte [rsp + 0x51], al
mov byte [rsp + 0x54], r14b
mov ebx, r13d
lea eax, [r13 + 1]
test eax, 0xfffffffe
jne 0x180059215
mov rbx, qword [0x18035fc30]
lea eax, [r13 - 1]
cmp eax, 0xfffffffd
ja 0x18005920f
mov ebx, r13d
jmp 0x180059215
mov ebx, dword [rbx + 0x4b00]
mov r8d, 0x1001
mov edx, ebx
mov ecx, 0xa39
call fcn.18001e6c0
test al, al
je 0x180059241
mov r8d, 0x1021
mov edx, ebx
mov ecx, 0xa39
call fcn.180020b70
test al, al
jne 0x180059296
mov ebx, r13d
lea eax, [r13 + 1]
test eax, 0xfffffffe
jne 0x18005926a
mov rbx, qword [0x18035fc30]
lea eax, [r13 - 1]
cmp eax, 0xfffffffd
ja 0x180059264
mov ebx, r13d
jmp 0x18005926a
mov ebx, dword [rbx + 0x4b00]
mov r8d, 0x1001
mov edx, ebx
mov ecx, 0x220a
call fcn.18001e6c0
test al, al
je 0x1800592c1
mov r8d, 0x1021
mov edx, ebx
mov ecx, 0x220a
call fcn.180020b70
test al, al
je 0x1800592c1
mov r14d, dword [rsp + 0x5c]
mov r12d, dword [rbp - 0x3c]
mov esi, dword [rsp + 0x7c]
test r14b, r14b
jne 0x1800592ce
test r12b, r12b
jne 0x1800592ce
test sil, sil
je 0x1800592ba
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
je 0x1800592ce
mov byte [rsp + 0x52], 1
jmp 0x1800592d3
mov r12d, dword [rbp - 0x3c]
mov r14d, dword [rsp + 0x5c]
mov esi, dword [rsp + 0x7c]
mov byte [rsp + 0x52], 0
mov ebx, r13d
lea eax, [r13 + 1]
test eax, 0xfffffffe
jne 0x1800592fc
mov rbx, qword [0x18035fc30]
lea eax, [r13 - 1]
cmp eax, 0xfffffffd
ja 0x1800592f6
mov ebx, r13d
jmp 0x1800592fc
mov ebx, dword [rbx + 0x4b00]
mov r8d, 0x1000
mov edx, ebx
mov ecx, 0xa24
call fcn.18001e6c0
test al, al
je 0x180059328
mov r8d, 0x1000
mov edx, ebx
mov ecx, 0xa24
call fcn.180020b70
test al, al
jne 0x18005937d
mov ebx, r13d
lea eax, [r13 + 1]
test eax, 0xfffffffe
jne 0x180059351
mov rbx, qword [0x18035fc30]
lea eax, [r13 - 1]
cmp eax, 0xfffffffd
ja 0x18005934b
mov ebx, r13d
jmp 0x180059351
mov ebx, dword [rbx + 0x4b00]
mov r8d, 0x1000
mov edx, ebx
mov ecx, 0x1209
call fcn.18001e6c0
test al, al
je 0x180059395
mov r8d, 0x1000
mov edx, ebx
mov ecx, 0x1209
call fcn.180020b70
test al, al
je 0x180059395
test r12b, r12b
jne 0x180059395
test sil, sil
je 0x18005938f
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
je 0x180059395
mov byte [rbp - 0x57], 1
jmp 0x180059399
mov byte [rbp - 0x57], 0
mov ebx, r13d
lea eax, [r13 + 1]
test eax, 0xfffffffe
jne 0x1800593c2
mov rbx, qword [0x18035fc30]
lea eax, [r13 - 1]
cmp eax, 0xfffffffd
ja 0x1800593bc
mov ebx, r13d
jmp 0x1800593c2
mov ebx, dword [rbx + 0x4b00]
mov r8d, 0x1001
mov edx, ebx
mov ecx, 0xa37
call fcn.18001e6c0
test al, al
je 0x1800593ee
mov r8d, 0x1021
mov edx, ebx
mov ecx, 0xa37
call fcn.180020b70
test al, al
jne 0x180059443
mov ebx, r13d
lea eax, [r13 + 1]
test eax, 0xfffffffe
jne 0x180059417
mov rbx, qword [0x18035fc30]
lea eax, [r13 - 1]
cmp eax, 0xfffffffd
ja 0x180059411
mov ebx, r13d
jmp 0x180059417
mov ebx, dword [rbx + 0x4b00]
mov r8d, 0x1001
mov edx, ebx
mov ecx, 0x2209
call fcn.18001e6c0
test al, al
je 0x18005944d
mov r8d, 0x1021
mov edx, ebx
mov ecx, 0x2209
call fcn.180020b70
test al, al
je 0x18005944d
test r14b, r14b
mov byte [rsp + 0x60], 1
je 0x180059452
mov byte [rsp + 0x60], 0
mov ebx, r13d
lea eax, [r13 + 1]
test eax, 0xfffffffe
jne 0x18005947b
mov rbx, qword [0x18035fc30]
lea eax, [r13 - 1]
cmp eax, 0xfffffffd
ja 0x180059475
mov ebx, r13d
jmp 0x18005947b
mov ebx, dword [rbx + 0x4b00]
mov r8d, 0x1001
mov edx, ebx
mov ecx, 0xa3b
call fcn.18001e6c0
test al, al
je 0x1800594ba
mov r8d, 0x1021
mov edx, ebx
mov ecx, 0xa3b
call fcn.180020b70
mov esi, dword [rbp - 0x40]
test al, al
je 0x1800594bd
test r14b, r14b
jne 0x1800594bd
test sil, sil
je 0x1800594bd
mov byte [rbp - 0x58], 1
jmp 0x1800594c1
mov esi, dword [rbp - 0x40]
mov byte [rbp - 0x58], 0
mov ebx, r13d
lea eax, [r13 + 1]
test eax, 0xfffffffe
jne 0x1800594ea
mov rbx, qword [0x18035fc30]
lea eax, [r13 - 1]
cmp eax, 0xfffffffd
ja 0x1800594e4
mov ebx, r13d
jmp 0x1800594ea
mov ebx, dword [rbx + 0x4b00]
mov r8d, 0x1001
mov edx, ebx
mov ecx, 0xa3a
call fcn.18001e6c0
test al, al
je 0x180059516
mov r8d, 0x1021
mov edx, ebx
mov ecx, 0xa3a
call fcn.180020b70
test al, al
jne 0x180059570
test r15b, r15b
je 0x18005957f
mov ebx, r13d
lea eax, [r13 + 1]
test eax, 0xfffffffe
jne 0x180059544
mov rbx, qword [0x18035fc30]
lea eax, [r13 - 1]
cmp eax, 0xfffffffd
ja 0x18005953e
mov ebx, r13d
jmp 0x180059544
mov ebx, dword [rbx + 0x4b00]
mov r8d, 0x1001
mov edx, ebx
mov ecx, 0x2a3b
call fcn.18001e6c0
test al, al
je 0x18005957f
mov r8d, 0x1021
mov edx, ebx
mov ecx, 0x2a3b
call fcn.180020b70
test al, al
je 0x18005957f
test r14b, r14b
jne 0x18005957f
test sil, sil
je 0x18005957f
mov r13b, 1
jmp 0x180059582
xor r13b, r13b
mov ecx, dword [rbp - 0x7c]
mov ebx, ecx
lea eax, [rcx + 1]
test eax, 0xfffffffe
jne 0x1800595aa
mov rbx, qword [0x18035fc30]
lea eax, [rcx - 1]
cmp eax, 0xfffffffd
ja 0x1800595a4
mov ebx, ecx
jmp 0x1800595aa
mov ebx, dword [rbx + 0x4b00]
mov r8d, 0x1000
mov edx, ebx
mov ecx, 0xa22
call fcn.18001e6c0
test al, al
jne 0x1800595c5
xor r12b, r12b
jmp 0x1800595dd
mov r8d, 0x1000
mov edx, ebx
mov ecx, 0xa22
call fcn.180020b70
test al, al
setne r12b
mov rax, qword [rsp + 0x70]
test byte [rax + 8], 2
je 0x1800595f3
test byte [rax + 0xc], 1
je 0x1800595f3
mov sil, 1
jmp 0x1800595f6
xor sil, sil
mov ebx, 1
mov r8d, ebx
xor edx, edx
mov ecx, 0x20d
call fcn.18001ea10
test al, al
jne 0x180059626
mov r8d, ebx
xor edx, edx
mov ecx, 0x273
call fcn.18001ea10
test al, al
jne 0x180059626
xor r15b, r15b
jmp 0x18005962a
movzx r15d, bl
test sil, sil
je 0x18005965b
xor r8d, r8d
xor edx, edx
mov ecx, 0x27c
call fcn.18001ea10
test al, al
jne 0x180059655
xor r8d, r8d
xor edx, edx
mov ecx, 0x27b
call fcn.18001ea10
test al, al
je 0x18005965b
movzx r14d, bl
jmp 0x18005965e
xor r14b, r14b
mov ecx, dword [rbp - 0x7c]
mov ebx, ecx
lea eax, [rcx + 1]
test eax, 0xfffffffe
jne 0x180059686
mov rbx, qword [0x18035fc30]
lea eax, [rcx - 1]
cmp eax, 0xfffffffd
ja 0x180059680
mov ebx, ecx
jmp 0x180059686
mov ebx, dword [rbx + 0x4b00]
mov r8d, 0x1001
mov edx, ebx
mov ecx, 0x20e
call fcn.18001e6c0
test al, al
je 0x1800596b2
mov r8d, 0x1021
mov edx, ebx
mov ecx, 0x20e
call fcn.180020b70
test al, al
jne 0x18005970b
test sil, sil
je 0x18005970f
mov ecx, dword [rbp - 0x7c]
mov ebx, ecx
lea eax, [rcx + 1]
test eax, 0xfffffffe
jne 0x1800596df
mov rbx, qword [0x18035fc30]
lea eax, [rcx - 1]
cmp eax, 0xfffffffd
ja 0x1800596d9
mov ebx, ecx
jmp 0x1800596df
mov ebx, dword [rbx + 0x4b00]
mov r8d, 0x1001
mov edx, ebx
mov ecx, 0x27a
call fcn.18001e6c0
test al, al
je 0x18005970f
mov r8d, 0x1021
mov edx, ebx
mov ecx, 0x27a
call fcn.180020b70
test al, al
je 0x18005970f
mov bl, 1
jmp 0x180059711
xor bl, bl
mov esi, 1
mov r8d, esi
xor edx, edx
mov ecx, 0x201
call fcn.18001ea10
test al, al
je 0x180059774
cmp byte [rsp + 0x54], 0
jne 0x180059745
mov eax, 0x200000
cmp byte [rsp + 0x51], 0
mov ecx, 0x20000c
cmovne eax, ecx
mov dword [rbp - 0x48], eax
mov r8d, dword [rbp - 0x78]
or r8d, dword [rbp - 0x48]
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.180056220
mov byte [rdi + 0xe84], sil
mov dword [rdi + 0xe80], 0xbe99999a
mov r12, qword [rsp + 0x70]
jmp 0x18005a0db
mov r8d, esi
xor edx, edx
mov ecx, 0x202
call fcn.18001ea10
test al, al
je 0x1800597b7
cmp byte [rsp + 0x54], 0
je 0x18005979c
mov ecx, 0x200005
mov r8d, dword [rbp - 0x78]
or r8d, ecx
jmp 0x18005974d
mov ecx, 0x200001
mov eax, 0x20000d
cmp byte [rsp + 0x51], 0
cmovne ecx, eax
mov r8d, dword [rbp - 0x78]
or r8d, ecx
jmp 0x18005974d
mov r8d, esi
xor edx, edx
mov ecx, 0x203
call fcn.18001ea10
mov esi, dword [rsp + 0x7c]
test al, al
je 0x180059854
test sil, sil
je 0x180059854
mov r12, qword [rsp + 0x70]
cmp byte [r12 + 0xe68], 0
je 0x180059821
mov r9, qword [rbp - 0x30]
movss xmm0, dword [r9 + 0xc4]
subss xmm0, dword [r12 + 0x3eb8]
maxss xmm0, xmm10
movss dword [r9 + 0xd4], xmm0
xor eax, eax
mov dword [r9 + 0xdc], eax
mov dword [r9 + 0xe4], eax
jmp 0x18005a0db
movzx eax, byte [rsp + 0x54]
lea r8d, [rax*4 + 0x200002]
or r8d, dword [rbp - 0x78]
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.180056220
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
jmp 0x18005a0db
xor edx, edx
mov ecx, 0x204
mov r8d, 1
call fcn.18001ea10
test al, al
je 0x1800598d8
test sil, sil
je 0x1800598d8
mov r12, qword [rsp + 0x70]
cmp byte [r12 + 0xe68], 0
je 0x1800598c6
mov rax, qword [0x18035fc30]
mov rcx, qword [rax + 0x4180]
movss xmm0, dword [r12 + 0x3eb8]
mov rax, qword [rbp - 0x30]
addss xmm0, dword [rax + 0xc4]
minss xmm0, dword [rcx + 0xcc]
movss dword [rax + 0xd4], xmm0
xor ecx, ecx
mov dword [rax + 0xdc], ecx
mov dword [rax + 0xe4], ecx
jmp 0x18005a0db
movzx eax, byte [rsp + 0x54]
lea r8d, [rax*4 + 0x200003]
jmp 0x18005982e
xor edx, edx
mov ecx, 0x205
mov r8d, 1
call fcn.18001ea10
test al, al
je 0x18005993c
test sil, sil
je 0x18005993c
mov r8d, dword [rbp - 0x78]
or r8d, 0x20000e
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.180056220
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
movd xmm0, dword [rbp - 0x70]
cvtdq2ps xmm0, xmm0
mov r12, qword [rsp + 0x70]
mulss xmm0, dword [r12 + 0x3eb8]
subss xmm8, xmm0
jmp 0x18005a0db
xor edx, edx
mov ecx, 0x206
mov r8d, 1
call fcn.18001ea10
test al, al
je 0x1800599a0
test sil, sil
je 0x1800599a0
mov r8d, dword [rbp - 0x78]
or r8d, 0x20000f
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.180056220
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
movd xmm0, dword [rbp - 0x70]
cvtdq2ps xmm0, xmm0
mov r12, qword [rsp + 0x70]
mulss xmm0, dword [r12 + 0x3eb8]
addss xmm8, xmm0
jmp 0x18005a0db
mov esi, 1
mov r8d, esi
xor edx, edx
mov ecx, 0x207
call fcn.18001ea10
test al, al
je 0x1800599fe
mov eax, dword [rbp - 0x78]
or eax, 0x200006
mov r8d, 0x200004
or r8d, dword [rbp - 0x78]
mov r12, qword [rsp + 0x70]
cmp byte [r12 + 0xe68], 0
cmovne r8d, eax
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.180056220
mov byte [rdi + 0xe84], sil
mov dword [rdi + 0xe80], 0xbe99999a
jmp 0x18005a0db
mov r8d, esi
xor edx, edx
mov ecx, 0x208
call fcn.18001ea10
test al, al
je 0x180059a27
mov r8d, dword [rbp - 0x78]
mov eax, r8d
or eax, 0x200007
mov ecx, 0x200005
or r8d, ecx
jmp 0x1800599ca
mov r8d, esi
xor edx, edx
mov ecx, 0x20a
call fcn.18001ea10
movzx esi, byte [rsp + 0x52]
test al, al
je 0x180059aaf
cmp byte [rsp + 0x5c], 0
jne 0x180059aaf
test sil, sil
jne 0x180059aaf
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x180059a7d
cmp byte [rsp + 0x51], sil
je 0x180059a7d
lea rdx, [rdi + 0x54]
mov r8d, 0x60000d
mov rcx, rdi
call fcn.180056220
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
mov r8d, dword [rbp - 0x78]
or r8d, 0x200008
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.180056220
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
mov r12, qword [rsp + 0x70]
jmp 0x18005a0db
xor edx, edx
mov ecx, 0x20b
mov r8d, 1
call fcn.18001ea10
mov r8d, dword [rsp + 0x5c]
test al, al
je 0x180059b7d
test r8b, r8b
jne 0x180059b7d
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x180059b09
cmp byte [rsp + 0x51], r8b
je 0x180059b1e
lea rdx, [rdi + 0x54]
mov r8d, 0x60000c
mov rcx, rdi
call fcn.180056220
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
mov r12, qword [rsp + 0x70]
mov r8d, dword [rbp - 0x78]
or r8d, 0x200009
jmp 0x180059832
cmp byte [rbp - 0x68], 0
je 0x180059b09
mov r12, qword [rsp + 0x70]
cmp byte [r12 + 0xe6b], 0
je 0x180059b0e
cmp byte [r12 + 0xe6a], 0
jne 0x180059b0e
cmp byte [r12 + 0xe68], 0
jne 0x180059b0e
lea rdx, [rdi + 0x54]
mov r8d, 0x600004
mov rcx, rdi
call fcn.180056220
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
mov r8d, dword [rbp - 0x78]
or r8d, 0x200009
jmp 0x180059832
test r15b, r15b
jne 0x18005a04d
test r14b, r14b
jne 0x18005a04d
test bl, bl
je 0x180059bee
mov rcx, qword [rsp + 0x68]
test dword [rbp - 0x80], 0x100000
je 0x180059bce
movzx eax, byte [rcx]
test al, al
jne 0x180059bbc
xor r12b, r12b
mov dword [rsp + 0x58], r12d
mov byte [rsp + 0x50], r12b
mov byte [rsp + 0x55], 1
test al, al
setne r14b
mov byte [rbp - 0x67], r14b
mov r12, qword [rsp + 0x70]
jmp 0x18005a0e3
mov r14b, 1
mov byte [rbp - 0x67], r14b
mov byte [rsp + 0x55], r14b
xor dl, dl
xor r8b, r8b
mov byte [rsp + 0x50], r8b
mov r12, qword [rsp + 0x70]
jmp 0x18005a0ed
movzx eax, byte [rbp - 0x58]
test al, al
jne 0x18005a00f
test r13b, r13b
jne 0x18005a00f
test r12b, r12b
je 0x180059c2b
xor eax, eax
mov dword [rdi + 0x58], eax
mov eax, dword [rdi + 0xc]
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x54], eax
mov byte [rdi + 0x6a], r13b
mov byte [rdi + 0xe84], 1
mov r12, qword [rsp + 0x70]
jmp 0x18005a0db
test sil, sil
jne 0x180059e18
cmp byte [rbp - 0x57], sil
jne 0x180059e18
cmp byte [rsp + 0x60], sil
je 0x18005976a
mov rcx, qword [0x18035fc30]
mov rax, qword [rcx + 0xb0]
test rax, rax
je 0x180059c73
mov rcx, qword [rcx + 0xc0]
call rax
mov rbx, rax
test rax, rax
je 0x18005976a
jmp 0x180059c7a
lea rbx, [0x1802f9dbd]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], 0
jne 0x180059c81
movsxd rcx, eax
lea rcx, [rcx*2 + 2]
call fcn.180012930
mov r15, rax
mov qword [rbp - 0x48], rax
xor r13d, r13d
mov r14d, r13d
mov r12, qword [rsp + 0x70]
cmp byte [rbx], r13b
je 0x180059d07
mov rsi, rax
mov r15d, dword [rbp - 0x80]
nop dword [rax + rax]
xor r8d, r8d
mov rdx, rbx
lea rcx, [rbp - 0x70]
call fcn.18000db40
movsxd rcx, eax
add rbx, rcx
mov dword [rsp + 0x28], 4
mov r8d, r15d
lea rdx, [rbp - 0x70]
mov rcx, r12
call fcn.180057780
test al, al
je 0x180059cfe
movzx eax, word [rbp - 0x70]
mov word [rsi], ax
inc r14d
add rsi, 2
cmp byte [rbx], r13b
jne 0x180059cc0
mov r15, qword [rbp - 0x48]
movsxd rax, r14d
mov word [r15 + rax*2], r13w
test r14d, r14d
jle 0x180059d9a
mov eax, dword [rdi + 0xc]
mov edx, dword [rdi + 0x5c]
mov ecx, dword [rdi + 0x58]
cmp ecx, edx
je 0x180059d3e
cmp ecx, eax
jle 0x180059d2e
mov dword [rdi + 0x58], eax
mov ecx, eax
cmp edx, eax
jle 0x180059d37
mov dword [rdi + 0x5c], eax
mov edx, eax
cmp ecx, edx
jne 0x180059d3e
mov dword [rdi + 0x54], ecx
cmp dword [rdi + 0x54], eax
jle 0x180059d46
mov dword [rdi + 0x54], eax
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.180056180
mov r9d, r14d
mov r8, r15
mov edx, dword [rdi + 0x54]
mov rcx, rdi
call fcn.180055be0
test al, al
je 0x180059d93
mov esi, dword [rdi + 0x54]
lea rcx, [rdi + 0x74]
xor edx, edx
call fcn.180057270
test rax, rax
je 0x180059d8b
mov dword [rax], esi
mov dword [rax + 4], r13d
mov dword [rax + 8], r14d
mov dword [rax + 0xc], 0xffffffff
add dword [rdi + 0x54], r14d
mov byte [rdi + 0x6a], r13b
mov byte [rdi + 0xe84], 1
test r15, r15
je 0x180059e0b
mov r8, qword [0x18035fc30]
test r8, r8
je 0x180059e0b
mov r9d, dword [r8 + 0x40d8]
movsx rdx, word [r8 + 0x6378]
lea rcx, [r8 + 0x637c]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x180059e00
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6378], cx
movsx rax, cx
lea rcx, [r8 + 0x637c]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r13d
inc word [rcx + 6]
inc dword [r8 + 0x6374]
mov rcx, r15
call fcn.1800acad0
jmp 0x18005a0db
mov r12, qword [rsp + 0x70]
cmp qword [r12 + 0xb8], 0
je 0x180059fc2
mov esi, dword [rdi + 0x5c]
mov eax, dword [rdi + 0x58]
cmp eax, esi
je 0x180059e45
mov r14d, esi
cmovl r14d, eax
cmovge esi, eax
xor r13d, r13d
jmp 0x180059e4e
xor r13d, r13d
mov r14d, r13d
mov esi, dword [rdi + 0xc]
mov rcx, qword [rdi + 0x20]
movsxd rax, esi
lea r8, [rcx + rax*2]
movsxd rax, r14d
lea rdx, [rcx + rax*2]
mov ecx, r13d
mov r9d, 0x800
mov r10d, 0x80
nop
test r8, r8
je 0x180059e7a
cmp rdx, r8
jae 0x180059e9d
movzx eax, word [rdx]
test ax, ax
je 0x180059e9d
add rdx, 2
cmp ax, r10w
jae 0x180059e90
inc ecx
jmp 0x180059e70
cmp ax, r9w
sbb eax, eax
add eax, 3
add ecx, eax
jmp 0x180059e70
lea eax, [rcx + 1]
movsxd rbx, eax
mov rcx, rbx
call fcn.180012930
mov r15, rax
mov rdx, qword [rdi + 0x20]
movsxd rcx, esi
lea r11, [rdx + rcx*2]
movsxd rcx, r14d
lea r10, [rdx + rcx*2]
mov r9, rax
lea rsi, [rax + rbx]
lea rbx, [rsi - 1]
cmp rax, rbx
jae 0x180059f1c
mov r12d, 0x80
test r11, r11
je 0x180059ee0
cmp r10, r11
jae 0x180059f17
movzx eax, word [r10]
test ax, ax
je 0x180059f17
mov r8d, eax
add r10, 2
cmp eax, r12d
jae 0x180059efd
mov byte [r9], r8b
inc r9
jmp 0x180059f12
mov edx, esi
sub edx, r9d
dec edx
mov rcx, r9
call fcn.18000dcf0
movsxd rcx, eax
add r9, rcx
cmp r9, rbx
jb 0x180059ed6
mov r12, qword [rsp + 0x70]
mov byte [r9], 0
mov r8, qword [0x18035fc30]
mov rax, qword [r8 + 0xb8]
test rax, rax
je 0x180059f46
mov rdx, r15
mov rcx, qword [r8 + 0xc0]
call rax
mov r8, qword [0x18035fc30]
test r15, r15
je 0x180059fb3
test r8, r8
je 0x180059fb3
mov r9d, dword [r8 + 0x40d8]
movsx rdx, word [r8 + 0x6378]
lea rcx, [rdx*8 + 0x637c]
add rcx, r8
cmp dword [rcx], r9d
je 0x180059fa8
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6378], cx
movsx rax, cx
lea rcx, [rax*8 + 0x637c]
add rcx, r8
mov dword [rcx], r9d
mov dword [rcx + 4], 0
inc word [rcx + 6]
inc dword [r8 + 0x6374]
mov rcx, r15
call fcn.1800acad0
movzx esi, byte [rsp + 0x52]
jmp 0x180059fc5
xor r13d, r13d
test sil, sil
je 0x18005a0db
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x180059fe7
mov dword [rdi + 0x58], r13d
mov eax, dword [rdi + 0xc]
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x54], eax
mov byte [rdi + 0x6a], 0
mov byte [rdi + 0xe84], 1
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
je 0x18005a0db
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.180056180
mov byte [rdi + 0x6a], 0
jmp 0x18005a0db
mov r8d, eax
xor r8d, 1
add r8d, 0x20000a
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.180056220
mov byte [rdi + 0xe84], 1
mov eax, dword [rdi + 0x54]
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x58], eax
mov dword [rdi + 0xe80], 0xbe99999a
mov r12, qword [rsp + 0x70]
jmp 0x18005a0db
mov edx, dword [rbp - 0x80]
mov eax, edx
shr eax, 0xb
and al, 1
mov ecx, dword [rsp + 0x7c]
mov r12, qword [rsp + 0x70]
test cl, cl
je 0x18005a077
test r14b, r14b
jne 0x18005a077
test al, al
je 0x18005a09b
cmp byte [r12 + 0xe68], r14b
jne 0x18005a0a6
mov byte [rsp + 0x56], 1
cmp byte [r12 + 0x64], 0
je 0x18005a0d6
test cl, cl
jne 0x18005a0d6
xor eax, eax
mov dword [rdi + 0x58], eax
mov eax, dword [rdi + 0xc]
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x54], eax
mov byte [rdi + 0x6a], cl
jmp 0x18005a0db
cmp byte [r12 + 0xe68], 0
jne 0x18005a077
test r8b, r8b
jne 0x18005a0db
mov dword [rbp - 0x70], 0xa
mov dword [rsp + 0x28], 2
mov r8d, edx
lea rdx, [rbp - 0x70]
mov rcx, r12
call fcn.180057780
test al, al
je 0x18005a0db
mov r8d, dword [rbp - 0x70]
jmp 0x180059832
mov byte [rsp + 0x55], 1
mov rcx, qword [rsp + 0x68]
xor r14b, r14b
mov edx, dword [rsp + 0x58]
movzx r8d, byte [rsp + 0x50]
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
je 0x18005a108
test r8b, r8b
je 0x18005a108
mov al, 1
or dl, al
mov dword [rsp + 0x58], edx
mov r13d, dword [rbp - 0x7c]
jmp 0x18005a11b
xor al, al
or dl, al
mov dword [rsp + 0x58], edx
mov r13d, dword [rbp - 0x7c]
jmp 0x18005a11b
mov rcx, qword [rsp + 0x68]
xor r10d, r10d
mov qword [rbp - 0x48], r10
mov dword [rbp - 0x78], r10d
cmp dword [r12 + 0x41e4], r13d
jne 0x18005a8f5
mov r15d, dword [rsp + 0x5c]
test r15b, r15b
jne 0x18005a435
test r14b, r14b
je 0x18005a398
test dword [rbp - 0x80], 0x100000
je 0x18005a1c1
lea rax, [0x1802f9dbd]
mov qword [rbp - 0x48], rax
mov dword [rbp - 0x78], r10d
mov byte [rsp + 0x53], 1
movsxd rbx, dword [rdi + 0xc]
lea rcx, [rdi + 0x74]
xor r9d, r9d
mov r8d, ebx
xor edx, edx
call fcn.1800573c0
mov r9, rax
test rax, rax
je 0x18005a1a5
test ebx, ebx
jle 0x18005a1a5
xor eax, eax
mov edx, eax
nop dword [rax]
mov rax, qword [rdi + 0x20]
movzx ecx, word [rax + rdx*2]
mov word [r9 + rdx*2], cx
inc rdx
cmp rdx, rbx
jl 0x18005a190
mov r8d, dword [rdi + 0xc]
xor edx, edx
mov rcx, rdi
call fcn.180055b10
xor eax, eax
mov qword [rdi + 0x58], rax
mov dword [rdi + 0x54], eax
jmp 0x18005a398
mov r9, qword [rdi + 0x40]
mov rax, rcx
mov r8, r9
sub r8, rcx
nop
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x18005a1e3
inc rax
test ecx, ecx
jne 0x18005a1d0
test edx, edx
je 0x18005a398
mov r12, r9
mov qword [rbp - 0x48], r9
mov eax, dword [rdi + 0x38]
dec eax
mov dword [rbp - 0x78], eax
mov byte [rsp + 0x53], 1
mov qword [rbp + 0x98], r10
mov r15d, r10d
mov r13, r10
mov qword [rbp + 0xa0], r10
test eax, eax
jle 0x18005a2f4
movsxd rsi, eax
add rsi, r9
mov rbx, r9
mov r14d, r10d
test rsi, rsi
je 0x18005a231
cmp rbx, rsi
jae 0x18005a250
cmp byte [rbx], 0
je 0x18005a250
mov r8, rsi
mov rdx, rbx
lea rcx, [rbp - 0x70]
call fcn.18000db40
movsxd rcx, eax
add rbx, rcx
inc r14d
jmp 0x18005a227
lea r15d, [r14 + 1]
test r15d, r15d
jle 0x18005a287
mov ebx, r15d
cmp r15d, 8
mov eax, 8
cmovl ebx, eax
test ebx, ebx
jle 0x18005a287
movsxd rcx, ebx
add rcx, rcx
call fcn.180012930
mov r13, rax
mov qword [rbp + 0xa0], rax
mov dword [rbp + 0x9c], ebx
mov dword [rbp + 0x98], r15d
movsxd rax, dword [rbp - 0x78]
lea rsi, [r12 + rax]
mov rbx, r12
mov r14, r13
movsxd r12, r15d
lea r12, [r12*2 - 2]
add r12, r13
cmp r13, r12
jae 0x18005a2e8
nop
test rsi, rsi
je 0x18005a2ba
cmp rbx, rsi
jae 0x18005a2e5
cmp byte [rbx], 0
je 0x18005a2e5
mov r8, rsi
mov rdx, rbx
lea rcx, [rbp - 0x70]
call fcn.18000db40
movsxd rcx, eax
add rbx, rcx
movzx eax, word [rbp - 0x70]
mov word [r14], ax
add r14, 2
cmp r14, r12
jb 0x18005a2b0
mov eax, dword [rbp - 0x78]
xor r10d, r10d
mov word [r14], r10w
movzx r14d, byte [rbp - 0x67]
lea r9d, [r15 - 1]
test eax, eax
cmovle r9d, r10d
lea rdx, [rdi + 0x54]
mov r8, r13
mov rcx, rdi
call fcn.1800576c0
nop
test r13, r13
je 0x18005a38a
mov r8, qword [0x18035fc30]
test r8, r8
je 0x18005a381
mov r9d, dword [r8 + 0x40d8]
movsx r10, word [r8 + 0x6378]
lea rdx, [r8 + 0x637c]
lea rdx, [rdx + r10*8]
cmp dword [rdx], r9d
je 0x18005a376
lea ecx, [r10 + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6378], cx
movsx rax, cx
lea rdx, [r8 + 0x637c]
lea rdx, [rdx + rax*8]
mov dword [rdx], r9d
xor eax, eax
mov dword [rdx + 4], eax
inc word [rdx + 6]
inc dword [r8 + 0x6374]
mov rcx, r13
call fcn.1800acad0
nop
mov r12, qword [rsp + 0x70]
mov r13d, dword [rbp - 0x7c]
mov r15d, dword [rsp + 0x5c]
mov byte [rdi + 0x48], 1
mov eax, dword [rdi + 0x18]
lea ebx, [rax*4 + 1]
mov ecx, dword [rdi + 0x2c]
cmp ebx, ecx
jle 0x18005a3d1
test ecx, ecx
je 0x18005a3bc
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18005a3c1
mov eax, 8
mov edx, ebx
cmp eax, ebx
cmovg edx, eax
lea rcx, [rdi + 0x28]
call fcn.180036290
mov dword [rdi + 0x28], ebx
mov r10, qword [rdi + 0x20]
mov r9, qword [rdi + 0x30]
movsxd r11, ebx
add r11, r9
lea rbx, [r11 - 1]
cmp r9, rbx
jae 0x18005a42e
mov r15d, 0x80
movzx eax, word [r10]
test ax, ax
je 0x18005a429
mov r8d, eax
add r10, 2
cmp eax, r15d
jae 0x18005a40e
mov byte [r9], r8b
inc r9
jmp 0x18005a424
mov edx, r11d
sub edx, r9d
dec edx
mov rcx, r9
call fcn.18000dcf0
movsxd rcx, eax
add r9, rcx
cmp r9, rbx
jb 0x18005a3f1
mov r15d, dword [rsp + 0x5c]
mov byte [r9], 0
xor r10d, r10d
test r14b, r14b
je 0x18005a4a5
cmp byte [rsp + 0x56], 0
je 0x18005a44b
mov r14d, dword [rbp - 0x80]
test r14b, 0x20
jne 0x18005a4a9
mov r12d, dword [rbp - 0x6c]
mov r15, qword [rsp + 0x68]
mov r8d, dword [rsp + 0x5c]
mov r11, qword [rbp - 0x48]
mov r10d, dword [rbp - 0x78]
mov r13, qword [rsp + 0x70]
mov r14d, dword [rbp - 0x7c]
cmp dword [r13 + 0x5fb8], r14d
jne 0x18005a998
cmp dword [r13 + 0x41e4], r14d
je 0x18005a98d
mov rax, qword [0x18035fc30]
mov ecx, dword [rax + 0x4b38]
test cl, 0x20
je 0x18005a90b
shr ecx, 6
test cl, 1
jmp 0x18005a925
mov r14d, dword [rbp - 0x80]
test r14d, 0x801c0
je 0x18005a89a
mov esi, r10d
test r14b, 0x40
je 0x18005a526
mov ebx, r13d
lea eax, [r13 + 1]
test eax, 0xfffffffe
jne 0x18005a4e8
mov rbx, qword [0x18035fc30]
lea eax, [r13 - 1]
cmp eax, 0xfffffffd
ja 0x18005a4e2
mov ebx, r13d
jmp 0x18005a4e8
mov ebx, dword [rbx + 0x4b00]
mov r8d, 0x1000
mov edx, ebx
mov ecx, 0x200
call fcn.18001e6c0
test al, al
je 0x18005a526
mov r8d, 0x1000
mov edx, ebx
mov ecx, 0x200
call fcn.180020b70
test al, al
je 0x18005a526
mov eax, 0x40
mov esi, 0x200
xor r10d, r10d
jmp 0x18005a5a8
test r14b, r14b
jns 0x18005a57c
mov ebx, 1
mov r8d, ebx
xor edx, edx
mov ecx, 0x203
call fcn.18001ea10
test al, al
je 0x18005a556
mov r11d, 0x80
mov eax, r11d
mov esi, 0x203
xor r10d, r10d
jmp 0x18005a5ae
mov r8d, ebx
xor edx, edx
mov ecx, 0x204
call fcn.18001ea10
test al, al
je 0x18005a57c
mov r11d, 0x80
mov eax, r11d
mov esi, 0x204
xor r10d, r10d
jmp 0x18005a5ae
mov eax, 0x80000
test eax, r14d
je 0x18005a594
cmp byte [rdi + 0xe86], 0
je 0x18005a594
xor r10d, r10d
jmp 0x18005a5a8
mov ecx, 0x100
test ecx, r14d
mov r10d, 0
mov eax, r10d
cmovne eax, ecx
mov r11d, 0x80
test eax, eax
je 0x18005a89a
mov dword [rbp + 0x28], r10d
mov qword [rbp + 0x41], r10
mov dword [rbp + 0x49], r10d
mov word [rbp + 0x4d], r10w
mov byte [rbp + 0x4f], 0
mov qword [rbp + 0x10], r12
mov dword [rbp + 0x18], eax
mov dword [rbp + 0x1c], r14d
mov qword [rbp + 0x20], r10
test r15b, r15b
mov rax, qword [rsp + 0x68]
jne 0x18005a5e8
mov rax, qword [rdi + 0x30]
mov dword [rbp + 0x2c], esi
mov qword [rbp + 0x30], rax
mov eax, dword [rdi + 0x10]
mov dword [rbp + 0x38], eax
mov eax, dword [rdi + 0x4c]
mov dword [rbp + 0x3c], eax
mov byte [rbp + 0x40], 0
mov rdx, qword [rdi + 0x20]
movsxd rax, dword [rdi + 0x54]
lea r8, [rdx + rax*2]
mov rcx, rdx
mov ebx, r10d
mov r9d, 0x800
test r8, r8
je 0x18005a621
cmp rcx, r8
jae 0x18005a644
movzx eax, word [rcx]
test ax, ax
je 0x18005a644
add rcx, 2
cmp ax, r11w
jae 0x18005a637
inc ebx
jmp 0x18005a617
cmp ax, r9w
sbb eax, eax
add eax, 3
add ebx, eax
jmp 0x18005a617
mov dword [rbp + 0x44], ebx
movsxd rax, dword [rdi + 0x58]
lea r8, [rdx + rax*2]
mov rcx, rdx
mov r12d, r10d
test r8, r8
je 0x18005a65f
cmp rcx, r8
jae 0x18005a684
movzx eax, word [rcx]
test ax, ax
je 0x18005a684
add rcx, 2
cmp ax, r11w
jae 0x18005a676
inc r12d
jmp 0x18005a655
cmp ax, r9w
sbb eax, eax
add eax, 3
add r12d, eax
jmp 0x18005a655
mov dword [rbp + 0x48], r12d
movsxd rax, dword [rdi + 0x5c]
lea rcx, [rdx + rax*2]
mov r15d, r10d
test rcx, rcx
je 0x18005a69d
cmp rdx, rcx
jae 0x18005a6c2
movzx eax, word [rdx]
test ax, ax
je 0x18005a6c2
add rdx, 2
cmp ax, r11w
jae 0x18005a6b4
inc r15d
jmp 0x18005a693
cmp ax, r9w
sbb eax, eax
add eax, 3
add r15d, eax
jmp 0x18005a693
mov dword [rbp + 0x4c], r15d
lea rcx, [rbp + 0x10]
call r10
movzx r13d, byte [rbp + 0x40]
movsxd rcx, dword [rbp + 0x44]
cmp ecx, ebx
jne 0x18005a6df
test r13b, r13b
je 0x18005a727
mov rbx, qword [rbp + 0x30]
lea rsi, [rbx + rcx]
xor edx, edx
mov r14d, edx
nop dword [rax]
test rsi, rsi
je 0x18005a6fa
cmp rbx, rsi
jae 0x18005a719
cmp byte [rbx], 0
je 0x18005a719
mov r8, rsi
mov rdx, rbx
lea rcx, [rbp - 0x70]
call fcn.18000db40
movsxd rcx, eax
add rbx, rcx
inc r14d
jmp 0x18005a6f0
mov dword [rdi + 0x54], r14d
mov byte [rdi + 0xe84], 1
mov ecx, dword [rbp + 0x44]
movsxd rax, dword [rbp + 0x48]
cmp eax, r12d
jne 0x18005a735
test r13b, r13b
je 0x18005a780
cmp eax, ecx
jne 0x18005a73f
mov r14d, dword [rdi + 0x54]
jmp 0x18005a77c
mov rbx, qword [rbp + 0x30]
lea rsi, [rbx + rax]
xor eax, eax
mov r14d, eax
nop dword [rax]
test rsi, rsi
je 0x18005a75a
cmp rbx, rsi
jae 0x18005a779
cmp byte [rbx], 0
je 0x18005a779
mov r8, rsi
mov rdx, rbx
lea rcx, [rbp - 0x70]
call fcn.18000db40
movsxd rcx, eax
add rbx, rcx
inc r14d
jmp 0x18005a750
mov eax, dword [rbp + 0x48]
mov dword [rdi + 0x58], r14d
movsxd rcx, dword [rbp + 0x4c]
cmp ecx, r15d
jne 0x18005a792
test r13b, r13b
je 0x18005a89a
cmp ecx, eax
jne 0x18005a7e5
mov r14d, dword [rdi + 0x58]
mov dword [rdi + 0x5c], r14d
test r13b, r13b
je 0x18005a89a
mov r8d, dword [rbp + 0x38]
mov rdx, qword [rbp + 0x30]
mov rcx, rdi
call fcn.1800579c0
mov ebx, dword [rbp + 0x38]
mov eax, dword [rbp - 0x54]
mov r12d, dword [rbp - 0x6c]
cmp ebx, eax
jle 0x18005a833
test r12b, r12b
je 0x18005a833
sub ebx, eax
add ebx, dword [rdi + 0x18]
mov ecx, dword [rdi + 0x1c]
cmp ebx, ecx
jle 0x18005a830
test ecx, ecx
je 0x18005a81b
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18005a820
mov rbx, qword [rbp + 0x30]
lea rsi, [rbx + rcx]
xor eax, eax
mov r14d, eax
test rsi, rsi
je 0x18005a7fc
cmp rbx, rsi
jae 0x18005a79a
cmp byte [rbx], 0
je 0x18005a79a
mov r8, rsi
mov rdx, rbx
lea rcx, [rbp - 0x70]
call fcn.18000db40
movsxd rcx, eax
add rbx, rcx
inc r14d
jmp 0x18005a7f2
mov eax, 8
mov edx, ebx
cmp eax, ebx
cmovg edx, eax
lea rcx, [rdi + 0x18]
call fcn.180036370
mov dword [rdi + 0x18], ebx
mov rsi, qword [rbp + 0x30]
mov r15, qword [rdi + 0x20]
mov rbx, r15
movsxd r14, dword [rdi + 0x18]
dec r14
lea r14, [r15 + r14*2]
cmp r15, r14
jae 0x18005a87a
nop
cmp byte [rsi], 0
je 0x18005a87a
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp - 0x54]
call fcn.18000db40
movsxd rcx, eax
add rsi, rcx
movzx eax, word [rbp - 0x54]
mov word [rbx], ax
add rbx, 2
cmp rbx, r14
jb 0x18005a850
xor eax, eax
mov word [rbx], ax
sub rbx, r15
sar rbx, 1
mov dword [rdi + 0xc], ebx
mov eax, dword [rbp + 0x38]
mov dword [rdi + 0x10], eax
mov dword [rdi + 0xe80], 0xbe99999a
jmp 0x18005a89e
mov r12d, dword [rbp - 0x6c]
mov r8d, dword [rsp + 0x5c]
mov r15, qword [rsp + 0x68]
test r8b, r8b
jne 0x18005a459
mov r9, qword [rdi + 0x30]
mov rax, r9
mov r8, r15
sub r8, r9
nop
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x18005a8d3
inc rax
test ecx, ecx
jne 0x18005a8c0
mov r8d, dword [rsp + 0x5c]
test edx, edx
je 0x18005a459
mov r11, r9
mov qword [rbp - 0x48], r9
mov r10d, dword [rdi + 0x10]
mov byte [rsp + 0x53], 1
jmp 0x18005a461
mov r11, r10
mov r12d, dword [rbp - 0x6c]
mov r15, qword [rsp + 0x68]
mov r8d, dword [rsp + 0x5c]
jmp 0x18005a461
mov edx, dword [rax + 0x4b30]
mov ecx, dword [rax + 0x4214]
cmp ecx, edx
jne 0x18005a98d
test ecx, ecx
je 0x18005a98d
cmp dword [rax + 0x41e4], edx
je 0x18005a98d
cmp byte [rax + 0x4219], 0
jne 0x18005a942
cmp dword [rax + 0x41e4], 0
jne 0x18005a98d
cmp byte [rax + 0x41f4], 0
je 0x18005a98d
test r8b, r8b
jne 0x18005a98d
mov r9, qword [r13 + 0x5fc8]
mov rax, r9
mov r8, r15
sub r8, r9
nop word [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x18005a973
inc rax
test ecx, ecx
jne 0x18005a960
test edx, edx
je 0x18005a98d
mov r11, r9
mov qword [rbp - 0x48], r9
mov r10d, dword [r13 + 0x5fc0]
dec r10d
mov byte [rsp + 0x53], 1
xor esi, esi
mov dword [r13 + 0x5fb8], esi
jmp 0x18005a99a
xor esi, esi
test r11, r11
je 0x18005aa33
test r12b, r12b
je 0x18005aa07
mov qword [rbp + 0x68], rsi
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x80], xmm0
mov qword [rbp + 0x50], r13
mov dword [rbp + 0x58], 0x40000
mov eax, dword [rbp - 0x80]
mov dword [rbp + 0x5c], eax
mov qword [rbp + 0x70], r15
mov dword [rbp + 0x78], r10d
lea eax, [r10 + 1]
cmp dword [rbp - 0x38], eax
cmovge eax, dword [rbp - 0x38]
mov dword [rbp + 0x7c], eax
mov qword [rbp + 0x60], rsi
lea rcx, [rbp + 0x50]
call rsi
mov r15, qword [rbp + 0x70]
mov qword [rsp + 0x68], r15
mov ecx, dword [rbp + 0x7c]
lea r10d, [rcx - 1]
cmp dword [rbp + 0x78], r10d
cmovl r10d, dword [rbp + 0x78]
mov r11, qword [rbp - 0x48]
jmp 0x18005aa0a
mov ecx, dword [rbp - 0x38]
lea eax, [r10 + 1]
cmp eax, ecx
cmovl ecx, eax
movsxd rbx, ecx
cmp rbx, 1
jb 0x18005aa33
jbe 0x18005aa2d
lea r8, [rbx - 1]
mov rdx, r11
mov rcx, r15
call fcn.1800ae6b0
mov byte [r15 + rbx - 1], 0
cmp dword [r13 + 0x41e4], r14d
jne 0x18005aa59
cmp byte [rsp + 0x55], 0
je 0x18005aa4e
xor edx, edx
xor ecx, ecx
call fcn.1800122d0
jmp 0x18005aa59
mov dword [r13 + 0x64bc], 1
mov r11d, dword [rsp + 0x7c]
test r11b, r11b
jne 0x18005ab2b
xor r8d, r8d
mov edx, r14d
lea rcx, [rbp]
call fcn.18000fcf0
mov rax, qword [0x18035fc30]
movups xmm0, xmmword [rax + 0x3b50]
movups xmmword [rbp + 0x98], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x39f8]
movss dword [rbp + 0xa4], xmm0
lea rcx, [rbp + 0x98]
call fcn.18000ddb0
mov r8d, eax
movss xmm0, dword [r13 + 0x3a3c]
movss dword [rsp + 0x20], xmm0
mov r9b, 1
mov rdx, qword [rbp + 8]
movaps xmm0, xmm11
unpcklps xmm0, xmm15
movq rcx, xmm0
call fcn.18000fa00
movaps xmm14, xmm11
addss xmm14, xmm9
movss dword [rbp + 0xa0], xmm14
movaps xmm13, xmm15
addss xmm13, xmm7
movss dword [rbp + 0xa4], xmm13
movaps xmm12, xmm11
addss xmm12, dword [r13 + 0x3a34]
movaps xmm0, xmm15
addss xmm0, dword [r13 + 0x3a38]
movss dword [rbp - 0x48], xmm14
movss dword [rbp - 0x70], xmm13
mov r11d, dword [rsp + 0x7c]
mov r8, qword [rbp - 0x30]
jmp 0x18005ab74
movaps xmm2, xmm11
addss xmm2, xmm9
movss dword [rbp - 0x48], xmm2
movaps xmm14, xmm2
movss dword [rbp + 0xa0], xmm2
movaps xmm1, xmm15
addss xmm1, xmm7
movss dword [rbp - 0x70], xmm1
movaps xmm13, xmm1
movss dword [rbp + 0xa4], xmm1
mov r8, qword [rbp - 0x30]
movss xmm12, dword [r8 + 0x140]
movss xmm0, dword [r8 + 0x144]
movss dword [rbp + 0x9c], xmm15
movss dword [rbp + 0x98], xmm11
movss dword [rbp + 0x90], xmm12
movss dword [rbp + 0x94], xmm0
xorps xmm5, xmm5
movss dword [rbp - 0x6c], xmm5
xorps xmm15, xmm15
movss dword [rbp - 0x54], xmm15
cmp byte [rsp + 0x78], 0
je 0x18005abb9
mov r15, qword [rdi + 0x30]
mov qword [rsp + 0x68], r15
movzx eax, byte [rsp + 0x50]
mov r12d, dword [rsp + 0x58]
test al, al
jne 0x18005ada0
test r12b, r12b
jne 0x18005ada0
test r11b, r11b
je 0x18005ac2d
mov ecx, esi
movzx edx, byte [r15]
lea rsi, [r15 + 1]
test dl, dl
je 0x18005ac05
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 0x18005abf0
dec rsi
movzx eax, byte [rsi]
cmp al, 0xa
je 0x18005ac15
cmp al, 0xd
je 0x18005ac15
inc ecx
movd xmm15, ecx
cvtdq2ps xmm15, xmm15
mulss xmm15, dword [r13 + 0x3eb8]
movaps xmm6, xmm9
jmp 0x18005ac67
cmp dword [r13 + 0x41e4], r14d
jne 0x18005ac3c
movsxd rsi, dword [rdi + 0x10]
jmp 0x18005ac4d
mov rsi, 0xffffffffffffffff
inc rsi
cmp byte [r15 + rsi], 0
jne 0x18005ac43
add rsi, r15
mov rax, rsi
sub rax, r15
movss xmm6, dword [rbp - 0x6c]
cmp rax, 0x200000
jge 0x18005b6b2
mov rax, qword [0x18035fc30]
movups xmm0, xmmword [rax + 0x3ae0]
movups xmmword [rbp], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x39f8]
movss dword [rbp + 0xc], xmm0
lea rcx, [rbp]
call fcn.18000ddb0
mov r9d, eax
mov r8, qword [r8 + 0x2e0]
lea rdx, [rbp + 0x98]
test r11b, r11b
mov r12d, 0
cmovne rdx, r12
mov rcx, rsi
movss xmm2, dword [r13 + 0x3eb8]
mov r10, qword [r13 + 0x3eb0]
test eax, 0xff000000
je 0x18005b6c0
test rsi, rsi
jne 0x18005acec
mov rcx, 0xffffffffffffffff
nop dword [rax + rax]
inc rcx
cmp byte [r15 + rcx], r12b
jne 0x18005ace0
add rcx, r15
cmp r15, rcx
je 0x18005b6c0
test r10, r10
jne 0x18005ad02
mov rax, qword [r8 + 0x38]
mov r10, qword [rax + 8]
xorps xmm10, xmm10
ucomiss xmm2, xmm10
jp 0x18005ad17
jne 0x18005ad17
mov rax, qword [r8 + 0x38]
movss xmm2, dword [rax + 0x10]
movups xmm0, xmmword [r8 + 0x88]
movups xmmword [rbp], xmm0
test rdx, rdx
je 0x18005ad63
movss xmm0, dword [rbp]
maxss xmm0, dword [rdx]
movss dword [rbp], xmm0
movss xmm1, dword [rbp + 4]
maxss xmm1, dword [rdx + 4]
movss dword [rbp + 4], xmm1
movss xmm0, dword [rbp + 8]
minss xmm0, dword [rdx + 8]
movss dword [rbp + 8], xmm0
movss xmm1, dword [rbp + 0xc]
minss xmm1, dword [rdx + 0xc]
movss dword [rbp + 0xc], xmm1
setne al
mov byte [rsp + 0x48], al
movss dword [rsp + 0x40], xmm10
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], r15
lea rax, [rbp]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r9d
lea r9, [rbp + 0x90]
mov rdx, r8
mov rcx, r10
call fcn.180046840
jmp 0x18005b6c4
movsxd rsi, dword [rdi + 0x10]
add rsi, r15
mov qword [rbp - 0x78], rsi
mov r15, qword [rdi + 0x20]
xorps xmm6, xmm6
xorps xmm7, xmm7
xor r10d, r10d
mov r9d, r10d
mov ebx, r10d
mov r8d, 0xfffffc18
mov r14d, r8d
mov edx, r10d
test al, al
je 0x18005ade1
movsxd rax, dword [rdi + 0x54]
lea r9, [r15 + rax*2]
mov edx, 1
mov r8d, 0xffffffff
test r12b, r12b
je 0x18005adff
mov ecx, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], ecx
cmovl ecx, dword [rdi + 0x58]
movsxd rax, ecx
lea rbx, [r15 + rax*2]
mov r14d, 0xffffffff
inc edx
movzx eax, r11b
add edx, eax
mov rax, r15
movzx ecx, word [r15]
test cx, cx
je 0x18005ae4e
cmp cx, 0xa
jne 0x18005ae42
inc r10d
cmp r8d, 0xffffffff
jne 0x18005ae2e
cmp rax, r9
jb 0x18005ae2e
mov r8d, r10d
dec edx
test edx, edx
jle 0x18005ae4e
cmp r14d, 0xffffffff
jne 0x18005ae42
cmp rax, rbx
jb 0x18005ae42
mov r14d, r10d
dec edx
test edx, edx
jle 0x18005ae4e
add rax, 2
movzx ecx, word [rax]
test cx, cx
jne 0x18005ae11
inc r10d
mov r11d, r10d
cmp r8d, 0xffffffff
cmovne r11d, r8d
cmp r14d, 0xffffffff
cmove r14d, r10d
mov rdx, r9
cmp r9, r15
jbe 0x18005ae82
nop dword [rax]
lea rax, [rdx - 2]
cmp word [rax], 0xa
je 0x18005ae82
mov rdx, rax
cmp rax, r15
ja 0x18005ae70
mov r8, qword [r13 + 0x3eb0]
movss xmm2, dword [r13 + 0x3eb8]
divss xmm2, dword [r8 + 0x14]
movaps xmm10, xmm5
movss dword [rbp - 0x40], xmm5
movaps xmm1, xmm5
cmp rdx, r9
jae 0x18005af03
nop dword [rax]
movzx ecx, word [rdx]
add rdx, 2
cmp ecx, 0xa
jne 0x18005aec6
maxss xmm10, xmm1
movaps xmm1, xmm5
jmp 0x18005aee9
cmp ecx, 0xd
je 0x18005aee9
cmp ecx, dword [r8]
jge 0x18005aedb
mov rax, qword [r8 + 8]
movss xmm0, dword [rax + rcx*4]
jmp 0x18005aee1
movss xmm0, dword [r8 + 0x10]
mulss xmm0, xmm2
addss xmm1, xmm0
cmp rdx, r9
jb 0x18005aeb0
movss dword [rbp - 0x40], xmm10
comiss xmm1, xmm10
jbe 0x18005af03
movaps xmm10, xmm1
movss dword [rbp - 0x40], xmm1
movss xmm0, dword [r13 + 0x3eb8]
movd xmm11, r11d
cvtdq2ps xmm11, xmm11
mulss xmm11, xmm0
movss dword [rbp - 0x38], xmm11
test r14d, r14d
js 0x18005afba
mov rdx, rbx
cmp rbx, r15
jbe 0x18005af43
lea rax, [rdx - 2]
cmp word [rax], 0xa
je 0x18005af43
mov rdx, rax
cmp rax, r15
ja 0x18005af31
movaps xmm2, xmm0
divss xmm2, dword [r8 + 0x14]
movaps xmm6, xmm5
movaps xmm1, xmm5
cmp rdx, rbx
jae 0x18005afa5
nop word [rax + rax]
movzx ecx, word [rdx]
add rdx, 2
cmp ecx, 0xa
jne 0x18005af75
maxss xmm6, xmm1
movaps xmm1, xmm5
jmp 0x18005af98
cmp ecx, 0xd
je 0x18005af98
cmp ecx, dword [r8]
jge 0x18005af8a
mov rax, qword [r8 + 8]
movss xmm0, dword [rax + rcx*4]
jmp 0x18005af90
movss xmm0, dword [r8 + 0x10]
mulss xmm0, xmm2
addss xmm1, xmm0
cmp rdx, rbx
jb 0x18005af60
comiss xmm1, xmm6
jbe 0x18005afa5
movaps xmm6, xmm1
movss xmm0, dword [r13 + 0x3eb8]
movd xmm7, r14d
cvtdq2ps xmm7, xmm7
mulss xmm7, xmm0
mov r11d, dword [rsp + 0x7c]
test r11b, r11b
je 0x18005afde
movd xmm15, r10d
cvtdq2ps xmm15, xmm15
mulss xmm15, xmm0
movss dword [rbp - 0x54], xmm15
movss dword [rbp - 0x6c], xmm9
movzx r8d, byte [rsp + 0x50]
test r8b, r8b
je 0x18005b11b
cmp byte [rdi + 0xe84], 0
je 0x18005b11b
test dword [rbp - 0x80], 0x1000
jne 0x18005b054
movaps xmm0, xmm9
mulss xmm0, dword [0x180342c98]
subss xmm9, dword [r13 + 0x3a34]
movss xmm2, dword [rdi + 0x50]
movaps xmm1, xmm10
comiss xmm2, xmm10
jbe 0x18005b034
subss xmm1, xmm0
movaps xmm0, xmm5
maxss xmm0, xmm1
jmp 0x18005b042
subss xmm1, xmm9
comiss xmm1, xmm2
jb 0x18005b059
addss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x50], xmm0
jmp 0x18005b059
xor eax, eax
mov dword [rdi + 0x50], eax
test r11b, r11b
je 0x18005b10b
movaps xmm0, xmm11
subss xmm0, dword [r13 + 0x3eb8]
movss xmm3, dword [rbp - 0x20]
comiss xmm8, xmm0
jbe 0x18005b085
movaps xmm8, xmm5
maxss xmm8, xmm0
jmp 0x18005b0b5
movss xmm2, dword [r13 + 0x3a38]
addss xmm2, xmm2
movaps xmm1, xmm3
subss xmm1, xmm2
movaps xmm0, xmm11
subss xmm0, xmm1
comiss xmm0, xmm8
jb 0x18005b0b5
movaps xmm8, xmm11
subss xmm8, xmm3
addss xmm8, xmm2
movss xmm2, dword [r13 + 0x3a38]
comiss xmm5, xmm8
jbe 0x18005b0c9
movaps xmm2, xmm5
jmp 0x18005b0df
addss xmm2, xmm2
addss xmm2, xmm15
subss xmm2, xmm3
maxss xmm2, xmm5
minss xmm2, xmm8
mov rax, qword [rbp - 0x30]
movss xmm0, dword [rax + 0xc4]
subss xmm0, xmm2
movss xmm1, dword [rbp + 0x94]
addss xmm1, xmm0
movss dword [rbp + 0x94], xmm1
movss dword [rax + 0xc4], xmm2
mov byte [rdi + 0xe84], 0
movss xmm12, dword [rbp + 0x90]
movss xmm9, dword [rdi + 0x50]
test r12b, r12b
je 0x18005b388
mov edx, dword [rdi + 0x5c]
mov ecx, dword [rdi + 0x58]
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 0x18005b156
movss xmm1, dword [0x180342cfc]
jmp 0x18005b15e
movss xmm1, dword [0x180342cbc]
mov rax, qword [0x18035fc30]
movups xmm0, xmmword [rax + 0x3e30]
movups xmmword [rbp], xmm0
mulss xmm1, dword [rax + 0x39f8]
shufps xmm0, xmm0, 0xff
mulss xmm0, xmm1
movss dword [rbp + 0xc], xmm0
lea rcx, [rbp]
call fcn.18000ddb0
mov r15d, eax
xorps xmm5, xmm5
test r11b, r11b
je 0x18005b1a4
movss dword [rbp - 0x1c], xmm5
xorps xmm8, xmm8
jmp 0x18005b1ad
movss xmm8, dword [0x180342d60]
movaps xmm3, xmm12
addss xmm3, xmm6
subss xmm3, xmm9
movss xmm6, dword [rbp + 0x94]
addss xmm6, xmm7
subss xmm6, xmm5
cmp rbx, r14
jae 0x18005b388
movss xmm7, dword [0x180342cb4]
movss xmm11, dword [rbp - 0x28]
movss xmm15, dword [rbp - 0x50]
movss xmm10, dword [rbp - 0x1c]
mov rsi, qword [rbp - 0x30]
xor edi, edi
movss xmm2, dword [r13 + 0x3eb8]
movaps xmm0, xmm13
addss xmm0, xmm2
comiss xmm6, xmm0
ja 0x18005b369
comiss xmm15, xmm6
jbe 0x18005b23b
cmp rbx, r14
jae 0x18005b34e
nop dword [rax]
movzx eax, word [rbx]
add rbx, 2
cmp ax, 0xa
je 0x18005b34e
cmp rbx, r14
jb 0x18005b220
jmp 0x18005b34e
mov rdx, qword [r13 + 0x3eb0]
divss xmm2, dword [rdx + 0x14]
movaps xmm4, xmm5
movaps xmm1, xmm5
cmp rbx, r14
jae 0x18005b290
movzx ecx, word [rbx]
add rbx, 2
cmp ecx, 0xa
je 0x18005b286
cmp ecx, 0xd
je 0x18005b27f
cmp ecx, dword [rdx]
jge 0x18005b272
mov rax, qword [rdx + 8]
movss xmm0, dword [rax + rcx*4]
jmp 0x18005b277
movss xmm0, dword [rdx + 0x10]
mulss xmm0, xmm2
addss xmm1, xmm0
cmp rbx, r14
jb 0x18005b252
jmp 0x18005b290
movaps xmm4, xmm5
maxss xmm4, xmm1
movaps xmm1, xmm5
maxss xmm1, xmm4
comiss xmm5, xmm1
jb 0x18005b2c0
cmp dword [rdx], 0x20
jle 0x18005b2ac
mov rax, qword [rdx + 8]
movss xmm0, dword [rax + 0x80]
jmp 0x18005b2b1
movss xmm0, dword [rdx + 0x10]
mulss xmm0, xmm7
cvttss2si eax, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
addss xmm1, xmm3
movaps xmm0, xmm8
addss xmm0, xmm6
addss xmm3, xmm5
movaps xmm2, xmm10
subss xmm2, dword [r13 + 0x3eb8]
addss xmm2, xmm6
maxss xmm3, xmm11
maxss xmm2, xmm15
movss dword [rbp], xmm3
movss dword [rbp + 4], xmm2
minss xmm1, xmm14
minss xmm0, xmm13
movss dword [rbp + 8], xmm1
movss dword [rbp + 0xc], xmm0
comiss xmm0, xmm15
jbe 0x18005b34e
comiss xmm13, xmm2
jbe 0x18005b34e
comiss xmm1, xmm11
jbe 0x18005b34e
comiss xmm14, xmm3
jbe 0x18005b34e
mov dword [rsp + 0x28], edi
movss dword [rsp + 0x20], xmm5
mov r9d, r15d
lea r8, [rbp + 8]
lea rdx, [rbp]
mov rcx, qword [rsi + 0x2e0]
call fcn.180041b90
movss xmm12, dword [rbp + 0x90]
xorps xmm5, xmm5
movaps xmm3, xmm12
subss xmm3, xmm9
addss xmm6, dword [r13 + 0x3eb8]
cmp rbx, r14
jb 0x18005b1f3
movss xmm10, dword [rbp - 0x40]
movss xmm11, dword [rbp - 0x38]
movss xmm15, dword [rbp - 0x54]
mov rsi, qword [rbp - 0x78]
mov rdi, qword [rbp - 0x60]
mov r11d, dword [rsp + 0x7c]
mov r15, qword [rsp + 0x68]
test r11b, r11b
jne 0x18005b3a4
mov rax, rsi
sub rax, r15
cmp rax, 0x200000
jge 0x18005b4f7
mov rax, qword [0x18035fc30]
movups xmm0, xmmword [rax + 0x3ae0]
movups xmmword [rbp], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x39f8]
movss dword [rbp + 0xc], xmm0
lea rcx, [rbp]
call fcn.18000ddb0
mov r9d, eax
mov rbx, qword [rbp - 0x30]
mov r8, qword [rbx + 0x2e0]
mov rcx, rsi
subss xmm12, xmm9
movss dword [rbp - 0x60], xmm12
movss xmm0, dword [rbp + 0x94]
xorps xmm5, xmm5
subss xmm0, xmm5
movss dword [rbp - 0x5c], xmm0
movss xmm2, dword [r13 + 0x3eb8]
mov r10, qword [r13 + 0x3eb0]
lea rdx, [rbp + 0x98]
test r11b, r11b
mov r12d, 0
cmovne rdx, r12
test eax, 0xff000000
je 0x18005b4fe
test rsi, rsi
jne 0x18005b44c
mov rcx, 0xffffffffffffffff
nop dword [rax + rax]
inc rcx
cmp byte [r15 + rcx], r12b
jne 0x18005b440
add rcx, r15
cmp r15, rcx
je 0x18005b4fe
test r10, r10
jne 0x18005b462
mov rax, qword [r8 + 0x38]
mov r10, qword [rax + 8]
ucomiss xmm2, xmm5
jp 0x18005b472
jne 0x18005b472
mov rax, qword [r8 + 0x38]
movss xmm2, dword [rax + 0x10]
movups xmm0, xmmword [r8 + 0x88]
movups xmmword [rbp], xmm0
test rdx, rdx
je 0x18005b4be
movss xmm0, dword [rbp]
maxss xmm0, dword [rdx]
movss dword [rbp], xmm0
movss xmm1, dword [rbp + 4]
maxss xmm1, dword [rdx + 4]
movss dword [rbp + 4], xmm1
movss xmm0, dword [rbp + 8]
minss xmm0, dword [rdx + 8]
movss dword [rbp + 8], xmm0
movss xmm1, dword [rbp + 0xc]
minss xmm1, dword [rdx + 0xc]
movss dword [rbp + 0xc], xmm1
setne al
mov byte [rsp + 0x48], al
movss dword [rsp + 0x40], xmm5
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], r15
lea rax, [rbp]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r9d
lea r9, [rbp - 0x60]
mov rdx, r8
mov rcx, r10
call fcn.180046840
xorps xmm5, xmm5
jmp 0x18005b4fe
mov rbx, qword [rbp - 0x30]
xor r12d, r12d
cmp byte [rsp + 0x50], 0
je 0x18005b6b7
movss xmm0, dword [r13 + 0x18]
addss xmm0, dword [rdi + 0xe80]
movss dword [rdi + 0xe80], xmm0
cmp byte [r13 + 0x63], 0
je 0x18005b549
comiss xmm5, xmm0
jae 0x18005b549
movss xmm1, dword [0x180342d10]
call fcn.1800cd760
movss xmm1, dword [0x180342cdc]
comiss xmm1, xmm0
jae 0x18005b549
xor cl, cl
jmp 0x18005b54b
mov cl, 1
movss xmm0, dword [rbp + 0x90]
addss xmm0, xmm10
subss xmm0, xmm9
cvttss2si eax, xmm0
movd xmm6, eax
cvtdq2ps xmm6, xmm6
movss xmm0, dword [rbp + 0x94]
addss xmm0, xmm11
xorps xmm10, xmm10
subss xmm0, xmm10
cvttss2si eax, xmm0
movd xmm7, eax
cvtdq2ps xmm7, xmm7
movss dword [rbp + 0x98], xmm6
movaps xmm0, xmm7
subss xmm0, dword [r13 + 0x3eb8]
addss xmm0, dword [0x180342cb4]
movss dword [rbp + 0x9c], xmm0
movaps xmm2, xmm6
movss xmm8, dword [0x180342cfc]
addss xmm2, xmm8
movss dword [rbp + 0xa0], xmm2
movaps xmm1, xmm7
subss xmm1, dword [0x180342d28]
movss dword [rbp + 0xa4], xmm1
movss xmm9, dword [rbp - 0x50]
test cl, cl
je 0x18005b65a
comiss xmm1, xmm9
jbe 0x18005b65a
movss xmm3, dword [rbp - 0x70]
comiss xmm3, xmm0
jbe 0x18005b65a
comiss xmm2, dword [rbp - 0x28]
jbe 0x18005b65a
movss xmm0, dword [rbp - 0x48]
comiss xmm0, xmm6
jbe 0x18005b65a
mov rax, qword [0x18035fc30]
movups xmm0, xmmword [rax + 0x3ae0]
movups xmmword [rbp], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x39f8]
movss dword [rbp + 0xc], xmm0
movss dword [rbp - 0x60], xmm6
movss dword [rbp - 0x5c], xmm1
lea rcx, [rbp]
call fcn.18000ddb0
mov r9d, eax
movss dword [rsp + 0x20], xmm8
lea r8, [rbp - 0x60]
lea rdx, [rbp + 0x98]
mov rcx, qword [rbx + 0x2e0]
call fcn.180041920
mov r14d, dword [rbp - 0x7c]
cmp byte [rsp + 0x5c], 0
jne 0x18005b6ab
mov byte [r13 + 0x6170], 1
subss xmm6, xmm8
movss xmm0, dword [r13 + 0x3eb8]
subss xmm7, xmm0
movss dword [r13 + 0x6174], xmm6
movss dword [r13 + 0x6178], xmm7
movss dword [r13 + 0x617c], xmm0
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x40]
mov ecx, dword [rax]
mov dword [r13 + 0x6190], ecx
movss xmm6, dword [rbp - 0x6c]
jmp 0x18005b6d3
xor r12d, r12d
jmp 0x18005b6c0
movss xmm6, dword [rbp - 0x6c]
mov r14d, dword [rbp - 0x7c]
xorps xmm10, xmm10
movss xmm8, dword [0x180342cfc]
movss xmm9, dword [rbp - 0x50]
mov ebx, dword [rbp - 0x3c]
test bl, bl
je 0x18005b6df
call fcn.18001d8a0
cmp byte [rsp + 0x7c], 0
je 0x18005b754
movss dword [rbp - 0x60], xmm6
addss xmm15, dword [r13 + 0x3a38]
movss dword [rbp - 0x5c], xmm15
lea rcx, [rbp - 0x60]
call fcn.1800522b0
or dword [r13 + 0x4b14], 0x401
call fcn.180016a50
mov eax, dword [r13 + 0x4b38]
and eax, 0x80
mov ebx, dword [rbp + 0xb8]
or ebx, eax
call fcn.180021450
cmp dword [r13 + 0x4b30], 0
jne 0x18005b751
mov dword [r13 + 0x4b30], r14d
mov eax, dword [rbp + 0xb4]
mov dword [r13 + 0x4b34], eax
mov dword [r13 + 0x4b38], ebx
mov ebx, dword [rbp - 0x3c]
cmp byte [r13 + 0x6290], 0
je 0x18005b8d6
test bl, bl
jne 0x18005b8d6
mov rdi, qword [0x18035fc30]
mov r14, qword [rdi + 0x4180]
mov qword [rdi + 0x62b8], r12
mov qword [rdi + 0x62b0], r12
test rsi, rsi
jne 0x18005b7b1
mov rsi, r15
cmp r15, 0xffffffffffffffff
jae 0x18005b7b1
movzx ecx, byte [rsi]
test cl, cl
je 0x18005b7b1
lea rax, [rsi + 1]
cmp cl, 0x23
jne 0x18005b7a8
cmp byte [rax], cl
je 0x18005b7b1
mov rsi, rax
cmp rax, 0xffffffffffffffff
jb 0x18005b794
movss xmm0, dword [rdi + 0x3a38]
addss xmm0, dword [rdi + 0x62c0]
addss xmm0, xmm8
movss xmm1, dword [rbp + 0x94]
movss dword [rdi + 0x62c0], xmm1
comiss xmm1, xmm0
jbe 0x18005b7ee
lea rcx, [0x1802fc3e0]
call fcn.180027ec0
mov byte [rdi + 0x62c4], 1
lea r8, [0x18034067d]
lea rdx, [0x18034067c]
lea rcx, [rbp + 0x90]
call fcn.180027f00
mov eax, dword [r14 + 0x1c8]
mov ecx, dword [rdi + 0x62c8]
cmp ecx, eax
jle 0x18005b821
mov dword [rdi + 0x62c8], eax
mov ecx, eax
mov r14d, dword [r14 + 0x1c8]
sub r14d, ecx
mov r13d, 1
mov r8, rsi
sub r8, r15
mov edx, 0xa
mov rcx, r15
call fcn.1800d2e30
mov rbx, rsi
test rax, rax
cmovne rbx, rax
cmp r15, rbx
jne 0x18005b858
cmp rbx, rsi
je 0x18005b8b7
mov r9d, ebx
sub r9d, r15d
cmp byte [rdi + 0x62c4], 0
lea edx, [r14*4]
jne 0x18005b872
mov edx, r13d
mov qword [rsp + 0x20], r15
lea r8, [0x1802f9dbd]
lea rcx, str._s_.s
call fcn.180027ec0
mov byte [rdi + 0x62c4], 0
cmp byte [rbx], 0xa
jne 0x18005b8a9
lea rcx, [0x1802fc3e0]
call fcn.180027ec0
mov byte [rdi + 0x62c4], r13b
cmp rbx, rsi
je 0x18005b8b7
lea r15, [rbx + 1]
jmp 0x18005b831
lea r8, [0x180340679]
lea rdx, [0x180340678]
lea rcx, [rbp + 0x90]
call fcn.180027f00
mov r13, qword [rsp + 0x70]
movss xmm0, dword [rbp - 0x18]
comiss xmm0, xmm10
jbe 0x18005b910
movss xmm0, dword [rbp - 0x24]
addss xmm0, dword [r13 + 0x3a4c]
addss xmm9, dword [r13 + 0x3a38]
mov r9b, 1
xor r8d, r8d
mov rdx, qword [rbp - 8]
unpcklps xmm0, xmm9
movq rcx, xmm0
call fcn.18000e870
movzx r9d, byte [rsp + 0x53]
mov r8d, dword [rbp - 0x80]
test r9b, r9b
je 0x18005b956
bt r8d, 0x1b
jb 0x18005b956
mov rax, qword [0x18035fc30]
cmp word [rax + 0x60de], 0
jg 0x18005b956
mov ecx, dword [rax + 0x41e4]
cmp ecx, dword [rbp - 0x7c]
je 0x18005b946
test ecx, ecx
jne 0x18005b94f
mov word [rax + 0x41f4], 0x101
or dword [rax + 0x4b38], 4
test r8b, 0x20
mov eax, r9d
movzx ecx, byte [rsp + 0x56]
cmovne eax, ecx
jmp 0x1800581e9