Function at 0x4513a0
Capabilities:
Delete directory
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fb633
mov eax, dword fs:[0]
push eax
sub esp, 0x4a4
mov eax, dword [0x6c2d9c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
push eax
mov dword [ebp - 0x48c], eax
mov dword [ebp - 0x4a4], 0
call fcn.00460be0
add esp, 4
test eax, eax
je 0x4515f2
push str.AdobeGCData_folder_already_exists__validating_permissions
push 0
push 4
push str.AGSService
push dword [0x6ce0ac]
call fcn.004ae670
push str.Validating_permissions_of_AdobeGCData_folder
push 0
push 4
push str.AGSService
push dword [0x6ce0ac]
call fcn.004ae670
push dword [ebp - 0x48c]
call fcn.004614e0
mov edi, eax
mov dword [ebp - 0x49c], 0
add esp, 0x2c
mov byte [ebp - 0x481], 0
test edi, edi
je 0x451578
lea eax, [ebp - 0x49c]
push eax
push 0
push 0
push 7
push edi
call dword [sym.imp.ADVAPI32.dll_GetFileSecurityW]
test eax, eax
jne 0x451578
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x451578
push str.Successfully_fetched_length_of_security_descriptor
push 0
push 4
push str.AGSService
push dword [0x6ce0ac]
call fcn.004ae670
push dword [ebp - 0x49c]
call fcn.005873b1
mov esi, eax
add esp, 0x18
test esi, esi
je 0x45158d
lea eax, [ebp - 0x49c]
push eax
push dword [ebp - 0x49c]
push esi
push 7
push edi
call dword [sym.imp.ADVAPI32.dll_GetFileSecurityW]
test eax, eax
je 0x45157e
push str.Successfully_fetched_security_descriptor
push 0
push 4
push str.AGSService
push dword [0x6ce0ac]
call fcn.004ae670
add esp, 0x14
lea eax, [ebp - 0x4ac]
push eax
lea eax, [ebp - 0x488]
push eax
lea eax, [ebp - 0x4b0]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_GetSecurityDescriptorDacl]
test eax, eax
je 0x45157e
push str.Successfully_fetched_DACL_from_security_descriptor
push 0
push 4
push str.AGSService
push dword [0x6ce0ac]
call fcn.004ae670
add esp, 0x14
lea eax, [ebp - 0x4a0]
push eax
lea eax, [ebp - 0x4a8]
push eax
push dword [ebp - 0x488]
call dword [sym.imp.ADVAPI32.dll_GetExplicitEntriesFromAclW]
mov eax, dword [ebp - 0x4a0]
test eax, eax
je 0x45157e
cmp dword [eax], 0x1f01ff
jne 0x45157e
cmp dword [eax + 4], 3
je 0x45157e
push str.Valid_Permissions_found
push 0
push 4
push str.AGSService
push dword [0x6ce0ac]
call fcn.004ae670
add esp, 0x14
mov byte [ebp - 0x481], 1
jmp 0x45157e
mov esi, dword [ebp - 0x4a8]
test esi, esi
je 0x45158d
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
call esi
jmp 0x451593
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x4a0]
test eax, eax
je 0x4515a0
push eax
call esi
cmp byte [ebp - 0x481], 0
jne 0x451621
push str.Invalid_permissions_found_for_AdobeGCData
push 0
push 4
push str.AGSService
push dword [0x6ce0ac]
call fcn.004ae670
push dword [ebp - 0x48c]
call fcn.004b0160
add esp, 0x18
test al, al
je 0x451621
push str.Successfully_restored_permissions_for_ADobeGCData
push 0
push 4
push str.AGSService
push dword [0x6ce0ac]
call fcn.004ae670
add esp, 0x14
jmp 0x451621
push str.AdobeGCData_folder_does_not_exist__creating_folder
push 0
push 4
push str.AGSService
push dword [0x6ce0ac]
call fcn.004ae670
add esp, 0x14
mov ecx, esi
push dword [ebp - 0x48c]
call fcn.00451150
mov dword [ebp - 0x4a4], eax
push 3
push dword [ebp - 0x48c]
lea eax, [ebp - 0x47c]
lea ecx, [ebp - 0x480]
mov dword [ebp - 0x480], eax
call fcn.00450110
push dword [ebp - 0x480]
lea eax, [ebp - 0x31c]
push 0x104
push eax
call fcn.00587327
mov eax, dword [ebp - 0x480]
lea ecx, [ebp - 0x47c]
add esp, 0xc
cmp eax, ecx
je 0x451673
push eax
call fcn.00587396
add esp, 4
push 2
lea eax, [ebp - 0x31c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x114]
push 2
push eax
call fcn.004615d0
push 0x62dab8
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.00461410
push 0x62ed94
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.00461410
add esp, 0x20
mov dword [ebp - 0x498], 0
mov dword [ebp - 0x494], 0
mov dword [ebp - 0x490], 0
push 0xe
push str.AdobeGCData.db
lea ecx, [ebp - 0x334]
mov dword [ebp - 4], 0
mov dword [ebp - 0x324], 0
mov dword [ebp - 0x320], 0xf
mov byte [ebp - 0x334], 0
call fcn.0044e410
lea eax, [ebp - 0x334]
mov byte [ebp - 4], 1
push eax
push 0
lea ecx, [ebp - 0x498]
call fcn.0044dec0
mov edx, dword [ebp - 0x320]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x451767
mov ecx, dword [ebp - 0x334]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x45175d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x451f38
push edx
push ecx
call fcn.0055d3b2
add esp, 8
push 0x15
push str.AdobeGCLaunchEvent.db
lea ecx, [ebp - 0x334]
mov dword [ebp - 0x324], 0
mov dword [ebp - 0x320], 0xf
mov byte [ebp - 0x334], 0
call fcn.0044e410
mov esi, dword [ebp - 0x490]
mov edi, dword [ebp - 0x494]
mov byte [ebp - 4], 2
cmp edi, esi
je 0x4517e4
movups xmm0, xmmword [ebp - 0x334]
mov dword [edi + 0x10], 0
mov edx, 0xf
mov dword [edi + 0x14], 0
movups xmmword [edi], xmm0
mov byte [ebp - 0x334], 0
movq xmm0, qword [ebp - 0x324]
movq qword [edi + 0x10], xmm0
add edi, 0x18
mov dword [ebp - 0x494], edi
jmp 0x451809
lea eax, [ebp - 0x334]
push eax
push edi
lea ecx, [ebp - 0x498]
call fcn.0044dec0
mov esi, dword [ebp - 0x490]
mov edx, dword [ebp - 0x320]
mov edi, dword [ebp - 0x494]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x451841
mov ecx, dword [ebp - 0x334]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x451837
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x451f38
push edx
push ecx
call fcn.0055d3b2
add esp, 8
push 0x13
push 0x62ed78
lea ecx, [ebp - 0x334]
mov dword [ebp - 0x324], 0
mov dword [ebp - 0x320], 0xf
mov byte [ebp - 0x334], 0
call fcn.0044e410
mov byte [ebp - 4], 3
cmp edi, esi
je 0x4518b2
movups xmm0, xmmword [ebp - 0x334]
mov dword [edi + 0x10], 0
mov edx, 0xf
mov dword [edi + 0x14], 0
movups xmmword [edi], xmm0
mov byte [ebp - 0x334], 0
movq xmm0, qword [ebp - 0x324]
movq qword [edi + 0x10], xmm0
add edi, 0x18
mov dword [ebp - 0x494], edi
jmp 0x4518d1
lea eax, [ebp - 0x334]
push eax
push edi
lea ecx, [ebp - 0x498]
call fcn.0044dec0
mov edx, dword [ebp - 0x320]
mov edi, dword [ebp - 0x494]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x451909
mov ecx, dword [ebp - 0x334]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4518ff
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x451f38
push edx
push ecx
call fcn.0055d3b2
add esp, 8
mov esi, dword [ebp - 0x498]
cmp esi, edi
je 0x451b98
nop word [eax + eax]
mov dword [ebp - 0x324], 0
mov dword [ebp - 0x320], 0xf
mov byte [ebp - 0x334], 0
mov dword [ebp - 0x33c], 0
mov dword [ebp - 0x338], 0xf
mov byte [ebp - 0x34c], 0
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 5
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x451963
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
lea ecx, [ebp - 0x334]
call fcn.00450ff0
push 1
push 0x62dab8
lea ecx, [ebp - 0x334]
call fcn.00450ff0
cmp dword [esi + 0x14], 0x10
mov edx, esi
jb 0x45199b
mov edx, dword [esi]
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x488], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4519a6
sub ecx, dword [ebp - 0x488]
push ecx
push edx
lea ecx, [ebp - 0x334]
call fcn.00450ff0
mov ecx, dword [ebp - 0x48c]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4519d0
sub ecx, edx
push ecx
push dword [ebp - 0x48c]
lea ecx, [ebp - 0x34c]
call fcn.00450ff0
push 1
push 0x62dab8
lea ecx, [ebp - 0x34c]
call fcn.00450ff0
cmp dword [esi + 0x14], 0x10
mov edx, esi
jb 0x451a07
mov edx, dword [esi]
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x488], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x451a12
sub ecx, dword [ebp - 0x488]
push ecx
push edx
lea ecx, [ebp - 0x34c]
call fcn.00450ff0
cmp dword [ebp - 0x320], 0x10
lea eax, [ebp - 0x334]
cmovae eax, dword [ebp - 0x334]
push eax
call fcn.00460be0
add esp, 4
test eax, eax
je 0x451af6
cmp dword [ebp - 0x338], 0x10
lea ecx, [ebp - 0x34c]
lea eax, [ebp - 0x334]
cmovae ecx, dword [ebp - 0x34c]
cmp dword [ebp - 0x320], 0x10
push ecx
cmovae eax, dword [ebp - 0x334]
push eax
call fcn.00587887
add esp, 8
test eax, eax
je 0x451ab0
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x451a91
mov eax, dword [esi]
push eax
push str.File_Move_from_old_db_folder_to_new_db_folder_failed
push 0
push 4
push str.AGSService
push dword [0x6ce0ac]
call fcn.004ae670
add esp, 0x18
jmp 0x451af6
cmp dword [ebp - 0x338], 0x10
lea ecx, [ebp - 0x34c]
lea eax, [ebp - 0x334]
cmovae ecx, dword [ebp - 0x34c]
cmp dword [ebp - 0x320], 0x10
push ecx
cmovae eax, dword [ebp - 0x334]
push eax
push str.File_Move_Successful__Src_s__and__Dest_s_
push 0
push 4
push str.AGSService
push dword [0x6ce0ac]
call fcn.004ae670
add esp, 0x1c
mov edx, dword [ebp - 0x338]
mov byte [ebp - 4], 4
cmp edx, 0x10
jb 0x451b34
mov ecx, dword [ebp - 0x34c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x451b2a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x451f33
push edx
push ecx
call fcn.0055d3b2
add esp, 8
mov edx, dword [ebp - 0x320]
mov dword [ebp - 0x33c], 0
mov dword [ebp - 0x338], 0xf
mov byte [ebp - 0x34c], 0
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x451b8d
mov ecx, dword [ebp - 0x334]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x451b83
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x451f33
push edx
push ecx
call fcn.0055d3b2
add esp, 8
add esi, 0x18
cmp esi, edi
jne 0x451920
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x36c], 0
mov dword [ebp - 0x368], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x37c], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x451bc0
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
lea ecx, [ebp - 0x37c]
call fcn.0044e410
push 0x20
push dword [ebp - 0x36c]
lea ecx, [ebp - 0x364]
mov byte [ebp - 4], 6
call fcn.00440fa0
cmp dword [ebp - 0x350], 8
lea edi, [ebp - 0x364]
mov eax, dword [ebp - 0x36c]
lea edx, [ebp - 0x37c]
cmovae edi, dword [ebp - 0x364]
cmp dword [ebp - 0x368], 0x10
cmovae edx, dword [ebp - 0x37c]
add eax, edx
cmp dword [ebp - 0x368], 0x10
lea edx, [ebp - 0x37c]
mov dword [ebp - 0x4a0], eax
cmovae edx, dword [ebp - 0x37c]
mov esi, eax
xor ecx, ecx
sub esi, edx
cmp edx, eax
cmova esi, ecx
test esi, esi
je 0x451cc3
cmp esi, 0x20
jb 0x451cc3
lea eax, [edx - 1]
add eax, esi
cmp edi, eax
ja 0x451c64
lea eax, [edi - 2]
lea eax, [eax + esi*2]
cmp eax, edx
jae 0x451cc3
and esi, 0xffffffe0
nop word [eax + eax]
movq xmm0, qword [edx]
add ecx, 0x20
punpcklbw xmm0, xmm0
psraw xmm0, 8
movups xmmword [edi], xmm0
movq xmm0, qword [edx + 8]
punpcklbw xmm0, xmm0
psraw xmm0, 8
movups xmmword [edi + 0x10], xmm0
movq xmm0, qword [edx + 0x10]
punpcklbw xmm0, xmm0
psraw xmm0, 8
movups xmmword [edi + 0x20], xmm0
movq xmm0, qword [edx + 0x18]
add edx, 0x20
punpcklbw xmm0, xmm0
psraw xmm0, 8
movups xmmword [edi + 0x30], xmm0
add edi, 0x40
cmp ecx, esi
jne 0x451c70
mov ecx, dword [ebp - 0x4a0]
cmp edx, ecx
je 0x451ce0
nop dword [eax]
movsx ax, byte [edx]
lea edi, [edi + 2]
inc edx
mov word [edi - 2], ax
cmp edx, ecx
jne 0x451cd0
mov dword [ebp - 0x340], 0
mov dword [ebp - 0x33c], 0
mov dword [ebp - 0x338], 0
cmp dword [ebp - 0x350], 8
lea ecx, [ebp - 0x340]
lea eax, [ebp - 0x364]
mov byte [ebp - 4], 8
cmovae eax, dword [ebp - 0x364]
push ecx
push eax
call fcn.0045d5f0
mov esi, dword [ebp - 0x340]
add esp, 8
test esi, esi
je 0x451de0
mov edi, dword [ebp - 0x33c]
cmp esi, edi
je 0x451d99
nop
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x451d79
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x451d6f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x451f33
mov eax, edx
push ecx
push eax
call fcn.0055d3b2
add esp, 8
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
add esi, 0x18
cmp esi, edi
jne 0x451d40
mov esi, dword [ebp - 0x340]
mov ecx, dword [ebp - 0x338]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x451dd6
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x451f33
push ecx
push esi
call fcn.0055d3b2
add esp, 8
cmp dword [ebp - 0x350], 8
lea eax, [ebp - 0x364]
cmovae eax, dword [ebp - 0x364]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov edx, dword [ebp - 0x350]
cmp edx, 8
jb 0x451e3b
mov ecx, dword [ebp - 0x364]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x451e31
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x451f38
push edx
push ecx
call fcn.0055d3b2
add esp, 8
mov edx, dword [ebp - 0x368]
xor eax, eax
mov dword [ebp - 0x354], 0
mov dword [ebp - 0x350], 7
mov word [ebp - 0x364], ax
cmp edx, 0x10
jb 0x451e92
mov ecx, dword [ebp - 0x37c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x451e88
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x451f38
push edx
push ecx
call fcn.0055d3b2
add esp, 8
mov esi, dword [ebp - 0x498]
mov dword [ebp - 0x36c], 0
mov dword [ebp - 0x368], 0xf
mov byte [ebp - 0x37c], 0
test esi, esi
je 0x451f10
lea ecx, [ebp - 0x498]
push ecx
push dword [ebp - 0x494]
push esi
call fcn.0044de50
mov ecx, dword [ebp - 0x490]
mov eax, 0x2aaaaaab
sub ecx, esi
add esp, 0xc
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x451f06
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x451f38
push ecx
push esi
call fcn.0055d3b2
add esp, 8
mov eax, dword [ebp - 0x4a4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055d371
mov esp, ebp
pop ebp
ret 4
call fcn.0057bc5b
call fcn.0057bc5b
int3