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

Disassembly:
mov eax, 0x1528
call fcn.00406ec0
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll_sprintf]
push ebp
push esi
mov esi, dword [esp + 0x153c]
push edi
push esi
lea eax, [esp + 0xd3c]
push str._s_uninstall
push eax
call ebx
mov edi, dword [sym.imp.MSVCRT.dll_fopen]
lea ecx, [esp + 0xd44]
push 0x40b3cc
push ecx
call edi
add esp, 0x14
mov dword [esp + 0x10], eax
test eax, eax
jne 0x402a4d
pop edi
pop esi
pop ebp
mov eax, 0xfffffed4
pop ebx
add esp, 0x1528
ret 0xc
push esi
call fcn.00402f60
add esp, 4
test eax, eax
jne 0x402a79
push esi
call fcn.00402e80
add esp, 4
test eax, eax
jne 0x402a79
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 edi
mov esi, eax
add esp, 8
test esi, esi
mov dword [esp + 0x18], esi
jne 0x402aa7
pop edi
pop esi
pop ebp
mov eax, 0x64
pop ebx
add esp, 0x1528
ret 0xc
push esi
push 1
push 4
push 0x40bff4
call dword [sym.imp.MSVCRT.dll_fread]
mov eax, dword [0x40bff4]
mov ecx, dword [esp + 0x1554]
add esp, 0x10
push 0
push eax
push 0x464
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
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 0x402e54
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 ebx
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 0x402b6a
mov cl, byte [esp + eax + 0x138]
cmp cl, 0x2f
je 0x402b6a
cmp cl, 0x5c
je 0x402b6a
dec eax
jne 0x402b56
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.00402f60
add esp, 4
test eax, eax
jne 0x402bbc
lea ecx, [esp + 0x938]
push ecx
call fcn.00402e80
add esp, 4
test eax, eax
je 0x402e39
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 ebx
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 0x402e39
mov ecx, dword [esp + 0x11c]
push esi
push ecx
push 1
push ebp
call dword [sym.imp.MSVCRT.dll_fwrite]
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 ebx
add esp, 0x20
mov esi, 0x40b3e0
lea eax, [esp + 0x1c]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x402cb5
test cl, cl
je 0x402cb1
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x402cb5
add eax, 2
add esi, 2
test cl, cl
jne 0x402c91
xor eax, eax
jmp 0x402cba
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x402cf9
lea eax, [esp + 0x1138]
push eax
call fcn.00402370
add esp, 4
test al, al
je 0x402cf9
lea ecx, [esp + 0x138]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ebp
mov byte [0x40c0c0], 1
call sub.MFC42.DLL_operatordelete
mov esi, dword [esp + 0x1c]
add esp, 4
jmp 0x402ad5
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
push str.atl.dll
repne scasb al, byte es:[edi]
not ecx
lea eax, [esp + 0x53c]
dec ecx
push eax
mov dword [esp + 0x1c], ecx
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
test eax, eax
jne 0x402dc8
mov ecx, dword [esp + 0x10]
mov edi, dword [sym.imp.MSVCRT.dll_fwrite]
push ecx
push 1
lea edx, [esp + 0x1c]
push 4
push edx
call edi
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
push eax
push 1
lea edx, [esp + 0x550]
push ecx
push edx
call edi
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 + 0x1c]
add esp, 4
jmp 0x402ad5
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 + 0x14]
push edx
call esi
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1528
ret 0xc