Function at 0x4025cc
Capabilities:
Delete file
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x620
mov eax, dword [0x40f644]
xor eax, dword [ebp + 4]
push ebx
push esi
push edi
push 0x104
mov dword [ebp - 4], eax
lea eax, [ebp - 0x108]
push eax
push 0x65
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItemTextA]
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
cmp esi, 2
jb 0x402abb
movzx eax, byte [ebp - 0x108]
push eax
call fcn.00405c4a
test eax, eax
mov al, byte [ebp - 0x108]
pop ecx
je 0x402636
cmp al, byte [ebp - 0x107]
jne 0x402636
xor eax, eax
jmp 0x402658
movzx eax, al
push eax
call fcn.00405c2b
test eax, eax
pop ecx
je 0x402abb
cmp byte [ebp - 0x107], 0x3a
jne 0x402abb
xor eax, eax
inc eax
cmp esi, 2
jne 0x40266f
test eax, eax
je 0x40266f
lea eax, [ebp - 0x108]
push eax
call fcn.004014e8
jmp 0x40268f
lea eax, [ebp - 0x108]
push eax
call fcn.00405c10
mov esi, eax
movzx eax, byte [esi]
push eax
call fcn.00405c4a
test eax, eax
pop ecx
pop ecx
je 0x40268f
and byte [esi], 0
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x108]
push eax
mov edi, 0x4187a0
push edi
call ebx
push edi
mov esi, 0x4188c0
push esi
call ebx
push esi
call fcn.004014e8
mov ebx, 0x418b40
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x4026d0
push 0x10
push 0x3f8
jmp 0x402ac2
push esi
call fcn.00402262
test eax, eax
je 0x4026e6
push 0x10
push 0x41a
jmp 0x402ac2
push esi
call fcn.004015ec
test eax, eax
jne 0x40274d
push 0x114
push 0x419
push dword [ebp + 8]
call fcn.00401993
add esp, 0xc
cmp eax, 6
jne 0x402acd
push edi
push 0x24
push 0x41b
push dword [ebp + 8]
call fcn.00401993
add esp, 0x10
cmp eax, 6
jne 0x402acd
push esi
lea eax, [ebp - 0x414]
push str._swinzip.exe
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
push dword [ebp + 8]
call fcn.0040242a
test eax, eax
je 0x402acd
push ebx
lea eax, [ebp - 0x108]
push str._ssetup.wz
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
push 0x40fe30
xor ebx, ebx
lea eax, [ebp - 0x108]
push ebx
push eax
call fcn.00401398
add esp, 0x18
test eax, eax
je 0x4027a0
push ebx
push ebx
push str.setup.wz_is_missing
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x402acd
mov eax, dword [0x40ff7c]
mov ecx, dword [0x40fe50]
add ecx, eax
shr ecx, 0xa
push edi
mov dword [0x40ff7c], ecx
call fcn.004066d9
test eax, eax
pop ecx
je 0x4027df
push edi
call fcn.00402201
test eax, eax
pop ecx
jne 0x402aa6
push edi
call fcn.004066d9
test eax, eax
pop ecx
jne 0x402aa6
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push ebx
push 0x65
push dword [ebp + 8]
call edi
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call ebx
push 0
push 1
push dword [ebp + 8]
call edi
push eax
call ebx
push 0
push 2
push dword [ebp + 8]
call edi
push eax
call ebx
call fcn.00401d9f
test eax, eax
jne 0x402843
push 0x2010
push 0x4189e0
push 0x41d
call fcn.00405c5f
pop ecx
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0x3ee
push dword [ebp + 8]
jmp 0x402a9e
push str.WZSHLSTB.DLL
push esi
lea eax, [ebp - 0x20c]
push str._s_s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov ebx, 0x40fe30
push ebx
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00401398
add esp, 0x1c
test eax, eax
jne 0x402883
lea edi, [ebp - 0x20c]
call fcn.00401fbb
jmp 0x40288a
and byte [ebp - 0x20c], 0
push str.wzshlex1.dll
push esi
lea eax, [ebp - 0x310]
push str._s_s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
push ebx
xor edi, edi
lea eax, [ebp - 0x310]
push edi
push eax
call fcn.00401398
add esp, 0x1c
test eax, eax
je 0x4028c0
and byte [ebp - 0x310], 0
cmp byte [ebp - 0x20c], 0
jne 0x4028d6
cmp byte [ebp - 0x310], 0
je 0x402a26
lea eax, [ebp - 0x310]
push eax
lea eax, [ebp - 0x20c]
push eax
push 0x1f4
call fcn.0040255e
add esp, 0xc
test eax, eax
jne 0x402a26
push 0xff
lea eax, [ebp - 0x410]
push eax
push 0x405
push dword [0x418a10]
call dword [sym.imp.USER32.dll_LoadStringA]
mov ebx, dword [ebp + 8]
mov esi, dword [sym.imp.USER32.dll_SetDlgItemTextA]
lea eax, [ebp - 0x410]
push eax
push 0x6a
push ebx
call esi
push 0x40b307
push 0x6b
push ebx
call esi
lea eax, [ebp - 0x310]
push eax
lea eax, [ebp - 0x20c]
push eax
push 0x3e8
call fcn.0040255e
add esp, 0xc
test eax, eax
jne 0x40298d
push 0x100
lea eax, [ebp - 0x410]
push eax
push 0x6b
push ebx
call dword [sym.imp.USER32.dll_GetDlgItemTextA]
push 0x40b7c8
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x410]
push eax
push 0x6b
push ebx
call esi
inc edi
cmp edi, 0xf
jl 0x402935
lea eax, [ebp - 0x310]
push eax
lea eax, [ebp - 0x20c]
push eax
push 0x3e8
call fcn.0040255e
add esp, 0xc
test eax, eax
jne 0x402a29
push 0x14
mov edi, 0x4189e0
push edi
push 0x40f
call fcn.00405c5f
mov esi, dword [sym.imp.USER32.dll_MessageBoxA]
pop ecx
push eax
push ebx
call esi
cmp eax, 6
jne 0x402a94
call fcn.00401165
lea eax, [ebp + 8]
push eax
push str.SoftwareNico_Mak_ComputingWinZip_fm
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x402a10
push 1
push 0x40b74c
push 1
push eax
push str.shlExt
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x40
push edi
push 0x416
call fcn.00405c5f
pop ecx
push eax
push ebx
call esi
push 0
jmp 0x402a9d
mov ebx, dword [ebp + 8]
call fcn.00402045
cmp eax, 0xffffffff
je 0x402a65
push dword [eax*4 + 0x40e174]
push 0x41f
call fcn.00405c5f
pop ecx
push eax
lea eax, [ebp - 0x620]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0x10
push 0x4189e0
lea eax, [ebp - 0x620]
jmp 0x402a8c
cmp dword [0x40ff78], 0
jne 0x402a9b
call fcn.00401df4
test eax, eax
jne 0x402a9b
push 0x2010
push 0x4189e0
push 0x41e
call fcn.00405c5f
pop ecx
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0x3ee
jmp 0x402a9d
push 1
push ebx
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x402acd
push edi
push 0x40
push 0x3ec
push dword [ebp + 8]
call fcn.00401993
add esp, 0x10
jmp 0x402acd
push 0x10
push 0x400
push dword [ebp + 8]
call fcn.00401993
add esp, 0xc
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
pop edi
pop esi
xor eax, eax
pop ebx
call fcn.00405dc3
leave
ret 4