Function at 0x18003f040
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 - 0x168]
sub rsp, 0x230
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 [0x18008a040]
xor rax, rsp
mov qword [rbp + 0x88], rax
mov dword [rbp - 0x7c], r9d
mov qword [rbp - 0x68], r8
mov r12, rcx
mov qword [rbp - 0x38], rcx
mov rbx, qword [0x18008af10]
mov r14, rbx
mov qword [rsp + 0x70], rbx
mov rax, qword [rbx + 0x1c20]
mov byte [rax + 0xc1], 1
mov rsi, qword [rbx + 0x1c20]
mov qword [rbp - 0x40], rsi
cmp byte [rsi + 0xc4], 0
jne 0x18003f351
mov ecx, dword [rbp + 0x198]
mov edi, ecx
shr edi, 0x14
and dil, 1
mov dword [rsp + 0x54], edi
mov eax, ecx
shr eax, 0xe
and al, 1
mov dword [rsp + 0x6c], eax
mov eax, ecx
shr eax, 0xf
and al, 1
mov dword [rbp - 0x70], eax
mov eax, ecx
shr eax, 0x10
not al
and al, 1
mov dword [rsp + 0x5c], eax
mov eax, ecx
shr eax, 0x12
and al, 1
mov dword [rbp - 0x58], eax
test dil, dil
je 0x18003f147
call fcn.180011e80
mov rbx, qword [0x18008af10]
movsxd r8, dword [rsi + 0x108]
mov rax, qword [rsi + 0x110]
mov r8d, dword [rax + r8*4 - 4]
xor edx, edx
mov rcx, r12
call fcn.180003a40
mov r15d, eax
mov dword [rsp + 0x68], eax
cmp dword [rbx + 0x1c78], eax
jne 0x18003f179
mov dword [rbx + 0x1c7c], eax
cmp dword [rbx + 0x1cb8], r15d
jne 0x18003f189
mov byte [rbx + 0x1cbc], 1
mov rcx, r12
cmp r12, 0xffffffffffffffff
jae 0x18003f1af
movzx edx, byte [rcx]
test dl, dl
je 0x18003f1af
lea rax, [rcx + 1]
cmp dl, 0x23
jne 0x18003f1a6
cmp byte [rax], dl
je 0x18003f1af
mov rcx, rax
cmp rax, 0xffffffffffffffff
jb 0x18003f192
movss xmm0, dword [rbx + 0x1ac0]
xor eax, eax
movss xmm1, dword [0x180080198]
movss dword [rbp - 0x4c], xmm1
movss xmm9, dword [0x18008018c]
cmp r12, rcx
jne 0x18003f1d9
xorps xmm7, xmm7
jmp 0x18003f222
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], r12
movss dword [rsp + 0x20], xmm1
movaps xmm3, xmm9
movaps xmm2, xmm0
lea rdx, [rbp - 0x60]
mov rcx, qword [rbx + 0x1ab8]
call fcn.1800322c0
movss xmm0, dword [rbp - 0x60]
addss xmm0, dword [0x18008004c]
cvttss2si eax, xmm0
movd xmm7, eax
cvtdq2ps xmm7, xmm7
movss xmm0, dword [rbp - 0x5c]
xorps xmm10, xmm10
movss dword [rbp - 0x48], xmm7
test dil, dil
je 0x18003f241
movss xmm0, dword [r14 + 0x1ac0]
mulss xmm0, dword [0x1800800c8]
movss xmm6, dword [r14 + 0x167c]
movaps xmm3, xmm6
addss xmm3, xmm6
addss xmm3, xmm0
call fcn.180011d00
movaps xmm2, xmm0
mov rdx, qword [rbp + 0x190]
mov rdx, qword [rdx]
lea rcx, [rbp - 0x60]
call fcn.180011d70
comiss xmm7, xmm10
jbe 0x18003f284
movaps xmm2, xmm7
addss xmm2, dword [r14 + 0x1690]
jmp 0x18003f287
xorps xmm2, xmm2
movss xmm5, dword [rsi + 0x11c]
movaps xmm1, xmm5
movss xmm8, dword [rbp - 0x5c]
addss xmm1, xmm8
movss xmm4, dword [rsi + 0x118]
movaps xmm0, xmm4
movss xmm7, dword [rbp - 0x60]
movss dword [rbp - 0x50], xmm7
addss xmm0, xmm7
movss dword [rbp - 0x30], xmm4
movss dword [rbp - 0x2c], xmm5
movss dword [rbp - 0x28], xmm0
movss dword [rbp - 0x24], xmm1
movaps xmm3, xmm5
addss xmm3, xmm8
addss xmm2, xmm7
addss xmm2, xmm4
movss dword [rbp + 0x50], xmm4
movss dword [rbp + 0x54], xmm5
movss dword [rbp + 0x58], xmm2
movss dword [rbp + 0x5c], xmm3
mov rbx, rsi
mov qword [rbp - 0x78], rbx
mov r13d, 1
test dil, dil
je 0x18003f61b
lea r8, [rbp - 0x30]
mov edx, r15d
lea rcx, [rbp + 0x50]
call fcn.180011a50
test al, al
jne 0x18003f3b5
movss xmm0, dword [rbp + 0x58]
subss xmm0, dword [rbp + 0x50]
movss dword [rbp - 0x60], xmm0
movss xmm1, dword [rbp + 0x5c]
subss xmm1, dword [rbp + 0x54]
movss dword [rbp - 0x5c], xmm1
movss xmm1, dword [r14 + 0x167c]
lea rcx, [rbp - 0x60]
call fcn.180011910
call fcn.180011f90
xor al, al
mov rcx, qword [rbp + 0x88]
xor rcx, rsp
call fcn.180073200
lea r11, [rsp + 0x230]
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 rbx, qword [0x18008af10]
mov dword [rbp + 0x70], 3
movups xmm0, xmmword [rbx + 0x172c]
movups xmmword [rbp + 0x74], xmm0
lea rcx, [rbx + 0x1d78]
lea rdx, [rbp + 0x70]
call fcn.180023490
movups xmm0, xmmword [r14 + 0x176c]
movups xmmword [rbx + 0x172c], xmm0
movss xmm1, dword [r14 + 0x1680]
mov ecx, 6
call fcn.1800042a0
movss xmm1, dword [r14 + 0x1684]
mov ecx, 7
call fcn.1800042a0
lea rdx, [r14 + 0x1678]
mov ecx, r13d
call fcn.180004320
movss xmm1, dword [rbp - 0x24]
movss xmm15, dword [rbp - 0x2c]
subss xmm1, xmm15
movss xmm0, dword [rbp - 0x28]
movss xmm11, dword [rbp - 0x30]
subss xmm0, xmm11
movss dword [rbp - 0x78], xmm0
movss dword [rbp - 0x74], xmm1
mov dword [rsp + 0x20], 0x10004
movzx r9d, r13b
lea r8, [rbp - 0x78]
mov edx, r15d
mov rcx, r12
call fcn.18000ab80
movzx r11d, al
mov r8, qword [0x18008af10]
movsxd rcx, dword [r8 + 0x1d88]
lea rdx, [rcx + rcx*2]
mov r9, qword [r8 + 0x1d90]
movsxd rcx, dword [r9 + rdx*4 - 0xc]
lea rax, [rcx + rcx*2]
lea rbx, [0x1800780c0]
mov ecx, dword [rbx + rax*4 + 8]
cmp dword [rbx + rax*4], 8
jne 0x18003f4d5
mov eax, dword [rbx + rax*4 + 4]
cmp eax, r13d
jne 0x18003f4b6
mov eax, dword [r9 + rdx*4 - 8]
mov dword [rcx + r8 + 0x1640], eax
jmp 0x18003f4d5
cmp eax, 2
jne 0x18003f4d5
mov eax, dword [r9 + rdx*4 - 8]
mov dword [rcx + r8 + 0x1640], eax
mov eax, dword [r9 + rdx*4 - 4]
mov dword [rcx + r8 + 0x1644], eax
movsxd rcx, dword [r8 + 0x1d88]
lea eax, [rcx - 1]
mov dword [r8 + 0x1d88], eax
lea rax, [rcx - 2]
lea rcx, [rax + rax*2]
mov rdx, qword [r8 + 0x1d90]
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 0x18003f53e
mov eax, dword [rbx + r10*4 + 4]
cmp eax, r13d
jne 0x18003f521
mov eax, dword [rdx + rcx*4 + 4]
mov dword [r9 + r8 + 0x1640], eax
jmp 0x18003f53e
cmp eax, 2
jne 0x18003f53e
mov eax, dword [rdx + rcx*4 + 4]
mov dword [r9 + r8 + 0x1640], eax
mov eax, dword [rdx + rcx*4 + 8]
mov dword [r9 + r8 + 0x1644], eax
movsxd rcx, dword [r8 + 0x1d88]
lea eax, [rcx - 1]
mov dword [r8 + 0x1d88], eax
lea rax, [rcx - 2]
lea rcx, [rax + rax*2]
mov rdx, qword [r8 + 0x1d90]
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 0x18003f5a7
mov eax, dword [rbx + r10*4 + 4]
cmp eax, r13d
jne 0x18003f58a
mov eax, dword [rdx + rcx*4 + 4]
mov dword [r9 + r8 + 0x1640], eax
jmp 0x18003f5a7
cmp eax, 2
jne 0x18003f5a7
mov eax, dword [rdx + rcx*4 + 4]
mov dword [r9 + r8 + 0x1640], eax
mov eax, dword [rdx + rcx*4 + 8]
mov dword [r9 + r8 + 0x1644], eax
dec dword [r8 + 0x1d88]
movsxd rax, dword [r8 + 0x1d78]
lea rdx, [rax + rax*4]
mov rcx, qword [r8 + 0x1d80]
movsxd rax, dword [rcx + rdx*4 - 0x14]
add rax, rax
movups xmm0, xmmword [rcx + rdx*4 - 0x10]
movups xmmword [r8 + rax*8 + 0x16fc], xmm0
dec dword [r8 + 0x1d78]
test r11b, r11b
jne 0x18003f5ec
call fcn.18000aec0
jmp 0x18003f34c
mov rbx, qword [r14 + 0x1c20]
mov qword [rbp - 0x78], rbx
mov ecx, dword [rbx + 0x18c]
mov eax, dword [rbx + 0x184]
bts ecx, eax
mov dword [rbx + 0x18c], ecx
subss xmm7, dword [rbx + 0xb4]
movss dword [rbp - 0x50], xmm7
jmp 0x18003f660
subss xmm3, xmm5
subss xmm2, xmm4
movss dword [rsp + 0x60], xmm2
movss dword [rsp + 0x64], xmm3
movaps xmm1, xmm6
lea rcx, [rsp + 0x60]
call fcn.180011910
lea r8, [rbp - 0x30]
mov edx, r15d
lea rcx, [rbp + 0x50]
call fcn.180011a50
test al, al
je 0x18003f351
movss xmm15, dword [rbp - 0x2c]
movss xmm11, dword [rbp - 0x30]
mov edx, r15d
lea rcx, [rbp - 0x30]
call fcn.180005ea0
movzx r11d, al
mov byte [rsp + 0x7b], al
test al, al
je 0x18003f67f
mov dword [r14 + 0x1f80], r13d
mov r13, qword [0x18008af10]
add r13, 0x2080
cmp dword [r13], r15d
mov eax, 0
cmovne r13, rax
mov qword [rsp + 0x60], r13
mov edx, r15d
mov rcx, rsi
call fcn.180006060
movzx edi, al
test al, al
je 0x18003f6ce
cmp qword [r14 + 0x1f58], rsi
jne 0x18003f6ce
mov ecx, dword [rsi + 0x1f8]
cmp dword [r14 + 0x1f68], ecx
jne 0x18003f6ce
mov r12b, 1
jmp 0x18003f6db
xor r12b, r12b
test dil, dil
mov byte [rsp + 0x52], 1
jne 0x18003f6e0
mov byte [rsp + 0x52], 0
test r11b, r11b
je 0x18003f6f4
cmp byte [r14 + 0x418], 0
je 0x18003f6f4
mov sil, 1
jmp 0x18003f6f7
xor sil, sil
mov byte [rsp + 0x51], sil
mov eax, dword [r14 + 0x1c78]
cmp eax, r15d
je 0x18003f729
cmp dword [r14 + 0x1e1c], r15d
je 0x18003f724
cmp dword [r14 + 0x1e10], r15d
jne 0x18003f729
cmp dword [r14 + 0x1e34], 3
jne 0x18003f729
mov r15b, 1
jmp 0x18003f72c
xor r15b, r15b
mov byte [rsp + 0x79], r15b
cmp byte [rsp + 0x54], 0
je 0x18003f76f
test r13, r13
je 0x18003f76f
test eax, eax
jne 0x18003f76f
movsxd r8, dword [rbx + 0x108]
mov rax, qword [rbx + 0x110]
mov r8d, dword [rax + r8*4 - 4]
xor edx, edx
lea rcx, str.SCROLLY
call fcn.180003a40
cmp dword [r14 + 0x1cb8], eax
jne 0x18003f76f
mov bl, 1
jmp 0x18003f77c
xor bl, bl
cmp byte [rsp + 0x54], bl
je 0x18003f7ae
test r13, r13
je 0x18003f7ae
mov r13, qword [rbp - 0x78]
movsxd r8, dword [r13 + 0x108]
mov rax, qword [r13 + 0x110]
mov r8d, dword [rax + r8*4 - 4]
xor edx, edx
lea rcx, str.SCROLLY
call fcn.180003a40
cmp dword [r14 + 0x1c78], eax
jne 0x18003f7b2
mov al, 1
jmp 0x18003f7b4
mov r13, qword [rbp - 0x78]
xor al, al
mov byte [rsp + 0x50], al
mov byte [rsp + 0x58], 0
mov ecx, dword [rsp + 0x68]
cmp dword [r14 + 0x1c78], ecx
je 0x18003f7e9
test byte [rbp + 0x198], 0x10
jne 0x18003f7d8
test r15b, r15b
je 0x18003f7e9
mov ecx, dword [rsp + 0x54]
test cl, cl
jne 0x18003f7ed
mov r14b, 1
mov dword [rbp + 0x60], r14d
jmp 0x18003f801
mov ecx, dword [rsp + 0x54]
xor r14b, r14b
mov dword [rbp + 0x60], r14d
test cl, cl
je 0x18003f801
movss xmm9, dword [r13 + 0x90]
test dil, dil
jne 0x18003f98b
test sil, sil
jne 0x18003f98b
test bl, bl
jne 0x18003f98b
test r15b, r15b
jne 0x18003f98b
test al, al
jne 0x18003f98e
xor r13b, r13b
mov edi, dword [rsp + 0x68]
mov ebx, dword [rsp + 0x54]
mov rsi, qword [rsp + 0x60]
mov r12, qword [rsp + 0x70]
cmp dword [r12 + 0x1c78], edi
je 0x18003f8ed
test r15b, r15b
je 0x18003f8df
mov rdx, qword [rbp - 0x40]
mov ecx, edi
call fcn.180005c80
call fcn.180013960
mov rcx, rdx
call fcn.180010e20
mov eax, dword [r12 + 0x1c8c]
or eax, 3
mov dword [r12 + 0x1c8c], eax
mov ecx, dword [rbp + 0x198]
test bl, bl
jne 0x18003f891
test cl, cl
jns 0x18003f89c
or eax, 0xc
mov dword [r12 + 0x1c8c], eax
or dword [r12 + 0x1c90], 2
mov rax, qword [r12 + 0x1c98]
or rax, 0x180
mov qword [r12 + 0x1c98], rax
test bl, bl
je 0x18003f8cb
or rax, 0x60
mov qword [r12 + 0x1c98], rax
test ecx, 0x440
je 0x18003f8df
or rax, 1
mov qword [r12 + 0x1c98], rax
cmp dword [r12 + 0x1c78], edi
jne 0x18003fbc0
test rsi, rsi
jne 0x18003f950
mov rdx, qword [0x18008af10]
mov ecx, dword [rdx + 0x1c78]
test ecx, ecx
setne al
mov byte [rdx + 0x1c84], al
xor r8d, r8d
test ecx, ecx
je 0x18003f920
mov dword [rdx + 0x1c80], r8d
mov word [rdx + 0x1c87], r8w
mov dword [rdx + 0x1c78], r8d
mov word [rdx + 0x1c85], 0
mov qword [rdx + 0x1ca8], r8
mov byte [rdx + 0x1c89], 0
mov qword [rdx + 0x1c8c], 0
mov qword [rdx + 0x1c98], r8
cmp dword [r12 + 0x1c78], edi
jne 0x18003fbc0
cmp byte [r12 + 0x418], 0
je 0x18003fbcc
test r13b, r13b
jne 0x18003fbcc
test r15b, r15b
jne 0x18003fbcc
mov byte [rsp + 0x58], 1
mov cl, 1
jmp 0x18003fbd2
mov r15b, 1
mov r13b, 1
mov rax, qword [rsp + 0x70]
mov edi, dword [rsp + 0x68]
cmp dword [rax + 0x1c78], edi
je 0x18003f833
lea rsi, [rax + 0x2080]
mov qword [rsp + 0x60], rsi
mov dword [rsi + 0xe78], 0xbe99999a
mov rax, 0xffffffffffffffff
mov r14, qword [rbp - 0x68]
nop word [rax + rax]
lea rax, [rax + 1]
cmp byte [r14 + rax], 0
jne 0x18003f9d0
lea ebx, [rax + 1]
mov ecx, dword [rsi + 0x34]
cmp ebx, ecx
jle 0x18003fa09
test ecx, ecx
je 0x18003f9f4
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18003f9f9
mov eax, 8
mov edx, ebx
cmp eax, ebx
cmovg edx, eax
lea rcx, [rsi + 0x30]
call fcn.180023cb0
mov dword [rsi + 0x30], ebx
movsxd r8, ebx
mov rdx, r14
mov rcx, qword [rsi + 0x38]
call sub.VCRUNTIME140.dll_memcpy
mov ebx, dword [rbp - 0x7c]
inc ebx
mov ecx, dword [rsi + 0x14]
cmp ebx, ecx
jle 0x18003fa4b
test ecx, ecx
je 0x18003fa36
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18003fa3b
mov eax, 8
mov edx, ebx
cmp eax, ebx
cmovg edx, eax
lea rcx, [rsi + 0x10]
call fcn.180023d40
mov dword [rsi + 0x10], ebx
mov ecx, dword [rsi + 0x24]
test ecx, ecx
jns 0x18003fa6e
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor edx, edx
test eax, eax
cmovg edx, eax
lea rcx, [rsi + 0x20]
call fcn.180023cb0
xor ecx, ecx
mov dword [rsi + 0x20], ecx
mov byte [rsi + 0x40], cl
mov rdi, r14
mov r14, qword [rsi + 0x18]
mov rbx, r14
movsxd rsi, dword [rbp - 0x7c]
dec rsi
lea rsi, [r14 + rsi*2]
cmp r14, rsi
jae 0x18003fac1
cmp byte [rdi], 0
je 0x18003fabf
xor r8d, r8d
mov rdx, rdi
lea rcx, [rsp + 0x7c]
call fcn.180003d60
movsxd rcx, eax
add rdi, rcx
mov eax, dword [rsp + 0x7c]
test eax, eax
je 0x18003fabf
mov word [rbx], ax
add rbx, 2
cmp rbx, rsi
jb 0x18003fa90
xor ecx, ecx
mov word [rbx], cx
sub rbx, r14
sar rbx, 1
mov rsi, qword [rsp + 0x60]
mov dword [rsi + 4], ebx
sub edi, dword [rbp - 0x68]
mov dword [rsi + 8], edi
mov edi, dword [rsp + 0x68]
cmp dword [rsi], edi
jne 0x18003fb4f
mov ecx, ebx
cmp dword [rsi + 0x4c], ebx
cmovl ecx, dword [rsi + 0x4c]
mov dword [rsi + 0x4c], ecx
mov ecx, ebx
cmp dword [rsi + 0x50], ebx
cmovl ecx, dword [rsi + 0x50]
mov dword [rsi + 0x50], ecx
cmp dword [rsi + 0x54], ebx
cmovl ebx, dword [rsi + 0x54]
mov dword [rsi + 0x54], ebx
mov ebx, dword [rsp + 0x54]
mov r14d, dword [rbp + 0x60]
test dword [rbp + 0x198], 0x2000
je 0x18003fb1a
mov byte [rsi + 0x58], 1
test bl, bl
jne 0x18003f83c
cmp byte [rsp + 0x52], bl
jne 0x18003fb43
cmp byte [rsp + 0x51], bl
je 0x18003f83c
mov rax, qword [rsp + 0x70]
cmp byte [rax + 0x13c], bl
je 0x18003f83c
mov r14b, 1
mov dword [rbp + 0x60], r14d
jmp 0x18003f83c
mov dword [rsi], edi
mov qword [rsi + 0x48], 0
mov dword [rsi + 0xe6a], 0x630000
mov dword [rsi + 0xe70], ecx
mov dword [rsi + 0xe74], 0x3e7
mov qword [rsi + 0x50], 0
mov word [rsi + 0x61], 1
mov dword [rsi + 0x68], ecx
mov byte [rsi + 0x60], 0
mov ebx, dword [rsp + 0x54]
movzx eax, bl
xor al, 1
mov byte [rsi + 0x63], al
mov byte [rsi + 0x58], 0
mov dword [rsi + 0x5c], ecx
test bl, bl
jne 0x18003fb06
mov r14d, dword [rbp + 0x60]
movzx r14d, r14b
test r12b, r12b
mov eax, 1
cmovne r14d, eax
mov dword [rbp + 0x60], r14d
jmp 0x18003fb0a
test rsi, rsi
je 0x18003fbd0
cmp byte [rsp + 0x50], 0
je 0x18003fbd0
mov cl, 1
jmp 0x18003fbd2
xor cl, cl
mov byte [rsp + 0x50], cl
test rsi, rsi
je 0x18003fbec
mov eax, dword [rsi + 0x54]
cmp dword [rsi + 0x50], eax
je 0x18003fbec
test cl, cl
je 0x18003fbec
mov r13b, 1
jmp 0x18003fbef
xor r13b, r13b
mov dword [rbp - 0x80], r13d
movzx r15d, r13b
mov byte [rsp + 0x78], 0
mov byte [rsp + 0x52], 0
cmp byte [rsp + 0x6c], 0
je 0x18003fd10
test rsi, rsi
je 0x18003fd10
test cl, cl
jne 0x18003fc22
test r13b, r13b
je 0x18003fd19
lea rbx, [rsi + 0x10]
mov esi, dword [rbp - 0x7c]
inc esi
mov ecx, dword [rbx + 4]
cmp esi, ecx
jle 0x18003fc55
test ecx, ecx
je 0x18003fc41
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18003fc46
mov eax, 8
mov edx, esi
cmp eax, esi
cmovg edx, eax
mov rcx, rbx
call fcn.180023d40
mov dword [rbx], esi
mov rcx, qword [rbp - 0x68]
mov rdi, rcx
mov r13, qword [rsp + 0x60]
mov r14, qword [r13 + 0x18]
mov rbx, r14
movsxd rsi, esi
dec rsi
lea rsi, [r14 + rsi*2]
cmp r14, rsi
jae 0x18003fcb3
nop dword [rax]
cmp byte [rdi], 0
je 0x18003fcaf
xor r8d, r8d
mov rdx, rdi
lea rcx, [rsp + 0x7c]
call fcn.180003d60
movsxd rcx, eax
add rdi, rcx
mov eax, dword [rsp + 0x7c]
test eax, eax
je 0x18003fcaf
mov word [rbx], ax
add rbx, 2
cmp rbx, rsi
jb 0x18003fc80
mov rcx, qword [rbp - 0x68]
xor edx, edx
mov word [rbx], dx
sub rbx, r14
sar rbx, 1
mov rsi, r13
mov dword [r13 + 4], ebx
sub edi, ecx
mov dword [r13 + 8], edi
mov ecx, ebx
cmp dword [r13 + 0x4c], ebx
cmovl ecx, dword [r13 + 0x4c]
mov dword [r13 + 0x4c], ecx
mov ecx, ebx
cmp dword [r13 + 0x50], ebx
cmovl ecx, dword [r13 + 0x50]
mov dword [r13 + 0x50], ecx
cmp dword [r13 + 0x54], ebx
cmovl ebx, dword [r13 + 0x54]
mov dword [r13 + 0x54], ebx
mov r13d, edx
cmp ecx, ebx
cmovne r13d, r15d
mov dword [rbp - 0x80], r13d
mov r14d, dword [rbp + 0x60]
mov edi, dword [rsp + 0x68]
movzx ecx, byte [rsp + 0x50]
test cl, cl
jne 0x18003fd23
test r13b, r13b
jne 0x18003fd23
cmp dword [r12 + 0x1c78], edi
jne 0x18003fd3f
mov r15d, dword [rsp + 0x6c]
test r15b, r15b
jne 0x18003fd44
test rsi, rsi
je 0x18003fd44
cmp byte [rsi + 0x40], r15b
je 0x18003fd44
mov byte [rsp + 0x7a], 1
jmp 0x18003fd49
mov r15d, dword [rsp + 0x6c]
mov byte [rsp + 0x7a], 0
cmp byte [rbp - 0x70], 0
je 0x18003fde3
mov rdx, qword [r12 + 0x1ab8]
cmp dword [rdx + 0x18], 0x2a
ja 0x18003fd67
mov r8, qword [rdx + 0x38]
jmp 0x18003fd8b
mov rax, qword [rdx + 0x20]
movzx ecx, word [rax + 0x54]
mov eax, 0xffff
cmp cx, ax
jne 0x18003fd7f
mov r8, qword [rdx + 0x38]
jmp 0x18003fd8b
lea rcx, [rcx + rcx*4]
mov rax, qword [rdx + 0x30]
lea r8, [rax + rcx*8]
lea rcx, [r12 + 0x2f18]
mov eax, dword [rdx + 0x14]
mov dword [rcx + 0x14], eax
mov rax, qword [r12 + 0x1ab8]
mov edx, dword [rax + 0x58]
mov dword [rcx + 0x58], edx
mov rax, qword [r12 + 0x1ab8]
mov edx, dword [rax + 0x5c]
mov dword [rcx + 0x5c], edx
mov rax, qword [r12 + 0x1ab8]
mov edx, dword [rax + 0x60]
mov dword [rcx + 0x60], edx
mov rax, qword [r12 + 0x1ab8]
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.180011310
xor edx, edx
mov dword [rsp + 0x7c], edx
mov ecx, 0x20000c
cmp dword [r12 + 0x1c78], edi
jne 0x1800401da
mov eax, dword [rsi + 8]
mov dword [rsp + 0x7c], eax
mov byte [rsi + 0xe7e], dl
mov eax, dword [rbp - 0x7c]
mov dword [rsi + 0x44], eax
mov r8d, dword [rbp + 0x198]
mov dword [rsi + 0xe80], r8d
mov qword [rsi + 0xe88], rdx
mov qword [rsi + 0xe90], rdx
cmp byte [r12 + 0x128], dl
sete al
mov byte [r12 + 0x1c85], al
mov dword [r12 + 0x32cc], 1
movss xmm6, dword [r12 + 0x120]
subss xmm6, xmm11
subss xmm6, dword [r12 + 0x1678]
addss xmm6, dword [rsi + 0x48]
cmp byte [rsp + 0x54], dl
je 0x18003fe90
movss xmm2, dword [r12 + 0x124]
mov rax, qword [rbp - 0x78]
subss xmm2, dword [rax + 0x11c]
subss xmm2, dword [r12 + 0x167c]
jmp 0x18003fea2
movss xmm2, dword [r12 + 0x1ac0]
mulss xmm2, dword [0x18007ffd4]
movzx edi, byte [r12 + 0xd1]
test r14b, r14b
jne 0x180040043
movzx eax, byte [rsp + 0x7b]
test al, al
je 0x18003fed0
test dil, dil
jne 0x18003ff25
cmp byte [r12 + 0x41d], dl
jne 0x180040043
cmp byte [r12 + 0x418], dl
je 0x18003ffcc
cmp byte [rsi + 0xe7d], dl
jne 0x18003ffcc
test al, al
je 0x18003ff79
cmp byte [rsi + 0x63], dl
je 0x18003ff0b
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp + 0x70]
call fcn.18003d120
movss xmm2, dword [rbp + 0x7c]
movaps xmm1, xmm6
mov rcx, rsi
call fcn.18003d5e0
mov dword [rsi + 0x4c], eax
mov dword [rsi + 0x50], eax
mov dword [rsi + 0x54], eax
mov byte [rsi + 0x62], 0
jmp 0x18003ff68
cmp byte [r12 + 0x41d], dl
je 0x18003fed0
mov r8d, ecx
lea rdx, [rsi + 0x4c]
mov rcx, rsi
call fcn.18003dad0
mov byte [rsi + 0xe7c], 1
mov dword [rsi + 0xe78], 0xbe99999a
mov r8d, 0x60000d
lea rdx, [rsi + 0x4c]
mov rcx, rsi
call fcn.18003dad0
mov byte [rsi + 0xe7c], 1
mov r8d, dword [rbp + 0x198]
mov dword [rsi + 0xe78], 0xbe99999a
xor r14d, r14d
cmp byte [rsi + 0xe7d], 0
je 0x18003ff97
cmp byte [r12 + 0x128], 0
jne 0x18003ff97
mov byte [rsi + 0xe7d], 0
cmp byte [r12 + 0x13c], 0
je 0x18003ffad
cmp byte [r12 + 0x13e], 0
je 0x18003ffc5
test dil, dil
je 0x180040062
cmp byte [r12 + 0x13f], 0
je 0x180040062
mov bl, 1
jmp 0x180040064
cmp byte [r12 + 0x128], dl
je 0x18003ff79
cmp byte [rsi + 0xe7d], dl
jne 0x18003ff79
movss xmm0, dword [r12 + 0x3b4]
ucomiss xmm0, xmm10
jp 0x180040006
jne 0x180040006
movss xmm0, dword [r12 + 0x3b8]
ucomiss xmm0, xmm10
jp 0x180040006
je 0x18003ff79
cmp byte [rsi + 0x63], dl
je 0x18004001f
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp + 0x70]
call fcn.18003d120
movss xmm2, dword [rbp + 0x7c]
mov eax, dword [rsi + 0x54]
cmp dword [rsi + 0x50], eax
jne 0x18004002d
mov eax, dword [rsi + 0x4c]
mov dword [rsi + 0x50], eax
movaps xmm1, xmm6
mov rcx, rsi
call fcn.18003d5e0
mov dword [rsi + 0x54], eax
mov dword [rsi + 0x4c], eax
jmp 0x18003ff61
xor r14d, r14d
mov dword [rsi + 0x50], r14d
mov eax, dword [rsi + 4]
mov dword [rsi + 0x54], eax
mov dword [rsi + 0x4c], eax
mov byte [rsi + 0x62], dl
mov byte [rsi + 0xe7d], 1
jmp 0x18003ff7c
xor bl, bl
bt r8d, 0xa
jae 0x18004010a
mov rax, qword [0x18008af10]
mov ecx, dword [rax + 0x3c]
test ecx, ecx
js 0x18004010a
call fcn.18000aac0
test al, al
je 0x18004010a
test bl, bl
jne 0x18004010a
cmp byte [r12 + 0x13d], bl
jne 0x18004010a
test r15b, r15b
jne 0x18004010a
mov rcx, qword [r12 + 0x1550]
movsxd rax, dword [r12 + 0x1548]
lea rdx, [rcx + rax*2]
cmp rcx, rdx
jae 0x1800400d2
nop word [rax + rax]
movzx eax, word [rcx]
add rcx, 2
cmp ax, 9
je 0x18004010a
cmp rcx, rdx
jb 0x1800400c0
mov dword [rbp + 0x60], 9
mov edx, r8d
lea rcx, [rbp + 0x60]
call fcn.18003ee70
test al, al
je 0x18004010a
lea rdx, [rsi + 0x4c]
mov r8d, dword [rbp + 0x60]
mov rcx, rsi
call fcn.18003dad0
mov byte [rsi + 0xe7c], 1
mov dword [rsi + 0xe78], 0xbe99999a
cmp dword [r12 + 0x1548], 0
jle 0x1800401d6
test bl, bl
jne 0x1800401a4
test r15b, r15b
jne 0x1800401a4
cmp byte [rsp + 0x79], r15b
jne 0x1800401a4
mov edi, r14d
mov rbx, r14
mov r13d, dword [rbp + 0x198]
nop
mov rax, qword [r12 + 0x1550]
movzx ecx, word [rax + rbx]
mov dword [rbp + 0x60], ecx
cmp ecx, 9
jne 0x18004015f
cmp byte [r12 + 0x13d], 0
jne 0x180040190
mov edx, r13d
lea rcx, [rbp + 0x60]
call fcn.18003ee70
test al, al
je 0x180040190
lea rdx, [rsi + 0x4c]
mov r8d, dword [rbp + 0x60]
mov rcx, rsi
call fcn.18003dad0
mov byte [rsi + 0xe7c], 1
mov dword [rsi + 0xe78], 0xbe99999a
inc edi
add rbx, 2
cmp edi, dword [r12 + 0x1548]
jl 0x180040140
mov r13d, dword [rbp - 0x80]
mov ecx, dword [r12 + 0x154c]
test ecx, ecx
jns 0x1800401ce
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 + 0x1548]
call fcn.180023d40
mov dword [r12 + 0x1548], r14d
mov edi, dword [rsp + 0x68]
xor cl, cl
cmp dword [r12 + 0x1c78], edi
jne 0x1800415c4
cmp byte [r12 + 0x1c84], cl
jne 0x180040df7
cmp byte [rsp + 0x58], cl
jne 0x180040df7
movaps xmm0, xmm8
subss xmm0, dword [r12 + 0x167c]
divss xmm0, dword [r12 + 0x1ac0]
cvttss2si eax, xmm0
mov r15d, 1
cmp eax, r15d
cmovge r15d, eax
mov dword [rsi + 0x5c], r15d
movzx eax, byte [r12 + 0x13d]
neg al
sbb ebx, ebx
and ebx, 0x400000
movzx r13d, byte [r12 + 0xd1]
test r13b, r13b
je 0x180040260
cmp dword [r12 + 0x3bc], 0xa
jne 0x180040260
mov r9b, 1
jmp 0x180040268
xor r9b, r9b
test r13b, r13b
je 0x180040290
movzx r12d, byte [r12 + 0x13e]
mov rax, qword [rsp + 0x70]
cmp byte [rax + 0x13f], cl
je 0x18004029e
cmp byte [rax + 0x13c], cl
jne 0x18004029e
test r12b, r12b
jne 0x18004029e
mov r11b, 1
jmp 0x1800402a1
movzx r12d, byte [r12 + 0x13c]
mov rax, qword [rsp + 0x70]
xor r11b, r11b
mov r8d, dword [rax + 0x3bc]
cmp byte [rax + 0xd1], cl
je 0x1800402b6
cmp r8d, 8
jmp 0x1800402ba
cmp r8d, 1
sete r14b
test r14b, r14b
je 0x1800402dd
mov rax, qword [0x18008af10]
mov ecx, dword [rax + 0x88]
test ecx, ecx
js 0x1800402dd
call fcn.18000aac0
test al, al
jne 0x1800402fa
cmp r8d, 2
jne 0x180040322
mov rax, qword [0x18008af10]
mov ecx, dword [rax + 0x64]
test ecx, ecx
js 0x180040322
call fcn.18000aac0
test al, al
je 0x180040322
mov edi, dword [rbp - 0x70]
mov r10d, dword [rsp + 0x54]
cmp byte [rsp + 0x6c], 0
jne 0x18004032a
test dil, dil
jne 0x18004032a
test r10b, r10b
je 0x18004031b
mov eax, dword [rsi + 0x54]
cmp dword [rsi + 0x50], eax
je 0x18004032a
mov byte [rsp + 0x51], 1
jmp 0x18004032f
mov r10d, dword [rsp + 0x54]
mov edi, dword [rbp - 0x70]
mov byte [rsp + 0x51], 0
test r14b, r14b
je 0x18004034e
mov rax, qword [0x18008af10]
mov ecx, dword [rax + 0x80]
test ecx, ecx
js 0x18004034e
call fcn.18000aac0
test al, al
jne 0x18004036b
cmp r8d, 1
jne 0x180040382
mov rax, qword [0x18008af10]
mov ecx, dword [rax + 0x60]
test ecx, ecx
js 0x180040382
call fcn.18000aac0
test al, al
je 0x180040382
test dil, dil
jne 0x180040382
test r10b, r10b
je 0x18004037d
mov eax, dword [rsi + 0x54]
cmp dword [rsi + 0x50], eax
je 0x180040382
mov sil, 1
jmp 0x180040385
xor sil, sil
test r14b, r14b
je 0x1800403a4
mov rax, qword [0x18008af10]
mov ecx, dword [rax + 0x84]
test ecx, ecx
js 0x1800403a4
call fcn.18000aac0
test al, al
jne 0x1800403c1
cmp r8d, 2
jne 0x1800403d0
mov rax, qword [0x18008af10]
mov ecx, dword [rax + 0x60]
test ecx, ecx
js 0x1800403d0
call fcn.18000aac0
test al, al
je 0x1800403d0
mov r8d, dword [rsp + 0x6c]
test r8b, r8b
jne 0x1800403d5
mov dil, 1
jmp 0x1800403d8
mov r8d, dword [rsp + 0x6c]
xor dil, dil
test r14b, r14b
je 0x18004040b
mov rax, qword [0x18008af10]
mov ecx, dword [rax + 0x90]
test ecx, ecx
js 0x18004040b
call fcn.18000aac0
test al, al
je 0x18004040b
test r8b, r8b
mov r8d, dword [rsp + 0x5c]
jne 0x180040410
test r8b, r8b
je 0x180040410
mov r10b, 1
jmp 0x180040418
mov r8d, dword [rsp + 0x5c]
xor r10b, r10b
test r14b, r14b
je 0x180040432
mov rax, qword [0x18008af10]
mov ecx, dword [rax + 0x8c]
test ecx, ecx
js 0x180040432
call fcn.18000aac0
test al, al
jne 0x180040451
test r9b, r9b
je 0x180040462
mov rax, qword [0x18008af10]
mov ecx, dword [rax + 0x90]
test ecx, ecx
js 0x180040462
call fcn.18000aac0
test al, al
je 0x180040462
cmp byte [rsp + 0x6c], 0
jne 0x180040462
test r8b, r8b
je 0x180040462
mov r9b, 1
jmp 0x180040465
xor r9b, r9b
mov rax, qword [0x18008af10]
mov ecx, dword [rax + 0x40]
test ecx, ecx
js 0x1800404c9
call fcn.18000aac0
test al, al
je 0x1800404c9
test r11b, r11b
je 0x180040488
mov ecx, 0x200004
jmp 0x180040498
mov ecx, 0x200000
mov eax, 0x20000c
test r12b, r12b
cmovne ecx, eax
or ecx, ebx
mov r8d, ecx
mov rsi, qword [rsp + 0x60]
lea rdx, [rsi + 0x4c]
mov rcx, rsi
call fcn.18003dad0
mov dword [rsi + 0xe78], 0xbe99999a
mov byte [rsi + 0xe7c], 1
mov r12, qword [rsp + 0x70]
jmp 0x1800408ec
mov rax, qword [0x18008af10]
mov ecx, dword [rax + 0x44]
test ecx, ecx
js 0x1800404f8
call fcn.18000aac0
test al, al
je 0x1800404f8
test r11b, r11b
je 0x1800404ec
mov ecx, 0x200005
jmp 0x180040498
mov ecx, 0x200001
mov eax, 0x20000d
jmp 0x180040492
mov rax, qword [0x18008af10]
mov ecx, dword [rax + 0x48]
test ecx, ecx
js 0x18004059a
call fcn.18000aac0
test al, al
je 0x18004059a
cmp byte [rsp + 0x54], 0
je 0x18004059a
mov r12, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x60]
cmp byte [r12 + 0x13c], 0
je 0x180040569
mov rdx, qword [rbp - 0x78]
movss xmm0, dword [rdx + 0x90]
subss xmm0, dword [r12 + 0x1ac0]
maxss xmm0, xmm10
movss dword [rdx + 0xa0], xmm0
xor eax, eax
mov dword [rdx + 0xa8], eax
mov dword [rdx + 0xb0], eax
jmp 0x1800408ec
movzx eax, r11b
lea r8d, [rax*4 + 0x200002]
or r8d, ebx
lea rdx, [rsi + 0x4c]
mov rcx, rsi
call fcn.18003dad0
mov byte [rsi + 0xe7c], 1
mov dword [rsi + 0xe78], 0xbe99999a
jmp 0x1800408ec
mov r8, qword [0x18008af10]
mov ecx, dword [r8 + 0x4c]
test ecx, ecx
js 0x18004061f
call fcn.18000aac0
test al, al
je 0x18004061f
cmp byte [rsp + 0x54], 0
je 0x18004061f
mov r12, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x60]
cmp byte [r12 + 0x13c], 0
je 0x18004060e
mov rax, qword [r8 + 0x1c20]
movss xmm0, dword [r12 + 0x1ac0]
mov rcx, qword [rbp - 0x78]
addss xmm0, dword [rcx + 0x90]
minss xmm0, dword [rax + 0x98]
movss dword [rcx + 0xa0], xmm0
xor eax, eax
mov dword [rcx + 0xa8], eax
mov dword [rcx + 0xb0], eax
jmp 0x1800408ec
movzx eax, r11b
lea r8d, [rax*4 + 0x200003]
jmp 0x180040575
mov rax, qword [0x18008af10]
mov ecx, dword [rax + 0x50]
test ecx, ecx
js 0x18004068c
call fcn.18000aac0
mov r8d, dword [rsp + 0x54]
test al, al
je 0x180040691
test r8b, r8b
je 0x180040691
or ebx, 0x20000e
mov rsi, qword [rsp + 0x60]
lea rdx, [rsi + 0x4c]
mov r8d, ebx
mov rcx, rsi
call fcn.18003dad0
mov byte [rsi + 0xe7c], 1
mov dword [rsi + 0xe78], 0xbe99999a
movd xmm0, r15d
cvtdq2ps xmm0, xmm0
mov r12, qword [rsp + 0x70]
mulss xmm0, dword [r12 + 0x1ac0]
subss xmm9, xmm0
jmp 0x1800408ec
mov r8d, dword [rsp + 0x54]
mov rax, qword [0x18008af10]
mov ecx, dword [rax + 0x54]
test ecx, ecx
js 0x1800406f9
call fcn.18000aac0
test al, al
je 0x1800406f9
test r8b, r8b
je 0x1800406f9
or ebx, 0x20000f
mov rsi, qword [rsp + 0x60]
lea rdx, [rsi + 0x4c]
mov r8d, ebx
mov rcx, rsi
call fcn.18003dad0
mov byte [rsi + 0xe7c], 1
mov dword [rsi + 0xe78], 0xbe99999a
movd xmm0, r15d
cvtdq2ps xmm0, xmm0
mov r12, qword [rsp + 0x70]
mulss xmm0, dword [r12 + 0x1ac0]
addss xmm9, xmm0
jmp 0x1800408ec
mov rax, qword [0x18008af10]
mov ecx, dword [rax + 0x58]
test ecx, ecx
js 0x18004073c
call fcn.18000aac0
test al, al
je 0x18004073c
mov eax, ebx
or eax, 0x200006
mov r8d, 0x200004
or r8d, ebx
mov r12, qword [rsp + 0x70]
cmp byte [r12 + 0x13c], 0
cmovne r8d, eax
mov rsi, qword [rsp + 0x60]
jmp 0x180040578
mov rax, qword [0x18008af10]
mov ecx, dword [rax + 0x5c]
test ecx, ecx
js 0x18004077f
call fcn.18000aac0
test al, al
je 0x18004077f
mov eax, ebx
or eax, 0x200007
mov r8d, 0x200005
or r8d, ebx
mov r12, qword [rsp + 0x70]
cmp byte [r12 + 0x13c], 0
cmovne r8d, eax
mov rsi, qword [rsp + 0x60]
jmp 0x180040578
mov rax, qword [0x18008af10]
mov ecx, dword [rax + 0x64]
test ecx, ecx
js 0x1800407ae
call fcn.18000aac0
mov r11d, dword [rsp + 0x6c]
test al, al
je 0x1800407b3
test r11b, r11b
jne 0x1800407b3
or ebx, 0x200008
mov r8d, ebx
jmp 0x18004049d
mov r11d, dword [rsp + 0x6c]
mov rax, qword [0x18008af10]
mov ecx, dword [rax + 0x68]
test ecx, ecx
js 0x18004087f
call fcn.18000aac0
test al, al
je 0x18004087f
test r11b, r11b
jne 0x18004087f
mov rsi, qword [rsp + 0x60]
mov eax, dword [rsi + 0x54]
cmp dword [rsi + 0x50], eax
jne 0x180040810
test r12b, r12b
je 0x180040823
lea rdx, [rsi + 0x4c]
mov r8d, 0x60000c
mov rcx, rsi
call fcn.18003dad0
mov byte [rsi + 0xe7c], 1
mov dword [rsi + 0xe78], 0xbe99999a
mov r12, qword [rsp + 0x70]
or ebx, 0x200009
mov r8d, ebx
jmp 0x180040578
test r13b, r13b
je 0x180040810
mov r12, qword [rsp + 0x70]
cmp byte [r12 + 0x13f], 0
je 0x180040815
cmp byte [r12 + 0x13e], 0
jne 0x180040815
cmp byte [r12 + 0x13c], 0
jne 0x180040815
lea rdx, [rsi + 0x4c]
mov r8d, 0x600004
mov rcx, rsi
call fcn.18003dad0
mov byte [rsi + 0xe7c], 1
mov dword [rsi + 0xe78], 0xbe99999a
or ebx, 0x200009
mov r8d, ebx
jmp 0x180040578
mov rax, qword [0x18008af10]
mov ecx, dword [rax + 0x70]
test ecx, ecx
js 0x180040896
call fcn.18000aac0
test al, al
jne 0x1800408b5
mov rax, qword [0x18008af10]
mov ecx, dword [rax + 0x78]
test ecx, ecx
js 0x18004093a
call fcn.18000aac0
test al, al
je 0x18004093a
mov edx, dword [rbp + 0x198]
mov eax, edx
shr eax, 0xb
and al, 1
mov r12, qword [rsp + 0x70]
test r8b, r8b
je 0x1800408dd
movzx ecx, byte [r12 + 0x13c]
test al, al
je 0x18004090c
test cl, cl
jne 0x180040910
mov byte [rsp + 0x58], 1
mov byte [rsp + 0x52], 1
mov rsi, qword [rsp + 0x60]
xor cl, cl
mov eax, dword [rsi + 0x54]
cmp dword [rsi + 0x50], eax
je 0x180040de6
cmp byte [rsp + 0x50], 0
je 0x180040de6
mov al, 1
jmp 0x180040de8
test cl, cl
jne 0x1800408dd
test r11b, r11b
jne 0x1800408e7
mov dword [rsp + 0x5c], 0xa
lea rcx, [rsp + 0x5c]
call fcn.18003ee70
test al, al
je 0x1800408e7
mov rsi, qword [rsp + 0x60]
mov r8d, dword [rsp + 0x5c]
jmp 0x180040578
mov rax, qword [0x18008af10]
mov ecx, dword [rax + 0x74]
test ecx, ecx
js 0x180040963
call fcn.18000aac0
test al, al
je 0x180040963
mov cl, 1
mov byte [rsp + 0x58], cl
mov rsi, qword [rsp + 0x60]
mov r12, qword [rsp + 0x70]
jmp 0x1800408ee
test r10b, r10b
jne 0x180040da9
test r9b, r9b
jne 0x180040da9
test r14b, r14b
je 0x1800409b9
mov rax, qword [0x18008af10]
mov ecx, dword [rax + 0x7c]
test ecx, ecx
js 0x1800409b9
call fcn.18000aac0
test al, al
je 0x1800409b9
mov rsi, qword [rsp + 0x60]
xor eax, eax
mov dword [rsi + 0x50], eax
mov eax, dword [rsi + 4]
mov dword [rsi + 0x54], eax
mov dword [rsi + 0x4c], eax
mov byte [rsi + 0x62], r9b
mov byte [rsi + 0xe7c], 1
mov r12, qword [rsp + 0x70]
jmp 0x1800408ec
movzx r15d, byte [rsp + 0x51]
test r15b, r15b
jne 0x180040b9f
test sil, sil
jne 0x180040b9f
test dil, dil
je 0x180040dd7
mov rcx, qword [0x18008af10]
mov rax, qword [rcx + 0x108]
test rax, rax
je 0x180040a08
mov rcx, qword [rcx + 0x118]
call rax
mov rbx, rax
test rax, rax
jne 0x180040a0f
mov r12, qword [rsp + 0x70]
jmp 0x1800408e7
lea rbx, [0x180077a9e]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], 0
jne 0x180040a16
mov rcx, qword [0x18008af10]
test rcx, rcx
je 0x180040a31
inc dword [rcx + 0x3b0]
inc eax
movsxd rcx, eax
add rcx, rcx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r14, rax
mov qword [rbp + 0x60], rax
xor r15d, r15d
mov esi, r15d
cmp byte [rbx], r15b
je 0x180040aa5
mov rdi, rax
mov r14d, dword [rbp + 0x198]
nop dword [rax + rax]
xor r8d, r8d
mov rdx, rbx
lea rcx, [rsp + 0x5c]
call fcn.180003d60
movsxd rcx, eax
add rbx, rcx
cmp dword [rsp + 0x5c], r15d
je 0x180040aa1
mov edx, r14d
lea rcx, [rsp + 0x5c]
call fcn.18003ee70
test al, al
je 0x180040a9c
movzx eax, word [rsp + 0x5c]
mov word [rdi], ax
inc esi
add rdi, 2
cmp byte [rbx], r15b
jne 0x180040a60
mov r14, qword [rbp + 0x60]
movsxd rax, esi
mov word [r14 + rax*2], r15w
test esi, esi
jle 0x180040b70
mov r13, qword [rsp + 0x60]
mov eax, dword [r13 + 4]
mov edx, dword [r13 + 0x54]
mov ecx, dword [r13 + 0x50]
cmp ecx, edx
je 0x180040ae6
cmp ecx, eax
jle 0x180040ad4
mov dword [r13 + 0x50], eax
mov ecx, eax
cmp edx, eax
jle 0x180040ade
mov dword [r13 + 0x54], eax
mov edx, eax
cmp ecx, edx
jne 0x180040ae6
mov dword [r13 + 0x4c], ecx
cmp dword [r13 + 0x4c], eax
jle 0x180040af0
mov dword [r13 + 0x4c], eax
lea rdx, [r13 + 0x4c]
mov rcx, r13
call fcn.18003da30
mov r9d, esi
mov r8, r14
mov edx, dword [r13 + 0x4c]
mov rcx, r13
call fcn.18003d450
test al, al
je 0x180040b4b
mov edi, dword [r13 + 0x4c]
lea rcx, [r13 + 0x6c]
xor edx, edx
call fcn.18003ea20
test rax, rax
je 0x180040b36
mov dword [rax], edi
mov dword [rax + 4], r15d
mov dword [rax + 8], esi
mov dword [rax + 0xc], 0xffffffff
add dword [r13 + 0x4c], esi
mov byte [r13 + 0x62], r15b
mov rsi, r13
mov byte [r13 + 0xe7c], 1
jmp 0x180040b75
movzx eax, word [r13 + 0xe6a]
test ax, ax
je 0x180040b63
dec ax
mov word [r13 + 0xe6a], ax
mov rsi, r13
mov byte [r13 + 0xe7c], 1
jmp 0x180040b75
mov rsi, qword [rsp + 0x60]
test r14, r14
je 0x180040b8c
mov rax, qword [0x18008af10]
test rax, rax
je 0x180040b8c
dec dword [rax + 0x3b0]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r12, qword [rsp + 0x70]
jmp 0x1800408ec
mov r12, qword [rsp + 0x70]
cmp qword [r12 + 0x110], 0
je 0x180040d59
mov r13, qword [rsp + 0x60]
mov edi, dword [r13 + 0x54]
mov eax, dword [r13 + 0x50]
cmp eax, edi
je 0x180040bce
mov esi, edi
cmovl esi, eax
cmovge edi, eax
jmp 0x180040bd6
xor eax, eax
mov esi, eax
mov edi, dword [r13 + 4]
mov rcx, qword [r13 + 0x18]
movsxd rax, edi
lea r8, [rcx + rax*2]
movsxd rax, esi
lea rdx, [rcx + rax*2]
xor eax, eax
mov ecx, eax
mov r9d, 0x80
mov r10d, 0x800
test r8, r8
je 0x180040c02
cmp rdx, r8
jae 0x180040c25
movzx eax, word [rdx]
test ax, ax
je 0x180040c25
add rdx, 2
cmp ax, r9w
jae 0x180040c18
inc ecx
jmp 0x180040bf8
cmp ax, r10w
sbb eax, eax
add eax, 3
add ecx, eax
jmp 0x180040bf8
inc ecx
mov rax, qword [0x18008af10]
test rax, rax
je 0x180040c39
inc dword [rax + 0x3b0]
movsxd rbx, ecx
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r14, rax
mov rdx, qword [r13 + 0x18]
movsxd rcx, edi
lea r9, [rdx + rcx*2]
movsxd rcx, esi
lea r8, [rdx + rcx*2]
mov rdx, rax
lea r11, [rbx + rax]
lea r10, [r11 - 1]
cmp rax, r10
jae 0x180040d16
mov r12d, 0x80
xor r15d, r15d
test r9, r9
je 0x180040c85
cmp r8, r9
jae 0x180040d0b
movzx eax, word [r8]
test ax, ax
je 0x180040d0b
mov ecx, eax
add r8, 2
cmp eax, r12d
jae 0x180040ca0
mov byte [rdx], cl
inc rdx
jmp 0x180040d02
mov eax, r11d
sub eax, edx
dec eax
cmp ecx, 0x800
jae 0x180040cd2
cmp eax, 2
jge 0x180040cb9
mov rax, r15
jmp 0x180040cff
mov eax, ecx
shr eax, 6
sub al, 0x40
mov byte [rdx], al
and cl, 0x3f
add cl, 0x80
mov byte [rdx + 1], cl
mov eax, 2
jmp 0x180040cff
cmp eax, 3
jge 0x180040cdc
mov rax, r15
jmp 0x180040cff
mov eax, ecx
shr eax, 0xc
sub al, 0x20
mov byte [rdx], al
mov eax, ecx
shr eax, 6
and al, 0x3f
add al, 0x80
mov byte [rdx + 1], al
and cl, 0x3f
add cl, 0x80
mov byte [rdx + 2], cl
mov eax, 3
add rdx, rax
cmp rdx, r10
jb 0x180040c77
movzx r15d, byte [rsp + 0x51]
mov r12, qword [rsp + 0x70]
mov byte [rdx], 0
mov rax, qword [0x18008af10]
mov r8, qword [rax + 0x110]
test r8, r8
je 0x180040d40
mov rdx, r14
mov rcx, qword [rax + 0x118]
call r8
mov rax, qword [0x18008af10]
test r14, r14
je 0x180040d50
test rax, rax
je 0x180040d50
dec dword [rax + 0x3b0]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rsi, qword [rsp + 0x60]
test r15b, r15b
je 0x1800408ec
mov eax, dword [rsi + 0x54]
cmp dword [rsi + 0x50], eax
jne 0x180040d81
xor eax, eax
mov dword [rsi + 0x50], eax
mov eax, dword [rsi + 4]
mov dword [rsi + 0x54], eax
mov dword [rsi + 0x4c], eax
mov byte [rsi + 0x62], 0
mov byte [rsi + 0xe7c], 1
mov eax, dword [rsi + 0x54]
cmp dword [rsi + 0x50], eax
je 0x1800408ec
lea rdx, [rsi + 0x4c]
mov rcx, rsi
call fcn.18003da30
mov byte [rsi + 0x62], 0
jmp 0x1800408ec
mov rsi, qword [rsp + 0x60]
movzx r8d, r10b
xor r8d, 1
add r8d, 0x20000a
lea rdx, [rsi + 0x4c]
mov rcx, rsi
call fcn.18003dad0
mov eax, dword [rsi + 0x4c]
mov dword [rsi + 0x54], eax
mov dword [rsi + 0x50], eax
jmp 0x1800404ae
mov rsi, qword [rsp + 0x60]
mov r12, qword [rsp + 0x70]
jmp 0x1800408ec
xor al, al
mov r13d, dword [rbp - 0x80]
or r13b, al
mov dword [rbp - 0x80], r13d
mov edi, dword [rsp + 0x68]
cmp dword [r12 + 0x1c78], edi
jne 0x1800415c4
xor r14d, r14d
mov r12d, r14d
mov dword [rsp + 0x5c], r14d
test cl, cl
je 0x180041018
cmp byte [rsp + 0x6c], r12b
jne 0x180040ff7
mov r9, qword [rsi + 0x38]
mov rax, qword [rbp - 0x68]
mov r8, r9
sub r8, rax
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x180040e44
inc rax
test ecx, ecx
jne 0x180040e31
test edx, edx
je 0x180040ff7
mov r15, r9
mov qword [rbp + 0x50], r9
mov r13d, dword [rsi + 0x30]
dec r13d
mov dword [rsp + 0x5c], r13d
mov qword [rbp + 0x70], r14
xor eax, eax
mov qword [rbp + 0x78], rax
test r13d, r13d
jle 0x180040f52
movsxd rdi, r13d
add rdi, r9
mov rbx, r9
mov esi, eax
nop dword [rax]
test rdi, rdi
je 0x180040e8a
cmp rbx, rdi
jae 0x180040eae
cmp byte [rbx], 0
je 0x180040eae
mov r8, rdi
mov rdx, rbx
lea rcx, [rbp + 0x60]
call fcn.180003d60
movsxd rcx, eax
add rbx, rcx
cmp dword [rbp + 0x60], 0
je 0x180040eae
inc esi
jmp 0x180040e80
lea r14d, [rsi + 1]
test r14d, r14d
jle 0x180040ef2
mov ebx, r14d
cmp r14d, 8
mov eax, 8
cmovl ebx, eax
test ebx, ebx
jle 0x180040ef2
mov rax, qword [0x18008af10]
test rax, rax
je 0x180040edc
inc dword [rax + 0x3b0]
movsxd rcx, ebx
add rcx, rcx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r12, rax
mov qword [rbp + 0x78], rax
mov dword [rbp + 0x74], ebx
mov dword [rbp + 0x70], r14d
movsxd rsi, r13d
add rsi, r15
mov rbx, r15
mov rdi, r12
movsxd r15, r14d
dec r15
lea r15, [r12 + r15*2]
cmp r12, r15
jae 0x180040f48
test rsi, rsi
je 0x180040f1b
cmp rbx, rsi
jae 0x180040f48
cmp byte [rbx], 0
je 0x180040f48
mov r8, rsi
mov rdx, rbx
lea rcx, [rbp + 0x60]
call fcn.180003d60
movsxd rcx, eax
add rbx, rcx
mov eax, dword [rbp + 0x60]
test eax, eax
je 0x180040f48
mov word [rdi], ax
add rdi, 2
cmp rdi, r15
jb 0x180040f11
xor eax, eax
mov word [rdi], ax
mov rsi, qword [rsp + 0x60]
lea ebx, [r14 - 1]
test r13d, r13d
mov r14d, 0
cmovle ebx, r14d
movsxd rdi, dword [rsi + 4]
lea rcx, [rsi + 0x6c]
mov r9d, ebx
mov r8d, edi
xor edx, edx
call fcn.18003eb70
mov r9, rax
test rax, rax
je 0x180040fa5
test edi, edi
jle 0x180040fa5
mov edx, r14d
nop word [rax + rax]
mov rax, qword [rsi + 0x18]
movzx ecx, word [rax + rdx*2]
mov word [r9 + rdx*2], cx
inc rdx
cmp rdx, rdi
jl 0x180040f90
mov r8d, dword [rsi + 4]
xor edx, edx
mov rcx, rsi
call fcn.18003d380
test ebx, ebx
jle 0x180040fd2
mov r9d, ebx
mov r8, r12
xor edx, edx
mov rcx, rsi
call fcn.18003d450
test al, al
je 0x180040fd2
mov dword [rsi + 0x4c], ebx
mov byte [rsi + 0x62], r14b
test r12, r12
je 0x180040ff3
mov rax, qword [0x18008af10]
test rax, rax
je 0x180040fe9
dec dword [rax + 0x3b0]
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov r12, qword [rbp + 0x50]
mov r9d, dword [rbp + 0x198]
cmp byte [rsp + 0x52], 0
je 0x18004100b
test r9b, 0x20
jne 0x18004101f
mov r15d, dword [rbp - 0x58]
mov rdi, qword [rbp - 0x68]
jmp 0x18004150d
mov r9d, dword [rbp + 0x198]
cmp byte [rsp + 0x6c], 0
jne 0x18004111a
mov byte [rsi + 0x40], 1
mov eax, dword [rsi + 0x10]
lea ebx, [rax*4 + 1]
mov ecx, dword [rsi + 0x24]
cmp ebx, ecx
jle 0x180041063
test ecx, ecx
je 0x18004104e
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180041053
mov eax, 8
mov edx, ebx
cmp eax, ebx
cmovg edx, eax
lea rcx, [rsi + 0x20]
call fcn.180023cb0
mov dword [rsi + 0x20], ebx
mov r8, qword [rsi + 0x18]
mov rdx, qword [rsi + 0x28]
movsxd r9, ebx
add r9, rdx
lea r10, [r9 - 1]
cmp rdx, r10
jae 0x180041110
mov esi, 0x80
movzx eax, word [r8]
test ax, ax
je 0x18004110b
mov ecx, eax
add r8, 2
cmp eax, esi
jae 0x1800410a0
mov byte [rdx], cl
inc rdx
jmp 0x180041102
mov eax, r9d
sub eax, edx
dec eax
cmp ecx, 0x800
jae 0x1800410d2
cmp eax, 2
jge 0x1800410b9
mov rax, r14
jmp 0x1800410ff
mov eax, ecx
shr eax, 6
sub al, 0x40
mov byte [rdx], al
and cl, 0x3f
add cl, 0x80
mov byte [rdx + 1], cl
mov eax, 2
jmp 0x1800410ff
cmp eax, 3
jge 0x1800410dc
mov rax, r14
jmp 0x1800410ff
mov eax, ecx
shr eax, 0xc
sub al, 0x20
mov byte [rdx], al
mov eax, ecx
shr eax, 6
and al, 0x3f
add al, 0x80
mov byte [rdx + 1], al
and cl, 0x3f
add cl, 0x80
mov byte [rdx + 2], cl
mov eax, 3
add rdx, rax
cmp rdx, r10
jb 0x180041086
mov rsi, qword [rsp + 0x60]
mov byte [rdx], 0
mov r9d, dword [rbp + 0x198]
test r9d, 0x801c0
je 0x1800414b9
mov r8d, 0x16
test r9b, 0x40
je 0x180041154
mov rax, qword [0x18008af10]
mov ecx, dword [rax + 0x3c]
test ecx, ecx
js 0x180041154
call fcn.18000aac0
test al, al
je 0x180041154
mov eax, 0x40
mov r8d, r14d
jmp 0x1800411ca
test r9b, r9b
jns 0x1800411a9
mov rax, qword [0x18008af10]
mov ecx, dword [rax + 0x48]
test ecx, ecx
js 0x180041181
call fcn.18000aac0
test al, al
je 0x180041181
mov r10d, 0x80
mov eax, r10d
mov r8d, 3
jmp 0x1800411d0
mov rax, qword [0x18008af10]
mov ecx, dword [rax + 0x4c]
test ecx, ecx
js 0x1800411a9
call fcn.18000aac0
test al, al
je 0x1800411a9
mov r10d, 0x80
mov eax, r10d
mov r8d, 4
jmp 0x1800411d0
mov eax, 0x80000
test eax, r9d
je 0x1800411bc
cmp byte [rsi + 0xe7e], 0
jne 0x1800411ca
mov ecx, 0x100
test ecx, r9d
mov eax, r14d
cmovne eax, ecx
mov r10d, 0x80
test eax, eax
je 0x1800414b9
mov dword [rbp - 0x10], r14d
mov qword [rbp + 9], r14
mov dword [rbp + 0x11], r14d
mov word [rbp + 0x15], r14w
mov byte [rbp + 0x17], 0
mov dword [rbp - 0x20], eax
mov dword [rbp - 0x1c], r9d
mov qword [rbp - 0x18], r14
mov dword [rbp - 0xc], r8d
mov rax, qword [rsi + 0x28]
mov qword [rbp - 8], rax
mov eax, dword [rsi + 8]
mov dword [rbp], eax
mov eax, dword [rsi + 0x44]
mov dword [rbp + 4], eax
mov byte [rbp + 8], 0
mov r8, qword [rsi + 0x18]
movsxd rax, dword [rsi + 0x4c]
lea rdx, [r8 + rax*2]
mov rcx, r8
mov ebx, r14d
mov r9d, 0x800
nop dword [rax]
test rdx, rdx
je 0x18004123a
cmp rcx, rdx
jae 0x18004125d
movzx eax, word [rcx]
test ax, ax
je 0x18004125d
add rcx, 2
cmp ax, r10w
jae 0x180041250
inc ebx
jmp 0x180041230
cmp ax, r9w
sbb eax, eax
add eax, 3
add ebx, eax
jmp 0x180041230
mov dword [rbp + 0xc], ebx
movsxd rax, dword [rsi + 0x50]
lea rdx, [r8 + rax*2]
mov rcx, r8
mov r15d, r14d
nop
test rdx, rdx
je 0x18004127a
cmp rcx, rdx
jae 0x18004129f
movzx eax, word [rcx]
test ax, ax
je 0x18004129f
add rcx, 2
cmp ax, r10w
jae 0x180041291
inc r15d
jmp 0x180041270
cmp ax, r9w
sbb eax, eax
add eax, 3
add r15d, eax
jmp 0x180041270
mov dword [rbp + 0x10], r15d
movsxd rax, dword [rsi + 0x54]
lea rcx, [r8 + rax*2]
nop dword [rax + rax]
test rcx, rcx
je 0x1800412ba
cmp r8, rcx
jae 0x1800412e0
movzx eax, word [r8]
test ax, ax
je 0x1800412e0
add r8, 2
cmp ax, r10w
jae 0x1800412d2
inc r14d
jmp 0x1800412b0
cmp ax, r9w
sbb eax, eax
add eax, 3
add r14d, eax
jmp 0x1800412b0
mov dword [rbp + 0x14], r14d
lea rcx, [rbp - 0x20]
xor esi, esi
call rsi
movsxd rax, dword [rbp + 0xc]
cmp eax, ebx
je 0x180041343
mov rbx, qword [rbp - 8]
lea rdi, [rbx + rax]
nop dword [rax]
test rdi, rdi
je 0x18004130a
cmp rbx, rdi
jae 0x18004132e
cmp byte [rbx], 0
je 0x18004132e
mov r8, rdi
mov rdx, rbx
lea rcx, [rbp + 0x60]
call fcn.180003d60
movsxd rcx, eax
add rbx, rcx
cmp dword [rbp + 0x60], 0
je 0x18004132e
inc esi
jmp 0x180041300
mov r13, qword [rsp + 0x60]
mov dword [r13 + 0x4c], esi
mov byte [r13 + 0xe7c], 1
xor esi, esi
jmp 0x180041348
mov r13, qword [rsp + 0x60]
movsxd rax, dword [rbp + 0x10]
cmp eax, r15d
je 0x180041392
mov rbx, qword [rbp - 8]
lea rdi, [rbx + rax]
nop dword [rax]
test rdi, rdi
je 0x18004136a
cmp rbx, rdi
jae 0x18004138e
cmp byte [rbx], 0
je 0x18004138e
mov r8, rdi
mov rdx, rbx
lea rcx, [rbp + 0x60]
call fcn.180003d60
movsxd rcx, eax
add rbx, rcx
cmp dword [rbp + 0x60], 0
je 0x18004138e
inc esi
jmp 0x180041360
mov dword [r13 + 0x50], esi
movsxd rax, dword [rbp + 0x14]
cmp eax, r14d
je 0x1800413d9
mov rbx, qword [rbp - 8]
lea rdi, [rbx + rax]
xor eax, eax
mov esi, eax
test rdi, rdi
je 0x1800413b1
cmp rbx, rdi
jae 0x1800413d5
cmp byte [rbx], 0
je 0x1800413d5
mov r8, rdi
mov rdx, rbx
lea rcx, [rbp + 0x60]
call fcn.180003d60
movsxd rcx, eax
add rbx, rcx
cmp dword [rbp + 0x60], 0
je 0x1800413d5
inc esi
jmp 0x1800413a7
mov dword [r13 + 0x54], esi
mov r15d, dword [rbp - 0x58]
cmp byte [rbp + 8], 0
je 0x1800414ab
mov eax, dword [rbp]
mov ecx, dword [rsp + 0x7c]
cmp eax, ecx
jle 0x18004142f
test r15b, r15b
je 0x18004142f
mov ebx, dword [r13 + 0x10]
sub ebx, ecx
add ebx, eax
mov ecx, dword [r13 + 0x14]
cmp ebx, ecx
jle 0x18004142b
test ecx, ecx
je 0x180041416
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18004141b
mov eax, 8
mov edx, ebx
cmp eax, ebx
cmovg edx, eax
lea rcx, [r13 + 0x10]
call fcn.180023d40
mov dword [r13 + 0x10], ebx
mov rdi, qword [rbp - 8]
mov r14, qword [r13 + 0x18]
mov rbx, r14
movsxd rsi, dword [r13 + 0x10]
dec rsi
lea rsi, [r14 + rsi*2]
cmp r14, rsi
jae 0x18004147f
nop word [rax + rax]
cmp byte [rdi], 0
je 0x18004147f
xor r8d, r8d
mov rdx, rdi
lea rcx, [rsp + 0x7c]
call fcn.180003d60
movsxd rcx, eax
add rdi, rcx
mov eax, dword [rsp + 0x7c]
test eax, eax
je 0x18004147f
mov word [rbx], ax
add rbx, 2
cmp rbx, rsi
jb 0x180041450
xor eax, eax
mov word [rbx], ax
sub rbx, r14
sar rbx, 1
mov rsi, qword [rsp + 0x60]
mov dword [rsi + 4], ebx
mov eax, dword [rbp]
mov dword [rsi + 8], eax
mov dword [rsi + 0xe78], 0xbe99999a
mov r9d, dword [rbp + 0x198]
jmp 0x1800414bd
mov rsi, qword [rsp + 0x60]
mov r9d, dword [rbp + 0x198]
jmp 0x1800414bd
mov r15d, dword [rbp - 0x58]
mov rdi, qword [rbp - 0x68]
cmp byte [rsp + 0x6c], 0
jne 0x18004150d
mov r9, qword [rsi + 0x28]
mov rax, r9
mov r8, rdi
sub r8, r9
nop word [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x1800414f3
inc rax
test ecx, ecx
jne 0x1800414e0
test edx, edx
je 0x180041506
mov r12, r9
mov ecx, dword [rsi + 8]
mov r9d, dword [rbp + 0x198]
jmp 0x180041511
mov r9d, dword [rbp + 0x198]
mov ecx, dword [rsp + 0x5c]
test r12, r12
je 0x18004159d
test r15b, r15b
je 0x18004156d
xor edx, edx
mov qword [rbp + 0x28], rdx
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x40], xmm0
mov dword [rbp + 0x18], 0x40000
mov dword [rbp + 0x1c], r9d
mov qword [rbp + 0x30], rdi
mov dword [rbp + 0x38], ecx
lea eax, [rcx + 1]
cmp dword [rbp - 0x7c], eax
cmovge eax, dword [rbp - 0x7c]
mov dword [rbp + 0x3c], eax
mov qword [rbp + 0x20], rdx
lea rcx, [rbp + 0x18]
call rdx
mov rdi, qword [rbp + 0x30]
mov qword [rbp - 0x68], rdi
mov edx, dword [rbp + 0x3c]
lea ecx, [rdx - 1]
cmp dword [rbp + 0x38], ecx
cmovl ecx, dword [rbp + 0x38]
jmp 0x180041570
mov edx, dword [rbp - 0x7c]
lea eax, [rcx + 1]
cmp eax, edx
cmovl edx, eax
movsxd rbx, edx
cmp rbx, 1
jb 0x180041598
jbe 0x180041593
lea r8, [rbx - 1]
mov rdx, r12
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov byte [rbx + rdi - 1], 0
mov byte [rsp + 0x78], 1
xor r15d, r15d
mov dword [rsi + 0xe80], r15d
mov qword [rsi + 0xe88], r15
mov qword [rsi + 0xe90], r15
mov r12, qword [rsp + 0x70]
mov edi, dword [rsp + 0x68]
mov r13d, dword [rbp - 0x80]
jmp 0x1800415c7
xor r15d, r15d
cmp byte [rsp + 0x58], 0
je 0x180041634
cmp dword [r12 + 0x1c78], edi
jne 0x180041634
mov rdx, qword [0x18008af10]
mov ecx, dword [rdx + 0x1c78]
test ecx, ecx
setne al
mov byte [rdx + 0x1c84], al
test ecx, ecx
je 0x180041604
mov dword [rdx + 0x1c80], r15d
mov word [rdx + 0x1c87], 0
mov dword [rdx + 0x1c78], r15d
mov word [rdx + 0x1c85], 0
mov qword [rdx + 0x1ca8], r15
mov byte [rdx + 0x1c89], 0
mov qword [rdx + 0x1c8c], 0
mov qword [rdx + 0x1c98], r15
mov r10d, dword [rsp + 0x54]
test r10b, r10b
jne 0x18004170e
mov r8d, 1
mov edx, edi
lea rcx, [rbp - 0x30]
call fcn.180005040
mov rax, qword [0x18008af10]
movups xmm0, xmmword [rax + 0x176c]
movups xmmword [rbp + 0x70], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x1640]
movss dword [rbp + 0x7c], xmm0
lea rcx, [rbp + 0x70]
call fcn.180003f10
mov r8d, eax
movss xmm0, dword [r12 + 0x1680]
movss dword [rsp + 0x20], xmm0
mov r9b, 1
mov rdx, qword [rbp - 0x28]
movaps xmm0, xmm11
unpcklps xmm0, xmm15
movq rcx, xmm0
call fcn.180004d30
movss dword [rbp + 0x64], xmm15
movaps xmm14, xmm7
addss xmm14, xmm11
movss dword [rbp + 0x68], xmm14
movaps xmm12, xmm15
addss xmm12, xmm8
movss dword [rbp + 0x6c], xmm12
movaps xmm13, xmm11
addss xmm13, dword [r12 + 0x1678]
movaps xmm8, xmm15
addss xmm8, dword [r12 + 0x167c]
movss dword [rsp + 0x68], xmm8
movss dword [rbp - 0x80], xmm14
movaps xmm15, xmm12
movss dword [rsp + 0x7c], xmm12
mov r10d, dword [rsp + 0x54]
mov r8, qword [rbp - 0x78]
jmp 0x180041775
movss dword [rbp + 0x64], xmm15
movaps xmm4, xmm11
addss xmm4, xmm7
movss dword [rbp - 0x80], xmm4
movaps xmm14, xmm4
movss dword [rbp + 0x68], xmm4
addss xmm15, xmm8
movss dword [rsp + 0x7c], xmm15
movaps xmm12, xmm15
movss dword [rbp + 0x6c], xmm15
mov r8, qword [rbp - 0x78]
movss xmm0, dword [r8 + 0x11c]
movss xmm1, dword [r8 + 0x118]
unpcklps xmm1, xmm0
movaps xmm2, xmm1
shufps xmm2, xmm2, 0x55
movaps xmm8, xmm2
movss dword [rsp + 0x68], xmm2
movsd qword [rbp + 0x50], xmm1
movss xmm13, dword [rbp + 0x50]
movss dword [rbp + 0x60], xmm11
mov dword [rbp - 0x58], 0
xorps xmm5, xmm5
xorps xmm3, xmm3
movss dword [rbp - 0x54], xmm3
cmp byte [rsp + 0x7a], 0
je 0x18004179e
mov rbx, qword [rsi + 0x28]
mov qword [rbp - 0x68], rbx
jmp 0x1800417a2
mov rbx, qword [rbp - 0x68]
movzx eax, byte [rsp + 0x50]
test al, al
jne 0x180041986
test r13b, r13b
jne 0x180041986
test r10b, r10b
je 0x180041815
mov ecx, r15d
movzx edx, byte [rbx]
lea r14, [rbx + 1]
test dl, dl
je 0x1800417e6
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 0x1800417d0
dec r14
movzx eax, byte [r14]
cmp al, 0xa
je 0x1800417f7
cmp al, 0xd
je 0x1800417f7
inc ecx
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
mulss xmm1, dword [r12 + 0x1ac0]
movaps xmm0, xmm7
unpcklps xmm0, xmm1
movsd qword [rbp - 0x58], xmm0
jmp 0x18004184f
cmp dword [r12 + 0x1c78], edi
jne 0x180041825
movsxd r14, dword [rsi + 8]
jmp 0x18004183a
mov r14, 0xffffffffffffffff
nop dword [rax]
inc r14
cmp byte [rbx + r14], 0
jne 0x180041830
add r14, rbx
mov rax, r14
sub rax, rbx
cmp rax, 0x200000
jge 0x18004226d
mov rax, qword [0x18008af10]
movups xmm0, xmmword [rax + 0x16fc]
movups xmmword [rbp + 0x70], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x1640]
movss dword [rbp + 0x7c], xmm0
lea rcx, [rbp + 0x70]
call fcn.180003f10
mov r9d, eax
mov r8, qword [r8 + 0x318]
lea rdx, [rbp + 0x60]
test r10b, r10b
cmovne rdx, r15
mov rcx, r14
movss xmm2, dword [r12 + 0x1ac0]
mov r10, qword [r12 + 0x1ab8]
test eax, 0xff000000
je 0x18004226d
test r14, r14
jne 0x1800418cc
mov rcx, 0xffffffffffffffff
nop dword [rax]
inc rcx
cmp byte [rbx + rcx], 0
jne 0x1800418c0
add rcx, rbx
cmp rbx, rcx
je 0x18004226d
test r10, r10
jne 0x1800418e2
mov rax, qword [r8 + 0x38]
mov r10, qword [rax + 8]
xorps xmm10, xmm10
ucomiss xmm2, xmm10
jp 0x1800418f7
jne 0x1800418f7
mov rax, qword [r8 + 0x38]
movss xmm2, dword [rax + 0x10]
movups xmm0, xmmword [r8 + 0x88]
movups xmmword [rbp + 0x50], xmm0
test rdx, rdx
je 0x180041943
movss xmm0, dword [rbp + 0x50]
maxss xmm0, dword [rdx]
movss dword [rbp + 0x50], xmm0
movss xmm1, dword [rbp + 0x54]
maxss xmm1, dword [rdx + 4]
movss dword [rbp + 0x54], xmm1
movss xmm0, dword [rbp + 0x58]
minss xmm0, dword [rdx + 8]
movss dword [rbp + 0x58], xmm0
movss xmm1, dword [rbp + 0x5c]
minss xmm1, dword [rdx + 0xc]
movss dword [rbp + 0x5c], xmm1
setne al
mov byte [rsp + 0x48], al
movss dword [rsp + 0x40], xmm10
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rbx
lea rax, [rbp + 0x50]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r9d
movaps xmm0, xmm13
unpcklps xmm0, xmm8
movq r9, xmm0
mov rdx, r8
mov rcx, r10
call fcn.1800326c0
jmp 0x180042271
movsxd r14, dword [rsi + 8]
add r14, rbx
mov rsi, qword [rsi + 0x18]
xorps xmm7, xmm7
xorps xmm6, xmm6
mov r9, r15
mov rbx, r15
mov r8d, 0xfffffc18
mov edi, r8d
mov edx, r15d
mov r15, qword [rsp + 0x60]
test al, al
je 0x1800419c5
movsxd rax, dword [r15 + 0x4c]
lea r9, [rsi + rax*2]
mov edx, 1
mov r8d, 0xffffffff
test r13b, r13b
je 0x1800419e5
mov ecx, dword [r15 + 0x54]
cmp dword [r15 + 0x50], ecx
cmovl ecx, dword [r15 + 0x50]
movsxd rax, ecx
lea rbx, [rsi + rax*2]
mov edi, 0xffffffff
inc edx
movzx eax, r10b
add edx, eax
xor eax, eax
mov r11d, eax
mov rax, rsi
movzx ecx, word [rsi]
test cx, cx
je 0x180041a3c
nop dword [rax + rax]
cmp cx, 0xa
jne 0x180041a30
inc r11d
cmp r8d, 0xffffffff
jne 0x180041a1d
cmp rax, r9
jb 0x180041a1d
mov r8d, r11d
dec edx
test edx, edx
jle 0x180041a3c
cmp edi, 0xffffffff
jne 0x180041a30
cmp rax, rbx
jb 0x180041a30
mov edi, r11d
dec edx
test edx, edx
jle 0x180041a3c
add rax, 2
movzx ecx, word [rax]
test cx, cx
jne 0x180041a00
inc r11d
mov r10d, r11d
cmp r8d, 0xffffffff
cmovne r10d, r8d
cmp edi, 0xffffffff
cmove edi, r11d
mov rdx, r9
cmp r9, rsi
jbe 0x180041a72
nop dword [rax]
lea rax, [rdx - 2]
cmp word [rax], 0xa
je 0x180041a72
mov rdx, rax
cmp rax, rsi
ja 0x180041a60
mov rax, qword [0x18008af10]
mov r8, qword [rax + 0x1ab8]
movss xmm2, dword [rax + 0x1ac0]
divss xmm2, dword [r8 + 0x14]
movaps xmm10, xmm5
movss dword [rsp + 0x5c], xmm5
movaps xmm1, xmm5
cmp rdx, r9
jae 0x180041af5
movzx ecx, word [rdx]
add rdx, 2
cmp ecx, 0xa
jne 0x180041ab6
maxss xmm10, xmm1
movaps xmm1, xmm5
jmp 0x180041ad9
cmp ecx, 0xd
je 0x180041ad9
cmp ecx, dword [r8]
jge 0x180041acb
mov rax, qword [r8 + 8]
movss xmm0, dword [rax + rcx*4]
jmp 0x180041ad1
movss xmm0, dword [r8 + 0x10]
mulss xmm0, xmm2
addss xmm1, xmm0
cmp rdx, r9
jb 0x180041aa0
movss dword [rsp + 0x5c], xmm10
comiss xmm1, xmm10
jbe 0x180041af5
movaps xmm10, xmm1
movss dword [rsp + 0x5c], xmm1
movss xmm0, dword [r12 + 0x1ac0]
movd xmm11, r10d
cvtdq2ps xmm11, xmm11
mulss xmm11, xmm0
movss dword [rbp - 0x7c], xmm11
test edi, edi
js 0x180041bba
mov rdx, rbx
cmp rbx, rsi
jbe 0x180041b35
lea rax, [rdx - 2]
cmp word [rax], 0xa
je 0x180041b35
mov rdx, rax
cmp rax, rsi
ja 0x180041b23
mov rax, qword [0x18008af10]
mov r8, qword [rax + 0x1ab8]
movss xmm2, dword [rax + 0x1ac0]
divss xmm2, dword [r8 + 0x14]
movaps xmm6, xmm5
movaps xmm1, xmm5
cmp rdx, rbx
jae 0x180041ba5
nop dword [rax]
movzx ecx, word [rdx]
add rdx, 2
cmp ecx, 0xa
jne 0x180041b75
maxss xmm6, xmm1
movaps xmm1, xmm5
jmp 0x180041b98
cmp ecx, 0xd
je 0x180041b98
cmp ecx, dword [r8]
jge 0x180041b8a
mov rax, qword [r8 + 8]
movss xmm0, dword [rax + rcx*4]
jmp 0x180041b90
movss xmm0, dword [r8 + 0x10]
mulss xmm0, xmm2
addss xmm1, xmm0
cmp rdx, rbx
jb 0x180041b60
comiss xmm1, xmm6
jbe 0x180041ba5
movaps xmm6, xmm1
movss xmm0, dword [r12 + 0x1ac0]
movd xmm7, edi
cvtdq2ps xmm7, xmm7
mulss xmm7, xmm0
mov r10d, dword [rsp + 0x54]
movss xmm4, dword [rbp - 0x50]
test r10b, r10b
je 0x180041bea
movd xmm1, r11d
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm0
movaps xmm0, xmm4
unpcklps xmm0, xmm1
movaps xmm1, xmm0
shufps xmm1, xmm1, 0x55
movaps xmm3, xmm1
movsd qword [rbp - 0x58], xmm0
movzx r8d, byte [rsp + 0x50]
test r8b, r8b
je 0x180041d05
cmp byte [r15 + 0xe7c], 0
je 0x180041d05
test dword [rbp + 0x198], 0x1000
jne 0x180041c5b
movaps xmm0, xmm4
mulss xmm0, dword [0x18007ff94]
movss xmm2, dword [r15 + 0x48]
movaps xmm1, xmm10
comiss xmm2, xmm10
jbe 0x180041c3b
subss xmm1, xmm0
movaps xmm0, xmm5
maxss xmm0, xmm1
jmp 0x180041c48
subss xmm1, xmm4
comiss xmm1, xmm2
jb 0x180041c61
addss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [r15 + 0x48], xmm0
jmp 0x180041c61
xor eax, eax
mov dword [r15 + 0x48], eax
test r10b, r10b
je 0x180041cfd
movaps xmm0, xmm11
subss xmm0, dword [r12 + 0x1ac0]
movss xmm2, dword [rbp - 0x5c]
comiss xmm9, xmm0
jbe 0x180041c8e
movaps xmm9, xmm5
maxss xmm9, xmm0
jmp 0x180041cb0
movaps xmm0, xmm11
subss xmm0, xmm2
comiss xmm0, xmm9
jb 0x180041cb0
movss xmm9, dword [r12 + 0x167c]
addss xmm9, xmm9
addss xmm9, xmm0
movss xmm1, dword [r12 + 0x167c]
comiss xmm5, xmm9
jbe 0x180041cc5
movaps xmm1, xmm5
jmp 0x180041cda
addss xmm1, xmm1
addss xmm1, xmm3
subss xmm1, xmm2
maxss xmm1, xmm5
minss xmm1, xmm9
mov rax, qword [rbp - 0x78]
movss xmm0, dword [rax + 0x90]
subss xmm0, xmm1
addss xmm0, xmm8
movss dword [rsp + 0x68], xmm0
movss dword [rax + 0x90], xmm1
mov byte [r15 + 0xe7c], 0
movss xmm9, dword [r15 + 0x48]
test r13b, r13b
je 0x180041f8d
mov edx, dword [r15 + 0x54]
mov ecx, dword [r15 + 0x50]
mov eax, edx
cmp ecx, edx
cmovl eax, ecx
cdqe
lea rbx, [rsi + rax*2]
cmovge edx, ecx
movsxd rax, edx
lea rdi, [rsi + rax*2]
test r8b, r8b
je 0x180041d42
movss xmm1, dword [0x18008005c]
jmp 0x180041d4a
movss xmm1, dword [0x18007fff0]
mov rax, qword [0x18008af10]
movups xmm0, xmmword [rax + 0x1a4c]
movups xmmword [rbp + 0x70], xmm0
mulss xmm1, dword [rax + 0x1640]
shufps xmm0, xmm0, 0xff
mulss xmm0, xmm1
movss dword [rbp + 0x7c], xmm0
lea rcx, [rbp + 0x70]
call fcn.180003f10
mov esi, eax
xorps xmm5, xmm5
test r10b, r10b
je 0x180041d8f
movss dword [rbp - 0x4c], xmm5
xorps xmm8, xmm8
jmp 0x180041d98
movss xmm8, dword [0x180080088]
movaps xmm3, xmm13
addss xmm3, xmm6
subss xmm3, xmm9
movss xmm6, dword [rsp + 0x68]
addss xmm6, xmm7
subss xmm6, xmm5
movss xmm7, dword [0x18007ffd4]
cmp rbx, rdi
jae 0x180041f95
movss xmm11, dword [rbp - 0x30]
movss xmm15, dword [rbp - 0x4c]
movss xmm10, dword [rbp - 0x2c]
mov r15, qword [rbp - 0x78]
nop word [rax + rax]
movaps xmm0, xmm12
addss xmm0, dword [r12 + 0x1ac0]
comiss xmm6, xmm0
ja 0x180041f6d
comiss xmm10, xmm6
jbe 0x180041e2b
cmp rbx, rdi
jae 0x180041f51
nop word [rax + rax]
movzx eax, word [rbx]
add rbx, 2
cmp ax, 0xa
je 0x180041f51
cmp rbx, rdi
jb 0x180041e10
jmp 0x180041f51
mov rax, qword [0x18008af10]
mov rdx, qword [rax + 0x1ab8]
movss xmm2, dword [rax + 0x1ac0]
divss xmm2, dword [rdx + 0x14]
movaps xmm4, xmm5
movaps xmm1, xmm5
cmp rbx, rdi
jae 0x180041e8f
movzx ecx, word [rbx]
add rbx, 2
cmp ecx, 0xa
je 0x180041e85
cmp ecx, 0xd
je 0x180041e7e
cmp ecx, dword [rdx]
jge 0x180041e71
mov rax, qword [rdx + 8]
movss xmm0, dword [rax + rcx*4]
jmp 0x180041e76
movss xmm0, dword [rdx + 0x10]
mulss xmm0, xmm2
addss xmm1, xmm0
cmp rbx, rdi
jb 0x180041e51
jmp 0x180041e8f
movaps xmm4, xmm5
maxss xmm4, xmm1
movaps xmm1, xmm5
maxss xmm1, xmm4
comiss xmm5, xmm1
jb 0x180041ec7
mov rax, qword [r12 + 0x1ab8]
cmp dword [rax], 0x20
jle 0x180041eb3
mov rax, qword [rax + 8]
movss xmm0, dword [rax + 0x80]
jmp 0x180041eb8
movss xmm0, dword [rax + 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, xmm15
subss xmm2, dword [r12 + 0x1ac0]
addss xmm2, xmm6
maxss xmm3, xmm11
maxss xmm2, xmm10
movss dword [rbp + 0x70], xmm3
movss dword [rbp + 0x74], xmm2
minss xmm1, xmm14
minss xmm0, xmm12
movss dword [rbp + 0x78], xmm1
movss dword [rbp + 0x7c], xmm0
comiss xmm0, xmm10
jbe 0x180041f51
comiss xmm12, xmm2
jbe 0x180041f51
comiss xmm1, xmm11
jbe 0x180041f51
comiss xmm14, xmm3
jbe 0x180041f51
mov dword [rsp + 0x28], 0xf
movss dword [rsp + 0x20], xmm5
mov r9d, esi
lea r8, [rbp + 0x78]
lea rdx, [rbp + 0x70]
mov rcx, qword [r15 + 0x318]
call fcn.18002e2f0
xorps xmm5, xmm5
movaps xmm3, xmm13
subss xmm3, xmm9
addss xmm6, dword [r12 + 0x1ac0]
cmp rbx, rdi
jb 0x180041de0
movss xmm10, dword [rsp + 0x5c]
movss xmm11, dword [rbp - 0x7c]
movss xmm15, dword [rsp + 0x7c]
mov r15, qword [rsp + 0x60]
mov r10d, dword [rsp + 0x54]
jmp 0x180041f95
movss xmm7, dword [0x18007ffd4]
mov rbx, qword [rbp - 0x68]
test r10b, r10b
jne 0x180041fb0
mov rax, r14
sub rax, rbx
cmp rax, 0x200000
jge 0x1800420fa
mov rax, qword [0x18008af10]
movups xmm0, xmmword [rax + 0x16fc]
movups xmmword [rbp + 0x70], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x1640]
movss dword [rbp + 0x7c], xmm0
lea rcx, [rbp + 0x70]
call fcn.180003f10
mov r9d, eax
mov rdi, qword [rbp - 0x78]
mov r8, qword [rdi + 0x318]
mov rcx, r14
movaps xmm3, xmm13
subss xmm3, xmm9
movss xmm4, dword [rsp + 0x68]
xorps xmm5, xmm5
subss xmm4, xmm5
movss xmm2, dword [r12 + 0x1ac0]
mov r10, qword [r12 + 0x1ab8]
lea rdx, [rbp + 0x60]
cmp byte [rsp + 0x54], 0
mov eax, 0
cmovne rdx, rax
test r9d, 0xff000000
je 0x1800420fe
test r14, r14
jne 0x18004204b
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [rbx + rcx], al
jne 0x180042040
add rcx, rbx
cmp rbx, rcx
je 0x1800420fe
test r10, r10
jne 0x180042061
mov rax, qword [r8 + 0x38]
mov r10, qword [rax + 8]
ucomiss xmm2, xmm5
jp 0x180042071
jne 0x180042071
mov rax, qword [r8 + 0x38]
movss xmm2, dword [rax + 0x10]
movups xmm0, xmmword [r8 + 0x88]
movups xmmword [rbp + 0x50], xmm0
test rdx, rdx
je 0x1800420bd
movss xmm0, dword [rbp + 0x50]
maxss xmm0, dword [rdx]
movss dword [rbp + 0x50], xmm0
movss xmm1, dword [rbp + 0x54]
maxss xmm1, dword [rdx + 4]
movss dword [rbp + 0x54], xmm1
movss xmm0, dword [rbp + 0x58]
minss xmm0, dword [rdx + 8]
movss dword [rbp + 0x58], xmm0
movss xmm1, dword [rbp + 0x5c]
minss xmm1, dword [rdx + 0xc]
movss dword [rbp + 0x5c], xmm1
setne al
mov byte [rsp + 0x48], al
movss dword [rsp + 0x40], xmm5
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rbx
lea rax, [rbp + 0x50]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r9d
unpcklps xmm3, xmm4
movq r9, xmm3
mov rdx, r8
mov rcx, r10
call fcn.1800326c0
xorps xmm5, xmm5
jmp 0x1800420fe
mov rdi, qword [rbp - 0x78]
cmp byte [rsp + 0x50], 0
je 0x18004226d
movss xmm0, dword [r12 + 0x18]
addss xmm0, dword [r15 + 0xe78]
movss dword [r15 + 0xe78], xmm0
cmp byte [r12 + 0xd2], 0
je 0x180042150
comiss xmm5, xmm0
jae 0x180042150
movss xmm1, dword [0x180080060]
call sub.api_ms_win_crt_math_l1_1_0.dll_fmodf
movss xmm1, dword [0x180080020]
comiss xmm1, xmm0
jae 0x180042150
xor al, al
jmp 0x180042152
mov al, 1
addss xmm13, xmm10
subss xmm13, xmm9
movss xmm9, dword [rsp + 0x68]
movaps xmm6, xmm9
addss xmm6, xmm11
xorps xmm10, xmm10
subss xmm6, xmm10
movss dword [rbp + 0x70], xmm13
movaps xmm0, xmm6
subss xmm0, dword [r12 + 0x1ac0]
addss xmm0, xmm7
movss dword [rbp + 0x74], xmm0
movaps xmm2, xmm13
movss xmm7, dword [0x18008005c]
addss xmm2, xmm7
movss dword [rbp + 0x78], xmm2
movaps xmm1, xmm6
subss xmm1, dword [0x180080070]
movss dword [rbp + 0x7c], xmm1
movss xmm8, dword [rbp - 0x2c]
test al, al
je 0x180042231
comiss xmm1, xmm8
jbe 0x180042231
comiss xmm15, xmm0
jbe 0x180042231
comiss xmm2, dword [rbp - 0x30]
jbe 0x180042231
movss xmm0, dword [rbp - 0x80]
comiss xmm0, xmm13
jbe 0x180042231
mov rax, qword [0x18008af10]
movups xmm0, xmmword [rax + 0x16fc]
movups xmmword [rbp + 0x50], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x1640]
movss dword [rbp + 0x5c], xmm0
movss dword [rbp - 0x60], xmm13
movss dword [rbp - 0x5c], xmm1
lea rcx, [rbp + 0x50]
call fcn.180003f10
mov r9d, eax
movss dword [rsp + 0x20], xmm7
lea r8, [rbp - 0x60]
lea rdx, [rbp + 0x70]
mov rcx, qword [rdi + 0x318]
call fcn.18002e070
cmp byte [rsp + 0x6c], 0
jne 0x180042286
subss xmm13, xmm7
subss xmm6, dword [r12 + 0x1ac0]
movss dword [r12 + 0x2ff0], xmm13
movss dword [r12 + 0x2ff4], xmm6
mov rax, qword [rbp - 0x40]
mov rax, qword [rax + 0x30]
mov qword [r12 + 0x3000], rax
jmp 0x180042286
xorps xmm10, xmm10
movss xmm9, dword [rsp + 0x68]
movss xmm7, dword [0x18008005c]
movss xmm8, dword [rbp - 0x2c]
mov edi, dword [rbp - 0x70]
test dil, dil
je 0x180042293
call fcn.1800113b0
cmp byte [rsp + 0x54], 0
je 0x1800422ad
lea rcx, [rbp - 0x58]
call fcn.18003a9c0
call fcn.18000aec0
call fcn.180011f90
cmp byte [r12 + 0x3090], 0
je 0x1800423f9
test dil, dil
jne 0x1800423f9
mov rsi, qword [0x18008af10]
mov r15, qword [rsi + 0x1c20]
test r14, r14
jne 0x1800422ff
mov r14, rbx
cmp rbx, 0xffffffffffffffff
jae 0x1800422ff
movzx ecx, byte [r14]
test cl, cl
je 0x1800422ff
lea rax, [r14 + 1]
cmp cl, 0x23
jne 0x1800422f6
cmp byte [rax], cl
je 0x1800422ff
mov r14, rax
cmp rax, 0xffffffffffffffff
jb 0x1800422e1
movss xmm0, dword [rsi + 0x30b0]
addss xmm0, xmm7
movss dword [rsi + 0x30b0], xmm9
comiss xmm9, xmm0
jbe 0x180042326
mov r12b, 1
mov byte [rsi + 0x30b4], r12b
jmp 0x180042329
xor r12b, r12b
mov ecx, dword [rsi + 0x30b8]
mov eax, dword [r15 + 0x1c4]
cmp ecx, eax
jle 0x180042342
mov dword [rsi + 0x30b8], eax
mov ecx, eax
mov r15d, dword [r15 + 0x1c4]
sub r15d, ecx
nop dword [rax]
mov r8, r14
sub r8, rbx
mov edx, 0xa
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
mov rdi, r14
test rax, rax
cmovne rdi, rax
cmp rdi, r14
jne 0x180042377
cmp rbx, rdi
je 0x1800423e3
mov r9d, edi
sub r9d, ebx
test r12b, r12b
jne 0x1800423ae
cmp rbx, qword [rbp - 0x68]
jne 0x1800423ae
cmp byte [rsi + 0x30b4], r12b
je 0x18004239a
lea rcx, str._s_.s
jmp 0x1800423b5
mov r8, rbx
mov edx, r9d
lea rcx, str.__.s
call fcn.180017500
jmp 0x1800423ce
lea rcx, str._r_n_s_.s
mov qword [rsp + 0x20], rbx
lea r8, [0x180077a9e]
lea edx, [r15*4]
call fcn.180017500
mov byte [rsi + 0x30b4], 0
cmp rdi, r14
je 0x1800423f4
lea rbx, [rdi + 1]
jmp 0x180042350
test r12b, r12b
je 0x1800423f4
lea rcx, [0x180077c40]
call fcn.180017500
mov r12, qword [rsp + 0x70]
movss xmm0, dword [rbp - 0x48]
comiss xmm0, xmm10
jbe 0x180042435
movss xmm0, dword [rbp - 0x28]
addss xmm0, dword [r12 + 0x1690]
addss xmm8, dword [r12 + 0x167c]
mov r9b, 1
xor r8d, r8d
mov rdx, qword [rbp - 0x38]
unpcklps xmm0, xmm8
movq rcx, xmm0
call fcn.1800043b0
movzx edx, byte [rsp + 0x78]
mov ecx, dword [rbp + 0x198]
test dl, dl
je 0x180042468
bt ecx, 0x15
jb 0x180042468
mov rax, qword [0x18008af10]
mov word [rax + 0x1c88], 0x101
mov rax, qword [rax + 0x1c20]
or dword [rax + 0x160], 4
test cl, 0x20
mov eax, edx
movzx ecx, byte [rsp + 0x52]
cmovne eax, ecx
jmp 0x18003f353