Function at 0x402a50
Capabilities:
Delete file
Identify system language via api
Read .ini file

Disassembly:
mov eax, 0x170c
call fcn.00404cd0
mov eax, dword [0x428510]
xor eax, esp
mov dword [esp + 0x1708], eax
mov ax, word [0x41d3d8]
xorps xmm0, xmm0
mov edx, dword [esp + 0x1718]
mov ecx, dword [esp + 0x1710]
push ebx
push ebp
mov word [esp + 0xc], ax
mov ebp, 1
mov al, byte [0x41d3da]
push esi
push edi
mov byte [esp + 0x16], al
xor edi, edi
lea eax, [esp + 0x14]
mov dword [esp + 0x10], 1
push eax
push edx
mov dword [0x42fce8], ecx
movups xmmword [0x429a20], xmm0
call fcn.00407f98
mov esi, eax
add esp, 8
test esi, esi
je 0x402be6
mov ebx, ebp
mov edx, 0x41d93c
mov ecx, esi
nop
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x402af0
test al, al
je 0x402aec
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x402af0
add ecx, 2
add edx, 2
test al, al
jne 0x402ad0
xor eax, eax
jmp 0x402af5
sbb eax, eax
or eax, 1
test eax, eax
je 0x402b29
mov ecx, 0x41d940
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x402b20
test dl, dl
je 0x402b1c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x402b20
add eax, 2
add ecx, 2
test dl, dl
jne 0x402b00
xor eax, eax
jmp 0x402b25
sbb eax, eax
or eax, 1
test eax, eax
jne 0x402b31
mov dword [esp + 0x10], 0
mov ecx, 0x41d944
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x402b58
test dl, dl
je 0x402b54
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x402b58
add eax, 2
add ecx, 2
test dl, dl
jne 0x402b38
xor ecx, ecx
jmp 0x402b5c
sbb ecx, ecx
or ecx, ebx
xor eax, eax
test ecx, ecx
mov ecx, 0x41d948
cmovne eax, ebp
mov ebp, eax
mov eax, esi
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x402b90
test dl, dl
je 0x402b8c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x402b90
add eax, 2
add ecx, 2
test dl, dl
jne 0x402b70
xor eax, eax
jmp 0x402b95
sbb eax, eax
or eax, 1
test eax, eax
mov eax, 0x41d94c
cmove edi, ebx
nop
mov cl, byte [esi]
cmp cl, byte [eax]
jne 0x402bc0
test cl, cl
je 0x402bbc
mov cl, byte [esi + 1]
cmp cl, byte [eax + 1]
jne 0x402bc0
add esi, 2
add eax, 2
test cl, cl
jne 0x402ba0
xor eax, eax
jmp 0x402bc5
sbb eax, eax
or eax, 1
test eax, eax
je 0x402c73
lea eax, [esp + 0x14]
push eax
push 0
call fcn.00407f98
mov esi, eax
add esp, 8
test esi, esi
jne 0x402ac7
push edi
push 0
push 1
push 0
push 1
push 1
push str.mew.log
call fcn.00404a40
push str.1.4.1
lea eax, [esp + 0x38]
push str.Mew_installer_for_Win32__Version__s
push eax
call fcn.004032d0
lea eax, [esp + 0x40]
push eax
call fcn.00404490
push str.1997_2011
lea eax, [esp + 0x48]
push str.__________Copyright__C___s__Shuichi_KITAGUCHI
push eax
call fcn.004032d0
lea eax, [esp + 0x50]
push eax
call fcn.00404490
push 0x41d6ff
call fcn.00404490
add esp, 0x40
test edi, edi
jne 0x402c7f
push edi
push 0x402940
push edi
push 0x69
push dword [0x42fce8]
call dword [sym.imp.USER32.dll_DialogBoxParamA]
test eax, eax
jne 0x402c7f
push str.Installation_is_canceled_or_title_window_is_failed_to_create.
call fcn.00404490
add esp, 4
jmp 0x402d8a
call fcn.004028e0
xor eax, eax
jmp 0x402d8d
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0x104
push 0x42fbe0
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x5c
push 0x42fbe0
call fcn.00405860
add esp, 8
test eax, eax
je 0x402cae
mov byte [eax], 0
push str.mew.ini
push 0x42fbe0
push str._s_s
push 0x42fac0
call fcn.004032d0
push str.mew2.ini
push 0x42fbe0
push str._s_s
push 0x42f9a0
call fcn.004032d0
add esp, 0x20
push 0x42f9a0
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
call fcn.00404290
test eax, eax
je 0x402d6c
call fcn.00404090
test eax, eax
je 0x402d6c
call fcn.004034a0
push str.mew.ini
call fcn.00404260
add esp, 4
test eax, eax
jne 0x402da8
push str.mew.ini
lea eax, [esp + 0x21c]
push str.__s__is_not_found_
push eax
call fcn.004032d0
push str.mew.ini
lea eax, [esp + 0x128]
push str.__s_
push eax
call fcn.004032d0
push 0x10010
push str.Error
lea eax, [esp + 0x138]
push eax
lea eax, [esp + 0x23c]
push eax
push 0
call fcn.004041b0
add esp, 0x2c
push 0x10010
push str.Error
push str.Mew
push str.Mew_installation_is_NOT_complete__nCheck_mew.log_file
push 0
call fcn.004041b0
add esp, 0x14
or eax, 0xffffffff
mov ecx, dword [esp + 0x1718]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00404cba
add esp, 0x170c
ret 0x10
push 0x42fac0
call fcn.00404260
add esp, 4
test eax, eax
je 0x402e48
push 0x42fac0
push 0x100
lea eax, [esp + 0x20]
push eax
push str.Default
push str.EMACS
push str.Make
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, str.Default
lea eax, [esp + 0x18]
nop word [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x402e10
test dl, dl
je 0x402e0c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x402e10
add eax, 2
add ecx, 2
test dl, dl
jne 0x402df0
xor eax, eax
jmp 0x402e15
sbb eax, eax
or eax, 1
test eax, eax
jne 0x402e48
test edi, edi
jne 0x402e48
call fcn.004023c0
test eax, eax
jne 0x402e48
push 0x10010
push str.Error
push 0x41da30
push str.Any_Emacsen_cannot_found__nHas_Emacs_been_installed_correctly_
push eax
call fcn.004041b0
add esp, 0x14
jmp 0x402d6c
mov esi, 0x411
mov ecx, str.__Read_INI_File...
cmp word [0x428f48], si
mov eax, str.__INI
cmovne eax, ecx
push eax
call fcn.00404490
add esp, 4
call fcn.00401d40
test eax, eax
je 0x402d6c
mov bx, word [0x428f48]
cmp bx, si
jne 0x402e9c
mov eax, dword [0x41daf4]
movq xmm0, qword [str.___Emacs]
mov dword [esp + 0x20], eax
mov ax, word [0x41daf8]
jmp 0x402eb3
mov eax, dword [0x41db04]
movq xmm0, qword [str.___Emacs_is__]
mov dword [esp + 0x20], eax
mov ax, word [0x41db08]
mov word [esp + 0x24], ax
lea ecx, [esp + 0x18]
movsx eax, byte [0x428508]
movq qword [esp + 0x18], xmm0
sub eax, 0
je 0x402f43
sub eax, 1
je 0x402f25
sub eax, 1
je 0x402efe
dec ecx
nop dword [eax]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x402ee0
mov eax, dword [str.unknown]
mov dword [ecx], eax
mov eax, dword [0x41db28]
mov dword [ecx + 4], eax
jmp 0x402f8d
dec ecx
nop
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x402f00
mov eax, dword [str.XEmacs]
mov dword [ecx], eax
mov ax, word [0x41db20]
mov word [ecx + 4], ax
mov al, byte [0x41db22]
mov byte [ecx + 6], al
jmp 0x402f8d
dec ecx
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x402f26
mov eax, dword [0x41db14]
mov dword [ecx], eax
mov ax, word [0x41db18]
mov word [ecx + 4], ax
jmp 0x402f8d
dec ecx
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x402f44
mov eax, dword [0x41db0c]
mov edx, 0x429a20
mov dword [ecx], eax
mov esi, edx
mov eax, dword [0x41db10]
mov dword [ecx + 4], eax
mov al, byte [edx]
inc edx
test al, al
jne 0x402f64
lea edi, [esp + 0x18]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x402f72
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, 0x411
cmp bx, si
jne 0x402fbc
lea ecx, [esp + 0x18]
dec ecx
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x402f97
mov eax, dword [0x41db2c]
mov dword [ecx], eax
mov ax, word [0x41db30]
mov word [ecx + 4], ax
mov al, byte [0x41db32]
mov byte [ecx + 6], al
jmp 0x402fd4
lea edi, [esp + 0x18]
dec edi
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x402fc1
mov ax, word [0x41db34]
mov word [edi], ax
lea eax, [esp + 0x18]
push eax
call fcn.00404490
add esp, 4
cmp dword [esp + 0x10], 0
je 0x40316c
cmp word [0x428f48], si
mov ecx, str.__Compiling_sources...
mov eax, 0x41db38
cmovne eax, ecx
push eax
call fcn.00404490
mov ax, word [0x41d3d8]
mov word [esp + 0x14], ax
mov al, byte [0x41d3da]
push str.elisp
mov byte [esp + 0x1a], al
call fcn.0040b310
push 0x1000
lea eax, [esp + 0x724]
push 0x42e760
push eax
call fcn.00405c10
push 0x41d3e4
push 0x42b640
call fcn.00408886
mov edi, eax
add esp, 0x1c
test edi, edi
je 0x402d6c
push str._setq_load_path__cons__.__load_path___n_defun_mew_compile_____mapcar__function__lambda__x___byte_compile_file_x_____list
push edi
call fcn.004032a0
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x724]
push eax
call fcn.00407f98
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4030c2
nop dword [eax]
push 0x41d464
push edi
call fcn.004032a0
push 0x41d468
push str..elc
push esi
call fcn.00404820
push esi
push edi
call fcn.004032a0
push 0x41d474
push edi
call fcn.004032a0
lea eax, [esp + 0x34]
push eax
push 0
call fcn.00407f98
mov esi, eax
add esp, 0x2c
test esi, esi
jne 0x403080
push str.____n
push edi
call fcn.004032a0
push edi
call fcn.0040863b
push str.Compiling_sources...
call fcn.00404470
push 0x42b640
push 0x429da0
lea eax, [esp + 0x330]
push str._s__batch__q__no_site_file__l_.__s__f_mew_compile
push eax
call fcn.004032d0
lea eax, [esp + 0x338]
push eax
call fcn.00404470
lea eax, [esp + 0x33c]
push eax
call fcn.0040850b
add esp, 0x28
test eax, eax
je 0x40313d
push eax
lea eax, [esp + 0x31c]
push str.system___failed.__d__n
push eax
call fcn.004032d0
lea eax, [esp + 0x324]
push eax
call fcn.00404470
add esp, 0x10
push 0x41d4e4
call fcn.0040b310
mov esi, 0x411
add esp, 4
cmp word [0x428f48], si
jne 0x40315f
push 0x41db74
jmp 0x403164
push str.__Making_Executables...
call fcn.00404490
add esp, 4
test ebp, ebp
je 0x40325d
cmp word [0x428f48], si
mov ecx, str.__Installing_el_elc_executable_Files...
mov eax, str.__el_elc_
cmovne eax, ecx
push eax
call fcn.00404490
add esp, 4
call fcn.004015f0
test eax, eax
je 0x402d6c
cmp word [0x428f48], si
mov ecx, str.__Installing_Image_files...
mov eax, 0x41dc0c
cmovne eax, ecx
push eax
call fcn.00404490
push 0x42f760
call fcn.004041f0
add esp, 8
test eax, eax
je 0x402d6c
push 0x42f760
lea eax, [esp + 0x31c]
push str.xcopy__s__y__i_etc__setc
push eax
call fcn.004032d0
push 0x42f760
lea eax, [esp + 0x728]
push str.copying__etc__to___s_...
push eax
call fcn.004032d0
lea eax, [esp + 0x730]
push eax
call fcn.00404490
lea eax, [esp + 0x334]
push eax
call fcn.0040850b
cmp word [0x428f48], si
mov ecx, str.__Installing_Info_files...
mov eax, str.__Info
cmovne eax, ecx
push eax
call fcn.00404490
add esp, 0x24
call fcn.004012f0
test eax, eax
je 0x402d6c
push 0x10040
push str.Information
push 0x41dca8
push str.Mew_installation_complete
push 0
call fcn.004041b0
add esp, 0x14
cmp word [0x428f48], si
mov ecx, str.__Mew_installation_complete.
mov eax, str.__Mew
cmovne eax, ecx
push eax
call fcn.00404490
add esp, 4
xor eax, eax
jmp 0x402d8d