Function at 0x140021210
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 [0x140152080]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rsi, qword [0x140432558]
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 0x1400213b0
call fcn.140020fd0
mov edx, r15d
mov ecx, r15d
mov qword [rbp - 0x11], rdx
mov dword [rbp - 9], ecx
cmp dword [rdi + 0x28], r15d
jle 0x140021298
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 0x1400212b5
test rax, rax
jne 0x1400212f5
mov r8, qword [rdi + 0x18]
test r8, r8
je 0x1400212d5
lea rdx, [rbp - 0x19]
mov rcx, r8
call fcn.140020f60
mov ecx, dword [rbp - 9]
mov rdx, qword [rbp - 0x11]
mov rax, qword [rbp - 0x19]
mov r8, qword [rdi + 0x20]
test r8, r8
je 0x1400212f5
lea rdx, [rbp - 0x19]
mov rcx, r8
call fcn.140020f60
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 0x140021327
test rdx, rdx
je 0x1400213a9
mov eax, dword [rdx]
mov dword [rdi + 0xa4], eax
test rdx, rdx
je 0x1400213a9
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 0x1400213a9
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 0x14002138a
inc r8d
inc rdx
add rcx, 8
cmp rdx, r9
jl 0x140021370
jmp 0x1400213a9
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 [0x140432558]
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x1400213d3
mov eax, dword [rdi + 8]
shr eax, 0xc
test al, 1
je 0x1400213d3
call fcn.140028130
mov rsi, qword [0x140432558]
mov qword [rdi + 0x38], r15
mov r9d, dword [rdi + 0x28]
mov qword [rsp + 0xf8], rbx
cmp r9d, 1
jg 0x1400215a9
cmp qword [rdi + 0x10], r15
jne 0x1400215a9
test dword [rdi + 8], 0x400
jne 0x1400215a9
cmp qword [rdi + 0x18], r15
jne 0x1400215a9
cmp byte [r14 + 0xca], r15b
jne 0x1400215a9
test r9d, r9d
je 0x1400214cd
mov rax, qword [rdi + 0x30]
mov rcx, qword [rax]
cmp byte [rcx + 0x2c], r15b
jne 0x1400215a9
cmp r9d, 1
jne 0x1400214cd
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 0x14002149b
cmp qword [r14 + 0x1d70], rcx
jne 0x1400214a0
mov rcx, rbx
call fcn.140016350
mov rax, qword [rdi + 0x78]
mov rsi, qword [0x140432558]
test rax, rax
je 0x1400214cd
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 0x1400214cd
mov qword [rdx + 0x98], rbx
mov byte [rbx + 0xbe], 1
mov rax, qword [rdi + 0x78]
test rax, rax
je 0x1400214ea
cmp qword [rax + 0x450], rdi
jne 0x1400214e6
mov qword [rax + 0x450], r15
mov qword [rdi + 0x78], r15
cmp dword [rdi + 0x28], 1
jne 0x140021508
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 0x140021521
call fcn.140028130
mov rsi, qword [0x140432558]
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 0x140021eef
cmp dword [rdi + 0x28], 1
jne 0x140021eef
mov rax, qword [rdi + 0x30]
mov rbx, qword [rax]
mov rcx, rbx
call fcn.14000b6e0
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 0x140021eef
movzx ecx, byte [rdi + 0xb4]
test cl, 1
je 0x140021637
cmp qword [rdi + 0x78], r15
jne 0x140021637
cmp qword [rdi + 0x10], r15
jne 0x140021637
test dword [rdi + 8], 0x400
jne 0x140021637
cmp qword [rdi + 0x18], r15
jne 0x140021637
mov r10d, dword [rdi + 0xa8]
test r10d, r10d
je 0x140021612
mov edx, r15d
test r9d, r9d
jle 0x140021612
mov r11, qword [rdi + 0x30]
mov r8, r11
nop
mov rax, qword [r8]
cmp dword [rax + 8], r10d
je 0x140021606
inc edx
add r8, 8
cmp edx, r9d
jl 0x1400215f0
jmp 0x140021612
movsxd rax, edx
mov rdx, qword [r11 + rax*8]
test rdx, rdx
jne 0x140021619
mov rax, qword [rdi + 0x30]
mov rdx, qword [rax]
cmp byte [rdx + 0xd4], r15b
jg 0x14002162b
cmp byte [rdx + 0xd5], r15b
jle 0x140021637
mov dword [rdi + 0xc], 2
jmp 0x140021eef
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 0x140021692
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 0x140021a0b
test r9d, r9d
jle 0x1400216a6
bt r12d, 0xf
jb 0x1400216a6
or cl, 4
movzx eax, cl
jmp 0x1400216b1
and cl, 0xfb
movzx eax, cl
test r9d, r9d
jle 0x1400216c2
bt r12d, 0xe
jb 0x1400216c2
or al, 8
mov byte [rdi + 0xb4], al
jmp 0x1400216d0
and cl, 0xf7
mov byte [rdi + 0xb4], cl
test r9d, r9d
jle 0x14002172e
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 0x1400216e0
mov rax, qword [rdi + 0x10]
test rax, rax
jne 0x1400219a1
test cl, 1
je 0x14002199c
cmp dword [rdi + 0x28], ebx
jle 0x140021752
mov rax, qword [rdi + 0x30]
mov rcx, qword [rax]
jmp 0x140021755
mov rcx, r15
mov eax, dword [rdi + 0xb0]
shl eax, 0x1d
sar eax, 0x1d
cmp eax, 2
jne 0x140021779
test rcx, rcx
je 0x1400217a9
or dword [rsi + 0x1c40], 1
movsd xmm0, qword [rcx + 0x48]
jmp 0x140021789
cmp eax, 1
jne 0x1400217a9
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 0x1400217cc
test rcx, rcx
je 0x1400217ef
or dword [rsi + 0x1c40], eax
movsd xmm0, qword [rcx + 0x58]
jmp 0x1400217dd
cmp eax, 1
jne 0x1400217ef
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 0x140021826
test rcx, rcx
je 0x140021826
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 0x14002184c
test rcx, rcx
je 0x14002184c
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.140008900
mov rbx, qword [0x140432558]
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.140027890
xor edx, edx
mov qword [rbx + 0x1644], r15
mov r8d, 0x20081139
lea rcx, [rbp - 1]
call fcn.1400131b0
mov rsi, qword [0x140432558]
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, [0x1400d0760]
cmp dword [rax + r9*4], 8
mov r8d, dword [rax + r9*4 + 8]
jne 0x140021949
mov eax, dword [rax + r9*4 + 4]
cmp eax, 1
jne 0x14002192c
mov eax, dword [rdx + rcx*4 - 8]
mov dword [r8 + rsi + 0x1640], eax
jmp 0x140021949
cmp eax, 2
jne 0x140021949
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 0x140021993
call fcn.1400162a0
movzx ecx, byte [rdi + 0xb4]
jmp 0x1400219a9
test rax, rax
je 0x1400219b3
mov rbx, qword [rax + 0x78]
mov qword [rdi + 0x78], rbx
and dword [rdi + 0xb0], 0xfffffe00
test cl, cl
jns 0x140021a0b
mov r14, qword [rdi + 0x78]
test r14, r14
je 0x140021a07
mov rcx, r14
call fcn.14000b6e0
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 [0x140432558]
mov r14, qword [rbp - 0x39]
mov rcx, qword [rdi + 0x10]
test rcx, rcx
jne 0x140021a8f
mov rax, qword [r14 + 0x1d70]
test rax, rax
je 0x140021a44
mov rdx, qword [rax + 0x3f0]
mov rax, qword [rdx + 0x448]
test rax, rax
je 0x140021a44
cmp qword [rdx + 0x3e0], rbx
jne 0x140021a44
mov eax, dword [rax]
mov dword [rdi + 0xa4], eax
test rbx, rbx
je 0x140021a8f
mov r15d, r12d
and r15d, 8
je 0x140021a8f
mov rdx, qword [rbx + 0x318]
mov byte [rbp - 0x59], 1
lea rcx, [rdx + 0xa8]
call fcn.140032300
mov rdx, qword [rbx + 0x318]
mov r8d, 1
lea rcx, [rdx + 0xa8]
call fcn.140032890
mov rcx, qword [rdi + 0x10]
mov rsi, qword [0x140432558]
jmp 0x140021a9a
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 0x140021c12
test rbx, rbx
je 0x140021c12
test r15d, r15d
je 0x140021c12
test r14, r14
je 0x140021c12
cmp qword [r14 + 0x18], rcx
jne 0x140021c12
cmp dword [r14 + 0x28], ecx
jne 0x140021c12
cmp byte [rsi + 0x1ef4], cl
lea r12, [rsi + 0x1f08]
mov r13b, 1
mov rax, rcx
cmove r12, rcx
test r12, r12
je 0x140021b34
cmp dword [r12 + 0x14], 0xffffffff
je 0x140021b34
lea rdx, [r12 + 0x18]
lea rcx, str._IMWINDOW
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x140021b34
mov rdx, qword [r12]
mov rcx, rbx
mov rdx, qword [rdx]
call fcn.140023010
test al, al
jne 0x140021c15
movss xmm2, dword [r14 + 0x40]
movss xmm1, dword [r14 + 0x44]
movaps xmm4, xmm2
addss xmm2, dword [r14 + 0x48]
subss xmm4, dword [0x14013f3e8]
movaps xmm3, xmm1
addss xmm1, dword [r14 + 0x4c]
subss xmm3, dword [0x14013f3e8]
subss xmm2, dword [0x14013f2cc]
subss xmm1, dword [0x14013f2cc]
comiss xmm4, xmm2
ja 0x140021c0c
comiss xmm3, xmm1
ja 0x140021c0c
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 0x140021c22
xor r13b, r13b
mov rax, qword [rdi + 0x10]
test rbx, rbx
je 0x140021ccc
test rax, rax
jne 0x140021c49
mov r8, qword [rbx + 0x50]
xor r9d, r9d
mov rdx, qword [rbx + 0x48]
mov rcx, rdi
call fcn.1400248d0
mov rcx, rdi
call fcn.140024c90
mov rsi, qword [0x140432558]
cmp qword [rdi + 0x18], 0
jne 0x140021ccc
cmp dword [rdi + 0x28], 0
jne 0x140021ccc
test byte [rdi + 0xb4], 1
je 0x140021ccc
test r15d, r15d
jne 0x140021ccc
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.140008fc0
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.140031d20
cmp byte [rbp - 0x59], 0
mov r12, qword [rsp + 0x100]
je 0x140021dfb
test byte [rdi + 0xb4], 1
je 0x140021dfb
mov rdx, qword [rbx + 0x318]
xor r8d, r8d
lea rcx, [rdx + 0xa8]
call fcn.140032890
mov rax, qword [0x140432558]
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 0x140021da5
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.140008fc0
mov rcx, qword [rbx + 0x318]
lea rdx, [rbp - 0x29]
mov r9d, eax
movss dword [rsp + 0x20], xmm6
lea r8, [rbp - 0x49]
call fcn.1400370e0
jmp 0x140021de8
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.140008fc0
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.140031d20
mov rdx, qword [rbx + 0x318]
lea rcx, [rdx + 0xa8]
call fcn.1400324e0
movaps xmm6, xmmword [rsp + 0xb0]
mov r13, qword [rsp + 0x108]
test rbx, rbx
je 0x140021e23
cmp dword [rdi + 0x28], 0
jle 0x140021e23
mov rdx, rbx
mov rcx, rdi
call fcn.140022140
jmp 0x140021e3e
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 0x140021e4e
mov eax, dword [rax + 0x18]
test eax, eax
jne 0x140021e5e
cmp dword [rdi + 0x28], 0
jle 0x140021e64
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 0x140021ea8
test byte [rdi + 0xb4], 1
je 0x140021ea8
cmp qword [rdi + 0x10], 0
jne 0x140021ea8
mov rax, qword [rsi + 0x1bb8]
test rax, rax
je 0x140021e92
cmp qword [rax + 0x3e8], rbx
je 0x140021ea8
mov rcx, rbx
call fcn.140025dc0
mov eax, dword [rsi + 0x1b18]
mov dword [rdi + 0x9c], eax
jmp 0x140021eb9
mov eax, dword [rsi + 0x1b18]
mov dword [rdi + 0x9c], eax
test rbx, rbx
je 0x140021ee4
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x140021ec7
call fcn.140021210
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x140021ed5
call fcn.140021210
cmp qword [rdi + 0x10], 0
jne 0x140021ee4
mov rcx, rbx
call fcn.140011d40
cmp byte [rbp - 0x58], 0
je 0x140021eef
call fcn.1400160d0
mov rbx, qword [rsp + 0xf8]
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1400bc610
add rsp, 0xc0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret