Function at 0x1400519c0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rdi
push r13
push r14
lea rbp, [rsp - 0x3f]
sub rsp, 0xc8
mov rax, qword [0x140107280]
xor rax, rsp
mov qword [rbp - 9], rax
mov r13, qword [0x14010c048]
xor r14d, r14d
mov rdi, rcx
mov eax, dword [r13 + 0x3f58]
and byte [rcx + 0xc8], 0xfb
mov dword [rcx + 0xac], eax
mov qword [rcx + 0xa0], r14
mov qword [rcx + 0x98], r14
cmp qword [rcx + 0x18], r14
jne 0x140051b80
call fcn.1400526f0
xor eax, eax
xorps xmm0, xmm0
mov r8d, eax
mov qword [rbp - 0x11], rax
movups xmmword [rbp - 0x21], xmm0
cmp dword [rdi + 0x30], eax
jle 0x140051a44
mov rdx, rdi
inc r8d
mov qword [rbp - 0x19], rdx
mov dword [rbp - 0x11], r8d
jmp 0x140051a48
mov rdx, qword [rbp - 0x19]
mov rcx, qword [rbp - 0x21]
mov eax, dword [rdi + 0x10]
shr eax, 0xb
test al, 1
cmovne rcx, rdi
mov qword [rbp - 0x21], rcx
cmp r8d, 1
jle 0x140051a67
test rcx, rcx
jne 0x140051aa9
mov rax, qword [rdi + 0x20]
test rax, rax
je 0x140051a88
lea rdx, [rbp - 0x21]
mov rcx, rax
call fcn.14004ed60
mov rdx, qword [rbp - 0x19]
mov rcx, qword [rbp - 0x21]
mov r8d, dword [rbp - 0x11]
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x140051aa9
lea rdx, [rbp - 0x21]
mov rcx, rax
call fcn.14004ed60
mov rdx, qword [rbp - 0x19]
mov rcx, qword [rbp - 0x21]
mov r8d, dword [rbp - 0x11]
cmp r8d, 1
mov qword [rdi + 0x98], rcx
mov rax, r14
mov dword [rdi + 0xa8], r8d
cmove rax, rdx
mov qword [rdi + 0xa0], rax
cmp dword [rdi + 0xb8], r14d
jne 0x140051ae3
test rdx, rdx
je 0x140051b5d
mov eax, dword [rdx]
mov dword [rdi + 0xb8], eax
test rdx, rdx
je 0x140051b5d
mov rax, qword [rdx + 0x38]
mov r9d, 1
mov rax, qword [rax]
movups xmm0, xmmword [rax + 0x14]
movups xmmword [rdi + 0x64], xmm0
movsd xmm1, qword [rax + 0x24]
movsd qword [rdi + 0x74], xmm1
mov eax, dword [rax + 0x2c]
mov dword [rdi + 0x7c], eax
movsxd rax, dword [rdx + 0x30]
cmp eax, r9d
jle 0x140051b5d
mov r11, qword [rdx + 0x38]
mov r10, rax
mov r8d, r9d
lea rdx, [r11 + 8]
mov rax, qword [rdx]
cmp byte [rax + 0x2d], r14b
je 0x140051b3e
inc r9d
inc r8
add rdx, 8
cmp r8, r10
jl 0x140051b24
jmp 0x140051b5d
movsxd rax, r9d
mov rax, qword [r11 + rax*8]
movups xmm0, xmmword [rax + 0x14]
movups xmmword [rdi + 0x64], xmm0
movsd xmm1, qword [rax + 0x24]
movsd qword [rdi + 0x74], xmm1
mov eax, dword [rax + 0x2c]
mov dword [rdi + 0x7c], eax
test rcx, rcx
je 0x140051b80
nop dword [rax]
nop word [rax + rax]
or byte [rcx + 0xc8], 0x20
mov rcx, qword [rcx + 0x18]
test rcx, rcx
jne 0x140051b70
mov rcx, qword [rdi + 0x40]
test rcx, rcx
je 0x140051b9c
mov eax, dword [rdi + 0x10]
shr eax, 0xc
test al, 1
je 0x140051b9c
call fcn.140042bb0
mov qword [rdi + 0x40], r14
mov r9, qword [rdi + 0x18]
xor r8b, r8b
mov qword [rsp + 0xf8], rbx
test r9, r9
jne 0x140051cfb
test dword [rdi + 0x10], 0x400
jne 0x140051cfb
mov edx, dword [rdi + 0x30]
cmp edx, 1
jg 0x140051be9
cmp qword [rdi + 0x20], r14
jne 0x140051be9
cmp byte [r13 + 0x7a], r8b
jne 0x140051be9
test edx, edx
je 0x140051be6
mov rax, qword [rdi + 0x38]
mov rcx, qword [rax]
cmp byte [rcx + 0x2c], r8b
jne 0x140051be9
mov r8b, 1
cmp dword [rdi + 0xa8], r14d
je 0x140051bfb
test r8b, r8b
je 0x140051cfb
cmp edx, 1
jne 0x140051c9c
mov rax, qword [rdi + 0x38]
mov rbx, qword [rax]
mov eax, dword [rdi + 0xc4]
and eax, 0xfffffebf
bts eax, 7
movsd xmm0, qword [rbx + 0x48]
and eax, 0xffffffd7
or eax, 0x10
movsd qword [rdi + 0x48], xmm0
movsd xmm1, qword [rbx + 0x58]
and eax, 0xfffffffa
or eax, 2
movsd qword [rdi + 0x50], xmm1
mov dword [rdi + 0xc4], eax
mov rax, qword [rdi + 0x88]
test rax, rax
je 0x140051c5d
cmp qword [r13 + 0x4a28], rax
jne 0x140051c5d
mov rcx, rbx
call fcn.140056b50
mov rax, qword [rdi + 0x88]
test rax, rax
je 0x140051c9c
mov rdx, qword [rax + 0x30]
mov qword [rbx + 0x30], rdx
mov rax, qword [rdi + 0x88]
mov ecx, dword [rax + 0x38]
mov dword [rbx + 0x38], ecx
mov rax, qword [rdi + 0x88]
cmp byte [rax + 0xe2], r14b
je 0x140051c9c
mov qword [rdx + 0x88], rbx
mov byte [rbx + 0xe2], 1
mov rcx, rdi
call fcn.14004ede0
movzx eax, byte [rdi + 0xc8]
and al, 0xbf
mov dword [rdi + 0x14], 1
and al, 0xe7
mov dword [rdi + 0xc0], r14d
test byte [rdi + 0xc9], 1
mov byte [rdi + 0xc8], al
mov eax, dword [r13 + 0x3f58]
mov dword [rdi + 0xb0], eax
je 0x1400526cd
cmp dword [rdi + 0x30], 1
jne 0x1400526cd
mov rdx, qword [rdi + 0x38]
mov rcx, rdi
mov rdx, qword [rdx]
call fcn.140050610
jmp 0x1400526cd
test byte [rdi + 0xc8], 1
je 0x140051d8c
cmp qword [rdi + 0x88], r14
jne 0x140051d8c
test r9, r9
jne 0x140051d8c
test dword [rdi + 0x10], 0x400
jne 0x140051d8c
cmp qword [rdi + 0x20], r14
jne 0x140051d8c
mov r9d, dword [rdi + 0xbc]
test r9d, r9d
je 0x140051d67
mov r8d, dword [rdi + 0x30]
mov ecx, r14d
test r8d, r8d
jle 0x140051d67
mov rdx, qword [rdi + 0x38]
mov rax, qword [rdx]
cmp dword [rax + 8], r9d
je 0x140051d57
inc ecx
add rdx, 8
cmp ecx, r8d
jl 0x140051d41
jmp 0x140051d67
mov rax, qword [rdi + 0x38]
movsxd rcx, ecx
mov rdx, qword [rax + rcx*8]
test rdx, rdx
jne 0x140051d6e
mov rax, qword [rdi + 0x38]
mov rdx, qword [rax]
cmp byte [rdx + 0x100], r14b
jg 0x140051d80
cmp byte [rdx + 0x101], r14b
jle 0x140051d8c
mov dword [rdi + 0x14], 2
jmp 0x1400526cd
mov r8d, dword [rdi + 0x30]
mov qword [rsp + 0x100], rsi
mov qword [rsp + 0x108], r12
mov r12d, dword [rdi + 0x10]
movaps xmmword [rsp + 0x90], xmm9
test r8d, r8d
jle 0x140051dd1
bt r12d, 0xe
jb 0x140051dd1
movzx eax, byte [rdi + 0xc8]
mov r9d, r14d
and al, 0xef
or al, 0x10
and al, 0xf7
mov byte [rdi + 0xc8], al
jmp 0x140051ded
movzx eax, byte [rdi + 0xc8]
mov r9d, r14d
and al, 0xef
mov ecx, r12d
and al, 0xf7
mov byte [rdi + 0xc8], al
test r8d, r8d
jle 0x140051e44
mov r10, r14
mov rax, qword [rdi + 0x38]
lea r10, [r10 + 8]
mov rdx, qword [r10 + rax - 8]
movzx eax, byte [rdi + 0xc8]
movzx ecx, byte [rdx + 0xed]
shl cl, 3
or cl, al
and al, 0xf7
and cl, 8
xor cl, al
mov byte [rdi + 0xc8], cl
cmp r8d, 1
movzx eax, byte [rdx + 0x415]
setg cl
and al, 0xfe
or cl, al
inc r9d
mov byte [rdx + 0x415], cl
mov r8d, dword [rdi + 0x30]
cmp r9d, r8d
jl 0x140051df0
mov ecx, dword [rdi + 0x10]
bt r12d, 0xf
jae 0x140051e52
and byte [rdi + 0xc8], 0xf7
shr ecx, 0xa
mov rsi, r14
mov byte [rbp - 0x59], sil
test cl, 1
je 0x140051e6d
mov rsi, qword [rdi + 0x88]
jmp 0x140052124
mov rax, qword [rdi + 0x18]
test rax, rax
jne 0x1400520ef
test byte [rdi + 0xc8], 1
je 0x140052107
test r8d, r8d
jle 0x140051e95
mov rax, qword [rdi + 0x38]
mov rdx, qword [rax]
jmp 0x140051e98
mov rdx, r14
mov eax, dword [rdi + 0xc4]
shl eax, 0x1d
sar eax, 0x1d
cmp eax, 2
jne 0x140051ec3
test rdx, rdx
je 0x140051efb
mov rax, qword [0x14010c048]
or dword [rax + 0x48b0], 1
movsd xmm0, qword [rdx + 0x48]
jmp 0x140051edb
cmp eax, 1
jne 0x140051efb
mov rax, qword [0x14010c048]
or dword [rax + 0x48b0], 1
movsd xmm0, qword [rdi + 0x48]
mov byte [rax + 0x48ec], 1
mov dword [rax + 0x48b4], 1
mov qword [rax + 0x48cc], r14
movsd qword [rax + 0x48c4], xmm0
mov eax, dword [rdi + 0xc4]
shl eax, 0x1a
sar eax, 0x1d
cmp eax, 2
jne 0x140051f26
test rdx, rdx
je 0x140051f50
mov rax, qword [0x14010c048]
or dword [rax + 0x48b0], 2
movsd xmm0, qword [rdx + 0x58]
jmp 0x140051f3e
cmp eax, 1
jne 0x140051f50
mov rax, qword [0x14010c048]
or dword [rax + 0x48b0], 2
movsd xmm0, qword [rdi + 0x50]
mov dword [rax + 0x48b8], 1
movsd qword [rax + 0x48d4], xmm0
mov eax, dword [rdi + 0xc4]
and al, 0x38
cmp al, 0x10
jne 0x140051f86
test rdx, rdx
je 0x140051f86
mov rcx, qword [0x14010c048]
movzx eax, byte [rdx + 0xe6]
or dword [rcx + 0x48b0], 8
mov byte [rcx + 0x48ed], al
mov dword [rcx + 0x48bc], 1
mov eax, dword [rdi + 0xc4]
and eax, 0x1c0
cmp eax, 0x80
jne 0x140051fb7
test rdx, rdx
je 0x140051fb7
mov rax, qword [0x14010c048]
mov ecx, dword [rdx + 0x38]
or dword [rax + 0x48b0], 0x100
mov dword [rax + 0x4914], ecx
mov rcx, qword [0x14010c048]
lea r8, str.DockNode__02X
mov edx, 0x14
or dword [rcx + 0x48b0], 0x400
movups xmm0, xmmword [rdi + 0x64]
movups xmmword [rcx + 0x491c], xmm0
movsd xmm1, qword [rdi + 0x74]
movsd qword [rcx + 0x492c], xmm1
mov eax, dword [rdi + 0x7c]
mov dword [rcx + 0x4934], eax
lea rcx, [rbp - 0x21]
mov r9d, dword [rdi]
call fcn.140058160
mov rax, qword [0x14010c048]
lea rdx, [rbp - 0x55]
mov dword [rbp - 0x55], 2
or dword [rax + 0x48b0], 0x40
mov dword [rax + 0x4910], r14d
mov rbx, qword [0x14010c048]
movss xmm1, dword [rbx + 0x38f8]
lea rcx, [rbx + 0x4950]
movss xmm0, dword [rbx + 0x38fc]
movss dword [rbp - 0x51], xmm1
movss dword [rbp - 0x4d], xmm0
call fcn.14006b5c0
xor edx, edx
mov qword [rbx + 0x38f8], r14
mov r8d, 0x20081139
lea rcx, [rbp - 0x21]
call fcn.140045ba0
mov ecx, 1
call fcn.14005f710
mov rax, qword [rdi + 0x88]
mov rsi, qword [r13 + 0x3fd8]
mov byte [rbp - 0x59], 1
test rax, rax
je 0x14005209c
cmp rax, rsi
je 0x14005209c
cmp qword [rax + 0x438], rdi
jne 0x14005209c
mov qword [rax + 0x438], r14
mov qword [rsi + 0x438], rdi
mov qword [rdi + 0x88], rsi
movss xmm0, dword [rsi + 0x48]
movss xmm1, dword [rsi + 0x4c]
movss dword [rsi + 0x130], xmm0
movss dword [rsi + 0x134], xmm1
mov rcx, qword [rdi + 0x88]
movss dword [rdi + 0x48], xmm0
movss dword [rdi + 0x4c], xmm1
movsd xmm0, qword [rsi + 0x50]
movsd qword [rdi + 0x50], xmm0
cmp byte [rcx + 0xe9], r14b
je 0x1400520fd
call fcn.140049f40
jmp 0x1400520fd
mov rsi, qword [rax + 0x88]
mov qword [rdi + 0x88], rsi
and dword [rdi + 0xc4], 0xfffffe00
test byte [rdi + 0xc9], 1
je 0x140052124
mov rdx, qword [rdi + 0x88]
test rdx, rdx
je 0x140052124
mov rcx, rdi
call fcn.140050610
cmp qword [rdi + 0x18], r14
jne 0x14005219a
mov rdx, qword [r13 + 0x4a28]
test rdx, rdx
je 0x14005219a
mov rdx, qword [rdx + 0x3b0]
test rdx, rdx
je 0x14005219a
mov rcx, qword [rdx + 0x430]
test rcx, rcx
je 0x14005219a
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x14005216c
nop word [rax + rax]
mov rcx, rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x140052160
cmp rcx, rdi
je 0x14005218b
mov rdx, qword [rcx + 0x88]
test rdx, rdx
je 0x14005219a
mov rdx, qword [rdx + 0x3b0]
test rdx, rdx
jne 0x140052142
jmp 0x14005219a
mov rax, qword [rdx + 0x430]
mov ecx, dword [rax]
mov dword [rdi + 0xb8], ecx
xorps xmm9, xmm9
mov rbx, qword [rdi + 0x98]
mov qword [rsp + 0xc0], r15
cmp qword [rdi + 0x18], r14
jne 0x14005237f
test rsi, rsi
je 0x14005237f
test r12b, 8
je 0x14005237f
test rbx, rbx
je 0x14005237f
cmp qword [rbx + 0x20], r14
jne 0x14005237f
cmp dword [rbx + 0x30], r14d
jne 0x14005237f
mov r14, qword [0x14010c048]
mov r15b, 1
cmp byte [r14 + 0x4bd4], 0
je 0x140052244
cmp dword [r14 + 0x4bfc], 0xffffffff
je 0x140052244
add r14, 0x4be8
je 0x140052244
cmp dword [r14 + 0x14], 0xffffffff
je 0x140052244
lea rdx, [r14 + 0x18]
lea rcx, str._IMWINDOW
call fcn.1400b1600
test eax, eax
jne 0x140052244
mov rdx, qword [r14]
mov rcx, rsi
mov rdx, qword [rdx]
call fcn.14004ee50
test al, al
je 0x140052244
mov rax, qword [rdi + 0x18]
jmp 0x14005238f
mov rax, qword [rbx + 0x18]
mov rcx, rbx
movaps xmmword [rsp + 0xb0], xmm6
movaps xmmword [rsp + 0xa0], xmm7
test rax, rax
je 0x14005226c
mov rcx, rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x140052260
movss xmm0, dword [rcx + 0x48]
movss xmm4, dword [rbx + 0x48]
movaps xmm6, xmm0
comiss xmm4, xmm0
movss xmm3, dword [rbx + 0x4c]
movaps xmm2, xmm4
movss xmm7, dword [rcx + 0x4c]
movaps xmm1, xmm3
addss xmm6, dword [rcx + 0x50]
addss xmm2, dword [rbx + 0x50]
addss xmm1, dword [rbx + 0x54]
addss xmm7, dword [rcx + 0x54]
movss xmm5, dword [0x1400d92a8]
jbe 0x1400522ae
addss xmm4, xmm5
comiss xmm6, xmm2
movaps xmm6, xmmword [rsp + 0xb0]
jbe 0x1400522bf
subss xmm2, xmm5
comiss xmm3, dword [rcx + 0x4c]
jbe 0x1400522c9
addss xmm3, xmm5
comiss xmm7, xmm1
movaps xmm7, xmmword [rsp + 0xa0]
jbe 0x1400522da
subss xmm1, xmm5
comiss xmm4, xmm2
ja 0x14005223b
comiss xmm3, xmm1
ja 0x14005223b
mov rcx, qword [rsi + 0x3a0]
subss xmm1, xmm3
subss xmm2, xmm4
movaps xmm0, xmm4
cvttss2si r8d, xmm1
movaps xmm1, xmm3
mov word [rbp - 0x53], r8w
cvttss2si edx, xmm2
mov word [rbp - 0x55], dx
mov eax, dword [rbp - 0x55]
mov dword [rsi + 0x288], eax
subss xmm0, dword [rsi + 0x48]
subss xmm1, dword [rsi + 0x4c]
cvttss2si eax, xmm0
mov word [rbp - 0x55], ax
cvttss2si eax, xmm1
mov word [rbp - 0x53], ax
mov eax, dword [rbp - 0x55]
mov dword [rsi + 0x28c], eax
test rcx, rcx
je 0x140052382
mov word [rbp - 0x55], dx
mov word [rbp - 0x53], r8w
mov eax, dword [rbp - 0x55]
mov dword [rcx + 0x288], eax
subss xmm4, dword [rcx + 0x48]
subss xmm3, dword [rcx + 0x4c]
cvttss2si eax, xmm4
mov word [rbp - 0x55], ax
cvttss2si eax, xmm3
mov word [rbp - 0x53], ax
mov eax, dword [rbp - 0x55]
mov dword [rcx + 0x28c], eax
mov rax, qword [rdi + 0x18]
jmp 0x14005238f
xor r15b, r15b
mov rax, qword [rdi + 0x18]
test rsi, rsi
je 0x1400525d7
test rax, rax
jne 0x1400523af
mov r8, qword [rsi + 0x50]
xor r9d, r9d
mov rdx, qword [rsi + 0x48]
mov rcx, rdi
call fcn.140050ef0
mov rcx, rdi
call fcn.140051230
cmp qword [rdi + 0x20], 0
jne 0x14005247c
cmp dword [rdi + 0x30], 0
jne 0x14005247c
test byte [rdi + 0xc8], 1
je 0x14005247c
mov rdx, qword [rsi + 0x2d0]
xor r8d, r8d
lea rcx, [rdx + 0xa8]
call fcn.1400746d0
test r12b, 8
je 0x1400523fc
mov dword [rdi + 0x80], 0
jmp 0x140052475
mov rax, qword [0x14010c048]
lea rcx, [rbp - 0x41]
movups xmm0, xmmword [rax + 0x3c28]
movups xmmword [rbp - 0x41], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x38f0]
movss dword [rbp - 0x35], xmm0
call fcn.14004b6e0
mov dword [rdi + 0x80], eax
test eax, eax
je 0x140052475
movss xmm0, dword [rdi + 0x50]
lea rdx, [rdi + 0x48]
movss xmm1, dword [rdi + 0x54]
lea r8, [rbp - 0x55]
addss xmm0, dword [rdx]
addss xmm1, dword [rdx + 4]
mov rcx, qword [rsi + 0x2d0]
mov r9d, eax
mov dword [rsp + 0x28], 0
movss dword [rsp + 0x20], xmm9
movss dword [rbp - 0x55], xmm0
movss dword [rbp - 0x51], xmm1
call fcn.14006eb80
or byte [rdi + 0xc8], 4
test rsi, rsi
je 0x1400525d7
cmp qword [rdi + 0x18], 0
jne 0x1400525ab
test r12b, 8
je 0x1400525ab
test byte [rdi + 0xc8], 1
je 0x1400525ab
mov rdx, qword [rsi + 0x2d0]
xor r8d, r8d
lea rcx, [rdx + 0xa8]
call fcn.1400746d0
mov rax, qword [0x14010c048]
lea rcx, [rbp - 0x31]
movups xmm0, xmmword [rax + 0x39d8]
movups xmmword [rbp - 0x31], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x38f0]
movss dword [rbp - 0x25], xmm0
test r15b, r15b
je 0x140052562
movss xmm0, dword [rbx + 0x48]
movss xmm1, dword [rbx + 0x4c]
movss dword [rbp - 0x55], xmm0
addss xmm0, dword [rbx + 0x50]
movss dword [rbp - 0x51], xmm1
addss xmm1, dword [rbx + 0x54]
movss dword [rbp - 0x4d], xmm0
movss xmm0, dword [rdi + 0x48]
movss dword [rbp - 0x49], xmm1
movss xmm1, dword [rdi + 0x4c]
movss dword [rbp - 0x41], xmm0
addss xmm0, dword [rdi + 0x50]
movss dword [rbp - 0x3d], xmm1
addss xmm1, dword [rdi + 0x54]
movss dword [rbp - 0x39], xmm0
movss dword [rbp - 0x35], xmm1
call fcn.14004b6e0
mov rcx, qword [rsi + 0x2d0]
lea r8, [rbp - 0x55]
mov r9d, eax
movss dword [rsp + 0x20], xmm9
lea rdx, [rbp - 0x41]
call fcn.140073ac0
jmp 0x1400525ab
movss xmm0, dword [rdi + 0x48]
movss xmm1, dword [rdi + 0x4c]
addss xmm0, dword [rdi + 0x50]
addss xmm1, dword [rdi + 0x54]
movss dword [rbp - 0x55], xmm0
movss dword [rbp - 0x51], xmm1
call fcn.14004b6e0
mov rcx, qword [rsi + 0x2d0]
lea r8, [rbp - 0x55]
mov r9d, eax
mov dword [rsp + 0x28], 0
lea rdx, [rdi + 0x48]
movss dword [rsp + 0x20], xmm9
call fcn.14006eb80
mov rdx, qword [rsi + 0x2d0]
mov r8d, 1
lea rcx, [rdx + 0xa8]
call fcn.1400746d0
cmp dword [rdi + 0x30], 0
jle 0x1400525d7
mov rdx, rsi
mov rcx, rdi
call fcn.140052a20
jmp 0x1400525f2
movzx eax, byte [rdi + 0xc8]
and al, 0xbf
mov dword [rdi + 0xc0], 0
and al, 0xfd
mov byte [rdi + 0xc8], al
mov rax, qword [rdi + 0x40]
movaps xmm9, xmmword [rsp + 0x90]
mov r15, qword [rsp + 0xc0]
mov r12, qword [rsp + 0x108]
test rax, rax
je 0x140052623
mov ecx, dword [rax + 0x18]
test ecx, ecx
je 0x140052623
mov dword [rdi + 0xbc], ecx
jmp 0x14005263c
cmp dword [rdi + 0x30], 0
jle 0x14005263c
mov rax, qword [rdi + 0x38]
mov rcx, qword [rax]
mov eax, dword [rcx + 0xa8]
mov dword [rdi + 0xbc], eax
test rsi, rsi
je 0x14005267d
test byte [rdi + 0xc8], 1
je 0x14005267d
cmp qword [rdi + 0x18], 0
jne 0x14005267d
mov rax, qword [r13 + 0x3ff0]
test rax, rax
je 0x140052666
cmp qword [rax + 0x3c0], rsi
je 0x14005267d
mov rcx, rsi
call fcn.140048c10
mov eax, dword [r13 + 0x3f58]
mov dword [rdi + 0xb0], eax
jmp 0x14005268f
mov eax, dword [r13 + 0x3f58]
mov dword [rdi + 0xb0], eax
test rsi, rsi
je 0x1400526ba
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x14005269d
call fcn.1400519c0
mov rcx, qword [rdi + 0x28]
test rcx, rcx
je 0x1400526ab
call fcn.1400519c0
cmp qword [rdi + 0x18], 0
jne 0x1400526ba
mov rcx, rsi
call fcn.140063680
cmp byte [rbp - 0x59], 0
mov rsi, qword [rsp + 0x100]
je 0x1400526cd
call fcn.140054820
mov rbx, qword [rsp + 0xf8]
mov rcx, qword [rbp - 9]
xor rcx, rsp
call fcn.140099d00
add rsp, 0xc8
pop r14
pop r13
pop rdi
pop rbp
ret