Function at 0x14001a120
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push rdi
push r12
push r14
lea rbp, [rsp - 0x37]
sub rsp, 0xd0
mov rax, qword [0x1400b2040]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rsi, qword [0x1400b29a0]
xor r14d, r14d
mov rdi, rcx
mov qword [rbp - 0x39], rsi
mov r12, rsi
mov eax, dword [rsi + 0x1b18]
and byte [rcx + 0xb5], 0xfb
mov dword [rcx + 0x98], eax
mov qword [rcx + 0x90], r14
mov qword [rcx + 0x88], r14
cmp qword [rcx + 0x10], r14
jne 0x14001a2c0
call fcn.140019e50
mov ecx, r14d
mov edx, r14d
mov qword [rbp - 0x11], rcx
mov dword [rbp - 9], edx
cmp dword [rdi + 0x28], r14d
jle 0x14001a1a8
mov rcx, rdi
mov edx, 1
mov qword [rbp - 0x11], rcx
mov dword [rbp - 9], edx
mov eax, dword [rdi + 8]
shr eax, 0xb
test al, 1
mov rax, r14
cmovne rax, rdi
mov qword [rbp - 0x19], rax
cmp edx, 1
jle 0x14001a1c5
test rax, rax
jne 0x14001a205
mov r8, qword [rdi + 0x18]
test r8, r8
je 0x14001a1e5
lea rdx, [rbp - 0x19]
mov rcx, r8
call fcn.140019dd0
mov edx, dword [rbp - 9]
mov rcx, qword [rbp - 0x11]
mov rax, qword [rbp - 0x19]
mov r8, qword [rdi + 0x20]
test r8, r8
je 0x14001a205
lea rdx, [rbp - 0x19]
mov rcx, r8
call fcn.140019dd0
mov edx, dword [rbp - 9]
mov rcx, qword [rbp - 0x11]
mov rax, qword [rbp - 0x19]
mov qword [rdi + 0x88], rax
cmp edx, 1
mov rax, r14
cmove rax, rcx
mov qword [rdi + 0x90], rax
cmp dword [rdi + 0xa4], r14d
jne 0x14001a237
test rcx, rcx
je 0x14001a2b9
mov eax, dword [rcx]
mov dword [rdi + 0xa4], eax
test rcx, rcx
je 0x14001a2b9
mov rax, qword [rcx + 0x30]
mov r8d, 1
mov rax, qword [rax]
movups xmm0, xmmword [rax + 0x14]
movups xmmword [rdi + 0x5c], xmm0
movsd xmm1, qword [rax + 0x24]
movsd qword [rdi + 0x6c], xmm1
mov eax, dword [rax + 0x2c]
mov dword [rdi + 0x74], eax
movsxd rax, dword [rcx + 0x28]
cmp eax, r8d
jle 0x14001a2b9
mov r10, qword [rcx + 0x30]
mov r9, rax
mov edx, r8d
lea rcx, [r10 + 8]
nop dword [rax + rax]
mov rax, qword [rcx]
cmp byte [rax + 0x2d], r14b
je 0x14001a29a
inc r8d
inc rdx
add rcx, 8
cmp rdx, r9
jl 0x14001a280
jmp 0x14001a2b9
movsxd rax, r8d
mov rax, qword [r10 + rax*8]
movups xmm0, xmmword [rax + 0x14]
movups xmmword [rdi + 0x5c], xmm0
movsd xmm1, qword [rax + 0x24]
movsd qword [rdi + 0x6c], xmm1
mov eax, dword [rax + 0x2c]
mov dword [rdi + 0x74], eax
mov rsi, qword [0x1400b29a0]
cmp qword [rdi + 0x38], r14
je 0x14001a2df
mov eax, dword [rdi + 8]
shr eax, 0xc
test al, 1
je 0x14001a2df
mov rcx, rdi
call fcn.14001c040
mov rsi, qword [0x1400b29a0]
mov edx, dword [rdi + 0x28]
mov qword [rsp + 0x108], rbx
cmp edx, 1
jg 0x14001a4ad
cmp qword [rdi + 0x10], r14
jne 0x14001a4ad
test dword [rdi + 8], 0x400
jne 0x14001a4ad
cmp qword [rdi + 0x18], r14
jne 0x14001a4ad
cmp byte [r12 + 0xca], r14b
jne 0x14001a4ad
test edx, edx
je 0x14001a3d4
mov rax, qword [rdi + 0x30]
mov rcx, qword [rax]
cmp byte [rcx + 0x2c], r14b
jne 0x14001a4ad
cmp edx, 1
jne 0x14001a3d4
mov rbx, qword [rax]
mov eax, dword [rdi + 0xb0]
and eax, 0xfffffebf
bts eax, 7
movsd xmm0, qword [rbx + 0x48]
and eax, 0xffffffd7
or eax, 0x10
movsd qword [rdi + 0x40], xmm0
movsd xmm1, qword [rbx + 0x58]
and eax, 0xfffffffa
or eax, 2
movsd qword [rdi + 0x48], xmm1
mov dword [rdi + 0xb0], eax
mov rax, qword [rdi + 0x78]
test rax, rax
je 0x14001a39e
cmp qword [r12 + 0x1d70], rax
jne 0x14001a39e
mov rcx, rbx
call fcn.14000f480
mov rsi, qword [0x1400b29a0]
mov rax, qword [rdi + 0x78]
test rax, rax
je 0x14001a3d4
mov rdx, qword [rax + 0x30]
mov qword [rbx + 0x30], rdx
mov rax, qword [rdi + 0x78]
mov ecx, dword [rax + 0x38]
mov dword [rbx + 0x38], ecx
mov rax, qword [rdi + 0x78]
cmp byte [rax + 0xbe], r14b
je 0x14001a3d4
mov qword [rdx + 0x98], rbx
mov byte [rbx + 0xbe], 1
mov rax, qword [rdi + 0x78]
test rax, rax
je 0x14001a3f1
cmp qword [rax + 0x450], rdi
jne 0x14001a3ed
mov qword [rax + 0x450], r14
mov qword [rdi + 0x78], r14
cmp dword [rdi + 0x28], 1
jne 0x14001a40f
mov rcx, qword [rdi + 0x30]
mov rax, qword [rcx]
mov qword [rdi + 0x80], rax
mov rax, qword [rcx]
and byte [rax + 0x472], 0xfe
cmp qword [rdi + 0x38], r14
je 0x14001a424
mov rcx, rdi
call fcn.14001c040
mov rsi, qword [0x1400b29a0]
movzx eax, byte [rdi + 0xb4]
and al, 0xdf
mov dword [rdi + 0xc], 1
and al, 0xe3
mov dword [rdi + 0xac], r14d
mov byte [rdi + 0xb4], al
mov eax, dword [r12 + 0x1b18]
mov dword [rdi + 0x9c], eax
jge 0x14001ae07
cmp dword [rdi + 0x28], 1
jne 0x14001ae07
mov rax, qword [rdi + 0x30]
mov rbx, qword [rax]
mov rcx, rbx
call fcn.140004fd0
movss xmm1, dword [rsi + 0x3c8]
movss xmm0, dword [rsi + 0x3cc]
subss xmm1, dword [rdi + 0x40]
subss xmm0, dword [rdi + 0x44]
mov qword [rsi + 0x1bb8], rbx
movss dword [rsi + 0x1c10], xmm1
movss dword [rsi + 0x1c14], xmm0
and byte [rdi + 0xb4], 0x7f
jmp 0x14001ae07
test byte [rdi + 0xb4], 1
je 0x14001a53c
cmp qword [rdi + 0x78], r14
jne 0x14001a53c
cmp qword [rdi + 0x10], r14
jne 0x14001a53c
test dword [rdi + 8], 0x400
jne 0x14001a53c
cmp qword [rdi + 0x18], r14
jne 0x14001a53c
mov r9d, dword [rdi + 0xa8]
test r9d, r9d
je 0x14001a517
mov r8d, dword [rdi + 0x28]
mov ecx, r14d
test r8d, r8d
jle 0x14001a517
mov rdx, qword [rdi + 0x30]
mov rax, qword [rdx]
cmp dword [rax + 8], r9d
je 0x14001a507
inc ecx
add rdx, 8
cmp ecx, r8d
jl 0x14001a4f1
jmp 0x14001a517
mov rax, qword [rdi + 0x30]
movsxd rcx, ecx
mov rdx, qword [rax + rcx*8]
test rdx, rdx
jne 0x14001a51e
mov rax, qword [rdi + 0x30]
mov rdx, qword [rax]
cmp byte [rdx + 0xd4], r14b
jg 0x14001a530
cmp byte [rdx + 0xd5], r14b
jle 0x14001a53c
mov dword [rdi + 0xc], 2
jmp 0x14001ae07
mov eax, dword [rdi + 8]
mov rbx, r14
movzx edx, byte [rdi + 0xb4]
mov qword [rsp + 0x110], r13
mov r13d, eax
or r13d, dword [rdi + 4]
shr eax, 0xa
movaps xmmword [rsp + 0xc0], xmm6
mov byte [rbp - 0x68], bl
test al, 1
je 0x14001a59f
mov rbx, qword [rdi + 0x78]
and dl, 0xef
mov ecx, r13d
mov eax, r13d
shr ecx, 0xf
shl cl, 2
shr eax, 0xe
not cl
shl al, 3
xor cl, dl
not al
and cl, 4
xor cl, dl
xor al, cl
and al, 8
xor al, cl
mov byte [rdi + 0xb4], al
jmp 0x14001a91f
mov ecx, dword [rdi + 0x28]
test ecx, ecx
jle 0x14001a5b8
bt r13d, 0xf
jb 0x14001a5b8
and dl, 0xef
or dl, 4
movzx eax, dl
jmp 0x14001a5c2
and dl, 0xeb
movzx eax, dl
test ecx, ecx
jle 0x14001a5d6
bt r13d, 0xe
jb 0x14001a5d6
or al, 8
mov r8d, r14d
mov byte [rdi + 0xb4], al
jmp 0x14001a5e6
and dl, 0xf7
mov r8d, r14d
mov byte [rdi + 0xb4], dl
test ecx, ecx
jle 0x14001a63f
mov r9, r14
nop dword [rax]
mov rax, qword [rdi + 0x30]
lea r9, [r9 + 8]
cmp ecx, 1
setg cl
inc r8d
mov rdx, qword [r9 + rax - 8]
movzx eax, byte [rdx + 0x472]
and al, 0xfe
or cl, al
mov byte [rdx + 0x472], cl
movzx edx, byte [rdx + 0xc8]
movzx eax, byte [rdi + 0xb4]
shl dl, 4
or dl, al
and al, 0xef
and dl, 0x10
xor dl, al
mov byte [rdi + 0xb4], dl
mov ecx, dword [rdi + 0x28]
cmp r8d, ecx
jl 0x14001a5f0
mov rax, qword [rdi + 0x10]
test rax, rax
jne 0x14001a8b4
test dl, 1
je 0x14001a8c6
test ecx, ecx
jle 0x14001a662
mov rax, qword [rdi + 0x30]
mov rcx, qword [rax]
jmp 0x14001a665
mov rcx, r14
mov eax, dword [rdi + 0xb0]
shl eax, 0x1d
sar eax, 0x1d
cmp eax, 2
jne 0x14001a689
test rcx, rcx
je 0x14001a6b9
or dword [rsi + 0x1c40], 1
movsd xmm0, qword [rcx + 0x48]
jmp 0x14001a699
cmp eax, 1
jne 0x14001a6b9
or dword [rsi + 0x1c40], eax
movsd xmm0, qword [rdi + 0x40]
mov byte [rsi + 0x1c7c], 1
mov dword [rsi + 0x1c44], 1
mov qword [rsi + 0x1c5c], r14
movsd qword [rsi + 0x1c54], xmm0
mov eax, dword [rdi + 0xb0]
shl eax, 0x1a
sar eax, 0x1d
cmp eax, 2
jne 0x14001a6dc
test rcx, rcx
je 0x14001a6ff
or dword [rsi + 0x1c40], eax
movsd xmm0, qword [rcx + 0x58]
jmp 0x14001a6ed
cmp eax, 1
jne 0x14001a6ff
or dword [rsi + 0x1c40], 2
movsd xmm0, qword [rdi + 0x48]
mov dword [rsi + 0x1c48], 1
movsd qword [rsi + 0x1c64], xmm0
mov eax, dword [rdi + 0xb0]
and al, 0x38
cmp al, 0x10
jne 0x14001a72e
test rcx, rcx
je 0x14001a72e
movzx eax, byte [rcx + 0xc2]
or dword [rsi + 0x1c40], 8
mov byte [rsi + 0x1c7d], al
mov dword [rsi + 0x1c4c], 1
mov eax, dword [rdi + 0xb0]
and eax, 0x1c0
cmp eax, 0x80
jne 0x14001a758
test rcx, rcx
je 0x14001a758
mov eax, dword [rcx + 0x38]
or dword [rsi + 0x1c40], 0x100
mov dword [rsi + 0x1ca4], eax
or dword [rsi + 0x1c40], 0x400
lea r8, str.DockNode__02X
movups xmm0, xmmword [rdi + 0x5c]
mov edx, 0x14
lea rcx, [rbp - 1]
movups xmmword [rsi + 0x1cac], xmm0
movsd xmm1, qword [rdi + 0x6c]
movsd qword [rsi + 0x1cbc], xmm1
mov eax, dword [rdi + 0x74]
mov dword [rsi + 0x1cc4], eax
mov r9d, dword [rdi]
call fcn.140002830
mov rbx, qword [0x1400b29a0]
lea rdx, [rbp - 0x59]
mov dword [rbp - 0x59], 1
movss xmm1, dword [rbx + 0x1644]
lea rcx, [rbx + 0x1cf8]
movss xmm0, dword [rbx + 0x1648]
movss dword [rbp - 0x55], xmm1
movss dword [rbp - 0x51], xmm0
call fcn.140020d20
xor edx, edx
mov qword [rbx + 0x1644], r14
mov r8d, 0x20081139
lea rcx, [rbp - 1]
call fcn.14000c280
mov rsi, qword [0x1400b29a0]
lea r9, [0x140043d90]
movsxd rax, dword [rsi + 0x1cf8]
mov rdx, qword [rsi + 0x1d00]
lea rcx, [rax + rax*2]
movsxd rax, dword [rdx + rcx*4 - 0xc]
lea rax, [rax + rax*2]
cmp dword [r9 + rax*4], 8
mov r8d, dword [r9 + rax*4 + 8]
jne 0x14001a855
mov eax, dword [r9 + rax*4 + 4]
cmp eax, 1
jne 0x14001a838
mov eax, dword [rdx + rcx*4 - 8]
mov dword [r8 + rsi + 0x1640], eax
jmp 0x14001a855
cmp eax, 2
jne 0x14001a855
mov eax, dword [rdx + rcx*4 - 8]
mov dword [r8 + rsi + 0x1640], eax
mov eax, dword [rdx + rcx*4 - 4]
mov dword [r8 + rsi + 0x1644], eax
dec dword [rsi + 0x1cf8]
mov rbx, qword [r12 + 0x1b90]
mov qword [rdi + 0x78], rbx
mov byte [rbp - 0x68], 1
movss xmm0, dword [rbx + 0x48]
movss xmm1, dword [rbx + 0x4c]
movss dword [rbx + 0x118], xmm0
movss dword [rbx + 0x11c], xmm1
mov qword [rbx + 0x450], rdi
mov rcx, qword [rdi + 0x78]
movss dword [rdi + 0x40], xmm0
movss dword [rdi + 0x44], xmm1
movsd xmm0, qword [rbx + 0x50]
movsd qword [rdi + 0x48], xmm0
cmp byte [rcx + 0xc5], r14b
je 0x14001a8bc
call fcn.14000f3d0
jmp 0x14001a8bc
mov rbx, qword [rax + 0x78]
mov qword [rdi + 0x78], rbx
and dword [rdi + 0xb0], 0xfffffe00
cmp byte [rdi + 0xb4], r14b
jge 0x14001a91f
mov r14, qword [rdi + 0x78]
test r14, r14
je 0x14001a91f
mov rcx, r14
call fcn.140004fd0
movss xmm1, dword [rsi + 0x3c8]
movss xmm0, dword [rsi + 0x3cc]
subss xmm1, dword [rdi + 0x40]
subss xmm0, dword [rdi + 0x44]
mov qword [rsi + 0x1bb8], r14
movss dword [rsi + 0x1c10], xmm1
movss dword [rsi + 0x1c14], xmm0
and byte [rdi + 0xb4], 0x7f
mov rsi, qword [0x1400b29a0]
cmp qword [rdi + 0x10], 0
jne 0x14001a99b
mov rax, qword [r12 + 0x1d70]
test rax, rax
je 0x14001a957
mov rcx, qword [rax + 0x3f0]
mov rax, qword [rcx + 0x448]
test rax, rax
je 0x14001a957
cmp qword [rcx + 0x3e0], rbx
jne 0x14001a957
mov eax, dword [rax]
mov dword [rdi + 0xa4], eax
test rbx, rbx
je 0x14001a99b
test r13b, 8
je 0x14001a99b
mov rdx, qword [rbx + 0x318]
mov byte [rbp - 0x69], 1
lea rcx, [rdx + 0xa8]
call fcn.14002c500
mov rdx, qword [rbx + 0x318]
mov r8d, 1
lea rcx, [rdx + 0xa8]
call fcn.14002ca30
mov rsi, qword [0x1400b29a0]
jmp 0x14001a99f
mov byte [rbp - 0x69], 0
cmp qword [rdi + 0x10], 0
xorps xmm6, xmm6
mov r14, qword [rdi + 0x88]
mov qword [rsp + 0x118], r15
jne 0x14001ab1c
test rbx, rbx
je 0x14001ab1c
test r13b, 8
je 0x14001ab1c
test r14, r14
je 0x14001ab1c
cmp qword [r14 + 0x18], 0
jne 0x14001ab1c
cmp dword [r14 + 0x28], 0
jne 0x14001ab1c
cmp byte [rsi + 0x1ef4], 0
lea r12, [rsi + 0x1f08]
mov eax, 0
mov r15b, 1
cmove r12, rax
test r12, r12
je 0x14001aa46
cmp dword [r12 + 0x14], 0xffffffff
je 0x14001aa46
lea rdx, [r12 + 0x18]
lea rcx, str._IMWINDOW
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x14001aa46
mov rdx, qword [r12]
mov rcx, rbx
mov rdx, qword [rdx]
call fcn.14001c0d0
test al, al
je 0x14001aa46
mov rax, qword [rdi + 0x10]
jmp 0x14001ab2c
movss xmm3, dword [r14 + 0x40]
movss xmm2, dword [r14 + 0x44]
movaps xmm4, xmm3
addss xmm4, dword [r14 + 0x48]
subss xmm3, dword [0x1400ab3bc]
movaps xmm1, xmm2
addss xmm1, dword [r14 + 0x4c]
subss xmm2, dword [0x1400ab3bc]
subss xmm4, dword [0x1400ab310]
subss xmm1, dword [0x1400ab310]
comiss xmm3, xmm4
ja 0x14001aa3d
comiss xmm2, xmm1
ja 0x14001aa3d
mov rcx, qword [rbx + 0x3e0]
subss xmm1, xmm2
subss xmm4, xmm3
movaps xmm0, xmm3
cvttss2si edx, xmm1
cvttss2si r8d, xmm4
mov word [rbp - 0x57], dx
movaps xmm1, xmm2
mov word [rbp - 0x59], r8w
mov eax, dword [rbp - 0x59]
mov dword [rbx + 0x2d0], eax
subss xmm0, dword [rbx + 0x48]
subss xmm1, dword [rbx + 0x4c]
cvttss2si eax, xmm0
mov word [rbp - 0x59], ax
cvttss2si eax, xmm1
mov word [rbp - 0x57], ax
mov eax, dword [rbp - 0x59]
mov dword [rbx + 0x2d4], eax
mov word [rbp - 0x59], r8w
mov word [rbp - 0x57], dx
mov eax, dword [rbp - 0x59]
mov dword [rcx + 0x2d0], eax
subss xmm3, dword [rcx + 0x48]
subss xmm2, dword [rcx + 0x4c]
cvttss2si eax, xmm3
mov word [rbp - 0x59], ax
cvttss2si eax, xmm2
mov word [rbp - 0x57], ax
mov eax, dword [rbp - 0x59]
mov dword [rcx + 0x2d4], eax
mov rax, qword [rdi + 0x10]
jmp 0x14001ab2c
mov rax, qword [rdi + 0x10]
xor r15b, r15b
test rbx, rbx
je 0x14001abdb
test rax, rax
jne 0x14001ab53
mov r8, qword [rbx + 0x50]
xor r9d, r9d
mov rdx, qword [rbx + 0x48]
mov rcx, rdi
call fcn.14001dc50
mov rcx, rdi
call fcn.14001e0c0
mov rsi, qword [0x1400b29a0]
cmp qword [rdi + 0x18], 0
jne 0x14001abd7
cmp dword [rdi + 0x28], 0
jne 0x14001abd7
test byte [rdi + 0xb4], 1
je 0x14001abd7
test r13b, 8
jne 0x14001abd7
movups xmm0, xmmword [rsi + 0x196c]
lea rcx, [rbp - 0x29]
movss xmm1, dword [rdi + 0x4c]
addss xmm1, dword [rdi + 0x44]
movups xmmword [rbp - 0x29], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rsi + 0x1640]
movss dword [rbp - 0x55], xmm1
movss dword [rbp - 0x1d], xmm0
movss xmm0, dword [rdi + 0x48]
addss xmm0, dword [rdi + 0x40]
movss dword [rbp - 0x59], xmm0
call fcn.140002d80
mov rcx, qword [rbx + 0x318]
lea rdx, [rdi + 0x40]
mov r9d, eax
mov dword [rsp + 0x28], 0xf
lea r8, [rbp - 0x59]
movss dword [rsp + 0x20], xmm6
call fcn.14002c050
mov r12, qword [rbp - 0x39]
cmp byte [rbp - 0x69], 0
mov r13, qword [rsp + 0x110]
je 0x14001ad0a
test byte [rdi + 0xb4], 1
je 0x14001ad0a
mov rdx, qword [rbx + 0x318]
xor r8d, r8d
lea rcx, [rdx + 0xa8]
call fcn.14002ca30
mov rax, qword [0x1400b29a0]
lea rcx, [rbp - 0x29]
movups xmm0, xmmword [rax + 0x171c]
movups xmmword [rbp - 0x29], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x1640]
movss dword [rbp - 0x1d], xmm0
movss xmm0, dword [rdi + 0x40]
test r15b, r15b
je 0x14001acb4
movss xmm1, dword [r14 + 0x40]
movss xmm2, dword [r14 + 0x44]
movss xmm3, dword [rdi + 0x44]
movss dword [rbp - 0x39], xmm1
addss xmm1, dword [r14 + 0x48]
movss dword [rbp - 0x35], xmm2
addss xmm2, dword [r14 + 0x4c]
movss dword [rbp - 0x55], xmm3
addss xmm3, dword [rdi + 0x4c]
movss dword [rbp - 0x59], xmm0
addss xmm0, dword [rdi + 0x48]
movss dword [rbp - 0x31], xmm1
movss dword [rbp - 0x2d], xmm2
movss dword [rbp - 0x4d], xmm3
movss dword [rbp - 0x51], xmm0
call fcn.140002d80
mov rcx, qword [rbx + 0x318]
lea rdx, [rbp - 0x59]
mov r9d, eax
movss dword [rsp + 0x20], xmm6
lea r8, [rbp - 0x39]
call fcn.140030d70
jmp 0x14001acf7
movss xmm1, dword [rdi + 0x4c]
addss xmm1, dword [rdi + 0x44]
addss xmm0, dword [rdi + 0x48]
movss dword [rbp - 0x35], xmm1
movss dword [rbp - 0x39], xmm0
call fcn.140002d80
mov rcx, qword [rbx + 0x318]
lea rdx, [rdi + 0x40]
mov r9d, eax
mov dword [rsp + 0x28], 0xf
lea r8, [rbp - 0x39]
movss dword [rsp + 0x20], xmm6
call fcn.14002c050
mov rdx, qword [rbx + 0x318]
lea rcx, [rdx + 0xa8]
call fcn.14002c6c0
movaps xmm6, xmmword [rsp + 0xc0]
mov r15, qword [rsp + 0x118]
test rbx, rbx
je 0x14001ad32
cmp dword [rdi + 0x28], 0
jle 0x14001ad32
mov rdx, rbx
mov rcx, rdi
call fcn.14001b050
jmp 0x14001ad4d
movzx eax, byte [rdi + 0xb4]
and al, 0xdf
mov dword [rdi + 0xac], 0
and al, 0xfd
mov byte [rdi + 0xb4], al
mov rax, qword [rdi + 0x38]
test rax, rax
je 0x14001ad65
mov ecx, dword [rax + 0x18]
test ecx, ecx
je 0x14001ad65
mov dword [rdi + 0xa8], ecx
jmp 0x14001ad7b
cmp dword [rdi + 0x28], 0
jle 0x14001ad7b
mov rax, qword [rdi + 0x30]
mov rcx, qword [rax]
mov eax, dword [rcx + 8]
mov dword [rdi + 0xa8], eax
test rbx, rbx
je 0x14001adbe
test byte [rdi + 0xb4], 1
je 0x14001adbe
cmp qword [rdi + 0x10], 0
jne 0x14001adbe
mov rax, qword [r12 + 0x1bb8]
test rax, rax
je 0x14001ada6
cmp qword [rax + 0x3e8], rbx
je 0x14001adbe
mov rcx, rbx
call fcn.14001f3e0
mov eax, dword [r12 + 0x1b18]
mov dword [rdi + 0x9c], eax
jmp 0x14001add1
mov eax, dword [r12 + 0x1b18]
mov dword [rdi + 0x9c], eax
test rbx, rbx
je 0x14001adfc
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x14001addf
call fcn.14001a120
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x14001aded
call fcn.14001a120
cmp qword [rdi + 0x10], 0
jne 0x14001adfc
mov rcx, rbx
call fcn.14000aec0
cmp byte [rbp - 0x68], 0
je 0x14001ae07
call fcn.14000f210
mov rbx, qword [rsp + 0x108]
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.140040db0
add rsp, 0xd0
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret