Function at 0x42e6ff
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc0c
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov esi, dword [ebp + 8]
mov byte [ebp - 9], 1
lea eax, [ebp - 0x10]
call fcn.0042d931
mov dword [ebp - 0x14], 0x45694c
mov dword [ebp - 0x14], 0x457570
mov dword [ebp - 0x14], 0x45759c
xor edx, edx
mov dword [0x4574a8], edx
mov byte [0x45df00], 0
push 0
call sub.OLE32.dll_CoInitialize
test eax, eax
jge 0x42e767
mov al, 1
push eax
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.0042d944
pop eax
jmp 0x42eaa2
lea edx, [ebp - 0x18]
push edx
push 0x456cd8
push 7
push 0
push 0x456c38
call sub.OLE32.dll_CoCreateInstance
test eax, eax
jne 0x42ea8b
mov ecx, dword [ebp - 0x18]
push ecx
mov eax, dword [ecx]
call dword [eax + 0x14]
jmp 0x42e79c
test byte [ebp - 0x58], 2
je 0x42e79c
test esi, esi
je 0x42e7b4
dec esi
push 0
lea edx, [ebp - 0x3d8]
push edx
push 1
mov ecx, dword [ebp - 0x18]
push ecx
mov eax, dword [ecx]
call dword [eax + 0xc]
test eax, eax
je 0x42e791
lea edx, [ebp - 0x1c]
push edx
push 0x456bc8
push 7
push 0
push 0x456af8
call sub.OLE32.dll_CoCreateInstance
test eax, eax
jne 0x42ea82
push 0x800
mov ecx, dword [ebp - 0x1c]
push ecx
mov eax, dword [ecx]
call dword [eax + 0x1c]
lea edx, [ebp - 0x10]
push edx
mov ecx, dword [ebp - 0x1c]
push ecx
mov eax, dword [ecx]
call dword [eax + 0xc]
push dword [ebp - 0x1c]
lea edx, [ebp - 0x20]
push edx
push dword [ebp - 0x1b0]
push dword [ebp - 0x1b4]
push dword [ebp - 0x1b8]
push dword [ebp - 0x1bc]
mov eax, dword [ebp - 0x18]
push eax
mov edx, dword [eax]
call dword [edx + 0x1c]
test eax, eax
jne 0x42ea79
lea ecx, [ebp - 0x24]
push ecx
push 0x456ee8
mov eax, dword [ebp - 0x20]
push eax
mov edx, dword [eax]
call dword [edx]
test eax, eax
jne 0x42e84a
push 0
push dword [ebp + 0xc]
mov ecx, dword [ebp - 0x24]
push ecx
mov eax, dword [ecx]
call dword [eax + 0x28]
mov edx, dword [ebp - 0x24]
push edx
mov ecx, dword [edx]
call dword [ecx + 8]
mov dword [ebp - 0x2c], 2
xor eax, eax
lea edx, [ebp - 0x2c]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], 8
lea ecx, [ebp - 0x38]
lea edx, [ebp - 0x14]
push ecx
push dword [0x456db4]
push dword [0x456db0]
push dword [0x456dac]
push dword [0x456da8]
push edx
push dword [ebp - 0x30]
push dword [ebp - 0x34]
push 2
mov eax, dword [ebp - 0x20]
push eax
mov edx, dword [eax]
call dword [edx + 0x10]
test eax, eax
jne 0x42ea70
lea ecx, [ebp - 0x3c]
push ecx
push 0x456d38
mov eax, dword [ebp - 0x38]
push eax
mov edx, dword [eax]
call dword [edx]
test eax, eax
jne 0x42ea67
xor ecx, ecx
mov dword [ebp - 0x44], ecx
xor eax, eax
mov dword [ebp - 0x48], eax
lea edx, [ebp - 0x48]
push edx
push 0x456b38
mov ecx, dword [ebp - 0x1c]
push ecx
mov eax, dword [ecx]
call dword [eax]
mov edx, dword [ebp - 0x48]
test edx, edx
je 0x42e8ed
lea ecx, [ebp - 0x44]
push ecx
mov eax, dword [ebp - 0x48]
push eax
mov edx, dword [eax]
call dword [edx + 0x38]
mov ecx, dword [ebp - 0x48]
push ecx
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x42e90b
mov edx, 0x457541
mov ecx, eax
mov eax, dword [ebp - 4]
call fcn.0042da0a
push dword [ebp - 0x44]
call sub.OLE32.dll_CoTaskMemFree
push 1
push 0x457550
mov edx, dword [ebp - 0x1c]
push edx
mov ecx, dword [edx]
call dword [ecx + 0x10]
test eax, eax
jne 0x42ea54
mov byte [0x46df00], 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x3c]
push eax
mov edx, dword [eax]
call dword [edx + 0xc]
test eax, eax
jne 0x42ea54
jmp 0x42e9be
lea esi, [edi + 8]
mov ebx, dword [esi]
test ebx, ebx
je 0x42e979
push 0x64
push ebx
call sub.KERNEL32.dll_WaitForSingleObject
cmp eax, 0x102
setne al
and eax, 1
jmp 0x42e979
lea edx, [ebp - 0x3f4]
push edx
call sub.USER32.dll_TranslateMessage
lea ecx, [ebp - 0x3f4]
push ecx
call sub.USER32.dll_DispatchMessageA
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x3f4]
push eax
call sub.USER32.dll_PeekMessageA
test eax, eax
jne 0x42e961
mov dl, byte [0x46df00]
test dl, dl
je 0x42e9be
call sub.KERNEL32.dll_GetTickCount
mov ecx, dword [0x45defc]
cmp eax, ecx
jae 0x42e9af
mov dword [0x45defc], eax
mov edx, dword [0x45defc]
sub eax, edx
cmp eax, 0x4e20
ja 0x42e9e7
lea esi, [edi + 8]
mov ebx, dword [esi]
test ebx, ebx
je 0x42e9da
push 0
push ebx
call sub.KERNEL32.dll_WaitForSingleObject
cmp eax, 0x102
jne 0x42e9da
xor eax, eax
jmp 0x42e9df
mov eax, 1
test al, al
je 0x42e943
lea esi, [edi + 8]
mov ebx, esi
mov eax, dword [ebx]
test eax, eax
je 0x42ea06
push 0x64
push dword [ebx]
call sub.KERNEL32.dll_WaitForSingleObject
cmp eax, 0x102
setne dl
and edx, 1
push 0
mov ecx, dword [ebp - 0x3c]
push ecx
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ebx, esi
mov edx, dword [ebx]
test edx, edx
je 0x42ea2d
push 0
push dword [ebx]
call sub.KERNEL32.dll_WaitForSingleObject
cmp eax, 0x102
jne 0x42ea2d
xor ecx, ecx
jmp 0x42ea32
mov ecx, 1
test cl, cl
je 0x42ea3c
mov byte [ebp - 9], 0
jmp 0x42ea54
mov eax, dword [edi + 0x24]
test eax, eax
je 0x42ea54
push 0x45df00
push dword [ebp - 8]
push dword [edi + 0x28]
push eax
call sub.USER32.dll_SendMessageA
mov edx, dword [ebp - 0x3c]
push edx
mov ecx, dword [edx]
call dword [ecx + 8]
push 0x457541
call sub.KERNEL32.dll_DeleteFileA
mov eax, dword [ebp - 0x38]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov ecx, dword [ebp - 0x20]
push ecx
mov eax, dword [ecx]
call dword [eax + 8]
mov edx, dword [ebp - 0x1c]
push edx
mov ecx, dword [edx]
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
push eax
mov edx, dword [eax]
call dword [edx + 8]
call sub.OLE32.dll_CoUninitialize
mov al, byte [ebp - 9]
push eax
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.0042d944
pop eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8