Function at 0x409d10
Capabilities:
Delete file
Read file on windows

Disassembly:
sub esp, 0x808
push ebx
push ebp
push esi
mov esi, dword [esp + 0x818]
push edi
mov edi, dword [sym.imp.MSVCRT.dll_sprintf]
push esi
lea eax, [esp + 0x1c]
mov ebp, ecx
push str._shistory.dat
push eax
mov dword [esp + 0x20], ebp
call edi
add esp, 0xc
lea ecx, [esp + 0x18]
add ebp, 0x4dc
push ecx
push 1
mov ecx, ebp
call fcn.0040c180
push esi
lea edx, [esp + 0x1c]
push str._ssunzg1.cg
push edx
call edi
add esp, 0xc
lea eax, [esp + 0x18]
mov ecx, ebp
push eax
push 1
call fcn.0040c180
push esi
lea ecx, [esp + 0x1c]
push str._sPIG3UI01.dat
push ecx
call edi
add esp, 0xc
lea edx, [esp + 0x18]
mov ecx, ebp
push edx
push 1
call fcn.0040c180
push esi
lea eax, [esp + 0x1c]
push str._snotes.dat
push eax
call edi
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
push 1
mov ecx, ebp
call fcn.0040c180
push esi
lea edx, [esp + 0x1c]
push str._skeywords.dat
push edx
call edi
add esp, 0xc
lea eax, [esp + 0x18]
mov ecx, ebp
push eax
push 1
call fcn.0040c180
push esi
lea ecx, [esp + 0x1c]
push str._sremind.dat
push ecx
call edi
add esp, 0xc
lea edx, [esp + 0x18]
mov ecx, ebp
push edx
push 1
call fcn.0040c180
push esi
lea eax, [esp + 0x1c]
push str._sHistoryUrl.dat
push eax
call edi
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
push 1
mov ecx, ebp
call fcn.0040c180
push esi
lea edx, [esp + 0x1c]
push str._saddbook.hd
push edx
call edi
add esp, 0xc
lea eax, [esp + 0x18]
mov ecx, ebp
push eax
push 1
call fcn.0040c180
push esi
lea ecx, [esp + 0x1c]
push str._saddbook.fg
push ecx
call edi
add esp, 0xc
lea edx, [esp + 0x18]
mov ecx, ebp
push edx
push 1
call fcn.0040c180
push esi
lea eax, [esp + 0x1c]
push str._saddbook.dt
push eax
call edi
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
push 1
mov ecx, ebp
call fcn.0040c180
push esi
lea edx, [esp + 0x1c]
push str._sshortcut.dat
push edx
call edi
add esp, 0xc
lea eax, [esp + 0x18]
mov ecx, ebp
push eax
push 1
call fcn.0040c180
push esi
lea ecx, [esp + 0x1c]
push str._ssunzg.cg
push ecx
call edi
add esp, 0xc
lea edx, [esp + 0x18]
mov ecx, ebp
push edx
push 1
call fcn.0040c180
push esi
lea eax, [esp + 0x1c]
push str._s_uninstall
push eax
call edi
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
push 1
mov ecx, ebp
call fcn.0040c180
push esi
lea edx, [esp + 0x1c]
push str._s_uninstall
push edx
call edi
lea eax, [esp + 0x24]
push 0x412658
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
add esp, 0x14
mov esi, eax
test esi, esi
jne 0x409eef
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x808
ret 4
mov edi, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea ecx, [esp + 0x18]
push 4
push ecx
mov dword [esp + 0x20], 0
call edi
add esp, 0x10
cmp eax, 1
jne 0x409ff4
mov ebx, dword [sym.imp.MSVCRT.dll_strstr]
mov eax, dword [esp + 0x10]
cmp eax, 0x400
jg 0x40a01f
test eax, eax
jl 0x40a01f
push esi
push eax
lea edx, [esp + 0x420]
push 1
push edx
call edi
mov ecx, dword [esp + 0x20]
add esp, 0x10
cmp eax, ecx
jne 0x40a003
lea eax, [esp + 0x418]
push str.DeskBar.dll
push eax
mov byte [esp + ecx + 0x420], 0
call ebx
add esp, 8
test eax, eax
jne 0x409f83
lea ecx, [esp + 0x418]
push str.I_SearchIE.dll
push ecx
call ebx
add esp, 8
test eax, eax
je 0x409fa5
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x418]
push edx
call fcn.00409bf0
lea eax, [esp + 0x418]
mov ecx, ebp
push eax
push 1
call fcn.0040c180
lea ecx, [esp + 0x418]
push str.PigIE.exe
push ecx
call ebx
add esp, 8
test eax, eax
je 0x409fce
lea edx, [esp + 0x418]
mov ecx, ebp
push edx
push 1
call fcn.0040c180
jmp 0x409fdc
lea eax, [esp + 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push esi
push 1
lea ecx, [esp + 0x18]
push 4
push ecx
call edi
add esp, 0x10
cmp eax, 1
je 0x409f1b
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x808
ret 4
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov eax, 0xfffffffd
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x808
ret 4
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov eax, 0xfffffffe
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x808
ret 4