Function at 0x4080ea
Capabilities:
Get common file path
Get program files directory
Terminate process

Disassembly:
push 0x338
mov eax, 0x4b36f4
call fcn.004989ce
mov esi, ecx
mov edi, esi
mov dword [ebp - 0x338], esi
mov dword [0x4de9a0], esi
call fcn.004203b0
push 1
lea ebx, [esi + 0x26c]
push 0x4c03a0
call fcn.0041ab00
push 1
push str.lab_install_percent
mov dword [esi + 0x3a4], eax
call fcn.0041ab00
push 1
push str.pro_install
mov dword [esi + 0x3a8], eax
call fcn.0041ab00
push 1
push str.edit_installpath
mov dword [esi + 0x3b0], eax
call fcn.0041ab00
push 1
push str.check_userprot
mov dword [esi + 0x3b4], eax
call fcn.0041ab00
push 1
push str.check_shortcut
mov dword [esi + 0x3b8], eax
call fcn.0041ab00
push 1
push str.tab_install_view
mov dword [esi + 0x3bc], eax
call fcn.0041ab00
push 1
push str.hor_userdefine
mov dword [esi + 0x3c0], eax
call fcn.0041ab00
push 1
push str.closebtn
mov dword [esi + 0x3c4], eax
call fcn.0041ab00
push 1
push str.opt_usercustom
mov dword [esi + 0x3dc], eax
call fcn.0041ab00
push 1
push str.btn_usercustom
mov dword [esi + 0x3cc], eax
call fcn.0041ab00
push 1
push str.hor_userdata
mov dword [esi + 0x3d0], eax
call fcn.0041ab00
push 1
push str.btn_install_start
mov dword [esi + 0x3c8], eax
call fcn.0041ab00
push 1
push str.btn_open_i4
mov dword [esi + 0x3d4], eax
call fcn.0041ab00
push 1
push str.edit_userdata
mov dword [esi + 0x3d8], eax
call fcn.0041ab00
push 1
push str.aniLb
mov dword [esi + 0x3e8], eax
call fcn.0041ab00
and dword [ebp - 0x334], 0
mov dword [esi + 0x3f0], eax
lea eax, [ebp - 0x334]
push eax
push ecx
mov eax, esp
mov dword [ebp - 0x344], esp
push eax
mov edi, 0x4c057c
call fcn.004017e2
push 0x70
pop edi
mov eax, edi
call fcn.00407e79
pop ecx
pop ecx
push dword [ebp - 0x334]
mov ecx, dword [esi + 0x3f0]
call fcn.00402e98
mov dword [esi + 0x39c], edi
xor eax, eax
xor edi, edi
push str.Slogan_1
lea ecx, [ebp - 0x2a4]
mov dword [ebp - 0x290], 7
mov dword [ebp - 0x294], edi
mov word [ebp - 0x2a4], ax
call fcn.00401ab5
mov dword [ebp - 4], edi
call fcn.004012c0
push eax
lea ecx, [ebp - 0x2a4]
lea esi, [ebp - 0x2dc]
call fcn.00401224
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x408099
mov eax, dword [eax]
mov esi, dword [ebp - 0x338]
mov ecx, dword [esi + 0x3f0]
mov edx, dword [ecx]
push eax
call dword [edx + 0x2c]
push edi
push 1
lea ecx, [ebp - 0x2dc]
call fcn.00401adc
or dword [ebp - 4], 0xffffffff
push edi
push 1
lea ecx, [ebp - 0x2a4]
call fcn.00401adc
mov esi, dword [esi + 0x3f0]
lea edi, [esi + 0x6d8]
call fcn.0041a310
push 0xa
mov eax, esi
mov esi, dword [esi + 0x40]
push 0x38
call fcn.004180e0
push 1
push str.vLayout_bg
call fcn.0041ab00
mov esi, dword [ebp - 0x338]
mov ecx, dword [esi + 0x3d8]
mov dword [esi + 0x3ec], eax
mov eax, dword [ecx]
xor edi, edi
push edi
call dword [eax + 0xd8]
mov ecx, dword [esi + 0x3bc]
mov eax, dword [ecx]
push edi
call dword [eax + 0xcc]
mov ecx, dword [esi + 0x3bc]
mov eax, dword [ecx]
push 1
call dword [eax + 0x134]
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push edi
push eax
call fcn.0049ac70
add esp, 0xc
lea ecx, [ebp - 0x33c]
call fcn.0040d18f
push 2
pop ebx
mov dword [ebp - 4], ebx
mov ecx, dword [ebp - 0x33c]
lea eax, [ebp - 0x218]
cmp dword [ecx - 0xc], edi
je 0x408186
push ecx
push 0x104
push eax
call fcn.00497696
add esp, 0xc
jmp 0x408206
mov esi, dword [esi + 4]
push edi
push 0x26
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x218]
sub eax, 2
mov cx, word [eax + 2]
add eax, ebx
cmp cx, di
jne 0x40819d
mov edx, 0x4be818
mov edi, eax
mov eax, dword [0x4dec8c]
mov esi, edx
movsd dword es:[edi], dword [esi]
mov esi, eax
mov cx, word [eax]
add eax, ebx
test cx, cx
jne 0x4081b9
lea edi, [ebp - 0x218]
sub eax, esi
sub edi, 2
mov cx, word [edi + 2]
add edi, ebx
test cx, cx
jne 0x4081ce
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x218]
sub edi, 2
mov ax, word [edi + 2]
add edi, ebx
test ax, ax
jne 0x4081f0
mov esi, edx
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x338]
xor edi, edi
mov ecx, dword [esi + 0x3b4]
mov eax, dword [ecx]
lea edx, [ebp - 0x218]
push edx
call dword [eax + 0x2c]
lea ecx, [ebp - 0x33c]
lea ebx, [ebp - 0x340]
call fcn.0040aca0
mov byte [ebp - 4], 3
mov ecx, dword [esi + 0x3e8]
push dword [ebp - 0x340]
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov eax, dword [esi + 0x3c0]
push edi
call fcn.00423160
mov ecx, dword [esi + 0x3b8]
mov eax, dword [ecx]
push 1
call dword [eax + 0x134]
push dword [0x4dec78]
or dword [ebp - 0x334], 0xffffffff
lea edi, [ebp - 0x334]
call fcn.0040392d
pop ecx
test eax, eax
je 0x408491
xor edi, edi
cmp dword [ebp - 0x334], edi
jbe 0x408491
push 7
pop ebx
xor eax, eax
push str.CANCEL
lea ecx, [ebp - 0x26c]
mov dword [ebp - 0x258], ebx
mov dword [ebp - 0x25c], edi
mov word [ebp - 0x26c], ax
call fcn.00401ab5
mov byte [ebp - 4], 4
xor eax, eax
push str.INSTALL
lea ecx, [ebp - 0x250]
mov dword [ebp - 0x23c], ebx
mov dword [ebp - 0x240], edi
mov word [ebp - 0x250], ax
call fcn.00401ab5
mov byte [ebp - 4], 5
xor eax, eax
push str.MESSAGEBOX_CAPITON
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x224], edi
mov word [ebp - 0x234], ax
call fcn.00401ab5
mov byte [ebp - 4], 6
xor eax, eax
push str.MESSAGEBOX_WARNING_RUNNING_TEXT
lea ecx, [ebp - 0x288]
mov dword [ebp - 0x274], ebx
mov dword [ebp - 0x278], edi
mov word [ebp - 0x288], ax
call fcn.00401ab5
mov byte [ebp - 4], bl
call fcn.004012c0
push eax
lea ecx, [ebp - 0x26c]
lea esi, [ebp - 0x2c0]
call fcn.00401224
mov edi, eax
mov byte [ebp - 4], 8
call fcn.004012c0
push eax
lea ecx, [ebp - 0x250]
lea esi, [ebp - 0x314]
call fcn.00401224
mov ebx, eax
mov byte [ebp - 4], 9
call fcn.004012c0
push eax
lea ecx, [ebp - 0x234]
lea esi, [ebp - 0x330]
call fcn.00401224
mov dword [ebp - 0x344], eax
mov byte [ebp - 4], 0xa
call fcn.004012c0
push eax
lea ecx, [ebp - 0x288]
lea esi, [ebp - 0x2f8]
call fcn.00401224
push 8
pop edx
mov byte [ebp - 4], 0xb
cmp dword [edi + 0x14], edx
jb 0x4083af
mov edi, dword [edi]
cmp dword [ebx + 0x14], edx
jb 0x4083b6
mov ebx, dword [ebx]
mov ecx, dword [ebp - 0x344]
cmp dword [ecx + 0x14], edx
jb 0x4083c3
mov ecx, dword [ecx]
cmp dword [eax + 0x14], edx
jb 0x4083ca
mov eax, dword [eax]
push edi
push ebx
push 0x34
mov ebx, eax
xor edi, edi
call fcn.0040d4ce
add esp, 0xc
xor esi, esi
push esi
inc edi
push edi
lea ecx, [ebp - 0x2f8]
mov ebx, eax
call fcn.00401adc
push esi
push edi
lea ecx, [ebp - 0x330]
call fcn.00401adc
push esi
push edi
lea ecx, [ebp - 0x314]
call fcn.00401adc
push esi
push edi
lea ecx, [ebp - 0x2c0]
call fcn.00401adc
push esi
push edi
lea ecx, [ebp - 0x288]
call fcn.00401adc
push esi
push edi
lea ecx, [ebp - 0x234]
call fcn.00401adc
push esi
push edi
lea ecx, [ebp - 0x250]
call fcn.00401adc
push esi
push edi
lea ecx, [ebp - 0x26c]
call fcn.00401adc
cmp ebx, 6
je 0x40845a
push esi
mov esi, dword [ebp - 0x338]
call fcn.004201f0
jmp 0x408491
push dword [ebp - 0x334]
push esi
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
cmp edi, esi
je 0x408484
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x338]
push 0
push 0xbb8
push 0x7df
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, dword [ebp - 0x340]
add eax, 0xfffffff0
call fcn.0040112f
mov eax, dword [ebp - 0x33c]
add eax, 0xfffffff0
call fcn.0040112f
call fcn.00498a51
ret