Function at 0x18001c470
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xe0
mov rax, qword [0x18008a040]
xor rax, rsp
mov qword [rbp - 1], rax
mov rsi, qword [0x18008af10]
xor r15d, r15d
mov rdi, rcx
mov qword [rbp - 0x59], rsi
mov r14, rsi
mov eax, dword [rsi + 0x1ba8]
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 0x18001c610
call fcn.18001c1c0
mov ecx, r15d
mov edx, r15d
mov qword [rbp - 0x31], rcx
mov dword [rbp - 0x29], edx
cmp dword [rdi + 0x28], r15d
jle 0x18001c4f8
mov rcx, rdi
mov edx, 1
mov qword [rbp - 0x31], rcx
mov dword [rbp - 0x29], edx
mov eax, dword [rdi + 8]
shr eax, 0xb
test al, 1
mov rax, r15
cmovne rax, rdi
mov qword [rbp - 0x39], rax
cmp edx, 1
jle 0x18001c515
test rax, rax
jne 0x18001c555
mov r8, qword [rdi + 0x18]
test r8, r8
je 0x18001c535
lea rdx, [rbp - 0x39]
mov rcx, r8
call fcn.18001c140
mov edx, dword [rbp - 0x29]
mov rcx, qword [rbp - 0x31]
mov rax, qword [rbp - 0x39]
mov r8, qword [rdi + 0x20]
test r8, r8
je 0x18001c555
lea rdx, [rbp - 0x39]
mov rcx, r8
call fcn.18001c140
mov edx, dword [rbp - 0x29]
mov rcx, qword [rbp - 0x31]
mov rax, qword [rbp - 0x39]
mov qword [rdi + 0x88], rax
cmp edx, 1
mov rax, r15
cmove rax, rcx
mov qword [rdi + 0x90], rax
cmp dword [rdi + 0xa4], r15d
jne 0x18001c587
test rcx, rcx
je 0x18001c609
mov eax, dword [rcx]
mov dword [rdi + 0xa4], eax
test rcx, rcx
je 0x18001c609
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 0x18001c609
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], r15b
je 0x18001c5ea
inc r8d
inc rdx
add rcx, 8
cmp rdx, r9
jl 0x18001c5d0
jmp 0x18001c609
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 [0x18008af10]
cmp qword [rdi + 0x38], r15
je 0x18001c62f
mov eax, dword [rdi + 8]
shr eax, 0xc
test al, 1
je 0x18001c62f
mov rcx, rdi
call fcn.18001e3d0
mov rsi, qword [0x18008af10]
mov edx, dword [rdi + 0x28]
mov qword [rsp + 0x118], rbx
cmp edx, 1
jg 0x18001c7fa
cmp qword [rdi + 0x10], r15
jne 0x18001c7fa
test dword [rdi + 8], 0x400
jne 0x18001c7fa
cmp qword [rdi + 0x18], r15
jne 0x18001c7fa
cmp byte [r14 + 0xca], r15b
jne 0x18001c7fa
test edx, edx
je 0x18001c722
mov rax, qword [rdi + 0x30]
mov rcx, qword [rax]
cmp byte [rcx + 0x2c], r15b
jne 0x18001c7fa
cmp edx, 1
jne 0x18001c722
mov rbx, qword [rax]
mov eax, dword [rdi + 0xb0]
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, qword [rdi + 0x78]
test rax, rax
je 0x18001c6ec
cmp qword [r14 + 0x1e00], rax
jne 0x18001c6ec
mov rcx, rbx
call fcn.180010e20
mov rsi, qword [0x18008af10]
mov rax, qword [rdi + 0x78]
test rax, rax
je 0x18001c722
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 0x18001c722
mov qword [rdx + 0x98], rbx
mov byte [rbx + 0xbe], 1
mov rax, qword [rdi + 0x78]
test rax, rax
je 0x18001c73f
cmp qword [rax + 0x450], rdi
jne 0x18001c73b
mov qword [rax + 0x450], r15
mov qword [rdi + 0x78], r15
cmp dword [rdi + 0x28], 1
jne 0x18001c75d
mov rcx, qword [rdi + 0x30]
mov rax, qword [rcx]
mov qword [rdi + 0x80], rax
mov rax, qword [rcx]
and byte [rax + 0x472], 0xfe
cmp qword [rdi + 0x38], r15
je 0x18001c772
mov rcx, rdi
call fcn.18001e3d0
mov rsi, qword [0x18008af10]
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 + 0x1ba8]
mov dword [rdi + 0x9c], eax
jge 0x18001d182
cmp dword [rdi + 0x28], 1
jne 0x18001d182
mov rax, qword [rdi + 0x30]
mov rbx, qword [rax]
mov rcx, rbx
call fcn.1800063e0
movss xmm1, dword [rsi + 0x3c8]
movss xmm0, dword [rsi + 0x3cc]
subss xmm1, dword [rdi + 0x40]
subss xmm0, dword [rdi + 0x44]
mov qword [rsi + 0x1c48], rbx
movss dword [rsi + 0x1ca0], xmm1
movss dword [rsi + 0x1ca4], xmm0
and byte [rdi + 0xb4], 0x7f
jmp 0x18001d182
test byte [rdi + 0xb4], 1
je 0x18001c88d
cmp qword [rdi + 0x78], r15
jne 0x18001c88d
cmp qword [rdi + 0x10], r15
jne 0x18001c88d
test dword [rdi + 8], 0x400
jne 0x18001c88d
cmp qword [rdi + 0x18], r15
jne 0x18001c88d
mov r9d, dword [rdi + 0xa8]
test r9d, r9d
je 0x18001c868
mov r8d, dword [rdi + 0x28]
mov ecx, r15d
test r8d, r8d
jle 0x18001c868
mov rdx, qword [rdi + 0x30]
mov rax, qword [rdx]
cmp dword [rax + 8], r9d
je 0x18001c858
inc ecx
add rdx, 8
cmp ecx, r8d
jl 0x18001c842
jmp 0x18001c868
mov rax, qword [rdi + 0x30]
movsxd rcx, ecx
mov rdx, qword [rax + rcx*8]
test rdx, rdx
jne 0x18001c86f
mov rax, qword [rdi + 0x30]
mov rdx, qword [rax]
cmp byte [rdx + 0xd4], r15b
jg 0x18001c881
cmp byte [rdx + 0xd5], r15b
jle 0x18001c88d
mov dword [rdi + 0xc], 2
jmp 0x18001d182
mov eax, dword [rdi + 8]
mov rbx, r15
movzx edx, byte [rdi + 0xb4]
mov qword [rsp + 0x120], r12
mov r12d, eax
or r12d, dword [rdi + 4]
shr eax, 0xa
movaps xmmword [rsp + 0xb0], xmm8
xorps xmm8, xmm8
mov byte [rbp - 0x78], bl
test al, 1
je 0x18001c8f5
mov rbx, qword [rdi + 0x78]
and dl, 0xef
mov ecx, r12d
mov eax, r12d
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 0x18001cc45
mov ecx, dword [rdi + 0x28]
test ecx, ecx
jle 0x18001c90e
bt r12d, 0xf
jb 0x18001c90e
and dl, 0xef
or dl, 4
movzx eax, dl
jmp 0x18001c918
and dl, 0xeb
movzx eax, dl
test ecx, ecx
jle 0x18001c92c
bt r12d, 0xe
jb 0x18001c92c
or al, 8
mov r8d, r15d
mov byte [rdi + 0xb4], al
jmp 0x18001c93c
and dl, 0xf7
mov r8d, r15d
mov byte [rdi + 0xb4], dl
test ecx, ecx
jle 0x18001c98f
mov r9, r15
nop
mov rax, qword [rdi + 0x30]
lea r9, [r9 + 8]
cmp ecx, 1
setg cl
inc r8d
mov rdx, qword [r9 + 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 ecx, dword [rdi + 0x28]
cmp r8d, ecx
jl 0x18001c940
mov rax, qword [rdi + 0x10]
test rax, rax
jne 0x18001cbd6
test dl, 1
je 0x18001cbe8
test ecx, ecx
jle 0x18001c9b2
mov rax, qword [rdi + 0x30]
mov rcx, qword [rax]
jmp 0x18001c9b5
mov rcx, r15
mov eax, dword [rdi + 0xb0]
shl eax, 0x1d
sar eax, 0x1d
cmp eax, 2
jne 0x18001c9d9
test rcx, rcx
je 0x18001ca09
or dword [rsi + 0x1cd0], 1
movsd xmm0, qword [rcx + 0x48]
jmp 0x18001c9e9
cmp eax, 1
jne 0x18001ca09
or dword [rsi + 0x1cd0], eax
movsd xmm0, qword [rdi + 0x40]
mov byte [rsi + 0x1d0c], 1
mov dword [rsi + 0x1cd4], 1
mov qword [rsi + 0x1cec], r15
movsd qword [rsi + 0x1ce4], xmm0
mov eax, dword [rdi + 0xb0]
shl eax, 0x1a
sar eax, 0x1d
cmp eax, 2
jne 0x18001ca2c
test rcx, rcx
je 0x18001ca4f
or dword [rsi + 0x1cd0], eax
movsd xmm0, qword [rcx + 0x58]
jmp 0x18001ca3d
cmp eax, 1
jne 0x18001ca4f
or dword [rsi + 0x1cd0], 2
movsd xmm0, qword [rdi + 0x48]
mov dword [rsi + 0x1cd8], 1
movsd qword [rsi + 0x1cf4], xmm0
mov eax, dword [rdi + 0xb0]
and al, 0x38
cmp al, 0x10
jne 0x18001ca7e
test rcx, rcx
je 0x18001ca7e
movzx eax, byte [rcx + 0xc2]
or dword [rsi + 0x1cd0], 8
mov byte [rsi + 0x1d0d], al
mov dword [rsi + 0x1cdc], 1
mov eax, dword [rdi + 0xb0]
and eax, 0x1c0
cmp eax, 0x80
jne 0x18001caa8
test rcx, rcx
je 0x18001caa8
mov eax, dword [rcx + 0x38]
or dword [rsi + 0x1cd0], 0x100
mov dword [rsi + 0x1d34], eax
or dword [rsi + 0x1cd0], 0x400
lea r8, str.DockNode__02X
movups xmm0, xmmword [rdi + 0x5c]
mov edx, 0x14
lea rcx, [rbp - 0x19]
movups xmmword [rsi + 0x1d3c], xmm0
movsd xmm1, qword [rdi + 0x6c]
movsd qword [rsi + 0x1d4c], xmm1
mov eax, dword [rdi + 0x74]
mov dword [rsi + 0x1d54], eax
mov r9d, dword [rdi]
call fcn.1800039c0
lea rdx, [rbp - 0x69]
mov qword [rbp - 0x69], rbx
mov ecx, 1
call fcn.180004320
xor edx, edx
lea rcx, [rbp - 0x19]
mov r8d, 0x20081139
call fcn.18000dc00
mov rsi, qword [0x18008af10]
lea r9, [0x1800780c0]
movsxd rax, dword [rsi + 0x1d88]
mov rdx, qword [rsi + 0x1d90]
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 0x18001cb78
mov eax, dword [r9 + rax*4 + 4]
cmp eax, 1
jne 0x18001cb5b
mov eax, dword [rdx + rcx*4 - 8]
mov dword [r8 + rsi + 0x1640], eax
jmp 0x18001cb78
cmp eax, 2
jne 0x18001cb78
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 + 0x1d88]
mov rbx, qword [r14 + 0x1c20]
mov qword [rdi + 0x78], rbx
mov byte [rbp - 0x78], 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], r15b
je 0x18001cbde
call fcn.180010d70
jmp 0x18001cbde
mov rbx, qword [rax + 0x78]
mov qword [rdi + 0x78], rbx
and dword [rdi + 0xb0], 0xfffffe00
cmp byte [rdi + 0xb4], r15b
jge 0x18001cc45
mov r14, qword [rdi + 0x78]
test r14, r14
je 0x18001cc41
mov rcx, r14
call fcn.1800063e0
movss xmm1, dword [rsi + 0x3c8]
movss xmm0, dword [rsi + 0x3cc]
subss xmm1, dword [rdi + 0x40]
subss xmm0, dword [rdi + 0x44]
mov qword [rsi + 0x1c48], r14
movss dword [rsi + 0x1ca0], xmm1
movss dword [rsi + 0x1ca4], xmm0
and byte [rdi + 0xb4], 0x7f
mov rsi, qword [0x18008af10]
mov r14, qword [rbp - 0x59]
cmp qword [rdi + 0x10], r15
jne 0x18001ccbf
mov rax, qword [r14 + 0x1e00]
test rax, rax
je 0x18001cc7b
mov rcx, qword [rax + 0x3f0]
mov rax, qword [rcx + 0x448]
test rax, rax
je 0x18001cc7b
cmp qword [rcx + 0x3e0], rbx
jne 0x18001cc7b
mov eax, dword [rax]
mov dword [rdi + 0xa4], eax
test rbx, rbx
je 0x18001ccbf
test r12b, 8
je 0x18001ccbf
mov rdx, qword [rbx + 0x318]
mov byte [rbp - 0x79], 1
lea rcx, [rdx + 0xa8]
call fcn.18002e980
mov rdx, qword [rbx + 0x318]
mov r8d, 1
lea rcx, [rdx + 0xa8]
call fcn.18002eed0
mov rsi, qword [0x18008af10]
jmp 0x18001ccc3
mov byte [rbp - 0x79], r15b
cmp qword [rdi + 0x10], 0
mov r15, qword [rdi + 0x88]
mov qword [rsp + 0x128], r13
jne 0x18001ce3d
test rbx, rbx
je 0x18001ce3d
test r12b, 8
je 0x18001ce3d
test r15, r15
je 0x18001ce3d
cmp qword [r15 + 0x18], 0
jne 0x18001ce3d
cmp dword [r15 + 0x28], 0
jne 0x18001ce3d
cmp byte [rsi + 0x1f84], 0
lea r14, [rsi + 0x1f98]
mov eax, 0
mov r13b, 1
cmove r14, rax
test r14, r14
je 0x18001cd5f
cmp dword [r14 + 0x14], 0xffffffff
je 0x18001cd5f
lea rdx, [r14 + 0x18]
lea rcx, str._IMWINDOW
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x18001cd5f
mov rdx, qword [r14]
mov rcx, rbx
mov rdx, qword [rdx]
call fcn.18001e460
test al, al
jne 0x18001ce40
movss xmm3, dword [r15 + 0x40]
movss xmm2, dword [r15 + 0x44]
movaps xmm4, xmm3
addss xmm4, dword [r15 + 0x48]
subss xmm3, dword [0x1800801a0]
movaps xmm1, xmm2
addss xmm1, dword [r15 + 0x4c]
subss xmm2, dword [0x1800801a0]
subss xmm4, dword [0x1800800b8]
subss xmm1, dword [0x1800800b8]
comiss xmm3, xmm4
ja 0x18001ce37
comiss xmm2, xmm1
ja 0x18001ce37
mov rcx, qword [rbx + 0x3e0]
subss xmm1, xmm2
subss xmm4, xmm3
movaps xmm0, xmm3
cvttss2si edx, xmm1
cvttss2si r8d, xmm4
mov word [rbp - 0x67], dx
movaps xmm1, xmm2
mov word [rbp - 0x69], r8w
mov eax, dword [rbp - 0x69]
mov dword [rbx + 0x2d0], eax
subss xmm0, dword [rbx + 0x48]
subss xmm1, dword [rbx + 0x4c]
cvttss2si eax, xmm0
mov word [rbp - 0x69], ax
cvttss2si eax, xmm1
mov word [rbp - 0x67], ax
mov eax, dword [rbp - 0x69]
mov dword [rbx + 0x2d4], eax
mov word [rbp - 0x69], r8w
mov word [rbp - 0x67], dx
mov eax, dword [rbp - 0x69]
mov dword [rcx + 0x2d0], eax
subss xmm3, dword [rcx + 0x48]
subss xmm2, dword [rcx + 0x4c]
cvttss2si eax, xmm3
mov word [rbp - 0x69], ax
cvttss2si eax, xmm2
mov word [rbp - 0x67], ax
mov eax, dword [rbp - 0x69]
mov dword [rcx + 0x2d4], eax
mov rax, qword [rdi + 0x10]
jmp 0x18001ce4d
xor r13b, r13b
mov rax, qword [rdi + 0x10]
test rbx, rbx
je 0x18001cef9
test rax, rax
jne 0x18001ce74
mov r8, qword [rbx + 0x50]
xor r9d, r9d
mov rdx, qword [rbx + 0x48]
mov rcx, rdi
call fcn.180020090
mov rcx, rdi
call fcn.180020520
mov rsi, qword [0x18008af10]
cmp qword [rdi + 0x18], 0
jne 0x18001cef9
cmp dword [rdi + 0x28], 0
jne 0x18001cef9
test byte [rdi + 0xb4], 1
je 0x18001cef9
test r12b, 8
jne 0x18001cef9
movups xmm0, xmmword [rsi + 0x19ac]
lea rcx, [rbp - 0x51]
movss xmm1, dword [rdi + 0x44]
addss xmm1, dword [rdi + 0x4c]
movups xmmword [rbp - 0x51], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rsi + 0x1640]
movss dword [rbp - 0x65], xmm1
movss dword [rbp - 0x45], xmm0
movss xmm0, dword [rdi + 0x48]
addss xmm0, dword [rdi + 0x40]
movss dword [rbp - 0x69], xmm0
call fcn.180003f10
mov rcx, qword [rbx + 0x318]
lea rdx, [rdi + 0x40]
mov r9d, eax
mov dword [rsp + 0x28], 0xf
lea r8, [rbp - 0x69]
movss dword [rsp + 0x20], xmm8
call fcn.18002e2f0
cmp byte [rbp - 0x79], 0
mov r12, qword [rsp + 0x120]
je 0x18001d085
test byte [rdi + 0xb4], 1
je 0x18001d085
mov rdx, qword [rbx + 0x318]
xor r8d, r8d
lea rcx, [rdx + 0xa8]
call fcn.18002eed0
mov rax, qword [0x18008af10]
movups xmm0, xmmword [rax + 0x171c]
movups xmmword [rbp - 0x51], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x1640]
movss dword [rbp - 0x45], xmm0
test r13b, r13b
je 0x18001d025
movss xmm4, dword [r15 + 0x40]
lea rcx, [rbp - 0x51]
movss xmm1, dword [r15 + 0x44]
movaps xmm0, xmm4
movss xmm3, dword [rdi + 0x44]
movaps xmm2, xmm1
addss xmm0, dword [r15 + 0x48]
addss xmm2, dword [r15 + 0x4c]
shufps xmm4, xmm4, 0xe1
movss xmm4, xmm1
movaps xmmword [rsp + 0xd0], xmm6
movaps xmmword [rsp + 0xc0], xmm7
movaps xmm6, xmm3
movss xmm7, dword [rdi + 0x40]
addss xmm6, dword [rdi + 0x4c]
movaps xmm5, xmm7
shufps xmm4, xmm4, 0xc6
addss xmm5, dword [rdi + 0x48]
shufps xmm7, xmm7, 0xe1
movss xmm4, xmm0
movss xmm7, xmm3
shufps xmm4, xmm4, 0x27
shufps xmm7, xmm7, 0xc6
movss xmm4, xmm2
shufps xmm4, xmm4, 0x39
movss xmm7, xmm5
movdqa xmmword [rbp - 0x39], xmm4
shufps xmm7, xmm7, 0x27
movups xmmword [rbp - 0x69], xmm4
movss xmm7, xmm6
shufps xmm7, xmm7, 0x39
movups xmmword [rbp - 0x69], xmm7
movdqa xmmword [rbp - 0x69], xmm7
call fcn.180003f10
mov rcx, qword [rbx + 0x318]
lea rdx, [rbp - 0x69]
mov r9d, eax
movss dword [rsp + 0x20], xmm8
lea r8, [rbp - 0x39]
call fcn.180033520
movaps xmm7, xmmword [rsp + 0xc0]
movaps xmm6, xmmword [rsp + 0xd0]
jmp 0x18001d072
movss xmm0, dword [rdi + 0x40]
lea rcx, [rbp - 0x51]
movss xmm1, dword [rdi + 0x44]
addss xmm0, dword [rdi + 0x48]
addss xmm1, dword [rdi + 0x4c]
movss dword [rbp - 0x69], xmm0
movss dword [rbp - 0x65], xmm1
call fcn.180003f10
mov rcx, qword [rbx + 0x318]
lea rdx, [rdi + 0x40]
mov r9d, eax
mov dword [rsp + 0x28], 0xf
lea r8, [rbp - 0x69]
movss dword [rsp + 0x20], xmm8
call fcn.18002e2f0
mov rdx, qword [rbx + 0x318]
lea rcx, [rdx + 0xa8]
call fcn.18002eb50
movaps xmm8, xmmword [rsp + 0xb0]
mov r13, qword [rsp + 0x128]
test rbx, rbx
je 0x18001d0ae
cmp dword [rdi + 0x28], 0
jle 0x18001d0ae
mov rdx, rbx
mov rcx, rdi
call fcn.18001d3d0
jmp 0x18001d0c9
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 0x18001d0e1
mov ecx, dword [rax + 0x18]
test ecx, ecx
je 0x18001d0e1
mov dword [rdi + 0xa8], ecx
jmp 0x18001d0f7
cmp dword [rdi + 0x28], 0
jle 0x18001d0f7
mov rax, qword [rdi + 0x30]
mov rcx, qword [rax]
mov eax, dword [rcx + 8]
mov dword [rdi + 0xa8], eax
mov rsi, qword [rbp - 0x59]
test rbx, rbx
je 0x18001d13b
test byte [rdi + 0xb4], 1
je 0x18001d13b
cmp qword [rdi + 0x10], 0
jne 0x18001d13b
mov rax, qword [rsi + 0x1c48]
test rax, rax
je 0x18001d125
cmp qword [rax + 0x3e8], rbx
je 0x18001d13b
mov rcx, rbx
call fcn.1800219c0
mov eax, dword [rsi + 0x1ba8]
mov dword [rdi + 0x9c], eax
jmp 0x18001d14c
mov eax, dword [rsi + 0x1ba8]
mov dword [rdi + 0x9c], eax
test rbx, rbx
je 0x18001d177
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x18001d15a
call fcn.18001c470
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x18001d168
call fcn.18001c470
cmp qword [rdi + 0x10], 0
jne 0x18001d177
mov rcx, rbx
call fcn.18000c850
cmp byte [rbp - 0x78], 0
je 0x18001d182
call fcn.180010bb0
mov rbx, qword [rsp + 0x118]
mov rcx, qword [rbp - 1]
xor rcx, rsp
call fcn.180073200
add rsp, 0xe0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret