Function at 0x40c200
Capabilities:
Check if file exists
Check mutex on windows
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x534818
mov eax, dword fs:[0]
push eax
sub esp, 0x2cc
mov eax, dword [0x56adc0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push str.MUTEX_PANEL_INSTALLb6733e68_9b1d_4759_beae_96ab7dcd5fe3
xor edi, edi
push edi
push edi
mov byte [ebp - 0x214], 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
mov dword [ebp - 0x218], esi
mov dword [ebp - 4], edi
cmp esi, edi
je 0x40c3b5
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, edi
je 0x40c271
cmp eax, 0x80
jne 0x40c3ae
mov bl, 1
lea ecx, [ebp - 0x68]
mov byte [ebp - 0x214], bl
call fcn.0040b050
push str.KometaLaunchPanel.exe
mov byte [ebp - 4], bl
call fcn.004268a0
add esp, 4
test al, al
je 0x40c2b7
push str.KometaLaunchPanel
push edi
call dword [sym.imp.USER32.dll_FindWindowW]
push edi
push edi
push 0x10
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push str.KometaLaunchPanel.exe
call fcn.004268a0
add esp, 4
test al, al
je 0x40c3bc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xae
lea eax, [ebp - 0x2d8]
push eax
mov ebx, str.apppanel.cpp
call fcn.0041a6b0
mov esi, eax
mov byte [ebp - 4], 2
test esi, esi
je 0x40c328
lea ebx, [esi + 0x10]
test ebx, ebx
je 0x40c2ff
lea eax, [esi + 0x20]
jmp 0x40c301
xor eax, eax
push str.ERROR:
push eax
call fcn.00407c44
add esp, 8
test ebx, ebx
je 0x40c318
lea eax, [esi + 0x20]
jmp 0x40c31a
xor eax, eax
push str.Failed_to_close_panel
push eax
call fcn.00407c44
add esp, 8
lea ecx, [ebp - 0x2d8]
mov byte [ebp - 4], 1
call fcn.0041a760
push 0
push 0x5419e8
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x21c], esp
push 0x10
mov edi, 7
xor edx, edx
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x10], 0
push str.s.kometa_stat.ru
mov esi, 2
mov ebx, str.install_fail
mov word [ecx], dx
call fcn.00404bd5
mov ecx, esi
mov edx, ebx
call fcn.00410620
add esp, 0x24
cmp dword [ebp - 0x54], 8
jb 0x40c391
mov eax, dword [ebp - 0x68]
push eax
call fcn.004f77ab
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x54], edi
mov word [ebp - 0x68], cx
mov esi, dword [ebp - 0x218]
push esi
mov dword [ebp - 0x58], 0
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x40d0d4
cmp dword [ebp - 0x54], 8
mov eax, dword [ebp - 0x68]
jae 0x40c3c8
lea eax, [ebp - 0x68]
push eax
push 0x6e
call fcn.00426980
add esp, 8
test al, al
jne 0x40c474
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xb6
lea edx, [ebp - 0x2d8]
push edx
mov ebx, str.apppanel.cpp
call fcn.0041a6b0
mov esi, eax
mov byte [ebp - 4], 3
test esi, esi
je 0x40c41e
lea eax, [esi + 0x10]
test eax, eax
je 0x40c40e
lea eax, [esi + 0x20]
jmp 0x40c410
xor eax, eax
push str.ERROR:
push eax
call fcn.00407c44
add esp, 8
call fcn.0040e380
test eax, eax
je 0x40c441
lea ecx, [eax + 0x10]
test ecx, ecx
je 0x40c433
add eax, 0x20
jmp 0x40c435
xor eax, eax
push eax
lea ecx, [ebp - 0x68]
call fcn.00407e0a
add esp, 4
lea ecx, [ebp - 0x2d8]
mov byte [ebp - 4], 1
call fcn.0041a760
cmp dword [ebp - 0x54], 8
jb 0x40c462
mov edx, dword [ebp - 0x68]
push edx
call fcn.004f77ab
add esp, 4
xor eax, eax
mov dword [ebp - 0x54], 7
mov word [ebp - 0x68], ax
jmp 0x40c39a
xor ecx, ecx
push 0x15
mov word [ebp - 0x19c], cx
mov esi, 7
push str.KometaLaunchPanel.exe
lea ecx, [ebp - 0x19c]
mov dword [ebp - 0x188], esi
mov dword [ebp - 0x18c], edi
call fcn.00404bd5
lea ebx, [ebp - 0x19c]
lea ecx, [ebp - 0x68]
lea edi, [ebp - 0x1f0]
mov byte [ebp - 4], 4
call fcn.00424f20
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 8
jb 0x40c4c6
mov edx, dword [eax]
jmp 0x40c4c8
mov edx, eax
xor edi, edi
xor eax, eax
mov word [ebp - 0x164], ax
mov eax, edx
mov dword [ebp - 0x150], esi
mov dword [ebp - 0x154], edi
lea ebx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x40c4e4
sub eax, ebx
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x164]
call fcn.00404bd5
lea edx, [ebp - 0x164]
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 6
call fcn.00427260
mov ebx, 8
cmp dword [ebp - 0x150], ebx
jb 0x40c531
mov ecx, dword [ebp - 0x164]
push ecx
call fcn.004f77ab
add esp, 4
xor edx, edx
mov dword [ebp - 0x150], esi
mov dword [ebp - 0x154], edi
mov word [ebp - 0x164], dx
cmp dword [ebp - 0x1dc], ebx
jb 0x40c55d
mov eax, dword [ebp - 0x1f0]
push eax
call fcn.004f77ab
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x1dc], esi
mov dword [ebp - 0x1e0], edi
mov word [ebp - 0x1f0], cx
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x188], ebx
jb 0x40c58d
mov edx, dword [ebp - 0x19c]
push edx
call fcn.004f77ab
add esp, 4
xor eax, eax
mov dword [ebp - 0x188], esi
mov dword [ebp - 0x18c], edi
mov word [ebp - 0x19c], ax
call fcn.0040be90
call fcn.0040b620
lea ecx, [ebp - 0x110]
push ecx
lea ecx, [ebp - 0x68]
call fcn.0040bf20
add esp, 4
call fcn.00425f10
test al, al
jne 0x40c657
push 0xc
xor edx, edx
push str.normaliz.dll
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], edi
mov word [ebp - 0x30], dx
call fcn.00404bd5
lea ebx, [ebp - 0x30]
lea ecx, [ebp - 0x68]
lea edi, [ebp - 0x4c]
mov byte [ebp - 4], 0xb
call fcn.00424f20
mov edi, 8
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x1c], edi
jb 0x40c612
mov eax, dword [ebp - 0x30]
push eax
call fcn.004f77ab
add esp, 4
cmp dword [ebp - 0x38], edi
jb 0x40cb50
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x40c644
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40c644
test al, 0x10
jne 0x40c644
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x38], edi
jae 0x40c63d
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x38], edi
jb 0x40c655
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.004f77ab
add esp, 4
xor edi, edi
push 8
xor edx, edx
push str.data.xml
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x90], edi
mov word [ebp - 0xa0], dx
call fcn.00404bd5
mov byte [ebp - 4], 0xc
push 5
xor eax, eax
push str.Panel
lea ecx, [ebp - 0x148]
mov dword [ebp - 0x134], esi
mov dword [ebp - 0x138], edi
mov word [ebp - 0x148], ax
call fcn.00404bd5
mov byte [ebp - 4], 0xd
xor ecx, ecx
push 6
mov word [ebp - 0x180], cx
push 0x53ff8c
lea ecx, [ebp - 0x180]
mov dword [ebp - 0x16c], esi
mov dword [ebp - 0x170], edi
call fcn.00404bd5
lea esi, [ebp - 0x1d4]
mov byte [ebp - 4], 0xe
call fcn.004251c0
lea ebx, [ebp - 0x180]
mov ecx, eax
lea edi, [ebp - 0x20c]
mov byte [ebp - 4], 0xf
call fcn.00424f20
lea ebx, [ebp - 0x148]
mov ecx, eax
lea edi, [ebp - 0x1b8]
mov byte [ebp - 4], 0x10
call fcn.00424f20
lea ebx, [ebp - 0xa0]
mov ecx, eax
lea edi, [ebp - 0xbc]
mov byte [ebp - 4], 0x11
call fcn.00424f20
mov esi, 8
cmp dword [ebp - 0x1a4], esi
jb 0x40c744
mov edx, dword [ebp - 0x1b8]
push edx
call fcn.004f77ab
add esp, 4
mov edi, 7
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x1a4], edi
mov dword [ebp - 0x1a8], ebx
mov word [ebp - 0x1b8], ax
cmp dword [ebp - 0x1f8], esi
jb 0x40c777
mov ecx, dword [ebp - 0x20c]
push ecx
call fcn.004f77ab
add esp, 4
xor edx, edx
mov dword [ebp - 0x1f8], edi
mov dword [ebp - 0x1fc], ebx
mov word [ebp - 0x20c], dx
cmp dword [ebp - 0x1c0], esi
jb 0x40c7a3
mov eax, dword [ebp - 0x1d4]
push eax
call fcn.004f77ab
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x1c0], edi
mov dword [ebp - 0x1c4], ebx
mov word [ebp - 0x1d4], cx
cmp dword [ebp - 0x16c], esi
jb 0x40c7cf
mov edx, dword [ebp - 0x180]
push edx
call fcn.004f77ab
add esp, 4
xor eax, eax
mov dword [ebp - 0x16c], edi
mov dword [ebp - 0x170], ebx
mov word [ebp - 0x180], ax
cmp dword [ebp - 0x134], esi
jb 0x40c7fb
mov ecx, dword [ebp - 0x148]
push ecx
call fcn.004f77ab
add esp, 4
xor edx, edx
mov dword [ebp - 0x134], edi
mov dword [ebp - 0x138], ebx
mov word [ebp - 0x148], dx
mov byte [ebp - 4], 0x18
cmp dword [ebp - 0x8c], esi
jb 0x40c82b
mov eax, dword [ebp - 0xa0]
push eax
call fcn.004f77ab
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x8c], edi
mov dword [ebp - 0x90], ebx
mov word [ebp - 0xa0], cx
cmp dword [ebp - 0xa8], esi
jb 0x40cb58
mov eax, dword [ebp - 0xbc]
cmp eax, ebx
je 0x40c86a
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40c86a
test al, 0x10
je 0x40c997
push 0xb
xor edx, edx
push str.getdata.exe
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x38], 7
mov dword [ebp - 0x3c], ebx
mov word [ebp - 0x4c], dx
call fcn.00404bd5
lea ebx, [ebp - 0x4c]
lea ecx, [ebp - 0x68]
lea edi, [ebp - 0x30]
mov byte [ebp - 4], 0x19
call fcn.00424f20
mov byte [ebp - 4], 0x1b
cmp dword [ebp - 0x38], esi
jb 0x40c8b0
mov eax, dword [ebp - 0x4c]
push eax
call fcn.004f77ab
add esp, 4
mov eax, dword [ebp - 0x30]
xor ecx, ecx
mov ebx, 7
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], 0
mov word [ebp - 0x4c], cx
cmp dword [ebp - 0x1c], esi
jae 0x40c8d0
lea eax, [ebp - 0x30]
call fcn.00424f00
test al, al
je 0x40c980
lea edx, [ebp - 0xd8]
push str.__browserdefault___output_path_
push edx
lea edi, [ebp - 0x68]
call fcn.004060c1
lea ecx, [ebp - 0x84]
push str.____targetPANEL
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x1c
call fcn.00405ce0
add esp, 0x10
mov byte [ebp - 4], 0x1e
cmp dword [ebp - 0xc4], esi
jb 0x40c926
mov edx, dword [ebp - 0xd8]
push edx
call fcn.004f77ab
add esp, 4
mov ecx, dword [ebp - 0x84]
xor eax, eax
mov dword [ebp - 0xc4], ebx
mov dword [ebp - 0xc8], 0
mov word [ebp - 0xd8], ax
cmp dword [ebp - 0x70], esi
jae 0x40c950
lea ecx, [ebp - 0x84]
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x1c], esi
jae 0x40c95b
lea eax, [ebp - 0x30]
push 0x927c0
push 0
push ecx
push eax
call fcn.00426230
add esp, 0x10
cmp dword [ebp - 0x70], esi
jb 0x40c980
mov ecx, dword [ebp - 0x84]
push ecx
call fcn.004f77ab
add esp, 4
mov byte [ebp - 4], 0x18
cmp dword [ebp - 0x1c], esi
jb 0x40c995
mov edx, dword [ebp - 0x30]
push edx
call fcn.004f77ab
add esp, 4
xor ebx, ebx
lea ecx, [ebp - 0xd8]
call fcn.0040b050
mov byte [ebp - 4], 0x1f
push 0x15
xor eax, eax
push str.KometaLaunchPanel.exe
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x30], ax
call fcn.00404bd5
lea ebx, [ebp - 0x30]
lea ecx, [ebp - 0xd8]
lea edi, [ebp - 0x84]
mov byte [ebp - 4], 0x20
call fcn.00424f20
mov byte [ebp - 4], 0x21
cmp dword [eax + 0x14], esi
jb 0x40c9e8
mov eax, dword [eax]
push str.KometaLaunchPanel
mov ecx, str.SOFTWAREMicrosoftWindowsCurrentVersionRun_
call fcn.00420350
add esp, 4
cmp dword [ebp - 0x70], esi
jb 0x40ca0e
mov ecx, dword [ebp - 0x84]
push ecx
call fcn.004f77ab
add esp, 4
xor edi, edi
xor edx, edx
mov dword [ebp - 0x70], 7
mov dword [ebp - 0x74], edi
mov word [ebp - 0x84], dx
cmp dword [ebp - 0x1c], esi
jb 0x40ca34
mov eax, dword [ebp - 0x30]
push eax
call fcn.004f77ab
add esp, 4
mov byte [ebp - 4], 0x18
cmp dword [ebp - 0xc4], esi
jb 0x40ca4f
mov ecx, dword [ebp - 0xd8]
push ecx
call fcn.004f77ab
add esp, 4
push 1
push str.BlockCorners
mov ecx, str.SoftwareNetBoxPanel_
call fcn.00420460
add esp, 8
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0xa8], esi
jb 0x40ca7e
mov edx, dword [ebp - 0xbc]
push edx
call fcn.004f77ab
add esp, 4
push 0x15
xor eax, eax
push str.KometaLaunchPanel.exe
lea ecx, [ebp - 0x4c]
mov byte [ebp - 0x20d], 1
mov dword [ebp - 0x38], 7
mov dword [ebp - 0x3c], edi
mov word [ebp - 0x4c], ax
call fcn.00404bd5
lea ebx, [ebp - 0x4c]
lea ecx, [ebp - 0x68]
lea edi, [ebp - 0xf4]
mov byte [ebp - 4], 0x22
call fcn.00424f20
mov byte [ebp - 4], 0x24
cmp dword [ebp - 0x38], esi
jb 0x40cace
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.004f77ab
add esp, 4
xor ebx, ebx
xor edx, edx
mov dword [ebp - 0x38], 7
mov dword [ebp - 0x3c], ebx
mov word [ebp - 0x4c], dx
cmp dword [ebp - 0xe0], esi
jb 0x40cb63
mov eax, dword [ebp - 0xf4]
cmp eax, ebx
je 0x40cb06
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40cb06
test al, 0x10
je 0x40cb90
mov byte [ebp - 0x20d], bl
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xf9
lea eax, [ebp - 0x2d8]
push eax
mov ebx, str.apppanel.cpp
call fcn.0041a6b0
mov esi, eax
mov byte [ebp - 4], 0x25
call fcn.00405fba
mov ecx, str.failed_to_find_panel_file:
mov esi, eax
call fcn.004289e0
test eax, eax
je 0x40cb7c
lea ecx, [eax + 0x10]
test ecx, ecx
je 0x40cb6b
add eax, 0x20
jmp 0x40cb6d
lea eax, [ebp - 0x4c]
jmp 0x40c622
lea eax, [ebp - 0xbc]
jmp 0x40c856
lea eax, [ebp - 0xf4]
jmp 0x40caf2
xor eax, eax
push eax
lea ecx, [ebp - 0xf4]
call fcn.00407e0a
add esp, 4
lea ecx, [ebp - 0x2d8]
mov byte [ebp - 4], 0x24
call fcn.0041a760
mov esi, 8
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 0x26
call fcn.00426ed0
test eax, eax
jne 0x40cc16
test edx, edx
jne 0x40cc16
mov byte [ebp - 0x20d], dl
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x101
lea edx, [ebp - 0x2d8]
push edx
mov ebx, str.apppanel.cpp
call fcn.0041a6b0
mov esi, eax
mov byte [ebp - 4], 0x27
call fcn.00405fba
mov ecx, str.failed_to_find_panel_file:
mov esi, eax
call fcn.004289e0
test eax, eax
je 0x40cc02
lea ecx, [eax + 0x10]
test ecx, ecx
je 0x40cbf1
add eax, 0x20
jmp 0x40cbf3
xor eax, eax
push eax
lea ecx, [ebp - 0xf4]
call fcn.00407e0a
add esp, 4
lea ecx, [ebp - 0x2d8]
mov byte [ebp - 4], 0x26
call fcn.0041a760
mov esi, 8
mov dword [ebp - 4], 0x24
jmp 0x40cc88
push 0x15
xor eax, eax
push str.KometaLaunchPanel.exe
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], ax
call fcn.00404bd5
lea ebx, [ebp - 0x30]
lea ecx, [ebp - 0x68]
lea edi, [ebp - 0xbc]
mov byte [ebp - 4], 0x2a
call fcn.00424f20
mov byte [ebp - 4], 0x2b
cmp dword [eax + 0x14], esi
jb 0x40cccb
mov eax, dword [eax]
push 0x53ff0c
mov edi, eax
call fcn.00426010
add esp, 4
test al, al
sete byte [ebp - 0x20e]
cmp dword [ebp - 0xa8], esi
jb 0x40ccfa
mov ecx, dword [ebp - 0xbc]
push ecx
call fcn.004f77ab
add esp, 4
xor ebx, ebx
xor edx, edx
mov byte [ebp - 4], 0x24
mov dword [ebp - 0xa8], 7
mov dword [ebp - 0xac], ebx
mov word [ebp - 0xbc], dx
cmp dword [ebp - 0x1c], esi
jb 0x40cd2a
mov eax, dword [ebp - 0x30]
push eax
call fcn.004f77ab
add esp, 4
cmp byte [ebp - 0x20e], bl
je 0x40cd91
mov byte [ebp - 0x20d], bl
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x112
lea ecx, [ebp - 0x2d8]
push ecx
mov ebx, str.apppanel.cpp
call fcn.0041a6b0
push str.failed_to_launch_panel:
push ecx
mov esi, eax
mov byte [ebp - 4], 0x2c
call fcn.00405fba
add esp, 4
mov esi, eax
call fcn.00406075
lea ecx, [ebp - 0xf4]
mov esi, eax
call fcn.00406057
lea ecx, [ebp - 0x2d8]
mov byte [ebp - 4], 0x24
call fcn.0041a760
xor ebx, ebx
lea esi, [ebx + 8]
push 0xc
xor edx, edx
push str.kometaup.zip
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x8c], 7
mov dword [ebp - 0x90], ebx
mov word [ebp - 0xa0], dx
call fcn.00404bd5
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0x2d
call fcn.0040b050
lea ebx, [ebp - 0xa0]
mov ecx, eax
lea edi, [ebp - 0x12c]
mov byte [ebp - 4], 0x2e
call fcn.00424f20
cmp dword [ebp - 0xa8], esi
jb 0x40cdf9
mov eax, dword [ebp - 0xbc]
push eax
call fcn.004f77ab
add esp, 4
mov edi, 7
xor ebx, ebx
xor ecx, ecx
mov dword [ebp - 0xa8], edi
mov dword [ebp - 0xac], ebx
mov word [ebp - 0xbc], cx
mov byte [ebp - 4], 0x31
cmp dword [ebp - 0x8c], esi
jb 0x40ce30
mov edx, dword [ebp - 0xa0]
push edx
call fcn.004f77ab
add esp, 4
xor eax, eax
mov dword [ebp - 0x8c], edi
mov dword [ebp - 0x90], ebx
mov word [ebp - 0xa0], ax
cmp dword [ebp - 0x118], esi
jb 0x40cf83
mov eax, dword [ebp - 0x12c]
cmp eax, ebx
je 0x40cee5
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40cee5
test al, 0x10
jne 0x40cee5
mov ecx, dword [ebp - 0x12c]
cmp dword [ebp - 0x118], esi
jae 0x40ce83
lea ecx, [ebp - 0x12c]
call fcn.004273b0
test al, al
jne 0x40cee5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x11b
lea ecx, [ebp - 0x2d8]
push ecx
mov ebx, str.apppanel.cpp
call fcn.0041a6b0
push str.failed_to_check
push ecx
mov esi, eax
mov byte [ebp - 4], 0x32
call fcn.00405fba
add esp, 4
mov esi, eax
call fcn.00406075
lea ecx, [ebp - 0x12c]
mov esi, eax
call fcn.00406057
lea ecx, [ebp - 0x2d8]
mov byte [ebp - 4], 0x31
call fcn.0041a760
xor ebx, ebx
lea esi, [ebx + 8]
lea edi, [ebp - 0xd8]
call fcn.0040b300
cmp byte [ebp - 0x20d], bl
jne 0x40cf8e
lea edx, [ebp - 0x84]
push 0x53ff0c
push edx
mov ecx, eax
mov byte [ebp - 4], 0x33
call fcn.00405ce0
add esp, 8
mov byte [ebp - 4], 0x34
cmp dword [eax + 0x14], esi
jb 0x40cf21
mov eax, dword [eax]
mov ecx, dword [ebp - 0x110]
cmp dword [ebp - 0xfc], esi
jae 0x40cf35
lea ecx, [ebp - 0x110]
push 2
push str.install_fail
call fcn.00410d00
add esp, 8
cmp dword [ebp - 0x70], esi
jb 0x40cf58
mov eax, dword [ebp - 0x84]
push eax
call fcn.004f77ab
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x70], 7
mov dword [ebp - 0x74], ebx
mov word [ebp - 0x84], cx
cmp dword [ebp - 0xc4], esi
jb 0x40d014
mov edx, dword [ebp - 0xd8]
push edx
jmp 0x40d00c
lea eax, [ebp - 0x12c]
jmp 0x40ce5f
lea ecx, [ebp - 0x84]
push 0x53ff0c
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x35
call fcn.00405ce0
add esp, 8
mov byte [ebp - 4], 0x36
cmp dword [eax + 0x14], esi
jb 0x40cfb3
mov eax, dword [eax]
mov ecx, dword [ebp - 0x110]
cmp dword [ebp - 0xfc], esi
jae 0x40cfc7
lea ecx, [ebp - 0x110]
push 2
push str.install_success
call fcn.00410d00
add esp, 8
cmp dword [ebp - 0x70], esi
jb 0x40cfea
mov edx, dword [ebp - 0x84]
push edx
call fcn.004f77ab
add esp, 4
xor eax, eax
mov dword [ebp - 0x70], 7
mov dword [ebp - 0x74], ebx
mov word [ebp - 0x84], ax
cmp dword [ebp - 0xc4], esi
jb 0x40d014
mov ecx, dword [ebp - 0xd8]
push ecx
call fcn.004f77ab
add esp, 4
cmp dword [ebp - 0x118], esi
jb 0x40d02b
mov edx, dword [ebp - 0x12c]
push edx
call fcn.004f77ab
add esp, 4
xor eax, eax
mov edi, 7
mov dword [ebp - 0x118], edi
mov dword [ebp - 0x11c], ebx
mov word [ebp - 0x12c], ax
cmp dword [ebp - 0xe0], esi
jb 0x40d05c
mov ecx, dword [ebp - 0xf4]
push ecx
call fcn.004f77ab
add esp, 4
xor edx, edx
mov dword [ebp - 0xe0], edi
mov dword [ebp - 0xe4], ebx
mov word [ebp - 0xf4], dx
cmp dword [ebp - 0xfc], esi
jb 0x40d088
mov eax, dword [ebp - 0x110]
push eax
call fcn.004f77ab
add esp, 4
xor ecx, ecx
mov dword [ebp - 0xfc], edi
mov dword [ebp - 0x100], ebx
mov word [ebp - 0x110], cx
cmp dword [ebp - 0x54], esi
jb 0x40d0ae
mov edx, dword [ebp - 0x68]
push edx
call fcn.004f77ab
add esp, 4
mov esi, dword [ebp - 0x218]
xor eax, eax
push esi
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x58], ebx
mov word [ebp - 0x68], ax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 0x20d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004f6bad
mov esp, ebp
pop ebp
ret