Function at 0x140020190
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 [0x140091010]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rsi, qword [0x140091d30]
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 0x140020330
call fcn.14001ff00
mov ecx, r12d
mov edx, r12d
mov qword [rbp - 0x11], rcx
mov dword [rbp - 9], edx
cmp dword [rdi + 0x28], r12d
jle 0x140020218
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 0x140020235
test rax, rax
jne 0x140020275
mov r8, qword [rdi + 0x18]
test r8, r8
je 0x140020255
lea rdx, [rbp - 0x19]
mov rcx, r8
call fcn.14001fe90
mov edx, dword [rbp - 9]
mov rcx, qword [rbp - 0x11]
mov rax, qword [rbp - 0x19]
mov r8, qword [rdi + 0x20]
test r8, r8
je 0x140020275
lea rdx, [rbp - 0x19]
mov rcx, r8
call fcn.14001fe90
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 0x1400202a7
test rcx, rcx
je 0x140020329
mov eax, dword [rcx]
mov dword [rdi + 0xa4], eax
test rcx, rcx
je 0x140020329
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 0x140020329
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 0x14002030a
inc r8d
inc rdx
add rcx, 8
cmp rdx, r9
jl 0x1400202f0
jmp 0x140020329
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 [0x140091d30]
cmp qword [rdi + 0x38], r12
je 0x14002034f
mov eax, dword [rdi + 8]
shr eax, 0xc
test al, 1
je 0x14002034f
mov rcx, rdi
call fcn.140022140
mov rsi, qword [0x140091d30]
mov r8d, dword [rdi + 0x28]
mov qword [rsp + 0xf8], rbx
mov qword [rsp + 0x108], r14
cmp r8d, 1
jg 0x140020524
cmp qword [rdi + 0x10], r12
jne 0x140020524
test dword [rdi + 8], 0x400
jne 0x140020524
cmp qword [rdi + 0x18], r12
jne 0x140020524
cmp byte [r15 + 0xca], r12b
jne 0x140020524
lea r14, [rdi + 0x30]
test r8d, r8d
je 0x14002044e
mov rax, qword [r14]
mov rcx, qword [rax]
cmp byte [rcx + 0x2c], r12b
jne 0x140020524
cmp r8d, 1
jne 0x14002044e
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 0x140020418
cmp qword [r15 + 0x1d70], rax
jne 0x140020418
call fcn.140014bf0
mov rsi, qword [0x140091d30]
mov rax, qword [rdi + 0x78]
test rax, rax
je 0x14002044e
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 0x14002044e
mov qword [rdx + 0x98], rbx
mov byte [rbx + 0xbe], 1
mov rax, qword [rdi + 0x78]
test rax, rax
je 0x14002046b
cmp qword [rax + 0x450], rdi
jne 0x140020467
mov qword [rax + 0x450], r12
mov qword [rdi + 0x78], r12
cmp dword [rdi + 0x28], 1
jne 0x140020488
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 0x14002049d
mov rcx, rdi
call fcn.140022140
mov rsi, qword [0x140091d30]
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 0x140020ebb
cmp dword [rdi + 0x28], 1
jne 0x140020ebb
mov rax, qword [r14]
mov rbx, qword [rax]
mov rcx, rbx
call fcn.140009fd0
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 0x140020ebb
test byte [rdi + 0xb4], 1
je 0x1400205aa
cmp qword [rdi + 0x78], r12
jne 0x1400205aa
cmp qword [rdi + 0x10], r12
jne 0x1400205aa
test dword [rdi + 8], 0x400
jne 0x1400205aa
cmp qword [rdi + 0x18], r12
jne 0x1400205aa
mov r9d, dword [rdi + 0xa8]
test r9d, r9d
je 0x140020585
mov ecx, r12d
test r8d, r8d
jle 0x140020585
mov r10, qword [rdi + 0x30]
mov rdx, r10
mov rax, qword [rdx]
cmp dword [rax + 8], r9d
je 0x140020579
inc ecx
add rdx, 8
cmp ecx, r8d
jl 0x140020563
jmp 0x140020585
movsxd rax, ecx
mov rcx, qword [r10 + rax*8]
test rcx, rcx
jne 0x14002058c
mov rax, qword [rdi + 0x30]
mov rcx, qword [rax]
cmp byte [rcx + 0xd4], r12b
jg 0x14002059e
cmp byte [rcx + 0xd5], r12b
jle 0x1400205aa
mov dword [rdi + 0xc], 2
jmp 0x140020ebb
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 0x140020605
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 0x140020985
test r8d, r8d
jle 0x14002061c
bt r14d, 0xf
jb 0x14002061c
and dl, 0xef
or dl, 4
movzx eax, dl
jmp 0x140020627
and dl, 0xeb
movzx eax, dl
test r8d, r8d
jle 0x14002063b
bt r14d, 0xe
jb 0x14002063b
or al, 8
mov r9d, r12d
mov byte [rdi + 0xb4], al
jmp 0x14002064c
and dl, 0xf7
mov r9d, r12d
mov byte [rdi + 0xb4], dl
test r8d, r8d
jle 0x1400206a1
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 0x140020650
mov rax, qword [rdi + 0x10]
test rax, rax
jne 0x140020916
test dl, 1
je 0x140020928
cmp dword [rdi + 0x28], ebx
jle 0x1400206c5
mov rax, qword [rdi + 0x30]
mov rcx, qword [rax]
jmp 0x1400206c8
mov rcx, r12
mov eax, dword [rdi + 0xb0]
shl eax, 0x1d
sar eax, 0x1d
cmp eax, 2
jne 0x1400206ec
test rcx, rcx
je 0x14002071c
or dword [rsi + 0x1c40], 1
movsd xmm0, qword [rcx + 0x48]
jmp 0x1400206fc
cmp eax, 1
jne 0x14002071c
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 0x14002073f
test rcx, rcx
je 0x140020762
or dword [rsi + 0x1c40], eax
movsd xmm0, qword [rcx + 0x58]
jmp 0x140020750
cmp eax, 1
jne 0x140020762
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 0x140020791
test rcx, rcx
je 0x140020791
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 0x1400207bb
test rcx, rcx
je 0x1400207bb
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.140006aa0
mov rbx, qword [0x140091d30]
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.140026cc0
xor edx, edx
mov qword [rbx + 0x1644], r12
mov r8d, 0x20081139
lea rcx, [rbp - 1]
call fcn.1400116f0
mov rsi, qword [0x140091d30]
lea r9, [0x140061170]
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 0x1400208b8
mov eax, dword [r9 + rax*4 + 4]
cmp eax, 1
jne 0x14002089b
mov eax, dword [rdx + rcx*4 - 8]
mov dword [r8 + rsi + 0x1640], eax
jmp 0x1400208b8
cmp eax, 2
jne 0x1400208b8
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 0x14002091e
call fcn.140014b40
jmp 0x14002091e
mov rbx, qword [rax + 0x78]
mov qword [rdi + 0x78], rbx
and dword [rdi + 0xb0], 0xfffffe00
cmp byte [rdi + 0xb4], r12b
jge 0x140020985
mov r15, qword [rdi + 0x78]
test r15, r15
je 0x140020981
mov rcx, r15
call fcn.140009fd0
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 [0x140091d30]
mov r15, qword [rbp - 0x39]
cmp qword [rdi + 0x10], r12
jne 0x140020a04
mov rax, qword [r15 + 0x1d70]
test rax, rax
je 0x1400209bb
mov rcx, qword [rax + 0x3f0]
mov rax, qword [rcx + 0x448]
test rax, rax
je 0x1400209bb
cmp qword [rcx + 0x3e0], rbx
jne 0x1400209bb
mov eax, dword [rax]
mov dword [rdi + 0xa4], eax
test rbx, rbx
je 0x140020a04
mov r15d, r14d
and r15d, 8
je 0x140020a04
mov rdx, qword [rbx + 0x318]
mov byte [rbp - 0x59], 1
lea rcx, [rdx + 0xa8]
call fcn.1400329b0
mov rdx, qword [rbx + 0x318]
mov r8d, 1
lea rcx, [rdx + 0xa8]
call fcn.140032f20
mov rsi, qword [0x140091d30]
mov cl, 1
jmp 0x140020a10
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 0x140020bb1
test rbx, rbx
je 0x140020bb1
test r15d, r15d
je 0x140020bb1
test r12, r12
je 0x140020bb1
cmp qword [r12 + 0x18], 0
jne 0x140020bb1
cmp dword [r12 + 0x28], 0
jne 0x140020bb1
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 0x140020ad7
cmp dword [rax + 0x14], 0xffffffff
je 0x140020ad0
lea rdx, [rax + 0x18]
lea rcx, str._IMWINDOW
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x140020ac9
mov rdx, qword [rbp - 0x29]
mov rcx, rbx
movzx r14d, byte [rbp - 0x59]
mov rdx, qword [rdx]
mov rdx, qword [rdx]
call fcn.1400221d0
test al, al
je 0x140020ad7
mov rax, qword [rdi + 0x10]
jmp 0x140020bc5
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 [0x140086b04]
movaps xmm1, xmm2
addss xmm1, dword [r12 + 0x4c]
subss xmm2, dword [0x140086b04]
subss xmm4, dword [0x1400869dc]
subss xmm1, dword [0x1400869dc]
comiss xmm3, xmm4
ja 0x140020ac0
comiss xmm2, xmm1
ja 0x140020ac0
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 0x140020bc5
mov rax, qword [rdi + 0x10]
xor r13b, r13b
movzx r14d, cl
test rbx, rbx
je 0x140020c9f
movzx ecx, r13b
movzx edx, r14b
mov byte [rbp - 0x58], cl
mov byte [rbp - 0x59], dl
test rax, rax
jne 0x140020c02
mov r8, qword [rbx + 0x50]
xor r9d, r9d
mov rdx, qword [rbx + 0x48]
mov rcx, rdi
call fcn.140023c30
mov rcx, rdi
call fcn.140024060
mov rsi, qword [0x140091d30]
movzx ecx, r13b
movzx edx, r14b
cmp qword [rdi + 0x18], 0
jne 0x140020c9f
cmp dword [rdi + 0x28], 0
jne 0x140020c9f
test byte [rdi + 0xb4], 1
movzx r14d, dl
movzx r13d, cl
je 0x140020c9f
test r15d, r15d
jne 0x140020c9f
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.140006ff0
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.140032060
movzx r14d, byte [rbp - 0x59]
movzx r13d, byte [rbp - 0x58]
test r14b, r14b
je 0x140020dc9
test byte [rdi + 0xb4], 1
je 0x140020dc9
mov rdx, qword [rbx + 0x318]
xor r8d, r8d
lea rcx, [rdx + 0xa8]
call fcn.140032f20
mov rax, qword [0x140091d30]
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 0x140020d73
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.140006ff0
mov rcx, qword [rbx + 0x318]
lea rdx, [rbp - 0x49]
mov r9d, eax
movss dword [rsp + 0x20], xmm6
lea r8, [rbp - 0x29]
call fcn.1400374b0
jmp 0x140020db6
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.140006ff0
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.140032060
mov rdx, qword [rbx + 0x318]
lea rcx, [rdx + 0xa8]
call fcn.140032b70
movaps xmm6, xmmword [rsp + 0xb0]
mov r13, qword [rsp + 0x100]
test rbx, rbx
je 0x140020df1
cmp dword [rdi + 0x28], 0
jle 0x140020df1
mov rdx, rbx
mov rcx, rdi
call fcn.140021170
jmp 0x140020e0a
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 0x140020e1a
mov eax, dword [rax + 0x18]
test eax, eax
jne 0x140020e2a
cmp dword [rdi + 0x28], 0
jle 0x140020e30
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 0x140020e74
test byte [rdi + 0xb4], 1
je 0x140020e74
cmp qword [rdi + 0x10], 0
jne 0x140020e74
mov rax, qword [rsi + 0x1bb8]
test rax, rax
je 0x140020e5e
cmp qword [rax + 0x3e8], rbx
je 0x140020e74
mov rcx, rbx
call fcn.140025340
mov eax, dword [rsi + 0x1b18]
mov dword [rdi + 0x9c], eax
jmp 0x140020e85
mov eax, dword [rsi + 0x1b18]
mov dword [rdi + 0x9c], eax
test rbx, rbx
je 0x140020eb0
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x140020e93
call fcn.140020190
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x140020ea1
call fcn.140020190
cmp qword [rdi + 0x10], 0
jne 0x140020eb0
mov rcx, rbx
call fcn.140010340
cmp byte [rbp - 0x57], 0
je 0x140020ebb
call fcn.1400148a0
mov r14, qword [rsp + 0x108]
mov rbx, qword [rsp + 0xf8]
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.14005d0d0
add rsp, 0xc0
pop r15
pop r12
pop rdi
pop rsi
pop rbp
ret