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

Disassembly:
mov eax, 0x42722d
call fcn.00416d0c
sub esp, 0x7f4
push ebx
push esi
push edi
push str.UnCompressThread
push str._s_Start
call fcn.00403561
pop ecx
pop ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x493e0
cmp eax, ecx
jae 0x403c7b
mov esi, ecx
sub esi, eax
push esi
push str._Sleep..._d
call fcn.00403561
pop ecx
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, dword [ebp + 8]
xor ebx, ebx
cmp edi, ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
je 0x403cd7
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3ea
push edi
call esi
push 2
push edi
call esi
push ebx
push edi
mov dword [ebp - 0x30], eax
call dword [sym.imp.USER32.dll_GetSystemMenu]
mov esi, eax
push esi
mov dword [ebp - 0x18], esi
call dword [sym.imp.USER32.dll_GetMenuItemCount]
dec eax
push eax
push esi
call dword [sym.imp.USER32.dll_GetMenuItemID]
push 1
push eax
push esi
mov dword [ebp - 0x14], eax
call dword [sym.imp.USER32.dll_EnableMenuItem]
push ebx
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_EnableWindow]
push ebx
call fcn.00402601
test eax, eax
pop ecx
jne 0x403d08
cmp edi, ebx
mov dword [0x532848], 0x2714
je 0x404232
push ebx
push 1
push 0x111
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x404232
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, 0x532620
je 0x403e4c
push 0x42956c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp eax, ebx
je 0x403e4c
cmp dword [ebp - 0x1d8], 4
jne 0x403dca
cmp dword [ebp - 0x1d4], ebx
jne 0x403dca
push 0x429944
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x403e4c
push esi
lea eax, [ebp - 0x148]
push eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x24], ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x148]
push 0x5c
push eax
call fcn.00417b20
pop ecx
mov byte [eax + 1], bl
pop ecx
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x148]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
mov eax, dword [ebp - 0x3c]
imul eax, dword [ebp - 0x34]
imul eax, dword [ebp - 0x28]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ebx
jmp 0x403e4c
push 0x429930
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
mov dword [ebp - 0x24], eax
je 0x403e4c
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 esi
lea eax, [ebp - 0x148]
push eax
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x148]
push 0x5c
push eax
call fcn.00417b20
pop ecx
mov byte [eax + 1], bl
pop ecx
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x148]
push eax
call dword [ebp - 0x24]
cmp eax, ebx
je 0x403e4c
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x1c], eax
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 [0x53282c]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push esi
lea eax, [ebp - 0x5f0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
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 edi, eax
cmp edi, 0xffffffff
jne 0x403f06
cmp dword [ebp + 8], ebx
je 0x403ef0
push 0x10
push 9
push ebx
call fcn.0040216e
add esp, 0xc
push ebx
push 1
push 0x111
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
push esi
call fcn.0040246f
pop ecx
mov dword [0x532848], 0x2715
jmp 0x404232
lea eax, [ebp - 0x44]
push eax
push edi
mov dword [ebp - 0x44], ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 2
pop ecx
mul ecx
cmp dword [ebp - 0x1c], edx
ja 0x403f64
jb 0x403f25
cmp dword [ebp - 0x20], eax
jae 0x403f64
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.0040246f
cmp dword [ebp + 8], ebx
pop ecx
je 0x403f55
push ebx
push 0xa
push ebx
call fcn.0040216e
add esp, 0xc
push ebx
push 1
push 0x111
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [0x532848], 0x2716
jmp 0x404232
push edi
call fcn.004020ef
push eax
lea eax, [ebp - 0x5f0]
push eax
push edi
call fcn.00402048
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp + 8]
cmp edi, ebx
je 0x403fa1
push ebx
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_EnableMenuItem]
push 1
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_EnableWindow]
push ecx
lea eax, [ebp - 0x5f0]
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
call fcn.00403be0
call fcn.00402fb1
cmp eax, ebx
pop ecx
je 0x404232
mov dword [ebp - 0x10], ebx
push str.CMy7z_Open_File_Start_...
mov dword [ebp - 4], ebx
call fcn.00403561
pop ecx
lea eax, [ebp - 0x5f0]
push eax
lea ecx, [ebp - 0x10]
call fcn.004054b0
test eax, eax
jne 0x404001
push 0x10
push 8
push ebx
call fcn.0040216e
add esp, 0xc
mov dword [0x532848], 0x2717
jmp 0x404221
push str.CMy7z_Open_File_End_...
call fcn.00403561
cmp dword [0x53283c], ebx
pop ecx
mov eax, 0x532728
jne 0x40401b
mov eax, esi
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x10]
push dword [ebp - 0x20]
push 0x532834
push edi
push eax
call fcn.00405713
cmp eax, ebx
mov dword [ebp - 0x14], eax
je 0x404106
lea ecx, [ebp - 0x18]
call fcn.00402ace
push dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push str._08x
push eax
mov byte [ebp - 4], 1
call fcn.00403758
mov edi, 0x4296ac
push edi
push edi
mov edi, dword [ebp - 0x18]
push str.Extractfailed
push edi
push str.true
push 0x4298d0
push str.res_watch_install
call fcn.0041fa70
add esp, 0x28
cmp dword [0x532834], ebx
je 0x40409e
mov dword [0x532848], 0x2712
lea ecx, [edi - 0x10]
call fcn.00401bad
jmp 0x404221
cmp dword [ebp - 0x14], 0x81000001
jne 0x4040dc
push esi
call fcn.0040246f
cmp dword [ebp + 8], ebx
pop ecx
je 0x4040d0
push ebx
push 0xa
push ebx
call fcn.0040216e
add esp, 0xc
push ebx
push 1
push 0x111
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [0x532848], 0x2716
jmp 0x404091
push 0x10
push 8
push ebx
call fcn.0040216e
add esp, 0xc
push ebx
push 1
push 0x111
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [0x532848], 0x2717
jmp 0x404091
cmp dword [0x53283c], ebx
je 0x404131
push esi
call fcn.004025be
cmp edi, ebx
pop ecx
je 0x404221
push ebx
push 1
push 0x111
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x404221
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 esi
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x3e8]
push str._s_auto.ini
push eax
call fcn.004167e8
add esp, 0xc
lea eax, [ebp - 0x3e8]
push eax
push 0x104
lea eax, [ebp - 0x800]
push eax
push 0x4298a4
push 0x4298a0
mov edi, 0x42957c
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x3e8]
push eax
push 1
push 0x4295a4
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x532840], eax
lea eax, [ebp - 0x3e8]
push eax
push 0x104
lea eax, [ebp - 0x2e0]
push eax
mov edi, 0x4296ac
push edi
push str.Param
push 0x42957c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x5f0]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
call fcn.004039bc
test eax, eax
je 0x404239
push edi
push edi
push str.isForbidInstall
push edi
push str.true
push 0x429884
push str.res_watch_install
call fcn.0041fa70
add esp, 0x1c
mov eax, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x404232
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
jmp 0x4042c8
lea eax, [ebp - 0x2e0]
push 0x429880
push eax
call fcn.00416f1b
test eax, eax
pop ecx
pop ecx
jne 0x404279
lea eax, [ebp - 0x2e0]
push 0x429874
push eax
call fcn.00416f1b
test eax, eax
pop ecx
pop ecx
jne 0x404279
push 0x429870
lea eax, [ebp - 0x2e0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov edi, dword [ebp + 8]
cmp edi, ebx
je 0x404288
push ebx
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.004036b4
cmp dword [0x532840], ebx
mov dword [0x532848], eax
je 0x4042a1
push esi
call fcn.004025be
pop ecx
cmp edi, ebx
je 0x4042b4
push ebx
push 1
push 0x111
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x4042c5
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