Function at 0x140020c60
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push rdi
push r12
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xc0
mov rax, qword [0x1400ba010]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rsi, qword [0x1400baf70]
xor r12d, r12d
mov rdi, rcx
mov qword [rbp - 0x39], rsi
mov r15, rsi
mov eax, dword [rsi + 0x1b18]
and byte [rcx + 0xb5], 0xfb
mov dword [rcx + 0x98], eax
mov qword [rcx + 0x90], r12
mov qword [rcx + 0x88], r12
cmp qword [rcx + 0x10], r12
jne 0x140020e00
call fcn.1400209d0
mov ecx, r12d
mov edx, r12d
mov qword [rbp - 0x11], rcx
mov dword [rbp - 9], edx
cmp dword [rdi + 0x28], r12d
jle 0x140020ce8
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, r12
cmovne rax, rdi
mov qword [rbp - 0x19], rax
cmp edx, 1
jle 0x140020d05
test rax, rax
jne 0x140020d45
mov r8, qword [rdi + 0x18]
test r8, r8
je 0x140020d25
lea rdx, [rbp - 0x19]
mov rcx, r8
call fcn.140020960
mov edx, dword [rbp - 9]
mov rcx, qword [rbp - 0x11]
mov rax, qword [rbp - 0x19]
mov r8, qword [rdi + 0x20]
test r8, r8
je 0x140020d45
lea rdx, [rbp - 0x19]
mov rcx, r8
call fcn.140020960
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, r12
cmove rax, rcx
mov qword [rdi + 0x90], rax
cmp dword [rdi + 0xa4], r12d
jne 0x140020d77
test rcx, rcx
je 0x140020df9
mov eax, dword [rcx]
mov dword [rdi + 0xa4], eax
test rcx, rcx
je 0x140020df9
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 0x140020df9
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], r12b
je 0x140020dda
inc r8d
inc rdx
add rcx, 8
cmp rdx, r9
jl 0x140020dc0
jmp 0x140020df9
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 [0x1400baf70]
cmp qword [rdi + 0x38], r12
je 0x140020e1f
mov eax, dword [rdi + 8]
shr eax, 0xc
test al, 1
je 0x140020e1f
mov rcx, rdi
call fcn.140022c10
mov rsi, qword [0x1400baf70]
mov r8d, dword [rdi + 0x28]
mov qword [rsp + 0xf8], rbx
mov qword [rsp + 0x108], r14
cmp r8d, 1
jg 0x140020ff4
cmp qword [rdi + 0x10], r12
jne 0x140020ff4
test dword [rdi + 8], 0x400
jne 0x140020ff4
cmp qword [rdi + 0x18], r12
jne 0x140020ff4
cmp byte [r15 + 0xca], r12b
jne 0x140020ff4
lea r14, [rdi + 0x30]
test r8d, r8d
je 0x140020f1e
mov rax, qword [r14]
mov rcx, qword [rax]
cmp byte [rcx + 0x2c], r12b
jne 0x140020ff4
cmp r8d, 1
jne 0x140020f1e
mov eax, dword [rdi + 0xb0]
mov rbx, rcx
movsd xmm0, qword [rcx + 0x48]
and eax, 0xfffffebf
bts eax, 7
movsd qword [rdi + 0x40], xmm0
movsd xmm1, qword [rcx + 0x58]
and eax, 0xffffffd7
or eax, 0x10
movsd qword [rdi + 0x48], xmm1
and eax, 0xfffffffa
or eax, 2
mov dword [rdi + 0xb0], eax
mov rax, qword [rdi + 0x78]
test rax, rax
je 0x140020ee8
cmp qword [r15 + 0x1d70], rax
jne 0x140020ee8
call fcn.140015470
mov rsi, qword [0x1400baf70]
mov rax, qword [rdi + 0x78]
test rax, rax
je 0x140020f1e
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], r12b
je 0x140020f1e
mov qword [rdx + 0x98], rbx
mov byte [rbx + 0xbe], 1
mov rax, qword [rdi + 0x78]
test rax, rax
je 0x140020f3b
cmp qword [rax + 0x450], rdi
jne 0x140020f37
mov qword [rax + 0x450], r12
mov qword [rdi + 0x78], r12
cmp dword [rdi + 0x28], 1
jne 0x140020f58
mov rcx, qword [r14]
mov rax, qword [rcx]
mov qword [rdi + 0x80], rax
mov rax, qword [rcx]
and byte [rax + 0x472], 0xfe
cmp qword [rdi + 0x38], r12
je 0x140020f6d
mov rcx, rdi
call fcn.140022c10
mov rsi, qword [0x1400baf70]
movzx eax, byte [rdi + 0xb4]
and al, 0xdf
mov dword [rdi + 0xc], 1
and al, 0xe3
mov dword [rdi + 0xac], r12d
mov byte [rdi + 0xb4], al
mov eax, dword [r15 + 0x1b18]
mov dword [rdi + 0x9c], eax
jge 0x14002198b
cmp dword [rdi + 0x28], 1
jne 0x14002198b
mov rax, qword [r14]
mov rbx, qword [rax]
mov rcx, rbx
call fcn.14000a730
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 0x14002198b
test byte [rdi + 0xb4], 1
je 0x14002107a
cmp qword [rdi + 0x78], r12
jne 0x14002107a
cmp qword [rdi + 0x10], r12
jne 0x14002107a
test dword [rdi + 8], 0x400
jne 0x14002107a
cmp qword [rdi + 0x18], r12
jne 0x14002107a
mov r9d, dword [rdi + 0xa8]
test r9d, r9d
je 0x140021055
mov ecx, r12d
test r8d, r8d
jle 0x140021055
mov r10, qword [rdi + 0x30]
mov rdx, r10
mov rax, qword [rdx]
cmp dword [rax + 8], r9d
je 0x140021049
inc ecx
add rdx, 8
cmp ecx, r8d
jl 0x140021033
jmp 0x140021055
movsxd rax, ecx
mov rcx, qword [r10 + rax*8]
test rcx, rcx
jne 0x14002105c
mov rax, qword [rdi + 0x30]
mov rcx, qword [rax]
cmp byte [rcx + 0xd4], r12b
jg 0x14002106e
cmp byte [rcx + 0xd5], r12b
jle 0x14002107a
mov dword [rdi + 0xc], 2
jmp 0x14002198b
mov eax, dword [rdi + 8]
mov rbx, r12
movzx edx, byte [rdi + 0xb4]
mov r14d, eax
or r14d, dword [rdi + 4]
shr eax, 0xa
movaps xmmword [rsp + 0xb0], xmm6
mov byte [rbp - 0x57], bl
test al, 1
je 0x1400210d5
mov rbx, qword [rdi + 0x78]
and dl, 0xef
mov ecx, r14d
mov eax, r14d
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 0x140021455
test r8d, r8d
jle 0x1400210ec
bt r14d, 0xf
jb 0x1400210ec
and dl, 0xef
or dl, 4
movzx eax, dl
jmp 0x1400210f7
and dl, 0xeb
movzx eax, dl
test r8d, r8d
jle 0x14002110b
bt r14d, 0xe
jb 0x14002110b
or al, 8
mov r9d, r12d
mov byte [rdi + 0xb4], al
jmp 0x14002111c
and dl, 0xf7
mov r9d, r12d
mov byte [rdi + 0xb4], dl
test r8d, r8d
jle 0x140021171
mov r10, r12
nop
mov rax, qword [rdi + 0x30]
lea r10, [r10 + 8]
cmp r8d, 1
setg cl
inc r9d
mov rdx, qword [r10 + 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 r8d, dword [rdi + 0x28]
cmp r9d, r8d
jl 0x140021120
mov rax, qword [rdi + 0x10]
test rax, rax
jne 0x1400213e6
test dl, 1
je 0x1400213f8
cmp dword [rdi + 0x28], ebx
jle 0x140021195
mov rax, qword [rdi + 0x30]
mov rcx, qword [rax]
jmp 0x140021198
mov rcx, r12
mov eax, dword [rdi + 0xb0]
shl eax, 0x1d
sar eax, 0x1d
cmp eax, 2
jne 0x1400211bc
test rcx, rcx
je 0x1400211ec
or dword [rsi + 0x1c40], 1
movsd xmm0, qword [rcx + 0x48]
jmp 0x1400211cc
cmp eax, 1
jne 0x1400211ec
or dword [rsi + 0x1c40], eax
movsd xmm0, qword [rdi + 0x40]
mov byte [rsi + 0x1c7c], 1
mov dword [rsi + 0x1c44], 1
mov qword [rsi + 0x1c5c], r12
movsd qword [rsi + 0x1c54], xmm0
mov eax, dword [rdi + 0xb0]
shl eax, 0x1a
sar eax, 0x1d
cmp eax, 2
jne 0x14002120f
test rcx, rcx
je 0x140021232
or dword [rsi + 0x1c40], eax
movsd xmm0, qword [rcx + 0x58]
jmp 0x140021220
cmp eax, 1
jne 0x140021232
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 0x140021261
test rcx, rcx
je 0x140021261
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 0x14002128b
test rcx, rcx
je 0x14002128b
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.140006f70
mov rbx, qword [0x1400baf70]
lea rdx, [rbp - 0x29]
mov dword [rbp - 0x29], 1
movss xmm1, dword [rbx + 0x1644]
lea rcx, [rbx + 0x1cf8]
movss xmm0, dword [rbx + 0x1648]
movss dword [rbp - 0x25], xmm1
movss dword [rbp - 0x21], xmm0
call fcn.140027790
xor edx, edx
mov qword [rbx + 0x1644], r12
mov r8d, 0x20081139
lea rcx, [rbp - 1]
call fcn.140011f70
mov rsi, qword [0x1400baf70]
lea r9, [0x140072220]
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 0x140021388
mov eax, dword [r9 + rax*4 + 4]
cmp eax, 1
jne 0x14002136b
mov eax, dword [rdx + rcx*4 - 8]
mov dword [r8 + rsi + 0x1640], eax
jmp 0x140021388
cmp eax, 2
jne 0x140021388
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 [r15 + 0x1b90]
mov qword [rdi + 0x78], rbx
mov byte [rbp - 0x57], 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], r12b
je 0x1400213ee
call fcn.1400153c0
jmp 0x1400213ee
mov rbx, qword [rax + 0x78]
mov qword [rdi + 0x78], rbx
and dword [rdi + 0xb0], 0xfffffe00
cmp byte [rdi + 0xb4], r12b
jge 0x140021455
mov r15, qword [rdi + 0x78]
test r15, r15
je 0x140021451
mov rcx, r15
call fcn.14000a730
movss xmm1, dword [rsi + 0x3c8]
movss xmm0, dword [rsi + 0x3cc]
subss xmm1, dword [rdi + 0x40]
subss xmm0, dword [rdi + 0x44]
mov qword [rsi + 0x1bb8], r15
movss dword [rsi + 0x1c10], xmm1
movss dword [rsi + 0x1c14], xmm0
and byte [rdi + 0xb4], 0x7f
mov rsi, qword [0x1400baf70]
mov r15, qword [rbp - 0x39]
cmp qword [rdi + 0x10], r12
jne 0x1400214d4
mov rax, qword [r15 + 0x1d70]
test rax, rax
je 0x14002148b
mov rcx, qword [rax + 0x3f0]
mov rax, qword [rcx + 0x448]
test rax, rax
je 0x14002148b
cmp qword [rcx + 0x3e0], rbx
jne 0x14002148b
mov eax, dword [rax]
mov dword [rdi + 0xa4], eax
test rbx, rbx
je 0x1400214d4
mov r15d, r14d
and r15d, 8
je 0x1400214d4
mov rdx, qword [rbx + 0x318]
mov byte [rbp - 0x59], 1
lea rcx, [rdx + 0xa8]
call fcn.140033480
mov rdx, qword [rbx + 0x318]
mov r8d, 1
lea rcx, [rdx + 0xa8]
call fcn.1400339f0
mov rsi, qword [0x1400baf70]
mov cl, 1
jmp 0x1400214e0
xor cl, cl
and r14d, 8
mov byte [rbp - 0x59], cl
mov r15d, r14d
cmp qword [rdi + 0x10], 0
mov edx, r15d
mov r12, qword [rdi + 0x88]
xorps xmm6, xmm6
mov qword [rsp + 0x100], r13
jne 0x140021681
test rbx, rbx
je 0x140021681
test r15d, r15d
je 0x140021681
test r12, r12
je 0x140021681
cmp qword [r12 + 0x18], 0
jne 0x140021681
cmp dword [r12 + 0x28], 0
jne 0x140021681
cmp byte [rsi + 0x1ef4], 0
lea rax, [rsi + 0x1f08]
mov r8d, 0
mov r13b, 1
cmove rax, r8
movzx r14d, cl
mov qword [rbp - 0x29], rax
test rax, rax
je 0x1400215a7
cmp dword [rax + 0x14], 0xffffffff
je 0x1400215a0
lea rdx, [rax + 0x18]
lea rcx, str._IMWINDOW
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x140021599
mov rdx, qword [rbp - 0x29]
mov rcx, rbx
movzx r14d, byte [rbp - 0x59]
mov rdx, qword [rdx]
mov rdx, qword [rdx]
call fcn.140022ca0
test al, al
je 0x1400215a7
mov rax, qword [rdi + 0x10]
jmp 0x140021695
movzx ecx, byte [rbp - 0x59]
mov edx, r15d
movzx r14d, cl
mov r15d, edx
movss xmm3, dword [r12 + 0x40]
movss xmm2, dword [r12 + 0x44]
movaps xmm4, xmm3
addss xmm4, dword [r12 + 0x48]
subss xmm3, dword [0x1400add4c]
movaps xmm1, xmm2
addss xmm1, dword [r12 + 0x4c]
subss xmm2, dword [0x1400add4c]
subss xmm4, dword [0x1400adc04]
subss xmm1, dword [0x1400adc04]
comiss xmm3, xmm4
ja 0x140021590
comiss xmm2, xmm1
ja 0x140021590
mov rcx, qword [rbx + 0x3e0]
subss xmm1, xmm2
subss xmm4, xmm3
movaps xmm0, xmm3
cvttss2si edx, xmm1
cvttss2si r8d, xmm4
mov word [rbp - 0x47], dx
movaps xmm1, xmm2
mov word [rbp - 0x49], r8w
mov eax, dword [rbp - 0x49]
mov dword [rbx + 0x2d0], eax
subss xmm0, dword [rbx + 0x48]
subss xmm1, dword [rbx + 0x4c]
cvttss2si eax, xmm0
mov word [rbp - 0x49], ax
cvttss2si eax, xmm1
mov word [rbp - 0x47], ax
mov eax, dword [rbp - 0x49]
mov dword [rbx + 0x2d4], eax
mov word [rbp - 0x49], r8w
mov word [rbp - 0x47], dx
mov eax, dword [rbp - 0x49]
mov dword [rcx + 0x2d0], eax
subss xmm3, dword [rcx + 0x48]
subss xmm2, dword [rcx + 0x4c]
cvttss2si eax, xmm3
mov word [rbp - 0x49], ax
cvttss2si eax, xmm2
mov word [rbp - 0x47], ax
mov eax, dword [rbp - 0x49]
mov dword [rcx + 0x2d4], eax
mov rax, qword [rdi + 0x10]
jmp 0x140021695
mov rax, qword [rdi + 0x10]
xor r13b, r13b
movzx r14d, cl
test rbx, rbx
je 0x14002176f
movzx ecx, r13b
movzx edx, r14b
mov byte [rbp - 0x58], cl
mov byte [rbp - 0x59], dl
test rax, rax
jne 0x1400216d2
mov r8, qword [rbx + 0x50]
xor r9d, r9d
mov rdx, qword [rbx + 0x48]
mov rcx, rdi
call fcn.140024700
mov rcx, rdi
call fcn.140024b30
mov rsi, qword [0x1400baf70]
movzx ecx, r13b
movzx edx, r14b
cmp qword [rdi + 0x18], 0
jne 0x14002176f
cmp dword [rdi + 0x28], 0
jne 0x14002176f
test byte [rdi + 0xb4], 1
movzx r14d, dl
movzx r13d, cl
je 0x14002176f
test r15d, r15d
jne 0x14002176f
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 - 0x45], xmm1
movss dword [rbp - 0x1d], xmm0
movss xmm0, dword [rdi + 0x48]
addss xmm0, dword [rdi + 0x40]
movss dword [rbp - 0x49], xmm0
call fcn.1400074c0
mov rcx, qword [rbx + 0x318]
lea rdx, [rdi + 0x40]
mov r9d, eax
mov dword [rsp + 0x28], 0xf
lea r8, [rbp - 0x49]
movss dword [rsp + 0x20], xmm6
call fcn.140032b30
movzx r14d, byte [rbp - 0x59]
movzx r13d, byte [rbp - 0x58]
test r14b, r14b
je 0x140021899
test byte [rdi + 0xb4], 1
je 0x140021899
mov rdx, qword [rbx + 0x318]
xor r8d, r8d
lea rcx, [rdx + 0xa8]
call fcn.1400339f0
mov rax, qword [0x1400baf70]
lea rcx, [rbp - 0x19]
movups xmm0, xmmword [rax + 0x171c]
movups xmmword [rbp - 0x19], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x1640]
movss dword [rbp - 0xd], xmm0
movss xmm0, dword [rdi + 0x40]
test r13b, r13b
je 0x140021843
movss xmm1, dword [r12 + 0x40]
movss xmm2, dword [r12 + 0x44]
movss xmm3, dword [rdi + 0x44]
movss dword [rbp - 0x29], xmm1
addss xmm1, dword [r12 + 0x48]
movss dword [rbp - 0x25], xmm2
addss xmm2, dword [r12 + 0x4c]
movss dword [rbp - 0x45], xmm3
addss xmm3, dword [rdi + 0x4c]
movss dword [rbp - 0x49], xmm0
addss xmm0, dword [rdi + 0x48]
movss dword [rbp - 0x21], xmm1
movss dword [rbp - 0x1d], xmm2
movss dword [rbp - 0x3d], xmm3
movss dword [rbp - 0x41], xmm0
call fcn.1400074c0
mov rcx, qword [rbx + 0x318]
lea rdx, [rbp - 0x49]
mov r9d, eax
movss dword [rsp + 0x20], xmm6
lea r8, [rbp - 0x29]
call fcn.140037ff0
jmp 0x140021886
movss xmm1, dword [rdi + 0x4c]
addss xmm1, dword [rdi + 0x44]
addss xmm0, dword [rdi + 0x48]
movss dword [rbp - 0x45], xmm1
movss dword [rbp - 0x49], xmm0
call fcn.1400074c0
mov rcx, qword [rbx + 0x318]
lea rdx, [rdi + 0x40]
mov r9d, eax
mov dword [rsp + 0x28], 0xf
lea r8, [rbp - 0x49]
movss dword [rsp + 0x20], xmm6
call fcn.140032b30
mov rdx, qword [rbx + 0x318]
lea rcx, [rdx + 0xa8]
call fcn.140033640
movaps xmm6, xmmword [rsp + 0xb0]
mov r13, qword [rsp + 0x100]
test rbx, rbx
je 0x1400218c1
cmp dword [rdi + 0x28], 0
jle 0x1400218c1
mov rdx, rbx
mov rcx, rdi
call fcn.140021c40
jmp 0x1400218da
movzx eax, byte [rdi + 0xb4]
xor ecx, ecx
and al, 0xdf
mov dword [rdi + 0xac], ecx
and al, 0xfd
mov byte [rdi + 0xb4], al
mov rax, qword [rdi + 0x38]
test rax, rax
je 0x1400218ea
mov eax, dword [rax + 0x18]
test eax, eax
jne 0x1400218fa
cmp dword [rdi + 0x28], 0
jle 0x140021900
mov rax, qword [rdi + 0x30]
mov rcx, qword [rax]
mov eax, dword [rcx + 8]
mov dword [rdi + 0xa8], eax
mov rsi, qword [rbp - 0x39]
test rbx, rbx
je 0x140021944
test byte [rdi + 0xb4], 1
je 0x140021944
cmp qword [rdi + 0x10], 0
jne 0x140021944
mov rax, qword [rsi + 0x1bb8]
test rax, rax
je 0x14002192e
cmp qword [rax + 0x3e8], rbx
je 0x140021944
mov rcx, rbx
call fcn.140025e10
mov eax, dword [rsi + 0x1b18]
mov dword [rdi + 0x9c], eax
jmp 0x140021955
mov eax, dword [rsi + 0x1b18]
mov dword [rdi + 0x9c], eax
test rbx, rbx
je 0x140021980
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x140021963
call fcn.140020c60
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x140021971
call fcn.140020c60
cmp qword [rdi + 0x10], 0
jne 0x140021980
mov rcx, rbx
call fcn.140010bc0
cmp byte [rbp - 0x57], 0
je 0x14002198b
call fcn.140015120
mov r14, qword [rsp + 0x108]
mov rbx, qword [rsp + 0xf8]
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.14006cee0
add rsp, 0xc0
pop r15
pop r12
pop rdi
pop rsi
pop rbp
ret