Function at 0x40271e
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 [esi]
mov dword [ebp - 4], eax
add eax, 0xfffffffe
cmp eax, 0x3d
ja case.0x402747.62
jmp dword [eax*4 + 0x404063]
push dword [esi + 4]
mov edi, 0x40caa0
push edi
call fcn.00406c38
push edi
push 0x40cea4
call fcn.004061fa
add esp, 0x10
jmp 0x404059
inc dword [0x4225c8]
cmp dword [0x422e04], 0
je 0x404059
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x404059
push dword [esi + 4]
call fcn.00402703
dec eax
push 0
push eax
push edi
call fcn.00402669
add esp, 0x10
jmp 0x40405e
mov eax, dword [esi + 8]
test eax, eax
je 0x4027ba
mov dword [0x40a478], eax
jmp 0x402885
push dword [esi + 4]
mov esi, 0x40c280
push esi
call fcn.00406c38
push 0x40cea4
push esi
call fcn.004061fa
add esp, 0x10
jmp 0x402885
push dword [esi + 4]
call fcn.00406d1c
cmp eax, 1
pop ecx
jge 0x4027ec
xor eax, eax
inc eax
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x402885
mov al, byte [esi + 4]
mov byte [0x421da0], al
jmp 0x402885
push 0
push dword [0x422e04]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x402885
push 5
push dword [0x422e04]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x422e04]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x402885
mov al, byte [esi + 4]
mov byte [0x4225ec], al
jmp 0x402885
mov eax, dword [0x4225d0]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
je 0x402850
push dword [esi + 8]
push eax
call edi
mov eax, dword [0x4225e4]
test eax, eax
je 0x402885
push dword [esi + 4]
push eax
call edi
jmp 0x402885
push dword [esi + 4]
mov edi, 0x40caa0
push edi
call fcn.00406c38
pop ecx
pop ecx
push dword [esi + 8]
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x402885
inc dword [0x40bd30]
xor eax, eax
jmp 0x40405e
push dword [esi + 4]
mov edi, 0x40c680
push edi
call fcn.00406c38
cmp dword [esi + 8], 0
pop ecx
pop ecx
push edi
je 0x4028bd
push str.Output_directory:
call fcn.004061fa
pop ecx
pop ecx
push edi
push 0x4215a0
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x4028c9
push str.Create_directory:
call fcn.004061fa
pop ecx
pop ecx
push edi
call fcn.00406b35
pop ecx
jmp 0x402885
push dword [esi + 4]
mov edi, 0x40caa0
push edi
call fcn.00406c38
push edi
call fcn.0040418b
add esp, 0xc
jmp 0x4031c2
mov eax, dword [0x40bd30]
mov ecx, dword [esi + 0xc]
test eax, eax
mov dword [0x40bd30], ecx
je 0x4031ca
mov eax, dword [esi + 4]
jmp 0x40405e
push dword [esi + 4]
mov edi, 0x40caa0
push edi
call fcn.00406c38
push dword [esi + 8]
mov ebx, 0x40c680
push ebx
call fcn.00406c38
add esp, 0x10
push edi
push 0x40c280
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
call ebx
push edi
mov dword [ebp + 0xc], eax
call ebx
mov ecx, dword [ebp + 0xc]
mov ebx, 0x40c280
add ecx, eax
cmp ecx, 0x3fd
jge 0x402970
push 0x40a260
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x40c680
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x40c680
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
je 0x402990
push ebx
push str.Rename:
call fcn.004061fa
jmp 0x403fd6
cmp dword [esi + 0xc], 0
je 0x40287f
push edi
call fcn.0040418b
test eax, eax
pop ecx
je 0x40287f
inc dword [0x40be78]
push 0x40c680
push edi
call fcn.004068d8
push ebx
push str.Rename_on_reboot:
jmp 0x4027ce
mov ebx, dword [esi + 4]
push dword [esi + 8]
mov edi, 0x40caa0
shl ebx, 0xa
push edi
add ebx, 0x41bda0
call fcn.00406c38
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 0x402a1c
mov eax, dword [ebp + 0xc]
cmp eax, edi
jbe 0x402a25
cmp byte [eax], 0
je 0x402a25
push edi
call fcn.0040418b
test eax, eax
pop ecx
je 0x402a1c
add eax, 0x2c
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x402a25
inc dword [0x40bd30]
and byte [ebx], 0
cmp dword [esi + 0xc], 0
jne 0x402885
push 0x400
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
jmp 0x402885
mov ebx, dword [esi + 4]
push dword [esi + 8]
mov edi, 0x40caa0
shl ebx, 0xa
push edi
add ebx, 0x41bda0
call fcn.00406c38
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 0x402885
jmp 0x403d71
mov esi, dword [esi + 4]
mov edi, 0x40caa0
shl esi, 0xa
push edi
push 0x400
add esi, 0x41bda0
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x402ab7
push esi
push 0
push 0x40a23c
push edi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x402885
and byte [esi], 0
jmp 0x40287f
mov eax, dword [esi + 4]
mov edi, 0x40caa0
push 0x4215a0
push edi
mov dword [ebp + 0xc], eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push edi
call fcn.00406746
push dword [esi + 8]
mov ebx, 0x40c280
push ebx
call fcn.00406c38
push ebx
call fcn.004067d5
add esp, 0x10
test eax, eax
push ebx
push edi
je 0x402b01
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x402b07
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov ebx, 0x40be80
cmp dword [ebp + 0xc], 0
jne 0x402b28
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 1
je 0x402b58
xor eax, 1
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
cmp dword [ebp + 0xc], 3
jne 0x402b58
push edi
call fcn.0040418b
test eax, eax
pop ecx
mov dword [ebp + 0xc], 1
je 0x402b58
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.004068be
add esp, 0xc
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
jne 0x402c0f
cmp dword [ebp + 0xc], 0
jne 0x402bf5
push 0x41bda0
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push edi
push 0x41bda0
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [0x4225d8]
push dword [eax + 0x30]
push 0x40c680
call fcn.00406c38
pop ecx
pop ecx
push ebx
push 0x41bda0
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x12
push 0x422600
push 0x40c680
push dword [0x422e04]
call dword [sym.imp.USER32.dll_MessageBoxA]
sub eax, 4
je 0x402b0c
dec eax
je 0x40287f
push edi
push str.Cant_write:
call fcn.004061fa
pop ecx
pop ecx
jmp 0x404059
push 0x40c280
push str.Skipped:
call fcn.004061fa
cmp dword [ebp + 0xc], 2
pop ecx
pop ecx
jmp 0x40287d
mov ebx, 0x40c280
push ebx
push str.Extract:
call fcn.004061fa
push dword [ebp + 8]
push dword [esi + 0xc]
call fcn.0040445f
mov dword [ebp + 0xc], eax
lea eax, [esi + 0x10]
add esp, 0x10
cmp dword [eax], 0xffffffff
jne 0x402c3e
cmp dword [esi + 0x14], 0xffffffff
je 0x402c4b
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 0x402885
cmp dword [ebp + 0xc], 0xfffffffe
jne 0x402c7a
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 0x402c86
push str.Error_decompressing_data__Corrupted_installer_
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x10
push 0x422600
push edi
jmp 0x40404d
push dword [esi + 4]
mov ebx, 0x40c680
push ebx
call fcn.00406c38
pop ecx
mov edi, 0x40caa0
pop ecx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push edi
call fcn.0040677e
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 0x402885
test byte [ebp - 0x16c], 0x10
jne 0x402d4a
lea eax, [ebp - 0x140]
push eax
push edi
push str._s_s
push ebx
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [ebp - 0x16c]
add esp, 0x10
test al, 1
je 0x402d06
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 0x402d20
push ebx
push str.Delete_file:
call fcn.004061fa
pop ecx
pop ecx
jmp 0x402d4a
cmp dword [esi + 8], 0
je 0x402d44
inc dword [0x40be78]
push ebx
push str.Delete_on_reboot:
call fcn.004061fa
push 0
push ebx
call fcn.004068d8
add esp, 0x10
jmp 0x402d4a
inc dword [0x40bd30]
lea eax, [ebp - 0x16c]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x402cd1
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x402885
push dword [esi + 8]
mov edi, 0x40c280
push edi
call fcn.00406c38
pop ecx
pop ecx
push dword [esi + 4]
push 0x422600
push edi
push dword [0x422e04]
call dword [sym.imp.USER32.dll_MessageBoxA]
test eax, eax
je 0x40287f
mov ecx, dword [esi + 0xc]
and ecx, 0xffff
cmp eax, ecx
je 0x402f83
movsx ecx, word [esi + 0xe]
cmp eax, ecx
jne 0x402885
jmp 0x402f91
push dword [esi + 4]
mov edi, 0x40caa0
push edi
call fcn.00406c38
push edi
call fcn.00406764
add esp, 0xc
cmp al, 0x5c
jne 0x402de1
push edi
call fcn.0040677e
pop ecx
push dword [esi + 8]
push edi
call fcn.004041b0
push edi
call fcn.0040418b
add esp, 0xc
test eax, eax
je 0x402885
jmp 0x40287f
push dword [esi + 8]
mov edi, 0x40caa0
push edi
call fcn.00406c38
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, 0x41bda0
push eax
call fcn.00406c63
jmp 0x403fd6
push dword [esi + 0xc]
call fcn.00406d1c
push dword [esi + 0x10]
mov dword [ebp + 0xc], eax
call fcn.00406d1c
mov ebx, dword [esi + 4]
push dword [esi + 8]
mov edi, 0x40caa0
mov dword [ebp + 8], eax
shl ebx, 0xa
push edi
add ebx, 0x41bda0
call fcn.00406c38
and byte [ebx], 0
add esp, 0x10
cmp dword [esi + 0xc], 0
mov esi, dword [ebp + 0xc]
jl 0x402e75
test esi, esi
je 0x402885
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
call edi
mov ecx, dword [ebp + 8]
test ecx, ecx
jge 0x402e8d
add ecx, eax
js 0x402885
cmp ecx, eax
jle 0x402e93
mov ecx, eax
lea eax, [ecx + 0x40caa0]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
test esi, esi
je 0x402885
jge 0x402eb4
push ebx
call edi
add esi, eax
jns 0x402eb4
xor esi, esi
cmp esi, 0x400
jge 0x402885
and byte [ebx + esi], 0
jmp 0x402885
push dword [esi + 4]
mov ebx, 0x40be80
push ebx
call fcn.00406c38
push dword [esi + 8]
mov edi, 0x40c280
push edi
call fcn.00406c38
add esp, 0x10
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x402f83
mov eax, dword [esi + 0xc]
jmp 0x40405e
mov ebx, dword [esi + 4]
push dword [esi + 8]
mov edi, 0x40caa0
shl ebx, 0xa
push edi
add ebx, 0x41bda0
call fcn.00406c38
cmp dword [esi + 0xc], 0
pop ecx
pop ecx
push 0x400
push ebx
push edi
je 0x402f3d
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jne 0x402f43
and byte [ebx], al
inc dword [0x40bd30]
jmp 0x402f43
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
and byte [ebx + 0x3ff], 0
jmp 0x402885
push dword [esi + 4]
call fcn.00406d1c
push dword [esi + 8]
mov edi, eax
call fcn.00406d1c
pop ecx
cmp edi, eax
pop ecx
jl 0x402f83
jle 0x402ef8
jmp 0x402f91
push dword [esi + 4]
call fcn.00406d1c
push dword [esi + 8]
mov edi, eax
call fcn.00406d1c
pop ecx
cmp edi, eax
pop ecx
jae 0x402f8b
mov eax, dword [esi + 0x10]
jmp 0x40405e
jbe 0x402ef8
mov eax, dword [esi + 0x14]
jmp 0x40405e
mov ebx, dword [esi + 4]
push dword [esi + 8]
shl ebx, 0xa
add ebx, 0x41bda0
call fcn.00406d1c
push dword [esi + 0xc]
mov edi, eax
call fcn.00406d1c
mov esi, dword [esi + 0x10]
pop ecx
pop ecx
cmp esi, 0xb
mov ecx, eax
ja case.default.0x402fc3
jmp dword [esi*4 + 0x40415b]
add edi, ecx
jmp case.default.0x402fc3
sub edi, ecx
jmp case.default.0x402fc3
imul ecx, edi
mov edi, ecx
jmp case.default.0x402fc3
test ecx, ecx
je 0x403023
mov eax, edi
cdq
idiv ecx
mov edi, eax
jmp case.default.0x402fc3
or edi, ecx
jmp case.default.0x402fc3
and edi, ecx
jmp case.default.0x402fc3
xor edi, ecx
jmp case.default.0x402fc3
not edi
jmp case.default.0x402fc3
xor eax, eax
test edi, edi
sete al
jmp 0x402fe2
test edi, edi
jne 0x403011
jmp 0x40300d
xor edi, edi
jmp case.default.0x402fc3
test edi, edi
je 0x403005
test ecx, ecx
je 0x403005
xor edi, edi
inc edi
jmp case.default.0x402fc3
test ecx, ecx
je 0x403023
mov eax, edi
cdq
idiv ecx
mov edi, edx
jmp case.default.0x402fc3
xor edi, edi
inc dword [0x40bd30]
push edi
jmp 0x403c38
push dword [esi + 8]
mov edi, 0x40caa0
push edi
call fcn.00406c38
push dword [esi + 0xc]
call fcn.00406d1c
push eax
mov eax, dword [esi + 4]
shl eax, 0xa
add eax, 0x41bda0
push edi
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
jmp 0x402885
mov eax, dword [esi + 0xc]
mov edi, dword [0x40cea0]
test eax, eax
je 0x4030b6
dec eax
test edi, edi
je case.0x402747.62
mov edi, dword [edi]
test eax, eax
jne 0x403070
test edi, edi
je case.0x402747.62
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ebx, [edi + 4]
mov edi, 0x40caa0
push ebx
push edi
call esi
mov eax, dword [0x40cea0]
add eax, 4
push eax
push ebx
call esi
mov eax, dword [0x40cea0]
push edi
add eax, 4
push eax
call esi
jmp 0x402885
cmp dword [esi + 8], 0
je 0x4030ed
test edi, edi
je 0x40287f
lea eax, [edi + 4]
push eax
mov eax, dword [esi + 4]
shl eax, 0xa
add eax, 0x41bda0
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [edi]
push edi
mov dword [0x40cea0], eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x402885
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.00406c38
mov eax, dword [0x40cea0]
pop ecx
mov dword [edi], eax
pop ecx
mov dword [0x40cea0], edi
jmp 0x402885
push dword [esi + 0x10]
call fcn.00406d1c
push dword [esi + 0x14]
mov dword [ebp + 8], eax
call fcn.00406d1c
push dword [esi + 8]
mov edi, 0x40caa0
mov dword [ebp + 0xc], eax
push edi
call fcn.00406c38
push dword [esi + 0xc]
mov ebx, 0x40c680
push ebx
call fcn.00406c38
add esp, 0x18
cmp dword [ebp - 4], 0x23
jne 0x403175
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call fcn.00406c7a
pop ecx
push eax
push edi
call fcn.00406c7a
pop ecx
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x403199
mov al, byte [0x40c680]
neg al
sbb eax, eax
and eax, ebx
push eax
mov al, byte [0x40caa0]
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 0x402885
shl esi, 0xa
add esi, 0x41bda0
jmp 0x403cb3
push dword [esi + 4]
call fcn.00406d1c
pop ecx
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x402ef8
mov eax, dword [esi + 8]
jmp 0x40405e
push dword [esi + 4]
mov edi, 0x40caa0
push edi
call fcn.00406c38
push dword [esi + 8]
push 0x40c680
call fcn.00406c38
push dword [esi + 0xc]
mov ebx, 0x40be80
push ebx
call fcn.00406c38
add esp, 0x18
push edi
push 0x40c280
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x40a194
push 0x40c280
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x40c680
push 0x40c280
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x40c280
push str.ExecShell:
call fcn.004061fa
mov al, byte [0x40be80]
pop ecx
pop ecx
push dword [esi + 0x10]
neg al
sbb eax, eax
push 0x4215a0
and eax, ebx
push eax
mov al, byte [0x40caa0]
neg al
sbb eax, eax
push 0x40c680
and eax, edi
push eax
push dword [0x422e04]
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x21
jge 0x402885
jmp 0x40287f
push dword [esi + 4]
mov edi, 0x40caa0
push edi
call fcn.00406c38
push edi
push str.Execute:
call fcn.004061fa
mov al, byte [0x4215a0]
neg al
sbb eax, eax
and eax, 0x4215a0
push eax
push edi
call fcn.004066ed
add esp, 0x18
mov dword [ebp + 0xc], eax
test eax, eax
je 0x40287f
cmp dword [esi + 8], 0
je 0x403337
push 0x64
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x403301
mov ebx, dword [sym.imp.USER32.dll_PeekMessageA]
mov edi, 0x40ca80
jmp 0x4032e0
push edi
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 1
push 0xf
push 0xf
push 0
push edi
call ebx
test eax, eax
jne 0x4032d9
push 0x64
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x4032e0
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 0x40332b
push dword [ebp + 8]
shl esi, 0xa
add esi, 0x41bda0
push esi
call fcn.00406c63
pop ecx
pop ecx
jmp 0x403337
cmp dword [ebp + 8], 0
je 0x403337
inc dword [0x40bd30]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x402885
mov eax, dword [esi + 0xc]
mov ebx, dword [esi + 8]
push dword [esi + 4]
mov ecx, 0x41bda0
shl eax, 0xa
mov edi, 0x40caa0
add eax, ecx
shl ebx, 0xa
push edi
add ebx, ecx
mov dword [ebp + 0xc], eax
call fcn.00406c38
push edi
call fcn.0040418b
mov esi, eax
add esp, 0xc
test esi, esi
je 0x403393
push dword [esi + 0x14]
push dword [ebp + 0xc]
call fcn.00406c63
push dword [esi + 0x18]
push ebx
call fcn.00406c63
jmp 0x4027d3
mov eax, dword [ebp + 0xc]
and byte [ebx], 0
and byte [eax], 0
jmp 0x40287f
mov eax, dword [esi + 0xc]
mov ebx, dword [esi + 8]
push dword [esi + 4]
mov ecx, 0x41bda0
shl eax, 0xa
add eax, ecx
mov edi, 0x40caa0
mov dword [ebp - 8], eax
lea eax, [ebp - 0x20]
shl ebx, 0xa
push edi
add ebx, ecx
mov dword [ebp + 0xc], eax
call fcn.00406c38
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 [0x40bd30]
test esi, esi
je 0x402885
push esi
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
test eax, eax
mov dword [ebp + 8], eax
je 0x402885
push eax
push esi
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x403450
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 0x403450
mov eax, dword [ebp + 0xc]
push dword [eax + 8]
push ebx
call fcn.00406c63
mov eax, dword [ebp + 0xc]
push dword [eax + 0xc]
push dword [ebp - 8]
call fcn.00406c63
add esp, 0x10
dec dword [0x40bd30]
push dword [ebp + 8]
jmp 0x4030e2
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
inc dword [0x40bd30]
cmp eax, 1
je 0x40347e
test eax, eax
je 0x40347e
push 0x40caa0
push str.No_OLE_for:
jmp 0x402986
push dword [esi + 4]
mov edi, 0x40caa0
push edi
call fcn.00406c38
push dword [esi + 8]
mov ebx, 0x40c680
push ebx
call fcn.00406c38
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [ebp + 8], eax
je 0x403516
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [ebp + 0xc], eax
je 0x4034fe
dec dword [0x40bd30]
mov esi, dword [esi + 0xc]
test esi, esi
jge 0x4034e3
push 0x40cea0
push 0x41bda0
push 0x400
push dword [0x422e04]
call eax
add esp, 0x10
jmp 0x40350b
mov ebx, 0x40be80
push esi
push ebx
call fcn.00406c38
push edi
push ebx
call fcn.004061fa
add esp, 0x10
call dword [ebp + 0xc]
jmp 0x40350b
push ebx
push str.Could_not_find_symbol:
call fcn.004061fa
pop ecx
pop ecx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x403523
push edi
push str.Could_not_load:
call fcn.004061fa
pop ecx
pop ecx
call dword [sym.imp.ole32.dll_OleUninitialize]
jmp 0x402885
push dword [esi + 4]
mov ebx, 0x40be80
push ebx
call fcn.00406c38
push dword [esi + 8]
push 0x40c680
call fcn.00406c38
push dword [esi + 0xc]
mov edi, 0x40caa0
push edi
call fcn.00406c38
push dword [esi + 0x10]
push 0x40c280
call fcn.00406c38
movsx ecx, word [esi + 0x16]
mov eax, dword [esi + 0x14]
push ecx
xor ecx, ecx
mov cl, ah
push ecx
mov cl, byte [0x40caa0]
neg cl
sbb ecx, ecx
push 0x4215a0
and ecx, edi
and eax, 0xff
push ecx
push 0x40c680
push eax
mov al, byte [0x40c280]
neg al
sbb eax, eax
and eax, 0x40c280
push eax
push ebx
push dword [0x422e04]
call fcn.00406f57
add esp, 0x44
test eax, eax
push ebx
je 0x4035c1
inc dword [0x40bd30]
push str.Error_creating_shortcut:
jmp 0x402986
push str.Create_shortcut:
jmp 0x402986
push dword [esi + 4]
mov edi, 0x40caa0
push edi
call fcn.00406c38
push dword [esi + 8]
push 0x40c680
call fcn.00406c38
mov eax, dword [0x422e04]
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 + 0x40caa1], 0
push 0x40c680
call ebx
and byte [eax + 0x40c681], 0
mov ebx, 0x40be80
push str.Copy_to
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x40c680
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov ax, word [esi + 0xc]
mov esi, 0x40cea4
push ebx
push esi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], 0x40c680
mov dword [ebp - 0x12], ebx
mov word [ebp - 0x1c], ax
call fcn.004061fa
pop ecx
lea eax, [ebp - 0x2c]
pop ecx
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
test eax, eax
je 0x402885
push esi
push str.Copy_failed
call fcn.004061fa
pop ecx
pop ecx
jmp 0x40287f
inc dword [0x40bd30]
cmp dword [esi + 4], 0xbadf00d
jne case.0x402747.62
push str.advapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
xor edi, edi
cmp ebx, edi
je 0x403716
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 0x403716
cmp dword [ebp + 8], edi
je 0x403716
cmp esi, edi
je 0x403716
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 0x403716
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 0x40372a
push edi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x402885
xor eax, eax
cmp dword [0x40be78], eax
sete al
mov eax, dword [esi + eax*4 + 4]
jmp 0x40405e
mov eax, dword [esi + 4]
mov dword [0x40be78], eax
jmp 0x402885
push dword [esi + 4]
and dword [ebp + 0xc], 0
and dword [ebp + 8], 0
mov edi, 0x40caa0
push edi
call fcn.00406c38
mov eax, dword [esi + 8]
pop ecx
test eax, eax
pop ecx
jl 0x403787
mov ebx, 0x40c680
push eax
push ebx
call fcn.00406c38
pop ecx
mov dword [ebp + 8], ebx
pop ecx
mov eax, dword [esi + 0xc]
test eax, eax
jl 0x40379f
mov ebx, 0x40be80
push eax
push ebx
call fcn.00406c38
pop ecx
mov dword [ebp + 0xc], ebx
pop ecx
push dword [esi + 0x10]
mov esi, 0x40c280
push esi
call fcn.00406c38
pop ecx
pop ecx
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
jmp 0x40287b
mov eax, dword [esi + 4]
push dword [esi + 8]
shl eax, 0xa
mov edi, 0x40caa0
add eax, 0x41bda0
push edi
mov dword [ebp + 0xc], eax
call fcn.00406c38
push dword [esi + 0xc]
push 0x40c680
call fcn.00406c38
push dword [esi + 0x10]
mov ebx, 0x40be80
push ebx
call fcn.00406c38
mov esi, dword [ebp + 0xc]
add esp, 0x18
push ebx
push 0x3ff
push esi
push dword [0x40a034]
push 0x40c680
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [0x40a034]
mov eax, dword [eax]
cmp eax, dword [esi]
jne 0x402885
inc dword [0x40bd30]
mov eax, esi
and byte [eax], 0
jmp 0x402885
mov ebx, dword [esi + 4]
inc dword [0x40bd30]
push dword [esi + 8]
mov edi, 0x40c280
push edi
call fcn.00406c38
cmp dword [esi + 0xc], 0xffffffff
pop ecx
pop ecx
je 0x4038a3
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 0x402885
push dword [esi + 0xc]
mov edi, 0x40caa0
push edi
call fcn.00406c38
pop ecx
pop ecx
push edi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x403895
dec dword [0x40bd30]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x402885
push dword [esi + 0x10]
push edi
push ebx
call fcn.004042a8
add esp, 0xc
test eax, eax
jne 0x402885
dec dword [0x40bd30]
jmp 0x402885
mov eax, dword [esi + 4]
mov edi, 0x40c680
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x14]
inc dword [0x40bd30]
push dword [esi + 0xc]
mov dword [ebp + 0xc], eax
push edi
call fcn.00406c38
push dword [esi + 8]
mov ebx, 0x40c280
push ebx
call fcn.00406c38
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 0x402885
cmp dword [ebp + 0xc], 1
jg 0x403937
push dword [esi + 0x10]
mov ebx, 0x40be80
push ebx
call fcn.00406c38
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 0x40397f
cmp dword [ebp + 0xc], 2
jne 0x403953
push dword [esi + 0x10]
call fcn.00406d1c
pop ecx
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
push 4
push eax
push 4
jmp 0x40397f
cmp dword [ebp + 0xc], 3
jne 0x403a4c
mov ebx, 0x40be80
push 0x400
push ebx
push dword [esi + 0x10]
call fcn.00404659
add esp, 0xc
test eax, eax
jl 0x403a4c
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 0x403a4c
dec dword [0x40bd30]
jmp 0x403a4c
mov ebx, dword [esi + 4]
push dword [esi + 0xc]
mov eax, dword [esi + 8]
mov edi, 0x40caa0
shl ebx, 0xa
push edi
add ebx, 0x41bda0
mov dword [ebp + 0xc], eax
call fcn.00406c38
push dword [esi + 0x10]
push 0x40c680
call fcn.00406c38
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 0x40287f
lea eax, [ebp - 4]
xor edi, edi
push eax
lea eax, [ebp + 0xc]
push ebx
push eax
push edi
push 0x40c680
push dword [ebp + 8]
mov dword [ebp - 4], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x403a43
cmp dword [ebp + 0xc], 4
je 0x403a2c
cmp dword [ebp + 0xc], 1
je 0x403a25
cmp dword [ebp + 0xc], 2
jne 0x403a43
cmp dword [esi + 0x14], edi
je 0x403a4c
jmp 0x403a46
cmp dword [esi + 0x14], edi
jne 0x403a37
inc dword [0x40bd30]
push dword [ebx]
push ebx
call fcn.00406c63
pop ecx
pop ecx
jmp 0x403a4c
and byte [ebx], 0
inc dword [0x40bd30]
push dword [ebp + 8]
jmp 0x403898
mov edi, dword [esi + 4]
push dword [esi + 0x10]
shl edi, 0xa
add edi, 0x41bda0
call fcn.00406d1c
push dword [esi + 0xc]
mov ebx, 0x40c680
mov dword [ebp + 8], eax
push ebx
call fcn.00406c38
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 0x40287f
xor ecx, ecx
mov eax, 0x3ff
cmp dword [esi + 0x14], ecx
mov dword [ebp - 4], eax
je 0x403abb
push eax
push edi
push dword [ebp + 8]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
jmp 0x403ad0
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
jmp 0x403895
mov esi, dword [esi + 4]
shl esi, 0xa
add esi, 0x41bda0
cmp byte [esi], 0
je 0x402885
push esi
call fcn.00406c7a
pop ecx
push eax
jmp 0x40333a
mov ebx, dword [esi + 0x10]
push dword [esi + 4]
mov edi, 0x40caa0
shl ebx, 0xa
push edi
add ebx, 0x41bda0
call fcn.00406c38
push dword [esi + 0xc]
push dword [esi + 8]
push edi
call fcn.004068be
add esp, 0x14
cmp eax, 0xffffffff
je 0x403d71
jmp 0x403c37
mov edi, dword [esi + 4]
push dword [esi + 8]
shl edi, 0xa
add edi, 0x41bda0
cmp dword [esi + 0xc], 0
mov ebx, 0x40c680
je 0x403b5f
call fcn.00406d1c
mov byte [0x40c680], al
xor eax, eax
pop ecx
inc eax
jmp 0x403b6e
push ebx
call fcn.00406c38
pop ecx
pop ecx
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [edi], 0
je 0x40287f
lea ecx, [ebp + 0xc]
push 0
push ecx
push eax
push ebx
push edi
call fcn.00406c7a
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x40287b
mov ebx, dword [esi + 8]
mov edi, dword [esi + 4]
push dword [esi + 0xc]
and dword [ebp + 8], 0
shl ebx, 0xa
mov eax, 0x41bda0
shl edi, 0xa
add ebx, eax
add edi, eax
call fcn.00406d1c
cmp eax, 1
pop ecx
mov dword [ebp - 8], eax
jl 0x402885
mov eax, 0x3ff
cmp dword [ebp - 8], eax
jle 0x403bcd
mov dword [ebp - 8], eax
cmp byte [edi], 0
je 0x403c62
and byte [ebp + 0xf], 0
push edi
call fcn.00406c7a
cmp dword [ebp - 8], 0
pop ecx
mov dword [ebp - 4], eax
jle 0x403c62
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 0x403c65
cmp dword [ebp - 0xc], 1
jne 0x403c65
cmp dword [esi + 0x10], 0
jne 0x403c33
mov al, byte [ebp + 0xb]
test al, al
je 0x403c65
cmp byte [ebp + 0xf], 0xd
je 0x403c3e
cmp byte [ebp + 0xf], 0xa
je 0x403c3e
mov byte [edi + ebx], al
inc edi
cmp edi, dword [ebp - 8]
mov byte [ebp + 0xf], al
jl 0x403bed
jmp 0x403c65
movzx eax, byte [ebp + 0xb]
push eax
push ebx
jmp 0x402e24
cmp byte [ebp + 0xf], al
je 0x403c51
cmp al, 0xd
je 0x403c4b
cmp al, 0xa
jne 0x403c51
mov byte [edi + ebx], al
inc edi
jmp 0x403c65
push 1
push 0
push 0xffffffffffffffff
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x403c65
mov edi, dword [ebp + 8]
and byte [edi + ebx], 0
test edi, edi
jmp 0x40287d
mov edi, dword [esi + 4]
mov ebx, 0x41bda0
shl edi, 0xa
add edi, ebx
cmp byte [edi], 0
je 0x402885
push dword [esi + 0xc]
push 0
push dword [esi + 8]
call fcn.00406d1c
pop ecx
push eax
push edi
call fcn.00406c7a
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov esi, dword [esi + 0x10]
test esi, esi
jl 0x402885
shl esi, 0xa
add esi, ebx
push eax
push esi
jmp 0x402e24
mov esi, dword [esi + 4]
shl esi, 0xa
add esi, 0x41bda0
cmp byte [esi], 0
je 0x402885
push esi
call fcn.00406c7a
pop ecx
push eax
jmp 0x402d65
mov edi, dword [esi + 4]
mov esi, dword [esi + 8]
mov eax, 0x41bda0
shl esi, 0xa
shl edi, 0xa
add esi, eax
add edi, eax
cmp byte [esi], 0
je 0x403d22
lea eax, [ebp - 0x16c]
push eax
push esi
call fcn.00406c7a
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x403d22
lea eax, [ebp - 0x140]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x402885
inc dword [0x40bd30]
and byte [edi], 0
jmp 0x402885
mov eax, dword [esi + 0xc]
mov ebx, dword [esi + 8]
push dword [esi + 4]
mov ecx, 0x41bda0
shl eax, 0xa
mov edi, 0x40caa0
add eax, ecx
shl ebx, 0xa
push edi
add ebx, ecx
mov dword [ebp + 0xc], eax
call fcn.00406c38
pop ecx
lea eax, [ebp - 0x16c]
pop ecx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
jne 0x403d79
mov eax, dword [ebp + 0xc]
and byte [eax], 0
and byte [ebx], 0
jmp 0x40287f
push eax
push dword [ebp + 0xc]
call fcn.00406c63
pop ecx
lea eax, [ebp - 0x140]
pop ecx
push eax
push ebx
jmp 0x403d17
push dword [esi + 4]
mov edi, 0x40caa0
mov dword [ebp + 8], 0xfffffd66
push edi
call fcn.00406c38
push edi
call fcn.004067d5
add esp, 0xc
mov esi, 0x40c680
test eax, eax
je 0x403dbf
push edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x403dda
push 0x4211a0
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push esi
call fcn.00406746
pop ecx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 2
push 0x40000000
push esi
call fcn.004068be
add esp, 0xc
cmp eax, 0xffffffff
mov dword [ebp + 0xc], eax
je 0x403e95
push dword [0x422e00]
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x403e86
xor eax, eax
push eax
push eax
push eax
push dword [0x422e08]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [ebp - 0xc]
push 0
push eax
push dword [0x422e00]
push ebx
push dword [0x422e08]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [0x4225d8]
mov ecx, dword [eax + 0xd4]
test ecx, ecx
jle 0x403e5a
push dword [eax + 0xd8]
add ecx, ebx
push ecx
push dword [eax + 0xd0]
call fcn.00404659
add esp, 0xc
lea eax, [ebp - 0xc]
push 0
push eax
push dword [0x422e00]
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.0040445f
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 0x403eae
push edi
push str.Error_creating:
call fcn.004061fa
pop ecx
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x402885
push edi
push str.Created_uninstaller:
jmp 0x402986
push dword [esi + 4]
call fcn.00406d1c
mov ebx, eax
mov eax, dword [0x4225f0]
test eax, eax
pop ecx
je 0x40287f
test ebx, ebx
jl 0x40287f
mov ecx, dword [0x4225d8]
cmp ebx, dword [ecx + 0xe0]
jge 0x40287f
mov edx, dword [0x422e0c]
and dword [ebp + 0xc], 0
test edx, edx
je 0x403f12
test ebx, ebx
jle 0x403f12
mov ecx, eax
mov dword [ebp + 8], ebx
cmp dword [ecx], 0
jl 0x403f0a
inc dword [ebp + 0xc]
add ecx, 0x14
dec dword [ebp + 8]
jne 0x403f02
mov ecx, dword [esi + 8]
xor edi, edi
cmp ecx, edi
jne 0x403fba
cmp edx, edi
je 0x403fac
lea ecx, [ebx + ebx*4]
shl ecx, 2
mov dword [ebp + 8], ecx
cmp dword [eax + ecx], edi
jl 0x403f4a
push edi
push dword [ebp + 0xc]
push 0x182
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [0x4225f0]
mov ecx, dword [esi + 0xc]
cmp ecx, edi
jl 0x403fac
mov edi, 0x40caa0
push ecx
push edi
call fcn.00406c38
pop ecx
pop ecx
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push dword [ebp + 0xc]
push 0x181
push dword [0x422e0c]
call edi
push ebx
push dword [ebp + 0xc]
push 0x19a
push dword [0x422e0c]
call edi
mov eax, dword [0x4225f0]
mov ecx, dword [ebp + 8]
push dword [ebp + 0xc]
mov eax, dword [eax + ecx + 4]
shr eax, 0x1f
push eax
push 0x185
push dword [0x422e0c]
call edi
mov eax, dword [0x4225f0]
mov edx, dword [esi + 0xc]
lea ecx, [ebx + ebx*4]
mov dword [eax + ecx*4], edx
jmp 0x402885
cmp ecx, 1
jne 0x403fdc
lea ecx, [ebx + ebx*4]
push dword [eax + ecx*4]
mov eax, dword [esi + 0xc]
shl eax, 0xa
add eax, 0x41bda0
push eax
call fcn.00406c38
pop ecx
jmp 0x4028cf
cmp ecx, 2
jne 0x404032
push dword [esi + 0xc]
lea ebx, [ebx + ebx*4]
shl ebx, 2
call fcn.00406d1c
pop ecx
mov ecx, dword [0x4225f0]
mov dword [ecx + ebx + 4], eax
mov ecx, dword [0x422e0c]
cmp ecx, edi
je 0x402885
mov eax, dword [0x4225f0]
add eax, ebx
cmp dword [eax], edi
jl 0x402885
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 0x402885
lea ecx, [ebx + ebx*4]
push dword [eax + ecx*4 + 4]
mov eax, dword [esi + 0xc]
jmp 0x402e1b
push 0x10
push 0x422600
push str.Install_corrupted:_invalid_opcode
push dword [0x422e04]
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, 0x7fffffff
pop edi
pop esi
pop ebx
leave
ret