Function at 0x458d6c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0xa7c
push ebx
push ebp
push esi
mov esi, ecx
lea ecx, [esp + 0x86c]
push edi
call fcn.0040337a
lea ecx, [esp + 0x658]
call fcn.0040337a
lea ecx, [esp + 0x440]
call fcn.0040337a
lea ecx, [esp + 0x228]
call fcn.0040337a
lea ecx, [esp + 0x10]
call fcn.0040337a
push dword [esi + 0xa4b4]
mov eax, dword [esi + 0x58]
push dword [esi + 0xa4ac]
add eax, 0x6ac
push eax
call fcn.004623ed
test eax, eax
je 0x458fff
lea ecx, [esi + 0xa4a8]
call fcn.00403e73
xor ebx, ebx
mov ebp, 0x50d448
push 0x23
lea edi, [ebx + 1]
pop ebx
push edi
lea eax, [esp + 0x22c]
push str.link_name__u
push eax
call fcn.0040371e
mov ecx, dword [esi + 0x5c]
lea eax, [esp + 0x1c]
add esp, 0xc
push eax
push dword [esp + 0x230]
call fcn.0045f686
test al, al
je 0x458ffa
mov ecx, dword [esp + 0x14]
mov edx, str.PROGRAM
call fcn.004165c9
test eax, eax
jne 0x458e82
mov ecx, dword [esi + 0x5c]
lea eax, [esp + 0x10]
push eax
push str.company_program_brief
call fcn.0045f686
test al, al
je 0x458ffa
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x458e86
mov edx, dword [esp + 0x18]
lea eax, [edx + 4]
cmp eax, dword [esp + 0x1c]
jae 0x458e86
mov dword [ecx + edx*2], 0x6c002e
mov dword [ecx + edx*2 + 4], 0x6b006e
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
add ecx, 4
xor edx, edx
mov dword [esp + 0x18], ecx
mov word [eax + ecx*2], dx
mov ecx, dword [esp + 0x14]
push ecx
push dword [esi + 0xa4ac]
lea eax, [esp + 0x878]
push ebp
push eax
call fcn.0040371e
push edi
lea eax, [esp + 0x23c]
push str.file_name__u
push eax
call fcn.0040371e
mov ecx, dword [esi + 0x5c]
lea eax, [esp + 0x2c]
add esp, 0x1c
push eax
push dword [esp + 0x230]
call fcn.0045f686
test al, al
je 0x458ffa
mov eax, dword [esp + 0x14]
cmp word [eax], bx
jne 0x458ef2
lea ecx, [esp + 0x10]
mov edx, eax
push ecx
mov ecx, dword [esi + 0x58]
call fcn.00457d2a
pop ecx
test al, al
je 0x458ffa
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [esi + 0x58]
add eax, 0x29c
push eax
lea eax, [esp + 0x448]
push ebp
push eax
call fcn.0040371e
push edi
lea eax, [esp + 0x23c]
push str.icon_file__u
push eax
call fcn.0040371e
mov ecx, dword [esi + 0x5c]
lea eax, [esp + 0x2c]
add esp, 0x1c
push eax
push dword [esp + 0x230]
call fcn.0045f686
test al, al
je 0x458ffa
mov eax, dword [esp + 0x14]
cmp word [eax], bx
jne 0x458f61
lea ecx, [esp + 0x10]
mov edx, eax
push ecx
mov ecx, dword [esi + 0x58]
call fcn.00457d2a
pop ecx
test al, al
je 0x458ffa
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [esi + 0x58]
add eax, 0x29c
push eax
lea eax, [esp + 0x660]
push ebp
push eax
call fcn.0040371e
push edi
lea eax, [esp + 0x23c]
push str.icon_index__u
push eax
call fcn.0040371e
mov ecx, dword [esi + 0x5c]
lea eax, [esp + 0x2c]
add esp, 0x1c
push eax
push dword [esp + 0x230]
call fcn.0045f686
test al, al
je 0x458ffa
push dword [esp + 0x14]
call fcn.0042bc01
pop ecx
push dword [esp + 0x444]
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x458feb
mov eax, dword [esi + 0x58]
push ebp
push dword [esp + 0x660]
add eax, 0x29c
push ecx
push ecx
push dword [esp + 0x884]
push dword [esp + 0x458]
push eax
call fcn.0046243e
inc edi
mov ebp, 0x50d448
cmp edi, 0x40
jb 0x458deb
xor ebx, ebx
inc ebx
jmp 0x459010
push str.Install_Fail_Create_Group
mov ecx, 0x555890
call fcn.004444e4
xor bl, bl
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
add esp, 0xa7c
ret