Function at 0x458f96
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.0040338e
lea ecx, [esp + 0x658]
call fcn.0040338e
lea ecx, [esp + 0x440]
call fcn.0040338e
lea ecx, [esp + 0x228]
call fcn.0040338e
lea ecx, [esp + 0x10]
call fcn.0040338e
push dword [esi + 0xa4b4]
mov eax, dword [esi + 0x58]
push dword [esi + 0xa4ac]
add eax, 0x6ac
push eax
call fcn.00462661
test eax, eax
je 0x459229
lea ecx, [esi + 0xa4a8]
call fcn.00403e87
xor ebx, ebx
mov ebp, 0x50e448
push 0x23
lea edi, [ebx + 1]
pop ebx
push edi
lea eax, [esp + 0x22c]
push str.link_name__u
push eax
call fcn.00403732
mov ecx, dword [esi + 0x5c]
lea eax, [esp + 0x1c]
add esp, 0xc
push eax
push dword [esp + 0x230]
call fcn.0045f8dc
test al, al
je 0x459224
mov ecx, dword [esp + 0x14]
mov edx, str.PROGRAM
call fcn.00416621
test eax, eax
jne 0x4590ac
mov ecx, dword [esi + 0x5c]
lea eax, [esp + 0x10]
push eax
push str.company_program_brief
call fcn.0045f8dc
test al, al
je 0x459224
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x4590b0
mov edx, dword [esp + 0x18]
lea eax, [edx + 4]
cmp eax, dword [esp + 0x1c]
jae 0x4590b0
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.00403732
push edi
lea eax, [esp + 0x23c]
push str.file_name__u
push eax
call fcn.00403732
mov ecx, dword [esi + 0x5c]
lea eax, [esp + 0x2c]
add esp, 0x1c
push eax
push dword [esp + 0x230]
call fcn.0045f8dc
test al, al
je 0x459224
mov eax, dword [esp + 0x14]
cmp word [eax], bx
jne 0x45911c
lea ecx, [esp + 0x10]
mov edx, eax
push ecx
mov ecx, dword [esi + 0x58]
call fcn.00457f54
pop ecx
test al, al
je 0x459224
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.00403732
push edi
lea eax, [esp + 0x23c]
push str.icon_file__u
push eax
call fcn.00403732
mov ecx, dword [esi + 0x5c]
lea eax, [esp + 0x2c]
add esp, 0x1c
push eax
push dword [esp + 0x230]
call fcn.0045f8dc
test al, al
je 0x459224
mov eax, dword [esp + 0x14]
cmp word [eax], bx
jne 0x45918b
lea ecx, [esp + 0x10]
mov edx, eax
push ecx
mov ecx, dword [esi + 0x58]
call fcn.00457f54
pop ecx
test al, al
je 0x459224
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.00403732
push edi
lea eax, [esp + 0x23c]
push str.icon_index__u
push eax
call fcn.00403732
mov ecx, dword [esi + 0x5c]
lea eax, [esp + 0x2c]
add esp, 0x1c
push eax
push dword [esp + 0x230]
call fcn.0045f8dc
test al, al
je 0x459224
push dword [esp + 0x14]
call fcn.0042bc61
pop ecx
push dword [esp + 0x444]
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x459215
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.004626b2
inc edi
mov ebp, 0x50e448
cmp edi, 0x40
jb 0x459015
xor ebx, ebx
inc ebx
jmp 0x45923a
push str.Install_Fail_Create_Group
mov ecx, 0x556880
call fcn.00444579
xor bl, bl
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
add esp, 0xa7c
ret