Function at 0x4029f0
Capabilities:
Delete file
Read file on windows
Write file on windows

Disassembly:
mov eax, 0x1528
call fcn.004070f0
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1540]
lea eax, [esp + 0xd38]
push edi
push str._s_uninstall
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
mov esi, dword [sym.imp.MSVCRT.dll_fopen]
lea ecx, [esp + 0xd44]
push 0x40b3cc
push ecx
call esi
add esp, 0x14
mov dword [esp + 0x14], eax
test eax, eax
jne 0x402a4b
pop edi
pop esi
pop ebp
mov eax, 0xfffffed4
pop ebx
add esp, 0x1528
ret 0xc
push edi
call fcn.00402f40
add esp, 4
test eax, eax
jne 0x402a77
push edi
call fcn.00402e60
add esp, 4
test eax, eax
jne 0x402a77
pop edi
pop esi
pop ebp
mov eax, 0x64
pop ebx
add esp, 0x1528
ret 0xc
mov edx, dword [esp + 0x153c]
push 0x40b3d4
push edx
call esi
mov esi, eax
add esp, 8
test esi, esi
mov dword [esp + 0x10], esi
jne 0x402aa5
pop edi
pop esi
pop ebp
mov eax, 0x64
pop ebx
add esp, 0x1528
ret 0xc
push esi
push 1
push 4
push 0x40c024
call dword [sym.imp.MSVCRT.dll_fread]
mov eax, dword [0x40c024]
mov ecx, dword [esp + 0x1554]
add esp, 0x10
push 0
push eax
push 0x464
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, dword [sym.imp.MSVCRT.dll_fwrite]
push esi
mov ecx, 0x47
xor eax, eax
lea edi, [esp + 0x20]
push 0x11c
lea edx, [esp + 0x24]
push 1
push edx
rep stosd dword es:[edi], eax
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x10
test eax, eax
jbe 0x402e3c
mov eax, dword [esp + 0x11c]
push eax
call sub.MFC42.DLL_operatornew
mov ecx, dword [esp + 0x120]
push esi
mov ebp, eax
push ecx
push 1
push ebp
call dword [sym.imp.MSVCRT.dll_fread]
mov eax, dword [esp + 0x1554]
lea edx, [esp + 0x30]
push edx
push eax
lea ecx, [esp + 0x154]
push str._s_s
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
lea edi, [esp + 0x15c]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x24
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov eax, ecx
dec eax
je 0x402b72
mov cl, byte [esp + eax + 0x138]
cmp cl, 0x2f
je 0x402b72
cmp cl, 0x5c
je 0x402b72
dec eax
jne 0x402b5e
mov ecx, eax
lea esi, [esp + 0x138]
mov edx, ecx
lea edi, [esp + 0x938]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov byte [esp + eax + 0x938], 0
lea eax, [esp + 0x938]
push eax
call fcn.00402f40
add esp, 4
test eax, eax
jne 0x402bc4
lea ecx, [esp + 0x938]
push ecx
call fcn.00402e60
add esp, 4
test eax, eax
je 0x402e21
mov edi, 0x40b034
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x938]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x138]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x53c]
push 0x40b3c4
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
mov edi, str..tmp
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x144]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x40b3cc
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x148]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 0x14
test esi, esi
je 0x402e21
mov ecx, dword [esp + 0x11c]
push esi
push ecx
push 1
push ebp
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
lea edx, [esp + 0x94c]
lea eax, [esp + 0x114c]
push edx
push str._ssysoption.ini
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x20
mov esi, str.sysoption.ini
lea eax, [esp + 0x1c]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x402cc1
test cl, cl
je 0x402cbd
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x402cc1
add eax, 2
add esi, 2
test cl, cl
jne 0x402c9d
xor eax, eax
jmp 0x402cc6
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x402d05
lea eax, [esp + 0x1138]
push eax
call fcn.00402370
add esp, 4
test al, al
je 0x402d05
lea ecx, [esp + 0x138]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ebp
mov byte [0x40c0f0], 1
call sub.MFC42.DLL_operatordelete
mov esi, dword [esp + 0x14]
add esp, 4
jmp 0x402ad9
lea edx, [esp + 0x938]
lea eax, [esp + 0x138]
push edx
push eax
call fcn.00401000
add esp, 8
lea ecx, [esp + 0x138]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
push 0x80
push 3
push 0
push 0
lea edx, [esp + 0x54c]
push 0xc0000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call edi
lea eax, [esp + 0x130]
lea ecx, [esp + 0x128]
push eax
lea edx, [esp + 0x124]
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
call edi
lea edi, [esp + 0x538]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x18]
not ecx
push edi
push 1
dec ecx
push 4
push eax
mov dword [esp + 0x28], ecx
call ebx
mov ecx, dword [esp + 0x28]
push edi
push 1
lea edx, [esp + 0x550]
push ecx
push edx
call ebx
add esp, 0x20
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edi, [esp + 0x538]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call sub.MFC42.DLL_operatornew
mov edx, eax
lea edi, [esp + 0x53c]
or ecx, 0xffffffff
xor eax, eax
add esp, 4
lea esi, [esp + 0x538]
repne scasb al, byte es:[edi]
not ecx
mov eax, ecx
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x154c]
push 0x465
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
push ebp
call sub.MFC42.DLL_operatordelete
mov esi, dword [esp + 0x14]
add esp, 4
jmp 0x402ad9
push ebp
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, 0x64
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1528
ret 0xc
push esi
mov esi, dword [sym.imp.MSVCRT.dll_fclose]
call esi
mov edx, dword [esp + 0x18]
push edx
call esi
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1528
ret 0xc