Function at 0x49e7a0
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5442b7
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x595c60]
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
mov dword [ebp - 0x1a0], edx
mov edi, ecx
mov dword [ebp - 0x188], edi
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x184], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x190], eax
mov eax, dword [0x59e598]
mov dword [ebp - 0x17c], edi
mov dword [ebp - 0x180], ebx
test al, 1
jne 0x49e831
or eax, 1
mov dword [0x59e598], eax
mov dword [ebp - 4], 0
call fcn.004a08c0
push 0x54e860
call fcn.0050765d
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x596f88]
test byte [eax + 0x1c], 2
je 0x49e846
cmp byte [eax + 0x19], 6
jb 0x49e846
mov al, 1
jmp 0x49e848
xor al, al
cmp byte [0x59e5a8], 0
jne 0x49e862
cmp byte [0x59e5a9], 0
jne 0x49e862
test al, al
je 0x49e9aa
sub esp, 8
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x24c]
call fcn.0047b550
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.004a0cb0
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x24c]
call fcn.0047eed0
mov edx, str..installer.cpp
mov ecx, eax
call fcn.0047f130
mov edx, 0x56a378
mov ecx, eax
call fcn.0047f130
push 0x27e
mov ecx, eax
call fcn.0047b1b0
mov edx, 0x56a378
mov ecx, eax
call fcn.0047f130
mov edx, 0x56a46c
mov ecx, eax
call fcn.0047f130
mov edx, str.PerformAction
mov ecx, eax
call fcn.0047f130
mov byte [ebp - 4], 2
cmp dword [ebp - 0x18], 0x10
jb 0x49e8f6
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x49e8f6
push eax
call fcn.005074d4
add esp, 4
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x24c]
call fcn.0047b6a0
mov esi, eax
mov byte [ebp - 4], 4
cmp dword [esi + 0x14], 0x10
jb 0x49e913
mov esi, dword [esi]
mov eax, dword [0x59e598]
test al, 1
jne 0x49e93e
or eax, 1
mov dword [0x59e598], eax
mov byte [ebp - 4], 5
call fcn.004a08c0
push 0x54e860
call fcn.0050765d
add esp, 4
mov byte [ebp - 4], 4
push esi
push 6
mov ecx, 0x59e5a8
call fcn.004a0b40
cmp dword [ebp - 0x18], 0x10
jb 0x49e961
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x49e961
push eax
call fcn.005074d4
add esp, 4
lea ecx, [ebp - 0x1fc]
mov byte [ebp - 4], 1
call fcn.0047b620
lea eax, [ebp - 0x1fc]
mov dword [ebp - 0x1fc], 0x56a6f8
push eax
call fcn.0052889f
add esp, 4
jmp 0x49e9a3
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x74]
call fcn.004971c0
lea ecx, [ebp - 0x9c]
mov dword [ebp - 4], 7
call fcn.004f54b0
mov byte [ebp - 4], 8
call fcn.004f5b00
mov eax, dword [ebp - 0x78]
test eax, eax
jne 0x49e9e2
lea ecx, [ebp - 0x9c]
call fcn.004f5940
mov eax, dword [ebp - 0x78]
mov byte [ebp - 4], 9
test eax, eax
jne 0x49ed31
push 0x19
push str.HKCCS_servicesmfencbdc
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], eax
mov word [ebp - 0x44], ax
call fcn.0047c530
mov edx, 0x25
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x2c]
call fcn.004f3c20
push str.services.exe
mov edx, eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x5c]
call fcn.0048e940
add esp, 4
push eax
sub esp, 8
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x44]
lea ecx, [ebp - 0x9c]
push eax
call fcn.004f5aa0
cmp dword [ebp - 0x48], 8
jb 0x49ea5f
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x49ea5f
push eax
call fcn.005074d4
add esp, 4
xor eax, eax
mov dword [ebp - 0x48], 7
cmp dword [ebp - 0x18], 8
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x5c], ax
jb 0x49ea89
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x49ea89
push eax
call fcn.005074d4
add esp, 4
xor eax, eax
mov byte [ebp - 4], 9
cmp dword [ebp - 0x30], 8
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
jb 0x49eab7
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x49eab7
push eax
call fcn.005074d4
add esp, 4
push 0x18
xor eax, eax
mov dword [ebp - 0x30], 7
push str.HKCCS_servicesmfencrk
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
call fcn.0047c530
mov edx, 0x25
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x5c]
call fcn.004f3c20
push str.services.exe
mov edx, eax
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x2c]
call fcn.0048e940
add esp, 4
push eax
sub esp, 8
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x44]
lea ecx, [ebp - 0x9c]
push eax
call fcn.004f5aa0
cmp dword [ebp - 0x18], 8
jb 0x49eb2e
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x49eb2e
push eax
call fcn.005074d4
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
cmp dword [ebp - 0x48], 8
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
jb 0x49eb58
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x49eb58
push eax
call fcn.005074d4
add esp, 4
xor eax, eax
mov byte [ebp - 4], 9
cmp dword [ebp - 0x30], 8
mov dword [ebp - 0x48], 7
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x5c], ax
jb 0x49eb86
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x49eb86
push eax
call fcn.005074d4
add esp, 4
push 0x19
xor eax, eax
mov dword [ebp - 0x30], 7
push str.HKCCS_servicesmfencbdc
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
call fcn.0047c530
mov edx, 0x25
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x5c]
call fcn.004f3c20
push str.services.exe
mov edx, eax
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x2c]
call fcn.0048e940
add esp, 4
push eax
sub esp, 8
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0x44]
lea ecx, [ebp - 0x9c]
push eax
call fcn.004f5ad0
cmp dword [ebp - 0x18], 8
jb 0x49ebfd
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x49ebfd
push eax
call fcn.005074d4
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
cmp dword [ebp - 0x48], 8
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
jb 0x49ec27
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x49ec27
push eax
call fcn.005074d4
add esp, 4
xor eax, eax
mov byte [ebp - 4], 9
cmp dword [ebp - 0x30], 8
mov dword [ebp - 0x48], 7
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x5c], ax
jb 0x49ec55
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x49ec55
push eax
call fcn.005074d4
add esp, 4
push 0x18
xor eax, eax
mov dword [ebp - 0x30], 7
push str.HKCCS_servicesmfencrk
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
call fcn.0047c530
mov edx, 0x25
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x5c]
call fcn.004f3c20
push str.services.exe
mov edx, eax
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x2c]
call fcn.0048e940
add esp, 4
push eax
sub esp, 8
mov byte [ebp - 4], 0x15
lea eax, [ebp - 0x44]
lea ecx, [ebp - 0x9c]
push eax
call fcn.004f5ad0
cmp dword [ebp - 0x18], 8
jb 0x49eccc
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x49eccc
push eax
call fcn.005074d4
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
cmp dword [ebp - 0x48], 8
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
jb 0x49ecf6
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x49ecf6
push eax
call fcn.005074d4
add esp, 4
xor eax, eax
mov byte [ebp - 4], 9
cmp dword [ebp - 0x30], 8
mov dword [ebp - 0x48], 7
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x5c], ax
jb 0x49eed1
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x49eed1
push eax
call fcn.005074d4
add esp, 4
jmp 0x49eed1
mov eax, dword [0x59e598]
test al, 1
jne 0x49ed5c
or eax, 1
mov dword [0x59e598], eax
mov byte [ebp - 4], 0x16
call fcn.004a08c0
push 0x54e860
call fcn.0050765d
add esp, 4
mov byte [ebp - 4], 9
mov eax, dword [0x596f88]
test byte [eax + 0x1c], 2
je 0x49ed71
cmp byte [eax + 0x19], 3
jb 0x49ed71
mov al, 1
jmp 0x49ed73
xor al, al
cmp byte [0x59e5a8], 0
jne 0x49ed8d
cmp byte [0x59e5a9], 0
jne 0x49ed8d
test al, al
je 0x49eed1
sub esp, 8
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x24c]
call fcn.0047b550
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x18
call fcn.004a0cb0
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x24c]
mov esi, dword [ebp - 0x78]
mov edx, eax
call fcn.0047eed0
mov edx, str..installer.cpp
mov ecx, eax
call fcn.0047f130
mov edx, 0x56a378
mov ecx, eax
call fcn.0047f130
push 0x28d
mov ecx, eax
call fcn.0047b1b0
mov edx, 0x56a378
mov ecx, eax
call fcn.0047f130
mov edx, str.Failed_in_ScopedAccessProtectionExclusion_constructor._Error_code_:
mov ecx, eax
call fcn.0047f130
push esi
mov ecx, eax
call fcn.0047b350
mov byte [ebp - 4], 0x18
cmp dword [ebp - 0x18], 0x10
jb 0x49ee1d
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x49ee1d
push eax
call fcn.005074d4
add esp, 4
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x24c]
call fcn.0047b6a0
mov esi, eax
mov byte [ebp - 4], 0x1a
cmp dword [esi + 0x14], 0x10
jb 0x49ee3a
mov esi, dword [esi]
mov eax, dword [0x59e598]
test al, 1
jne 0x49ee65
or eax, 1
mov dword [0x59e598], eax
mov byte [ebp - 4], 0x1b
call fcn.004a08c0
push 0x54e860
call fcn.0050765d
add esp, 4
mov byte [ebp - 4], 0x1a
push esi
push 3
mov ecx, 0x59e5a8
call fcn.004a0b40
cmp dword [ebp - 0x18], 0x10
jb 0x49ee88
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x49ee88
push eax
call fcn.005074d4
add esp, 4
lea ecx, [ebp - 0x1fc]
mov byte [ebp - 4], 0x17
call fcn.0047b620
lea eax, [ebp - 0x1fc]
mov dword [ebp - 0x1fc], 0x56a6f8
push eax
call fcn.0052889f
add esp, 4
jmp 0x49eeca
mov dword [ebp - 4], 9
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.004bcc60
mov ecx, eax
mov byte [ebp - 4], 0x1d
call fcn.00496720
mov byte [ebp - 4], 9
cmp dword [ebp - 0x18], 8
jb 0x49ef01
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x49ef01
push eax
call fcn.005074d4
add esp, 4
xor eax, eax
mov dword [ebp - 0x19c], 0
mov dword [ebp - 0x198], eax
mov dword [ebp - 0x194], eax
mov byte [ebp - 0x1b4], al
mov dword [ebp - 0x1b3], eax
mov dword [ebp - 0x1af], eax
mov dword [ebp - 0x1ab], eax
mov dword [ebp - 0x1a7], eax
mov word [ebp - 0x1a3], ax
mov byte [ebp - 0x1a1], al
lea eax, [ebp - 0x1b4]
push 1
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 0
push 0
push 1
lea eax, [ebp - 0x1b4]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
push str.CASPERINSTALLER
push 0
lea eax, [ebp - 0x1b4]
mov dword [ebp - 0x194], 0
push 0x1f0003
mov dword [ebp - 0x198], eax
mov dword [ebp - 0x19c], 0xc
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov edi, eax
mov dword [ebp - 0x18c], edi
test edi, edi
je 0x49f17f
mov ecx, dword [0x59e598]
test cl, 1
jne 0x49efd2
or ecx, 1
mov dword [0x59e598], ecx
mov byte [ebp - 4], 0x1e
call fcn.004a08c0
push 0x54e860
call fcn.0050765d
add esp, 4
mov eax, dword [0x596f88]
test byte [eax + 0x1c], 2
je 0x49efe7
cmp byte [eax + 0x19], 3
jb 0x49efe7
mov al, 1
jmp 0x49efe9
xor al, al
cmp byte [0x59e5a8], 0
jne 0x49f003
cmp byte [0x59e5a9], 0
jne 0x49f003
test al, al
je 0x49f130
sub esp, 8
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x24c]
call fcn.0047b550
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x20
call fcn.004a0cb0
mov edx, eax
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x24c]
call fcn.0047eed0
mov edx, str..installer.cpp
mov ecx, eax
call fcn.0047f130
mov edx, 0x56a378
mov ecx, eax
call fcn.0047f130
push 0x29f
mov ecx, eax
call fcn.0047b1b0
mov edx, 0x56a378
mov ecx, eax
call fcn.0047f130
mov edx, str.Another_Instance_of_Installer_is_already_running.
mov ecx, eax
call fcn.0047f130
mov byte [ebp - 4], 0x20
cmp dword [ebp - 0x18], 0x10
jb 0x49f088
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x49f088
push eax
call fcn.005074d4
add esp, 4
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x24c]
call fcn.0047b6a0
mov esi, eax
mov byte [ebp - 4], 0x22
cmp dword [esi + 0x14], 0x10
jb 0x49f0a5
mov esi, dword [esi]
mov eax, dword [0x59e598]
test al, 1
jne 0x49f0d0
or eax, 1
mov dword [0x59e598], eax
mov byte [ebp - 4], 0x23
call fcn.004a08c0
push 0x54e860
call fcn.0050765d
add esp, 4
mov byte [ebp - 4], 0x22
push esi
push 3
mov ecx, 0x59e5a8
call fcn.004a0b40
cmp dword [ebp - 0x18], 0x10
jb 0x49f0f3
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x49f0f3
push eax
call fcn.005074d4
add esp, 4
lea ecx, [ebp - 0x1fc]
mov byte [ebp - 4], 0x1f
call fcn.0047b620
lea eax, [ebp - 0x1fc]
mov dword [ebp - 0x1fc], 0x56a6f8
push eax
call fcn.0052889f
add esp, 4
jmp 0x49f129
mov dword [ebp - 4], 9
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 7
call fcn.004f5670
cmp dword [ebp - 0x64], 0
je 0x49f15f
cmp dword [ebp - 0x60], 8
mov eax, dword [ebp - 0x74]
jae 0x49f158
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
cmp dword [ebp - 0x60], 8
jb 0x49f175
mov eax, dword [ebp - 0x74]
test eax, eax
je 0x49f175
push eax
call fcn.005074d4
add esp, 4
mov eax, 0x480
jmp 0x49faa6
push str.CASPERINSTALLER
push 0
push 0
lea eax, [ebp - 0x19c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 0x18c], eax
mov ecx, ebx
mov eax, dword [ebp + 0x14]
mov byte [0x59e408], al
call fcn.004976c0
mov esi, eax
mov dword [ebp - 0x178], esi
test esi, esi
jne 0x49f899
mov edi, dword [ebp - 0x188]
mov ecx, edi
call fcn.004bb540
mov esi, eax
mov dword [ebp - 0x30], 7
xor eax, eax
mov dword [ebp - 0x178], esi
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x25
call fcn.004a76b0
test eax, eax
jne 0x49f1fb
lea ecx, [ebp - 0x44]
call fcn.00495e00
mov byte [ebp - 4], 9
cmp dword [ebp - 0x30], 8
jb 0x49f215
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x49f215
push eax
call fcn.005074d4
add esp, 4
test esi, esi
jne 0x49f899
mov eax, dword [ebp - 0x1a0]
dec eax
cmp eax, 3
ja case.default.0x49f22d
jmp dword [eax*4 + 0x49fac4]
push 6
call fcn.004a0950
mov ecx, eax
call fcn.004a0b00
test al, al
je 0x49f31b
sub esp, 8
mov byte [ebp - 4], 0x26
lea ecx, [ebp - 0x24c]
call fcn.0047b550
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x27
call fcn.004a0cb0
mov edx, eax
mov byte [ebp - 4], 0x28
lea ecx, [ebp - 0x24c]
call fcn.0047eed0
mov edx, str..installer.cpp
mov ecx, eax
call fcn.0047f130
mov edx, 0x56a378
mov ecx, eax
call fcn.0047f130
push 0x2ba
mov ecx, eax
call fcn.0047b1b0
mov edx, 0x56a378
mov ecx, eax
call fcn.0047f130
mov edx, str.Installing_AMCore
mov ecx, eax
call fcn.0047f130
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x27
call fcn.0047ac60
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x24c]
call fcn.0047b6a0
mov esi, eax
mov byte [ebp - 4], 0x29
cmp dword [esi + 0x14], 0x10
jb 0x49f2de
mov esi, dword [esi]
call fcn.004a0950
push esi
push 6
mov ecx, eax
call fcn.004a0b40
lea ecx, [ebp - 0x5c]
call fcn.0047ac60
lea ecx, [ebp - 0x24c]
call fcn.004790d0
jmp 0x49f314
mov dword [ebp - 4], 9
call fcn.004a3960
test al, al
jne 0x49f388
mov ecx, dword [ebp - 0x190]
call fcn.004a39a0
test al, al
je 0x49f388
mov ecx, ebx
call fcn.00497410
mov esi, eax
mov dword [ebp - 0x178], esi
test esi, esi
jne 0x49f374
call fcn.0049af40
mov esi, eax
mov dword [ebp - 0x178], eax
test esi, esi
jne 0x49f374
mov edx, dword [ebp - 0x184]
mov ecx, edi
call fcn.00497bf0
mov esi, eax
mov dword [ebp - 0x178], esi
test esi, esi
je 0x49f899
test ebx, ebx
je 0x49f899
mov ecx, ebx
call fcn.00497940
jmp 0x49f899
mov ecx, dword [ebp - 0x190]
call fcn.004a39a0
push 2
test al, al
jne 0x49f484
call fcn.004a0950
mov ecx, eax
call fcn.004a0b00
test al, al
je 0x49f474
sub esp, 8
mov byte [ebp - 4], 0x2b
lea ecx, [ebp - 0x24c]
call fcn.0047b550
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x2c
call fcn.004a0cb0
mov edx, eax
mov byte [ebp - 4], 0x2d
lea ecx, [ebp - 0x24c]
call fcn.0047eed0
mov edx, str..installer.cpp
mov ecx, eax
call fcn.0047f130
mov edx, 0x56a378
mov ecx, eax
call fcn.0047f130
push 0x2d0
mov ecx, eax
call fcn.0047b1b0
mov edx, 0x56a378
mov ecx, eax
call fcn.0047f130
mov edx, str.PreRequisites__SysCore__content_etc.__not_Installed.
mov ecx, eax
call fcn.0047f130
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x2c
call fcn.0047ac60
lea eax, [ebp - 0xfc]
push eax
lea ecx, [ebp - 0x24c]
call fcn.0047b6a0
mov esi, eax
mov byte [ebp - 4], 0x2e
cmp dword [esi + 0x14], 0x10
jb 0x49f448
mov esi, dword [esi]
call fcn.004a0950
push esi
push 2
mov ecx, eax
call fcn.004a0b40
lea ecx, [ebp - 0xfc]
call fcn.0047ac60
lea ecx, [ebp - 0x24c]
call fcn.004790d0
mov dword [ebp - 4], 9
mov esi, 0x424
jmp 0x49f893
call fcn.004a0950
mov ecx, eax
call fcn.004a0b00
test al, al
je 0x49f561
sub esp, 8
mov byte [ebp - 4], 0x30
lea ecx, [ebp - 0x24c]
call fcn.0047b550
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 0x31
call fcn.004a0cb0
mov edx, eax
mov byte [ebp - 4], 0x32
lea ecx, [ebp - 0x24c]
call fcn.0047eed0
mov edx, str..installer.cpp
mov ecx, eax
call fcn.0047f130
mov edx, 0x56a378
mov ecx, eax
call fcn.0047f130
push 0x2d5
mov ecx, eax
call fcn.0047b1b0
mov edx, 0x56a378
mov ecx, eax
call fcn.0047f130
mov edx, str.AMCore_Core_Already_Installed.
mov ecx, eax
call fcn.0047f130
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 0x31
call fcn.0047ac60
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebp - 0x24c]
call fcn.0047b6a0
mov esi, eax
mov byte [ebp - 4], 0x33
cmp dword [esi + 0x14], 0x10
jb 0x49f535
mov esi, dword [esi]
call fcn.004a0950
push esi
push 2
mov ecx, eax
call fcn.004a0b40
lea ecx, [ebp - 0xb4]
call fcn.0047ac60
lea ecx, [ebp - 0x24c]
call fcn.004790d0
mov dword [ebp - 4], 9
mov esi, 0xb7
jmp 0x49f893
push 6
call fcn.004a0950
mov ecx, eax
call fcn.004a0b00
test al, al
je 0x49f664
sub esp, 8
mov byte [ebp - 4], 0x35
lea ecx, [ebp - 0x24c]
call fcn.0047b550
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 0x36
call fcn.004a0cb0
mov edx, eax
mov byte [ebp - 4], 0x37
lea ecx, [ebp - 0x24c]
call fcn.0047eed0
mov edx, str..installer.cpp
mov ecx, eax
call fcn.0047f130
mov edx, 0x56a378
mov ecx, eax
call fcn.0047f130
push 0x2db
mov ecx, eax
call fcn.0047b1b0
mov edx, 0x56a378
mov ecx, eax
call fcn.0047f130
mov edx, str.UnInstalling_AMCore
mov ecx, eax
call fcn.0047f130
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 0x36
call fcn.0047ac60
lea eax, [ebp - 0xe4]
push eax
lea ecx, [ebp - 0x24c]
call fcn.0047b6a0
mov esi, eax
mov byte [ebp - 4], 0x38
cmp dword [esi + 0x14], 0x10
jb 0x49f624
mov esi, dword [esi]
call fcn.004a0950
push esi
push 6
mov ecx, eax
call fcn.004a0b40
lea ecx, [ebp - 0xe4]
call fcn.0047ac60
lea ecx, [ebp - 0x24c]
call fcn.004790d0
jmp 0x49f65d
mov dword [ebp - 4], 9
mov ecx, edi
call fcn.0049a380
mov esi, eax
mov dword [ebp - 0x178], esi
test ebx, ebx
je 0x49f899
mov ecx, ebx
call fcn.00497940
or esi, eax
jmp 0x49f893
push 6
call fcn.004a0950
mov ecx, eax
call fcn.004a0b00
test al, al
je 0x49f77c
sub esp, 8
mov byte [ebp - 4], 0x3a
lea ecx, [ebp - 0x24c]
call fcn.0047b550
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 0x3b
call fcn.004a0cb0
mov edx, eax
mov byte [ebp - 4], 0x3c
lea ecx, [ebp - 0x24c]
call fcn.0047eed0
mov edx, str..installer.cpp
mov ecx, eax
call fcn.0047f130
mov edx, 0x56a378
mov ecx, eax
call fcn.0047f130
push 0x2e3
mov ecx, eax
call fcn.0047b1b0
mov edx, 0x56a378
mov ecx, eax
call fcn.0047f130
mov edx, str.Repairing_AMCore
mov ecx, eax
call fcn.0047f130
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 0x3b
call fcn.0047ac60
lea eax, [ebp - 0x174]
push eax
lea ecx, [ebp - 0x24c]
call fcn.0047b6a0
mov esi, eax
mov byte [ebp - 4], 0x3d
cmp dword [esi + 0x14], 0x10
jb 0x49f73c
mov esi, dword [esi]
call fcn.004a0950
push esi
push 6
mov ecx, eax
call fcn.004a0b40
lea ecx, [ebp - 0x174]
call fcn.0047ac60
lea ecx, [ebp - 0x24c]
call fcn.004790d0
jmp 0x49f775
mov dword [ebp - 4], 9
push ecx
push dword [ebp - 0x184]
mov edx, ebx
mov ecx, edi
call fcn.0049c8f0
add esp, 8
mov esi, eax
jmp 0x49f893
push 6
call fcn.004a0950
mov ecx, eax
call fcn.004a0b00
test al, al
je 0x49f883
sub esp, 8
mov byte [ebp - 4], 0x3f
lea ecx, [ebp - 0x24c]
call fcn.0047b550
lea ecx, [ebp - 0x15c]
mov byte [ebp - 4], 0x40
call fcn.004a0cb0
mov edx, eax
mov byte [ebp - 4], 0x41
lea ecx, [ebp - 0x24c]
call fcn.0047eed0
mov edx, str..installer.cpp
mov ecx, eax
call fcn.0047f130
mov edx, 0x56a378
mov ecx, eax
call fcn.0047f130
push 0x2eb
mov ecx, eax
call fcn.0047b1b0
mov edx, 0x56a378
mov ecx, eax
call fcn.0047f130
mov edx, str.Upgrading_AMCore
mov ecx, eax
call fcn.0047f130
lea ecx, [ebp - 0x15c]
mov byte [ebp - 4], 0x40
call fcn.0047ac60
lea eax, [ebp - 0x144]
push eax
lea ecx, [ebp - 0x24c]
call fcn.0047b6a0
mov esi, eax
mov byte [ebp - 4], 0x42
cmp dword [esi + 0x14], 0x10
jb 0x49f849
mov esi, dword [esi]
call fcn.004a0950
push esi
push 6
mov ecx, eax
call fcn.004a0b40
lea ecx, [ebp - 0x144]
call fcn.0047ac60
lea ecx, [ebp - 0x24c]
call fcn.004790d0
jmp 0x49f87c
mov dword [ebp - 4], 9
mov ecx, edi
call fcn.0049dbf0
mov esi, eax
jmp 0x49f893
mov esi, 0x5b9
mov dword [ebp - 0x178], esi
mov eax, dword [ebp - 0x18c]
test eax, eax
je 0x49f8aa
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x59e598]
test al, 1
jne 0x49f8d1
or eax, 1
mov dword [0x59e598], eax
mov byte [ebp - 4], 0x44
call fcn.004a08c0
push 0x54e860
call fcn.0050765d
add esp, 4
mov eax, dword [0x596f88]
test byte [eax + 0x1c], 2
je 0x49f8e6
cmp byte [eax + 0x19], 6
jb 0x49f8e6
mov al, 1
jmp 0x49f8e8
xor al, al
cmp byte [0x59e5a8], 0
jne 0x49f902
cmp byte [0x59e5a9], 0
jne 0x49f902
test al, al
je 0x49fa66
sub esp, 8
mov byte [ebp - 4], 0x45
lea ecx, [ebp - 0x24c]
call fcn.0047b550
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x46
call fcn.004a0cb0
mov byte [ebp - 4], 0x47
lea ecx, [ebp - 0x24c]
mov edx, eax
mov dword [ebp - 0x184], esi
call fcn.0047eed0
mov edx, str..installer.cpp
mov ecx, eax
call fcn.0047f130
mov edx, 0x56a378
mov ecx, eax
call fcn.0047f130
push 0x2f8
mov ecx, eax
call fcn.0047b1b0
mov edx, 0x56a378
mov ecx, eax
call fcn.0047f130
mov edx, 0x56a498
mov ecx, eax
call fcn.0047f130
mov edx, str.PerformAction
mov ecx, eax
call fcn.0047f130
mov edx, 0x570fc8
mov ecx, eax
call fcn.0047f130
mov edx, str._with_result
mov ecx, eax
call fcn.0047f130
lea edx, [ebp - 0x184]
mov ecx, eax
call fcn.004a0f20
mov byte [ebp - 4], 0x46
cmp dword [ebp - 0x18], 0x10
jb 0x49f9be
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x49f9be
push eax
call fcn.005074d4
add esp, 4
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x24c]
call fcn.0047b6a0
mov edi, eax
mov byte [ebp - 4], 0x48
cmp dword [edi + 0x14], 0x10
jb 0x49f9db
mov edi, dword [edi]
mov eax, dword [0x59e598]
test al, 1
jne 0x49fa06
or eax, 1
mov dword [0x59e598], eax
mov byte [ebp - 4], 0x49
call fcn.004a08c0
push 0x54e860
call fcn.0050765d
add esp, 4
mov byte [ebp - 4], 0x48
push edi
push 6
mov ecx, 0x59e5a8
call fcn.004a0b40
cmp dword [ebp - 0x18], 0x10
jb 0x49fa29
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x49fa29
push eax
call fcn.005074d4
add esp, 4
lea ecx, [ebp - 0x1fc]
mov byte [ebp - 4], 0x45
call fcn.0047b620
lea eax, [ebp - 0x1fc]
mov dword [ebp - 0x1fc], 0x56a6f8
push eax
call fcn.0052889f
add esp, 4
jmp 0x49fa5f
mov dword [ebp - 4], 9
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 7
call fcn.004f5670
cmp dword [ebp - 0x64], 0
je 0x49fa8e
cmp dword [ebp - 0x60], 8
mov eax, dword [ebp - 0x74]
jae 0x49fa87
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
cmp dword [ebp - 0x60], 8
jb 0x49faa4
mov eax, dword [ebp - 0x74]
test eax, eax
je 0x49faa4
push eax
call fcn.005074d4
add esp, 4
mov eax, esi
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.00506c7d
mov esp, ebp
pop ebp
ret