Function at 0x180004c50
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x3c0
movups xmm0, xmmword [0x1800090d0]
xor r8d, r8d
lea rdx, [rsp + 0x20]
mov rbx, rcx
movaps xmmword [rsp + 0x20], xmm0
call qword [sym.imp.HighPoly.dll_public:_class_A3d_Channel____ptr64___cdecl_A3d_Channel::GetChildFromLinkGuid_struct__GUID__int____ptr64]
movups xmm0, xmmword [0x1800090d0]
mov r8d, 1
lea rdx, [rsp + 0x20]
mov rcx, rbx
mov rdi, rax
movaps xmmword [rsp + 0x20], xmm0
call qword [sym.imp.HighPoly.dll_public:_class_A3d_Channel____ptr64___cdecl_A3d_Channel::GetChildFromLinkGuid_struct__GUID__int____ptr64]
mov rbx, rax
test rdi, rdi
je 0x180004f1e
test rax, rax
je 0x180004f1e
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx + 0xa0]
test rax, rax
je 0x180004f1e
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + 0xa0]
test rax, rax
je 0x180004f1e
mov rax, qword [rdi]
mov rcx, rdi
mov byte [rsp + 0x30], 0
call qword [rax + 0xa0]
lea rdx, [rsp + 0x290]
sub rdx, rax
nop dword [rax + rax]
movzx ecx, byte [rax]
mov byte [rdx + rax], cl
lea rax, [rax + 1]
test cl, cl
jne 0x180004d00
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0xa0]
lea rdx, [rsp + 0x30]
sub rdx, rax
movzx ecx, byte [rax]
mov byte [rdx + rax], cl
lea rax, [rax + 1]
test cl, cl
jne 0x180004d22
mov rax, qword [0x180008128]
mov rcx, qword [rax]
mov rax, qword [rcx]
call qword [rax + 8]
test rax, rax
je 0x180004f1e
mov rax, qword [0x180008128]
mov rcx, qword [rax]
mov rax, qword [rcx]
call qword [rax + 0x10]
lea rdx, [rsp + 0x160]
sub rdx, rax
nop dword [rax]
nop dword [rax + rax]
movzx ecx, byte [rax]
mov byte [rdx + rax], cl
lea rax, [rax + 1]
test cl, cl
jne 0x180004d70
lea rcx, [rsp + 0x160]
dec rcx
nop dword [rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x180004d90
mov eax, dword [0x180009360]
or r8, 0xffffffffffffffff
movsd xmm0, qword [str.cachedata_]
movsd qword [rcx], xmm0
mov dword [rcx + 8], eax
movzx eax, byte [0x180009364]
mov byte [rcx + 0xc], al
lea rcx, [rsp + 0x30]
mov rax, r8
inc rax
cmp byte [rcx + rax], 0
jne 0x180004dc5
xor ecx, ecx
movsxd r10, eax
movabs r11, 0x20000001a801
test eax, eax
jle 0x180004e1b
mov edx, ecx
nop dword [rax]
nop word [rax + rax]
movzx r9d, byte [rsp + rdx + 0x30]
lea eax, [r9 - 0x2f]
cmp al, 0x2d
ja 0x180004e08
movsx rax, al
bt r11, rax
jb 0x180004e0e
cmp r9b, 0x7c
jne 0x180004e13
mov byte [rsp + rdx + 0x30], 0x5f
inc rdx
cmp rdx, r10
jl 0x180004df0
lea rax, [rsp + 0x290]
inc r8
cmp byte [rax + r8], cl
jne 0x180004e23
movsxd r9, r8d
test r8d, r8d
jle 0x180004e6e
nop dword [rax]
nop dword [rax + rax]
movzx edx, byte [rsp + rcx + 0x290]
lea eax, [rdx - 0x2f]
cmp al, 0x2d
ja 0x180004e59
movsx rax, al
bt r11, rax
jb 0x180004e5e
cmp dl, 0x7c
jne 0x180004e66
mov byte [rsp + rcx + 0x290], 0x5f
inc rcx
cmp rcx, r9
jl 0x180004e40
lea rcx, [rsp + 0x160]
dec rcx
nop dword [rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x180004e80
lea r8, [rsp + 0x290]
xor edx, edx
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [r8 + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x180004ea0
lea rcx, [rsp + 0x160]
dec rcx
nop dword [rax + rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x180004ec0
movzx eax, word [0x180009368]
mov word [rcx], ax
lea rcx, [rsp + 0x160]
dec rcx
nop
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x180004ee0
lea r8, [rsp + 0x30]
xor edx, edx
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r8 + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x180004f00
lea rcx, [rsp + 0x160]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rbx, qword [rsp + 0x3d0]
add rsp, 0x3c0
pop rdi
ret