Function at 0x180051500
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 [0x1800bf040]
xor rax, rsp
mov qword [rbp - 1], rax
mov rsi, qword [0x1800c2180]
xor r14d, r14d
mov rdi, rcx
mov qword [rbp - 0x41], rsi
mov r15, rsi
mov eax, dword [rsi + 0x3f60]
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 0x1800516c7
call fcn.1800511a0
xor eax, eax
xorps xmm0, xmm0
mov r8d, eax
mov qword [rbp - 0x21], rax
movups xmmword [rbp - 0x31], xmm0
cmp dword [rdi + 0x30], eax
jle 0x18005158b
mov rcx, rdi
inc r8d
mov qword [rbp - 0x29], rcx
mov dword [rbp - 0x21], r8d
jmp 0x18005158f
mov rcx, qword [rbp - 0x29]
mov rdx, qword [rbp - 0x31]
mov eax, dword [rdi + 0x10]
shr eax, 0xb
test al, 1
cmovne rdx, rdi
mov qword [rbp - 0x31], rdx
cmp r8d, 1
jle 0x1800515ae
test rdx, rdx
jne 0x1800515f0
mov rax, qword [rdi + 0x20]
test rax, rax
je 0x1800515cf
lea rdx, [rbp - 0x31]
mov rcx, rax
call fcn.180051120
mov rcx, qword [rbp - 0x29]
mov rdx, qword [rbp - 0x31]
mov r8d, dword [rbp - 0x21]
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x1800515f0
lea rdx, [rbp - 0x31]
mov rcx, rax
call fcn.180051120
mov rcx, qword [rbp - 0x29]
mov rdx, qword [rbp - 0x31]
mov r8d, dword [rbp - 0x21]
cmp r8d, 1
mov qword [rdi + 0x98], rdx
mov rax, r14
mov dword [rdi + 0xa8], r8d
cmove rax, rcx
mov qword [rdi + 0xa0], rax
cmp dword [rdi + 0xb8], r14d
jne 0x18005162a
test rcx, rcx
je 0x1800516a9
mov eax, dword [rcx]
mov dword [rdi + 0xb8], eax
test rcx, rcx
je 0x1800516a9
mov rax, qword [rcx + 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 [rcx + 0x30]
cmp eax, r9d
jle 0x1800516a9
mov r11, qword [rcx + 0x38]
mov r10, rax
mov r8d, r9d
lea rcx, [r11 + 8]
nop dword [rax + rax]
mov rax, qword [rcx]
cmp byte [rax + 0x2d], r14b
je 0x18005168a
inc r9d
inc r8
add rcx, 8
cmp r8, r10
jl 0x180051670
jmp 0x1800516a9
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 rdx, rdx
je 0x1800516c0
nop
or byte [rdx + 0xc8], 0x20
mov rdx, qword [rdx + 0x18]
test rdx, rdx
jne 0x1800516b0
mov rsi, qword [0x1800c2180]
cmp qword [rdi + 0x40], r14
je 0x1800516e6
mov eax, dword [rdi + 0x10]
shr eax, 0xc
test al, 1
je 0x1800516e6
mov rcx, rdi
call fcn.180053880
mov rsi, qword [0x1800c2180]
xor r8b, r8b
mov qword [rsp + 0xf8], rbx
cmp qword [rdi + 0x18], r14
jne 0x1800518cf
test dword [rdi + 0x10], 0x400
jne 0x1800518cf
mov edx, dword [rdi + 0x30]
cmp edx, 1
jg 0x180051730
cmp qword [rdi + 0x20], r14
jne 0x180051730
cmp byte [r15 + 0x72], r8b
jne 0x180051730
test edx, edx
je 0x18005172d
mov rax, qword [rdi + 0x38]
mov rcx, qword [rax]
cmp byte [rcx + 0x2c], r8b
jne 0x180051730
mov r8b, 1
cmp dword [rdi + 0xa8], r14d
je 0x180051742
test r8b, r8b
je 0x1800518cf
cmp edx, 1
jne 0x1800517ea
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 0x1800517ab
cmp qword [r15 + 0x4268], rax
jne 0x1800517ab
mov rcx, rbx
call fcn.180044d70
mov rsi, qword [0x1800c2180]
mov rax, qword [rdi + 0x88]
test rax, rax
je 0x1800517ea
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 + 0xca], r14b
je 0x1800517ea
mov qword [rdx + 0x88], rbx
mov byte [rbx + 0xca], 1
mov rax, qword [rdi + 0x88]
test rax, rax
je 0x18005180d
cmp qword [rax + 0x428], rdi
jne 0x180051806
mov qword [rax + 0x428], r14
mov qword [rdi + 0x88], r14
cmp dword [rdi + 0x30], 1
jne 0x18005182b
mov rcx, qword [rdi + 0x38]
mov rax, qword [rcx]
mov qword [rdi + 0x90], rax
mov rax, qword [rcx]
and byte [rax + 0x401], 0xfe
cmp qword [rdi + 0x40], r14
je 0x180051840
mov rcx, rdi
call fcn.180053880
mov rsi, qword [0x1800c2180]
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 [r15 + 0x3f60]
mov dword [rdi + 0xb0], eax
je 0x1800522e0
cmp dword [rdi + 0x30], 1
jne 0x1800522e0
mov rax, qword [rdi + 0x38]
mov rbx, qword [rax]
mov rcx, rbx
call fcn.18003a000
movss xmm1, dword [rsi + 0x366c]
movss xmm0, dword [rsi + 0x3670]
subss xmm1, dword [rdi + 0x48]
subss xmm0, dword [rdi + 0x4c]
mov qword [rsi + 0x4000], rbx
movss dword [rsi + 0x4048], xmm1
movss dword [rsi + 0x404c], xmm0
and byte [rdi + 0xc9], 0xfe
jmp 0x1800522e0
test byte [rdi + 0xc8], 1
je 0x180051961
cmp qword [rdi + 0x88], r14
jne 0x180051961
cmp qword [rdi + 0x18], r14
jne 0x180051961
test dword [rdi + 0x10], 0x400
jne 0x180051961
cmp qword [rdi + 0x20], r14
jne 0x180051961
mov r9d, dword [rdi + 0xbc]
test r9d, r9d
je 0x18005193c
mov r8d, dword [rdi + 0x30]
mov ecx, r14d
test r8d, r8d
jle 0x18005193c
mov rdx, qword [rdi + 0x38]
mov rax, qword [rdx]
cmp dword [rax + 8], r9d
je 0x18005192c
inc ecx
add rdx, 8
cmp ecx, r8d
jl 0x180051916
jmp 0x18005193c
mov rax, qword [rdi + 0x38]
movsxd rcx, ecx
mov rdx, qword [rax + rcx*8]
test rdx, rdx
jne 0x180051943
mov rax, qword [rdi + 0x38]
mov rdx, qword [rax]
cmp byte [rdx + 0xe4], r14b
jg 0x180051955
cmp byte [rdx + 0xe5], r14b
jle 0x180051961
mov dword [rdi + 0x14], 2
jmp 0x1800522e0
mov r8d, dword [rdi + 0x30]
mov qword [rsp + 0x100], r12
mov r12d, dword [rdi + 0x10]
movaps xmmword [rsp + 0x90], xmm9
test r8d, r8d
jle 0x18005199e
bt r12d, 0xe
jb 0x18005199e
movzx eax, byte [rdi + 0xc8]
mov r9d, r14d
and al, 0xef
or al, 0x10
and al, 0xf7
mov byte [rdi + 0xc8], al
jmp 0x1800519ba
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 0x180051a14
mov r10, r14
nop dword [rax]
mov rax, qword [rdi + 0x38]
lea r10, [r10 + 8]
mov rdx, qword [r10 + rax - 8]
movzx eax, byte [rdi + 0xc8]
movzx ecx, byte [rdx + 0xd5]
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 + 0x401]
setg cl
and al, 0xfe
or cl, al
inc r9d
mov byte [rdx + 0x401], cl
mov r8d, dword [rdi + 0x30]
cmp r9d, r8d
jl 0x1800519c0
mov ecx, dword [rdi + 0x10]
bt r12d, 0xf
jae 0x180051a22
and byte [rdi + 0xc8], 0xf7
shr ecx, 0xa
mov rbx, r14
mov byte [rbp - 0x59], bl
xorps xmm9, xmm9
test cl, 1
je 0x180051a40
mov rbx, qword [rdi + 0x88]
jmp 0x180051d3c
mov rax, qword [rdi + 0x18]
test rax, rax
jne 0x180051cc8
test byte [rdi + 0xc8], 1
je 0x180051ce0
test r8d, r8d
jle 0x180051a68
mov rax, qword [rdi + 0x38]
mov rcx, qword [rax]
jmp 0x180051a6b
mov rcx, r14
mov eax, dword [rdi + 0xc4]
shl eax, 0x1d
sar eax, 0x1d
cmp eax, 2
jne 0x180051a8f
test rcx, rcx
je 0x180051abf
or dword [rsi + 0x40f0], 1
movsd xmm0, qword [rcx + 0x48]
jmp 0x180051a9f
cmp eax, 1
jne 0x180051abf
or dword [rsi + 0x40f0], eax
movsd xmm0, qword [rdi + 0x48]
mov byte [rsi + 0x412c], 1
mov dword [rsi + 0x40f4], 1
mov qword [rsi + 0x410c], r14
movsd qword [rsi + 0x4104], xmm0
mov eax, dword [rdi + 0xc4]
shl eax, 0x1a
sar eax, 0x1d
cmp eax, 2
jne 0x180051ae2
test rcx, rcx
je 0x180051b05
or dword [rsi + 0x40f0], eax
movsd xmm0, qword [rcx + 0x58]
jmp 0x180051af3
cmp eax, 1
jne 0x180051b05
or dword [rsi + 0x40f0], 2
movsd xmm0, qword [rdi + 0x50]
mov dword [rsi + 0x40f8], 1
movsd qword [rsi + 0x4114], xmm0
mov eax, dword [rdi + 0xc4]
and al, 0x38
cmp al, 0x10
jne 0x180051b34
test rcx, rcx
je 0x180051b34
movzx eax, byte [rcx + 0xce]
or dword [rsi + 0x40f0], 8
mov byte [rsi + 0x412d], al
mov dword [rsi + 0x40fc], 1
mov eax, dword [rdi + 0xc4]
and eax, 0x1c0
cmp eax, 0x80
jne 0x180051b5e
test rcx, rcx
je 0x180051b5e
mov eax, dword [rcx + 0x38]
or dword [rsi + 0x40f0], 0x100
mov dword [rsi + 0x4154], eax
or dword [rsi + 0x40f0], 0x400
lea r8, str.DockNode__02X
movups xmm0, xmmword [rdi + 0x64]
mov edx, 0x14
lea rcx, [rbp - 0x19]
movups xmmword [rsi + 0x415c], xmm0
movsd xmm1, qword [rdi + 0x74]
movsd qword [rsi + 0x416c], xmm1
mov eax, dword [rdi + 0x7c]
mov dword [rsi + 0x4174], eax
mov r9d, dword [rdi]
call fcn.1800365e0
mov rax, qword [0x1800c2180]
lea rdx, [rbp - 0x55]
mov ecx, 2
mov qword [rbp - 0x55], rbx
or dword [rax + 0x40f0], 0x40
mov dword [rax + 0x4150], r14d
call fcn.180037170
xor edx, edx
lea rcx, [rbp - 0x19]
mov r8d, 0x20081139
call fcn.180041c40
mov rsi, qword [0x1800c2180]
lea r9, [0x1800a70c0]
movsxd rax, dword [rsi + 0x4190]
mov rdx, qword [rsi + 0x4198]
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 0x180051c43
mov eax, dword [r9 + rax*4 + 4]
cmp eax, 1
jne 0x180051c26
mov eax, dword [rdx + rcx*4 - 8]
mov dword [r8 + rsi + 0x3908], eax
jmp 0x180051c43
cmp eax, 2
jne 0x180051c43
mov eax, dword [rdx + rcx*4 - 8]
mov dword [r8 + rsi + 0x3908], eax
mov eax, dword [rdx + rcx*4 - 4]
mov dword [r8 + rsi + 0x390c], eax
dec dword [rsi + 0x4190]
mov rax, qword [rdi + 0x88]
mov rbx, qword [r15 + 0x3fe0]
mov byte [rbp - 0x59], 1
test rax, rax
je 0x180051c75
cmp rax, rbx
je 0x180051c75
cmp qword [rax + 0x428], rdi
jne 0x180051c75
mov qword [rax + 0x428], r14
mov qword [rbx + 0x428], rdi
mov qword [rdi + 0x88], rbx
movss xmm0, dword [rbx + 0x48]
movss xmm1, dword [rbx + 0x4c]
movss dword [rbx + 0x118], xmm0
movss dword [rbx + 0x11c], xmm1
mov rcx, qword [rdi + 0x88]
movss dword [rdi + 0x48], xmm0
movss dword [rdi + 0x4c], xmm1
movsd xmm0, qword [rbx + 0x50]
movsd qword [rdi + 0x50], xmm0
cmp byte [rcx + 0xd1], r14b
je 0x180051cd6
call fcn.180044cc0
jmp 0x180051cd6
mov rbx, qword [rax + 0x88]
mov qword [rdi + 0x88], rbx
and dword [rdi + 0xc4], 0xfffffe00
test byte [rdi + 0xc9], 1
je 0x180051d3c
mov r14, qword [rdi + 0x88]
test r14, r14
je 0x180051d3c
mov rcx, r14
call fcn.18003a000
movss xmm1, dword [rsi + 0x366c]
movss xmm0, dword [rsi + 0x3670]
subss xmm1, dword [rdi + 0x48]
subss xmm0, dword [rdi + 0x4c]
mov qword [rsi + 0x4000], r14
movss dword [rsi + 0x4048], xmm1
movss dword [rsi + 0x404c], xmm0
and byte [rdi + 0xc9], 0xfe
mov rsi, qword [0x1800c2180]
mov rcx, qword [rdi + 0x18]
mov qword [rsp + 0x108], r13
test rcx, rcx
jne 0x180051d86
mov rax, qword [r15 + 0x4268]
test rax, rax
je 0x180051d86
mov rdx, qword [rax + 0x3a0]
mov rax, qword [rdx + 0x420]
test rax, rax
je 0x180051d86
cmp qword [rdx + 0x390], rbx
jne 0x180051d86
mov eax, dword [rax]
mov r14, qword [rdi + 0x98]
mov dword [rdi + 0xb8], eax
jmp 0x180051d96
mov r14, qword [rdi + 0x98]
test rcx, rcx
jne 0x180051f57
test rbx, rbx
je 0x180051f57
test r12b, 8
je 0x180051f57
test r14, r14
je 0x180051f57
cmp qword [r14 + 0x20], 0
jne 0x180051f57
cmp dword [r14 + 0x30], 0
jne 0x180051f57
cmp byte [rsi + 0x43fc], 0
lea r15, [rsi + 0x4410]
mov esi, 0
mov r13b, 1
cmove r15, rsi
test r15, r15
je 0x180051e18
cmp dword [r15 + 0x14], 0xffffffff
je 0x180051e18
lea rdx, [r15 + 0x18]
lea rcx, str._IMWINDOW
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x180051e18
mov rdx, qword [r15]
mov rcx, rbx
mov rdx, qword [rdx]
call fcn.1800539e0
test al, al
jne 0x180051f5e
mov rax, qword [r14 + 0x18]
mov rcx, r14
movaps xmmword [rsp + 0xb0], xmm6
movaps xmmword [rsp + 0xa0], xmm7
test rax, rax
je 0x180051e40
mov rcx, rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x180051e34
movss xmm0, dword [rcx + 0x48]
movss xmm4, dword [r14 + 0x48]
movaps xmm6, xmm0
comiss xmm4, xmm0
movss xmm3, dword [r14 + 0x4c]
movaps xmm2, xmm4
movss xmm7, dword [rcx + 0x4c]
movaps xmm1, xmm3
addss xmm6, dword [rcx + 0x50]
addss xmm2, dword [r14 + 0x50]
addss xmm1, dword [r14 + 0x54]
addss xmm7, dword [rcx + 0x54]
movss xmm5, dword [0x1800acde0]
jbe 0x180051e86
addss xmm4, xmm5
comiss xmm6, xmm2
movaps xmm6, xmmword [rsp + 0xb0]
jbe 0x180051e97
subss xmm2, xmm5
comiss xmm3, dword [rcx + 0x4c]
jbe 0x180051ea1
addss xmm3, xmm5
comiss xmm7, xmm1
movaps xmm7, xmmword [rsp + 0xa0]
jbe 0x180051eb2
subss xmm1, xmm5
comiss xmm4, xmm2
ja 0x180051f5e
comiss xmm3, xmm1
ja 0x180051f5e
mov rcx, qword [rbx + 0x390]
subss xmm1, xmm3
mov r15, qword [rbp - 0x41]
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 [rbx + 0x278], eax
subss xmm0, dword [rbx + 0x48]
subss xmm1, dword [rbx + 0x4c]
cvttss2si eax, xmm0
mov word [rbp - 0x55], ax
cvttss2si eax, xmm1
mov word [rbp - 0x53], ax
mov eax, dword [rbp - 0x55]
mov dword [rbx + 0x27c], eax
test rcx, rcx
je 0x180051f62
mov word [rbp - 0x55], dx
mov word [rbp - 0x53], r8w
mov eax, dword [rbp - 0x55]
mov dword [rcx + 0x278], 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 + 0x27c], eax
jmp 0x180051f62
xor r13b, r13b
xor esi, esi
jmp 0x180051f62
mov r15, qword [rbp - 0x41]
cmp qword [rdi + 0x18], 0
jne 0x180051fa8
test rbx, rbx
je 0x1800521ca
mov rdx, qword [rbx + 0x2c0]
mov r8d, 1
lea rcx, [rdx + 0xa8]
call fcn.180064d70
mov r8, qword [rbx + 0x50]
xor r9d, r9d
mov rdx, qword [rbx + 0x48]
mov rcx, rdi
call fcn.180055780
mov rcx, rdi
call fcn.180055c50
jmp 0x180051fb1
test rbx, rbx
je 0x1800521ca
cmp qword [rdi + 0x20], 0
jne 0x180052073
cmp dword [rdi + 0x30], 0
jne 0x180052073
test byte [rdi + 0xc8], 1
je 0x180052073
mov rdx, qword [rbx + 0x2c0]
xor r8d, r8d
lea rcx, [rdx + 0xa8]
call fcn.180064d70
test r12b, 8
je 0x180051ff7
mov dword [rdi + 0x80], esi
jmp 0x18005206c
mov rax, qword [0x1800c2180]
lea rcx, [rbp - 0x41]
movups xmm0, xmmword [rax + 0x3c40]
movups xmmword [rbp - 0x41], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x3908]
movss dword [rbp - 0x35], xmm0
call fcn.180036bf0
mov dword [rdi + 0x80], eax
test eax, eax
je 0x18005206c
movss xmm1, dword [rdi + 0x4c]
lea rdx, [rdi + 0x48]
movss xmm0, dword [rdi + 0x50]
lea r8, [rbp - 0x41]
addss xmm1, dword [rdi + 0x54]
addss xmm0, dword [rdx]
mov rcx, qword [rbx + 0x2c0]
mov r9d, eax
mov dword [rsp + 0x28], esi
movss dword [rsp + 0x20], xmm9
movss dword [rbp - 0x3d], xmm1
movss dword [rbp - 0x41], xmm0
call fcn.180064410
or byte [rdi + 0xc8], 4
test rbx, rbx
je 0x1800521ca
cmp qword [rdi + 0x18], 0
jne 0x18005219e
test r12b, 8
je 0x18005219e
test byte [rdi + 0xc8], 1
je 0x18005219e
mov rdx, qword [rbx + 0x2c0]
xor r8d, r8d
lea rcx, [rdx + 0xa8]
call fcn.180064d70
mov rax, qword [0x1800c2180]
lea rcx, [rbp - 0x31]
movups xmm0, xmmword [rax + 0x39f0]
movups xmmword [rbp - 0x31], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x3908]
movss dword [rbp - 0x25], xmm0
test r13b, r13b
je 0x180052159
movss xmm0, dword [r14 + 0x48]
movss xmm1, dword [r14 + 0x4c]
movss dword [rbp - 0x41], xmm0
addss xmm0, dword [r14 + 0x50]
movss dword [rbp - 0x3d], xmm1
addss xmm1, dword [r14 + 0x54]
movss dword [rbp - 0x39], xmm0
movss xmm0, dword [rdi + 0x48]
movss dword [rbp - 0x35], xmm1
movss xmm1, dword [rdi + 0x4c]
movss dword [rbp - 0x55], xmm0
addss xmm0, dword [rdi + 0x50]
movss dword [rbp - 0x51], xmm1
addss xmm1, dword [rdi + 0x54]
movss dword [rbp - 0x4d], xmm0
movss dword [rbp - 0x49], xmm1
call fcn.180036bf0
mov rcx, qword [rbx + 0x2c0]
lea rdx, [rbp - 0x55]
mov r9d, eax
movss dword [rsp + 0x20], xmm9
lea r8, [rbp - 0x41]
call fcn.1800689d0
jmp 0x18005219e
movss xmm0, dword [rdi + 0x50]
movss xmm1, dword [rdi + 0x54]
addss xmm0, dword [rdi + 0x48]
addss xmm1, dword [rdi + 0x4c]
movss dword [rbp - 0x41], xmm0
movss dword [rbp - 0x3d], xmm1
call fcn.180036bf0
mov rcx, qword [rbx + 0x2c0]
lea rdx, [rdi + 0x48]
mov r9d, eax
mov dword [rsp + 0x28], esi
lea r8, [rbp - 0x41]
movss dword [rsp + 0x20], xmm9
call fcn.180064410
mov rdx, qword [rbx + 0x2c0]
mov r8d, 1
lea rcx, [rdx + 0xa8]
call fcn.180064d70
cmp dword [rdi + 0x30], 0
jle 0x1800521ca
mov rdx, rbx
mov rcx, rdi
call fcn.180052530
jmp 0x1800521e1
movzx eax, byte [rdi + 0xc8]
and al, 0xbf
mov dword [rdi + 0xc0], esi
and al, 0xfd
mov byte [rdi + 0xc8], al
mov rax, qword [rdi + 0x40]
movaps xmm9, xmmword [rsp + 0x90]
mov r13, qword [rsp + 0x108]
mov r12, qword [rsp + 0x100]
test rax, rax
je 0x180052212
mov ecx, dword [rax + 0x18]
test ecx, ecx
je 0x180052212
mov dword [rdi + 0xbc], ecx
jmp 0x180052228
cmp dword [rdi + 0x30], 0
jle 0x180052228
mov rax, qword [rdi + 0x38]
mov rcx, qword [rax]
mov eax, dword [rcx + 8]
mov dword [rdi + 0xbc], eax
test rbx, rbx
je 0x180052269
test byte [rdi + 0xc8], 1
je 0x180052269
cmp qword [rdi + 0x18], 0
jne 0x180052269
mov rax, qword [r15 + 0x4000]
test rax, rax
je 0x180052252
cmp qword [rax + 0x3b0], rbx
je 0x180052269
mov rcx, rbx
call fcn.1800572a0
mov eax, dword [r15 + 0x3f60]
mov dword [rdi + 0xb0], eax
jmp 0x18005227b
mov eax, dword [r15 + 0x3f60]
mov dword [rdi + 0xb0], eax
test rbx, rbx
je 0x1800522d5
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x180052289
call fcn.180051500
mov rcx, qword [rdi + 0x28]
test rcx, rcx
je 0x180052297
call fcn.180051500
cmp qword [rdi + 0x18], 0
jne 0x1800522bf
mov rdx, qword [rbx + 0x2c0]
mov r8d, 1
lea rcx, [rdx + 0xa8]
call fcn.180064d70
mov rcx, rbx
call fcn.180040790
mov rdx, qword [rbx + 0x2c0]
xor r8d, r8d
lea rcx, [rdx + 0xa8]
call fcn.180064d70
cmp byte [rbp - 0x59], 0
je 0x1800522e0
call fcn.180044970
mov rbx, qword [rsp + 0xf8]
mov rcx, qword [rbp - 1]
xor rcx, rsp
call fcn.180080a40
add rsp, 0xc0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret