Function at 0x140020b00
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push rdi
push r12
push r14
lea rbp, [rsp - 0x37]
sub rsp, 0xe0
mov rax, qword [0x140067010]
xor rax, rsp
mov qword [rbp - 9], rax
mov rsi, qword [0x1400694a0]
xor r12d, r12d
mov rdi, rcx
mov qword [rbp - 0x59], rsi
mov r14, rsi
mov eax, dword [rsi + 0x1c90]
and byte [rcx + 0xbd], 0xfd
mov dword [rcx + 0xa0], eax
mov qword [rcx + 0x98], r12
mov qword [rcx + 0x90], r12
cmp qword [rcx + 0x10], r12
jne 0x140020c88
call fcn.1400208c0
mov edx, r12d
mov ecx, r12d
mov qword [rbp - 0x31], rdx
mov dword [rbp - 0x29], ecx
cmp dword [rdi + 0x28], r12d
jle 0x140020b88
mov rdx, rdi
mov ecx, 1
mov qword [rbp - 0x31], rdx
mov dword [rbp - 0x29], ecx
mov eax, dword [rdi + 8]
shr eax, 0xb
test al, 1
mov rax, r12
cmovne rax, rdi
mov qword [rbp - 0x39], rax
cmp ecx, 1
jle 0x140020ba5
test rax, rax
jne 0x140020be5
mov r8, qword [rdi + 0x18]
test r8, r8
je 0x140020bc5
lea rdx, [rbp - 0x39]
mov rcx, r8
call fcn.140020850
mov ecx, dword [rbp - 0x29]
mov rdx, qword [rbp - 0x31]
mov rax, qword [rbp - 0x39]
mov r8, qword [rdi + 0x20]
test r8, r8
je 0x140020be5
lea rdx, [rbp - 0x39]
mov rcx, r8
call fcn.140020850
mov ecx, dword [rbp - 0x29]
mov rdx, qword [rbp - 0x31]
mov rax, qword [rbp - 0x39]
mov qword [rdi + 0x90], rax
cmp ecx, 1
mov rax, r12
cmove rax, rdx
mov qword [rdi + 0x98], rax
cmp dword [rdi + 0xac], r12d
jne 0x140020c13
test rdx, rdx
je 0x140020c81
mov eax, dword [rdx]
mov dword [rdi + 0xac], eax
test rdx, rdx
je 0x140020c81
mov rax, qword [rdx + 0x30]
mov r8d, 1
mov rcx, qword [rax]
movups xmm0, xmmword [rcx + 0x14]
movups xmmword [rdi + 0x5c], xmm0
movups xmm1, xmmword [rcx + 0x24]
movups xmmword [rdi + 0x6c], xmm1
movsxd rax, dword [rdx + 0x28]
cmp eax, r8d
jle 0x140020c81
mov r10, qword [rdx + 0x30]
mov r9, rax
mov edx, r8d
lea rcx, [r10 + 8]
nop dword [rax]
mov rax, qword [rcx]
cmp byte [rax + 0x31], r12b
je 0x140020c6a
inc r8d
inc rdx
add rcx, 8
cmp rdx, r9
jl 0x140020c50
jmp 0x140020c81
movsxd rax, r8d
mov rcx, qword [r10 + rax*8]
movups xmm0, xmmword [rcx + 0x14]
movups xmmword [rdi + 0x5c], xmm0
movups xmm1, xmmword [rcx + 0x24]
movups xmmword [rdi + 0x6c], xmm1
mov rsi, qword [0x1400694a0]
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x140020cab
mov eax, dword [rdi + 8]
shr eax, 0xc
test al, 1
je 0x140020cab
call fcn.140027ed0
mov rsi, qword [0x1400694a0]
mov qword [rdi + 0x38], r12
mov r9d, dword [rdi + 0x28]
mov qword [rsp + 0x118], rbx
cmp r9d, 1
jg 0x140020e98
cmp qword [rdi + 0x10], r12
jne 0x140020e98
test dword [rdi + 8], 0x400
jne 0x140020e98
cmp qword [rdi + 0x18], r12
jne 0x140020e98
cmp byte [r14 + 0xc9], r12b
jne 0x140020e98
test r9d, r9d
je 0x140020db1
mov rax, qword [rdi + 0x30]
mov rcx, qword [rax]
cmp byte [rcx + 0x30], r12b
jne 0x140020e98
cmp r9d, 1
jne 0x140020db1
mov rbx, qword [rax]
mov eax, dword [rdi + 0xb8]
mov rcx, qword [rdi + 0x80]
and eax, 0xfffffebf
bts eax, 7
movsd xmm0, qword [rbx + 0x50]
and eax, 0xffffffd7
or eax, 0x10
movsd qword [rdi + 0x40], xmm0
movsd xmm1, qword [rbx + 0x60]
and eax, 0xfffffffa
or eax, 2
movsd qword [rdi + 0x48], xmm1
mov dword [rdi + 0xb8], eax
mov rax, rcx
test rcx, rcx
je 0x140020d79
cmp qword [r14 + 0x1f50], rcx
jne 0x140020d7e
mov rcx, rbx
call fcn.140015740
mov rax, qword [rdi + 0x80]
mov rsi, qword [0x1400694a0]
test rax, rax
je 0x140020db1
mov rdx, qword [rax + 0x38]
mov qword [rbx + 0x38], rdx
mov rax, qword [rdi + 0x80]
mov ecx, dword [rax + 0x40]
mov dword [rbx + 0x40], ecx
mov rax, qword [rdi + 0x80]
cmp byte [rax + 0xce], r12b
je 0x140020db1
mov qword [rdx + 0x88], rbx
mov byte [rbx + 0xce], 1
mov rax, qword [rdi + 0x80]
test rax, rax
je 0x140020dd4
cmp qword [rax + 0x450], rdi
jne 0x140020dcd
mov qword [rax + 0x450], r12
mov qword [rdi + 0x80], r12
cmp dword [rdi + 0x28], 1
jne 0x140020df2
mov rcx, qword [rdi + 0x30]
mov rax, qword [rcx]
mov qword [rdi + 0x88], rax
mov rax, qword [rcx]
and byte [rax + 0x429], 0xfe
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x140020e0b
call fcn.140027ed0
mov rsi, qword [0x1400694a0]
mov qword [rdi + 0x38], r12
movzx ecx, byte [rdi + 0xbc]
and cl, 0xef
mov dword [rdi + 0xc], 1
and cl, 0xf3
mov dword [rdi + 0xb4], r12d
mov byte [rdi + 0xbc], cl
mov eax, dword [r14 + 0x1c90]
mov dword [rdi + 0xa4], eax
test cl, 0x40
je 0x14002181e
cmp dword [rdi + 0x28], 1
jne 0x14002181e
mov rax, qword [rdi + 0x30]
mov rbx, qword [rax]
mov rcx, rbx
call fcn.14000a4c0
movss xmm1, dword [rsi + 0x3c8]
movss xmm0, dword [rsi + 0x3cc]
subss xmm1, dword [rdi + 0x40]
subss xmm0, dword [rdi + 0x44]
mov qword [rsi + 0x1d38], rbx
movss dword [rsi + 0x1d90], xmm1
movss dword [rsi + 0x1d94], xmm0
and byte [rdi + 0xbc], 0xbf
jmp 0x14002181e
movzx r8d, byte [rdi + 0xbc]
test r8b, 1
je 0x140020f2a
cmp qword [rdi + 0x80], r12
jne 0x140020f2a
cmp qword [rdi + 0x10], r12
jne 0x140020f2a
test dword [rdi + 8], 0x400
jne 0x140020f2a
cmp qword [rdi + 0x18], r12
jne 0x140020f2a
mov r10d, dword [rdi + 0xb0]
test r10d, r10d
je 0x140020f05
mov ecx, r12d
test r9d, r9d
jle 0x140020f05
mov r11, qword [rdi + 0x30]
mov rdx, r11
mov rax, qword [rdx]
cmp dword [rax + 8], r10d
je 0x140020ef9
inc ecx
add rdx, 8
cmp ecx, r9d
jl 0x140020ee3
jmp 0x140020f05
movsxd rax, ecx
mov rcx, qword [r11 + rax*8]
test rcx, rcx
jne 0x140020f0c
mov rax, qword [rdi + 0x30]
mov rcx, qword [rax]
cmp byte [rcx + 0xe8], r12b
jg 0x140020f1e
cmp byte [rcx + 0xe9], r12b
jle 0x140020f2a
mov dword [rdi + 0xc], 2
jmp 0x14002181e
mov eax, dword [rdi + 8]
mov qword [rsp + 0x128], r15
mov r15d, eax
or r15d, dword [rdi + 4]
movaps xmmword [rsp + 0xb0], xmm9
test r9d, r9d
jle 0x140020f62
bt r15d, 0xe
jb 0x140020f62
and r8b, 0xfb
or r8b, 8
mov byte [rdi + 0xbc], r8b
jmp 0x140020f72
and r8b, 0xf3
mov byte [rdi + 0xbc], r8b
test r9d, r9d
jle 0x140020fd1
mov r8, r12
mov r9d, r12d
nop dword [rax + rax]
mov rax, qword [rdi + 0x30]
lea r8, [r8 + 8]
mov rdx, qword [r8 + rax - 8]
movzx eax, byte [rdi + 0xbc]
movzx ecx, byte [rdx + 0xd8]
shl cl, 2
or cl, al
xor cl, al
and cl, 4
xor cl, al
cmp dword [rdi + 0x28], 1
mov byte [rdi + 0xbc], cl
movzx eax, byte [rdx + 0x429]
setg cl
and al, 0xfe
inc r9d
or cl, al
mov byte [rdx + 0x429], cl
cmp r9d, dword [rdi + 0x28]
jl 0x140020f80
mov eax, dword [rdi + 8]
bt r15d, 0xf
jae 0x140020fdf
and byte [rdi + 0xbc], 0xfb
shr eax, 0xa
mov rbx, r12
mov byte [rbp - 0x78], bl
test al, 1
je 0x140020ff8
mov rbx, qword [rdi + 0x80]
jmp 0x1400212d6
mov rax, qword [rdi + 0x10]
test rax, rax
jne 0x14002125e
test byte [rdi + 0xbc], 1
je 0x140021276
cmp dword [rdi + 0x28], ebx
jle 0x140021020
mov rax, qword [rdi + 0x30]
mov rcx, qword [rax]
jmp 0x140021023
mov rcx, r12
mov eax, dword [rdi + 0xb8]
shl eax, 0x1d
sar eax, 0x1d
cmp eax, 2
jne 0x140021047
test rcx, rcx
je 0x140021077
or dword [rsi + 0x1dc0], 1
movsd xmm0, qword [rcx + 0x50]
jmp 0x140021057
cmp eax, 1
jne 0x140021077
or dword [rsi + 0x1dc0], eax
movsd xmm0, qword [rdi + 0x40]
mov byte [rsi + 0x1dfc], 1
mov dword [rsi + 0x1dc4], 1
mov qword [rsi + 0x1ddc], r12
movsd qword [rsi + 0x1dd4], xmm0
mov eax, dword [rdi + 0xb8]
shl eax, 0x1a
sar eax, 0x1d
cmp eax, 2
jne 0x14002109a
test rcx, rcx
je 0x1400210bd
or dword [rsi + 0x1dc0], eax
movsd xmm0, qword [rcx + 0x60]
jmp 0x1400210ab
cmp eax, 1
jne 0x1400210bd
or dword [rsi + 0x1dc0], 2
movsd xmm0, qword [rdi + 0x48]
mov dword [rsi + 0x1dc8], 1
movsd qword [rsi + 0x1de4], xmm0
mov edx, dword [rdi + 0xb8]
mov eax, edx
and al, 0x38
cmp al, 0x10
jne 0x1400210f4
test rcx, rcx
je 0x1400210f4
movzx eax, byte [rcx + 0xd2]
or dword [rsi + 0x1dc0], 8
mov byte [rsi + 0x1dfd], al
mov dword [rsi + 0x1dcc], 1
mov edx, dword [rdi + 0xb8]
and edx, 0x1c0
cmp edx, 0x80
jne 0x14002111a
test rcx, rcx
je 0x14002111a
mov eax, dword [rcx + 0x40]
or dword [rsi + 0x1dc0], 0x100
mov dword [rsi + 0x1e24], eax
or dword [rsi + 0x1dc0], 0x400
lea r8, str.DockNode__02X
movups xmm0, xmmword [rdi + 0x5c]
mov edx, 0x14
lea rcx, [rbp - 0x21]
movups xmmword [rsi + 0x1e2c], xmm0
movups xmm1, xmmword [rdi + 0x6c]
movups xmmword [rsi + 0x1e3c], xmm1
mov r9d, dword [rdi]
call fcn.1400076d0
mov rbx, qword [0x1400694a0]
lea rdx, [rbp - 0x69]
mov dword [rbp - 0x69], 1
movss xmm1, dword [rbx + 0x163c]
lea rcx, [rbx + 0x1e80]
movss xmm0, dword [rbx + 0x1640]
movss dword [rbp - 0x65], xmm1
movss dword [rbp - 0x61], xmm0
call fcn.140027550
xor edx, edx
mov qword [rbx + 0x163c], r12
mov r8d, 0x20081139
lea rcx, [rbp - 0x21]
call fcn.140012690
mov rsi, qword [0x1400694a0]
movsxd rax, dword [rsi + 0x1e80]
mov rdx, qword [rsi + 0x1e88]
lea rcx, [rax + rax*2]
movsxd rax, dword [rdx + rcx*4 - 0xc]
lea r9, [rax + rax*2]
lea rax, [0x1400570e0]
cmp dword [rax + r9*4], 8
mov r8d, dword [rax + r9*4 + 8]
jne 0x14002120c
mov eax, dword [rax + r9*4 + 4]
cmp eax, 1
jne 0x1400211ef
mov eax, dword [rdx + rcx*4 - 8]
mov dword [r8 + rsi + 0x1638], eax
jmp 0x14002120c
cmp eax, 2
jne 0x14002120c
mov eax, dword [rdx + rcx*4 - 8]
mov dword [r8 + rsi + 0x1638], eax
mov eax, dword [rdx + rcx*4 - 4]
mov dword [r8 + rsi + 0x163c], eax
dec dword [rsi + 0x1e80]
mov rbx, qword [r14 + 0x1d18]
mov qword [rdi + 0x80], rbx
mov byte [rbp - 0x78], 1
movsd xmm0, qword [rbx + 0x50]
movsd qword [rbx + 0x118], xmm0
mov qword [rbx + 0x450], rdi
mov rcx, qword [rdi + 0x80]
movsd qword [rdi + 0x40], xmm0
movsd xmm0, qword [rbx + 0x58]
movsd qword [rdi + 0x48], xmm0
cmp byte [rcx + 0xd5], r12b
je 0x14002126c
call fcn.140015690
jmp 0x14002126c
mov rbx, qword [rax + 0x80]
mov qword [rdi + 0x80], rbx
and dword [rdi + 0xb8], 0xfffffe00
test byte [rdi + 0xbc], 0x40
je 0x1400212d6
mov r14, qword [rdi + 0x80]
test r14, r14
je 0x1400212d2
mov rcx, r14
call fcn.14000a4c0
movss xmm1, dword [rsi + 0x3c8]
movss xmm0, dword [rsi + 0x3cc]
subss xmm1, dword [rdi + 0x40]
subss xmm0, dword [rdi + 0x44]
mov qword [rsi + 0x1d38], r14
movss dword [rsi + 0x1d90], xmm1
movss dword [rsi + 0x1d94], xmm0
and byte [rdi + 0xbc], 0xbf
mov rsi, qword [0x1400694a0]
mov r14, qword [rbp - 0x59]
mov rcx, qword [rdi + 0x10]
test rcx, rcx
jne 0x14002135a
mov rax, qword [r14 + 0x1f50]
test rax, rax
je 0x14002130f
mov rdx, qword [rax + 0x3d0]
mov rax, qword [rdx + 0x448]
test rax, rax
je 0x14002130f
cmp qword [rdx + 0x3c8], rbx
jne 0x14002130f
mov eax, dword [rax]
mov dword [rdi + 0xac], eax
test rbx, rbx
je 0x14002135a
mov r12d, r15d
and r12d, 8
je 0x14002135a
mov rcx, qword [rbx + 0x2f8]
add rcx, 0xa8
mov byte [rbp - 0x79], 1
call fcn.140032b70
mov rdx, qword [rbx + 0x2f8]
mov r8d, 1
lea rcx, [rdx + 0xa8]
call fcn.140033030
mov rcx, qword [rdi + 0x10]
mov rsi, qword [0x1400694a0]
jmp 0x140021365
mov r12d, r15d
mov byte [rbp - 0x79], 0
and r12d, 8
mov r14, qword [rdi + 0x90]
xorps xmm9, xmm9
mov qword [rsp + 0x120], r13
test rcx, rcx
jne 0x14002153e
test rbx, rbx
je 0x14002153e
test r12d, r12d
je 0x14002153e
test r14, r14
je 0x14002153e
cmp qword [r14 + 0x18], rcx
jne 0x14002153e
cmp dword [r14 + 0x28], ecx
jne 0x14002153e
cmp byte [rsi + 0x20d4], cl
lea r15, [rsi + 0x20e8]
mov r13b, 1
mov rax, rcx
cmove r15, rcx
test r15, r15
je 0x1400213fd
cmp dword [r15 + 0x14], 0xffffffff
je 0x1400213fd
lea rdx, [r15 + 0x18]
lea rcx, str._IMWINDOW
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x1400213fd
mov rdx, qword [r15]
mov rcx, rbx
mov rdx, qword [rdx]
call fcn.140022a70
test al, al
jne 0x140021541
mov rax, qword [r14 + 0x10]
mov rcx, r14
movaps xmmword [rsp + 0xd0], xmm6
movaps xmmword [rsp + 0xc0], xmm7
test rax, rax
je 0x14002142c
nop dword [rax]
mov rcx, rax
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140021420
movss xmm0, dword [rcx + 0x40]
movss xmm4, dword [r14 + 0x40]
movaps xmm6, xmm0
comiss xmm4, xmm0
movss xmm3, dword [r14 + 0x44]
movaps xmm2, xmm4
movss xmm7, dword [rcx + 0x44]
movaps xmm1, xmm3
addss xmm6, dword [rcx + 0x48]
addss xmm2, dword [r14 + 0x48]
addss xmm1, dword [r14 + 0x4c]
addss xmm7, dword [rcx + 0x4c]
movss xmm5, dword [0x14005b958]
jbe 0x140021472
addss xmm4, xmm5
comiss xmm6, xmm2
movaps xmm6, xmmword [rsp + 0xd0]
jbe 0x140021483
subss xmm2, xmm5
comiss xmm3, dword [rcx + 0x44]
jbe 0x14002148d
addss xmm3, xmm5
comiss xmm7, xmm1
movaps xmm7, xmmword [rsp + 0xc0]
jbe 0x14002149e
subss xmm1, xmm5
comiss xmm4, xmm2
ja 0x140021538
comiss xmm3, xmm1
ja 0x140021538
mov rcx, qword [rbx + 0x3c8]
subss xmm1, xmm3
subss xmm2, xmm4
movaps xmm0, xmm4
cvttss2si edx, xmm1
cvttss2si r8d, xmm2
mov word [rbp - 0x67], dx
movaps xmm1, xmm3
mov word [rbp - 0x69], r8w
mov eax, dword [rbp - 0x69]
mov dword [rbx + 0x2b0], eax
subss xmm0, dword [rbx + 0x50]
subss xmm1, dword [rbx + 0x54]
cvttss2si eax, xmm0
mov word [rbp - 0x69], ax
cvttss2si eax, xmm1
mov word [rbp - 0x67], ax
mov eax, dword [rbp - 0x69]
mov dword [rbx + 0x2b4], eax
mov word [rbp - 0x69], r8w
mov word [rbp - 0x67], dx
mov eax, dword [rbp - 0x69]
mov dword [rcx + 0x2b0], eax
subss xmm4, dword [rcx + 0x50]
subss xmm3, dword [rcx + 0x54]
cvttss2si eax, xmm4
mov word [rbp - 0x69], ax
cvttss2si eax, xmm3
mov word [rbp - 0x67], ax
mov eax, dword [rbp - 0x69]
mov dword [rcx + 0x2b4], eax
mov rax, qword [rdi + 0x10]
jmp 0x14002154e
xor r13b, r13b
mov rax, qword [rdi + 0x10]
test rbx, rbx
je 0x1400215f9
test rax, rax
jne 0x140021575
mov r8, qword [rbx + 0x58]
xor r9d, r9d
mov rdx, qword [rbx + 0x50]
mov rcx, rdi
call fcn.140024480
mov rcx, rdi
call fcn.140024840
mov rsi, qword [0x1400694a0]
cmp qword [rdi + 0x18], 0
jne 0x1400215f9
cmp dword [rdi + 0x28], 0
jne 0x1400215f9
test byte [rdi + 0xbc], 1
je 0x1400215f9
test r12d, r12d
jne 0x1400215f9
movups xmm0, xmmword [rsi + 0x196c]
lea rcx, [rbp - 0x49]
movss xmm1, dword [rdi + 0x4c]
addss xmm1, dword [rdi + 0x44]
movups xmmword [rbp - 0x49], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rsi + 0x1638]
movss dword [rbp - 0x65], xmm1
movss dword [rbp - 0x3d], xmm0
movss xmm0, dword [rdi + 0x40]
addss xmm0, dword [rdi + 0x48]
movss dword [rbp - 0x69], xmm0
call fcn.140007cc0
mov rcx, qword [rbx + 0x2f8]
lea r8, [rbp - 0x69]
xor esi, esi
lea rdx, [rdi + 0x40]
mov dword [rsp + 0x28], esi
mov r9d, eax
movss dword [rsp + 0x20], xmm9
call fcn.1400324c0
jmp 0x1400215fb
xor esi, esi
cmp byte [rbp - 0x79], 0
mov r15, qword [rsp + 0x128]
je 0x14002172d
test byte [rdi + 0xbc], 1
je 0x14002172d
mov rdx, qword [rbx + 0x2f8]
xor r8d, r8d
lea rcx, [rdx + 0xa8]
call fcn.140033030
mov rax, qword [0x1400694a0]
lea rcx, [rbp - 0x39]
movups xmm0, xmmword [rax + 0x171c]
movups xmmword [rbp - 0x39], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x1638]
movss dword [rbp - 0x2d], xmm0
test r13b, r13b
je 0x1400216d5
movss xmm1, dword [r14 + 0x40]
movss xmm2, dword [r14 + 0x44]
movss xmm0, dword [rdi + 0x40]
movss xmm3, dword [rdi + 0x44]
movss dword [rbp - 0x69], xmm1
addss xmm1, dword [r14 + 0x48]
movss dword [rbp - 0x65], xmm2
addss xmm2, dword [r14 + 0x4c]
movss dword [rbp - 0x49], xmm0
addss xmm0, dword [rdi + 0x48]
movss dword [rbp - 0x45], xmm3
addss xmm3, dword [rdi + 0x4c]
movss dword [rbp - 0x61], xmm1
movss dword [rbp - 0x5d], xmm2
movss dword [rbp - 0x41], xmm0
movss dword [rbp - 0x3d], xmm3
call fcn.140007cc0
mov rcx, qword [rbx + 0x2f8]
lea rdx, [rbp - 0x49]
mov r9d, eax
movss dword [rsp + 0x20], xmm9
lea r8, [rbp - 0x69]
call fcn.1400373a0
jmp 0x14002171a
movss xmm0, dword [rdi + 0x48]
movss xmm1, dword [rdi + 0x4c]
addss xmm0, dword [rdi + 0x40]
addss xmm1, dword [rdi + 0x44]
movss dword [rbp - 0x69], xmm0
movss dword [rbp - 0x65], xmm1
call fcn.140007cc0
mov rcx, qword [rbx + 0x2f8]
lea rdx, [rdi + 0x40]
mov r9d, eax
mov dword [rsp + 0x28], esi
lea r8, [rbp - 0x69]
movss dword [rsp + 0x20], xmm9
call fcn.1400324c0
mov rdx, qword [rbx + 0x2f8]
lea rcx, [rdx + 0xa8]
call fcn.140032c80
movaps xmm9, xmmword [rsp + 0xb0]
mov r13, qword [rsp + 0x120]
test rbx, rbx
je 0x140021756
cmp dword [rdi + 0x28], 0
jle 0x140021756
mov rdx, rbx
mov rcx, rdi
call fcn.140021a70
jmp 0x14002176d
movzx eax, byte [rdi + 0xbc]
and al, 0xef
mov dword [rdi + 0xb4], esi
and al, 0xfd
mov byte [rdi + 0xbc], al
mov rax, qword [rdi + 0x38]
test rax, rax
je 0x14002177d
mov eax, dword [rax + 0x18]
test eax, eax
jne 0x14002178d
cmp dword [rdi + 0x28], 0
jle 0x140021793
mov rax, qword [rdi + 0x30]
mov rcx, qword [rax]
mov eax, dword [rcx + 8]
mov dword [rdi + 0xb0], eax
mov rsi, qword [rbp - 0x59]
test rbx, rbx
je 0x1400217d7
test byte [rdi + 0xbc], 1
je 0x1400217d7
cmp qword [rdi + 0x10], 0
jne 0x1400217d7
mov rax, qword [rsi + 0x1d38]
test rax, rax
je 0x1400217c1
cmp qword [rax + 0x3d8], rbx
je 0x1400217d7
mov rcx, rbx
call fcn.140025900
mov eax, dword [rsi + 0x1c90]
mov dword [rdi + 0xa4], eax
jmp 0x1400217e8
mov eax, dword [rsi + 0x1c90]
mov dword [rdi + 0xa4], eax
test rbx, rbx
je 0x140021813
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x1400217f6
call fcn.140020b00
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x140021804
call fcn.140020b00
cmp qword [rdi + 0x10], 0
jne 0x140021813
mov rcx, rbx
call fcn.140011170
cmp byte [rbp - 0x78], 0
je 0x14002181e
call fcn.140015520
mov rbx, qword [rsp + 0x118]
mov rcx, qword [rbp - 9]
xor rcx, rsp
call fcn.140052570
add rsp, 0xe0
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret