Function at 0x140040240
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 - 0x178]
sub rsp, 0x240
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 [0x140059040]
xor rax, rsp
mov qword [rbp + 0x90], rax
mov qword [rbp - 0x68], r8
mov r12, rcx
mov qword [rbp - 0x38], rcx
mov rbx, qword [0x1400598b0]
mov rdi, rbx
mov qword [rsp + 0x70], rbx
mov rax, qword [rbx + 0x1d18]
mov byte [rax + 0xd1], 1
mov r13, qword [rbx + 0x1d18]
mov qword [rbp - 0x40], r13
cmp byte [r13 + 0xd4], 0
jne 0x14004056e
mov r15d, dword [rbp + 0x1a8]
mov esi, r15d
shr esi, 0x1a
and sil, 1
mov dword [rsp + 0x54], esi
mov eax, r15d
shr eax, 0xe
and al, 1
mov dword [rsp + 0x68], eax
mov eax, r15d
shr eax, 0xf
and al, 1
mov dword [rbp - 0x60], eax
mov eax, r15d
shr eax, 0x10
not al
and al, 1
mov dword [rsp + 0x64], eax
mov eax, r15d
shr eax, 0x12
and al, 1
mov dword [rbp - 0x80], eax
test sil, sil
je 0x14004034a
call fcn.1400115c0
mov rbx, qword [0x1400598b0]
movsxd r8, dword [r13 + 0x108]
mov rax, qword [r13 + 0x110]
mov r8d, dword [rax + r8*4 - 4]
xor edx, edx
mov rcx, r12
call fcn.140002830
mov r14d, eax
mov dword [rbp - 0x74], eax
cmp dword [rbx + 0x1d6c], eax
jne 0x14004037b
mov dword [rbx + 0x1d70], eax
cmp dword [rbx + 0x1da8], r14d
jne 0x14004038b
mov byte [rbx + 0x1dac], 1
mov rcx, r12
cmp r12, 0xffffffffffffffff
jae 0x1400403b1
movzx edx, byte [rcx]
test dl, dl
je 0x1400403b1
lea rax, [rcx + 1]
cmp dl, 0x23
jne 0x1400403a8
cmp byte [rax], dl
je 0x1400403b1
mov rcx, rax
cmp rax, 0xffffffffffffffff
jb 0x140040394
movss xmm0, dword [rbx + 0x1a80]
xor eax, eax
movss xmm1, dword [0x140051318]
movss dword [rbp - 0x44], xmm1
movss xmm9, dword [0x140051308]
cmp r12, rcx
jne 0x1400403db
xorps xmm7, xmm7
jmp 0x140040427
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, [rsp + 0x78]
mov rcx, qword [rbx + 0x1a78]
call fcn.1400327e0
movss xmm0, dword [rsp + 0x78]
addss xmm0, dword [0x140051258]
cvttss2si eax, xmm0
movd xmm7, eax
cvtdq2ps xmm7, xmm7
movss xmm0, dword [rsp + 0x7c]
xorps xmm12, xmm12
movss dword [rbp - 0x48], xmm7
test sil, sil
je 0x140040445
movss xmm0, dword [rdi + 0x1a80]
mulss xmm0, dword [0x1400512b4]
movss xmm6, dword [rdi + 0x1674]
movaps xmm3, xmm6
addss xmm3, xmm6
addss xmm3, xmm0
call fcn.140011420
movaps xmm2, xmm0
mov rdx, qword [rbp + 0x1a0]
mov rdx, qword [rdx]
lea rcx, [rsp + 0x78]
call fcn.1400114a0
comiss xmm7, xmm12
jbe 0x140040487
movaps xmm1, xmm7
addss xmm1, dword [rdi + 0x1688]
jmp 0x14004048a
xorps xmm1, xmm1
movss xmm13, dword [r13 + 0x11c]
movss dword [rbp - 0x5c], xmm13
movaps xmm0, xmm13
movss xmm11, dword [rsp + 0x7c]
addss xmm0, xmm11
movss xmm7, dword [r13 + 0x118]
movss dword [rbp - 0x50], xmm7
movaps xmm8, xmm7
movss xmm10, dword [rsp + 0x78]
addss xmm8, xmm10
movss dword [rbp - 0x4c], xmm8
movss dword [rbp - 0x30], xmm7
movss dword [rbp - 0x2c], xmm13
movss dword [rbp - 0x28], xmm8
movss dword [rbp - 0x24], xmm0
movaps xmm2, xmm11
addss xmm2, xmm13
addss xmm1, xmm10
addss xmm1, xmm7
movss dword [rbp + 0x50], xmm7
movss dword [rbp + 0x54], xmm13
movss dword [rbp + 0x58], xmm1
movss dword [rbp + 0x5c], xmm2
mov qword [rbp - 0x58], r13
mov ebx, 1
test sil, sil
je 0x1400407f8
mov r9d, ebx
lea r8, [rbp - 0x30]
mov edx, r14d
lea rcx, [rbp + 0x50]
call fcn.1400110e0
test al, al
jne 0x1400405d2
movss xmm0, dword [rbp + 0x58]
subss xmm0, dword [rbp + 0x50]
movss dword [rsp + 0x78], xmm0
movss xmm1, dword [rbp + 0x5c]
subss xmm1, dword [rbp + 0x54]
movss dword [rsp + 0x7c], xmm1
movss xmm1, dword [rdi + 0x1674]
lea rcx, [rsp + 0x78]
call fcn.140010f90
call fcn.1400116f0
xor al, al
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.140049cb0
lea r11, [rsp + 0x240]
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 [0x1400598b0]
mov dword [rbp + 0x68], 3
movups xmm0, xmmword [rbx + 0x172c]
movups xmmword [rbp + 0x6c], xmm0
lea rcx, [rbx + 0x1e70]
lea rdx, [rbp + 0x68]
call fcn.140022d80
movups xmm0, xmmword [rdi + 0x176c]
movups xmmword [rbx + 0x172c], xmm0
movss xmm1, dword [rdi + 0x1678]
mov ecx, 6
call fcn.1400032c0
movss xmm1, dword [rdi + 0x167c]
mov ecx, 7
call fcn.1400032c0
movss xmm1, dword [rbp - 0x24]
movss xmm13, dword [rbp - 0x2c]
movss dword [rbp - 0x5c], xmm13
subss xmm1, xmm13
movss xmm6, dword [rbp - 0x28]
movss dword [rbp - 0x4c], xmm6
movaps xmm0, xmm6
movss xmm7, dword [rbp - 0x30]
movss dword [rbp - 0x50], xmm7
subss xmm0, xmm7
movss dword [rsp + 0x78], xmm0
movss dword [rsp + 0x7c], xmm1
lea r8, [rsp + 0x78]
mov edx, r14d
mov rcx, r12
call fcn.14000a440
movzx r11d, al
mov r8, qword [0x1400598b0]
movsxd rcx, dword [r8 + 0x1e80]
lea rdx, [rcx + rcx*2]
mov r9, qword [r8 + 0x1e88]
movsxd rcx, dword [r9 + rdx*4 - 0xc]
lea rax, [rcx + rcx*2]
lea rbx, [0x14004cbc0]
mov ecx, dword [rbx + rax*4 + 8]
cmp dword [rbx + rax*4], 8
jne 0x1400406e8
mov eax, dword [rbx + rax*4 + 4]
cmp eax, 1
jne 0x1400406c9
mov eax, dword [r9 + rdx*4 - 8]
mov dword [rcx + r8 + 0x1638], eax
jmp 0x1400406e8
cmp eax, 2
jne 0x1400406e8
mov eax, dword [r9 + rdx*4 - 8]
mov dword [rcx + r8 + 0x1638], eax
mov eax, dword [r9 + rdx*4 - 4]
mov dword [rcx + r8 + 0x163c], eax
movsxd rcx, dword [r8 + 0x1e80]
lea eax, [rcx - 1]
mov dword [r8 + 0x1e80], eax
lea rax, [rcx - 2]
lea rcx, [rax + rax*2]
mov rdx, qword [r8 + 0x1e88]
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 0x140040751
mov eax, dword [rbx + r10*4 + 4]
cmp eax, 1
jne 0x140040734
mov eax, dword [rdx + rcx*4 + 4]
mov dword [r9 + r8 + 0x1638], eax
jmp 0x140040751
cmp eax, 2
jne 0x140040751
mov eax, dword [rdx + rcx*4 + 4]
mov dword [r9 + r8 + 0x1638], eax
mov eax, dword [rdx + rcx*4 + 8]
mov dword [r9 + r8 + 0x163c], eax
dec dword [r8 + 0x1e80]
movsxd rax, dword [r8 + 0x1e70]
lea rdx, [rax + rax*4]
mov rcx, qword [r8 + 0x1e78]
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 + 0x1e70]
test r11b, r11b
jne 0x140040796
call fcn.14000a630
jmp 0x140040569
mov rbx, qword [rdi + 0x1d18]
mov qword [rbp - 0x58], rbx
movsx ecx, word [rbx + 0x192]
mov eax, dword [rbx + 0x18c]
bts ecx, eax
mov word [rbx + 0x192], cx
movss xmm0, dword [rbx + 0x118]
addss xmm0, dword [rdi + 0x1670]
movss dword [rbx + 0x118], xmm0
movss xmm1, dword [rdi + 0x1674]
addss xmm1, dword [rbx + 0x11c]
movss dword [rbx + 0x11c], xmm1
subss xmm10, dword [rbx + 0xc4]
mov ebx, 1
jmp 0x14004085c
subss xmm2, xmm13
subss xmm1, xmm7
movss dword [rsp + 0x78], xmm1
movss dword [rsp + 0x7c], xmm2
movaps xmm1, xmm6
lea rcx, [rsp + 0x78]
call fcn.140010f90
bt r15d, 0x1c
jb 0x14004085c
mov r9d, ebx
lea r8, [rbp - 0x30]
mov edx, r14d
lea rcx, [rbp + 0x50]
call fcn.1400110e0
test al, al
je 0x14004056e
movss xmm0, dword [rbp - 0x28]
movss dword [rbp - 0x4c], xmm0
movss xmm13, dword [rbp - 0x2c]
movss dword [rbp - 0x5c], xmm13
movss xmm7, dword [rbp - 0x30]
movss dword [rbp - 0x50], xmm7
mov edx, r14d
lea rcx, [rbp - 0x30]
call fcn.140005570
mov byte [rbp - 0x7c], al
test al, al
je 0x140040875
mov dword [rdi + 0x20d0], ebx
mov r15, qword [0x1400598b0]
add r15, 0x2230
cmp dword [r15], r14d
mov ecx, 0
cmovne r15, rcx
mov qword [rbp + 0x50], r15
mov r12d, dword [r13 + 0x168]
mov r13d, r12d
shr r13d, 8
and r13b, 1
shr r12d, 9
and r12b, 1
test al, al
je 0x1400408be
cmp byte [rdi + 0x418], cl
je 0x1400408be
mov sil, 1
jmp 0x1400408c1
xor sil, sil
mov byte [rsp + 0x58], sil
mov ebx, dword [rdi + 0x1d6c]
cmp ebx, r14d
je 0x1400408f1
cmp dword [rdi + 0x1f6c], r14d
je 0x1400408ec
cmp dword [rdi + 0x1f60], r14d
jne 0x1400408f1
cmp dword [rdi + 0x1f84], 2
jne 0x1400408f1
mov r14b, 1
jmp 0x1400408f4
xor r14b, r14b
mov byte [rsp + 0x51], r14b
mov eax, dword [rsp + 0x54]
test al, al
je 0x140040940
test r15, r15
je 0x140040940
test ebx, ebx
jne 0x140040940
mov rax, qword [rbp - 0x58]
movsxd r8, dword [rax + 0x108]
mov rax, qword [rax + 0x110]
mov r8d, dword [rax + r8*4 - 4]
xor edx, edx
lea rcx, str.SCROLLY
call fcn.140002830
cmp dword [rdi + 0x1da8], eax
jne 0x14004093c
mov dil, 1
jmp 0x14004094c
mov eax, dword [rsp + 0x54]
xor dil, dil
test al, al
je 0x140040979
test r15, r15
je 0x140040979
mov rax, qword [rbp - 0x58]
movsxd r8, dword [rax + 0x108]
mov rax, qword [rax + 0x110]
mov r8d, dword [rax + r8*4 - 4]
xor edx, edx
lea rcx, str.SCROLLY
call fcn.140002830
cmp ebx, eax
jne 0x140040979
mov cl, 1
jmp 0x14004097b
xor cl, cl
mov byte [rsp + 0x59], cl
mov byte [rsp + 0x60], 0
mov rdx, qword [rsp + 0x70]
mov eax, dword [rbp - 0x74]
cmp dword [rdx + 0x1d6c], eax
je 0x1400409b8
mov r8d, dword [rbp + 0x1a8]
test r8b, 0x10
jne 0x1400409a6
test r14b, r14b
je 0x1400409b8
mov eax, dword [rsp + 0x54]
test al, al
jne 0x1400409bc
mov r14b, 1
mov dword [rsp + 0x5c], r14d
jmp 0x1400409d9
mov eax, dword [rsp + 0x54]
xor r14b, r14b
mov dword [rsp + 0x5c], r14d
test al, al
je 0x1400409d9
mov rax, qword [rbp - 0x58]
movss xmm9, dword [rax + 0xa0]
mov eax, dword [rsp + 0x54]
test r15, r15
je 0x1400409eb
xor al, 1
cmp byte [r15 + 0x63], al
je 0x1400409eb
mov r15b, 1
jmp 0x1400409ee
xor r15b, r15b
test sil, sil
jne 0x140040a1b
test dil, dil
jne 0x140040a1b
cmp byte [rsp + 0x51], dil
jne 0x140040a1b
test r13b, r13b
jne 0x140040a1b
test r12b, r12b
jne 0x140040a1b
mov byte [rsp + 0x50], r12b
test cl, cl
jne 0x140040a20
mov byte [rsp + 0x61], cl
mov edi, dword [rbp - 0x74]
jmp 0x140040a30
mov byte [rsp + 0x50], 1
mov byte [rsp + 0x61], 1
mov edi, dword [rbp - 0x74]
cmp dword [rdx + 0x1d6c], edi
jne 0x140040a39
test r15b, r15b
je 0x140040c5d
lea rsi, [rdx + 0x2230]
mov qword [rbp + 0x50], rsi
mov dword [rsi + 0xe78], 0xbe99999a
mov rax, 0xffffffffffffffff
mov r14, qword [rbp - 0x68]
nop dword [rax]
lea rax, [rax + 1]
cmp byte [r14 + rax], 0
jne 0x140040a60
lea ebx, [rax + 1]
mov ecx, dword [rsi + 0x34]
cmp ebx, ecx
jle 0x140040a99
test ecx, ecx
je 0x140040a84
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x140040a89
mov eax, 8
mov edx, ebx
cmp eax, ebx
cmovg edx, eax
lea rcx, [rsi + 0x30]
call fcn.1400233f0
mov dword [rsi + 0x30], ebx
movsxd r8, ebx
mov rdx, r14
mov rcx, qword [rsi + 0x38]
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [rsi + 0x14]
cmp ecx, 0x21
jge 0x140040ada
test ecx, ecx
je 0x140040ac2
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x140040ac7
mov eax, 8
mov edx, 0x21
cmp eax, edx
cmovg edx, eax
lea rcx, [rsi + 0x10]
call fcn.140023480
mov dword [rsi + 0x10], 0x21
mov ecx, dword [rsi + 0x24]
test ecx, ecx
jns 0x140040b03
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
mov edx, ecx
test eax, eax
cmovg edx, eax
lea rcx, [rsi + 0x20]
call fcn.1400233f0
xor ecx, ecx
mov dword [rsi + 0x20], ecx
mov byte [rsi + 0x40], cl
mov rdi, r14
mov r14, qword [rsi + 0x18]
mov rbx, r14
lea rsi, [r14 + 0x3e]
cmp r14, rsi
jae 0x140040b4f
nop
cmp byte [rdi], 0
je 0x140040b4d
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp - 0x70]
call fcn.140002b50
movsxd rcx, eax
add rdi, rcx
mov eax, dword [rbp - 0x70]
test eax, eax
je 0x140040b4d
mov word [rbx], ax
add rbx, 2
cmp rbx, rsi
jb 0x140040b20
xor ecx, ecx
mov word [rbx], cx
sub rbx, r14
sar rbx, 1
mov rsi, qword [rbp + 0x50]
mov dword [rsi + 4], ebx
sub edi, dword [rbp - 0x68]
mov dword [rsi + 8], edi
mov edi, dword [rbp - 0x74]
cmp dword [rsi], edi
jne 0x140040be7
test r15b, r15b
jne 0x140040be7
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 r15d, dword [rsp + 0x54]
mov r14d, dword [rsp + 0x5c]
mov r13d, dword [rbp + 0x1a8]
bt r13d, 0xd
jae 0x140040baf
mov byte [rsi + 0x58], 1
test r15b, r15b
jne 0x140040c6d
test r12b, r12b
jne 0x140040bda
cmp byte [rsp + 0x58], r12b
je 0x140040c6d
mov rax, qword [rsp + 0x70]
cmp byte [rax + 0x13c], r12b
je 0x140040c6d
mov r14b, 1
mov dword [rsp + 0x5c], r14d
jmp 0x140040c6d
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 r15d, dword [rsp + 0x54]
movzx eax, r15b
xor al, 1
mov byte [rsi + 0x63], al
mov byte [rsi + 0x58], 0
mov dword [rsi + 0x5c], ecx
test r15b, r15b
jne 0x140040b98
mov r14d, dword [rsp + 0x5c]
movzx r14d, r14b
test r13b, r13b
mov eax, 1
cmovne r14d, eax
mov dword [rsp + 0x5c], r14d
jmp 0x140040b9d
mov rsi, qword [rbp + 0x50]
mov r15d, dword [rsp + 0x54]
mov r13d, dword [rbp + 0x1a8]
mov r12, qword [rsp + 0x70]
movzx ebx, byte [rsp + 0x50]
cmp dword [r12 + 0x1d6c], edi
je 0x140040d20
test bl, bl
je 0x140040d12
mov rdx, qword [rbp - 0x40]
mov ecx, edi
call fcn.1400054a0
call fcn.140012dd0
mov rcx, rdx
call fcn.140010650
mov eax, dword [r12 + 0x1d80]
or eax, 3
mov dword [r12 + 0x1d80], eax
test r15b, r15b
jne 0x140040cc2
test r13b, r13b
jns 0x140040ccd
or eax, 0xc
mov dword [r12 + 0x1d80], eax
or dword [r12 + 0x1d84], 2
mov rax, qword [r12 + 0x1d88]
or rax, 0x180
mov qword [r12 + 0x1d88], rax
test r15b, r15b
je 0x140040cfd
or rax, 0x60
mov qword [r12 + 0x1d88], rax
test r13d, 0x440
je 0x140040d12
or rax, 1
mov qword [r12 + 0x1d88], rax
cmp dword [r12 + 0x1d6c], edi
jne 0x140040db8
test rsi, rsi
jne 0x140040d8f
mov rdx, qword [0x1400598b0]
mov ecx, dword [rdx + 0x1d6c]
test ecx, ecx
setne al
mov byte [rdx + 0x1d78], al
xor r8d, r8d
test ecx, ecx
je 0x140040d5d
mov dword [rdx + 0x1d74], r8d
mov word [rdx + 0x1d7b], r8w
mov dword [rdx + 0x1da4], 0xffffffff
mov dword [rdx + 0x1d6c], r8d
mov word [rdx + 0x1d79], 0
mov qword [rdx + 0x1d98], r8
mov word [rdx + 0x1d7d], 0
mov qword [rdx + 0x1d80], 0
mov qword [rdx + 0x1d88], r8
cmp dword [r12 + 0x1d6c], edi
jne 0x140040db8
cmp byte [r12 + 0x418], 0
je 0x140040dc4
cmp byte [rsp + 0x61], 0
jne 0x140040dc4
test bl, bl
jne 0x140040dc4
mov byte [rsp + 0x60], 1
mov cl, 1
jmp 0x140040dca
test rsi, rsi
je 0x140040dc8
cmp byte [rsp + 0x59], 0
je 0x140040dc8
mov cl, 1
jmp 0x140040dca
xor cl, cl
mov byte [rsp + 0x50], cl
test rsi, rsi
je 0x140040de4
mov eax, dword [rsi + 0x54]
cmp dword [rsi + 0x50], eax
je 0x140040de4
test cl, cl
je 0x140040de4
mov r13b, 1
jmp 0x140040de7
xor r13b, r13b
mov dword [rbp - 0x78], r13d
movzx r15d, r13b
mov byte [rsp + 0x61], 0
mov byte [rsp + 0x58], 0
cmp byte [rsp + 0x68], 0
je 0x140040eeb
test rsi, rsi
je 0x140040eeb
test cl, cl
jne 0x140040e1a
test r13b, r13b
je 0x140040ef4
mov ecx, dword [rsi + 0x14]
cmp ecx, 0x21
jge 0x140040e49
test ecx, ecx
je 0x140040e31
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x140040e36
mov eax, 8
mov edx, 0x21
cmp eax, edx
cmovg edx, eax
lea rcx, [rsi + 0x10]
call fcn.140023480
mov dword [rsi + 0x10], 0x21
mov rax, qword [rbp - 0x68]
mov rdi, rax
mov r14, qword [rsi + 0x18]
mov rbx, r14
lea rsi, [r14 + 0x40]
cmp r14, rsi
jae 0x140040e98
cmp byte [rdi], 0
je 0x140040e94
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp - 0x70]
call fcn.140002b50
movsxd rcx, eax
add rdi, rcx
mov eax, dword [rbp - 0x70]
test eax, eax
je 0x140040e94
mov word [rbx], ax
add rbx, 2
cmp rbx, rsi
jb 0x140040e67
mov rax, qword [rbp - 0x68]
xor edx, edx
mov word [rbx], dx
sub rbx, r14
sar rbx, 1
mov rsi, qword [rbp + 0x50]
mov dword [rsi + 4], ebx
sub edi, eax
mov dword [rsi + 8], edi
mov ecx, ebx
cmp dword [rsi + 0x4c], ebx
cmovl ecx, dword [rsi + 0x4c]
mov dword [rsi + 0x4c], ecx
mov ecx, ebx
cmp dword [rsi + 0x50], ebx
cmovl ecx, dword [rsi + 0x50]
mov dword [rsi + 0x50], ecx
cmp dword [rsi + 0x54], ebx
cmovl ebx, dword [rsi + 0x54]
mov dword [rsi + 0x54], ebx
mov r13d, edx
cmp ecx, ebx
cmovne r13d, r15d
mov dword [rbp - 0x78], r13d
mov r14d, dword [rsp + 0x5c]
mov edi, dword [rbp - 0x74]
movzx ecx, byte [rsp + 0x50]
test cl, cl
jne 0x140040efe
test r13b, r13b
jne 0x140040efe
cmp dword [r12 + 0x1d6c], edi
jne 0x140040f1a
mov r15d, dword [rsp + 0x68]
test r15b, r15b
jne 0x140040f1f
test rsi, rsi
je 0x140040f1f
cmp byte [rsi + 0x40], r15b
je 0x140040f1f
mov byte [rsp + 0x59], 1
jmp 0x140040f24
mov r15d, dword [rsp + 0x68]
mov byte [rsp + 0x59], 0
cmp byte [rbp - 0x60], 0
je 0x140040fbe
mov rdx, qword [r12 + 0x1a78]
cmp dword [rdx + 0x18], 0x2a
ja 0x140040f42
mov r8, qword [rdx + 0x38]
jmp 0x140040f66
mov rax, qword [rdx + 0x20]
movzx ecx, word [rax + 0x54]
mov eax, 0xffff
cmp cx, ax
jne 0x140040f5a
mov r8, qword [rdx + 0x38]
jmp 0x140040f66
lea rcx, [rcx + rcx*4]
mov rax, qword [rdx + 0x30]
lea r8, [rax + rcx*8]
lea rcx, [r12 + 0x30c8]
mov eax, dword [rdx + 0x14]
mov dword [rcx + 0x14], eax
mov rax, qword [r12 + 0x1a78]
mov edx, dword [rax + 0x58]
mov dword [rcx + 0x58], edx
mov rax, qword [r12 + 0x1a78]
mov edx, dword [rax + 0x5c]
mov dword [rcx + 0x5c], edx
mov rax, qword [r12 + 0x1a78]
mov edx, dword [rax + 0x60]
mov dword [rcx + 0x60], edx
mov rax, qword [r12 + 0x1a78]
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.140010aa0
xor edx, edx
mov dword [rbp - 0x70], edx
mov ecx, 0x20000c
cmp dword [r12 + 0x1d6c], edi
jne 0x1400413c4
mov eax, dword [rsi + 8]
mov dword [rbp - 0x70], eax
mov byte [rsi + 0xe7e], dl
mov dword [rsi + 0x44], 0x20
mov r8d, dword [rbp + 0x1a8]
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 + 0x1d79], al
mov dword [r12 + 0x34a4], 1
movss xmm6, dword [r12 + 0x120]
subss xmm6, xmm7
subss xmm6, dword [r12 + 0x1670]
addss xmm6, dword [rsi + 0x48]
cmp byte [rsp + 0x54], dl
je 0x14004105f
movss xmm2, dword [r12 + 0x124]
mov rax, qword [rbp - 0x58]
subss xmm2, dword [rax + 0x11c]
jmp 0x140041071
movss xmm2, dword [r12 + 0x1a80]
mulss xmm2, dword [0x14005121c]
movzx edi, byte [r12 + 0xd0]
test r14b, r14b
jne 0x140041211
movzx eax, byte [rbp - 0x7c]
test al, al
je 0x14004109e
test dil, dil
jne 0x1400410f3
cmp byte [r12 + 0x41d], dl
jne 0x140041211
cmp byte [r12 + 0x418], dl
je 0x14004119a
cmp byte [rsi + 0xe7d], dl
jne 0x14004119a
test al, al
je 0x140041147
cmp byte [rsi + 0x63], dl
je 0x1400410d9
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp + 0x68]
call fcn.14003e2e0
movss xmm2, dword [rbp + 0x74]
movaps xmm1, xmm6
mov rcx, rsi
call fcn.14003e7a0
mov dword [rsi + 0x4c], eax
mov dword [rsi + 0x50], eax
mov dword [rsi + 0x54], eax
mov byte [rsi + 0x62], 0
jmp 0x140041136
cmp byte [r12 + 0x41d], dl
je 0x14004109e
mov r8d, ecx
lea rdx, [rsi + 0x4c]
mov rcx, rsi
call fcn.14003ec90
mov byte [rsi + 0xe7c], 1
mov dword [rsi + 0xe78], 0xbe99999a
mov r8d, 0x60000d
lea rdx, [rsi + 0x4c]
mov rcx, rsi
call fcn.14003ec90
mov byte [rsi + 0xe7c], 1
mov r8d, dword [rbp + 0x1a8]
mov dword [rsi + 0xe78], 0xbe99999a
xor r14d, r14d
cmp byte [rsi + 0xe7d], 0
je 0x140041165
cmp byte [r12 + 0x128], 0
jne 0x140041165
mov byte [rsi + 0xe7d], 0
cmp byte [r12 + 0x13c], 0
je 0x14004117b
cmp byte [r12 + 0x13e], 0
je 0x140041193
test dil, dil
je 0x140041230
cmp byte [r12 + 0x13f], 0
je 0x140041230
mov bl, 1
jmp 0x140041232
cmp byte [r12 + 0x128], dl
je 0x140041147
cmp byte [rsi + 0xe7d], dl
jne 0x140041147
movss xmm0, dword [r12 + 0x3b4]
ucomiss xmm0, xmm12
jp 0x1400411d4
jne 0x1400411d4
movss xmm0, dword [r12 + 0x3b8]
ucomiss xmm0, xmm12
jp 0x1400411d4
je 0x140041147
cmp byte [rsi + 0x63], dl
je 0x1400411ed
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp + 0x68]
call fcn.14003e2e0
movss xmm2, dword [rbp + 0x74]
mov eax, dword [rsi + 0x54]
cmp dword [rsi + 0x50], eax
jne 0x1400411fb
mov eax, dword [rsi + 0x4c]
mov dword [rsi + 0x50], eax
movaps xmm1, xmm6
mov rcx, rsi
call fcn.14003e7a0
mov dword [rsi + 0x54], eax
mov dword [rsi + 0x4c], eax
jmp 0x14004112f
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 0x14004114a
xor bl, bl
bt r8d, 0xa
jae 0x1400412e5
mov rax, qword [0x1400598b0]
mov ecx, dword [rax + 0x3c]
test ecx, ecx
js 0x1400412e5
call fcn.14000a380
test al, al
je 0x1400412e5
test bl, bl
jne 0x1400412e5
cmp byte [r12 + 0x13d], bl
jne 0x1400412e5
test r15b, r15b
jne 0x1400412e5
mov rcx, qword [r12 + 0x1550]
movsxd rax, dword [r12 + 0x1548]
lea rdx, [rcx + rax*2]
cmp rcx, rdx
jae 0x1400412a2
nop dword [rax]
movzx eax, word [rcx]
add rcx, 2
cmp ax, 9
je 0x1400412e5
cmp rcx, rdx
jb 0x140041290
mov dword [rsp + 0x5c], 9
mov dword [rsp + 0x20], 2
mov edx, r8d
lea rcx, [rsp + 0x5c]
call fcn.140040050
test al, al
je 0x1400412e5
lea rdx, [rsi + 0x4c]
mov r8d, dword [rsp + 0x5c]
mov rcx, rsi
call fcn.14003ec90
mov byte [rsi + 0xe7c], 1
mov dword [rsi + 0xe78], 0xbe99999a
cmp dword [r12 + 0x1548], 0
jle 0x1400413c1
test bl, bl
jne 0x14004138f
test r15b, r15b
jne 0x14004138f
cmp byte [rsp + 0x51], r15b
jne 0x14004138f
mov edi, r14d
mov rbx, r14
mov r13d, dword [rbp + 0x1a8]
nop dword [rax]
mov rax, qword [r12 + 0x1550]
movzx ecx, word [rax + rbx]
mov dword [rsp + 0x5c], ecx
cmp ecx, 9
jne 0x140041340
cmp byte [r12 + 0x13d], 0
jne 0x14004137b
mov dword [rsp + 0x20], 2
mov edx, r13d
lea rcx, [rsp + 0x5c]
call fcn.140040050
test al, al
je 0x14004137b
lea rdx, [rsi + 0x4c]
mov r8d, dword [rsp + 0x5c]
mov rcx, rsi
call fcn.14003ec90
mov byte [rsi + 0xe7c], 1
mov dword [rsi + 0xe78], 0xbe99999a
inc edi
add rbx, 2
cmp edi, dword [r12 + 0x1548]
jl 0x140041320
mov r13d, dword [rbp - 0x78]
mov ecx, dword [r12 + 0x154c]
test ecx, ecx
jns 0x1400413b9
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.140023480
mov dword [r12 + 0x1548], r14d
mov edi, dword [rbp - 0x74]
xor cl, cl
cmp dword [r12 + 0x1d6c], edi
jne 0x1400427fd
cmp byte [r12 + 0x1d78], cl
jne 0x140041fec
cmp byte [rsp + 0x60], cl
jne 0x140041fec
movaps xmm0, xmm11
subss xmm0, dword [r12 + 0x1674]
divss xmm0, dword [r12 + 0x1a80]
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 + 0xd0]
test r13b, r13b
je 0x14004144a
cmp dword [r12 + 0x3bc], 0xa
jne 0x14004144a
mov r9b, 1
jmp 0x140041452
xor r9b, r9b
test r13b, r13b
je 0x14004147a
movzx r12d, byte [r12 + 0x13e]
mov rax, qword [rsp + 0x70]
cmp byte [rax + 0x13f], cl
je 0x140041488
cmp byte [rax + 0x13c], cl
jne 0x140041488
test r12b, r12b
jne 0x140041488
mov r11b, 1
jmp 0x14004148b
movzx r12d, byte [r12 + 0x13c]
mov rax, qword [rsp + 0x70]
xor r11b, r11b
mov r8d, dword [rax + 0x3bc]
cmp byte [rax + 0xd0], cl
je 0x1400414a0
cmp r8d, 8
jmp 0x1400414a4
cmp r8d, 1
sete r14b
test r14b, r14b
je 0x1400414c7
mov rax, qword [0x1400598b0]
mov ecx, dword [rax + 0x88]
test ecx, ecx
js 0x1400414c7
call fcn.14000a380
test al, al
jne 0x1400414e4
cmp r8d, 2
jne 0x14004150c
mov rax, qword [0x1400598b0]
mov ecx, dword [rax + 0x64]
test ecx, ecx
js 0x14004150c
call fcn.14000a380
test al, al
je 0x14004150c
mov edi, dword [rbp - 0x60]
mov r10d, dword [rsp + 0x54]
cmp byte [rsp + 0x68], 0
jne 0x140041514
test dil, dil
jne 0x140041514
test r10b, r10b
je 0x140041505
mov eax, dword [rsi + 0x54]
cmp dword [rsi + 0x50], eax
je 0x140041514
mov byte [rsp + 0x51], 1
jmp 0x140041519
mov r10d, dword [rsp + 0x54]
mov edi, dword [rbp - 0x60]
mov byte [rsp + 0x51], 0
test r14b, r14b
je 0x140041538
mov rax, qword [0x1400598b0]
mov ecx, dword [rax + 0x80]
test ecx, ecx
js 0x140041538
call fcn.14000a380
test al, al
jne 0x140041555
cmp r8d, 1
jne 0x14004156c
mov rax, qword [0x1400598b0]
mov ecx, dword [rax + 0x60]
test ecx, ecx
js 0x14004156c
call fcn.14000a380
test al, al
je 0x14004156c
test dil, dil
jne 0x14004156c
test r10b, r10b
je 0x140041567
mov eax, dword [rsi + 0x54]
cmp dword [rsi + 0x50], eax
je 0x14004156c
mov sil, 1
jmp 0x14004156f
xor sil, sil
test r14b, r14b
je 0x14004158e
mov rax, qword [0x1400598b0]
mov ecx, dword [rax + 0x84]
test ecx, ecx
js 0x14004158e
call fcn.14000a380
test al, al
jne 0x1400415ab
cmp r8d, 2
jne 0x1400415ba
mov rax, qword [0x1400598b0]
mov ecx, dword [rax + 0x60]
test ecx, ecx
js 0x1400415ba
call fcn.14000a380
test al, al
je 0x1400415ba
mov r8d, dword [rsp + 0x68]
test r8b, r8b
jne 0x1400415bf
mov dil, 1
jmp 0x1400415c2
mov r8d, dword [rsp + 0x68]
xor dil, dil
test r14b, r14b
je 0x1400415f5
mov rax, qword [0x1400598b0]
mov ecx, dword [rax + 0x90]
test ecx, ecx
js 0x1400415f5
call fcn.14000a380
test al, al
je 0x1400415f5
test r8b, r8b
mov r8d, dword [rsp + 0x64]
jne 0x1400415fa
test r8b, r8b
je 0x1400415fa
mov r10b, 1
jmp 0x140041602
mov r8d, dword [rsp + 0x64]
xor r10b, r10b
test r14b, r14b
je 0x14004161c
mov rax, qword [0x1400598b0]
mov ecx, dword [rax + 0x8c]
test ecx, ecx
js 0x14004161c
call fcn.14000a380
test al, al
jne 0x14004163b
test r9b, r9b
je 0x14004164c
mov rax, qword [0x1400598b0]
mov ecx, dword [rax + 0x90]
test ecx, ecx
js 0x14004164c
call fcn.14000a380
test al, al
je 0x14004164c
cmp byte [rsp + 0x68], 0
jne 0x14004164c
test r8b, r8b
je 0x14004164c
mov r9b, 1
jmp 0x14004164f
xor r9b, r9b
mov rax, qword [0x1400598b0]
mov ecx, dword [rax + 0x40]
test ecx, ecx
js 0x1400416b2
call fcn.14000a380
test al, al
je 0x1400416b2
test r11b, r11b
je 0x140041672
mov ecx, 0x200004
jmp 0x140041682
mov ecx, 0x200000
mov eax, 0x20000c
test r12b, r12b
cmovne ecx, eax
or ecx, ebx
mov r8d, ecx
mov rsi, qword [rbp + 0x50]
lea rdx, [rsi + 0x4c]
mov rcx, rsi
call fcn.14003ec90
mov dword [rsi + 0xe78], 0xbe99999a
mov byte [rsi + 0xe7c], 1
mov r12, qword [rsp + 0x70]
jmp 0x140041acb
mov rax, qword [0x1400598b0]
mov ecx, dword [rax + 0x44]
test ecx, ecx
js 0x1400416df
call fcn.14000a380
test al, al
je 0x1400416df
test r11b, r11b
je 0x1400416d5
mov ecx, 0x200005
jmp 0x140041682
mov ecx, 0x200001
lea eax, [rcx + 0xc]
jmp 0x14004167c
mov rax, qword [0x1400598b0]
mov ecx, dword [rax + 0x48]
test ecx, ecx
js 0x140041780
call fcn.14000a380
test al, al
je 0x140041780
cmp byte [rsp + 0x54], 0
je 0x140041780
mov r12, qword [rsp + 0x70]
mov rsi, qword [rbp + 0x50]
cmp byte [r12 + 0x13c], 0
je 0x14004174f
mov rdx, qword [rbp - 0x58]
movss xmm0, dword [rdx + 0xa0]
subss xmm0, dword [r12 + 0x1a80]
maxss xmm0, xmm12
movss dword [rdx + 0xb0], xmm0
xor eax, eax
mov dword [rdx + 0xb8], eax
mov dword [rdx + 0xc0], eax
jmp 0x140041acb
movzx eax, r11b
lea r8d, [rax*4 + 0x200002]
or r8d, ebx
lea rdx, [rsi + 0x4c]
mov rcx, rsi
call fcn.14003ec90
mov byte [rsi + 0xe7c], 1
mov dword [rsi + 0xe78], 0xbe99999a
jmp 0x140041acb
mov r8, qword [0x1400598b0]
mov ecx, dword [r8 + 0x4c]
test ecx, ecx
js 0x140041804
call fcn.14000a380
test al, al
je 0x140041804
cmp byte [rsp + 0x54], 0
je 0x140041804
mov r12, qword [rsp + 0x70]
mov rsi, qword [rbp + 0x50]
cmp byte [r12 + 0x13c], 0
je 0x1400417f3
mov rax, qword [r8 + 0x1d18]
movss xmm0, dword [r12 + 0x1a80]
mov rcx, qword [rbp - 0x58]
addss xmm0, dword [rcx + 0xa0]
minss xmm0, dword [rax + 0xa8]
movss dword [rcx + 0xb0], xmm0
xor eax, eax
mov dword [rcx + 0xb8], eax
mov dword [rcx + 0xc0], eax
jmp 0x140041acb
movzx eax, r11b
lea r8d, [rax*4 + 0x200003]
jmp 0x14004175b
mov rax, qword [0x1400598b0]
mov ecx, dword [rax + 0x50]
test ecx, ecx
js 0x140041870
call fcn.14000a380
mov r8d, dword [rsp + 0x54]
test al, al
je 0x140041875
test r8b, r8b
je 0x140041875
or ebx, 0x20000e
mov rsi, qword [rbp + 0x50]
lea rdx, [rsi + 0x4c]
mov r8d, ebx
mov rcx, rsi
call fcn.14003ec90
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 + 0x1a80]
subss xmm9, xmm0
jmp 0x140041acb
mov r8d, dword [rsp + 0x54]
mov rax, qword [0x1400598b0]
mov ecx, dword [rax + 0x54]
test ecx, ecx
js 0x1400418dc
call fcn.14000a380
test al, al
je 0x1400418dc
test r8b, r8b
je 0x1400418dc
or ebx, 0x20000f
mov rsi, qword [rbp + 0x50]
lea rdx, [rsi + 0x4c]
mov r8d, ebx
mov rcx, rsi
call fcn.14003ec90
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 + 0x1a80]
addss xmm9, xmm0
jmp 0x140041acb
mov rax, qword [0x1400598b0]
mov ecx, dword [rax + 0x58]
test ecx, ecx
js 0x14004191e
call fcn.14000a380
test al, al
je 0x14004191e
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 [rbp + 0x50]
jmp 0x14004175e
mov rax, qword [0x1400598b0]
mov ecx, dword [rax + 0x5c]
test ecx, ecx
js 0x140041960
call fcn.14000a380
test al, al
je 0x140041960
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 [rbp + 0x50]
jmp 0x14004175e
mov rax, qword [0x1400598b0]
mov ecx, dword [rax + 0x64]
test ecx, ecx
js 0x14004198f
call fcn.14000a380
mov r11d, dword [rsp + 0x68]
test al, al
je 0x140041994
test r11b, r11b
jne 0x140041994
or ebx, 0x200008
mov r8d, ebx
jmp 0x140041687
mov r11d, dword [rsp + 0x68]
mov rax, qword [0x1400598b0]
mov ecx, dword [rax + 0x68]
test ecx, ecx
js 0x140041a5f
call fcn.14000a380
test al, al
je 0x140041a5f
test r11b, r11b
jne 0x140041a5f
mov rsi, qword [rbp + 0x50]
mov eax, dword [rsi + 0x54]
cmp dword [rsi + 0x50], eax
jne 0x1400419f0
test r12b, r12b
je 0x140041a03
lea rdx, [rsi + 0x4c]
mov r8d, 0x60000c
mov rcx, rsi
call fcn.14003ec90
mov byte [rsi + 0xe7c], 1
mov dword [rsi + 0xe78], 0xbe99999a
mov r12, qword [rsp + 0x70]
or ebx, 0x200009
mov r8d, ebx
jmp 0x14004175e
test r13b, r13b
je 0x1400419f0
mov r12, qword [rsp + 0x70]
cmp byte [r12 + 0x13f], 0
je 0x1400419f5
cmp byte [r12 + 0x13e], 0
jne 0x1400419f5
cmp byte [r12 + 0x13c], 0
jne 0x1400419f5
lea rdx, [rsi + 0x4c]
mov r8d, 0x600004
mov rcx, rsi
call fcn.14003ec90
mov byte [rsi + 0xe7c], 1
mov dword [rsi + 0xe78], 0xbe99999a
or ebx, 0x200009
mov r8d, ebx
jmp 0x14004175e
mov rax, qword [0x1400598b0]
mov ecx, dword [rax + 0x70]
test ecx, ecx
js 0x140041a76
call fcn.14000a380
test al, al
jne 0x140041a95
mov rax, qword [0x1400598b0]
mov ecx, dword [rax + 0x78]
test ecx, ecx
js 0x140041b20
call fcn.14000a380
test al, al
je 0x140041b20
mov edx, dword [rbp + 0x1a8]
mov eax, edx
shr eax, 0xb
and al, 1
mov r12, qword [rsp + 0x70]
test r8b, r8b
je 0x140041abd
movzx ecx, byte [r12 + 0x13c]
test al, al
je 0x140041aeb
test cl, cl
jne 0x140041aef
mov byte [rsp + 0x60], 1
mov byte [rsp + 0x58], 1
mov rsi, qword [rbp + 0x50]
xor cl, cl
mov eax, dword [rsi + 0x54]
cmp dword [rsi + 0x50], eax
je 0x140041fdc
cmp byte [rsp + 0x50], 0
je 0x140041fdc
mov al, 1
jmp 0x140041fde
test cl, cl
jne 0x140041abd
test r11b, r11b
jne 0x140041ac7
mov dword [rsp + 0x64], 0xa
mov dword [rsp + 0x20], 2
lea rcx, [rsp + 0x64]
call fcn.140040050
test al, al
je 0x140041ac7
mov rsi, qword [rbp + 0x50]
mov r8d, dword [rsp + 0x64]
jmp 0x14004175e
mov rax, qword [0x1400598b0]
mov ecx, dword [rax + 0x74]
test ecx, ecx
js 0x140041b48
call fcn.14000a380
test al, al
je 0x140041b48
mov cl, 1
mov byte [rsp + 0x60], cl
mov rsi, qword [rbp + 0x50]
mov r12, qword [rsp + 0x70]
jmp 0x140041acd
test r10b, r10b
jne 0x140041fa1
test r9b, r9b
jne 0x140041fa1
test r14b, r14b
je 0x140041b9d
mov rax, qword [0x1400598b0]
mov ecx, dword [rax + 0x7c]
test ecx, ecx
js 0x140041b9d
call fcn.14000a380
test al, al
je 0x140041b9d
mov rsi, qword [rbp + 0x50]
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 0x140041acb
movzx r15d, byte [rsp + 0x51]
test r15b, r15b
jne 0x140041d96
test sil, sil
jne 0x140041d96
test dil, dil
je 0x140041fce
mov rcx, qword [0x1400598b0]
mov rax, qword [rcx + 0x108]
test rax, rax
je 0x140041bec
mov rcx, qword [rcx + 0x118]
call rax
mov rbx, rax
test rax, rax
jne 0x140041bf3
mov r12, qword [rsp + 0x70]
jmp 0x140041ac7
lea rbx, [0x14004c5de]
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp byte [rbx + rax], 0
jne 0x140041c00
mov rcx, qword [0x1400598b0]
test rcx, rcx
je 0x140041c1b
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 [rsp + 0x78], rax
xor r15d, r15d
mov esi, r15d
cmp byte [rbx], r15b
je 0x140041c9e
mov rdi, rax
mov r14d, dword [rbp + 0x1a8]
nop word [rax + rax]
xor r8d, r8d
mov rdx, rbx
lea rcx, [rsp + 0x64]
call fcn.140002b50
movsxd rcx, eax
add rbx, rcx
cmp dword [rsp + 0x64], r15d
je 0x140041c99
mov dword [rsp + 0x20], 5
mov edx, r14d
lea rcx, [rsp + 0x64]
call fcn.140040050
test al, al
je 0x140041c94
movzx eax, word [rsp + 0x64]
mov word [rdi], ax
inc esi
add rdi, 2
cmp byte [rbx], r15b
jne 0x140041c50
mov r14, qword [rsp + 0x78]
movsxd rax, esi
mov word [r14 + rax*2], r15w
test esi, esi
jle 0x140041d68
mov r13, qword [rbp + 0x50]
mov eax, dword [r13 + 4]
mov edx, dword [r13 + 0x54]
mov ecx, dword [r13 + 0x50]
cmp ecx, edx
je 0x140041cde
cmp ecx, eax
jle 0x140041ccc
mov dword [r13 + 0x50], eax
mov ecx, eax
cmp edx, eax
jle 0x140041cd6
mov dword [r13 + 0x54], eax
mov edx, eax
cmp ecx, edx
jne 0x140041cde
mov dword [r13 + 0x4c], ecx
cmp dword [r13 + 0x4c], eax
jle 0x140041ce8
mov dword [r13 + 0x4c], eax
lea rdx, [r13 + 0x4c]
mov rcx, r13
call fcn.14003ebf0
mov r9d, esi
mov r8, r14
mov edx, dword [r13 + 0x4c]
mov rcx, r13
call fcn.14003e610
test al, al
je 0x140041d43
mov edi, dword [r13 + 0x4c]
lea rcx, [r13 + 0x6c]
xor edx, edx
call fcn.14003fc00
test rax, rax
je 0x140041d2e
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 0x140041d6c
movzx eax, word [r13 + 0xe6a]
test ax, ax
je 0x140041d5b
dec ax
mov word [r13 + 0xe6a], ax
mov rsi, r13
mov byte [r13 + 0xe7c], 1
jmp 0x140041d6c
mov rsi, qword [rbp + 0x50]
test r14, r14
je 0x140041d83
mov rax, qword [0x1400598b0]
test rax, rax
je 0x140041d83
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 0x140041acb
mov r12, qword [rsp + 0x70]
cmp qword [r12 + 0x110], 0
je 0x140041f52
mov r13, qword [rbp + 0x50]
mov edi, dword [r13 + 0x54]
mov eax, dword [r13 + 0x50]
cmp eax, edi
je 0x140041dc4
mov esi, edi
cmovl esi, eax
cmovge edi, eax
jmp 0x140041dcc
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
nop
test r8, r8
je 0x140041dfa
cmp rdx, r8
jae 0x140041e1d
movzx eax, word [rdx]
test ax, ax
je 0x140041e1d
add rdx, 2
cmp ax, r9w
jae 0x140041e10
inc ecx
jmp 0x140041df0
cmp ax, r10w
sbb eax, eax
add eax, 3
add ecx, eax
jmp 0x140041df0
inc ecx
mov rax, qword [0x1400598b0]
test rax, rax
je 0x140041e31
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, [rax + rbx]
lea r10, [r11 - 1]
cmp rax, r10
jae 0x140041f0f
mov r12d, 0x80
xor r15d, r15d
nop
test r9, r9
je 0x140041e7e
cmp r8, r9
jae 0x140041f04
movzx eax, word [r8]
test ax, ax
je 0x140041f04
mov ecx, eax
add r8, 2
cmp eax, r12d
jae 0x140041e99
mov byte [rdx], cl
inc rdx
jmp 0x140041efb
mov eax, r11d
sub eax, edx
dec eax
cmp ecx, 0x800
jae 0x140041ecb
cmp eax, 2
jge 0x140041eb2
mov rax, r15
jmp 0x140041ef8
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 0x140041ef8
cmp eax, 3
jge 0x140041ed5
mov rax, r15
jmp 0x140041ef8
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 0x140041e70
movzx r15d, byte [rsp + 0x51]
mov r12, qword [rsp + 0x70]
mov byte [rdx], 0
mov rax, qword [0x1400598b0]
mov r8, qword [rax + 0x110]
test r8, r8
je 0x140041f39
mov rdx, r14
mov rcx, qword [rax + 0x118]
call r8
mov rax, qword [0x1400598b0]
test r14, r14
je 0x140041f49
test rax, rax
je 0x140041f49
dec dword [rax + 0x3b0]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rsi, qword [rbp + 0x50]
test r15b, r15b
je 0x140041acb
mov eax, dword [rsi + 0x54]
cmp dword [rsi + 0x50], eax
jne 0x140041f79
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 0x140041acb
lea rdx, [rsi + 0x4c]
mov rcx, rsi
call fcn.14003ebf0
mov byte [rsi + 0x62], 0
jmp 0x140041acb
mov rsi, qword [rbp + 0x50]
movzx r8d, r10b
xor r8d, 1
add r8d, 0x20000a
lea rdx, [rsi + 0x4c]
mov rcx, rsi
call fcn.14003ec90
mov eax, dword [rsi + 0x4c]
mov dword [rsi + 0x54], eax
mov dword [rsi + 0x50], eax
jmp 0x140041697
mov rsi, qword [rbp + 0x50]
mov r12, qword [rsp + 0x70]
jmp 0x140041acb
xor al, al
mov r13d, dword [rbp - 0x78]
or r13b, al
mov dword [rbp - 0x78], r13d
mov edi, dword [rbp - 0x74]
cmp dword [r12 + 0x1d6c], edi
jne 0x1400427fd
xor r12d, r12d
mov qword [rsp + 0x78], r12
mov dword [rsp + 0x64], r12d
test cl, cl
je 0x140042217
cmp byte [rsp + 0x68], r12b
jne 0x1400421f6
mov r9, qword [rsi + 0x38]
mov rax, qword [rbp - 0x68]
mov r8, r9
sub r8, rax
nop dword [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140042043
inc rax
test ecx, ecx
jne 0x140042030
test edx, edx
je 0x1400421f6
mov r15, r9
mov qword [rsp + 0x78], r9
mov r13d, dword [rsi + 0x30]
dec r13d
mov dword [rsp + 0x64], r13d
mov qword [rbp + 0x68], r12
mov r14d, r12d
mov qword [rbp + 0x70], r12
test r13d, r13d
jle 0x140042155
movsxd rdi, r13d
add rdi, r9
mov rbx, r9
xor eax, eax
mov esi, eax
test rdi, rdi
je 0x14004208a
cmp rbx, rdi
jae 0x1400420b0
cmp byte [rbx], 0
je 0x1400420b0
mov r8, rdi
mov rdx, rbx
lea rcx, [rsp + 0x5c]
call fcn.140002b50
movsxd rcx, eax
add rbx, rcx
cmp dword [rsp + 0x5c], 0
je 0x1400420b0
inc esi
jmp 0x140042080
lea r14d, [rsi + 1]
test r14d, r14d
jle 0x1400420f4
mov ebx, r14d
cmp r14d, 8
mov eax, 8
cmovl ebx, eax
test ebx, ebx
jle 0x1400420f4
mov rax, qword [0x1400598b0]
test rax, rax
je 0x1400420de
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 + 0x70], rax
mov dword [rbp + 0x6c], ebx
mov dword [rbp + 0x68], 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 0x14004214c
test rsi, rsi
je 0x14004211d
cmp rbx, rsi
jae 0x14004214c
cmp byte [rbx], 0
je 0x14004214c
mov r8, rsi
mov rdx, rbx
lea rcx, [rsp + 0x5c]
call fcn.140002b50
movsxd rcx, eax
add rbx, rcx
mov eax, dword [rsp + 0x5c]
test eax, eax
je 0x14004214c
mov word [rdi], ax
add rdi, 2
cmp rdi, r15
jb 0x140042113
xor eax, eax
mov word [rdi], ax
mov rsi, qword [rbp + 0x50]
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.14003fd50
mov r9, rax
test rax, rax
je 0x1400421a5
test edi, edi
jle 0x1400421a5
mov edx, r14d
nop word [rax + rax]
mov rcx, qword [rsi + 0x18]
movzx eax, word [rcx + rdx*2]
mov word [r9 + rdx*2], ax
inc rdx
cmp rdx, rdi
jl 0x140042190
mov r8d, dword [rsi + 4]
xor edx, edx
mov rcx, rsi
call fcn.14003e540
test ebx, ebx
jle 0x1400421d2
mov r9d, ebx
mov r8, r12
xor edx, edx
mov rcx, rsi
call fcn.14003e610
test al, al
je 0x1400421d2
mov dword [rsi + 0x4c], ebx
mov byte [rsi + 0x62], r14b
test r12, r12
je 0x1400421f3
mov rax, qword [0x1400598b0]
test rax, rax
je 0x1400421e9
dec dword [rax + 0x3b0]
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
xor r12d, r12d
mov r9d, dword [rbp + 0x1a8]
cmp byte [rsp + 0x58], 0
je 0x14004220a
test r9b, 0x20
jne 0x14004221e
mov r15d, dword [rbp - 0x80]
mov r14, qword [rbp - 0x68]
jmp 0x14004273d
mov r9d, dword [rbp + 0x1a8]
cmp byte [rsp + 0x68], 0
jne 0x140042318
mov byte [rsi + 0x40], 1
mov eax, dword [rsi + 0x10]
lea ebx, [rax*4 + 1]
mov ecx, dword [rsi + 0x24]
cmp ebx, ecx
jle 0x140042262
test ecx, ecx
je 0x14004224d
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x140042252
mov eax, 8
mov edx, ebx
cmp eax, ebx
cmovg edx, eax
lea rcx, [rsi + 0x20]
call fcn.1400233f0
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 0x14004230e
mov esi, 0x80
movzx eax, word [r8]
test ax, ax
je 0x14004230a
mov ecx, eax
add r8, 2
cmp eax, esi
jae 0x14004229f
mov byte [rdx], cl
inc rdx
jmp 0x140042301
mov eax, r9d
sub eax, edx
dec eax
cmp ecx, 0x800
jae 0x1400422d1
cmp eax, 2
jge 0x1400422b8
mov rax, r12
jmp 0x1400422fe
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 0x1400422fe
cmp eax, 3
jge 0x1400422db
mov rax, r12
jmp 0x1400422fe
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 0x140042285
mov rsi, qword [rbp + 0x50]
mov byte [rdx], 0
mov r9d, dword [rbp + 0x1a8]
test r9d, 0x801c0
je 0x1400426f0
mov r8d, 0x16
test r9b, 0x40
je 0x140042351
mov rax, qword [0x1400598b0]
mov ecx, dword [rax + 0x3c]
test ecx, ecx
js 0x140042351
call fcn.14000a380
test al, al
je 0x140042351
lea eax, [r8 + 0x2a]
mov r8d, r12d
jmp 0x1400423c3
test r9b, r9b
jns 0x1400423a2
mov rax, qword [0x1400598b0]
mov ecx, dword [rax + 0x48]
test ecx, ecx
js 0x14004237c
call fcn.14000a380
test al, al
je 0x14004237c
mov r10d, 0x80
mov eax, r10d
lea r8d, [r10 - 0x7d]
jmp 0x1400423c9
mov rax, qword [0x1400598b0]
mov ecx, dword [rax + 0x4c]
test ecx, ecx
js 0x1400423a2
call fcn.14000a380
test al, al
je 0x1400423a2
mov r10d, 0x80
mov eax, r10d
lea r8d, [r10 - 0x7c]
jmp 0x1400423c9
mov eax, 0x80000
test eax, r9d
je 0x1400423b5
cmp byte [rsi + 0xe7e], 0
jne 0x1400423c3
mov ecx, 0x100
test ecx, r9d
mov eax, r12d
cmovne eax, ecx
mov r10d, 0x80
test eax, eax
je 0x1400426f0
mov dword [rbp - 0x10], r12d
mov qword [rbp + 9], r12
mov dword [rbp + 0x11], r12d
mov word [rbp + 0x15], r12w
mov byte [rbp + 0x17], 0
mov dword [rbp - 0x20], eax
mov dword [rbp - 0x1c], r9d
mov qword [rbp - 0x18], r12
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, r12d
mov r9d, 0x800
test rdx, rdx
je 0x14004242f
cmp rcx, rdx
jae 0x140042452
movzx eax, word [rcx]
test ax, ax
je 0x140042452
add rcx, 2
cmp ax, r10w
jae 0x140042445
inc ebx
jmp 0x140042425
cmp ax, r9w
sbb eax, eax
add eax, 3
add ebx, eax
jmp 0x140042425
mov dword [rbp + 0xc], ebx
movsxd rax, dword [rsi + 0x50]
lea rdx, [r8 + rax*2]
mov rcx, r8
mov r14d, r12d
test rdx, rdx
je 0x14004246d
cmp rcx, rdx
jae 0x140042492
movzx eax, word [rcx]
test ax, ax
je 0x140042492
add rcx, 2
cmp ax, r10w
jae 0x140042484
inc r14d
jmp 0x140042463
cmp ax, r9w
sbb eax, eax
add eax, 3
add r14d, eax
jmp 0x140042463
mov dword [rbp + 0x10], r14d
movsxd rax, dword [rsi + 0x54]
lea rcx, [r8 + rax*2]
mov r15d, r12d
test rcx, rcx
je 0x1400424ab
cmp r8, rcx
jae 0x1400424d1
movzx eax, word [r8]
test ax, ax
je 0x1400424d1
add r8, 2
cmp ax, r10w
jae 0x1400424c3
inc r15d
jmp 0x1400424a1
cmp ax, r9w
sbb eax, eax
add eax, 3
add r15d, eax
jmp 0x1400424a1
mov dword [rbp + 0x14], r15d
lea rcx, [rbp - 0x20]
call r12
movzx r12d, byte [rbp + 8]
movsxd rcx, dword [rbp + 0xc]
cmp ecx, ebx
jne 0x1400424ee
test r12b, r12b
je 0x140042546
mov rbx, qword [rbp - 8]
lea rdi, [rbx + rcx]
xor eax, eax
mov esi, eax
nop word [rax + rax]
test rdi, rdi
je 0x14004250a
cmp rbx, rdi
jae 0x140042530
cmp byte [rbx], 0
je 0x140042530
mov r8, rdi
mov rdx, rbx
lea rcx, [rsp + 0x5c]
call fcn.140002b50
movsxd rcx, eax
add rbx, rcx
cmp dword [rsp + 0x5c], 0
je 0x140042530
inc esi
jmp 0x140042500
mov r13, qword [rbp + 0x50]
mov dword [r13 + 0x4c], esi
mov rsi, r13
mov byte [r13 + 0xe7c], 1
mov ecx, dword [rbp + 0xc]
movsxd rax, dword [rbp + 0x10]
cmp eax, r14d
jne 0x140042554
test r12b, r12b
je 0x1400425ae
cmp eax, ecx
jne 0x140042565
mov esi, dword [rsi + 0x4c]
mov r13, qword [rbp + 0x50]
mov dword [r13 + 0x50], esi
jmp 0x1400425b2
mov rbx, qword [rbp - 8]
lea rdi, [rbx + rax]
xor eax, eax
mov esi, eax
test rdi, rdi
je 0x14004257b
cmp rbx, rdi
jae 0x1400425a1
cmp byte [rbx], 0
je 0x1400425a1
mov r8, rdi
mov rdx, rbx
lea rcx, [rsp + 0x5c]
call fcn.140002b50
movsxd rcx, eax
add rbx, rcx
cmp dword [rsp + 0x5c], 0
je 0x1400425a1
inc esi
jmp 0x140042571
mov eax, dword [rbp + 0x10]
mov r13, qword [rbp + 0x50]
mov dword [r13 + 0x50], esi
jmp 0x1400425b2
mov r13, qword [rbp + 0x50]
movsxd rcx, dword [rbp + 0x14]
cmp ecx, r15d
jne 0x1400425c4
test r12b, r12b
je 0x1400426e5
cmp ecx, eax
jne 0x140042609
mov esi, dword [r13 + 0x50]
mov dword [r13 + 0x54], esi
mov r15d, dword [rbp - 0x80]
test r12b, r12b
je 0x1400426d8
mov ebx, dword [rbp]
mov eax, dword [rbp - 0x70]
cmp ebx, eax
jle 0x14004265e
test r15b, r15b
je 0x14004265e
sub ebx, eax
add ebx, dword [r13 + 0x10]
mov ecx, dword [r13 + 0x14]
cmp ebx, ecx
jle 0x14004265a
test ecx, ecx
je 0x140042645
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x14004264a
mov rbx, qword [rbp - 8]
lea rdi, [rbx + rcx]
xor eax, eax
mov esi, eax
test rdi, rdi
je 0x14004261f
cmp rbx, rdi
jae 0x1400425cc
cmp byte [rbx], 0
je 0x1400425cc
mov r8, rdi
mov rdx, rbx
lea rcx, [rsp + 0x5c]
call fcn.140002b50
movsxd rcx, eax
add rbx, rcx
cmp dword [rsp + 0x5c], 0
je 0x1400425cc
inc esi
jmp 0x140042615
mov eax, 8
mov edx, ebx
cmp eax, ebx
cmovg edx, eax
lea rcx, [r13 + 0x10]
call fcn.140023480
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 0x1400426ad
nop dword [rax]
cmp byte [rdi], 0
je 0x1400426ad
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp - 0x70]
call fcn.140002b50
movsxd rcx, eax
add rdi, rcx
mov eax, dword [rbp - 0x70]
test eax, eax
je 0x1400426ad
mov word [rbx], ax
add rbx, 2
cmp rbx, rsi
jb 0x140042680
xor eax, eax
mov word [rbx], ax
sub rbx, r14
sar rbx, 1
mov rsi, qword [rbp + 0x50]
mov dword [rsi + 4], ebx
mov eax, dword [rbp]
mov dword [rsi + 8], eax
mov dword [rsi + 0xe78], 0xbe99999a
mov r9d, dword [rbp + 0x1a8]
jmp 0x1400426f4
mov rsi, qword [rbp + 0x50]
mov r9d, dword [rbp + 0x1a8]
jmp 0x1400426f4
mov rsi, qword [rbp + 0x50]
mov r9d, dword [rbp + 0x1a8]
mov r15d, dword [rbp - 0x80]
mov r14, qword [rbp - 0x68]
cmp byte [rsp + 0x68], 0
jne 0x14004273d
mov r9, qword [rsi + 0x28]
mov rax, r9
mov r8, r14
sub r8, r9
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140042723
inc rax
test ecx, ecx
jne 0x140042710
test edx, edx
je 0x140042736
mov rdi, r9
mov ecx, dword [rsi + 8]
mov r9d, dword [rbp + 0x1a8]
jmp 0x140042746
mov r9d, dword [rbp + 0x1a8]
mov rdi, qword [rsp + 0x78]
mov ecx, dword [rsp + 0x64]
test rdi, rdi
je 0x1400427d9
test r15b, r15b
je 0x1400427a6
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], r14
mov dword [rbp + 0x38], ecx
lea eax, [rcx + 1]
cmp eax, 0x20
mov ecx, 0x20
cmovle eax, ecx
mov dword [rbp + 0x3c], eax
mov qword [rbp + 0x20], rdx
lea rcx, [rbp + 0x18]
call rdx
mov r14, qword [rbp + 0x30]
mov qword [rbp - 0x68], r14
mov edx, dword [rbp + 0x3c]
lea ecx, [rdx - 1]
cmp dword [rbp + 0x38], ecx
cmovl ecx, dword [rbp + 0x38]
jmp 0x1400427ab
mov edx, 0x20
lea eax, [rcx + 1]
cmp eax, edx
cmovl edx, eax
movsxd rbx, edx
cmp rbx, 1
jb 0x1400427d4
jbe 0x1400427ce
lea r8, [rbx - 1]
mov rdx, rdi
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov byte [rbx + r14 - 1], 0
mov byte [rsp + 0x61], 1
xor ebx, ebx
mov dword [rsi + 0xe80], ebx
mov qword [rsi + 0xe88], rbx
mov qword [rsi + 0xe90], rbx
mov r12, qword [rsp + 0x70]
mov edi, dword [rbp - 0x74]
mov r13d, dword [rbp - 0x78]
jmp 0x1400427ff
xor ebx, ebx
cmp byte [rsp + 0x60], 0
je 0x140042876
cmp dword [r12 + 0x1d6c], edi
jne 0x140042876
mov rdx, qword [0x1400598b0]
mov ecx, dword [rdx + 0x1d6c]
test ecx, ecx
setne al
mov byte [rdx + 0x1d78], al
test ecx, ecx
je 0x140042845
mov dword [rdx + 0x1d74], ebx
mov word [rdx + 0x1d7b], 0
mov dword [rdx + 0x1da4], 0xffffffff
mov dword [rdx + 0x1d6c], ebx
mov word [rdx + 0x1d79], 0
mov qword [rdx + 0x1d98], rbx
mov word [rdx + 0x1d7d], 0
mov qword [rdx + 0x1d80], 0
mov qword [rdx + 0x1d88], rbx
mov r10d, dword [rsp + 0x54]
test r10b, r10b
jne 0x14004294f
mov r8d, 1
mov edx, edi
lea rcx, [rbp - 0x30]
call fcn.140004950
mov rax, qword [0x1400598b0]
movups xmm0, xmmword [rax + 0x176c]
movups xmmword [rbp + 0x68], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x1638]
movss dword [rbp + 0x74], xmm0
lea rcx, [rbp + 0x68]
call fcn.140002d00
mov r8d, eax
movss xmm0, dword [r12 + 0x1678]
movss dword [rsp + 0x20], xmm0
mov r9b, 1
mov rdx, qword [rbp - 0x28]
movaps xmm0, xmm7
unpcklps xmm0, xmm13
movq rcx, xmm0
call fcn.140004640
movaps xmm15, xmm10
addss xmm15, xmm7
movss dword [rbp + 0x88], xmm15
movaps xmm14, xmm13
addss xmm14, xmm11
movss dword [rbp + 0x8c], xmm14
movaps xmm0, xmm7
addss xmm0, dword [r12 + 0x1670]
movss dword [rsp + 0x78], xmm0
movaps xmm1, xmm13
addss xmm1, dword [r12 + 0x1674]
movss dword [rsp + 0x7c], xmm1
movss dword [rbp - 0x78], xmm15
movss dword [rsp + 0x64], xmm14
mov r8, qword [rbp - 0x58]
mov r10d, dword [rsp + 0x54]
jmp 0x140042996
movaps xmm2, xmm7
addss xmm2, xmm10
movss dword [rbp - 0x78], xmm2
movaps xmm15, xmm2
movss dword [rbp + 0x88], xmm2
movaps xmm1, xmm13
addss xmm1, xmm11
movss dword [rsp + 0x64], xmm1
movaps xmm14, xmm1
movss dword [rbp + 0x8c], xmm1
mov r8, qword [rbp - 0x58]
movsd xmm0, qword [r8 + 0x118]
movsd qword [rsp + 0x78], xmm0
lea r9, [rsp + 0x78]
movss dword [rbp + 0x84], xmm13
movss dword [rbp + 0x80], xmm7
movsd xmm0, qword [r9]
movsd qword [rbp + 0x60], xmm0
xorps xmm4, xmm4
movss dword [rsp + 0x5c], xmm4
xorps xmm7, xmm7
movss dword [rbp - 0x80], xmm7
cmp byte [rsp + 0x59], 0
je 0x1400429d8
mov r15, qword [rsi + 0x28]
mov qword [rbp - 0x68], r15
jmp 0x1400429dc
mov r15, qword [rbp - 0x68]
movzx eax, byte [rsp + 0x50]
test al, al
jne 0x140042bc7
test r13b, r13b
jne 0x140042bc7
test r10b, r10b
je 0x140042a54
mov ecx, ebx
movzx edx, byte [r15]
lea rsi, [r15 + 1]
test dl, dl
je 0x140042a25
nop word [rax + rax]
lea eax, [rcx + 1]
cmp dl, 0xa
cmovne eax, ecx
mov ecx, eax
movzx edx, byte [rsi]
inc rsi
test dl, dl
jne 0x140042a10
dec rsi
movzx eax, byte [rsi]
cmp al, 0xa
je 0x140042a35
cmp al, 0xd
je 0x140042a35
inc ecx
movss dword [rsp + 0x5c], xmm10
movd xmm7, ecx
cvtdq2ps xmm7, xmm7
mulss xmm7, dword [r12 + 0x1a80]
movss dword [rbp - 0x80], xmm7
jmp 0x140042a8f
cmp dword [r12 + 0x1d6c], edi
jne 0x140042a64
movsxd rsi, dword [rsi + 8]
jmp 0x140042a7a
mov rsi, 0xffffffffffffffff
nop dword [rax + rax]
inc rsi
cmp byte [r15 + rsi], 0
jne 0x140042a70
add rsi, r15
mov rax, rsi
sub rax, r15
cmp rax, 0x200000
jge 0x1400434c1
mov rax, qword [0x1400598b0]
movups xmm0, xmmword [rax + 0x16fc]
movups xmmword [rbp + 0x68], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x1638]
movss dword [rbp + 0x74], xmm0
lea rcx, [rbp + 0x68]
call fcn.140002d00
mov r11d, eax
mov rdx, qword [r8 + 0x2f8]
lea r8, [rbp + 0x80]
test r10b, r10b
cmovne r8, rbx
mov rcx, rsi
movss xmm2, dword [r12 + 0x1a80]
mov r10, qword [r12 + 0x1a78]
test eax, 0xff000000
je 0x1400434c1
test rsi, rsi
jne 0x140042b0d
mov rcx, 0xffffffffffffffff
nop
inc rcx
cmp byte [r15 + rcx], 0
jne 0x140042b00
add rcx, r15
cmp r15, rcx
je 0x1400434c1
test r10, r10
jne 0x140042b23
mov rax, qword [rdx + 0x38]
mov r10, qword [rax + 8]
xorps xmm12, xmm12
ucomiss xmm2, xmm12
jp 0x140042b38
jne 0x140042b38
mov rax, qword [rdx + 0x38]
movss xmm2, dword [rax + 0x10]
movups xmm1, xmmword [rdx + 0x88]
movups xmmword [rbp - 0x30], xmm1
test r8, r8
je 0x140042b91
movss xmm0, dword [r8]
comiss xmm1, xmm0
jae 0x140042b57
movss dword [rbp - 0x30], xmm0
movss xmm1, dword [r8 + 4]
movss xmm0, dword [rbp - 0x2c]
comiss xmm0, xmm1
jae 0x140042b6c
movss dword [rbp - 0x2c], xmm1
movss xmm0, dword [r8 + 8]
comiss xmm0, dword [rbp - 0x28]
ja 0x140042b7d
movss dword [rbp - 0x28], xmm0
movss xmm0, dword [r8 + 0xc]
comiss xmm0, dword [rbp - 0x24]
ja 0x140042b8e
movss dword [rbp - 0x24], xmm0
test r8, r8
setne al
mov byte [rsp + 0x48], al
movss dword [rsp + 0x40], xmm12
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], r15
lea rax, [rbp - 0x30]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r11d
mov r9, qword [r9]
mov rcx, r10
call fcn.140032c00
jmp 0x1400434c5
movsxd rsi, dword [rsi + 8]
add rsi, r15
mov r15, qword [rbp + 0x50]
mov r14, qword [r15 + 0x18]
xorps xmm6, xmm6
xorps xmm8, xmm8
mov r9, rbx
mov r8d, 0xfffffc18
mov edi, r8d
xor r11d, r11d
mov edx, r11d
test al, al
je 0x140042c03
movsxd rax, dword [r15 + 0x4c]
lea r9, [r14 + rax*2]
lea edx, [r11 + 1]
lea r8d, [r11 - 1]
test r13b, r13b
je 0x140042c23
mov ecx, dword [r15 + 0x54]
cmp dword [r15 + 0x50], ecx
cmovl ecx, dword [r15 + 0x50]
movsxd rax, ecx
lea rbx, [r14 + rax*2]
mov edi, 0xffffffff
inc edx
movzx eax, r10b
add edx, eax
mov rax, r14
movzx ecx, word [r14]
test cx, cx
je 0x140042c71
cmp cx, 0xa
jne 0x140042c65
inc r11d
cmp r8d, 0xffffffff
jne 0x140042c52
cmp rax, r9
jb 0x140042c52
mov r8d, r11d
dec edx
test edx, edx
jle 0x140042c71
cmp edi, 0xffffffff
jne 0x140042c65
cmp rax, rbx
jb 0x140042c65
mov edi, r11d
dec edx
test edx, edx
jle 0x140042c71
add rax, 2
movzx ecx, word [rax]
test cx, cx
jne 0x140042c35
inc r11d
mov r10d, r11d
cmp r8d, 0xffffffff
cmovne r10d, r8d
cmp edi, 0xffffffff
cmove edi, r11d
mov rdx, r9
cmp r9, r14
jbe 0x140042ca2
nop
lea rax, [rdx - 2]
cmp word [rax], 0xa
je 0x140042ca2
mov rdx, rax
cmp rax, r14
ja 0x140042c90
mov rax, qword [0x1400598b0]
mov r8, qword [rax + 0x1a78]
movss xmm2, dword [rax + 0x1a80]
divss xmm2, dword [r8 + 0x14]
movaps xmm1, xmm4
movaps xmm12, xmm4
cmp rdx, r9
jae 0x140042d10
nop word [rax + rax]
movzx ecx, word [rdx]
add rdx, 2
cmp ecx, 0xa
jne 0x140042ce7
maxss xmm1, xmm12
movaps xmm12, xmm4
jmp 0x140042d0b
cmp ecx, 0xd
je 0x140042d0b
cmp ecx, dword [r8]
jge 0x140042cfc
mov rax, qword [r8 + 8]
movss xmm0, dword [rax + rcx*4]
jmp 0x140042d02
movss xmm0, dword [r8 + 0x10]
mulss xmm0, xmm2
addss xmm12, xmm0
cmp rdx, r9
jb 0x140042cd0
maxss xmm12, xmm1
movss xmm0, dword [r12 + 0x1a80]
movd xmm13, r10d
cvtdq2ps xmm13, xmm13
mulss xmm13, xmm0
test edi, edi
js 0x140042dda
mov rdx, rbx
cmp rbx, r14
jbe 0x140042d52
nop dword [rax]
lea rax, [rdx - 2]
cmp word [rax], 0xa
je 0x140042d52
mov rdx, rax
cmp rax, r14
ja 0x140042d40
mov rax, qword [0x1400598b0]
mov r8, qword [rax + 0x1a78]
movss xmm2, dword [rax + 0x1a80]
divss xmm2, dword [r8 + 0x14]
movaps xmm1, xmm4
movaps xmm8, xmm4
cmp rdx, rbx
jae 0x140042dc0
nop word [rax + rax]
movzx ecx, word [rdx]
add rdx, 2
cmp ecx, 0xa
jne 0x140042d97
maxss xmm1, xmm8
movaps xmm8, xmm4
jmp 0x140042dbb
cmp ecx, 0xd
je 0x140042dbb
cmp ecx, dword [r8]
jge 0x140042dac
mov rax, qword [r8 + 8]
movss xmm0, dword [rax + rcx*4]
jmp 0x140042db2
movss xmm0, dword [r8 + 0x10]
mulss xmm0, xmm2
addss xmm8, xmm0
cmp rdx, rbx
jb 0x140042d80
movss xmm0, dword [r12 + 0x1a80]
movd xmm6, edi
cvtdq2ps xmm6, xmm6
mulss xmm6, xmm0
maxss xmm8, xmm1
mov r10d, dword [rsp + 0x54]
test r10b, r10b
je 0x140042dfc
movss dword [rsp + 0x5c], xmm10
movd xmm7, r11d
cvtdq2ps xmm7, xmm7
mulss xmm7, xmm0
movss dword [rbp - 0x80], xmm7
movzx r8d, byte [rsp + 0x50]
test r8b, r8b
je 0x140042f23
cmp byte [r15 + 0xe7c], 0
je 0x140042f23
test dword [rbp + 0x1a8], 0x1000
jne 0x140042e79
movaps xmm0, xmm10
mulss xmm0, dword [0x140051208]
subss xmm10, dword [r12 + 0x1670]
movss xmm2, dword [r15 + 0x48]
movaps xmm1, xmm12
comiss xmm2, xmm12
jbe 0x140042e58
subss xmm1, xmm0
movaps xmm0, xmm4
maxss xmm0, xmm1
jmp 0x140042e66
subss xmm1, xmm10
comiss xmm1, xmm2
jb 0x140042e7f
addss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [r15 + 0x48], xmm0
jmp 0x140042e7f
xor eax, eax
mov dword [r15 + 0x48], eax
test r10b, r10b
je 0x140042f1b
movaps xmm0, xmm13
subss xmm0, dword [r12 + 0x1a80]
comiss xmm9, xmm0
jbe 0x140042ea7
movaps xmm9, xmm4
maxss xmm9, xmm0
jmp 0x140042eca
movaps xmm0, xmm13
subss xmm0, xmm11
comiss xmm0, xmm9
jb 0x140042eca
movss xmm9, dword [r12 + 0x1674]
addss xmm9, xmm9
addss xmm9, xmm0
movss xmm2, dword [r12 + 0x1674]
comiss xmm4, xmm9
jbe 0x140042edf
movaps xmm2, xmm4
jmp 0x140042ef5
addss xmm2, xmm2
addss xmm2, xmm7
subss xmm2, xmm11
maxss xmm2, xmm4
minss xmm2, xmm9
mov rax, qword [rbp - 0x58]
movss xmm0, dword [rax + 0xa0]
subss xmm0, xmm2
movss xmm1, dword [rbp + 0x64]
addss xmm1, xmm0
movss dword [rbp + 0x64], xmm1
movss dword [rax + 0xa0], xmm2
mov byte [r15 + 0xe7c], 0
movss xmm11, dword [r15 + 0x48]
test r13b, r13b
je 0x1400431a8
mov edx, dword [r15 + 0x54]
mov ecx, dword [r15 + 0x50]
mov eax, edx
cmp ecx, edx
cmovl eax, ecx
cdqe
lea rbx, [r14 + rax*2]
cmovge edx, ecx
movsxd rax, edx
lea rdi, [r14 + rax*2]
test r8b, r8b
je 0x140042f60
movss xmm1, dword [0x140051260]
jmp 0x140042f68
movss xmm1, dword [0x140051224]
mov rax, qword [0x1400598b0]
movups xmm0, xmmword [rax + 0x1a0c]
movups xmmword [rbp + 0x68], xmm0
mulss xmm1, dword [rax + 0x1638]
shufps xmm0, xmm0, 0xff
mulss xmm0, xmm1
movss dword [rbp + 0x74], xmm0
lea rcx, [rbp + 0x68]
call fcn.140002d00
mov r14d, eax
xorps xmm4, xmm4
test r10b, r10b
je 0x140042fae
movss dword [rbp - 0x44], xmm4
xorps xmm10, xmm10
jmp 0x140042fb7
movss xmm10, dword [0x140051280]
movss xmm9, dword [rbp + 0x60]
addss xmm8, xmm9
subss xmm8, xmm11
movss xmm7, dword [rbp + 0x64]
addss xmm7, xmm6
subss xmm7, xmm4
cmp rbx, rdi
jae 0x1400431ae
movss xmm6, dword [0x14005121c]
nop word [rax + rax]
movaps xmm0, xmm14
addss xmm0, dword [r12 + 0x1a80]
comiss xmm7, xmm0
ja 0x1400431a1
movss xmm5, dword [rbp - 0x5c]
comiss xmm5, xmm7
jbe 0x14004303b
cmp rbx, rdi
jae 0x140043185
nop word [rax + rax]
movzx eax, word [rbx]
add rbx, 2
cmp ax, 0xa
je 0x140043185
cmp rbx, rdi
jb 0x140043020
jmp 0x140043185
mov rax, qword [0x1400598b0]
mov rdx, qword [rax + 0x1a78]
movss xmm2, dword [rax + 0x1a80]
divss xmm2, dword [rdx + 0x14]
movaps xmm3, xmm4
movaps xmm1, xmm4
cmp rbx, rdi
jae 0x14004309f
movzx ecx, word [rbx]
add rbx, 2
cmp ecx, 0xa
je 0x140043095
cmp ecx, 0xd
je 0x14004308e
cmp ecx, dword [rdx]
jge 0x140043081
mov rax, qword [rdx + 8]
movss xmm0, dword [rax + rcx*4]
jmp 0x140043086
movss xmm0, dword [rdx + 0x10]
mulss xmm0, xmm2
addss xmm1, xmm0
cmp rbx, rdi
jb 0x140043061
jmp 0x14004309f
movaps xmm3, xmm4
maxss xmm3, xmm1
movaps xmm1, xmm4
maxss xmm1, xmm3
comiss xmm4, xmm1
jb 0x1400430d7
mov rax, qword [r12 + 0x1a78]
cmp dword [rax], 0x20
jle 0x1400430c3
mov rax, qword [rax + 8]
movss xmm0, dword [rax + 0x80]
jmp 0x1400430c8
movss xmm0, dword [rax + 0x10]
mulss xmm0, xmm6
cvttss2si eax, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
addss xmm1, xmm8
movaps xmm0, xmm10
addss xmm0, xmm7
addss xmm8, xmm4
movss xmm2, dword [rbp - 0x44]
subss xmm2, dword [r12 + 0x1a80]
addss xmm2, xmm7
movss xmm3, dword [rbp - 0x50]
maxss xmm8, xmm3
maxss xmm2, xmm5
movss dword [rbp + 0x68], xmm8
movss dword [rbp + 0x6c], xmm2
minss xmm1, xmm15
minss xmm0, xmm14
movss dword [rbp + 0x70], xmm1
movss dword [rbp + 0x74], xmm0
comiss xmm0, xmm5
jbe 0x140043185
comiss xmm14, xmm2
jbe 0x140043185
comiss xmm1, xmm3
jbe 0x140043185
comiss xmm15, xmm8
jbe 0x140043185
xor eax, eax
mov dword [rsp + 0x28], eax
movss dword [rsp + 0x20], xmm4
mov r9d, r14d
lea r8, [rbp + 0x70]
lea rdx, [rbp + 0x68]
mov rax, qword [rbp - 0x58]
mov rcx, qword [rax + 0x2f8]
call fcn.14002e8b0
movss xmm0, dword [rbp - 0x78]
movss dword [rbp - 0x78], xmm0
movss xmm0, dword [rsp + 0x64]
movss dword [rsp + 0x64], xmm0
movss xmm9, dword [rbp + 0x60]
xorps xmm4, xmm4
movaps xmm8, xmm9
subss xmm8, xmm11
addss xmm7, dword [r12 + 0x1a80]
cmp rbx, rdi
jb 0x140042ff0
mov r10d, dword [rsp + 0x54]
jmp 0x1400431ae
movss xmm9, dword [rbp + 0x60]
mov r11, qword [rbp - 0x68]
test r10b, r10b
jne 0x1400431c9
mov rax, rsi
sub rax, r11
cmp rax, 0x200000
jge 0x140043320
mov rax, qword [0x1400598b0]
movups xmm0, xmmword [rax + 0x16fc]
movups xmmword [rbp + 0x68], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x1638]
movss dword [rbp + 0x74], xmm0
lea rcx, [rbp + 0x68]
call fcn.140002d00
mov r9d, eax
mov rbx, qword [rbp - 0x58]
mov r8, qword [rbx + 0x2f8]
mov rcx, rsi
subss xmm9, xmm11
movss xmm3, dword [rbp + 0x64]
xorps xmm4, xmm4
subss xmm3, xmm4
movss xmm2, dword [r12 + 0x1a80]
mov r10, qword [r12 + 0x1a78]
lea rdx, [rbp + 0x80]
cmp byte [rsp + 0x54], 0
mov eax, 0
cmovne rdx, rax
test r9d, 0xff000000
je 0x140043324
test rsi, rsi
jne 0x140043263
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [r11 + rcx], al
jne 0x140043257
add rcx, r11
cmp r11, rcx
je 0x140043324
test r10, r10
jne 0x140043279
mov rax, qword [r8 + 0x38]
mov r10, qword [rax + 8]
ucomiss xmm2, xmm4
jp 0x140043289
jne 0x140043289
mov rax, qword [r8 + 0x38]
movss xmm2, dword [rax + 0x10]
movups xmm1, xmmword [r8 + 0x88]
movups xmmword [rbp - 0x30], xmm1
test rdx, rdx
je 0x1400432df
movss xmm0, dword [rdx]
comiss xmm1, xmm0
jae 0x1400432a8
movss dword [rbp - 0x30], xmm0
movss xmm1, dword [rdx + 4]
movss xmm0, dword [rbp - 0x2c]
comiss xmm0, xmm1
jae 0x1400432bc
movss dword [rbp - 0x2c], xmm1
movss xmm0, dword [rdx + 8]
comiss xmm0, dword [rbp - 0x28]
ja 0x1400432cc
movss dword [rbp - 0x28], xmm0
movss xmm0, dword [rdx + 0xc]
comiss xmm0, dword [rbp - 0x24]
ja 0x1400432dc
movss dword [rbp - 0x24], xmm0
test rdx, rdx
setne al
mov byte [rsp + 0x48], al
movss dword [rsp + 0x40], xmm4
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], r11
lea rax, [rbp - 0x30]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r9d
movaps xmm0, xmm9
unpcklps xmm0, xmm3
movq r9, xmm0
mov rdx, r8
mov rcx, r10
call fcn.140032c00
xorps xmm4, xmm4
jmp 0x140043324
mov rbx, qword [rbp - 0x58]
cmp byte [rsp + 0x50], 0
je 0x1400434b7
movss xmm0, dword [r12 + 0x18]
addss xmm0, dword [r15 + 0xe78]
movss dword [r15 + 0xe78], xmm0
cmp byte [r12 + 0xd1], 0
je 0x140043376
comiss xmm4, xmm0
jae 0x140043376
movss xmm1, dword [0x140051268]
call sub.api_ms_win_crt_math_l1_1_0.dll_fmodf
movss xmm1, dword [0x140051244]
comiss xmm1, xmm0
jae 0x140043376
xor cl, cl
jmp 0x140043378
mov cl, 1
movss xmm0, dword [rbp + 0x60]
addss xmm0, xmm12
subss xmm0, xmm11
cvttss2si eax, xmm0
movd xmm6, eax
cvtdq2ps xmm6, xmm6
movss xmm0, dword [rbp + 0x64]
addss xmm0, xmm13
xorps xmm12, xmm12
subss xmm0, xmm12
cvttss2si eax, xmm0
movd xmm7, eax
cvtdq2ps xmm7, xmm7
movss dword [rbp + 0x68], xmm6
movaps xmm0, xmm7
subss xmm0, dword [r12 + 0x1a80]
addss xmm0, dword [0x14005121c]
movss dword [rbp + 0x6c], xmm0
movaps xmm2, xmm6
movss xmm8, dword [0x140051260]
addss xmm2, xmm8
movss dword [rbp + 0x70], xmm2
movaps xmm1, xmm7
subss xmm1, dword [0x140051278]
movss dword [rbp + 0x74], xmm1
movss xmm13, dword [rbp - 0x5c]
test cl, cl
je 0x140043477
comiss xmm1, xmm13
jbe 0x140043477
movss xmm3, dword [rsp + 0x64]
comiss xmm3, xmm0
jbe 0x140043477
comiss xmm2, dword [rbp - 0x50]
jbe 0x140043477
movss xmm0, dword [rbp - 0x78]
comiss xmm0, xmm6
jbe 0x140043477
mov rax, qword [0x1400598b0]
movups xmm0, xmmword [rax + 0x16fc]
movups xmmword [rbp - 0x30], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x1638]
movss dword [rbp - 0x24], xmm0
movss dword [rsp + 0x78], xmm6
movss dword [rsp + 0x7c], xmm1
lea rcx, [rbp - 0x30]
call fcn.140002d00
mov r9d, eax
movss dword [rsp + 0x20], xmm8
lea r8, [rsp + 0x78]
lea rdx, [rbp + 0x68]
mov rcx, qword [rbx + 0x2f8]
call fcn.14002e640
mov r15, qword [rbp - 0x68]
cmp byte [rsp + 0x68], 0
jne 0x1400434ce
subss xmm6, xmm8
subss xmm7, dword [r12 + 0x1a80]
movss dword [r12 + 0x31a0], xmm6
movss dword [r12 + 0x31a4], xmm7
mov rax, qword [rbp - 0x40]
mov rax, qword [rax + 0x38]
mov qword [r12 + 0x31b0], rax
jmp 0x1400434ce
movss xmm13, dword [rbp - 0x5c]
mov r15, qword [rbp - 0x68]
xorps xmm12, xmm12
movss xmm8, dword [0x140051260]
mov ebx, dword [rbp - 0x60]
test bl, bl
je 0x1400434da
call fcn.140010b40
cmp byte [rsp + 0x54], 0
je 0x140043513
movss xmm0, dword [rsp + 0x5c]
movss dword [rbp - 0x40], xmm0
movss xmm0, dword [rbp - 0x80]
addss xmm0, dword [r12 + 0x1674]
movss dword [rbp - 0x3c], xmm0
lea rcx, [rbp - 0x40]
call fcn.14003c740
call fcn.14000a630
call fcn.1400116f0
cmp byte [r12 + 0x3254], 0
je 0x140043692
test bl, bl
jne 0x140043692
mov rdi, qword [0x1400598b0]
mov r14, qword [rdi + 0x1d18]
xor eax, eax
mov qword [rdi + 0x3280], rax
mov qword [rdi + 0x3278], rax
test rsi, rsi
jne 0x140043573
mov rsi, r15
cmp r15, 0xffffffffffffffff
jae 0x140043573
movzx ecx, byte [rsi]
test cl, cl
je 0x140043573
lea rax, [rsi + 1]
cmp cl, 0x23
jne 0x14004356a
cmp byte [rax], cl
je 0x140043573
mov rsi, rax
cmp rax, 0xffffffffffffffff
jb 0x140043556
movss xmm0, dword [rdi + 0x1674]
addss xmm0, dword [rdi + 0x3288]
addss xmm0, xmm8
movss xmm1, dword [rbp + 0x64]
movss dword [rdi + 0x3288], xmm1
comiss xmm1, xmm0
jbe 0x1400435ad
lea rcx, [0x14004c73c]
call fcn.140016c90
mov byte [rdi + 0x328c], 1
lea r8, [0x140050f5d]
lea rdx, [0x140050f5c]
lea rcx, [rbp + 0x60]
call fcn.140016cd0
mov ecx, dword [rdi + 0x3290]
mov eax, dword [r14 + 0x1c8]
cmp ecx, eax
jle 0x1400435dd
mov dword [rdi + 0x3290], eax
mov ecx, eax
mov r14d, dword [r14 + 0x1c8]
sub r14d, ecx
mov r12d, 1
nop dword [rax]
mov r8, rsi
sub r8, r15
mov edx, 0xa
mov rcx, r15
call sub.VCRUNTIME140.dll_memchr
mov rbx, rsi
test rax, rax
cmovne rbx, rax
cmp r15, rbx
jne 0x140043617
cmp rbx, rsi
je 0x140043676
mov r9d, ebx
sub r9d, r15d
cmp byte [rdi + 0x328c], 0
lea edx, [r14*4]
jne 0x140043631
mov edx, r12d
mov qword [rsp + 0x20], r15
lea r8, [0x14004c5de]
lea rcx, str._s_.s
call fcn.140016c90
mov byte [rdi + 0x328c], 0
cmp byte [rbx], 0xa
jne 0x140043668
lea rcx, [0x14004c73c]
call fcn.140016c90
mov byte [rdi + 0x328c], r12b
cmp rbx, rsi
je 0x140043676
lea r15, [rbx + 1]
jmp 0x1400435f0
lea r8, [0x140050f59]
lea rdx, [0x140050f58]
lea rcx, [rbp + 0x60]
call fcn.140016cd0
mov r12, qword [rsp + 0x70]
movss xmm0, dword [rbp - 0x48]
comiss xmm0, xmm12
jbe 0x1400436ce
movss xmm0, dword [rbp - 0x4c]
addss xmm0, dword [r12 + 0x1688]
addss xmm13, dword [r12 + 0x1674]
mov r9b, 1
xor r8d, r8d
mov rdx, qword [rbp - 0x38]
unpcklps xmm0, xmm13
movq rcx, xmm0
call fcn.140003340
movzx ecx, byte [rsp + 0x61]
mov r8d, dword [rbp + 0x1a8]
test cl, cl
je 0x140043703
bt r8d, 0x1b
jb 0x140043703
mov rax, qword [0x1400598b0]
mov word [rax + 0x1d7c], 0x101
mov rax, qword [rax + 0x1d18]
or dword [rax + 0x168], 4
test r8b, 0x20
mov eax, ecx
movzx ecx, byte [rsp + 0x58]
cmovne eax, ecx
jmp 0x140040570