Function at 0x4017e0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a35d8
mov eax, dword fs:[0]
push eax
mov eax, 0x10
call fcn.00596bf0
push ebx
push esi
push edi
mov eax, dword [0x616930]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x616414]
mov edx, dword [eax + 0xc]
mov ecx, 0x616414
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [0x616414]
mov edx, dword [eax + 0xc]
mov ecx, 0x616414
call edx
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
mov eax, dword [0x616414]
mov edx, dword [eax + 0xc]
mov ecx, 0x616414
call edx
add eax, 0x10
mov dword [ebp - 0x18], eax
mov edi, dword [ebp + 8]
mov byte [ebp - 4], 2
mov dword [ebp - 0x1c], ebx
cmp edi, ebx
jne 0x40186b
xor eax, eax
jmp 0x401879
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401870
sub eax, edx
push edi
mov edi, eax
lea ecx, [ebp - 0x14]
call fcn.00401cc0
push 0x5ad148
lea eax, [ebp - 0x14]
push eax
mov ecx, 3
call fcn.00401de0
lea ecx, [ebp - 0x18]
cmp esi, ebx
je 0x4018aa
push str.DCFAService64.exe
mov edi, 0x11
jmp 0x4018b4
push str.DCFAService.exe
mov edi, 0xf
call fcn.00401cc0
push esi
lea ecx, [ebp - 0x1c]
call fcn.004015b0
add esp, 4
push str.DCFAUser.exe
mov edi, 0xc
lea ecx, [ebp - 0x10]
call fcn.00401cc0
push str.__detach
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [edi - 3]
call fcn.00401de0
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax - 0xc]
push eax
lea edx, [ebp - 0x10]
push edx
call fcn.00401de0
mov edx, dword [ebp - 0x1c]
cmp edx, ebx
jne 0x401903
xor eax, eax
jmp 0x401911
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401908
sub eax, esi
push edx
lea ecx, [ebp - 0x10]
push ecx
mov ecx, eax
call fcn.00401de0
push str.Going_to_detach_the_path_from_driver_n
call fcn.0057b33c
mov edi, dword [ebp - 0x10]
mov ebx, 1
add esp, 4
cmp dword [edi - 4], ebx
jle 0x401947
mov edx, dword [edi - 0xc]
push edx
lea eax, [ebp - 0x10]
push eax
call fcn.00401c40
mov edi, dword [ebp - 0x10]
push edi
push str.Path_is__s__n
call fcn.0057b33c
add esp, 8
cmp dword [edi - 4], ebx
jle 0x40196a
mov ecx, dword [edi - 0xc]
push ecx
lea edx, [ebp - 0x10]
push edx
call fcn.00401c40
mov edi, dword [ebp - 0x10]
mov esi, dword [ebp - 0x14]
cmp dword [esi - 4], ebx
jle 0x401982
mov eax, dword [esi - 0xc]
push eax
lea ecx, [ebp - 0x14]
push ecx
call fcn.00401c40
mov esi, dword [ebp - 0x14]
push edi
mov ecx, esi
call fcn.004013e0
add esp, 4
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x10]
push eax
call fcn.00401bd0
push str.__stop
lea ecx, [ebp - 0x10]
push ecx
mov ecx, 6
call fcn.00401de0
push str._DFMFilter
lea edx, [ebp - 0x10]
push edx
mov ecx, 0xa
call fcn.00401de0
mov edi, dword [ebp - 0x10]
cmp dword [edi - 4], ebx
jle 0x4019d8
mov eax, dword [edi - 0xc]
push eax
lea ecx, [ebp - 0x10]
push ecx
call fcn.00401c40
mov edi, dword [ebp - 0x10]
cmp dword [esi - 4], ebx
jle 0x4019ed
mov edx, dword [esi - 0xc]
push edx
lea eax, [ebp - 0x14]
push eax
call fcn.00401c40
mov esi, dword [ebp - 0x14]
push edi
mov ecx, esi
call fcn.004013e0
add esp, 4
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x10]
push edx
call fcn.00401bd0
push str.__stop
lea eax, [ebp - 0x10]
push eax
mov ecx, 6
call fcn.00401de0
push str._DRMFilter
lea ecx, [ebp - 0x10]
push ecx
mov ecx, 0xa
call fcn.00401de0
mov ebx, dword [ebp - 0x10]
mov edi, 1
cmp dword [ebx - 4], edi
jle 0x401a48
mov edx, dword [ebx - 0xc]
push edx
lea eax, [ebp - 0x10]
push eax
call fcn.00401c40
mov ebx, dword [ebp - 0x10]
cmp dword [esi - 4], edi
jle 0x401a5d
mov ecx, dword [esi - 0xc]
push ecx
lea edx, [ebp - 0x14]
push edx
call fcn.00401c40
mov esi, dword [ebp - 0x14]
push ebx
mov ecx, esi
call fcn.004013e0
mov eax, dword [0x616414]
mov edx, dword [eax + 0xc]
add esp, 4
mov ecx, 0x616414
call edx
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov edi, dword [ebp + 8]
mov byte [ebp - 4], 3
test edi, edi
jne 0x401a8c
xor eax, eax
jmp 0x401a9a
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401a91
sub eax, edx
push edi
mov edi, eax
lea ecx, [ebp - 0x1c]
call fcn.00401cc0
push str.dataAgent_Detaiils.conf
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x18
call fcn.00401de0
mov edi, dword [ebp - 0x1c]
cmp dword [edi - 4], 1
jle 0x401ad1
mov ecx, dword [edi - 0xc]
push ecx
lea edx, [ebp - 0x1c]
push edx
call fcn.00401c40
mov edi, dword [ebp - 0x1c]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x401aeb
push str.Agent_Detaiils.conf_file_deleted_successfully__n
call fcn.0057b33c
add esp, 4
jmp 0x401aff
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Agent_Detaiils.conf_file_delete_failed_with_error__ld__n
call fcn.0057b33c
add esp, 8
lea eax, [edi - 0x10]
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401b1f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401b42
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401b62
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401b85
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret