Function at 0x40276d
Capabilities:
Copy file
Create process on windows
Delete file
Delete registry value
Enumerate files on windows
Get common file path
Get file attributes
Get file version info
Hide graphical window
Move file
Query environment variable
Query or enumerate registry key
Query or enumerate registry value
Read .ini file
Read file on windows
Self delete
Set file attributes
Set registry value
Shutdown system
Terminate process
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x16c
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [eax + eax*2]
lea esi, [edi + eax*8]
mov eax, dword [edi + eax*8]
mov dword [ebp - 4], eax
add eax, 0xfffffffe
cmp eax, 0x3d
ja case.0x402797.62
jmp dword [eax*4 + 0x4040c7]
push dword [esi + 4]
mov edi, 0x40ca94
push edi
call fcn.00406cba
push edi
push 0x40ce98
call fcn.00406275
add esp, 0x10
jmp 0x4040bd
inc dword [0x4225a8]
cmp dword [0x422de4], 0
je 0x4040bd
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x4040bd
push dword [esi + 4]
call fcn.00402752
dec eax
push 0
push eax
push edi
call fcn.004026b6
add esp, 0x10
jmp 0x4040c2
mov eax, dword [esi + 8]
test eax, eax
je 0x40280a
mov dword [0x40a478], eax
jmp 0x402ada
push dword [esi + 4]
mov esi, 0x40c274
push esi
call fcn.00406cba
push 0x40ce98
push esi
call fcn.00406275
add esp, 0x10
jmp 0x402ada
push dword [esi + 4]
call fcn.00406da6
cmp eax, 1
pop ecx
jge 0x40283c
push 1
pop eax
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x402ada
mov al, byte [esi + 4]
mov byte [0x421d80], al
jmp 0x402ada
push 0
push dword [0x422de4]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x402ada
push 5
push dword [0x422de4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x422de4]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x402ada
mov al, byte [esi + 4]
mov byte [0x4225cc], al
jmp 0x402ada
mov eax, dword [0x4225b0]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
je 0x4028a9
push dword [esi + 8]
push eax
call edi
mov eax, dword [0x4225c4]
test eax, eax
je 0x402ada
push dword [esi + 4]
push eax
call edi
jmp 0x402ada
push dword [esi + 4]
mov edi, 0x40ca94
push edi
call fcn.00406cba
pop ecx
pop ecx
push dword [esi + 8]
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jmp 0x403cc7
push dword [esi + 4]
mov edi, 0x40c674
push edi
call fcn.00406cba
cmp dword [esi + 8], 0
pop ecx
pop ecx
push edi
je 0x402913
push str.Output_directory:
call fcn.00406275
pop ecx
pop ecx
push edi
push 0x421580
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x40291f
push str.Create_directory:
call fcn.00406275
pop ecx
pop ecx
push edi
call fcn.00406bb3
pop ecx
jmp 0x402ada
push dword [esi + 4]
mov edi, 0x40ca94
push edi
call fcn.00406cba
push edi
call fcn.004041ef
add esp, 0xc
jmp 0x403222
mov eax, dword [0x40bd28]
mov ecx, dword [esi + 0xc]
test eax, eax
mov dword [0x40bd28], ecx
je 0x40322a
mov eax, dword [esi + 4]
jmp 0x4040c2
push dword [esi + 4]
mov edi, 0x40ca94
push edi
call fcn.00406cba
push dword [esi + 8]
mov ebx, 0x40c674
push ebx
call fcn.00406cba
add esp, 0x10
push edi
push 0x40c274
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
call ebx
mov edx, eax
push edi
mov dword [ebp + 0xc], edx
call ebx
mov ecx, dword [ebp + 0xc]
add ecx, eax
cmp ecx, 0x3fd
jge 0x4029cd
mov ebx, 0x40c274
push 0x40a260
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x40c674
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
jmp 0x4029d2
mov ebx, 0x40c274
push 0x40c674
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
je 0x4029f2
push ebx
push str.Rename:
call fcn.00406275
jmp 0x40403a
cmp dword [esi + 0xc], 0
je 0x402ad4
push edi
call fcn.004041ef
test eax, eax
pop ecx
je 0x402ad4
inc dword [0x40be70]
push 0x40c674
push edi
call fcn.00406959
push ebx
push str.Rename_on_reboot:
jmp 0x40281e
mov ebx, dword [esi + 4]
push dword [esi + 8]
mov edi, 0x40ca94
shl ebx, 0xa
push edi
add ebx, 0x41bd80
call fcn.00406cba
pop ecx
lea eax, [ebp + 0xc]
pop ecx
push eax
push ebx
push 0x400
push edi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
test eax, eax
je 0x402a7e
mov eax, dword [ebp + 0xc]
cmp eax, edi
jbe 0x402a87
cmp byte [eax], 0
je 0x402a87
push edi
call fcn.004041ef
test eax, eax
pop ecx
je 0x402a7e
add eax, 0x2c
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x402a87
inc dword [0x40bd28]
and byte [ebx], 0
cmp dword [esi + 0xc], 0
jne 0x402ada
push 0x400
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
jmp 0x402ada
mov ebx, dword [esi + 4]
push dword [esi + 8]
mov edi, 0x40ca94
shl ebx, 0xa
push edi
add ebx, 0x41bd80
call fcn.00406cba
pop ecx
lea eax, [ebp + 0xc]
pop ecx
push eax
push ebx
push 0x400
push 0
push edi
push 0
call dword [sym.imp.KERNEL32.dll_SearchPathA]
test eax, eax
jne 0x402ada
and byte [ebx], 0
inc dword [0x40bd28]
xor eax, eax
jmp 0x4040c2
mov esi, dword [esi + 4]
mov edi, 0x40ca94
shl esi, 0xa
push edi
push 0x400
add esi, 0x41bd80
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x402b15
push esi
push 0
push 0x40a23c
push edi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x402ada
and byte [esi], 0
jmp 0x402ad4
mov eax, dword [esi + 4]
mov edi, 0x40ca94
push 0x421580
push edi
mov dword [ebp + 0xc], eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push edi
call fcn.004067c1
push dword [esi + 8]
mov ebx, 0x40c274
push ebx
call fcn.00406cba
push ebx
call fcn.00406850
add esp, 0x10
test eax, eax
push ebx
push edi
je 0x402b5c
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x402b62
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov ebx, 0x40be74
cmp dword [ebp + 0xc], 0
jne 0x402b83
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 1
je 0x402bb3
xor eax, 1
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
cmp dword [ebp + 0xc], 3
jne 0x402bb3
push edi
call fcn.004041ef
test eax, eax
pop ecx
mov dword [ebp + 0xc], 1
je 0x402bb3
lea ecx, [esi + 0x10]
add eax, 0x14
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
xor ecx, ecx
test eax, eax
setge cl
mov dword [ebp + 0xc], ecx
xor eax, eax
cmp dword [ebp + 0xc], 1
setne al
inc eax
push eax
push 0x40000000
push edi
call fcn.0040693f
add esp, 0xc
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
jne 0x402c6a
cmp dword [ebp + 0xc], 0
jne 0x402c50
push 0x41bd80
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push edi
push 0x41bd80
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [0x4225b8]
push dword [eax + 0x30]
push 0x40c674
call fcn.00406cba
pop ecx
pop ecx
push ebx
push 0x41bd80
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x12
push 0x4225e0
push 0x40c674
push dword [0x422de4]
call dword [sym.imp.USER32.dll_MessageBoxA]
sub eax, 4
je 0x402b67
dec eax
je 0x402ad4
push edi
push str.Cant_write:
call fcn.00406275
pop ecx
pop ecx
jmp 0x4040bd
push 0x40c274
push str.Skipped:
call fcn.00406275
cmp dword [ebp + 0xc], 2
pop ecx
pop ecx
jmp 0x403cc7
mov ebx, 0x40c274
push ebx
push str.Extract:
call fcn.00406275
push dword [ebp + 8]
push dword [esi + 0xc]
call fcn.004044cd
mov dword [ebp + 0xc], eax
lea eax, [esi + 0x10]
add esp, 0x10
cmp dword [eax], 0xffffffff
jne 0x402c99
cmp dword [esi + 0x14], 0xffffffff
je 0x402ca6
push eax
push 0
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 0xc], 0
jge 0x402ada
cmp dword [ebp + 0xc], 0xfffffffe
jne 0x402cd5
push str.Extract:_error_writing_to_file
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
jmp 0x402ce1
push str.Error_decompressing_data__Corrupted_installer_
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x10
push 0x4225e0
push edi
jmp 0x4040b1
push dword [esi + 4]
mov ebx, 0x40c674
push ebx
call fcn.00406cba
pop ecx
mov edi, 0x40ca94
pop ecx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push edi
call fcn.004067f9
pop ecx
lea eax, [ebp - 0x16c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp + 0xc], eax
je 0x402ada
test byte [ebp - 0x16c], 0x10
jne 0x402da5
lea eax, [ebp - 0x140]
push eax
push edi
push 0x40a1bc
push ebx
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [ebp - 0x16c]
add esp, 0x10
test al, 1
je 0x402d61
xor eax, 1
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x402d7b
push ebx
push str.Delete_file:
call fcn.00406275
pop ecx
pop ecx
jmp 0x402da5
cmp dword [esi + 8], 0
je 0x402d9f
inc dword [0x40be70]
push ebx
push str.Delete_on_reboot:
call fcn.00406275
push 0
push ebx
call fcn.00406959
add esp, 0x10
jmp 0x402da5
inc dword [0x40bd28]
lea eax, [ebp - 0x16c]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x402d2c
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x402ada
push dword [esi + 8]
mov edi, 0x40c274
push edi
call fcn.00406cba
pop ecx
pop ecx
push dword [esi + 4]
push 0x4225e0
push edi
push dword [0x422de4]
call dword [sym.imp.USER32.dll_MessageBoxA]
test eax, eax
je 0x402ad4
mov ecx, dword [esi + 0xc]
mov edx, ecx
and edx, 0xffff
cmp eax, edx
je 0x402fdf
sar ecx, 0x10
cmp eax, ecx
jne 0x402ada
jmp 0x402fed
push dword [esi + 4]
mov edi, 0x40ca94
push edi
call fcn.00406cba
push edi
call fcn.004067df
add esp, 0xc
cmp al, 0x5c
jne 0x402e3d
push edi
call fcn.004067f9
pop ecx
push dword [esi + 8]
push edi
call fcn.00404214
push edi
call fcn.004041ef
add esp, 0xc
test eax, eax
je 0x402ada
jmp 0x402ad4
push dword [esi + 8]
mov edi, 0x40ca94
push edi
call fcn.00406cba
pop ecx
pop ecx
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
mov eax, dword [esi + 4]
shl eax, 0xa
add eax, 0x41bd80
push eax
call fcn.00406ce5
jmp 0x40403a
push dword [esi + 0xc]
call fcn.00406da6
push dword [esi + 0x10]
mov dword [ebp + 0xc], eax
call fcn.00406da6
mov ebx, dword [esi + 4]
push dword [esi + 8]
mov edi, 0x40ca94
mov dword [ebp + 8], eax
shl ebx, 0xa
push edi
add ebx, 0x41bd80
call fcn.00406cba
and byte [ebx], 0
add esp, 0x10
cmp dword [esi + 0xc], 0
mov esi, dword [ebp + 0xc]
jl 0x402ed1
test esi, esi
je 0x402ada
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
call edi
mov ecx, dword [ebp + 8]
test ecx, ecx
jge 0x402ee9
add ecx, eax
js 0x402ada
cmp ecx, eax
jle 0x402eef
mov ecx, eax
lea eax, [ecx + 0x40ca94]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
test esi, esi
je 0x402ada
jge 0x402f10
push ebx
call edi
add esi, eax
jns 0x402f10
xor esi, esi
cmp esi, 0x400
jge 0x402ada
and byte [ebx + esi], 0
jmp 0x402ada
push dword [esi + 4]
mov ebx, 0x40be74
push ebx
call fcn.00406cba
push dword [esi + 8]
mov edi, 0x40c274
push edi
call fcn.00406cba
add esp, 0x10
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x402fdf
mov eax, dword [esi + 0xc]
jmp 0x4040c2
mov ebx, dword [esi + 4]
push dword [esi + 8]
mov edi, 0x40ca94
shl ebx, 0xa
push edi
add ebx, 0x41bd80
call fcn.00406cba
cmp dword [esi + 0xc], 0
pop ecx
pop ecx
push 0x400
push ebx
push edi
je 0x402f99
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jne 0x402f9f
and byte [ebx], al
inc dword [0x40bd28]
jmp 0x402f9f
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
and byte [ebx + 0x3ff], 0
jmp 0x402ada
push dword [esi + 4]
call fcn.00406da6
push dword [esi + 8]
mov edi, eax
call fcn.00406da6
pop ecx
cmp edi, eax
pop ecx
jl 0x402fdf
jle 0x402f54
jmp 0x402fed
push dword [esi + 4]
call fcn.00406da6
push dword [esi + 8]
mov edi, eax
call fcn.00406da6
pop ecx
cmp edi, eax
pop ecx
jae 0x402fe7
mov eax, dword [esi + 0x10]
jmp 0x4040c2
jbe 0x402f54
mov eax, dword [esi + 0x14]
jmp 0x4040c2
mov ebx, dword [esi + 4]
push dword [esi + 8]
shl ebx, 0xa
add ebx, 0x41bd80
call fcn.00406da6
push dword [esi + 0xc]
mov edi, eax
call fcn.00406da6
mov esi, dword [esi + 0x10]
pop ecx
pop ecx
cmp esi, 0xb
mov ecx, eax
ja case.default.0x40301f
jmp dword [esi*4 + 0x4041bf]
add edi, ecx
jmp case.default.0x40301f
sub edi, ecx
jmp case.default.0x40301f
imul ecx, edi
mov edi, ecx
jmp case.default.0x40301f
test ecx, ecx
je 0x40307f
mov eax, edi
cdq
idiv ecx
mov edi, eax
jmp case.default.0x40301f
or edi, ecx
jmp case.default.0x40301f
and edi, ecx
jmp case.default.0x40301f
xor edi, ecx
jmp case.default.0x40301f
not edi
jmp case.default.0x40301f
xor eax, eax
test edi, edi
sete al
jmp 0x40303e
test edi, edi
jne 0x40306d
test ecx, ecx
jne 0x40306d
xor edi, edi
jmp case.default.0x40301f
test edi, edi
je 0x403063
jmp 0x40305f
push 1
pop edi
jmp case.default.0x40301f
test ecx, ecx
je 0x40307f
mov eax, edi
cdq
idiv ecx
mov edi, edx
jmp case.default.0x40301f
xor edi, edi
inc dword [0x40bd28]
push edi
jmp 0x403c94
push dword [esi + 8]
mov edi, 0x40ca94
push edi
call fcn.00406cba
push dword [esi + 0xc]
call fcn.00406da6
push eax
mov eax, dword [esi + 4]
shl eax, 0xa
add eax, 0x41bd80
push edi
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
jmp 0x402ada
mov eax, dword [esi + 0xc]
mov edi, dword [0x40ce94]
test eax, eax
je 0x403115
dec eax
test edi, edi
je case.0x402797.62
mov edi, dword [edi]
mov ecx, eax
dec eax
test ecx, ecx
jne 0x4030cd
test edi, edi
je case.0x402797.62
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ebx, [edi + 4]
mov edi, 0x40ca94
push ebx
push edi
call esi
mov eax, dword [0x40ce94]
add eax, 4
push eax
push ebx
call esi
mov eax, dword [0x40ce94]
push edi
add eax, 4
push eax
call esi
jmp 0x402ada
cmp dword [esi + 8], 0
je 0x40314c
test edi, edi
je 0x402ad4
lea eax, [edi + 4]
push eax
mov eax, dword [esi + 4]
shl eax, 0xa
add eax, 0x41bd80
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [edi]
push edi
mov dword [0x40ce94], eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x402ada
push 0x404
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push dword [esi + 4]
mov edi, eax
lea eax, [edi + 4]
push eax
call fcn.00406cba
mov eax, dword [0x40ce94]
pop ecx
mov dword [edi], eax
pop ecx
mov dword [0x40ce94], edi
jmp 0x402ada
push dword [esi + 0x10]
call fcn.00406da6
push dword [esi + 0x14]
mov dword [ebp + 8], eax
call fcn.00406da6
push dword [esi + 8]
mov edi, 0x40ca94
mov dword [ebp + 0xc], eax
push edi
call fcn.00406cba
push dword [esi + 0xc]
mov ebx, 0x40c674
push ebx
call fcn.00406cba
add esp, 0x18
cmp dword [ebp - 4], 0x23
jne 0x4031d4
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call fcn.00406cfc
pop ecx
push eax
push edi
call fcn.00406cfc
pop ecx
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x4031f8
mov al, byte [0x40c674]
neg al
sbb eax, eax
and eax, ebx
push eax
mov al, byte [0x40ca94]
neg al
sbb eax, eax
and eax, edi
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_FindWindowExA]
mov esi, dword [esi + 4]
test esi, esi
jl 0x402ada
shl esi, 0xa
push eax
add esi, 0x41bd80
jmp 0x403d16
push dword [esi + 4]
call fcn.00406da6
pop ecx
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x402f54
mov eax, dword [esi + 8]
jmp 0x4040c2
push dword [esi + 4]
mov edi, 0x40ca94
push edi
call fcn.00406cba
push dword [esi + 8]
push 0x40c674
call fcn.00406cba
push dword [esi + 0xc]
mov ebx, 0x40be74
push ebx
call fcn.00406cba
add esp, 0x18
push edi
push 0x40c274
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x40a194
push 0x40c274
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x40c674
push 0x40c274
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x40c274
push str.ExecShell:
call fcn.00406275
mov al, byte [0x40be74]
pop ecx
pop ecx
push dword [esi + 0x10]
neg al
sbb eax, eax
push 0x421580
and eax, ebx
push eax
mov al, byte [0x40ca94]
neg al
sbb eax, eax
push 0x40c674
and eax, edi
push eax
push dword [0x422de4]
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x21
jge 0x402ada
jmp 0x402ad4
push dword [esi + 4]
mov edi, 0x40ca94
push edi
call fcn.00406cba
push edi
push str.Execute:
call fcn.00406275
mov al, byte [0x421580]
neg al
sbb eax, eax
and eax, 0x421580
push eax
push edi
call fcn.00406768
add esp, 0x18
mov dword [ebp + 0xc], eax
test eax, eax
je 0x402ad4
cmp dword [esi + 8], 0
je 0x403397
push 0x64
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x403361
mov ebx, dword [sym.imp.USER32.dll_PeekMessageA]
mov edi, 0x40ca78
push 1
push 0xf
push 0xf
push 0
push edi
call ebx
test eax, eax
je 0x40334f
push edi
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x403337
push 0x64
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x403337
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov esi, dword [esi + 0xc]
test esi, esi
jl 0x40338b
push dword [ebp + 8]
shl esi, 0xa
add esi, 0x41bd80
push esi
call fcn.00406ce5
pop ecx
pop ecx
jmp 0x403397
cmp dword [ebp + 8], 0
je 0x403397
inc dword [0x40bd28]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x402ada
mov eax, dword [esi + 0xc]
mov ebx, dword [esi + 8]
push dword [esi + 4]
mov ecx, 0x41bd80
shl eax, 0xa
mov edi, 0x40ca94
add eax, ecx
shl ebx, 0xa
push edi
add ebx, ecx
mov dword [ebp + 0xc], eax
call fcn.00406cba
push edi
call fcn.004041ef
mov esi, eax
add esp, 0xc
test esi, esi
je 0x4033f3
push dword [esi + 0x14]
push dword [ebp + 0xc]
call fcn.00406ce5
push dword [esi + 0x18]
push ebx
call fcn.00406ce5
jmp 0x402823
mov eax, dword [ebp + 0xc]
and byte [ebx], 0
and byte [eax], 0
jmp 0x402ad4
mov eax, dword [esi + 0xc]
mov ebx, dword [esi + 8]
push dword [esi + 4]
mov ecx, 0x41bd80
shl eax, 0xa
add eax, ecx
mov edi, 0x40ca94
mov dword [ebp - 8], eax
lea eax, [ebp - 0x20]
shl ebx, 0xa
push edi
add ebx, ecx
mov dword [ebp + 0xc], eax
call fcn.00406cba
pop ecx
lea eax, [ebp - 0xc]
pop ecx
push eax
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeA
and byte [ebx], 0
mov esi, eax
mov eax, dword [ebp - 8]
and byte [eax], 0
inc dword [0x40bd28]
test esi, esi
je 0x402ada
push esi
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
test eax, eax
mov dword [ebp + 8], eax
je 0x402ada
push eax
push esi
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x4034b0
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 0xc]
push eax
push 0x40a178
push dword [ebp + 8]
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x4034b0
mov eax, dword [ebp + 0xc]
push dword [eax + 8]
push ebx
call fcn.00406ce5
mov eax, dword [ebp + 0xc]
push dword [eax + 0xc]
push dword [ebp - 8]
call fcn.00406ce5
add esp, 0x10
dec dword [0x40bd28]
push dword [ebp + 8]
jmp 0x403141
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
inc dword [0x40bd28]
cmp eax, 1
je 0x4034de
test eax, eax
je 0x4034de
push 0x40ca94
push str.No_OLE_for:
jmp 0x4029e8
push dword [esi + 4]
mov edi, 0x40ca94
push edi
call fcn.00406cba
push dword [esi + 8]
mov ebx, 0x40c674
push ebx
call fcn.00406cba
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [ebp + 8], eax
je 0x403576
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [ebp + 0xc], eax
je 0x40355e
dec dword [0x40bd28]
mov esi, dword [esi + 0xc]
test esi, esi
jge 0x403543
push 0x40ce94
push 0x41bd80
push 0x400
push dword [0x422de4]
call eax
add esp, 0x10
jmp 0x40356b
mov ebx, 0x40be74
push esi
push ebx
call fcn.00406cba
push edi
push ebx
call fcn.00406275
add esp, 0x10
call dword [ebp + 0xc]
jmp 0x40356b
push ebx
push str.Could_not_find_symbol:
call fcn.00406275
pop ecx
pop ecx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x403583
push edi
push str.Could_not_load:
call fcn.00406275
pop ecx
pop ecx
call dword [sym.imp.ole32.dll_OleUninitialize]
jmp 0x402ada
push dword [esi + 4]
mov ebx, 0x40be74
push ebx
call fcn.00406cba
push dword [esi + 8]
push 0x40c674
call fcn.00406cba
push dword [esi + 0xc]
mov edi, 0x40ca94
push edi
call fcn.00406cba
push dword [esi + 0x10]
push 0x40c274
call fcn.00406cba
mov eax, dword [esi + 0x14]
mov ecx, eax
sar ecx, 0x10
push ecx
xor ecx, ecx
mov cl, ah
push ecx
mov cl, byte [0x40ca94]
neg cl
sbb ecx, ecx
push 0x421580
and ecx, edi
and eax, 0xff
push ecx
push 0x40c674
push eax
mov al, byte [0x40c274]
neg al
sbb eax, eax
and eax, 0x40c274
push eax
push ebx
push dword [0x422de4]
call fcn.00406fdd
add esp, 0x44
test eax, eax
je 0x403622
inc dword [0x40bd28]
push ebx
push str.Error_creating_shortcut:
jmp 0x4029e8
push ebx
push str.Create_shortcut:
jmp 0x4029e8
push dword [esi + 4]
mov edi, 0x40ca94
push edi
call fcn.00406cba
push dword [esi + 8]
push 0x40c674
call fcn.00406cba
mov eax, dword [0x422de4]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 2
push edi
call ebx
and byte [eax + 0x40ca95], 0
push 0x40c674
call ebx
and byte [eax + 0x40c675], 0
mov ebx, 0x40be74
push str.Copy_to
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x40c674
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov ax, word [esi + 0xc]
mov esi, 0x40ce98
push ebx
push esi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], 0x40c674
mov dword [ebp - 0x12], ebx
mov word [ebp - 0x1c], ax
call fcn.00406275
pop ecx
lea eax, [ebp - 0x2c]
pop ecx
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
test eax, eax
je 0x402ada
push esi
push str.Copy_failed
call fcn.00406275
pop ecx
pop ecx
jmp 0x402ad4
inc dword [0x40bd28]
cmp dword [esi + 4], 0xbadf00d
jne case.0x402797.62
push str.advapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
xor edi, edi
cmp ebx, edi
je 0x403778
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.OpenProcessToken
push ebx
call esi
push str.LookupPrivilegeValueA
push ebx
mov dword [ebp + 0xc], eax
call esi
push str.AdjustTokenPrivileges
push ebx
mov dword [ebp + 8], eax
call esi
cmp dword [ebp + 0xc], edi
mov esi, eax
je 0x403778
cmp dword [ebp + 8], edi
je 0x403778
cmp esi, edi
je 0x403778
lea eax, [ebp - 4]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [ebp + 0xc]
add esp, 0xc
test eax, eax
je 0x403778
lea eax, [ebp - 0x1c]
push eax
push str.SeShutdownPrivilege
push edi
call dword [ebp + 8]
push edi
push edi
lea eax, [ebp - 0x20]
push edi
push eax
push edi
push dword [ebp - 4]
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x14], 2
call esi
add esp, 0x24
push edi
push 6
call dword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
je 0x40378c
push edi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x402ada
xor eax, eax
cmp dword [0x40be70], eax
sete al
mov eax, dword [esi + eax*4 + 4]
jmp 0x4040c2
mov eax, dword [esi + 4]
mov dword [0x40be70], eax
jmp 0x402ada
push dword [esi + 4]
and dword [ebp + 0xc], 0
and dword [ebp + 8], 0
mov edi, 0x40ca94
push edi
call fcn.00406cba
mov eax, dword [esi + 8]
pop ecx
test eax, eax
pop ecx
jl 0x4037e9
mov ebx, 0x40c674
push eax
push ebx
call fcn.00406cba
pop ecx
mov dword [ebp + 8], ebx
pop ecx
mov eax, dword [esi + 0xc]
test eax, eax
jl 0x403801
mov ebx, 0x40be74
push eax
push ebx
call fcn.00406cba
pop ecx
mov dword [ebp + 0xc], ebx
pop ecx
push dword [esi + 0x10]
mov esi, 0x40c274
push esi
call fcn.00406cba
pop ecx
pop ecx
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
jmp 0x4028db
mov eax, dword [esi + 4]
push dword [esi + 8]
shl eax, 0xa
mov edi, 0x40ca94
add eax, 0x41bd80
push edi
mov dword [ebp + 0xc], eax
call fcn.00406cba
push dword [esi + 0xc]
push 0x40c674
call fcn.00406cba
push dword [esi + 0x10]
mov ebx, 0x40be74
push ebx
call fcn.00406cba
mov esi, dword [ebp + 0xc]
add esp, 0x18
push ebx
push 0x3ff
push esi
push dword [0x40a034]
push 0x40c674
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [0x40a034]
mov eax, dword [eax]
cmp eax, dword [esi]
jne 0x402ada
inc dword [0x40bd28]
mov eax, esi
and byte [eax], 0
jmp 0x402ada
mov ebx, dword [esi + 4]
inc dword [0x40bd28]
push dword [esi + 8]
mov edi, 0x40c274
push edi
call fcn.00406cba
cmp dword [esi + 0xc], 0xffffffff
pop ecx
pop ecx
je 0x403905
lea eax, [ebp + 0xc]
push eax
push 0xf003f
push 0
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x402ada
push dword [esi + 0xc]
mov edi, 0x40ca94
push edi
call fcn.00406cba
pop ecx
pop ecx
push edi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x4038f7
dec dword [0x40bd28]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x402ada
push dword [esi + 0x10]
push edi
push ebx
call fcn.0040430c
add esp, 0xc
test eax, eax
jne 0x402ada
dec dword [0x40bd28]
jmp 0x402ada
mov eax, dword [esi + 4]
mov edi, 0x40c674
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x14]
inc dword [0x40bd28]
push dword [esi + 0xc]
mov dword [ebp + 0xc], eax
push edi
call fcn.00406cba
push dword [esi + 8]
mov ebx, 0x40c274
push ebx
call fcn.00406cba
add esp, 0x10
lea eax, [ebp + 8]
push eax
push ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x402ada
cmp dword [ebp + 0xc], 1
jg 0x403999
push dword [esi + 0x10]
mov ebx, 0x40be74
push ebx
call fcn.00406cba
pop ecx
pop ecx
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
xor eax, eax
cmp dword [ebp + 0xc], 1
push ebx
setne al
inc eax
push eax
jmp 0x4039d9
cmp dword [ebp + 0xc], 2
jne 0x4039b5
push dword [esi + 0x10]
call fcn.00406da6
pop ecx
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
push 4
push eax
push 4
jmp 0x4039d9
cmp dword [ebp + 0xc], 3
jne 0x4039ef
mov ebx, 0x40be74
push 0x400
push ebx
push dword [esi + 0x10]
call fcn.004046c8
add esp, 0xc
test eax, eax
jl 0x4039ef
push eax
push ebx
push 3
push 0
push edi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x4039ef
dec dword [0x40bd28]
push dword [ebp + 8]
jmp 0x4038fa
mov ebx, dword [esi + 4]
push dword [esi + 0xc]
mov eax, dword [esi + 8]
mov edi, 0x40ca94
shl ebx, 0xa
push edi
add ebx, 0x41bd80
mov dword [ebp + 0xc], eax
call fcn.00406cba
push dword [esi + 0x10]
push 0x40c674
call fcn.00406cba
add esp, 0x10
lea eax, [ebp + 8]
and byte [ebx], 0
push eax
push 0x20019
push 0
push edi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x402ad4
lea eax, [ebp - 4]
xor edi, edi
push eax
lea eax, [ebp + 0xc]
push ebx
push eax
push edi
push 0x40c674
push dword [ebp + 8]
mov dword [ebp - 4], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x403a9c
cmp dword [ebp + 0xc], 4
je 0x403a85
cmp dword [ebp + 0xc], 1
je 0x403a7e
cmp dword [ebp + 0xc], 2
jne 0x403a9c
cmp dword [esi + 0x14], edi
je 0x403aa5
jmp 0x403a9f
cmp dword [esi + 0x14], edi
jne 0x403a90
inc dword [0x40bd28]
push dword [ebx]
push ebx
call fcn.00406ce5
pop ecx
pop ecx
jmp 0x403aa5
and byte [ebx], 0
inc dword [0x40bd28]
push dword [ebp + 8]
jmp 0x4038fa
mov edi, dword [esi + 4]
push dword [esi + 0x10]
shl edi, 0xa
add edi, 0x41bd80
call fcn.00406da6
push dword [esi + 0xc]
mov ebx, 0x40c674
mov dword [ebp + 8], eax
push ebx
call fcn.00406cba
and byte [edi], 0
add esp, 0xc
lea eax, [ebp + 0xc]
push eax
push 0xf003f
push 0
push ebx
push dword [esi + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x402ad4
xor ecx, ecx
mov eax, 0x3ff
cmp dword [esi + 0x14], ecx
mov dword [ebp - 4], eax
je 0x403b14
push eax
push edi
push dword [ebp + 8]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
jmp 0x403b29
push ecx
push ecx
push ecx
lea eax, [ebp - 4]
push ecx
push eax
push edi
push dword [ebp + 8]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
and byte [edi + 0x3ff], 0
push dword [ebp + 0xc]
jmp 0x4038fa
mov esi, dword [esi + 4]
shl esi, 0xa
add esi, 0x41bd80
cmp byte [esi], 0
je 0x402ada
push esi
call fcn.00406cfc
pop ecx
push eax
jmp 0x40339a
mov ebx, dword [esi + 0x10]
push dword [esi + 4]
mov edi, 0x40ca94
shl ebx, 0xa
push edi
add ebx, 0x41bd80
call fcn.00406cba
push dword [esi + 0xc]
push dword [esi + 8]
push edi
call fcn.0040693f
add esp, 0x14
cmp eax, 0xffffffff
je 0x402ad1
jmp 0x403c93
mov edi, dword [esi + 4]
push dword [esi + 8]
shl edi, 0xa
add edi, 0x41bd80
cmp dword [esi + 0xc], 0
mov ebx, 0x40c674
je 0x403bbb
call fcn.00406da6
pop ecx
mov byte [0x40c674], al
push 1
pop eax
jmp 0x403bca
push ebx
call fcn.00406cba
pop ecx
pop ecx
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [edi], 0
je 0x402ad4
lea ecx, [ebp + 0xc]
push 0
push ecx
push eax
push ebx
push edi
call fcn.00406cfc
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x4028db
mov ebx, dword [esi + 8]
mov edi, dword [esi + 4]
push dword [esi + 0xc]
and dword [ebp + 8], 0
shl ebx, 0xa
mov eax, 0x41bd80
shl edi, 0xa
add ebx, eax
add edi, eax
call fcn.00406da6
cmp eax, 1
pop ecx
mov dword [ebp - 8], eax
jl 0x402ada
mov eax, 0x3ff
cmp dword [ebp - 8], eax
jle 0x403c29
mov dword [ebp - 8], eax
cmp byte [edi], 0
je 0x403cbe
and byte [ebp + 0xf], 0
push edi
call fcn.00406cfc
cmp dword [ebp - 8], 0
pop ecx
mov dword [ebp - 4], eax
jle 0x403cbe
mov edi, dword [ebp + 8]
lea eax, [ebp - 0xc]
push 0
push eax
lea eax, [ebp + 0xb]
push 1
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x403cc1
cmp dword [ebp - 0xc], 1
jne 0x403cc1
cmp dword [esi + 0x10], 0
jne 0x403c8f
mov al, byte [ebp + 0xb]
test al, al
je 0x403cc1
cmp byte [ebp + 0xf], 0xd
je 0x403c9a
cmp byte [ebp + 0xf], 0xa
je 0x403c9a
mov byte [edi + ebx], al
inc edi
cmp edi, dword [ebp - 8]
mov byte [ebp + 0xf], al
jl 0x403c49
jmp 0x403cc1
movzx eax, byte [ebp + 0xb]
push eax
push ebx
jmp 0x402e80
cmp byte [ebp + 0xf], al
je 0x403cad
cmp al, 0xd
je 0x403ca7
cmp al, 0xa
jne 0x403cad
mov byte [edi + ebx], al
inc edi
jmp 0x403cc1
push 1
push 0
push 0xffffffffffffffff
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x403cc1
mov edi, dword [ebp + 8]
and byte [edi + ebx], 0
test edi, edi
jne 0x402ada
jmp 0x402ad4
mov edi, dword [esi + 4]
mov ebx, 0x41bd80
shl edi, 0xa
add edi, ebx
cmp byte [edi], 0
je 0x402ada
push dword [esi + 0xc]
push 0
push dword [esi + 8]
call fcn.00406da6
pop ecx
push eax
push edi
call fcn.00406cfc
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov esi, dword [esi + 0x10]
test esi, esi
jl 0x402ada
shl esi, 0xa
push eax
add esi, ebx
push esi
jmp 0x402e80
mov esi, dword [esi + 4]
shl esi, 0xa
add esi, 0x41bd80
cmp byte [esi], 0
je 0x402ada
push esi
call fcn.00406cfc
pop ecx
push eax
jmp 0x402dc0
mov edi, dword [esi + 4]
mov esi, dword [esi + 8]
mov eax, 0x41bd80
shl esi, 0xa
shl edi, 0xa
add esi, eax
add edi, eax
cmp byte [esi], 0
je 0x403d84
lea eax, [ebp - 0x16c]
push eax
push esi
call fcn.00406cfc
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x403d84
lea eax, [ebp - 0x140]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x402ada
inc dword [0x40bd28]
and byte [edi], 0
jmp 0x402ada
mov eax, dword [esi + 0xc]
mov ebx, dword [esi + 8]
push dword [esi + 4]
mov ecx, 0x41bd80
shl eax, 0xa
mov edi, 0x40ca94
add eax, ecx
shl ebx, 0xa
push edi
add ebx, ecx
mov dword [ebp + 0xc], eax
call fcn.00406cba
pop ecx
lea eax, [ebp - 0x16c]
pop ecx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
jne 0x403dd8
mov eax, dword [ebp + 0xc]
and byte [eax], 0
jmp 0x402ad1
push eax
push dword [ebp + 0xc]
call fcn.00406ce5
pop ecx
lea eax, [ebp - 0x140]
pop ecx
push eax
push ebx
jmp 0x403d79
push dword [esi + 4]
mov edi, 0x40ca94
mov dword [ebp + 8], 0xfffffd66
push edi
call fcn.00406cba
push edi
call fcn.00406850
add esp, 0xc
test eax, eax
je 0x403e1e
mov esi, 0x40c674
push edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x403e3e
mov esi, 0x40c674
push 0x421180
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push esi
call fcn.004067c1
pop ecx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 2
push 0x40000000
push esi
call fcn.0040693f
add esp, 0xc
cmp eax, 0xffffffff
mov dword [ebp + 0xc], eax
je 0x403ef9
push dword [0x422de0]
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x403eea
xor eax, eax
push eax
push eax
push eax
push dword [0x422de8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [ebp - 0xc]
push 0
push eax
push dword [0x422de0]
push ebx
push dword [0x422de8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [0x4225b8]
mov ecx, dword [eax + 0xd4]
test ecx, ecx
jle 0x403ebe
push dword [eax + 0xd8]
add ecx, ebx
push ecx
push dword [eax + 0xd0]
call fcn.004046c8
add esp, 0xc
lea eax, [ebp - 0xc]
push 0
push eax
push dword [0x422de0]
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [ebp + 0xc]
push 0xffffffffffffffff
call fcn.004044cd
pop ecx
mov dword [ebp + 8], eax
pop ecx
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 8], 0
jge 0x403f12
push edi
push str.Error_creating:
call fcn.00406275
pop ecx
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x402ada
push edi
push str.Created_Uninstaller:
jmp 0x4029e8
push dword [esi + 4]
call fcn.00406da6
mov ebx, eax
mov eax, dword [0x4225d0]
test eax, eax
pop ecx
je 0x402ad4
test ebx, ebx
jl 0x402ad4
mov ecx, dword [0x4225b8]
cmp ebx, dword [ecx + 0xe0]
jge 0x402ad4
mov edx, dword [0x422dec]
and dword [ebp + 0xc], 0
test edx, edx
je 0x403f76
test ebx, ebx
jle 0x403f76
mov ecx, eax
mov dword [ebp + 8], ebx
cmp dword [ecx], 0
jl 0x403f6e
inc dword [ebp + 0xc]
add ecx, 0x14
dec dword [ebp + 8]
jne 0x403f66
mov ecx, dword [esi + 8]
xor edi, edi
cmp ecx, edi
jne 0x40401e
cmp edx, edi
je 0x404010
lea ecx, [ebx + ebx*4]
shl ecx, 2
mov dword [ebp + 8], ecx
cmp dword [eax + ecx], edi
jl 0x403fae
push edi
push dword [ebp + 0xc]
push 0x182
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [0x4225d0]
mov ecx, dword [esi + 0xc]
cmp ecx, edi
jl 0x404010
mov edi, 0x40ca94
push ecx
push edi
call fcn.00406cba
pop ecx
pop ecx
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push dword [ebp + 0xc]
push 0x181
push dword [0x422dec]
call edi
push ebx
push dword [ebp + 0xc]
push 0x19a
push dword [0x422dec]
call edi
mov eax, dword [0x4225d0]
mov ecx, dword [ebp + 8]
push dword [ebp + 0xc]
mov eax, dword [eax + ecx + 4]
shr eax, 0x1f
push eax
push 0x185
push dword [0x422dec]
call edi
mov eax, dword [0x4225d0]
mov edx, dword [esi + 0xc]
lea ecx, [ebx + ebx*4]
mov dword [eax + ecx*4], edx
jmp 0x402ada
cmp ecx, 1
jne 0x404040
lea ecx, [ebx + ebx*4]
push dword [eax + ecx*4]
mov eax, dword [esi + 0xc]
shl eax, 0xa
add eax, 0x41bd80
push eax
call fcn.00406cba
pop ecx
jmp 0x402925
cmp ecx, 2
jne 0x404096
push dword [esi + 0xc]
lea ebx, [ebx + ebx*4]
shl ebx, 2
call fcn.00406da6
pop ecx
mov ecx, dword [0x4225d0]
mov dword [ecx + ebx + 4], eax
mov ecx, dword [0x422dec]
cmp ecx, edi
je 0x402ada
mov eax, dword [0x4225d0]
add eax, ebx
cmp dword [eax], edi
jl 0x402ada
mov eax, dword [eax + 4]
push dword [ebp + 0xc]
shr eax, 0x1f
push eax
push 0x185
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x402ada
lea ecx, [ebx + ebx*4]
push dword [eax + ecx*4 + 4]
mov eax, dword [esi + 0xc]
jmp 0x402e77
push 0x10
push 0x4225e0
push str.Install_corrupted:_invalid_opcode
push dword [0x422de4]
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, 0x7fffffff
pop edi
pop esi
pop ebx
leave
ret