Function at 0x440fd0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46d3e5
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x4825c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
push 0
mov edi, dword [ebp + 8]
push 0
push 0
push 0
push 0x80000000
push 0x80000000
push 0x80000000
push 0x80000000
push 0xcf0004
push 0
push str.RichEdit20W
push 0
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x48], eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
test esi, esi
je 0x441276
push 0xffffffffffffffff
push 0
push 0x435
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
movups xmmword [ebp - 0x28], xmm0
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x28]
push eax
call fcn.0043e840
mov ecx, dword [ebp - 0x18]
mov eax, 0x7ffffffe
sub eax, ecx
add esp, 4
cmp eax, 8
jb 0x441294
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
push 8
cmova eax, dword [ebp - 0x28]
push str.temp.rtf
push ecx
push eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x48]
lea ecx, [ebp - 0x40]
call fcn.004017a0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push eax
mov ecx, edi
call fcn.00442710
cmp dword [ebp - 0x2c], 7
lea eax, [ebp - 0x40]
cmova eax, dword [ebp - 0x40]
xor edi, edi
push edi
push 0x8000000
push 3
push edi
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x44], eax
lea ecx, [edi + 1]
cmp eax, 0xffffffff
je 0x44112d
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x58]
push eax
push 2
push 0x449
push esi
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x50], 0x43c9e0
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x44111f
cmp dword [ebp - 0x54], edi
mov eax, 1
cmove edi, eax
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 1
test edi, edi
je 0x441238
mov eax, dword [0x485d7c]
xorps xmm0, xmm0
mov dword [ebp - 0x94], eax
mov eax, dword [0x485d80]
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0x9c]
push eax
mov dword [ebp - 0x84], 0
movlpd qword [ebp - 0x76], xmm0
mov dword [ebp - 0x6e], 0
movlpd qword [ebp - 0x66], xmm0
mov dword [ebp - 0x5e], 0
mov dword [ebp - 0x9c], 0x42
mov dword [ebp - 0x98], esi
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0x80011c
mov dword [ebp - 0x80], 0x3e80001
mov word [ebp - 0x7c], cx
mov dword [ebp - 0x7a], 0
mov dword [ebp - 0x6a], 0
call dword [sym.imp.COMDLG32.dll_PrintDlgW]
mov edi, eax
cmp edi, 1
jne 0x4411d3
push dword [ebp - 0x8c]
push 0
push esi
push dword [ebp - 0x4c]
call dword [ebp - 0x48]
add esp, 0x10
mov eax, dword [ebp - 0x8c]
test eax, eax
je 0x4411e4
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp dword [ebp - 0x2c], 7
lea eax, [ebp - 0x40]
cmova eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x40]
call fcn.00401940
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x441234
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x44122a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x441299
push ecx
push edx
call fcn.00448427
add esp, 8
mov eax, edi
jmp 0x441279
lea ecx, [ebp - 0x40]
call fcn.00401940
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x441276
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x44126c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44129e
push ecx
push edx
call fcn.00448427
add esp, 8
or eax, 0xffffffff
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.00448686
mov esp, ebp
pop ebp
ret
call fcn.00401e50
call fcn.0044d0af
call fcn.0044d0af
int3