Function at 0x404f5d
Capabilities:
Delete file
Get disk size
Get file size
Read .ini file

Disassembly:
mov eax, 0x430e93
call fcn.0041d9a8
sub esp, 0x7f4
push ebx
push esi
push edi
call fcn.00404688
push str.UnCompressThread
push str._s_Start
call fcn.00404422
pop ecx
pop ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x493e0
cmp eax, ecx
jae 0x404fad
mov esi, ecx
sub esi, eax
push esi
push str._Sleep..._d
call fcn.00404422
pop ecx
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.00404688
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp esi, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x38], ebx
je 0x40500e
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3ea
push esi
call edi
push 2
push esi
call edi
push ebx
push esi
mov dword [ebp - 0x10], eax
call dword [sym.imp.USER32.dll_GetSystemMenu]
mov edi, eax
push edi
mov dword [ebp - 0x2c], edi
call dword [sym.imp.USER32.dll_GetMenuItemCount]
dec eax
push eax
push edi
call dword [sym.imp.USER32.dll_GetMenuItemID]
push 1
push eax
push edi
mov dword [ebp - 0x38], eax
call dword [sym.imp.USER32.dll_EnableMenuItem]
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_EnableWindow]
call fcn.00404688
push ebx
call fcn.0040356a
test eax, eax
pop ecx
jne 0x405044
cmp esi, ebx
mov dword [0x53ea10], 0x2714
je 0x4055c1
push ebx
push 1
push 0x111
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x4055c1
lea eax, [ebp - 0x1dc]
push eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x1dc], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
je 0x405189
push 0x433658
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp eax, ebx
je 0x405189
cmp dword [ebp - 0x1d8], 4
jne 0x405107
cmp dword [ebp - 0x1d4], ebx
jne 0x405107
push 0x433ba8
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x405189
push 0x53e7e8
lea eax, [ebp - 0x148]
push eax
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x18], ebx
call esi
lea eax, [ebp - 0x148]
push 0x5c
push eax
call fcn.0041deb0
pop ecx
mov byte [eax + 1], bl
pop ecx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x148]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
mov eax, dword [ebp - 0x3c]
imul eax, dword [ebp - 0x30]
imul eax, dword [ebp - 0x24]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ebx
jmp 0x405189
push 0x433b94
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
mov dword [ebp - 0x18], eax
je 0x405189
push 0x40
pop ecx
xor eax, eax
mov byte [ebp - 0x148], bl
lea edi, [ebp - 0x147]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x53e7e8
lea eax, [ebp - 0x148]
push eax
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
call esi
lea eax, [ebp - 0x148]
push 0x5c
push eax
call fcn.0041deb0
pop ecx
mov byte [eax + 1], bl
pop ecx
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x148]
push eax
call dword [ebp - 0x18]
cmp eax, ebx
je 0x405189
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x1c], eax
call fcn.00404688
push 0x41
pop ecx
xor eax, eax
mov byte [ebp - 0x6f8], bl
lea edi, [ebp - 0x6f7]
rep stosd dword es:[edi], eax
mov byte [ebp - 0x5f0], bl
mov ecx, 0x81
lea edi, [ebp - 0x5ef]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x104
lea eax, [ebp - 0x6f8]
push eax
push dword [0x53e9f4]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov edi, 0x53e7e8
push edi
lea eax, [ebp - 0x5f0]
push eax
call esi
push str.Rav.7z
lea eax, [ebp - 0x5f0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push ebx
push ebx
push 3
push ebx
push 3
push SysReAllocString
lea eax, [ebp - 0x6f8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
call fcn.004045cc
cmp esi, 0xffffffff
jne 0x40524e
cmp dword [ebp + 8], ebx
je 0x405238
push 0x10
push 9
push ebx
call fcn.00403073
add esp, 0xc
push ebx
push 1
push 0x111
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
push edi
call fcn.0040341b
pop ecx
mov dword [0x53ea10], 0x2715
jmp 0x4055c1
lea eax, [ebp - 0x44]
push eax
push esi
mov dword [ebp - 0x44], ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x18], eax
call fcn.004045cc
mov eax, dword [ebp - 0x18]
push 2
pop ecx
mul ecx
cmp dword [ebp - 0x1c], edx
ja 0x4052b7
jb 0x405278
cmp dword [ebp - 0x20], eax
jae 0x4052b7
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.0040341b
cmp dword [ebp + 8], ebx
pop ecx
je 0x4052a8
push ebx
push 0xa
push ebx
call fcn.00403073
add esp, 0xc
push ebx
push 1
push 0x111
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [0x53ea10], 0x2716
jmp 0x4055c1
call fcn.004045cc
push esi
call fcn.00402f87
push eax
lea eax, [ebp - 0x5f0]
push eax
push esi
call fcn.00402ee0
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.00404688
cmp dword [ebp + 8], ebx
je 0x4052fc
push ebx
push dword [ebp - 0x38]
push dword [ebp - 0x2c]
call dword [sym.imp.USER32.dll_EnableMenuItem]
push 1
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_EnableWindow]
push ecx
lea eax, [ebp - 0x5f0]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.00403265
call fcn.00402db5
cmp eax, ebx
pop ecx
je 0x4055c1
mov dword [ebp - 0x14], ebx
push str.CMy7z_Open_File_Start_...
mov dword [ebp - 4], ebx
call fcn.00404422
pop ecx
lea eax, [ebp - 0x5f0]
push eax
lea ecx, [ebp - 0x14]
call fcn.00406a9c
test eax, eax
jne 0x40535c
push 0x10
push 8
push ebx
call fcn.00403073
add esp, 0xc
mov dword [0x53ea10], 0x2717
jmp 0x4055b0
push str.CMy7z_Open_File_End_...
call fcn.00404422
cmp dword [0x53ea04], ebx
pop ecx
je 0x405374
mov edi, 0x53e8f0
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x14]
push dword [ebp - 0x20]
push 0x53e9fc
push dword [ebp + 8]
push edi
call fcn.00406d0c
mov edi, eax
cmp edi, ebx
je 0x405460
mov eax, dword [0x43c180]
mov dword [ebp - 0x10], eax
push edi
lea eax, [ebp - 0x10]
push str._08x
push eax
mov byte [ebp - 4], 1
call fcn.00402865
mov esi, 0x433790
push esi
push esi
push str.Extractfailed
push dword [ebp - 0x10]
push str.true
push 0x433b34
push str.res_watch_install
call fcn.0042b490
add esp, 0x28
cmp dword [0x53e9fc], ebx
je 0x4053f5
mov dword [0x53ea10], 0x2712
lea ecx, [ebp - 0x10]
call fcn.004023b4
jmp 0x4055b0
cmp edi, 0x81000001
jne 0x405436
push 0x53e7e8
call fcn.0040341b
cmp dword [ebp + 8], ebx
pop ecx
je 0x40542a
push ebx
push 0xa
push ebx
call fcn.00403073
add esp, 0xc
push ebx
push 1
push 0x111
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [0x53ea10], 0x2716
jmp 0x4053e8
push 0x10
push 8
push ebx
call fcn.00403073
add esp, 0xc
push ebx
push 1
push 0x111
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [0x53ea10], 0x2717
jmp 0x4053e8
mov esi, 0x433790
push esi
push esi
push str.Extractsuccess
push esi
push str.true
push 0x433b0c
push str.res_watch_install
call fcn.0042b490
add esp, 0x1c
call fcn.00404688
cmp dword [0x53ea04], ebx
je 0x4054bb
push 0x53e7e8
call fcn.0040474f
cmp dword [ebp + 8], ebx
pop ecx
je 0x4055b0
push ebx
push 1
push 0x111
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x4055b0
call fcn.00404688
push 0x41
pop ecx
xor eax, eax
push 0x40
mov byte [ebp - 0x800], bl
lea edi, [ebp - 0x7ff]
rep stosd dword es:[edi], eax
pop ecx
mov byte [ebp - 0x2e0], bl
lea edi, [ebp - 0x2df]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x41
stosb byte es:[edi], al
pop ecx
xor eax, eax
mov byte [ebp - 0x3e8], bl
lea edi, [ebp - 0x3e7]
push 0x53e7e8
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x3e8]
push str._s_auto.ini
push eax
call fcn.0041c783
add esp, 0xc
lea eax, [ebp - 0x3e8]
push eax
push 0x104
lea eax, [ebp - 0x800]
push eax
push 0x433af4
push 0x433af0
mov edi, 0x43337c
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x3e8]
push eax
push 1
push 0x4333a4
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x53ea08], eax
lea eax, [ebp - 0x3e8]
push eax
push 0x104
lea eax, [ebp - 0x2e0]
push eax
push esi
push str.Param
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x5f0]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
call fcn.004045cc
call fcn.00404d39
test eax, eax
je 0x4055c8
push esi
push esi
push str.isForbidInstall
push esi
push str.true
push 0x433ad4
push str.res_watch_install
call fcn.0042b490
add esp, 0x1c
mov eax, dword [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x4055c1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
jmp 0x40565b
lea eax, [ebp - 0x2e0]
push 0x433ad0
push eax
call fcn.0041d3bd
test eax, eax
pop ecx
pop ecx
jne 0x405608
lea eax, [ebp - 0x2e0]
push 0x433ac4
push eax
call fcn.0041d3bd
test eax, eax
pop ecx
pop ecx
jne 0x405608
push 0x433ac0
lea eax, [ebp - 0x2e0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov esi, dword [ebp + 8]
cmp esi, ebx
je 0x405617
push ebx
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.004048e3
cmp dword [0x53ea08], ebx
mov dword [0x53ea10], eax
je 0x405634
push 0x53e7e8
call fcn.0040474f
pop ecx
cmp esi, ebx
je 0x405647
push ebx
push 1
push 0x111
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x405658
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4