Function at 0x1400215b0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xc0
mov rax, qword [0x140159080]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rsi, qword [0x140a0f4b8]
xor r15d, r15d
mov rdi, rcx
mov qword [rbp - 0x39], rsi
mov r14, rsi
mov eax, dword [rsi + 0x1b18]
and byte [rcx + 0xb5], 0xfb
mov dword [rcx + 0x98], eax
mov qword [rcx + 0x90], r15
mov qword [rcx + 0x88], r15
cmp qword [rcx + 0x10], r15
jne 0x140021750
call fcn.140021370
mov edx, r15d
mov ecx, r15d
mov qword [rbp - 0x11], rdx
mov dword [rbp - 9], ecx
cmp dword [rdi + 0x28], r15d
jle 0x140021638
mov rdx, rdi
mov ecx, 1
mov qword [rbp - 0x11], rdx
mov dword [rbp - 9], ecx
mov eax, dword [rdi + 8]
shr eax, 0xb
test al, 1
mov rax, r15
cmovne rax, rdi
mov qword [rbp - 0x19], rax
cmp ecx, 1
jle 0x140021655
test rax, rax
jne 0x140021695
mov r8, qword [rdi + 0x18]
test r8, r8
je 0x140021675
lea rdx, [rbp - 0x19]
mov rcx, r8
call fcn.140021300
mov ecx, dword [rbp - 9]
mov rdx, qword [rbp - 0x11]
mov rax, qword [rbp - 0x19]
mov r8, qword [rdi + 0x20]
test r8, r8
je 0x140021695
lea rdx, [rbp - 0x19]
mov rcx, r8
call fcn.140021300
mov ecx, dword [rbp - 9]
mov rdx, qword [rbp - 0x11]
mov rax, qword [rbp - 0x19]
mov qword [rdi + 0x88], rax
cmp ecx, 1
mov rax, r15
cmove rax, rdx
mov qword [rdi + 0x90], rax
cmp dword [rdi + 0xa4], r15d
jne 0x1400216c7
test rdx, rdx
je 0x140021749
mov eax, dword [rdx]
mov dword [rdi + 0xa4], eax
test rdx, rdx
je 0x140021749
mov rax, qword [rdx + 0x30]
mov r8d, 1
mov rcx, qword [rax]
movups xmm0, xmmword [rcx + 0x14]
movups xmmword [rdi + 0x5c], xmm0
movsd xmm1, qword [rcx + 0x24]
movsd qword [rdi + 0x6c], xmm1
mov eax, dword [rcx + 0x2c]
mov dword [rdi + 0x74], eax
movsxd rax, dword [rdx + 0x28]
cmp eax, r8d
jle 0x140021749
mov r10, qword [rdx + 0x30]
mov r9, rax
mov edx, r8d
lea rcx, [r10 + 8]
nop dword [rax + rax]
mov rax, qword [rcx]
cmp byte [rax + 0x2d], r15b
je 0x14002172a
inc r8d
inc rdx
add rcx, 8
cmp rdx, r9
jl 0x140021710
jmp 0x140021749
movsxd rax, r8d
mov rcx, qword [r10 + rax*8]
movups xmm0, xmmword [rcx + 0x14]
movups xmmword [rdi + 0x5c], xmm0
movsd xmm1, qword [rcx + 0x24]
movsd qword [rdi + 0x6c], xmm1
mov eax, dword [rcx + 0x2c]
mov dword [rdi + 0x74], eax
mov rsi, qword [0x140a0f4b8]
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x140021773
mov eax, dword [rdi + 8]
shr eax, 0xc
test al, 1
je 0x140021773
call fcn.1400284d0
mov rsi, qword [0x140a0f4b8]
mov qword [rdi + 0x38], r15
mov r9d, dword [rdi + 0x28]
mov qword [rsp + 0xf8], rbx
cmp r9d, 1
jg 0x140021949
cmp qword [rdi + 0x10], r15
jne 0x140021949
test dword [rdi + 8], 0x400
jne 0x140021949
cmp qword [rdi + 0x18], r15
jne 0x140021949
cmp byte [r14 + 0xca], r15b
jne 0x140021949
test r9d, r9d
je 0x14002186d
mov rax, qword [rdi + 0x30]
mov rcx, qword [rax]
cmp byte [rcx + 0x2c], r15b
jne 0x140021949
cmp r9d, 1
jne 0x14002186d
mov rbx, qword [rax]
mov eax, dword [rdi + 0xb0]
mov rcx, qword [rdi + 0x78]
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, rcx
test rcx, rcx
je 0x14002183b
cmp qword [r14 + 0x1d70], rcx
jne 0x140021840
mov rcx, rbx
call fcn.140016420
mov rax, qword [rdi + 0x78]
mov rsi, qword [0x140a0f4b8]
test rax, rax
je 0x14002186d
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], r15b
je 0x14002186d
mov qword [rdx + 0x98], rbx
mov byte [rbx + 0xbe], 1
mov rax, qword [rdi + 0x78]
test rax, rax
je 0x14002188a
cmp qword [rax + 0x450], rdi
jne 0x140021886
mov qword [rax + 0x450], r15
mov qword [rdi + 0x78], r15
cmp dword [rdi + 0x28], 1
jne 0x1400218a8
mov rcx, qword [rdi + 0x30]
mov rax, qword [rcx]
mov qword [rdi + 0x80], rax
mov rax, qword [rcx]
and byte [rax + 0x472], 0xfe
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x1400218c1
call fcn.1400284d0
mov rsi, qword [0x140a0f4b8]
mov qword [rdi + 0x38], r15
movzx eax, byte [rdi + 0xb4]
and al, 0xdf
mov dword [rdi + 0xc], 1
and al, 0xe3
mov dword [rdi + 0xac], r15d
mov byte [rdi + 0xb4], al
mov eax, dword [r14 + 0x1b18]
mov dword [rdi + 0x9c], eax
jge 0x14002228f
cmp dword [rdi + 0x28], 1
jne 0x14002228f
mov rax, qword [rdi + 0x30]
mov rbx, qword [rax]
mov rcx, rbx
call fcn.14000b6f0
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 0x14002228f
movzx ecx, byte [rdi + 0xb4]
test cl, 1
je 0x1400219d7
cmp qword [rdi + 0x78], r15
jne 0x1400219d7
cmp qword [rdi + 0x10], r15
jne 0x1400219d7
test dword [rdi + 8], 0x400
jne 0x1400219d7
cmp qword [rdi + 0x18], r15
jne 0x1400219d7
mov r10d, dword [rdi + 0xa8]
test r10d, r10d
je 0x1400219b2
mov edx, r15d
test r9d, r9d
jle 0x1400219b2
mov r11, qword [rdi + 0x30]
mov r8, r11
nop
mov rax, qword [r8]
cmp dword [rax + 8], r10d
je 0x1400219a6
inc edx
add r8, 8
cmp edx, r9d
jl 0x140021990
jmp 0x1400219b2
movsxd rax, edx
mov rdx, qword [r11 + rax*8]
test rdx, rdx
jne 0x1400219b9
mov rax, qword [rdi + 0x30]
mov rdx, qword [rax]
cmp byte [rdx + 0xd4], r15b
jg 0x1400219cb
cmp byte [rdx + 0xd5], r15b
jle 0x1400219d7
mov dword [rdi + 0xc], 2
jmp 0x14002228f
mov eax, dword [rdi + 8]
and cl, 0xef
mov qword [rsp + 0x100], r12
mov rbx, r15
mov r12d, eax
movaps xmmword [rsp + 0xb0], xmm6
or r12d, dword [rdi + 4]
shr eax, 0xa
mov byte [rbp - 0x58], bl
test al, 1
je 0x140021a32
mov rbx, qword [rdi + 0x78]
mov eax, r12d
shr eax, 0xf
shl al, 2
not al
xor al, cl
and al, 4
xor cl, al
mov eax, r12d
shr eax, 0xe
shl al, 3
not al
xor al, cl
and al, 8
xor al, cl
mov byte [rdi + 0xb4], al
jmp 0x140021dab
test r9d, r9d
jle 0x140021a46
bt r12d, 0xf
jb 0x140021a46
or cl, 4
movzx eax, cl
jmp 0x140021a51
and cl, 0xfb
movzx eax, cl
test r9d, r9d
jle 0x140021a62
bt r12d, 0xe
jb 0x140021a62
or al, 8
mov byte [rdi + 0xb4], al
jmp 0x140021a70
and cl, 0xf7
mov byte [rdi + 0xb4], cl
test r9d, r9d
jle 0x140021ace
mov r8, r15
mov r9d, r15d
nop word [rax + rax]
mov rax, qword [rdi + 0x30]
lea r8, [r8 + 8]
cmp dword [rdi + 0x28], 1
setg cl
inc r9d
mov rdx, qword [r8 + rax - 8]
movzx eax, byte [rdx + 0x472]
and al, 0xfe
or cl, al
mov byte [rdx + 0x472], cl
movzx eax, byte [rdi + 0xb4]
movzx ecx, byte [rdx + 0xc8]
shl cl, 4
or cl, al
xor cl, al
and cl, 0x10
xor cl, al
mov byte [rdi + 0xb4], cl
cmp r9d, dword [rdi + 0x28]
jl 0x140021a80
mov rax, qword [rdi + 0x10]
test rax, rax
jne 0x140021d41
test cl, 1
je 0x140021d3c
cmp dword [rdi + 0x28], ebx
jle 0x140021af2
mov rax, qword [rdi + 0x30]
mov rcx, qword [rax]
jmp 0x140021af5
mov rcx, r15
mov eax, dword [rdi + 0xb0]
shl eax, 0x1d
sar eax, 0x1d
cmp eax, 2
jne 0x140021b19
test rcx, rcx
je 0x140021b49
or dword [rsi + 0x1c40], 1
movsd xmm0, qword [rcx + 0x48]
jmp 0x140021b29
cmp eax, 1
jne 0x140021b49
or dword [rsi + 0x1c40], eax
movsd xmm0, qword [rdi + 0x40]
mov byte [rsi + 0x1c7c], 1
mov dword [rsi + 0x1c44], 1
mov qword [rsi + 0x1c5c], r15
movsd qword [rsi + 0x1c54], xmm0
mov eax, dword [rdi + 0xb0]
shl eax, 0x1a
sar eax, 0x1d
cmp eax, 2
jne 0x140021b6c
test rcx, rcx
je 0x140021b8f
or dword [rsi + 0x1c40], eax
movsd xmm0, qword [rcx + 0x58]
jmp 0x140021b7d
cmp eax, 1
jne 0x140021b8f
or dword [rsi + 0x1c40], 2
movsd xmm0, qword [rdi + 0x48]
mov dword [rsi + 0x1c48], 1
movsd qword [rsi + 0x1c64], xmm0
mov edx, dword [rdi + 0xb0]
mov eax, edx
and al, 0x38
cmp al, 0x10
jne 0x140021bc6
test rcx, rcx
je 0x140021bc6
movzx eax, byte [rcx + 0xc2]
or dword [rsi + 0x1c40], 8
mov byte [rsi + 0x1c7d], al
mov dword [rsi + 0x1c4c], 1
mov edx, dword [rdi + 0xb0]
and edx, 0x1c0
cmp edx, 0x80
jne 0x140021bec
test rcx, rcx
je 0x140021bec
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, reloc.WS2_32.dll_sendto
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.140008910
mov rbx, qword [0x140a0f4b8]
lea rdx, [rbp - 0x49]
mov dword [rbp - 0x49], 1
movss xmm1, dword [rbx + 0x1644]
lea rcx, [rbx + 0x1cf8]
movss xmm0, dword [rbx + 0x1648]
movss dword [rbp - 0x45], xmm1
movss dword [rbp - 0x41], xmm0
call fcn.140027c30
xor edx, edx
mov qword [rbx + 0x1644], r15
mov r8d, 0x20081139
lea rcx, [rbp - 1]
call fcn.140013280
mov rsi, qword [0x140a0f4b8]
movsxd rax, dword [rsi + 0x1cf8]
mov rdx, qword [rsi + 0x1d00]
lea rcx, [rax + rax*2]
movsxd rax, dword [rdx + rcx*4 - 0xc]
lea r9, [rax + rax*2]
lea rax, [0x1400d1800]
cmp dword [rax + r9*4], 8
mov r8d, dword [rax + r9*4 + 8]
jne 0x140021ce9
mov eax, dword [rax + r9*4 + 4]
cmp eax, 1
jne 0x140021ccc
mov eax, dword [rdx + rcx*4 - 8]
mov dword [r8 + rsi + 0x1640], eax
jmp 0x140021ce9
cmp eax, 2
jne 0x140021ce9
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 [r14 + 0x1b90]
mov qword [rdi + 0x78], rbx
mov byte [rbp - 0x58], 1
movsd xmm0, qword [rbx + 0x48]
movsd qword [rbx + 0x118], xmm0
mov qword [rbx + 0x450], rdi
mov rcx, qword [rdi + 0x78]
movsd qword [rdi + 0x40], xmm0
movsd xmm0, qword [rbx + 0x50]
movsd qword [rdi + 0x48], xmm0
cmp byte [rcx + 0xc5], r15b
je 0x140021d33
call fcn.140016370
movzx ecx, byte [rdi + 0xb4]
jmp 0x140021d49
test rax, rax
je 0x140021d53
mov rbx, qword [rax + 0x78]
mov qword [rdi + 0x78], rbx
and dword [rdi + 0xb0], 0xfffffe00
test cl, cl
jns 0x140021dab
mov r14, qword [rdi + 0x78]
test r14, r14
je 0x140021da7
mov rcx, r14
call fcn.14000b6f0
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 [0x140a0f4b8]
mov r14, qword [rbp - 0x39]
mov rcx, qword [rdi + 0x10]
test rcx, rcx
jne 0x140021e2f
mov rax, qword [r14 + 0x1d70]
test rax, rax
je 0x140021de4
mov rdx, qword [rax + 0x3f0]
mov rax, qword [rdx + 0x448]
test rax, rax
je 0x140021de4
cmp qword [rdx + 0x3e0], rbx
jne 0x140021de4
mov eax, dword [rax]
mov dword [rdi + 0xa4], eax
test rbx, rbx
je 0x140021e2f
mov r15d, r12d
and r15d, 8
je 0x140021e2f
mov rdx, qword [rbx + 0x318]
mov byte [rbp - 0x59], 1
lea rcx, [rdx + 0xa8]
call fcn.1400326a0
mov rdx, qword [rbx + 0x318]
mov r8d, 1
lea rcx, [rdx + 0xa8]
call fcn.140032c30
mov rcx, qword [rdi + 0x10]
mov rsi, qword [0x140a0f4b8]
jmp 0x140021e3a
mov r15d, r12d
mov byte [rbp - 0x59], 0
and r15d, 8
mov r14, qword [rdi + 0x88]
xorps xmm6, xmm6
mov qword [rsp + 0x108], r13
test rcx, rcx
jne 0x140021fb2
test rbx, rbx
je 0x140021fb2
test r15d, r15d
je 0x140021fb2
test r14, r14
je 0x140021fb2
cmp qword [r14 + 0x18], rcx
jne 0x140021fb2
cmp dword [r14 + 0x28], ecx
jne 0x140021fb2
cmp byte [rsi + 0x1ef4], cl
lea r12, [rsi + 0x1f08]
mov r13b, 1
mov rax, rcx
cmove r12, rcx
test r12, r12
je 0x140021ed4
cmp dword [r12 + 0x14], 0xffffffff
je 0x140021ed4
lea rdx, [r12 + 0x18]
lea rcx, str._IMWINDOW
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x140021ed4
mov rdx, qword [r12]
mov rcx, rbx
mov rdx, qword [rdx]
call fcn.1400233b0
test al, al
jne 0x140021fb5
movss xmm2, dword [r14 + 0x40]
movss xmm1, dword [r14 + 0x44]
movaps xmm4, xmm2
addss xmm2, dword [r14 + 0x48]
subss xmm4, dword [0x140145600]
movaps xmm3, xmm1
addss xmm1, dword [r14 + 0x4c]
subss xmm3, dword [0x140145600]
subss xmm2, dword [0x1401454e0]
subss xmm1, dword [0x1401454e0]
comiss xmm4, xmm2
ja 0x140021fac
comiss xmm3, xmm1
ja 0x140021fac
mov rcx, qword [rbx + 0x3e0]
subss xmm1, xmm3
subss xmm2, xmm4
movaps xmm0, xmm4
cvttss2si edx, xmm1
cvttss2si r8d, xmm2
mov word [rbp - 0x47], dx
movaps xmm1, xmm3
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 xmm4, dword [rcx + 0x48]
subss xmm3, dword [rcx + 0x4c]
cvttss2si eax, xmm4
mov word [rbp - 0x49], ax
cvttss2si eax, xmm3
mov word [rbp - 0x47], ax
mov eax, dword [rbp - 0x49]
mov dword [rcx + 0x2d4], eax
mov rax, qword [rdi + 0x10]
jmp 0x140021fc2
xor r13b, r13b
mov rax, qword [rdi + 0x10]
test rbx, rbx
je 0x14002206c
test rax, rax
jne 0x140021fe9
mov r8, qword [rbx + 0x50]
xor r9d, r9d
mov rdx, qword [rbx + 0x48]
mov rcx, rdi
call fcn.140024c70
mov rcx, rdi
call fcn.140025030
mov rsi, qword [0x140a0f4b8]
cmp qword [rdi + 0x18], 0
jne 0x14002206c
cmp dword [rdi + 0x28], 0
jne 0x14002206c
test byte [rdi + 0xb4], 1
je 0x14002206c
test r15d, r15d
jne 0x14002206c
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 + 0x40]
addss xmm0, dword [rdi + 0x48]
movss dword [rbp - 0x49], xmm0
call fcn.140008fd0
mov rcx, qword [rbx + 0x318]
lea rdx, [rdi + 0x40]
mov r9d, eax
mov dword [rsp + 0x28], reloc.WS2_32.dll_ntohs
lea r8, [rbp - 0x49]
movss dword [rsp + 0x20], xmm6
call fcn.1400320c0
cmp byte [rbp - 0x59], 0
mov r12, qword [rsp + 0x100]
je 0x14002219b
test byte [rdi + 0xb4], 1
je 0x14002219b
mov rdx, qword [rbx + 0x318]
xor r8d, r8d
lea rcx, [rdx + 0xa8]
call fcn.140032c30
mov rax, qword [0x140a0f4b8]
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 0x140022145
movss xmm1, dword [r14 + 0x40]
movss xmm2, dword [r14 + 0x44]
movss xmm3, dword [rdi + 0x44]
movss dword [rbp - 0x49], xmm1
addss xmm1, dword [r14 + 0x48]
movss dword [rbp - 0x45], xmm2
addss xmm2, dword [r14 + 0x4c]
movss dword [rbp - 0x25], xmm3
addss xmm3, dword [rdi + 0x4c]
movss dword [rbp - 0x29], xmm0
addss xmm0, dword [rdi + 0x48]
movss dword [rbp - 0x41], xmm1
movss dword [rbp - 0x3d], xmm2
movss dword [rbp - 0x1d], xmm3
movss dword [rbp - 0x21], xmm0
call fcn.140008fd0
mov rcx, qword [rbx + 0x318]
lea rdx, [rbp - 0x29]
mov r9d, eax
movss dword [rsp + 0x20], xmm6
lea r8, [rbp - 0x49]
call fcn.140037480
jmp 0x140022188
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.140008fd0
mov rcx, qword [rbx + 0x318]
lea rdx, [rdi + 0x40]
mov r9d, eax
mov dword [rsp + 0x28], reloc.WS2_32.dll_ntohs
lea r8, [rbp - 0x49]
movss dword [rsp + 0x20], xmm6
call fcn.1400320c0
mov rdx, qword [rbx + 0x318]
lea rcx, [rdx + 0xa8]
call fcn.140032880
movaps xmm6, xmmword [rsp + 0xb0]
mov r13, qword [rsp + 0x108]
test rbx, rbx
je 0x1400221c3
cmp dword [rdi + 0x28], 0
jle 0x1400221c3
mov rdx, rbx
mov rcx, rdi
call fcn.1400224e0
jmp 0x1400221de
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 0x1400221ee
mov eax, dword [rax + 0x18]
test eax, eax
jne 0x1400221fe
cmp dword [rdi + 0x28], 0
jle 0x140022204
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 0x140022248
test byte [rdi + 0xb4], 1
je 0x140022248
cmp qword [rdi + 0x10], 0
jne 0x140022248
mov rax, qword [rsi + 0x1bb8]
test rax, rax
je 0x140022232
cmp qword [rax + 0x3e8], rbx
je 0x140022248
mov rcx, rbx
call fcn.140026160
mov eax, dword [rsi + 0x1b18]
mov dword [rdi + 0x9c], eax
jmp 0x140022259
mov eax, dword [rsi + 0x1b18]
mov dword [rdi + 0x9c], eax
test rbx, rbx
je 0x140022284
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x140022267
call fcn.1400215b0
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x140022275
call fcn.1400215b0
cmp qword [rdi + 0x10], 0
jne 0x140022284
mov rcx, rbx
call fcn.140011e10
cmp byte [rbp - 0x58], 0
je 0x14002228f
call fcn.1400161a0
mov rbx, qword [rsp + 0xf8]
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1400bcb70
add rsp, 0xc0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret