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

Disassembly:
mov rax, rsp
mov dword [rax + 0x20], r9d
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x188]
sub rsp, 0x248
vmovaps xmmword [rax - 0x58], xmm6
vmovaps xmmword [rax - 0x68], xmm7
vmovaps xmmword [rax - 0x78], xmm8
vmovaps xmmword [rax - 0x88], xmm9
vmovaps xmmword [rax - 0x98], xmm10
vmovaps xmmword [rax - 0xa8], xmm11
vmovaps xmmword [rax - 0xb8], xmm12
vmovaps xmmword [rax - 0xc8], xmm13
vmovaps xmmword [rax - 0xd8], xmm14
vmovaps xmmword [rax - 0xe8], xmm15
mov r12, rcx
mov rbx, qword [0x1800b50c0]
mov r14, rbx
mov qword [rsp + 0x70], rbx
mov rax, qword [rbx + 0x1c08]
mov byte [rax + 0x90], 1
mov rdi, qword [rbx + 0x1c08]
mov qword [rbp + 0x10], rdi
cmp byte [rdi + 0x93], 0
jne 0x180049f90
mov r15d, dword [rbp + 0x1b8]
mov dword [rsp + 0x68], r15d
mov esi, r15d
shr esi, 0x1a
and sil, 1
mov dword [rsp + 0x5c], esi
mov eax, r15d
shr eax, 0xe
and al, 1
mov dword [rsp + 0x60], eax
mov eax, r15d
shr eax, 0xf
and al, 1
mov dword [rbp - 0x54], eax
mov eax, r15d
shr eax, 0x10
not al
and al, 1
mov dword [rbp - 0x68], eax
mov eax, r15d
shr eax, 0x12
and al, 1
mov dword [rbp - 0x80], eax
test sil, sil
je 0x180049ce6
call fcn.180027e60
mov rbx, qword [0x1800b50c0]
movsxd rcx, dword [rdi + 0xc8]
mov rax, qword [rdi + 0xd0]
mov r8d, dword [rax + rcx*4 - 4]
xor edx, edx
mov rcx, r12
call fcn.18001b210
mov r13d, eax
mov dword [rsp + 0x7c], eax
cmp dword [rbx + 0x1c50], eax
jne 0x180049d18
mov dword [rbx + 0x1c54], eax
cmp dword [rbx + 0x1c90], r13d
jne 0x180049d28
mov byte [rbx + 0x1c94], 1
mov rcx, r12
cmp r12, 0xffffffffffffffff
jae 0x180049d4e
movzx edx, byte [rcx]
test dl, dl
je 0x180049d4e
lea rax, [rcx + 1]
cmp dl, 0x23
jne 0x180049d45
cmp byte [rax], dl
je 0x180049d4e
mov rcx, rax
cmp rax, 0xffffffffffffffff
jb 0x180049d31
vmovss xmm1, dword [rbx + 0x1978]
xor eax, eax
vmovss xmm0, dword [0x1800a41b0]
vmovss dword [rbp + 0x1c], xmm0
vmovss xmm7, dword [0x1800a419c]
vmovss dword [rbp - 0x20], xmm7
vxorps xmm11, xmm11, xmm11
vmovss dword [rsp + 0x78], xmm11
cmp r12, rcx
jne 0x180049d89
vxorps xmm8, xmm8, xmm8
jmp 0x180049dde
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], r12
vmovss dword [rsp + 0x20], xmm0
vmovaps xmm3, xmm7
vmovaps xmm2, xmm1
lea rdx, [rbp + 0x198]
mov rcx, qword [rbx + 0x1970]
call fcn.18003d380
vmovss xmm0, dword [rbp + 0x198]
vaddss xmm1, xmm0, dword [0x1800a40e8]
vcvttss2si eax, xmm1
vxorps xmm8, xmm8, xmm8
vcvtsi2ss xmm8, xmm8, eax
vmovss xmm1, dword [rbp + 0x19c]
vmovss dword [rbp + 0x20], xmm8
test sil, sil
je 0x180049df9
vmovss xmm0, dword [r14 + 0x1978]
vmulss xmm1, xmm0, dword [0x1800a413c]
vmovss xmm6, dword [r14 + 0x1598]
vaddss xmm0, xmm6, xmm6
vaddss xmm3, xmm0, xmm1
mov rax, qword [rbx + 0x1c08]
test byte [rbx + 0x1cac], 1
je 0x180049e24
vmovss xmm1, dword [rbx + 0x1cb0]
jmp 0x180049e2c
vmovss xmm1, dword [rax + 0x194]
vmovss xmm2, dword [0x1800a40f0]
vmovss dword [rbp - 0x50], xmm2
vcomiss xmm11, xmm1
jbe 0x180049e73
vmovss xmm0, dword [rax + 0x238]
cmp qword [rax + 0x178], 0
jne 0x180049e5b
cmp qword [rbx + 0x2018], 0
je 0x180049e63
vmovss xmm0, dword [rax + 0x208]
vsubss xmm0, xmm0, dword [rax + 0xd8]
vaddss xmm1, xmm0, xmm1
vmaxss xmm1, xmm2, xmm1
vcvttss2si eax, xmm1
vxorps xmm2, xmm2, xmm2
vcvtsi2ss xmm2, xmm2, eax
mov rdx, qword [rbp + 0x1b0]
mov rdx, qword [rdx]
lea rcx, [rbp + 0x198]
call fcn.180027d50
vcomiss xmm8, xmm11
jbe 0x180049ea7
vaddss xmm1, xmm8, dword [r14 + 0x15ac]
jmp 0x180049eab
vxorps xmm1, xmm1, xmm1
vmovss xmm14, dword [rdi + 0xdc]
vmovss dword [rbp - 0x58], xmm14
vmovss xmm8, dword [rbp + 0x19c]
vmovss dword [rbp - 0x18], xmm8
vaddss xmm0, xmm14, xmm8
vmovss xmm9, dword [rdi + 0xd8]
vmovss dword [rbp - 0x1c], xmm9
vmovss xmm13, dword [rbp + 0x198]
vmovss dword [rbp + 8], xmm13
vaddss xmm10, xmm9, xmm13
vmovss dword [rbp + 0x18], xmm10
vmovss dword [rbp - 0x78], xmm9
vmovss dword [rbp - 0x74], xmm14
vmovss dword [rbp - 0x70], xmm10
vmovss dword [rbp - 0x6c], xmm0
vaddss xmm2, xmm14, xmm8
vaddss xmm0, xmm1, xmm13
vaddss xmm3, xmm0, xmm9
vmovss dword [rbp - 0x10], xmm9
vmovss dword [rbp - 0xc], xmm14
vmovss dword [rbp - 8], xmm3
vmovss dword [rbp - 4], xmm2
mov qword [rbp - 0x48], rdi
test sil, sil
je 0x18004a237
mov edi, 1
mov r9d, edi
lea r8, [rbp - 0x78]
mov edx, r13d
lea rcx, [rbp - 0x10]
call fcn.180027a50
test al, al
jne 0x180049fef
vmovss xmm0, dword [rbp - 8]
vsubss xmm1, xmm0, dword [rbp - 0x10]
vmovss dword [rbp + 0x198], xmm1
vmovss xmm2, dword [rbp - 4]
vsubss xmm0, xmm2, dword [rbp - 0xc]
vmovss dword [rbp + 0x19c], xmm0
vmovss xmm1, dword [r14 + 0x1598]
lea rcx, [rbp + 0x198]
call fcn.1800278f0
call fcn.180027f90
xor al, al
lea r11, [rsp + 0x248]
vmovaps xmm6, xmmword [r11 - 0x18]
vmovaps xmm7, xmmword [r11 - 0x28]
vmovaps xmm8, xmmword [r11 - 0x38]
vmovaps xmm9, xmmword [r11 - 0x48]
vmovaps xmm10, xmmword [r11 - 0x58]
vmovaps xmm11, xmmword [r11 - 0x68]
vmovaps xmm12, xmmword [r11 - 0x78]
vmovaps xmm13, xmmword [r11 - 0x88]
vmovaps xmm14, xmmword [r11 - 0x98]
vmovaps xmm15, xmmword [r11 - 0xa8]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov r15d, dword [r14 + 0x1cc8]
mov rbx, qword [0x1800b50c0]
mov dword [rbp - 0x38], 3
vmovups xmm0, xmmword [rbx + 0x1650]
vmovups xmmword [rbp - 0x34], xmm0
lea rcx, [rbx + 0x1d60]
lea rdx, [rbp - 0x38]
call fcn.18002e590
vmovups xmm0, xmmword [r14 + 0x1690]
vmovups xmmword [rbx + 0x1650], xmm0
vmovss xmm1, dword [r14 + 0x159c]
mov ecx, 7
call fcn.18001c260
vmovss xmm1, dword [r14 + 0x15a0]
mov ecx, 8
call fcn.18001c260
vmovss xmm14, dword [rbp - 0x74]
vmovss dword [rbp - 0x58], xmm14
vmovss xmm0, dword [rbp - 0x6c]
vsubss xmm1, xmm0, xmm14
vmovss xmm6, dword [rbp - 0x70]
vmovss dword [rbp + 0x18], xmm6
vmovss xmm9, dword [rbp - 0x78]
vmovss dword [rbp - 0x1c], xmm9
vsubss xmm0, xmm6, xmm9
vmovss dword [rbp + 0x198], xmm0
vmovss dword [rbp + 0x19c], xmm1
mov dword [rsp + 0x20], 4
movzx r9d, dil
lea r8, [rbp + 0x198]
mov edx, r13d
mov rcx, r12
call fcn.180021e00
movzx r11d, al
mov r8, qword [0x1800b50c0]
movsxd rcx, dword [r8 + 0x1d70]
lea rdx, [rcx + rcx*2]
mov r9, qword [r8 + 0x1d78]
movsxd rcx, dword [r9 + rdx*4 - 0xc]
lea r10, [rcx + rcx*2]
lea rbx, [0x18009cff0]
mov ecx, dword [rbx + r10*4 + 8]
cmp dword [rbx + r10*4], 8
jne 0x18004a123
mov eax, dword [rbx + r10*4 + 4]
cmp eax, edi
jne 0x18004a104
mov eax, dword [r9 + rdx*4 - 8]
mov dword [rcx + r8 + 0x1558], eax
jmp 0x18004a123
cmp eax, 2
jne 0x18004a123
mov eax, dword [r9 + rdx*4 - 8]
mov dword [rcx + r8 + 0x1558], eax
mov eax, dword [r9 + rdx*4 - 4]
mov dword [rcx + r8 + 0x155c], eax
movsxd rcx, dword [r8 + 0x1d70]
lea eax, [rcx - 1]
mov dword [r8 + 0x1d70], eax
lea rax, [rcx - 2]
lea rcx, [rax + rax*2]
mov rdx, qword [r8 + 0x1d78]
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 0x18004a18b
mov eax, dword [rbx + r10*4 + 4]
cmp eax, edi
jne 0x18004a16e
mov eax, dword [rdx + rcx*4 + 4]
mov dword [r9 + r8 + 0x1558], eax
jmp 0x18004a18b
cmp eax, 2
jne 0x18004a18b
mov eax, dword [rdx + rcx*4 + 4]
mov dword [r9 + r8 + 0x1558], eax
mov eax, dword [rdx + rcx*4 + 8]
mov dword [r9 + r8 + 0x155c], eax
dec dword [r8 + 0x1d70]
movsxd rax, dword [r8 + 0x1d60]
lea rdx, [rax + rax*4]
mov rcx, qword [r8 + 0x1d68]
movsxd rax, dword [rcx + rdx*4 - 0x14]
add rax, 0x162
add rax, rax
vmovups xmm0, xmmword [rcx + rdx*4 - 0x10]
vmovups xmmword [r8 + rax*8], xmm0
dec dword [r8 + 0x1d60]
test r11b, r11b
jne 0x18004a1d4
call fcn.1800220d0
jmp 0x180049f8b
mov rbx, qword [r14 + 0x1c08]
mov qword [rbp - 0x48], rbx
movsx ecx, word [rbx + 0x12a]
mov eax, dword [rbx + 0x124]
bts ecx, eax
mov word [rbx + 0x12a], cx
vmovss xmm0, dword [rbx + 0xd8]
vaddss xmm1, xmm0, dword [r14 + 0x1594]
vmovss dword [rbx + 0xd8], xmm1
vmovss xmm0, dword [r14 + 0x1598]
vaddss xmm1, xmm0, dword [rbx + 0xdc]
vmovss dword [rbx + 0xdc], xmm1
vsubss xmm13, xmm13, dword [rbx + 0x84]
vmovss dword [rbp + 8], xmm13
jmp 0x18004a2ad
vsubss xmm1, xmm2, xmm14
vsubss xmm0, xmm3, xmm9
vmovss dword [rbp + 0x198], xmm0
vmovss dword [rbp + 0x19c], xmm1
vmovaps xmm1, xmm6
lea rcx, [rbp + 0x198]
call fcn.1800278f0
mov edi, 1
bt r15d, 0x1c
jb 0x18004a2a6
mov r9d, edi
lea r8, [rbp - 0x78]
mov edx, r13d
lea rcx, [rbp - 0x10]
call fcn.180027a50
test al, al
je 0x180049f90
vmovss xmm0, dword [rbp - 0x70]
vmovss dword [rbp + 0x18], xmm0
vmovss xmm14, dword [rbp - 0x74]
vmovss dword [rbp - 0x58], xmm14
vmovss xmm9, dword [rbp - 0x78]
vmovss dword [rbp - 0x1c], xmm9
mov r15d, dword [r14 + 0x1cc8]
mov edx, r13d
lea rcx, [rbp - 0x78]
call fcn.18001e380
mov byte [rbp - 0x60], al
test al, al
je 0x18004a2c7
mov dword [r14 + 0x1f70], edi
mov rsi, qword [0x1800b50c0]
lea rdi, [rsi + 0x20d8]
cmp dword [rdi], r13d
mov ecx, 0
cmovne rdi, rcx
mov qword [rbp - 0x10], rdi
mov r12d, r15d
shr r12d, 8
and r12b, 1
mov dword [rbp - 0x5c], r12d
shr r15d, 9
and r15b, 1
mov dword [rsp + 0x6c], r15d
test al, al
je 0x18004a315
cmp byte [r14 + 0x420], cl
mov byte [rbp + 0x198], 1
jne 0x18004a31b
mov byte [rbp + 0x198], cl
mov ebx, dword [r14 + 0x1c50]
cmp ebx, r13d
je 0x18004a348
cmp dword [r14 + 0x1e0c], r13d
je 0x18004a343
cmp dword [r14 + 0x1e00], r13d
jne 0x18004a348
cmp dword [r14 + 0x1e24], 2
jne 0x18004a348
mov r13b, 1
jmp 0x18004a34b
xor r13b, r13b
mov byte [rsp + 0x51], r13b
mov eax, dword [rsp + 0x5c]
test al, al
je 0x18004a398
test rdi, rdi
je 0x18004a398
test ebx, ebx
jne 0x18004a398
mov rax, qword [rbp - 0x48]
movsxd rcx, dword [rax + 0xc8]
mov rax, qword [rax + 0xd0]
mov r8d, dword [rax + rcx*4 - 4]
xor edx, edx
lea rcx, str.SCROLLY
call fcn.18001b210
cmp dword [r14 + 0x1c90], eax
jne 0x18004a394
mov r14b, 1
jmp 0x18004a3a4
mov eax, dword [rsp + 0x5c]
xor r14b, r14b
test al, al
je 0x18004a3d1
test rdi, rdi
je 0x18004a3d1
mov rax, qword [rbp - 0x48]
movsxd rdx, dword [rax + 0xc8]
mov rax, qword [rax + 0xd0]
mov r8d, dword [rax + rdx*4 - 4]
xor edx, edx
lea rcx, str.SCROLLY
call fcn.18001b210
cmp ebx, eax
jne 0x18004a3d1
mov cl, 1
jmp 0x18004a3d3
xor cl, cl
mov byte [rsp + 0x58], cl
mov byte [rsp + 0x64], 0
cmp ebx, dword [rsp + 0x7c]
je 0x18004a3fe
mov eax, dword [rsp + 0x68]
test al, 0x10
jne 0x18004a3ef
test r13b, r13b
je 0x18004a3fe
mov eax, dword [rsp + 0x5c]
test al, al
jne 0x18004a402
mov byte [rsp + 0x54], 1
jmp 0x18004a41d
mov eax, dword [rsp + 0x5c]
mov byte [rsp + 0x54], 0
test al, al
je 0x18004a41d
mov rax, qword [rbp - 0x48]
vmovss xmm7, dword [rax + 0x60]
vmovss dword [rbp - 0x20], xmm7
mov eax, dword [rsp + 0x5c]
test rdi, rdi
je 0x18004a42e
xor al, 1
cmp byte [rdi + 0x63], al
je 0x18004a42e
mov r13b, 1
jmp 0x18004a431
xor r13b, r13b
cmp byte [rbp + 0x198], 0
jne 0x18004a464
test r14b, r14b
jne 0x18004a464
cmp byte [rsp + 0x51], r14b
jne 0x18004a464
test r12b, r12b
jne 0x18004a464
test r15b, r15b
jne 0x18004a464
mov byte [rsp + 0x50], r15b
test cl, cl
jne 0x18004a469
mov byte [rsp + 0x65], cl
mov r14d, dword [rsp + 0x7c]
jmp 0x18004a478
mov byte [rsp + 0x50], 1
mov byte [rsp + 0x65], 1
mov r14d, dword [rsp + 0x7c]
cmp ebx, r14d
jne 0x18004a481
test r13b, r13b
je 0x18004a6b4
mov rdi, qword [rsp + 0x70]
add rdi, 0x20d8
mov qword [rbp - 0x10], rdi
mov dword [rdi + 0xe78], 0xbe99999a
mov rax, 0xffffffffffffffff
mov r15, qword [rbp + 0x1a0]
nop dword [rax]
lea rax, [rax + 1]
cmp byte [r15 + rax], 0
jne 0x18004a4b0
lea ebx, [rax + 1]
mov ecx, dword [rdi + 0x34]
cmp ebx, ecx
jle 0x18004a4f0
test ecx, ecx
je 0x18004a4d4
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18004a4d9
mov eax, 8
mov edx, ebx
cmp eax, ebx
cmovg edx, eax
lea rcx, [rdi + 0x30]
call fcn.18002ea70
mov rsi, qword [0x1800b50c0]
mov dword [rdi + 0x30], ebx
movsxd r8, ebx
mov rdx, r15
mov rcx, qword [rdi + 0x38]
call fcn.1800607c0
mov ebx, dword [rbp + 0x1a8]
inc ebx
mov ecx, dword [rdi + 0x14]
cmp ebx, ecx
jle 0x18004a53c
test ecx, ecx
je 0x18004a520
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18004a525
mov eax, 8
mov edx, ebx
cmp eax, ebx
cmovg edx, eax
lea rcx, [rdi + 0x10]
call fcn.18002ebd0
mov rsi, qword [0x1800b50c0]
mov dword [rdi + 0x10], ebx
mov ecx, dword [rdi + 0x24]
test ecx, ecx
jns 0x18004a568
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.18002ea70
mov rsi, qword [0x1800b50c0]
xor ecx, ecx
mov dword [rdi + 0x20], ecx
mov byte [rdi + 0x40], cl
mov r14, r15
mov r12, qword [rdi + 0x18]
mov rbx, r12
movsxd r15, dword [rbp + 0x1a8]
dec r15
lea r15, [r12 + r15*2]
cmp r12, r15
jae 0x18004a5c0
nop dword [rax]
cmp byte [r14], 0
je 0x18004a5be
xor r8d, r8d
mov rdx, r14
lea rcx, [rbp]
call fcn.18001b520
movsxd rcx, eax
add r14, rcx
mov eax, dword [rbp]
test eax, eax
je 0x18004a5be
mov word [rbx], ax
add rbx, 2
cmp rbx, r15
jb 0x18004a590
xor ecx, ecx
mov word [rbx], cx
sub rbx, r12
sar rbx, 1
mov dword [rdi + 4], ebx
sub r14d, dword [rbp + 0x1a0]
mov dword [rdi + 8], r14d
mov r14d, dword [rsp + 0x7c]
cmp dword [rdi], r14d
jne 0x18004a60f
test r13b, r13b
jne 0x18004a60f
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 r15d, dword [rsp + 0x5c]
jmp 0x18004a67a
mov dword [rdi], r14d
mov qword [rdi + 0x48], 0
mov dword [rdi + 0xe6a], 0x630000
mov dword [rdi + 0xe70], ecx
mov dword [rdi + 0xe74], 0x3e7
mov qword [rdi + 0x50], 0
mov word [rdi + 0x61], 1
mov dword [rdi + 0x68], ecx
mov byte [rdi + 0x60], 0
mov r15d, dword [rsp + 0x5c]
movzx eax, r15b
xor al, 1
mov byte [rdi + 0x63], al
mov byte [rdi + 0x58], 0
mov dword [rdi + 0x5c], ecx
test r15b, r15b
jne 0x18004a67a
mov edx, dword [rsp + 0x54]
movzx edx, dl
cmp byte [rbp - 0x5c], r15b
mov eax, 1
cmovne edx, eax
mov dword [rsp + 0x54], edx
mov r13d, dword [rsp + 0x68]
bt r13d, 0xd
jae 0x18004a68a
mov byte [rdi + 0x58], 1
test r15b, r15b
jne 0x18004a6be
cmp byte [rsp + 0x6c], r15b
jne 0x18004a6ad
cmp byte [rbp + 0x198], r15b
je 0x18004a6be
mov rax, qword [rsp + 0x70]
cmp byte [rax + 0x140], r15b
je 0x18004a6be
mov byte [rsp + 0x54], 1
jmp 0x18004a6be
mov r15d, dword [rsp + 0x5c]
mov r13d, dword [rsp + 0x68]
mov r12, qword [rsp + 0x70]
movzx ebx, byte [rsp + 0x50]
cmp dword [r12 + 0x1c50], r14d
je 0x18004a775
test bl, bl
je 0x18004a76b
mov rdx, qword [rbp + 0x10]
mov ecx, r14d
call fcn.18001e2b0
call fcn.1800294d0
mov rcx, rdx
call fcn.180026f50
mov eax, dword [r12 + 0x1c64]
or eax, 3
mov dword [r12 + 0x1c64], eax
test r15b, r15b
jne 0x18004a714
test r13b, r13b
jns 0x18004a71f
or eax, 0xc
mov dword [r12 + 0x1c64], eax
or dword [r12 + 0x1c68], 2
mov rax, qword [r12 + 0x1c70]
or rax, 0x180
mov qword [r12 + 0x1c70], rax
test r15b, r15b
je 0x18004a74f
or rax, 0x60
mov qword [r12 + 0x1c70], rax
mov rsi, qword [0x1800b50c0]
test r13d, 0x440
je 0x18004a76b
or rax, 1
mov qword [r12 + 0x1c70], rax
cmp dword [r12 + 0x1c50], r14d
jne 0x18004a7df
test rdi, rdi
jne 0x18004a7df
mov ecx, dword [rsi + 0x1c50]
test ecx, ecx
setne al
mov byte [rsi + 0x1c5c], al
xor r15d, r15d
test ecx, ecx
je 0x18004a7ab
mov dword [rsi + 0x1c58], r15d
mov word [rsi + 0x1c5f], r15w
mov dword [rsi + 0x1c8c], 0xffffffff
mov dword [rsi + 0x1c50], r15d
mov word [rsi + 0x1c5d], 0
mov qword [rsi + 0x1c80], r15
mov word [rsi + 0x1c61], 0
mov qword [rsi + 0x1c64], 0
mov qword [rsi + 0x1c70], r15
jmp 0x18004a7e2
xor r15d, r15d
cmp dword [r12 + 0x1c50], r14d
jne 0x18004a80b
cmp byte [r12 + 0x420], 0
je 0x18004a817
cmp byte [rsp + 0x65], 0
jne 0x18004a817
test bl, bl
jne 0x18004a817
mov byte [rsp + 0x64], 1
mov cl, 1
jmp 0x18004a81d
test rdi, rdi
je 0x18004a81b
cmp byte [rsp + 0x58], 0
je 0x18004a81b
mov cl, 1
jmp 0x18004a81d
xor cl, cl
mov byte [rbp + 0x198], cl
test rdi, rdi
je 0x18004a838
mov eax, dword [rdi + 0x54]
cmp dword [rdi + 0x50], eax
je 0x18004a838
test cl, cl
je 0x18004a838
mov dl, 1
jmp 0x18004a83a
xor dl, dl
mov dword [rbp - 0x5c], edx
movzx r13d, dl
mov byte [rsp + 0x65], 0
mov byte [rsp + 0x50], 0
mov eax, dword [rsp + 0x60]
test al, al
je 0x18004a961
test rdi, rdi
je 0x18004a961
test cl, cl
jne 0x18004a86c
test dl, dl
je 0x18004a969
mov r15d, dword [rbp + 0x1a8]
inc r15d
mov ecx, dword [rdi + 0x14]
cmp r15d, ecx
jle 0x18004a8ab
test ecx, ecx
je 0x18004a88d
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18004a892
mov eax, 8
mov edx, r15d
cmp eax, r15d
cmovg edx, eax
lea rcx, [rdi + 0x10]
call fcn.18002ebd0
mov rsi, qword [0x1800b50c0]
mov dword [rdi + 0x10], r15d
mov rcx, qword [rbp + 0x1a0]
mov r14, rcx
mov r12, qword [rdi + 0x18]
mov rbx, r12
movsxd r15, r15d
dec r15
lea r15, [r12 + r15*2]
cmp r12, r15
jae 0x18004a907
nop
cmp byte [r14], 0
je 0x18004a900
xor r8d, r8d
mov rdx, r14
lea rcx, [rsp + 0x6c]
call fcn.18001b520
movsxd rcx, eax
add r14, rcx
mov eax, dword [rsp + 0x6c]
test eax, eax
je 0x18004a900
mov word [rbx], ax
add rbx, 2
cmp rbx, r15
jb 0x18004a8d0
mov rcx, qword [rbp + 0x1a0]
xor r15d, r15d
mov word [rbx], r15w
sub rbx, r12
sar rbx, 1
mov dword [rdi + 4], ebx
sub r14d, ecx
mov dword [rdi + 8], r14d
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 edx, r15d
cmp ecx, ebx
cmovne edx, r13d
mov dword [rbp - 0x5c], edx
mov r12, qword [rsp + 0x70]
mov r14d, dword [rsp + 0x7c]
movzx ecx, byte [rbp + 0x198]
mov eax, dword [rsp + 0x60]
test cl, cl
jne 0x18004a973
test dl, dl
jne 0x18004a973
cmp dword [r12 + 0x1c50], r14d
jne 0x18004a986
test al, al
jne 0x18004a986
test rdi, rdi
je 0x18004a986
cmp byte [rdi + 0x40], al
mov byte [rsp + 0x58], 1
jne 0x18004a98b
mov byte [rsp + 0x58], 0
cmp byte [rbp - 0x54], 0
je 0x18004aa5e
mov rdx, qword [r12 + 0x1970]
cmp dword [rdx + 0x18], 0x2a
ja 0x18004a9a9
mov r8, qword [rdx + 0x38]
jmp 0x18004a9cd
mov rax, qword [rdx + 0x20]
movzx ecx, word [rax + 0x54]
mov eax, 0xffff
cmp cx, ax
jne 0x18004a9c1
mov r8, qword [rdx + 0x38]
jmp 0x18004a9cd
lea rcx, [rcx + rcx*4]
mov rax, qword [rdx + 0x30]
lea r8, [rax + rcx*8]
lea rbx, [r12 + 0x2f70]
mov eax, dword [rdx + 0x14]
mov dword [rbx + 0x14], eax
mov rax, qword [r12 + 0x1970]
mov ecx, dword [rax + 0x5c]
mov dword [rbx + 0x5c], ecx
mov rax, qword [r12 + 0x1970]
mov ecx, dword [rax + 0x60]
mov dword [rbx + 0x60], ecx
mov rax, qword [r12 + 0x1970]
mov ecx, dword [rax + 0x64]
mov dword [rbx + 0x64], ecx
mov rax, qword [r12 + 0x1970]
mov rcx, qword [rax + 0x40]
mov qword [rbx + 0x40], rcx
mov qword [rbx + 0x38], r8
mov eax, dword [r8 + 4]
mov dword [rbx + 0x10], eax
mov qword [rbp + 0x10], rbx
mov rcx, rbx
call fcn.1800271b0
lea rcx, [rsi + 0x1d80]
lea rdx, [rbp + 0x10]
call fcn.18002e800
mov rax, qword [rsi + 0x1c08]
mov rdx, qword [rbx + 0x40]
mov rdx, qword [rdx + 8]
mov rcx, qword [rax + 0x280]
call fcn.180036b20
mov rsi, qword [0x1800b50c0]
mov dword [rbp], r15d
mov ecx, 0x20000c
mov r13, qword [rbp + 0x1c8]
mov r15, qword [rbp + 0x1c0]
vmovss xmm3, dword [0x1800a40b4]
cmp dword [r12 + 0x1c50], r14d
jne 0x18004aece
mov eax, dword [rdi + 8]
mov dword [rbp], eax
mov byte [rdi + 0xe7e], 0
mov eax, dword [rbp + 0x1a8]
mov dword [rdi + 0x44], eax
mov eax, dword [rsp + 0x68]
mov dword [rdi + 0xe80], eax
mov qword [rdi + 0xe88], r15
mov qword [rdi + 0xe90], r13
movzx edx, byte [r12 + 0x130]
test dl, dl
sete al
mov byte [r12 + 0x1c5d], al
mov dword [r12 + 0x3340], 1
vmovss xmm0, dword [r12 + 0x128]
vsubss xmm1, xmm0, xmm9
vsubss xmm2, xmm1, dword [r12 + 0x1594]
vaddss xmm6, xmm2, dword [rdi + 0x48]
cmp byte [rsp + 0x5c], 0
je 0x18004ab18
vmovss xmm0, dword [r12 + 0x12c]
mov rax, qword [rbp - 0x48]
vsubss xmm2, xmm0, dword [rax + 0xdc]
jmp 0x18004ab26
vmovss xmm0, dword [r12 + 0x1978]
vmulss xmm2, xmm0, xmm3
movzx r14d, byte [r12 + 0xc9]
cmp byte [rsp + 0x54], 0
jne 0x18004aca8
movzx eax, byte [rbp - 0x60]
test al, al
je 0x18004ab55
test r14b, r14b
jne 0x18004abbe
cmp byte [r12 + 0x425], r14b
jne 0x18004aca8
lea rbx, [rdi + 0xe7d]
movzx ecx, byte [rbx]
cmp byte [r12 + 0x420], 0
je 0x18004ac1f
test cl, cl
jne 0x18004ac1f
test al, al
je 0x18004abb6
cmp byte [rdi + 0x63], cl
je 0x18004ab93
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp - 0x38]
call fcn.180047c40
vmovss xmm2, dword [rbp - 0x2c]
vmovaps xmm1, xmm6
mov rcx, rdi
call fcn.180048140
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 0x18004acc4
cmp byte [r12 + 0x425], 0
je 0x18004ab55
mov r8d, ecx
lea rdx, [rdi + 0x4c]
mov rcx, rdi
call fcn.180048640
mov byte [rdi + 0xe7c], 1
mov dword [rdi + 0xe78], 0xbe99999a
mov r8d, 0x60000d
lea rdx, [rdi + 0x4c]
mov rcx, rdi
call fcn.180048640
mov byte [rdi + 0xe7c], 1
mov dword [rdi + 0xe78], 0xbe99999a
lea rax, [rdi + 0xe7d]
mov rsi, qword [0x1800b50c0]
jmp 0x18004acc4
mov rax, rbx
test dl, dl
je 0x18004acc4
test cl, cl
jne 0x18004acc4
vmovss xmm0, dword [r12 + 0x3b4]
vucomiss xmm0, xmm11
jp 0x18004ac58
jne 0x18004ac58
vmovss xmm0, dword [r12 + 0x3b8]
vucomiss xmm0, xmm11
jp 0x18004ac58
je 0x18004acc4
cmp byte [rdi + 0x63], 0
je 0x18004ac72
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp - 0x38]
call fcn.180047c40
vmovss xmm2, dword [rbp - 0x2c]
mov eax, dword [rdi + 0x54]
cmp dword [rdi + 0x50], eax
jne 0x18004ac80
mov eax, dword [rdi + 0x4c]
mov dword [rdi + 0x50], eax
vmovaps xmm1, xmm6
mov rcx, rdi
call fcn.180048140
mov dword [rdi + 0x54], eax
mov dword [rdi + 0x4c], eax
mov dword [rdi + 0xe78], 0xbe99999a
mov byte [rdi + 0xe7c], 1
mov rax, rbx
jmp 0x18004acc4
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], 0
lea rax, [rdi + 0xe7d]
mov byte [rax], 1
cmp byte [rax], 0
je 0x18004acd7
cmp byte [r12 + 0x130], 0
jne 0x18004acd7
mov byte [rax], 0
cmp byte [r12 + 0x140], 0
je 0x18004aced
cmp byte [r12 + 0x142], 0
je 0x18004acfd
test r14b, r14b
je 0x18004ad01
cmp byte [r12 + 0x143], 0
je 0x18004ad01
mov bl, 1
jmp 0x18004ad03
xor bl, bl
mov r10d, dword [rsp + 0x68]
bt r10d, 0xa
jae 0x18004add7
mov ecx, dword [rsi + 0x3c]
test ecx, ecx
js 0x18004add7
call fcn.180021d40
test al, al
mov eax, dword [rsp + 0x60]
je 0x18004addb
test bl, bl
jne 0x18004addb
cmp byte [r12 + 0x141], bl
jne 0x18004addb
test al, al
jne 0x18004addb
mov rcx, qword [r12 + 0x1550]
movsxd rax, dword [r12 + 0x1548]
lea rdx, [rcx + rax*2]
cmp rcx, rdx
jae 0x18004ad82
nop word [rax + rax]
movzx eax, word [rcx]
add rcx, 2
cmp ax, 9
je 0x18004add7
cmp rcx, rdx
jb 0x18004ad70
mov dword [rsp + 0x54], 9
mov dword [rsp + 0x20], 2
mov r9, r13
mov r8, r15
mov edx, r10d
lea rcx, [rsp + 0x54]
call fcn.180049a20
test al, al
je 0x18004adcb
lea rdx, [rdi + 0x4c]
mov r8d, dword [rsp + 0x54]
mov rcx, rdi
call fcn.180048640
mov byte [rdi + 0xe7c], 1
mov dword [rdi + 0xe78], 0xbe99999a
mov r10d, dword [rsp + 0x68]
mov rsi, qword [0x1800b50c0]
mov eax, dword [rsp + 0x60]
cmp dword [r12 + 0x1548], 0
jle 0x18004aec9
test bl, bl
jne 0x18004ae8d
test al, al
jne 0x18004ae8d
cmp byte [rsp + 0x51], al
jne 0x18004ae8d
xor eax, eax
mov esi, eax
mov ebx, eax
nop word [rax + rax]
mov rax, qword [r12 + 0x1550]
movzx ecx, word [rax + rbx]
mov dword [rsp + 0x54], ecx
cmp ecx, 9
jne 0x18004ae30
cmp byte [r12 + 0x141], 0
jne 0x18004ae71
mov dword [rsp + 0x20], 2
mov r9, r13
mov r8, r15
mov edx, r10d
lea rcx, [rsp + 0x54]
call fcn.180049a20
test al, al
je 0x18004ae71
lea rdx, [rdi + 0x4c]
mov r8d, dword [rsp + 0x54]
mov rcx, rdi
call fcn.180048640
mov byte [rdi + 0xe7c], 1
mov dword [rdi + 0xe78], 0xbe99999a
inc esi
add rbx, 2
cmp esi, dword [r12 + 0x1548]
mov r10d, dword [rsp + 0x68]
jl 0x18004ae10
mov rsi, qword [0x1800b50c0]
mov ecx, dword [r12 + 0x154c]
test ecx, ecx
jns 0x18004aebf
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, [r12 + 0x1548]
call fcn.18002ebd0
mov rsi, qword [0x1800b50c0]
xor eax, eax
mov dword [r12 + 0x1548], eax
mov r14d, dword [rsp + 0x7c]
xor cl, cl
cmp dword [r12 + 0x1c50], r14d
jne 0x18004c247
cmp byte [r12 + 0x1c5c], cl
jne 0x18004ba87
cmp byte [rsp + 0x64], cl
jne 0x18004ba87
vsubss xmm0, xmm8, dword [r12 + 0x1598]
vdivss xmm1, xmm0, dword [r12 + 0x1978]
vcvttss2si eax, xmm1
mov ecx, 1
cmp eax, ecx
cmovge ecx, eax
mov dword [rsp + 0x54], ecx
mov dword [rdi + 0x5c], ecx
movzx eax, byte [r12 + 0x141]
neg al
sbb ebx, ebx
and ebx, 0x400000
movzx eax, byte [r12 + 0xc9]
test al, al
je 0x18004af52
mov r8d, dword [r12 + 0x3bc]
cmp r8d, 0xa
jne 0x18004af52
mov r14b, 1
jmp 0x18004af61
mov r8d, dword [r12 + 0x3bc]
xor r14b, r14b
test al, al
je 0x18004af8e
movzx r11d, byte [r12 + 0x142]
cmp byte [r12 + 0x143], 0
je 0x18004af97
cmp byte [r12 + 0x140], 0
jne 0x18004af97
test r11b, r11b
jne 0x18004af97
mov r10b, 1
cmp r8d, 8
jmp 0x18004afa8
movzx r11d, byte [r12 + 0x140]
xor r10b, r10b
test al, al
je 0x18004afa4
cmp r8d, 8
jmp 0x18004afa8
cmp r8d, 1
sete r15b
test r15b, r15b
je 0x18004afc4
mov ecx, dword [rsi + 0x88]
test ecx, ecx
js 0x18004afc4
call fcn.180021d40
test al, al
jne 0x18004afda
cmp r8d, 2
jne 0x18004b003
mov ecx, dword [rsi + 0x64]
test ecx, ecx
js 0x18004b003
call fcn.180021d40
test al, al
je 0x18004b003
mov r12d, dword [rbp - 0x54]
mov r9d, dword [rsp + 0x5c]
cmp byte [rsp + 0x60], 0
jne 0x18004b00c
test r12b, r12b
jne 0x18004b00c
test r9b, r9b
je 0x18004affc
mov eax, dword [rdi + 0x54]
cmp dword [rdi + 0x50], eax
je 0x18004b00c
mov byte [rsp + 0x51], 1
jmp 0x18004b011
mov r9d, dword [rsp + 0x5c]
mov r12d, dword [rbp - 0x54]
mov byte [rsp + 0x51], 0
test r15b, r15b
je 0x18004b029
mov ecx, dword [rsi + 0x80]
test ecx, ecx
js 0x18004b029
call fcn.180021d40
test al, al
jne 0x18004b03f
cmp r8d, 1
jne 0x18004b056
mov ecx, dword [rsi + 0x60]
test ecx, ecx
js 0x18004b056
call fcn.180021d40
test al, al
je 0x18004b056
test r12b, r12b
jne 0x18004b056
test r9b, r9b
je 0x18004b051
mov eax, dword [rdi + 0x54]
cmp dword [rdi + 0x50], eax
je 0x18004b056
mov r13b, 1
jmp 0x18004b059
xor r13b, r13b
test r15b, r15b
je 0x18004b071
mov ecx, dword [rsi + 0x84]
test ecx, ecx
js 0x18004b071
call fcn.180021d40
test al, al
jne 0x18004b087
cmp r8d, 2
jne 0x18004b096
mov ecx, dword [rsi + 0x60]
test ecx, ecx
js 0x18004b096
call fcn.180021d40
test al, al
je 0x18004b096
mov r8d, dword [rsp + 0x60]
test r8b, r8b
jne 0x18004b09b
mov r12b, 1
jmp 0x18004b09e
mov r8d, dword [rsp + 0x60]
xor r12b, r12b
test r15b, r15b
je 0x18004b0c9
mov ecx, dword [rsi + 0x90]
test ecx, ecx
js 0x18004b0c9
call fcn.180021d40
test al, al
je 0x18004b0c9
test r8b, r8b
mov r8d, dword [rbp - 0x68]
jne 0x18004b0cd
test r8b, r8b
je 0x18004b0cd
mov r9b, 1
jmp 0x18004b0d5
mov r8d, dword [rbp - 0x68]
xor r9b, r9b
test r15b, r15b
je 0x18004b0e8
mov ecx, dword [rsi + 0x8c]
test ecx, ecx
js 0x18004b0e8
call fcn.180021d40
test al, al
jne 0x18004b100
test r14b, r14b
je 0x18004b111
mov ecx, dword [rsi + 0x90]
test ecx, ecx
js 0x18004b111
call fcn.180021d40
test al, al
je 0x18004b111
cmp byte [rsp + 0x60], 0
jne 0x18004b111
test r8b, r8b
je 0x18004b111
mov r8b, 1
jmp 0x18004b114
xor r8b, r8b
mov ecx, dword [rsi + 0x40]
test ecx, ecx
js 0x18004b190
call fcn.180021d40
test al, al
je 0x18004b190
test r10b, r10b
je 0x18004b130
mov ecx, 0x200004
jmp 0x18004b140
mov ecx, 0x200000
test r11b, r11b
mov eax, 0x20000c
cmovne ecx, eax
or ecx, ebx
mov r8d, ecx
lea rdx, [rdi + 0x4c]
mov rcx, rdi
call fcn.180048640
mov dword [rdi + 0xe78], 0xbe99999a
mov byte [rdi + 0xe7c], 1
mov rsi, qword [0x1800b50c0]
mov r12, qword [rsp + 0x70]
xor cl, cl
mov eax, dword [rdi + 0x54]
cmp dword [rdi + 0x50], eax
je 0x18004ba78
cmp byte [rbp + 0x198], 0
je 0x18004ba78
mov al, 1
jmp 0x18004ba7a
mov ecx, dword [rsi + 0x44]
test ecx, ecx
js 0x18004b1e0
call fcn.180021d40
test al, al
je 0x18004b1e0
test r10b, r10b
je 0x18004b1ac
mov ecx, 0x200005
jmp 0x18004b1bc
mov ecx, 0x200001
mov eax, 0x20000d
test r11b, r11b
cmovne ecx, eax
or ecx, ebx
lea rdx, [rdi + 0x4c]
mov r8d, ecx
mov rcx, rdi
call fcn.180048640
mov byte [rdi + 0xe7c], 1
mov dword [rdi + 0xe78], 0xbe99999a
jmp 0x18004b162
mov ecx, dword [rsi + 0x48]
test ecx, ecx
js 0x18004b273
call fcn.180021d40
mov r14d, dword [rsp + 0x5c]
test al, al
je 0x18004b278
test r14b, r14b
je 0x18004b278
mov r12, qword [rsp + 0x70]
cmp byte [r12 + 0x140], 0
je 0x18004b23b
mov rdx, qword [rbp - 0x48]
vmovss xmm0, dword [rdx + 0x60]
vsubss xmm1, xmm0, dword [r12 + 0x1978]
vmaxss xmm1, xmm1, xmm11
vmovss dword [rdx + 0x70], xmm1
xor eax, eax
mov dword [rdx + 0x78], eax
mov dword [rdx + 0x80], eax
jmp 0x18004b16e
movzx eax, r10b
lea r8d, [rax*4 + 0x200002]
or r8d, ebx
lea rdx, [rdi + 0x4c]
mov rcx, rdi
call fcn.180048640
mov byte [rdi + 0xe7c], 1
mov dword [rdi + 0xe78], 0xbe99999a
mov rsi, qword [0x1800b50c0]
jmp 0x18004b16e
mov r14d, dword [rsp + 0x5c]
mov ecx, dword [rsi + 0x4c]
test ecx, ecx
js 0x18004b2e2
call fcn.180021d40
test al, al
je 0x18004b2e2
test r14b, r14b
je 0x18004b2e2
mov r12, qword [rsp + 0x70]
cmp byte [r12 + 0x140], 0
je 0x18004b2d1
mov rax, qword [rsi + 0x1c08]
mov rcx, qword [rbp - 0x48]
vmovss xmm0, dword [rcx + 0x60]
vaddss xmm1, xmm0, dword [r12 + 0x1978]
vminss xmm2, xmm1, dword [rax + 0x68]
vmovss dword [rcx + 0x70], xmm2
xor eax, eax
mov dword [rcx + 0x78], eax
mov dword [rcx + 0x80], eax
jmp 0x18004b16e
movzx eax, r10b
lea r8d, [rax*4 + 0x200003]
jmp 0x18004b247
mov ecx, dword [rsi + 0x50]
test ecx, ecx
js 0x18004b34b
call fcn.180021d40
test al, al
je 0x18004b34b
test r14b, r14b
je 0x18004b34b
or ebx, 0x20000e
lea rdx, [rdi + 0x4c]
mov r8d, ebx
mov rcx, rdi
call fcn.180048640
mov byte [rdi + 0xe7c], 1
mov dword [rdi + 0xe78], 0xbe99999a
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, dword [rsp + 0x54]
mov r12, qword [rsp + 0x70]
vmulss xmm1, xmm0, dword [r12 + 0x1978]
vsubss xmm7, xmm7, xmm1
vmovss dword [rbp - 0x20], xmm7
mov rsi, qword [0x1800b50c0]
jmp 0x18004b16e
mov ecx, dword [rsi + 0x54]
test ecx, ecx
js 0x18004b3b4
call fcn.180021d40
test al, al
je 0x18004b3b4
test r14b, r14b
je 0x18004b3b4
or ebx, 0x20000f
lea rdx, [rdi + 0x4c]
mov r8d, ebx
mov rcx, rdi
call fcn.180048640
mov byte [rdi + 0xe7c], 1
mov dword [rdi + 0xe78], 0xbe99999a
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, dword [rsp + 0x54]
mov r12, qword [rsp + 0x70]
vmulss xmm1, xmm0, dword [r12 + 0x1978]
vaddss xmm7, xmm7, xmm1
vmovss dword [rbp - 0x20], xmm7
mov rsi, qword [0x1800b50c0]
jmp 0x18004b16e
mov ecx, dword [rsi + 0x58]
test ecx, ecx
js 0x18004b3eb
call fcn.180021d40
test al, al
je 0x18004b3eb
mov eax, ebx
or eax, 0x200006
mov r8d, 0x200004
or r8d, ebx
mov r12, qword [rsp + 0x70]
cmp byte [r12 + 0x140], 0
cmovne r8d, eax
jmp 0x18004b24a
mov ecx, dword [rsi + 0x5c]
test ecx, ecx
js 0x18004b422
call fcn.180021d40
test al, al
je 0x18004b422
mov eax, ebx
or eax, 0x200007
mov r8d, 0x200005
or r8d, ebx
mov r12, qword [rsp + 0x70]
cmp byte [r12 + 0x140], 0
cmovne r8d, eax
jmp 0x18004b24a
mov ecx, dword [rsi + 0x64]
test ecx, ecx
js 0x18004b44a
call fcn.180021d40
mov r10d, dword [rsp + 0x60]
test al, al
je 0x18004b44f
test r10b, r10b
jne 0x18004b44f
or ebx, 0x200008
mov r8d, ebx
jmp 0x18004b145
mov r10d, dword [rsp + 0x60]
mov ecx, dword [rsi + 0x68]
test ecx, ecx
js 0x18004b515
call fcn.180021d40
test al, al
je 0x18004b515
test r10b, r10b
jne 0x18004b515
mov eax, dword [rdi + 0x54]
cmp dword [rdi + 0x50], eax
jne 0x18004b4a0
test r11b, r11b
je 0x18004b4b3
lea rdx, [rdi + 0x4c]
mov r8d, 0x60000c
mov rcx, rdi
call fcn.180048640
mov byte [rdi + 0xe7c], 1
mov dword [rdi + 0xe78], 0xbe99999a
mov r12, qword [rsp + 0x70]
or ebx, 0x200009
mov r8d, ebx
jmp 0x18004b24a
mov r12, qword [rsp + 0x70]
cmp byte [r12 + 0xc9], 0
je 0x18004b4a5
cmp byte [r12 + 0x143], 0
je 0x18004b4a5
cmp byte [r12 + 0x142], 0
jne 0x18004b4a5
cmp byte [r12 + 0x140], 0
jne 0x18004b4a5
lea rdx, [rdi + 0x4c]
mov r8d, 0x600004
mov rcx, rdi
call fcn.180048640
mov byte [rdi + 0xe7c], 1
mov dword [rdi + 0xe78], 0xbe99999a
or ebx, 0x200009
mov r8d, ebx
jmp 0x18004b24a
mov ecx, dword [rsi + 0x70]
test ecx, ecx
js 0x18004b525
call fcn.180021d40
test al, al
jne 0x18004b539
mov ecx, dword [rsi + 0x78]
test ecx, ecx
js 0x18004b5b2
call fcn.180021d40
test al, al
je 0x18004b5b2
mov edx, dword [rsp + 0x68]
mov eax, edx
shr eax, 0xb
and al, 1
mov r12, qword [rsp + 0x70]
test r14b, r14b
je 0x18004b55f
movzx ecx, byte [r12 + 0x140]
test al, al
je 0x18004b56e
test cl, cl
jne 0x18004b572
mov byte [rsp + 0x64], 1
mov byte [rsp + 0x50], 1
jmp 0x18004b16e
test cl, cl
jne 0x18004b55f
test r10b, r10b
jne 0x18004b16e
mov dword [rbp - 0x68], 0xa
mov dword [rsp + 0x20], 2
mov r9, qword [rbp + 0x1c8]
mov r8, qword [rbp + 0x1c0]
lea rcx, [rbp - 0x68]
call fcn.180049a20
test al, al
je 0x18004b267
mov r8d, dword [rbp - 0x68]
jmp 0x18004b24a
mov ecx, dword [rsi + 0x74]
test ecx, ecx
js 0x18004b5d2
call fcn.180021d40
test al, al
je 0x18004b5d2
mov cl, 1
mov byte [rsp + 0x64], cl
mov r12, qword [rsp + 0x70]
jmp 0x18004b170
test r9b, r9b
jne 0x18004ba4f
test r8b, r8b
jne 0x18004ba4f
test r15b, r15b
je 0x18004b617
mov ecx, dword [rsi + 0x7c]
test ecx, ecx
js 0x18004b617
call fcn.180021d40
test al, al
je 0x18004b617
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], r8b
mov byte [rdi + 0xe7c], 1
jmp 0x18004b169
movzx eax, byte [rsp + 0x51]
test al, al
jne 0x18004b85e
test r13b, r13b
jne 0x18004b85e
test r12b, r12b
je 0x18004b169
mov rax, qword [rsi + 0x100]
test rax, rax
je 0x18004b66d
mov rcx, qword [rsi + 0x110]
call rax
mov rbx, rax
test rax, rax
je 0x18004b65c
mov rsi, qword [0x1800b50c0]
jmp 0x18004b674
mov r12, qword [rsp + 0x70]
mov rsi, qword [0x1800b50c0]
jmp 0x18004b16e
lea rbx, [0x18009ba83]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp byte [rbx + rax], 0
jne 0x18004b680
test rsi, rsi
je 0x18004b694
inc dword [rsi + 0x3b0]
inc eax
movsxd rcx, eax
add rcx, rcx
call fcn.1800708c8
mov r15, rax
mov qword [rbp + 0x10], rax
xor r12d, r12d
mov r14d, r12d
cmp byte [rbx], r12b
je 0x18004b723
mov rsi, rax
mov r13, qword [rbp + 0x1c0]
mov r15, qword [rbp + 0x1c8]
mov edi, dword [rsp + 0x68]
nop dword [rax + rax]
xor r8d, r8d
mov rdx, rbx
lea rcx, [rbp - 0x68]
call fcn.18001b520
movsxd rcx, eax
add rbx, rcx
cmp dword [rbp - 0x68], r12d
je 0x18004b71b
mov dword [rsp + 0x20], 5
mov r9, r15
mov r8, r13
mov edx, edi
lea rcx, [rbp - 0x68]
call fcn.180049a20
test al, al
je 0x18004b716
movzx eax, word [rbp - 0x68]
mov word [rsi], ax
inc r14d
add rsi, 2
cmp byte [rbx], r12b
jne 0x18004b6d0
mov rdi, qword [rbp - 0x10]
mov r15, qword [rbp + 0x10]
movsxd rax, r14d
mov word [r15 + rax*2], r12w
test r14d, r14d
jle 0x18004b83a
mov edx, dword [rdi + 4]
mov r8d, dword [rdi + 0x54]
mov eax, dword [rdi + 0x50]
mov ecx, edx
cmp eax, r8d
je 0x18004b771
mov r9d, eax
cmp eax, edx
jle 0x18004b752
mov dword [rdi + 0x50], edx
mov r9d, edx
mov r10d, r8d
cmp r8d, edx
jle 0x18004b762
mov dword [rdi + 0x54], edx
mov r10d, edx
mov ecx, edx
mov r8d, r10d
mov eax, r9d
cmp r9d, r10d
jne 0x18004b771
mov dword [rdi + 0x4c], r9d
mov r9d, dword [rdi + 0x4c]
cmp r9d, edx
jle 0x18004b780
mov dword [rdi + 0x4c], edx
mov r9d, edx
cmp eax, r8d
je 0x18004b7ae
mov edx, eax
cmp eax, ecx
jle 0x18004b790
mov dword [rdi + 0x50], ecx
mov edx, ecx
mov r10d, r8d
cmp r8d, ecx
jle 0x18004b79e
mov dword [rdi + 0x54], ecx
mov r10d, ecx
mov r8d, r10d
mov eax, edx
cmp edx, r10d
jne 0x18004b7ae
mov dword [rdi + 0x4c], edx
mov r9d, edx
cmp r9d, ecx
jle 0x18004b7b6
mov dword [rdi + 0x4c], ecx
cmp eax, r8d
je 0x18004b7f2
lea rdx, [rdi + 0x4c]
mov rcx, rdi
jge 0x18004b7da
sub r8d, eax
mov r9d, r8d
mov r8d, eax
call fcn.1800484c0
mov eax, dword [rdi + 0x50]
mov dword [rdi + 0x54], eax
jmp 0x18004b7eb
sub eax, r8d
mov r9d, eax
call fcn.1800484c0
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.180047fb0
test al, al
je 0x18004b833
mov esi, dword [rdi + 0x4c]
lea rcx, [rdi + 0x6c]
xor edx, edx
call fcn.180049540
test rax, rax
je 0x18004b82b
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 0x18004b851
mov rax, qword [0x1800b50c0]
test rax, rax
je 0x18004b851
dec dword [rax + 0x3b0]
mov rcx, r15
call fcn.18006c5c8
jmp 0x18004b162
mov r12, qword [rsp + 0x70]
cmp qword [r12 + 0x108], 0
je 0x18004b9a5
mov eax, dword [rdi + 0x54]
mov ecx, dword [rdi + 0x50]
cmp ecx, eax
je 0x18004b886
mov edx, eax
cmovl edx, ecx
cmovge eax, ecx
jmp 0x18004b88d
xor eax, eax
mov edx, eax
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]
xor eax, eax
mov ecx, eax
mov r13d, 0x80
mov r9d, 0x800
nop
test r8, r8
je 0x18004b8ba
cmp rdx, r8
jae 0x18004b8dd
movzx eax, word [rdx]
test ax, ax
je 0x18004b8dd
add rdx, 2
cmp ax, r13w
jae 0x18004b8d0
inc ecx
jmp 0x18004b8b0
cmp ax, r9w
sbb eax, eax
add eax, 3
add ecx, eax
jmp 0x18004b8b0
inc ecx
test rsi, rsi
je 0x18004b8ea
inc dword [rsi + 0x3b0]
movsxd rbx, ecx
mov rcx, rbx
call fcn.1800708c8
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 0x18004b956
test r11, r11
je 0x18004b91e
cmp r10, r11
jae 0x18004b956
movzx eax, word [r10]
test ax, ax
je 0x18004b956
mov r8d, eax
add r10, 2
cmp eax, r13d
jae 0x18004b93b
mov byte [r9], r8b
inc r9
jmp 0x18004b951
mov edx, r14d
sub edx, r9d
dec edx
mov rcx, r9
call fcn.18001b6d0
movsxd rcx, eax
add r9, rcx
cmp r9, rbx
jb 0x18004b914
mov byte [r9], 0
mov rax, qword [0x1800b50c0]
mov r8, qword [rax + 0x108]
test r8, r8
je 0x18004b981
mov rdx, rsi
mov rcx, qword [rax + 0x110]
call r8
mov rax, qword [0x1800b50c0]
test rsi, rsi
je 0x18004b991
test rax, rax
je 0x18004b991
dec dword [rax + 0x3b0]
mov rcx, rsi
call fcn.18006c5c8
mov rsi, qword [0x1800b50c0]
movzx eax, byte [rsp + 0x51]
test al, al
je 0x18004b16e
mov eax, dword [rdi + 0x54]
lea rbx, [rdi + 0x4c]
cmp dword [rdi + 0x50], eax
jne 0x18004b9ca
xor eax, eax
mov dword [rdi + 0x50], eax
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 0x18004b16e
mov ecx, dword [rdi + 4]
cmp eax, ecx
jle 0x18004b9ed
mov dword [rbx + 4], ecx
mov eax, ecx
cmp r8d, ecx
jle 0x18004b9f8
mov dword [rbx + 8], ecx
mov r8d, ecx
cmp eax, r8d
jne 0x18004b9ff
mov dword [rbx], eax
cmp dword [rbx], ecx
jle 0x18004ba05
mov dword [rbx], ecx
cmp eax, r8d
je 0x18004ba46
mov rdx, rbx
mov rcx, rdi
jge 0x18004ba28
sub r8d, eax
mov r9d, r8d
mov r8d, eax
call fcn.1800484c0
mov eax, dword [rbx + 4]
mov dword [rbx + 8], eax
jmp 0x18004ba39
sub eax, r8d
mov r9d, eax
call fcn.1800484c0
mov eax, dword [rbx + 8]
mov dword [rbx + 4], eax
mov dword [rbx], eax
mov byte [rbx + 0x16], 0
mov rsi, qword [0x1800b50c0]
mov byte [rbx + 0x16], 0
jmp 0x18004b16e
movzx r8d, r9b
xor r8d, 1
add r8d, 0x20000a
lea rdx, [rdi + 0x4c]
mov rcx, rdi
call fcn.180048640
mov eax, dword [rdi + 0x4c]
mov dword [rdi + 0x54], eax
mov dword [rdi + 0x50], eax
jmp 0x18004b151
xor al, al
mov edx, dword [rbp - 0x5c]
or dl, al
mov dword [rbp - 0x5c], edx
mov r14d, dword [rsp + 0x7c]
cmp dword [r12 + 0x1c50], r14d
jne 0x18004c247
xor r12d, r12d
mov qword [rbp - 0x68], r12
mov dword [rsp + 0x54], r12d
test cl, cl
je 0x18004bcbb
cmp byte [rsp + 0x60], r12b
jne 0x18004bc99
mov r9, qword [rdi + 0x38]
mov rax, qword [rbp + 0x1a0]
mov r8, r9
sub r8, rax
nop word [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x18004bae3
inc rax
test ecx, ecx
jne 0x18004bad0
test edx, edx
je 0x18004bc99
mov r12, r9
mov qword [rbp - 0x68], r9
mov eax, dword [rdi + 0x30]
dec eax
mov dword [rsp + 0x54], eax
xor ecx, ecx
mov qword [rbp - 0x38], rcx
mov r15d, ecx
mov r13d, ecx
mov qword [rbp - 0x30], rcx
test eax, eax
jle 0x18004bbf7
movsxd rbx, eax
add rbx, r9
mov r14, r9
nop dword [rax]
test rbx, rbx
je 0x18004bb2a
cmp r14, rbx
jae 0x18004bb52
cmp byte [r14], 0
je 0x18004bb52
mov r8, rbx
mov rdx, r14
lea rcx, [rsp + 0x6c]
call fcn.18001b520
movsxd rcx, eax
add r14, rcx
cmp dword [rsp + 0x6c], 0
je 0x18004bb52
inc r15d
jmp 0x18004bb20
inc r15d
test r15d, r15d
jle 0x18004bb90
mov r14d, r15d
cmp r15d, 8
mov eax, 8
cmovl r14d, eax
test r14d, r14d
jle 0x18004bb90
test rsi, rsi
je 0x18004bb7a
inc dword [rsi + 0x3b0]
movsxd rcx, r14d
add rcx, rcx
call fcn.1800708c8
mov r13, rax
mov qword [rbp - 0x30], rax
mov dword [rbp - 0x34], r14d
mov dword [rbp - 0x38], r15d
mov rsi, r12
mov r14, r13
movsxd r12, r15d
lea r12, [r12*2 - 2]
add r12, r13
cmp r13, r12
jae 0x18004bbea
nop dword [rax]
test rbx, rbx
je 0x18004bbba
cmp rsi, rbx
jae 0x18004bbea
cmp byte [rsi], 0
je 0x18004bbea
mov r8, rbx
mov rdx, rsi
lea rcx, [rsp + 0x6c]
call fcn.18001b520
movsxd rcx, eax
add rsi, rcx
mov eax, dword [rsp + 0x6c]
test eax, eax
je 0x18004bbea
mov word [r14], ax
add r14, 2
cmp r14, r12
jb 0x18004bbb0
xor r12d, r12d
mov word [r14], r12w
mov eax, dword [rsp + 0x54]
jmp 0x18004bbfa
xor r12d, r12d
lea ebx, [r15 - 1]
test eax, eax
cmovle ebx, r12d
movsxd rsi, dword [rdi + 4]
lea rcx, [rdi + 0x6c]
mov r9d, ebx
mov r8d, esi
xor edx, edx
call fcn.180049730
mov r9, rax
test rax, rax
je 0x18004bc45
test esi, esi
jle 0x18004bc45
mov rdx, r12
nop dword [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 0x18004bc30
mov r8d, dword [rdi + 4]
xor edx, edx
mov rcx, rdi
call fcn.180047ee0
test ebx, ebx
jle 0x18004bc72
mov r9d, ebx
mov r8, r13
xor edx, edx
mov rcx, rdi
call fcn.180047fb0
test al, al
je 0x18004bc72
mov dword [rdi + 0x4c], ebx
mov byte [rdi + 0x62], 0
test r13, r13
je 0x18004bc92
mov rax, qword [0x1800b50c0]
test rax, rax
je 0x18004bc89
dec dword [rax + 0x3b0]
mov rcx, r13
call fcn.18006c5c8
nop
mov rsi, qword [0x1800b50c0]
mov r9d, dword [rsp + 0x68]
cmp byte [rsp + 0x50], 0
je 0x18004bcab
test r9b, 0x20
jne 0x18004bcc0
mov r15, qword [rbp + 0x1a0]
mov r12d, dword [rbp - 0x80]
jmp 0x18004c159
mov r9d, dword [rsp + 0x68]
cmp byte [rsp + 0x60], 0
jne 0x18004bd68
mov byte [rdi + 0x40], 1
mov eax, dword [rdi + 0x10]
lea ebx, [rax*4 + 1]
mov ecx, dword [rdi + 0x24]
cmp ebx, ecx
jle 0x18004bd0b
test ecx, ecx
je 0x18004bcef
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18004bcf4
mov eax, 8
mov edx, ebx
cmp eax, ebx
cmovg edx, eax
lea rcx, [rdi + 0x20]
call fcn.18002ea70
mov rsi, qword [0x1800b50c0]
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 0x18004bd5f
movzx eax, word [r10]
test ax, ax
je 0x18004bd5f
mov r8d, eax
add r10, 2
cmp eax, 0x80
jae 0x18004bd44
mov byte [r9], r8b
inc r9
jmp 0x18004bd5a
mov edx, r11d
sub edx, r9d
dec edx
mov rcx, r9
call fcn.18001b6d0
movsxd rcx, eax
add r9, rcx
cmp r9, rbx
jb 0x18004bd25
mov byte [r9], 0
mov r9d, dword [rsp + 0x68]
test r9d, 0x801c0
je 0x18004c10b
mov r8d, 0x16
test r9b, 0x40
je 0x18004bd9a
mov ecx, dword [rsi + 0x3c]
test ecx, ecx
js 0x18004bd9a
call fcn.180021d40
test al, al
je 0x18004bd9a
lea eax, [r8 + 0x2a]
mov r8d, r12d
jmp 0x18004bdfe
test r9b, r9b
jns 0x18004bddd
mov ecx, dword [rsi + 0x48]
test ecx, ecx
js 0x18004bdbe
call fcn.180021d40
test al, al
je 0x18004bdbe
mov r10d, 0x80
mov eax, r10d
lea r8d, [r10 - 0x7d]
jmp 0x18004be04
mov ecx, dword [rsi + 0x4c]
test ecx, ecx
js 0x18004bddd
call fcn.180021d40
test al, al
je 0x18004bddd
mov r10d, 0x80
mov eax, r10d
lea r8d, [r10 - 0x7c]
jmp 0x18004be04
mov eax, 0x80000
test eax, r9d
je 0x18004bdf0
cmp byte [rdi + 0xe7e], 0
jne 0x18004bdfe
mov eax, 0x100
test eax, r9d
je 0x18004c10b
mov r10d, 0x80
mov dword [rbp + 0x38], r12d
mov qword [rbp + 0x51], r12
mov dword [rbp + 0x59], r12d
mov word [rbp + 0x5d], r12w
mov byte [rbp + 0x5f], 0
mov dword [rbp + 0x28], eax
mov dword [rbp + 0x2c], r9d
mov rax, qword [rbp + 0x1c8]
mov qword [rbp + 0x30], rax
mov dword [rbp + 0x3c], r8d
mov rax, qword [rdi + 0x28]
mov qword [rbp + 0x40], rax
mov eax, dword [rdi + 8]
mov dword [rbp + 0x48], eax
mov eax, dword [rdi + 0x44]
mov dword [rbp + 0x4c], eax
mov byte [rbp + 0x50], 0
mov rdx, qword [rdi + 0x18]
movsxd rax, dword [rdi + 0x4c]
lea r8, [rdx + rax*2]
mov rcx, rdx
mov ebx, r12d
mov r9d, 0x800
nop
test r8, r8
je 0x18004be6a
cmp rcx, r8
jae 0x18004be8d
movzx eax, word [rcx]
test ax, ax
je 0x18004be8d
add rcx, 2
cmp ax, r10w
jae 0x18004be80
inc ebx
jmp 0x18004be60
cmp ax, r9w
sbb eax, eax
add eax, 3
add ebx, eax
jmp 0x18004be60
mov dword [rbp + 0x54], ebx
movsxd rax, dword [rdi + 0x50]
lea r8, [rdx + rax*2]
mov rcx, rdx
mov r14d, r12d
nop
test r8, r8
je 0x18004beaa
cmp rcx, r8
jae 0x18004becf
movzx eax, word [rcx]
test ax, ax
je 0x18004becf
add rcx, 2
cmp ax, r10w
jae 0x18004bec1
inc r14d
jmp 0x18004bea0
cmp ax, r9w
sbb eax, eax
add eax, 3
add r14d, eax
jmp 0x18004bea0
mov dword [rbp + 0x58], r14d
movsxd rax, dword [rdi + 0x54]
lea rcx, [rdx + rax*2]
mov r15d, r12d
nop
test rcx, rcx
je 0x18004beea
cmp rdx, rcx
jae 0x18004bf0f
movzx eax, word [rdx]
test ax, ax
je 0x18004bf0f
add rdx, 2
cmp ax, r10w
jae 0x18004bf01
inc r15d
jmp 0x18004bee0
cmp ax, r9w
sbb eax, eax
add eax, 3
add r15d, eax
jmp 0x18004bee0
mov dword [rbp + 0x5c], r15d
lea rcx, [rbp + 0x28]
call qword [rbp + 0x1c0]
movzx r13d, byte [rbp + 0x50]
movsxd rcx, dword [rbp + 0x54]
cmp ecx, ebx
jne 0x18004bf2f
test r13b, r13b
je 0x18004bf79
mov rbx, qword [rbp + 0x40]
lea rsi, [rbx + rcx]
test rsi, rsi
je 0x18004bf41
cmp rbx, rsi
jae 0x18004bf68
cmp byte [rbx], 0
je 0x18004bf68
mov r8, rsi
mov rdx, rbx
lea rcx, [rsp + 0x6c]
call fcn.18001b520
movsxd rcx, eax
add rbx, rcx
cmp dword [rsp + 0x6c], 0
je 0x18004bf68
inc r12d
jmp 0x18004bf37
mov dword [rdi + 0x4c], r12d
mov byte [rdi + 0xe7c], 1
mov ecx, dword [rbp + 0x54]
xor r12d, r12d
movsxd rax, dword [rbp + 0x58]
cmp eax, r14d
jne 0x18004bf87
test r13b, r13b
je 0x18004bfd8
cmp eax, ecx
jne 0x18004bf91
mov r14d, dword [rdi + 0x4c]
jmp 0x18004bfd4
mov rbx, qword [rbp + 0x40]
lea rsi, [rbx + rax]
mov r14d, r12d
nop dword [rax]
test rsi, rsi
je 0x18004bfaa
cmp rbx, rsi
jae 0x18004bfd1
cmp byte [rbx], 0
je 0x18004bfd1
mov r8, rsi
mov rdx, rbx
lea rcx, [rsp + 0x6c]
call fcn.18001b520
movsxd rcx, eax
add rbx, rcx
cmp dword [rsp + 0x6c], 0
je 0x18004bfd1
inc r14d
jmp 0x18004bfa0
mov eax, dword [rbp + 0x58]
mov dword [rdi + 0x50], r14d
movsxd rcx, dword [rbp + 0x5c]
cmp ecx, r15d
jne 0x18004bfea
test r13b, r13b
je 0x18004c0ff
cmp ecx, eax
jne 0x18004c02f
mov r14d, dword [rdi + 0x50]
mov dword [rdi + 0x54], r14d
test r13b, r13b
je 0x18004c0ff
mov eax, dword [rbp + 0x48]
mov ecx, dword [rbp]
mov r12d, dword [rbp - 0x80]
cmp eax, ecx
jle 0x18004c089
test r12b, r12b
je 0x18004c089
mov ebx, dword [rdi + 0x10]
sub ebx, ecx
add ebx, eax
mov ecx, dword [rdi + 0x14]
cmp ebx, ecx
jle 0x18004c086
test ecx, ecx
je 0x18004c071
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18004c076
mov rbx, qword [rbp + 0x40]
lea rsi, [rbx + rcx]
mov r14d, r12d
nop word [rax + rax]
test rsi, rsi
je 0x18004c04a
cmp rbx, rsi
jae 0x18004bff2
cmp byte [rbx], 0
je 0x18004bff2
mov r8, rsi
mov rdx, rbx
lea rcx, [rsp + 0x6c]
call fcn.18001b520
movsxd rcx, eax
add rbx, rcx
cmp dword [rsp + 0x6c], 0
je 0x18004bff2
inc r14d
jmp 0x18004c040
mov eax, 8
mov edx, ebx
cmp eax, ebx
cmovg edx, eax
lea rcx, [rdi + 0x10]
call fcn.18002ebd0
mov dword [rdi + 0x10], ebx
mov rsi, qword [rbp + 0x40]
mov r15, qword [rdi + 0x18]
mov rbx, r15
movsxd r14, dword [rdi + 0x10]
dec r14
lea r14, [r15 + r14*2]
cmp r15, r14
jae 0x18004c0d3
cmp byte [rsi], 0
je 0x18004c0d3
xor r8d, r8d
mov rdx, rsi
lea rcx, [rsp + 0x6c]
call fcn.18001b520
movsxd rcx, eax
add rsi, rcx
mov eax, dword [rsp + 0x6c]
test eax, eax
je 0x18004c0d3
mov word [rbx], ax
add rbx, 2
cmp rbx, r14
jb 0x18004c0a4
xor eax, eax
mov word [rbx], ax
sub rbx, r15
sar rbx, 1
mov dword [rdi + 4], ebx
mov eax, dword [rbp + 0x48]
mov dword [rdi + 8], eax
mov dword [rdi + 0xe78], 0xbe99999a
mov rsi, qword [0x1800b50c0]
mov r9d, dword [rsp + 0x68]
jmp 0x18004c10f
mov rsi, qword [0x1800b50c0]
mov r9d, dword [rsp + 0x68]
mov r12d, dword [rbp - 0x80]
mov r15, qword [rbp + 0x1a0]
cmp byte [rsp + 0x60], 0
jne 0x18004c159
mov r9, qword [rdi + 0x28]
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 0x18004c143
inc rax
test ecx, ecx
jne 0x18004c130
test edx, edx
je 0x18004c154
mov r14, r9
mov ecx, dword [rdi + 8]
mov r9d, dword [rsp + 0x68]
jmp 0x18004c161
mov r9d, dword [rsp + 0x68]
mov r14, qword [rbp - 0x68]
mov ecx, dword [rsp + 0x54]
test r14, r14
je 0x18004c225
test r12b, r12b
je 0x18004c1eb
xor eax, eax
mov qword [rbp + 0x70], rax
vpxor xmm0, xmm0, xmm0
vmovdqu xmmword [rbp + 0x88], xmm0
mov dword [rbp + 0x60], 0x40000
mov dword [rbp + 0x64], r9d
mov qword [rbp + 0x78], r15
mov dword [rbp + 0x80], ecx
lea eax, [rcx + 1]
cmp dword [rbp + 0x1a8], eax
cmovge eax, dword [rbp + 0x1a8]
mov dword [rbp + 0x84], eax
mov rax, qword [rbp + 0x1c8]
mov qword [rbp + 0x68], rax
lea rcx, [rbp + 0x60]
call qword [rbp + 0x1c0]
mov r15, qword [rbp + 0x78]
mov qword [rbp + 0x1a0], r15
mov edx, dword [rbp + 0x84]
lea ecx, [rdx - 1]
cmp dword [rbp + 0x80], ecx
cmovl ecx, dword [rbp + 0x80]
mov rsi, qword [0x1800b50c0]
jmp 0x18004c1f1
mov edx, dword [rbp + 0x1a8]
lea eax, [rcx + 1]
cmp eax, edx
cmovl edx, eax
movsxd rbx, edx
cmp rbx, 1
jb 0x18004c220
jbe 0x18004c21a
lea r8, [rbx - 1]
mov rdx, r14
mov rcx, r15
call fcn.18006dec0
mov rsi, qword [0x1800b50c0]
mov byte [rbx + r15 - 1], 0
mov byte [rsp + 0x65], 1
xor ebx, ebx
mov dword [rdi + 0xe80], ebx
mov qword [rdi + 0xe88], rbx
mov qword [rdi + 0xe90], rbx
mov r12, qword [rsp + 0x70]
mov r14d, dword [rsp + 0x7c]
jmp 0x18004c249
xor ebx, ebx
cmp byte [rsp + 0x64], 0
je 0x18004c2b9
cmp dword [r12 + 0x1c50], r14d
jne 0x18004c2b9
mov ecx, dword [rsi + 0x1c50]
test ecx, ecx
setne al
mov byte [rsi + 0x1c5c], al
test ecx, ecx
je 0x18004c288
mov dword [rsi + 0x1c58], ebx
mov word [rsi + 0x1c5f], 0
mov dword [rsi + 0x1c8c], 0xffffffff
mov dword [rsi + 0x1c50], ebx
mov word [rsi + 0x1c5d], 0
mov qword [rsi + 0x1c80], rbx
mov word [rsi + 0x1c61], 0
mov qword [rsi + 0x1c64], 0
mov qword [rsi + 0x1c70], rbx
mov r10d, dword [rsp + 0x5c]
test r10b, r10b
jne 0x18004c38d
mov r8d, 1
mov edx, r14d
lea rcx, [rbp - 0x78]
call fcn.18001d980
mov rax, qword [0x1800b50c0]
vmovups xmm0, xmmword [rax + 0x1690]
vmovups xmmword [rbp - 0x38], xmm0
vshufps xmm0, xmm0, xmm0, 0xff
vmulss xmm0, xmm0, dword [rax + 0x1558]
vmovss dword [rbp - 0x2c], xmm0
lea rcx, [rbp - 0x38]
call fcn.18001b790
mov r8d, eax
vmovss xmm0, dword [r12 + 0x159c]
vmovss dword [rsp + 0x20], xmm0
mov r9b, 1
mov rdx, qword [rbp - 0x70]
vunpcklps xmm0, xmm9, xmm14
vmovq rcx, xmm0
call fcn.18001d6a0
vmovss dword [rbp - 0x38], xmm9
vaddss xmm15, xmm13, xmm9
vmovss dword [rbp - 0x30], xmm15
vaddss xmm12, xmm14, xmm8
vmovss dword [rbp - 0x2c], xmm12
vaddss xmm0, xmm9, dword [r12 + 0x1594]
vmovss dword [rbp - 0x10], xmm0
vaddss xmm1, xmm14, dword [r12 + 0x1598]
vmovss dword [rbp - 0xc], xmm1
lea r11, [rbp - 0x10]
vmovaps xmm10, xmm15
vmovaps xmm9, xmm12
vmovss dword [rbp - 0x68], xmm12
mov rsi, qword [0x1800b50c0]
mov r8, qword [rbp - 0x48]
mov r10d, dword [rsp + 0x5c]
jmp 0x18004c3cb
vmovss dword [rbp - 0x38], xmm9
vaddss xmm10, xmm13, xmm9
vmovaps xmm15, xmm10
vmovss dword [rbp - 0x30], xmm10
vaddss xmm9, xmm8, xmm14
vmovss dword [rbp - 0x68], xmm9
vmovaps xmm12, xmm9
vmovss dword [rbp - 0x2c], xmm9
mov r8, qword [rbp - 0x48]
vmovsd xmm0, qword [r8 + 0xd8]
vmovsd qword [rbp + 0x10], xmm0
lea r11, [rbp + 0x10]
vmovss dword [rbp - 0x80], xmm10
vmovss dword [rbp - 0x34], xmm14
vmovsd xmm0, qword [r11]
vmovsd qword [rbp - 0x40], xmm0
vmovss dword [rsp + 0x7c], xmm11
vmovaps xmm8, xmm11
vmovss dword [rsp + 0x54], xmm11
cmp byte [rsp + 0x58], 0
je 0x18004c404
mov r15, qword [rdi + 0x28]
mov qword [rbp + 0x1a0], r15
jmp 0x18004c40b
mov r15, qword [rbp + 0x1a0]
movzx eax, byte [rbp + 0x198]
mov ecx, dword [rbp - 0x5c]
test al, al
jne 0x18004c5f6
test cl, cl
jne 0x18004c5f6
test r10b, r10b
je 0x18004c481
mov ecx, ebx
movzx edx, byte [r15]
lea r14, [r15 + 1]
test dl, dl
je 0x18004c456
nop dword [rax + rax]
lea eax, [rcx + 1]
cmp dl, 0xa
cmovne eax, ecx
mov ecx, eax
movzx edx, byte [r14]
inc r14
test dl, dl
jne 0x18004c440
dec r14
movzx eax, byte [r14]
cmp al, 0xa
je 0x18004c467
cmp al, 0xd
je 0x18004c467
inc ecx
vmovss dword [rsp + 0x7c], xmm13
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, ecx
vmulss xmm6, xmm0, dword [r12 + 0x1978]
jmp 0x18004c4c4
cmp dword [r12 + 0x1c50], r14d
jne 0x18004c491
movsxd r14, dword [rdi + 8]
jmp 0x18004c4aa
mov r14, 0xffffffffffffffff
nop dword [rax + rax]
inc r14
cmp byte [r15 + r14], 0
jne 0x18004c4a0
add r14, r15
mov rax, r14
sub rax, r15
vmovaps xmm6, xmm11
cmp rax, 0x200000
jge 0x18004cefe
vmovups xmm0, xmmword [rsi + 0x1620]
vmovups xmmword [rbp - 0x78], xmm0
vshufps xmm0, xmm0, xmm0, 0xff
vmulss xmm0, xmm0, dword [rsi + 0x1558]
vmovss dword [rbp - 0x6c], xmm0
lea rcx, [rbp - 0x78]
call fcn.18001b790
mov r9d, eax
mov r8, qword [r8 + 0x280]
lea rdx, [rbp - 0x38]
test r10b, r10b
cmovne rdx, rbx
mov rcx, r14
vmovss xmm3, dword [r12 + 0x1978]
mov r10, qword [r12 + 0x1970]
test eax, 0xff000000
je 0x18004cefe
test r14, r14
jne 0x18004c53d
mov rcx, 0xffffffffffffffff
nop dword [rax]
inc rcx
cmp byte [r15 + rcx], 0
jne 0x18004c530
add rcx, r15
cmp r15, rcx
je 0x18004cefe
test r10, r10
jne 0x18004c553
mov rax, qword [r8 + 0x38]
mov r10, qword [rax + 8]
vucomiss xmm3, xmm11
jp 0x18004c565
jne 0x18004c565
mov rax, qword [r8 + 0x38]
vmovss xmm3, dword [rax + 0x10]
vmovups xmm0, xmmword [r8 + 0x88]
vmovups xmmword [rbp - 0x78], xmm0
test rdx, rdx
je 0x18004c5b3
vmovss xmm0, dword [rbp - 0x78]
vmaxss xmm1, xmm0, dword [rdx]
vmovss dword [rbp - 0x78], xmm1
vmovss xmm2, dword [rbp - 0x74]
vmaxss xmm0, xmm2, dword [rdx + 4]
vmovss dword [rbp - 0x74], xmm0
vmovss xmm1, dword [rbp - 0x70]
vminss xmm2, xmm1, dword [rdx + 8]
vmovss dword [rbp - 0x70], xmm2
vmovss xmm0, dword [rbp - 0x6c]
vminss xmm1, xmm0, dword [rdx + 0xc]
vmovss dword [rbp - 0x6c], xmm1
setne al
mov byte [rsp + 0x48], al
vmovss dword [rsp + 0x40], xmm11
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], r15
lea rax, [rbp - 0x78]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r9d
mov r9, qword [r11]
vmovaps xmm2, xmm3
mov rdx, r8
mov rcx, r10
call fcn.18003d5e0
mov rsi, qword [0x1800b50c0]
jmp 0x18004cefe
movsxd r13, dword [rdi + 8]
mov qword [rbp], r13
lea r14, [r15 + r13]
mov r12, qword [rdi + 0x18]
vmovaps xmm6, xmm11
vmovaps xmm7, xmm11
mov r10, rbx
mov r8d, 0xfffffc18
mov r11d, r8d
xor r9d, r9d
mov edx, r9d
test al, al
je 0x18004c636
movsxd rax, dword [rdi + 0x4c]
lea r10, [r12 + rax*2]
lea edx, [r9 + 1]
lea r8d, [r9 - 1]
test cl, cl
je 0x18004c653
mov ecx, dword [rdi + 0x54]
cmp dword [rdi + 0x50], ecx
cmovl ecx, dword [rdi + 0x50]
movsxd rax, ecx
lea rbx, [r12 + rax*2]
mov r11d, 0xffffffff
inc edx
movzx eax, byte [rsp + 0x5c]
add edx, eax
mov rax, r12
movzx ecx, word [r12]
test cx, cx
je 0x18004c6a4
cmp cx, 0xa
jne 0x18004c698
inc r9d
cmp r8d, 0xffffffff
jne 0x18004c684
cmp rax, r10
jb 0x18004c684
mov r8d, r9d
dec edx
test edx, edx
jle 0x18004c6a4
cmp r11d, 0xffffffff
jne 0x18004c698
cmp rax, rbx
jb 0x18004c698
mov r11d, r9d
dec edx
test edx, edx
jle 0x18004c6a4
add rax, 2
movzx ecx, word [rax]
test cx, cx
jne 0x18004c667
inc r9d
mov r15d, r9d
cmp r8d, 0xffffffff
cmovne r15d, r8d
cmp r11d, 0xffffffff
cmove r11d, r9d
mov rdx, r10
cmp r10, r12
jbe 0x18004c6d4
lea rax, [rdx - 2]
cmp word [rax], 0xa
je 0x18004c6d4
mov rdx, rax
cmp rax, r12
ja 0x18004c6c2
mov r8, qword [rsi + 0x1970]
vmovss xmm0, dword [rsi + 0x1978]
vdivss xmm3, xmm0, dword [r8 + 0x14]
vmovaps xmm2, xmm11
vmovaps xmm1, xmm11
cmp rdx, r10
jae 0x18004c73f
nop dword [rax + rax]
movzx ecx, word [rdx]
add rdx, 2
cmp ecx, 0xa
jne 0x18004c717
vmaxss xmm2, xmm2, xmm1
vmovaps xmm1, xmm11
jmp 0x18004c73a
cmp ecx, 0xd
je 0x18004c73a
cmp ecx, dword [r8]
jge 0x18004c72c
mov rax, qword [r8 + 8]
vmovss xmm0, dword [rax + rcx*4]
jmp 0x18004c732
vmovss xmm0, dword [r8 + 0x10]
vmulss xmm0, xmm0, xmm3
vaddss xmm1, xmm1, xmm0
cmp rdx, r10
jb 0x18004c700
vmaxss xmm13, xmm1, xmm2
mov rcx, qword [rsp + 0x70]
vmovss xmm4, dword [rcx + 0x1978]
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, r15d
vmulss xmm14, xmm0, xmm4
test r11d, r11d
js 0x18004c7e6
mov rdx, rbx
cmp rbx, r12
jbe 0x18004c782
nop
lea rax, [rdx - 2]
cmp word [rax], 0xa
je 0x18004c782
mov rdx, rax
cmp rax, r12
ja 0x18004c770
vmovaps xmm2, xmm11
vmovaps xmm1, xmm11
cmp rdx, rbx
jae 0x18004c7d5
movzx ecx, word [rdx]
add rdx, 2
cmp ecx, 0xa
jne 0x18004c7a8
vmaxss xmm2, xmm2, xmm1
vmovaps xmm1, xmm11
jmp 0x18004c7cb
cmp ecx, 0xd
je 0x18004c7cb
cmp ecx, dword [r8]
jge 0x18004c7bd
mov rax, qword [r8 + 8]
vmovss xmm0, dword [rax + rcx*4]
jmp 0x18004c7c3
vmovss xmm0, dword [r8 + 0x10]
vmulss xmm0, xmm3, xmm0
vaddss xmm1, xmm1, xmm0
cmp rdx, rbx
jb 0x18004c791
mov rcx, qword [rsp + 0x70]
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, r11d
vmulss xmm6, xmm0, xmm4
vmaxss xmm7, xmm1, xmm2
mov r10d, dword [rsp + 0x5c]
vmovss xmm1, dword [rbp + 8]
test r10b, r10b
je 0x18004c80e
vmovss dword [rsp + 0x7c], xmm1
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, r9d
vmulss xmm8, xmm0, xmm4
vmovss dword [rsp + 0x54], xmm8
movzx r11d, byte [rbp + 0x198]
test r11b, r11b
je 0x18004c90d
cmp byte [rdi + 0xe7c], 0
je 0x18004c90d
test dword [rsp + 0x68], 0x1000
jne 0x18004c87d
vmulss xmm2, xmm1, dword [0x1800a40a0]
vsubss xmm0, xmm1, dword [rcx + 0x1594]
vmovss xmm1, dword [rdi + 0x48]
vcomiss xmm1, xmm13
jbe 0x18004c85c
vsubss xmm0, xmm13, xmm2
vmaxss xmm0, xmm11, xmm0
jmp 0x18004c86a
vsubss xmm0, xmm13, xmm0
vcomiss xmm0, xmm1
jb 0x18004c882
vaddss xmm0, xmm2, xmm0
vcvttss2si eax, xmm0
vxorps xmm1, xmm1, xmm1
vcvtsi2ss xmm1, xmm1, eax
vmovss dword [rdi + 0x48], xmm1
jmp 0x18004c882
xor eax, eax
mov dword [rdi + 0x48], eax
test r10b, r10b
je 0x18004c906
vsubss xmm0, xmm14, dword [rcx + 0x1978]
vmovss xmm3, dword [rbp - 0x20]
vmovss xmm4, dword [rbp - 0x18]
vcomiss xmm3, xmm0
jbe 0x18004c8a5
vmaxss xmm3, xmm11, xmm0
jmp 0x18004c8bf
vsubss xmm2, xmm14, xmm4
vcomiss xmm2, xmm3
jb 0x18004c8bf
vmovss xmm0, dword [rcx + 0x1598]
vaddss xmm1, xmm0, xmm0
vaddss xmm3, xmm1, xmm2
vmovss xmm0, dword [rcx + 0x1598]
vcomiss xmm11, xmm3
jbe 0x18004c8d4
vmovaps xmm3, xmm11
jmp 0x18004c8ea
vaddss xmm0, xmm0, xmm0
vaddss xmm1, xmm0, xmm8
vsubss xmm2, xmm1, xmm4
vmaxss xmm0, xmm2, xmm11
vminss xmm3, xmm0, xmm3
mov rax, qword [rbp - 0x48]
vmovss xmm0, dword [rax + 0x60]
vsubss xmm2, xmm0, xmm3
vaddss xmm2, xmm2, dword [rbp - 0x3c]
vmovss dword [rbp - 0x3c], xmm2
vmovss dword [rax + 0x60], xmm3
mov byte [rdi + 0xe7c], 0
vmovss xmm11, dword [rdi + 0x48]
cmp byte [rbp - 0x5c], 0
je 0x18004cd59
mov r9d, dword [rdi + 0x54]
mov r8d, dword [rdi + 0x50]
mov eax, r9d
cmp r8d, r9d
cmovge eax, r8d
cdqe
lea r15, [r12 + rax*2]
vmovups xmm4, xmmword [rsi + 0x1910]
vmovups xmmword [rbp - 0x78], xmm4
xor eax, eax
vmovd xmm1, eax
vmovd xmm0, r11d
vpcmpeqd xmm2, xmm0, xmm1
vmovss xmm1, dword [0x1800a40b8]
vmovss xmm0, dword [rbp - 0x50]
vblendvps xmm0, xmm0, xmm1, xmm2
vmulss xmm3, xmm0, dword [rsi + 0x1558]
vshufps xmm4, xmm4, xmm4, 0xff
vmulss xmm0, xmm4, xmm3
vmovss dword [rbp - 0x6c], xmm0
lea rcx, [rbp - 0x78]
call fcn.18001b790
mov r13d, eax
xor r11d, r11d
vmovd xmm1, r11d
movzx ecx, r10b
vmovd xmm0, ecx
vpcmpeqd xmm2, xmm0, xmm1
vmovss xmm4, dword [rsp + 0x78]
vmovss xmm0, dword [rbp + 0x1c]
vblendvps xmm0, xmm4, xmm0, xmm2
vmovss dword [rsp + 0x6c], xmm0
vmovd xmm1, r11d
movzx ecx, r10b
vmovd xmm0, ecx
vpcmpeqd xmm2, xmm0, xmm1
vmovss xmm1, dword [0x1800a4108]
vblendvps xmm0, xmm4, xmm1, xmm2
vmovss dword [rbp - 0x18], xmm0
vmovss xmm8, dword [rbp - 0x40]
vaddss xmm1, xmm7, xmm8
vsubss xmm7, xmm1, xmm11
vaddss xmm2, xmm6, dword [rbp - 0x3c]
vsubss xmm6, xmm2, xmm4
cmp r8d, r9d
cmovl r9d, r8d
movsxd rax, r9d
lea rbx, [r12 + rax*2]
mov r12, qword [rsp + 0x70]
cmp rbx, r15
jae 0x18004cbe0
vmovss xmm9, dword [rsp + 0x6c]
vmovss xmm10, dword [rbp - 0x18]
nop dword [rax]
nop word [rax + rax]
vmovss xmm5, dword [r12 + 0x1978]
vaddss xmm0, xmm12, xmm5
vcomiss xmm6, xmm0
ja 0x18004cbd1
vmovss xmm0, dword [rbp - 0x58]
vcomiss xmm0, xmm6
jbe 0x18004ca6b
cmp rbx, r15
jae 0x18004cbb9
nop dword [rax]
movzx eax, word [rbx]
add rbx, 2
cmp ax, 0xa
je 0x18004cbb9
cmp rbx, r15
jb 0x18004ca50
jmp 0x18004cbb9
mov rdx, qword [rsi + 0x1970]
vmovss xmm0, dword [rsi + 0x1978]
vdivss xmm2, xmm0, dword [rdx + 0x14]
vmovaps xmm3, xmm4
vmovaps xmm1, xmm4
cmp rbx, r15
jae 0x18004cacb
movzx ecx, word [rbx]
add rbx, 2
cmp ecx, 0xa
je 0x18004cac3
cmp ecx, 0xd
je 0x18004ca87
cmp ecx, dword [rdx]
jge 0x18004cab4
mov rax, qword [rdx + 8]
vmovss xmm0, dword [rax + rcx*4]
vmulss xmm0, xmm0, xmm2
vaddss xmm1, xmm1, xmm0
jmp 0x18004ca87
vmovss xmm0, dword [rdx + 0x10]
vmulss xmm0, xmm0, xmm2
vaddss xmm1, xmm1, xmm0
jmp 0x18004ca87
vmaxss xmm3, xmm4, xmm1
vmovaps xmm1, xmm4
vmaxss xmm0, xmm1, xmm3
vcomiss xmm4, xmm0
jb 0x18004cb09
mov rax, qword [r12 + 0x1970]
cmp dword [rax], 0x20
jle 0x18004caf0
mov rax, qword [rax + 8]
vmovss xmm0, dword [rax + 0x80]
jmp 0x18004caf5
vmovss xmm0, dword [rax + 0x10]
vmulss xmm0, xmm0, dword [0x1800a40b4]
vcvttss2si eax, xmm0
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, eax
vaddss xmm3, xmm0, xmm7
vaddss xmm4, xmm10, xmm6
vaddss xmm2, xmm7, dword [rsp + 0x78]
vsubss xmm0, xmm9, xmm5
vaddss xmm1, xmm0, xmm6
vmovss xmm7, dword [rbp - 0x1c]
vmaxss xmm2, xmm2, xmm7
vmaxss xmm5, xmm1, dword [rbp - 0x58]
vmovss dword [rbp - 0x78], xmm2
vmovss dword [rbp - 0x74], xmm5
vminss xmm1, xmm3, xmm15
vminss xmm0, xmm4, xmm12
vmovss dword [rbp - 0x70], xmm1
vmovss dword [rbp - 0x6c], xmm0
vcomiss xmm0, dword [rbp - 0x58]
jbe 0x18004cbb3
vcomiss xmm12, xmm5
jbe 0x18004cbb3
vcomiss xmm1, xmm7
jbe 0x18004cbb3
vcomiss xmm15, xmm2
jbe 0x18004cbb3
mov dword [rsp + 0x28], r11d
vmovss xmm0, dword [rsp + 0x78]
vmovss dword [rsp + 0x20], xmm0
mov r9d, r13d
lea r8, [rbp - 0x70]
lea rdx, [rbp - 0x78]
mov rax, qword [rbp - 0x48]
mov rcx, qword [rax + 0x280]
call fcn.180039310
vmovss xmm0, dword [rbp - 0x80]
vmovss dword [rbp - 0x80], xmm0
vmovss xmm0, dword [rbp - 0x68]
vmovss dword [rbp - 0x68], xmm0
mov rsi, qword [0x1800b50c0]
vmovss xmm8, dword [rbp - 0x40]
xor r11d, r11d
vmovss xmm4, dword [rsp + 0x78]
vsubss xmm7, xmm8, xmm11
vaddss xmm6, xmm6, dword [r12 + 0x1978]
cmp rbx, r15
jb 0x18004ca20
vmovss xmm9, dword [rbp - 0x68]
vmovss xmm10, dword [rbp - 0x80]
mov r10d, dword [rsp + 0x5c]
mov r13, qword [rbp]
test r10b, r10b
jne 0x18004cbf6
cmp r13, 0x200000
jge 0x18004cd68
vmovups xmm0, xmmword [rsi + 0x1620]
vmovups xmmword [rbp - 0x78], xmm0
vshufps xmm0, xmm0, xmm0, 0xff
vmulss xmm0, xmm0, dword [rsi + 0x1558]
vmovss dword [rbp - 0x6c], xmm0
lea rcx, [rbp - 0x78]
call fcn.18001b790
mov r9d, eax
mov rbx, qword [rbp - 0x48]
mov r8, qword [rbx + 0x280]
mov rcx, r14
vsubss xmm0, xmm8, xmm11
vmovss dword [rbp - 0x10], xmm0
vmovss xmm1, dword [rbp - 0x3c]
vmovss xmm4, dword [rsp + 0x78]
vsubss xmm0, xmm1, xmm4
vmovss dword [rbp - 0xc], xmm0
vmovss xmm3, dword [r12 + 0x1978]
mov r10, qword [r12 + 0x1970]
lea rdx, [rbp - 0x38]
cmp byte [rsp + 0x5c], 0
mov eax, 0
cmovne rdx, rax
test r9d, 0xff000000
je 0x18004cd72
mov r15, qword [rbp + 0x1a0]
test r14, r14
jne 0x18004cc9d
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [r15 + rcx], al
jne 0x18004cc91
add rcx, r15
cmp r15, rcx
je 0x18004cd79
test r10, r10
jne 0x18004ccb3
mov rax, qword [r8 + 0x38]
mov r10, qword [rax + 8]
vucomiss xmm3, xmm4
jp 0x18004ccc4
jne 0x18004ccc4
mov rax, qword [r8 + 0x38]
vmovss xmm3, dword [rax + 0x10]
vmovups xmm0, xmmword [r8 + 0x88]
vmovups xmmword [rbp - 0x78], xmm0
test rdx, rdx
je 0x18004cd12
vmovss xmm0, dword [rbp - 0x78]
vmaxss xmm1, xmm0, dword [rdx]
vmovss dword [rbp - 0x78], xmm1
vmovss xmm2, dword [rbp - 0x74]
vmaxss xmm0, xmm2, dword [rdx + 4]
vmovss dword [rbp - 0x74], xmm0
vmovss xmm1, dword [rbp - 0x70]
vminss xmm2, xmm1, dword [rdx + 8]
vmovss dword [rbp - 0x70], xmm2
vmovss xmm0, dword [rbp - 0x6c]
vminss xmm1, xmm0, dword [rdx + 0xc]
vmovss dword [rbp - 0x6c], xmm1
setne al
mov byte [rsp + 0x48], al
vmovss dword [rsp + 0x40], xmm4
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], r15
lea rax, [rbp - 0x78]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r9d
mov r9, qword [rbp - 0x10]
vmovaps xmm2, xmm3
mov rdx, r8
mov rcx, r10
call fcn.18003d5e0
mov rsi, qword [0x1800b50c0]
vmovss xmm4, dword [rsp + 0x78]
jmp 0x18004cd79
vmovss xmm8, dword [rbp - 0x40]
mov r12, qword [rsp + 0x70]
jmp 0x18004cbe4
vmovss xmm4, dword [rsp + 0x78]
mov rbx, qword [rbp - 0x48]
mov r15, qword [rbp + 0x1a0]
cmp byte [rbp + 0x198], 0
je 0x18004ceed
vmovss xmm0, dword [r12 + 0x18]
vaddss xmm0, xmm0, dword [rdi + 0xe78]
vmovss dword [rdi + 0xe78], xmm0
cmp byte [r12 + 0xca], 0
je 0x18004cdcd
vcomiss xmm4, xmm0
jae 0x18004cdcd
vmovss xmm1, dword [0x1800a40f8]
call fcn.180088250
vmovss xmm1, dword [0x1800a40d8]
vcomiss xmm1, xmm0
jae 0x18004cdcd
xor cl, cl
jmp 0x18004cdcf
mov cl, 1
vaddss xmm0, xmm13, dword [rbp - 0x40]
vsubss xmm1, xmm0, xmm11
vcvttss2si eax, xmm1
vxorps xmm6, xmm6, xmm6
vcvtsi2ss xmm6, xmm6, eax
vaddss xmm1, xmm14, dword [rbp - 0x3c]
vmovss xmm11, dword [rsp + 0x78]
vsubss xmm1, xmm1, xmm11
vcvttss2si eax, xmm1
vxorps xmm7, xmm7, xmm7
vcvtsi2ss xmm7, xmm7, eax
vmovss dword [rbp - 0x38], xmm6
vsubss xmm0, xmm7, dword [r12 + 0x1978]
vaddss xmm2, xmm0, dword [0x1800a40b4]
vmovss dword [rbp - 0x34], xmm2
vmovss xmm8, dword [rbp - 0x50]
vaddss xmm3, xmm6, xmm8
vmovss dword [rbp - 0x30], xmm3
vsubss xmm1, xmm7, dword [0x1800a4104]
vmovss dword [rbp - 0x2c], xmm1
vmovss xmm14, dword [rbp - 0x58]
test cl, cl
je 0x18004cebb
vcomiss xmm1, xmm14
jbe 0x18004cebb
vcomiss xmm9, xmm2
jbe 0x18004cebb
vcomiss xmm3, dword [rbp - 0x1c]
jbe 0x18004cebb
vcomiss xmm10, xmm6
jbe 0x18004cebb
vmovups xmm0, xmmword [rsi + 0x1620]
vmovups xmmword [rbp - 0x78], xmm0
vshufps xmm0, xmm0, xmm0, 0xff
vmulss xmm0, xmm0, dword [rsi + 0x1558]
vmovss dword [rbp - 0x6c], xmm0
vmovss dword [rbp + 0x198], xmm6
vmovss dword [rbp + 0x19c], xmm1
lea rcx, [rbp - 0x78]
call fcn.18001b790
mov r9d, eax
vmovss dword [rsp + 0x20], xmm8
lea r8, [rbp + 0x198]
lea rdx, [rbp - 0x38]
mov rcx, qword [rbx + 0x280]
call fcn.1800390b0
mov rsi, qword [0x1800b50c0]
cmp byte [rsp + 0x60], 0
jne 0x18004cee5
vsubss xmm0, xmm6, xmm8
vsubss xmm1, xmm7, dword [r12 + 0x1978]
vmovss dword [r12 + 0x3080], xmm0
vmovss dword [r12 + 0x3084], xmm1
vmovss xmm6, dword [rsp + 0x54]
jmp 0x18004cf03
vmovss xmm6, dword [rsp + 0x54]
vmovss xmm11, dword [rsp + 0x78]
vmovss xmm14, dword [rbp - 0x58]
vmovss xmm8, dword [rbp - 0x50]
mov ebx, dword [rbp - 0x54]
test bl, bl
je 0x18004cf91
mov rbx, rsi
mov rax, qword [rsi + 0x1c08]
mov rcx, qword [rax + 0x280]
movsxd rdx, dword [rcx + 0x68]
lea eax, [rdx - 1]
mov dword [rcx + 0x68], eax
test eax, eax
jne 0x18004cf31
xor eax, eax
jmp 0x18004cf3a
mov rax, qword [rcx + 0x70]
mov rax, qword [rax + rdx*8 - 0x10]
mov qword [rcx + 0x98], rax
call fcn.1800368b0
movsxd rcx, dword [rsi + 0x1d80]
lea eax, [rcx - 1]
mov dword [rsi + 0x1d80], eax
mov rsi, qword [0x1800b50c0]
test eax, eax
jne 0x18004cf7d
mov rcx, qword [rsi + 0xb8]
test rcx, rcx
jne 0x18004cf89
mov rax, qword [rsi + 0xa8]
mov rcx, qword [rax + 0x50]
mov rcx, qword [rcx]
jmp 0x18004cf89
mov rax, qword [rbx + 0x1d88]
mov rcx, qword [rax + rcx*8 - 0x10]
call fcn.1800271b0
mov ebx, dword [rbp - 0x54]
cmp byte [rsp + 0x5c], 0
je 0x18004d039
vmovss xmm0, dword [rsp + 0x7c]
vmovss dword [rbp + 0x198], xmm0
vaddss xmm3, xmm6, dword [r12 + 0x1598]
vmovss dword [rbp + 0x19c], xmm3
mov rax, qword [rsi + 0x1c08]
mov byte [rax + 0x90], 1
mov rax, qword [rsi + 0x1c08]
cmp byte [rax + 0x93], 0
jne 0x18004d028
vmovss xmm2, dword [rax + 0xd8]
vaddss xmm4, xmm2, xmm0
vmovss xmm0, dword [rax + 0xdc]
vaddss xmm3, xmm0, xmm3
vmovss dword [rbp - 0x38], xmm2
vmovss dword [rbp - 0x34], xmm0
vmovss dword [rbp - 0x30], xmm4
vmovss dword [rbp - 0x2c], xmm3
vmovss xmm1, dword [rbp + 0x1c]
lea rcx, [rbp + 0x198]
call fcn.1800278f0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x38]
call fcn.180027a50
call fcn.1800220d0
call fcn.180027f90
mov rsi, qword [0x1800b50c0]
cmp byte [r12 + 0x30ec], 0
je 0x18004d1b8
test bl, bl
jne 0x18004d1b8
mov rbx, qword [rsi + 0x1c08]
xor eax, eax
mov qword [rsi + 0x3118], rax
mov qword [rsi + 0x3110], rax
test r14, r14
jne 0x18004d093
mov r14, r15
cmp r15, 0xffffffffffffffff
jae 0x18004d093
movzx ecx, byte [r14]
test cl, cl
je 0x18004d093
lea rax, [r14 + 1]
cmp cl, 0x23
jne 0x18004d08a
cmp byte [rax], cl
je 0x18004d093
mov r14, rax
cmp rax, 0xffffffffffffffff
jb 0x18004d075
vmovss xmm0, dword [rsi + 0x1598]
vaddss xmm1, xmm0, dword [rsi + 0x3120]
vaddss xmm2, xmm1, xmm8
vmovss xmm0, dword [rbp - 0x3c]
vmovss dword [rsi + 0x3120], xmm0
vcomiss xmm0, xmm2
jbe 0x18004d0ce
lea rcx, [0x1800a2464]
call fcn.18002cf10
mov byte [rsi + 0x3124], 1
lea r8, [0x1800a2cb5]
lea rdx, [0x1800a2cb4]
lea rcx, [rbp - 0x40]
call fcn.18002cf50
mov ecx, dword [rsi + 0x3128]
mov eax, dword [rbx + 0x158]
cmp ecx, eax
jle 0x18004d0fd
mov dword [rsi + 0x3128], eax
mov ecx, eax
mov edi, dword [rbx + 0x158]
sub edi, ecx
mov r12d, 1
nop dword [rax + rax]
mov r8, r14
sub r8, r15
mov edx, 0xa
mov rcx, r15
call fcn.180061210
mov rbx, r14
test rax, rax
cmovne rbx, rax
cmp r15, rbx
jne 0x18004d137
cmp rbx, r14
je 0x18004d195
mov r9d, ebx
sub r9d, r15d
cmp byte [rsi + 0x3124], 0
lea edx, [rdi*4]
jne 0x18004d150
mov edx, r12d
mov qword [rsp + 0x20], r15
lea r8, [0x18009ba83]
lea rcx, str._s_.s
call fcn.18002cf10
mov byte [rsi + 0x3124], 0
cmp byte [rbx], 0xa
jne 0x18004d187
lea rcx, [0x1800a2464]
call fcn.18002cf10
mov byte [rsi + 0x3124], r12b
cmp rbx, r14
je 0x18004d195
lea r15, [rbx + 1]
jmp 0x18004d110
lea r8, [0x1800a2cb1]
lea rdx, [0x1800a2cb0]
lea rcx, [rbp - 0x40]
call fcn.18002cf50
mov rsi, qword [0x1800b50c0]
mov r12, qword [rsp + 0x70]
vmovss xmm0, dword [rbp + 0x20]
vcomiss xmm0, xmm11
jbe 0x18004d1ff
vmovss xmm0, dword [rbp + 0x18]
vaddss xmm1, xmm0, dword [r12 + 0x15ac]
vaddss xmm0, xmm14, dword [r12 + 0x1598]
mov r9b, 1
xor r8d, r8d
mov rdx, qword [rbp + 0x190]
vunpcklps xmm0, xmm1, xmm0
vmovq rcx, xmm0
call fcn.18001c2e0
mov rsi, qword [0x1800b50c0]
movzx ecx, byte [rsp + 0x65]
mov eax, dword [rsp + 0x68]
test cl, cl
je 0x18004d222
bt eax, 0x1b
jb 0x18004d222
mov word [rsi + 0x1c60], 0x101
or dword [rsi + 0x1cc8], 4
test al, 0x20
mov eax, ecx
movzx ecx, byte [rsp + 0x50]
cmovne eax, ecx
jmp 0x180049f92