Function at 0xd89eb0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xdb7d4b
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0xdc451c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x130]
xor esi, esi
push eax
mov dword [ebp - 0x30], esi
call fcn.00d915a0
mov dword [ebp - 4], esi
mov edi, 0xf
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], esi
mov byte [ebp - 0x2c], 0
push str.DCAgentInstallDir
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.00d8cc80
add esp, 4
test eax, eax
jne 0xd89f67
cmp dword [ebp - 0x18], 0x10
jb 0xd89f2b
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00d9c65d
add esp, 4
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], esi
mov byte [ebp - 0x2c], 0
mov dword [ebp - 4], 0xffffffff
call fcn.00d91690
lea edx, [ebp - 0xc0]
push edx
mov dword [ebp - 0xc0], 0xdbf104
call fcn.00d9b36b
add esp, 4
xor eax, eax
jmp 0xd8a61b
push 1
push 0x400
call fcn.00d9e3a7
push 2
push 0x400
mov dword [0xdc6d58], eax
call fcn.00d9e3a7
mov ebx, eax
mov eax, dword [ebp - 0x30]
add esp, 0x10
mov ecx, eax
mov edi, edi
mov dx, word [eax]
add eax, 2
cmp dx, si
jne 0xd89f90
sub eax, ecx
mov edx, ecx
lea edi, [ebx - 2]
mov cx, word [edi + 2]
add edi, 2
cmp cx, si
jne 0xd89fa2
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebx - 2]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0xd89fc1
mov eax, dword [0xdc6d58]
push ebx
push 0xdbe1dc
mov ecx, 0xb
mov esi, str.dataprocesslist.conf
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.00d9caf8
add esp, 0xc
test ebx, ebx
je 0xd89ffa
push ebx
call fcn.00d9e1b8
add esp, 4
mov eax, dword [ebp - 0x30]
test eax, eax
je 0xd8a00a
push eax
call fcn.00d9e1b8
add esp, 4
mov ecx, dword [0xdc6d58]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
mov dword [ebp - 0x44], eax
test eax, eax
je 0xd8a31a
mov edi, 1
mov eax, edi
lea esi, [ebp - 0x130]
call fcn.00d91760
cmp dword [ebp - 0xc4], 0
je 0xd8a0eb
mov edx, dword [ebp - 0x130]
mov eax, dword [edx + 4]
push 0xa
lea ecx, [ebp + eax - 0x130]
push ecx
call fcn.00d97310
movzx edx, al
push edx
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
push ecx
call fcn.00d9a910
mov edx, dword [eax]
mov ecx, dword [edx + 4]
add ecx, eax
mov eax, dword [ecx + 0xc]
and al, 6
movsx edx, al
add esp, 0xc
neg edx
sbb edx, edx
not edx
test ecx, edx
je 0xd8a0e0
jmp 0xd8a090
mov eax, dword [ebp - 0x130]
mov ecx, dword [eax + 4]
add dword [0xdc6dd4], edi
push 0xa
lea edx, [ebp + ecx - 0x130]
push edx
call fcn.00d97310
movzx eax, al
push eax
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x130]
push edx
call fcn.00d9a910
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
mov edx, dword [ecx + eax + 0xc]
add ecx, eax
and dl, 6
movsx eax, dl
add esp, 0xc
neg eax
sbb eax, eax
not eax
test ecx, eax
jne 0xd8a090
lea esi, [ebp - 0x130]
call fcn.00d917c0
mov eax, edi
lea esi, [ebp - 0x130]
call fcn.00d91760
cmp dword [ebp - 0xc4], 0
je 0xd8a31a
mov eax, dword [0xdc6dd4]
test eax, eax
je 0xd8a327
lea ecx, [eax + eax*4]
add ecx, ecx
add ecx, ecx
add ecx, ecx
push ecx
call fcn.00d9e610
add esp, 4
mov dword [0xdc6d50], eax
mov dword [ebp - 0x30], 0
mov edx, dword [ebp - 0x130]
mov eax, dword [edx + 4]
lea eax, [ebp + eax - 0x130]
lea edi, [ebp - 0x34]
call fcn.00d82390
mov edi, eax
mov byte [ebp - 4], 2
call fcn.00d98590
mov byte [ebp - 4], 1
mov edi, dword [ebp - 0x34]
mov ebx, eax
test edi, edi
je 0xd8a199
push 0
lea ecx, [ebp - 0x38]
call fcn.00d9b75f
mov eax, dword [edi + 4]
test eax, eax
je 0xd8a17a
cmp eax, 0xffffffff
jae 0xd8a17a
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
lea ecx, [ebp - 0x38]
not esi
call fcn.00d9b787
and esi, edi
je 0xd8a199
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
mov eax, dword [ebx]
mov edx, dword [eax + 0x18]
push 0xa
mov ecx, ebx
call edx
mov byte [ebp - 0x50], al
mov eax, dword [ebp - 0x50]
push eax
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x130]
push edx
call fcn.00d9a910
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
mov edx, dword [ecx + eax + 0xc]
add ecx, eax
and dl, 6
movsx eax, dl
add esp, 0xc
neg eax
sbb eax, eax
not eax
test ecx, eax
je 0xd8a2d6
cmp dword [ebp - 0x18], 0x10
mov ebx, dword [ebp - 0x2c]
jae 0xd8a1e9
lea ebx, [ebp - 0x2c]
mov eax, ebx
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0xd8a1f0
sub eax, edx
push eax
call fcn.00d9e610
mov edi, eax
mov eax, ebx
add esp, 4
xor ecx, ecx
lea esi, [eax + 1]
jmp 0xd8a210
mov dl, byte [eax]
inc eax
test dl, dl
jne 0xd8a210
sub eax, esi
je 0xd8a24e
mov edx, edi
sub edx, ebx
mov esi, ebx
mov dword [ebp - 0x4c], edx
jmp 0xd8a229
mov edx, dword [ebp - 0x4c]
mov al, byte [esi]
cmp al, 0x2c
je 0xd8a24e
mov byte [edx + esi], al
mov eax, ebx
lea edx, [eax + 1]
inc ecx
inc esi
mov dword [ebp - 0x3c], edx
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0xd8a240
sub eax, dword [ebp - 0x3c]
cmp ecx, eax
jb 0xd8a226
mov edx, dword [ebp - 0x30]
push 0
xor eax, eax
mov byte [edi + ecx], 0
cmp byte [ebx + ecx + 1], 0x31
mov ecx, dword [0xdc6d50]
push 0
push 0xffffffffffffffff
sete al
push edi
push 0
push 0
mov dword [edx + ecx + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, eax
lea eax, [esi + esi]
push eax
call fcn.00d9e610
mov ecx, dword [0xdc6d50]
mov edx, dword [ebp - 0x30]
add esp, 4
push esi
push eax
push 0xffffffffffffffff
push edi
push 0
push 0
mov dword [edx + ecx], eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test edi, edi
je 0xd8a2b0
push edi
call fcn.00d9e1b8
add esp, 4
mov eax, dword [ebp - 0x30]
fldz
mov ecx, dword [0xdc6d50]
fst qword [eax + ecx + 8]
fstp qword [eax + ecx + 0x10]
mov dword [eax + ecx + 0x18], 0
add eax, 0x28
mov dword [ebp - 0x30], eax
jmp 0xd8a130
lea eax, [ebp - 0x118]
call fcn.00d93400
test eax, eax
jne 0xd8a31a
mov eax, dword [ebp - 0x130]
mov ecx, dword [eax + 4]
mov eax, dword [ebp + ecx - 0x124]
lea ecx, [ebp + ecx - 0x130]
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0xd8a308
or eax, 4
and eax, 0x17
mov dword [ecx + 0xc], eax
test dword [ecx + 0x10], eax
je 0xd8a31a
push 0
call fcn.00d822c0
cmp dword [0xdc6dd4], 0
jne 0xd8a474
push pe_nt_image_headers32
mov dword [0xdc6dd4], 6
call fcn.00d9e610
fldz
add esp, 4
xor esi, esi
mov dword [0xdc6d50], eax
mov dword [eax], 0xdbe1e0
mov dword [eax + 0x1c], 1
mov dword [eax + 0x28], str.dcondemand
mov dword [eax + 0x44], esi
mov dword [eax + 0x50], 0xdbe218
mov dword [eax + 0x6c], esi
mov dword [eax + 0x78], str.dcconfig
mov dword [eax + 0x94], esi
mov dword [eax + 0xa0], str.dcswmeter
mov dword [eax + 0xbc], esi
mov dword [eax + 0xc8], str.DCFAUser
mov dword [eax + 0xe4], esi
lea ecx, [eax + 0x10]
lea edx, [esi + 6]
fst qword [ecx - 8]
mov dword [ecx + 8], esi
fst qword [ecx]
add ecx, 0x28
dec edx
jne 0xd8a39b
fstp st(0)
cmp dword [ebp - 0x44], esi
jne 0xd8a47b
mov ecx, dword [0xdc6d58]
push 2
lea edx, [ebp - 0x118]
call fcn.00d93310
test eax, eax
jne 0xd8a3ef
mov ecx, dword [ebp - 0x130]
mov ecx, dword [ecx + 4]
mov eax, dword [ebp + ecx - 0x124]
lea ecx, [ebp + ecx - 0x130]
or eax, 2
cmp dword [ecx + 0x38], esi
jne 0xd8a410
or eax, 4
jmp 0xd8a410
mov edx, dword [ebp - 0x130]
mov ecx, dword [edx + 4]
mov eax, dword [ebp + ecx - 0xf8]
lea ecx, [ebp + ecx - 0x130]
neg eax
sbb eax, eax
and eax, 0xfffffffc
add eax, 4
and eax, 0x17
test dword [ecx + 0x10], eax
mov dword [ecx + 0xc], eax
je 0xd8a421
push esi
call fcn.00d822c0
lea eax, [ebp - 0x120]
push eax
call fcn.00d98a50
add esp, 4
lea eax, [ebp - 0x118]
call fcn.00d93400
test eax, eax
jne 0xd8a476
mov ecx, dword [ebp - 0x130]
mov ecx, dword [ecx + 4]
mov eax, dword [ebp + ecx - 0x124]
lea ecx, [ebp + ecx - 0x130]
or eax, 2
cmp dword [ecx + 0x38], esi
jne 0xd8a461
or eax, 4
and eax, 0x17
mov dword [ecx + 0xc], eax
test dword [ecx + 0x10], eax
je 0xd8a476
push esi
call fcn.00d822c0
jmp 0xd8a476
xor esi, esi
mov eax, dword [0xdc6d50]
cmp dword [0xdc6dd4], esi
mov dword [ebp - 0x34], esi
mov esi, 1
jbe 0xd8a5ca
xor ebx, ebx
mov edx, dword [ebx + eax]
push 0
push str.SoftwareAdventNetDesktopCentralDCAgentProcessMonitor
mov ecx, str.allowBlock
call fcn.00d8ca10
mov edx, dword [0xdc6d50]
mov eax, dword [ebx + edx]
push eax
push str.SoftwareAdventNetDesktopCentralDCAgentProcessMonitor
lea edx, [ebp - 0x30]
mov ecx, str.restart
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x38], esi
call fcn.00d8c7e0
add esp, 0x10
cmp dword [ebp - 0x30], 0
jne 0xd8a4de
mov ecx, dword [0xdc6d50]
lea eax, [ebx + ecx]
mov dword [eax + 0x24], esi
jmp 0xd8a4ee
mov edx, dword [0xdc6d50]
lea eax, [ebx + edx]
mov dword [eax + 0x24], 0
mov eax, dword [eax]
push eax
push str.SoftwareAdventNetDesktopCentralDCAgentProcessMonitor
lea edx, [ebp - 0x38]
mov ecx, str.allowBlock
call fcn.00d8c7e0
add esp, 8
cmp dword [ebp - 0x38], 0
jne 0xd8a5aa
push 0
call fcn.00da0839
lea ecx, [ebp - 0x48]
add esp, 4
push ecx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edx
call fcn.00da04db
mov esi, eax
add esp, 4
mov ecx, 9
lea edi, [ebp - 0x74]
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp - 0x74]
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x6c]
push edx
mov edx, dword [ebp - 0x68]
push eax
mov eax, dword [ebp - 0x64]
push ecx
mov ecx, dword [ebp - 0x60]
push edx
inc eax
push eax
add ecx, 0x76c
push ecx
push str.__d__02d__02d__02d:_02d:_02d_
call fcn.00d9f6dc
add esp, 0x1c
push str._INFO_
call fcn.00d9f6dc
mov edx, dword [0xdc6d50]
mov eax, dword [ebx + edx]
add esp, 4
push eax
push str.Blocking_the_applicaton__ws.exe_is_ignored_n
call fcn.00d9f6dc
call fcn.00d9e1f2
add eax, 0x20
push eax
call fcn.00d9ece2
mov eax, dword [0xdc6d50]
add esp, 0xc
mov dword [ebx + eax + 0x20], 0
mov esi, 1
jmp 0xd8a5b3
mov eax, dword [0xdc6d50]
mov dword [ebx + eax + 0x20], esi
mov ecx, dword [ebp - 0x34]
add ecx, esi
add ebx, 0x28
mov dword [ebp - 0x34], ecx
cmp ecx, dword [0xdc6dd4]
jb 0xd8a491
cmp dword [ebp - 0x18], 0x10
jb 0xd8a5dc
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00d9c65d
add esp, 4
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
mov dword [ebp - 4], 0xffffffff
call fcn.00d91690
lea edx, [ebp - 0xc0]
push edx
mov dword [ebp - 0xc0], 0xdbf104
call fcn.00d9b36b
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00d9c668
mov esp, ebp
pop ebp
ret