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
Link many functions at runtime
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, 0x42
ja case.0x402797.62
jmp dword [eax*4 + 0x4041e6]
push dword [esi + 4]
mov edi, 0x40ca94
push edi
call fcn.00406e04
push edi
push 0x40ce98
call fcn.004063bf
add esp, 0x10
jmp 0x4041dc
inc dword [0x4225a8]
cmp dword [0x422de4], 0
je 0x4041dc
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x4041dc
push dword [esi + 4]
call fcn.00402752
dec eax
push 0
push eax
push edi
call fcn.004026b6
add esp, 0x10
jmp 0x4041e1
mov eax, dword [esi + 8]
test eax, eax
je 0x40280a
mov dword [0x40a478], eax
jmp 0x4041b5
push dword [esi + 4]
mov esi, 0x40c294
push esi
call fcn.00406e04
push 0x40ce98
push esi
call fcn.004063bf
jmp 0x403412
push dword [esi + 4]
call fcn.00406ef0
cmp eax, 1
pop ecx
jge 0x402839
push 1
pop eax
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4041b5
mov al, byte [esi + 4]
mov byte [0x421d80], al
jmp 0x4041b5
push 0
push dword [0x422de4]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4041b5
push 5
push dword [0x422de4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x422de4]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x4041b5
mov al, byte [esi + 4]
mov byte [0x4225cc], al
jmp 0x4041b5
mov eax, dword [0x4225b0]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
je 0x4028a6
push dword [esi + 8]
push eax
call edi
mov eax, dword [0x4225c4]
test eax, eax
je 0x4041b5
push dword [esi + 4]
push eax
call edi
jmp 0x4041b5
push dword [esi + 4]
mov edi, 0x40ca94
push edi
call fcn.00406e04
pop ecx
pop ecx
push dword [esi + 8]
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x4041b5
jmp 0x4041a4
push dword [esi + 4]
mov edi, 0x40c694
push edi
call fcn.00406e04
cmp dword [esi + 8], 0
pop ecx
pop ecx
push edi
je 0x402916
push str.Output_directory:
call fcn.004063bf
pop ecx
pop ecx
push edi
push 0x421580
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x402922
push str.Create_directory:
call fcn.004063bf
pop ecx
pop ecx
push edi
call fcn.00406cfd
jmp 0x403cc1
push dword [esi + 4]
mov edi, 0x40ca94
push edi
call fcn.00406e04
push edi
call fcn.00404322
add esp, 0xc
jmp 0x40324c
mov eax, dword [0x40bd28]
mov ecx, dword [esi + 0xc]
test eax, eax
mov dword [0x40bd28], ecx
je 0x403254
mov eax, dword [esi + 4]
jmp 0x4041e1
push dword [esi + 4]
mov edi, 0x40ca94
push edi
call fcn.00406e04
push dword [esi + 8]
mov ebx, 0x40c694
push ebx
call fcn.00406e04
add esp, 0x10
push edi
push 0x40c294
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 0x4029cf
mov ebx, 0x40c294
push 0x40a260
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x40c694
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
jmp 0x4029d4
mov ebx, 0x40c294
push 0x40c694
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
je 0x4029f4
push ebx
push str.Rename:
call fcn.004063bf
jmp 0x403cc0
cmp dword [esi + 0xc], 0
je 0x4041a4
push edi
call fcn.00404322
test eax, eax
pop ecx
je 0x4041a4
inc dword [0x40be70]
push 0x40c694
push edi
call fcn.00406aa3
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.00406e04
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 0x402a80
mov eax, dword [ebp + 0xc]
cmp eax, edi
jbe 0x402a89
cmp byte [eax], 0
je 0x402a89
push edi
call fcn.00404322
test eax, eax
pop ecx
je 0x402a80
add eax, 0x2c
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x402a89
inc dword [0x40bd28]
and byte [ebx], 0
cmp dword [esi + 0xc], 0
jne 0x4041b5
push 0x400
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
jmp 0x4041b5
mov ebx, dword [esi + 4]
push dword [esi + 8]
mov edi, 0x40ca94
shl ebx, 0xa
push edi
add ebx, 0x41bd80
call fcn.00406e04
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 0x4041b5
and byte [ebx], 0
jmp 0x4041a4
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 0x402b1e
push esi
push 0
push 0x40a23c
push edi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x4041b5
and byte [esi], 0
jmp 0x4041a4
mov eax, dword [esi + 4]
mov edi, 0x40ca94
push 0x421580
push edi
mov dword [ebp + 8], 1
mov dword [ebp + 0xc], eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push edi
call fcn.0040690b
push dword [esi + 8]
mov ebx, 0x40c294
push ebx
call fcn.00406e04
push ebx
call fcn.0040699a
add esp, 0x10
test eax, eax
push ebx
push edi
je 0x402b6f
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x402b75
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov ebx, 0x40be94
cmp dword [ebp + 0xc], 0
jne 0x402b96
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 1
je 0x402bc6
xor eax, 1
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
cmp dword [ebp + 0xc], 3
jne 0x402bc6
push edi
call fcn.00404322
test eax, eax
pop ecx
mov dword [ebp + 0xc], 1
je 0x402bc6
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.00406a89
add esp, 0xc
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
jne 0x402c9e
cmp dword [ebp + 0xc], 0
jne 0x402c84
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 0x40c694
call fcn.00406e04
pop ecx
pop ecx
push ebx
push 0x41bd80
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [0x4225b8]
cmp byte [eax + 0x62], 3
jne 0x402c4a
cmp dword [ebp + 8], 0
jle 0x4041dc
dec dword [ebp + 8]
jmp 0x402b7a
push 0x12
push 0x4225e0
push 0x40c694
push dword [0x422de4]
call dword [sym.imp.USER32.dll_MessageBoxA]
sub eax, 4
je 0x402b7a
dec eax
je 0x4041a4
push edi
push str.Cant_write:
call fcn.004063bf
pop ecx
pop ecx
jmp 0x4041dc
push 0x40c294
push str.Skipped:
call fcn.004063bf
cmp dword [ebp + 0xc], 2
pop ecx
pop ecx
jmp 0x4028da
mov ebx, 0x40c294
push ebx
push str.Extract:
call fcn.004063bf
push dword [ebp - 8]
push dword [esi + 0xc]
call fcn.0040460b
mov dword [ebp + 0xc], eax
lea eax, [esi + 0x10]
add esp, 0x10
cmp dword [eax], 0xffffffff
jne 0x402ccd
cmp dword [esi + 0x14], 0xffffffff
je 0x402cda
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 0x4041b5
cmp dword [ebp + 0xc], 0xfffffffe
jne 0x402d09
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 0x402d15
push str.Error_decompressing_data__Corrupted_installer_
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [0x4225b8]
cmp byte [eax + 0x62], 3
je 0x4041dc
push 0x10
push 0x4225e0
push edi
jmp 0x4041d0
push dword [esi + 4]
mov ebx, 0x40c694
push ebx
call fcn.00406e04
pop ecx
mov edi, 0x40ca94
pop ecx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push edi
call fcn.00406943
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 0x4041b5
test byte [ebp - 0x16c], 0x10
jne 0x402de8
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 0x402da4
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 0x402dbe
push ebx
push str.Delete_file:
call fcn.004063bf
pop ecx
pop ecx
jmp 0x402de8
cmp dword [esi + 8], 0
je 0x402de2
inc dword [0x40be70]
push ebx
push str.Delete_on_reboot:
call fcn.004063bf
push 0
push ebx
call fcn.00406aa3
add esp, 0x10
jmp 0x402de8
inc dword [0x40bd28]
lea eax, [ebp - 0x16c]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x402d6f
push dword [ebp + 0xc]
jmp 0x403d5f
push dword [esi + 8]
mov edi, 0x40c294
push edi
call fcn.00406e04
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 0x4041a4
mov ecx, dword [esi + 0xc]
mov edx, ecx
and edx, 0xffff
cmp eax, edx
je 0x40300e
sar ecx, 0x10
cmp eax, ecx
jne 0x4041b5
jmp 0x40301c
push dword [esi + 4]
mov edi, 0x40ca94
push edi
call fcn.00406e04
push edi
call fcn.00406929
add esp, 0xc
cmp al, 0x5c
jne 0x402e7a
push edi
call fcn.00406943
pop ecx
push dword [esi + 8]
push edi
call fcn.00404347
push edi
call fcn.00404322
add esp, 0xc
test eax, eax
je 0x4041b5
jmp 0x4041a4
push dword [esi + 8]
mov edi, 0x40ca94
push edi
call fcn.00406e04
pop ecx
pop ecx
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
mov eax, dword [esi + 4]
jmp 0x4040c6
push dword [esi + 0xc]
call fcn.00406ef0
push dword [esi + 0x10]
mov dword [ebp + 0xc], eax
call fcn.00406ef0
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.00406e04
and byte [ebx], 0
add esp, 0x10
cmp dword [esi + 0xc], 0
mov esi, dword [ebp + 0xc]
jl 0x402f00
test esi, esi
je 0x4041b5
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
call edi
mov ecx, dword [ebp + 8]
test ecx, ecx
jge 0x402f18
add ecx, eax
js 0x4041b5
cmp ecx, eax
jle 0x402f1e
mov ecx, eax
lea eax, [ecx + 0x40ca94]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
test esi, esi
je 0x4041b5
jge 0x402f3f
push ebx
call edi
add esi, eax
jns 0x402f3f
xor esi, esi
cmp esi, 0x400
jge 0x4041b5
and byte [ebx + esi], 0
jmp 0x4041b5
push dword [esi + 4]
mov ebx, 0x40be94
push ebx
call fcn.00406e04
push dword [esi + 8]
mov edi, 0x40c294
push edi
call fcn.00406e04
add esp, 0x10
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x40300e
mov eax, dword [esi + 0xc]
jmp 0x4041e1
mov ebx, dword [esi + 4]
push dword [esi + 8]
mov edi, 0x40ca94
shl ebx, 0xa
push edi
add ebx, 0x41bd80
call fcn.00406e04
cmp dword [esi + 0xc], 0
pop ecx
pop ecx
push 0x400
push ebx
push edi
je 0x402fc8
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jne 0x402fce
and byte [ebx], al
inc dword [0x40bd28]
jmp 0x402fce
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
and byte [ebx + 0x3ff], 0
jmp 0x4041b5
push dword [esi + 4]
call fcn.00406ef0
push dword [esi + 8]
mov edi, eax
call fcn.00406ef0
pop ecx
cmp edi, eax
pop ecx
jl 0x40300e
jle 0x402f83
jmp 0x40301c
push dword [esi + 4]
call fcn.00406ef0
push dword [esi + 8]
mov edi, eax
call fcn.00406ef0
pop ecx
cmp edi, eax
pop ecx
jae 0x403016
mov eax, dword [esi + 0x10]
jmp 0x4041e1
jbe 0x402f83
mov eax, dword [esi + 0x14]
jmp 0x4041e1
mov ebx, dword [esi + 4]
push dword [esi + 8]
shl ebx, 0xa
add ebx, 0x41bd80
call fcn.00406ef0
push dword [esi + 0xc]
mov edi, eax
call fcn.00406ef0
mov esi, dword [esi + 0x10]
pop ecx
pop ecx
cmp esi, 0xb
mov ecx, eax
ja case.default.0x40304e
jmp dword [esi*4 + 0x4042f2]
add edi, ecx
jmp case.default.0x40304e
sub edi, ecx
jmp case.default.0x40304e
imul ecx, edi
mov edi, ecx
jmp case.default.0x40304e
test ecx, ecx
je 0x4030ae
mov eax, edi
cdq
idiv ecx
mov edi, eax
jmp case.default.0x40304e
or edi, ecx
jmp case.default.0x40304e
and edi, ecx
jmp case.default.0x40304e
xor edi, ecx
jmp case.default.0x40304e
not edi
jmp case.default.0x40304e
xor eax, eax
test edi, edi
sete al
jmp 0x40306d
test edi, edi
jne 0x40309c
test ecx, ecx
jne 0x40309c
xor edi, edi
jmp case.default.0x40304e
test edi, edi
je 0x403092
jmp 0x40308e
push 1
pop edi
jmp case.default.0x40304e
test ecx, ecx
je 0x4030ae
mov eax, edi
cdq
idiv ecx
mov edi, edx
jmp case.default.0x40304e
xor edi, edi
inc dword [0x40bd28]
push edi
jmp 0x403cba
push dword [esi + 8]
mov edi, 0x40ca94
push edi
call fcn.00406e04
push dword [esi + 0xc]
call fcn.00406ef0
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 0x4041b5
mov eax, dword [esi + 0xc]
mov edi, dword [0x40ce94]
test eax, eax
je 0x403144
dec eax
test edi, edi
je case.0x402797.62
mov edi, dword [edi]
mov ecx, eax
dec eax
test ecx, ecx
jne 0x4030fc
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 0x4041b5
cmp dword [esi + 8], 0
je 0x403175
test edi, edi
je 0x4041a4
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
jmp 0x4034da
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.00406e04
mov eax, dword [0x40ce94]
pop ecx
mov dword [edi], eax
pop ecx
mov dword [0x40ce94], edi
jmp 0x4041b5
push dword [esi + 0x10]
call fcn.00406ef0
push dword [esi + 0x14]
mov dword [ebp + 8], eax
call fcn.00406ef0
push dword [esi + 8]
mov edi, 0x40ca94
mov dword [ebp + 0xc], eax
push edi
call fcn.00406e04
push dword [esi + 0xc]
mov ebx, 0x40c694
push ebx
call fcn.00406e04
add esp, 0x18
cmp dword [ebp - 4], 0x23
jne 0x4031fd
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call fcn.00406e46
pop ecx
push eax
push edi
call fcn.00406e46
pop ecx
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x403221
mov al, byte [0x40c694]
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 0x4041b5
shl esi, 0xa
push eax
add esi, 0x41bd80
push esi
jmp 0x403cbb
push dword [esi + 4]
call fcn.00406ef0
pop ecx
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x402f83
mov eax, dword [esi + 8]
jmp 0x4041e1
push dword [esi + 4]
mov edi, 0x40ca94
push edi
call fcn.00406e04
push dword [esi + 8]
push 0x40c694
call fcn.00406e04
push dword [esi + 0xc]
mov ebx, 0x40be94
push ebx
call fcn.00406e04
add esp, 0x18
push edi
push 0x40c294
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x40a194
push 0x40c294
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x40c694
push 0x40c294
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x40c294
push str.ExecShell:
call fcn.004063bf
mov al, byte [0x40be94]
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 0x40c694
and eax, edi
push eax
push dword [0x422de4]
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x21
jge 0x4041b5
jmp 0x4041a4
push dword [esi + 4]
mov edi, 0x40ca94
push edi
call fcn.00406e04
push edi
push str.Execute:
call fcn.004063bf
mov al, byte [0x421580]
neg al
sbb eax, eax
and eax, 0x421580
push eax
push edi
call fcn.004068b2
add esp, 0x18
mov dword [ebp + 0xc], eax
test eax, eax
je 0x4041a4
cmp dword [esi + 8], 0
je 0x4033c1
push 0x64
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x40338b
mov ebx, dword [sym.imp.USER32.dll_PeekMessageA]
mov edi, 0x40be78
push 1
push 0xf
push 0xf
push 0
push edi
call ebx
test eax, eax
je 0x403379
push edi
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x403361
push 0x64
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x403361
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 0x4033b5
push dword [ebp + 8]
shl esi, 0xa
add esi, 0x41bd80
push esi
call fcn.00406e2f
pop ecx
pop ecx
jmp 0x4033c1
cmp dword [ebp + 8], 0
je 0x4033c1
inc dword [0x40bd28]
push dword [ebp + 0xc]
jmp 0x403b75
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.00406e04
push edi
call fcn.00404322
mov esi, eax
add esp, 0xc
test esi, esi
je 0x40341a
push dword [esi + 0x14]
push dword [ebp + 0xc]
call fcn.00406e2f
push dword [esi + 0x18]
push ebx
call fcn.00406e2f
add esp, 0x10
jmp 0x4041b5
mov eax, dword [ebp + 0xc]
and byte [ebx], 0
and byte [eax], 0
jmp 0x4041a4
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.00406e04
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 0x4041b5
push esi
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
test eax, eax
mov dword [ebp + 8], eax
je 0x4041b5
push eax
push esi
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x4034d7
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 0x4034d7
mov eax, dword [ebp + 0xc]
push dword [eax + 8]
push ebx
call fcn.00406e2f
mov eax, dword [ebp + 0xc]
push dword [eax + 0xc]
push dword [ebp - 8]
call fcn.00406e2f
add esp, 0x10
dec dword [0x40bd28]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x4041b5
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
inc dword [0x40bd28]
cmp eax, 1
je 0x40350b
test eax, eax
je 0x40350b
push 0x40ca94
push str.No_OLE_for:
jmp 0x4029ea
push dword [esi + 4]
mov edi, 0x40ca94
push edi
call fcn.00406e04
push dword [esi + 8]
mov ebx, 0x40c694
push ebx
call fcn.00406e04
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [ebp + 8], eax
je 0x4035a3
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [ebp + 0xc], eax
je 0x40358b
dec dword [0x40bd28]
mov esi, dword [esi + 0xc]
test esi, esi
jge 0x403570
push 0x40ce94
push 0x41bd80
push 0x400
push dword [0x422de4]
call eax
add esp, 0x10
jmp 0x403598
mov ebx, 0x40be94
push esi
push ebx
call fcn.00406e04
push edi
push ebx
call fcn.004063bf
add esp, 0x10
call dword [ebp + 0xc]
jmp 0x403598
push ebx
push str.Could_not_find_symbol:
call fcn.004063bf
pop ecx
pop ecx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x4035b0
push edi
push str.Could_not_load:
call fcn.004063bf
pop ecx
pop ecx
call dword [sym.imp.ole32.dll_OleUninitialize]
jmp 0x4041b5
push dword [esi + 4]
mov ebx, 0x40be94
push ebx
call fcn.00406e04
push dword [esi + 8]
push 0x40c694
call fcn.00406e04
push dword [esi + 0xc]
mov edi, 0x40ca94
push edi
call fcn.00406e04
push dword [esi + 0x10]
push 0x40c294
call fcn.00406e04
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 0x40c694
push eax
mov al, byte [0x40c294]
neg al
sbb eax, eax
and eax, 0x40c294
push eax
push ebx
push dword [0x422de4]
call fcn.00407127
add esp, 0x44
test eax, eax
je 0x40364f
inc dword [0x40bd28]
push ebx
push str.Error_creating_shortcut:
jmp 0x4029ea
push ebx
push str.Create_shortcut:
jmp 0x4029ea
push dword [esi + 4]
mov edi, 0x40ca94
push edi
call fcn.00406e04
push dword [esi + 8]
push 0x40c694
call fcn.00406e04
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 0x40c694
call ebx
and byte [eax + 0x40c695], 0
mov ebx, 0x40be94
push str.Copy_to
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x40c694
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], 0x40c694
mov dword [ebp - 0x12], ebx
mov word [ebp - 0x1c], ax
call fcn.004063bf
pop ecx
lea eax, [ebp - 0x2c]
pop ecx
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
test eax, eax
je 0x4041b5
push esi
push str.Copy_failed
jmp 0x40419d
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 0x40379e
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 0x40379e
cmp dword [ebp + 8], edi
je 0x40379e
cmp esi, edi
je 0x40379e
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 0x40379e
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 0x4037b2
push edi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push ebx
jmp 0x4040f1
xor eax, eax
cmp dword [0x40be70], eax
sete al
mov eax, dword [esi + eax*4 + 4]
jmp 0x4041e1
mov eax, dword [esi + 4]
mov dword [0x40be70], eax
jmp 0x4041b5
push dword [esi + 4]
and dword [ebp + 0xc], 0
and dword [ebp + 8], 0
mov edi, 0x40ca94
push edi
call fcn.00406e04
mov eax, dword [esi + 8]
pop ecx
test eax, eax
pop ecx
jl 0x403809
mov ebx, 0x40c694
push eax
push ebx
call fcn.00406e04
pop ecx
mov dword [ebp + 8], ebx
pop ecx
mov eax, dword [esi + 0xc]
test eax, eax
jl 0x403821
mov ebx, 0x40be94
push eax
push ebx
call fcn.00406e04
pop ecx
mov dword [ebp + 0xc], ebx
pop ecx
push dword [esi + 0x10]
mov esi, 0x40c294
push esi
call fcn.00406e04
pop ecx
pop ecx
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
jmp 0x4028d8
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.00406e04
push dword [esi + 0xc]
push 0x40c694
call fcn.00406e04
push dword [esi + 0x10]
mov ebx, 0x40be94
push ebx
call fcn.00406e04
mov esi, dword [ebp + 0xc]
add esp, 0x18
push ebx
push 0x3ff
push esi
push dword [0x40a034]
push 0x40c694
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [0x40a034]
mov eax, dword [eax]
cmp eax, dword [esi]
jne 0x4041b5
inc dword [0x40bd28]
mov eax, esi
and byte [eax], 0
jmp 0x4041b5
mov ebx, dword [esi + 4]
inc dword [0x40bd28]
push dword [esi + 8]
mov edi, 0x40c294
push edi
call fcn.00406e04
cmp dword [esi + 0xc], 0xffffffff
pop ecx
pop ecx
je 0x40391f
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 0x4041b5
push dword [esi + 0xc]
mov edi, 0x40ca94
push edi
call fcn.00406e04
pop ecx
pop ecx
push edi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x403917
dec dword [0x40bd28]
push dword [ebp + 0xc]
jmp 0x403b4d
push dword [esi + 0x10]
push edi
push ebx
call fcn.0040443f
add esp, 0xc
test eax, eax
jne 0x4041b5
dec dword [0x40bd28]
jmp 0x4041b5
mov eax, dword [esi + 4]
mov edi, 0x40c694
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.00406e04
push dword [esi + 8]
mov ebx, 0x40c294
push ebx
call fcn.00406e04
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 0x4041b5
cmp dword [ebp + 0xc], 1
jg 0x4039b3
push dword [esi + 0x10]
mov ebx, 0x40be94
push ebx
call fcn.00406e04
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 0x4039f3
cmp dword [ebp + 0xc], 2
jne 0x4039cf
push dword [esi + 0x10]
call fcn.00406ef0
pop ecx
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
push 4
push eax
push 4
jmp 0x4039f3
cmp dword [ebp + 0xc], 3
jne 0x403a09
mov ebx, 0x40be94
push 0x400
push ebx
push dword [esi + 0x10]
call fcn.00404806
add esp, 0xc
test eax, eax
jl 0x403a09
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 0x403a09
dec dword [0x40bd28]
push dword [ebp + 8]
jmp 0x403b4d
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.00406e04
push dword [esi + 0x10]
push 0x40c694
call fcn.00406e04
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 0x4041a4
lea eax, [ebp - 4]
xor edi, edi
push eax
lea eax, [ebp + 0xc]
push ebx
push eax
push edi
push 0x40c694
push dword [ebp + 8]
mov dword [ebp - 4], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x403ab6
cmp dword [ebp + 0xc], 4
je 0x403a9f
cmp dword [ebp + 0xc], 1
je 0x403a98
cmp dword [ebp + 0xc], 2
jne 0x403ab6
cmp dword [esi + 0x14], edi
je 0x403abf
jmp 0x403ab9
cmp dword [esi + 0x14], edi
jne 0x403aaa
inc dword [0x40bd28]
push dword [ebx]
push ebx
call fcn.00406e2f
pop ecx
pop ecx
jmp 0x403abf
and byte [ebx], 0
inc dword [0x40bd28]
push dword [ebp + 8]
jmp 0x403b4d
mov edi, dword [esi + 4]
push dword [esi + 0x10]
shl edi, 0xa
add edi, 0x41bd80
call fcn.00406ef0
push dword [esi + 0xc]
mov ebx, 0x40c694
mov dword [ebp + 8], eax
push ebx
call fcn.00406e04
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 0x4041a4
xor ecx, ecx
mov eax, 0x3ff
cmp dword [esi + 0x14], ecx
mov dword [ebp - 4], eax
je 0x403b2e
push eax
push edi
push dword [ebp + 8]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
jmp 0x403b43
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]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4041b5
mov esi, dword [esi + 4]
shl esi, 0xa
add esi, 0x41bd80
cmp byte [esi], 0
je 0x4041b5
push esi
call fcn.00406e46
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4041b5
mov ebx, dword [esi + 0x10]
push dword [esi + 4]
mov edi, 0x40ca94
shl ebx, 0xa
push edi
add ebx, 0x41bd80
call fcn.00406e04
push dword [esi + 0xc]
push dword [esi + 8]
push edi
call fcn.00406a89
add esp, 0x14
cmp eax, 0xffffffff
jne 0x403cb9
jmp 0x402ade
mov edi, dword [esi + 4]
push dword [esi + 8]
shl edi, 0xa
add edi, 0x41bd80
cmp dword [esi + 0xc], 0
mov ebx, 0x40c694
je 0x403be1
call fcn.00406ef0
pop ecx
mov byte [0x40c694], al
push 1
pop eax
jmp 0x403bf0
push ebx
call fcn.00406e04
pop ecx
pop ecx
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [edi], 0
je 0x4041a4
lea ecx, [ebp + 0xc]
push 0
push ecx
push eax
push ebx
push edi
call fcn.00406e46
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x4028d8
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.00406ef0
cmp eax, 1
pop ecx
mov dword [ebp - 8], eax
jl 0x4041b5
mov eax, 0x3ff
cmp dword [ebp - 8], eax
jle 0x403c4f
mov dword [ebp - 8], eax
cmp byte [edi], 0
je 0x403ceb
and byte [ebp + 0xf], 0
push edi
call fcn.00406e46
cmp dword [ebp - 8], 0
pop ecx
mov dword [ebp - 4], eax
jle 0x403ceb
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 0x403cee
cmp dword [ebp - 0xc], 1
jne 0x403cee
cmp dword [esi + 0x10], 0
jne 0x403cb5
mov al, byte [ebp + 0xb]
test al, al
je 0x403cee
cmp byte [ebp + 0xf], 0xd
je 0x403cc7
cmp byte [ebp + 0xf], 0xa
je 0x403cc7
mov byte [edi + ebx], al
inc edi
cmp edi, dword [ebp - 8]
mov byte [ebp + 0xf], al
jl 0x403c6f
jmp 0x403cee
movzx eax, byte [ebp + 0xb]
push eax
push ebx
call fcn.00406e2f
pop ecx
pop ecx
jmp 0x4041b5
cmp byte [ebp + 0xf], al
je 0x403cda
cmp al, 0xd
je 0x403cd4
cmp al, 0xa
jne 0x403cda
mov byte [edi + ebx], al
inc edi
jmp 0x403cee
push 1
push 0
push 0xffffffffffffffff
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x403cee
mov edi, dword [ebp + 8]
and byte [edi + ebx], 0
test edi, edi
jmp 0x4028da
mov edi, dword [esi + 4]
mov ebx, 0x41bd80
shl edi, 0xa
add edi, ebx
cmp byte [edi], 0
je 0x4041b5
push dword [esi + 0xc]
push 0
push dword [esi + 8]
call fcn.00406ef0
pop ecx
push eax
push edi
call fcn.00406e46
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov esi, dword [esi + 0x10]
test esi, esi
jl 0x4041b5
shl esi, 0xa
push eax
add esi, ebx
jmp 0x403236
mov esi, dword [esi + 4]
shl esi, 0xa
add esi, 0x41bd80
cmp byte [esi], 0
je 0x4041b5
push esi
call fcn.00406e46
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x4041b5
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 0x403daa
lea eax, [ebp - 0x16c]
push eax
push esi
call fcn.00406e46
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x403daa
lea eax, [ebp - 0x140]
push eax
push edi
jmp 0x40418f
inc dword [0x40bd28]
and byte [edi], 0
jmp 0x4041b5
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.00406e04
pop ecx
lea eax, [ebp - 0x16c]
pop ecx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
jne 0x403dfe
mov eax, dword [ebp + 0xc]
and byte [eax], 0
jmp 0x402ade
push eax
push dword [ebp + 0xc]
call fcn.00406e2f
pop ecx
lea eax, [ebp - 0x140]
pop ecx
jmp 0x40418d
push dword [esi + 4]
mov edi, 0x40ca94
mov dword [ebp + 8], 0xfffffd66
push edi
call fcn.00406e04
push edi
call fcn.0040699a
add esp, 0xc
test eax, eax
je 0x403e45
mov esi, 0x40c694
push edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x403e65
mov esi, 0x40c694
push 0x421180
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push esi
call fcn.0040690b
pop ecx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 2
push 0x40000000
push esi
call fcn.00406a89
add esp, 0xc
cmp eax, 0xffffffff
mov dword [ebp + 0xc], eax
je 0x403f20
push dword [0x422de0]
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x403f11
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 0x403ee5
push dword [eax + 0xd8]
add ecx, ebx
push ecx
push dword [eax + 0xd0]
call fcn.00404806
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.0040460b
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 0x403f39
push edi
push str.Error_creating:
call fcn.004063bf
pop ecx
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x4041b5
push edi
push str.Created_uninstaller:
jmp 0x4029ea
push dword [esi + 4]
call fcn.00406ef0
mov ebx, eax
mov eax, dword [0x4225d0]
test eax, eax
pop ecx
je 0x4041a4
test ebx, ebx
jl 0x4041a4
mov ecx, dword [0x4225b8]
cmp ebx, dword [ecx + 0xe0]
jge 0x4041a4
mov edx, dword [0x422dec]
and dword [ebp + 0xc], 0
test edx, edx
je 0x403f9d
test ebx, ebx
jle 0x403f9d
mov ecx, eax
mov dword [ebp + 8], ebx
cmp dword [ecx], 0
jl 0x403f95
inc dword [ebp + 0xc]
add ecx, 0x14
dec dword [ebp + 8]
jne 0x403f8d
mov ecx, dword [esi + 8]
xor edi, edi
cmp ecx, edi
jne 0x404045
cmp edx, edi
je 0x404037
lea ecx, [ebx + ebx*4]
shl ecx, 2
mov dword [ebp + 8], ecx
cmp dword [eax + ecx], edi
jl 0x403fd5
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 0x404037
mov edi, 0x40ca94
push ecx
push edi
call fcn.00406e04
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 0x4041b5
cmp ecx, 1
jne 0x404066
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.00406e04
jmp 0x403cc0
cmp ecx, 2
jne 0x4040bc
push dword [esi + 0xc]
lea ebx, [ebx + ebx*4]
shl ebx, 2
call fcn.00406ef0
pop ecx
mov ecx, dword [0x4225d0]
mov dword [ecx + ebx + 4], eax
mov ecx, dword [0x422dec]
cmp ecx, edi
je 0x4041b5
mov eax, dword [0x4225d0]
add eax, ebx
cmp dword [eax], edi
jl 0x4041b5
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 0x4041b5
lea ecx, [ebx + ebx*4]
push dword [eax + ecx*4 + 4]
mov eax, dword [esi + 0xc]
shl eax, 0xa
add eax, 0x41bd80
push eax
jmp 0x403cbb
mov esi, dword [esi + 4]
shl esi, 0xa
add esi, 0x41bd80
cmp byte [esi], 0
je 0x4041b5
push esi
call fcn.00406e46
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x4041b5
mov ebx, dword [esi + 4]
push dword [esi + 8]
mov edi, 0x40ca94
shl ebx, 0xa
push edi
add ebx, 0x41bd80
call fcn.00406e04
pop ecx
pop ecx
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
jne 0x403cb9
push edi
push str.Could_not_load:
call fcn.004063bf
pop ecx
pop ecx
jmp 0x402ade
mov eax, dword [esi + 4]
mov ebx, dword [esi + 8]
shl eax, 0xa
mov ecx, 0x41bd80
add eax, ecx
shl ebx, 0xa
add ebx, ecx
cmp byte [eax], 0
je 0x4041ac
push eax
call fcn.00406e46
push dword [esi + 0xc]
mov edi, 0x40ca94
mov dword [ebp + 0xc], eax
push edi
call fcn.00406e04
push dword [esi + 0x10]
mov esi, 0x40c694
push esi
call fcn.00406e04
add esp, 0x14
push edi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x404197
push esi
call eax
pop ecx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x4041b5
push edi
push str.Could_not_find_symbol:
call fcn.004063bf
pop ecx
pop ecx
inc dword [0x40bd28]
jmp 0x4041b5
inc dword [0x40bd28]
and byte [ebx], 0
xor eax, eax
jmp 0x4041e1
mov eax, dword [0x4225b8]
cmp byte [eax + 0x62], 3
je 0x4041dc
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