Function at 0x5b10d80
Capabilities:
Check if file exists
Get file attributes
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2004
call fcn.05acf3e0
mov eax, dword [0x5b920e8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
lea esi, [edi + 0x18c]
mov ebx, 8
cmp dword [esi + 0x14], ebx
jb 0x5b10dad
mov eax, dword [esi]
jmp 0x5b10daf
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x5b10e34
xor eax, eax
push 0xffe
push eax
lea ecx, [ebp - 0x2002]
push ecx
mov dword [edi], 0
mov word [ebp - 0x2004], ax
call fcn.05acaa80
mov eax, dword [0x5b9f154]
add esp, 0xc
push 0x800
lea edx, [ebp - 0x2004]
push edx
push 0x7b
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [ebp - 0x2004]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x5b10e02
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x2004]
lea ecx, [edi + 0x154]
push edx
call fcn.05a01370
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.05ac7ec0
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x14], ebx
jb 0x5b10e3d
mov eax, dword [esi]
jmp 0x5b10e3f
mov eax, esi
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push eax
push 0x800
lea eax, [ebp - 0x1004]
push eax
push 0
push str.Name
push str.General
call ebx
test eax, eax
je 0x5b1128d
lea eax, [ebp - 0x1004]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x5b10e71
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x1004]
push ecx
lea ecx, [edi + 4]
call fcn.05a01370
cmp dword [esi + 0x14], 8
jb 0x5b10e9a
mov eax, dword [esi]
jmp 0x5b10e9c
mov eax, esi
push eax
push 0x800
lea edx, [ebp - 0x1004]
push edx
push 0
push str.Version
push str.General
call ebx
test eax, eax
je 0x5b11276
lea eax, [ebp - 0x1004]
lea edx, [eax + 2]
jmp 0x5b10ed0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x5b10ed0
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x1004]
push eax
lea ecx, [edi + 0x20]
call fcn.05a01370
cmp dword [esi + 0x14], 8
jb 0x5b10ef9
mov eax, dword [esi]
jmp 0x5b10efb
mov eax, esi
push eax
push 0x800
lea ecx, [ebp - 0x1004]
push ecx
push 0
push str.CmdLine
push str.Startup
call ebx
test eax, eax
je 0x5b10f3c
lea eax, [ebp - 0x1004]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x5b10f23
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x1004]
push edx
jmp 0x5b10f43
push 0
push 0x5b6b880
lea ecx, [edi + 0x3c]
call fcn.05a01370
cmp dword [esi + 0x14], 8
jb 0x5b10f55
mov eax, dword [esi]
jmp 0x5b10f57
mov eax, esi
push eax
push 0x800
lea eax, [ebp - 0x1004]
push eax
push 0
push 0x5b6b3b0
push str.Startup
call ebx
test eax, eax
je 0x5b1125f
lea eax, [ebp - 0x1004]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x5b10f83
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x1004]
push ecx
lea ecx, [edi + 0x58]
call fcn.05a01370
cmp dword [esi + 0x14], 8
jb 0x5b10fac
mov eax, dword [esi]
jmp 0x5b10fae
mov eax, esi
push eax
push 0x800
lea edx, [ebp - 0x1004]
push edx
push 0
push str.ProductCode
push str.Startup
call ebx
test eax, eax
je 0x5b11248
lea eax, [ebp - 0x1004]
push eax
lea ecx, [edi + 0x74]
call fcn.05a01030
cmp dword [esi + 0x14], 8
jb 0x5b10fea
mov eax, dword [esi]
jmp 0x5b10fec
mov eax, esi
push eax
push 0x800
lea ecx, [ebp - 0x1004]
push ecx
push 0
push 0x5b6b3e0
push str.Startup
call ebx
test eax, eax
je 0x5b11231
lea edx, [ebp - 0x1004]
push edx
lea ecx, [edi + 0x90]
call fcn.05a01030
cmp dword [esi + 0x14], 8
jb 0x5b1102b
mov eax, dword [esi]
jmp 0x5b1102d
mov eax, esi
push eax
push 0x800
lea eax, [ebp - 0x1004]
push eax
push 0
push str.PackageName
push str.Startup
call ebx
test eax, eax
je 0x5b11217
lea ecx, [ebp - 0x1004]
push ecx
lea ecx, [edi + 0xac]
call fcn.05a01030
cmp dword [esi + 0x14], 8
jb 0x5b1106c
mov eax, dword [esi]
jmp 0x5b1106e
mov eax, esi
push eax
push 0x800
lea edx, [ebp - 0x1004]
push edx
push 0
push 0x5b6b418
push str.Startup
call ebx
test eax, eax
je 0x5b111fd
lea eax, [ebp - 0x1004]
push eax
lea ecx, [edi + 0xc8]
call fcn.05a01030
cmp dword [esi + 0x14], 8
jb 0x5b110ad
mov eax, dword [esi]
jmp 0x5b110af
mov eax, esi
push eax
push 0x800
lea ecx, [ebp - 0x1004]
push ecx
push 0
push str.Schema
push str.MSI_Schema
call ebx
test eax, eax
je 0x5b111e3
lea edx, [ebp - 0x1004]
push edx
lea ecx, [edi + 0xe4]
call fcn.05a01030
cmp dword [esi + 0x14], 8
jb 0x5b110ee
mov eax, dword [esi]
jmp 0x5b110f0
mov eax, esi
push eax
push 0x800
lea eax, [ebp - 0x1004]
push eax
push 0
push str.WIInstallPackage
push str.MSI_Schema
call ebx
test eax, eax
je 0x5b111c9
lea ecx, [ebp - 0x1004]
push ecx
lea ecx, [edi + 0x100]
call fcn.05a01030
cmp dword [esi + 0x14], 8
jb 0x5b1112f
mov eax, dword [esi]
jmp 0x5b11131
mov eax, esi
push eax
push 0x800
lea edx, [ebp - 0x1004]
push edx
push 0
push str.WIInstallCmdLine
push str.MSI_Schema
call ebx
test eax, eax
je 0x5b111af
lea eax, [ebp - 0x1004]
push eax
lea ecx, [edi + 0x11c]
call fcn.05a01030
cmp dword [esi + 0x14], 8
jb 0x5b1116a
mov esi, dword [esi]
push esi
push 0x800
lea ecx, [ebp - 0x1004]
push ecx
push 0
push str.Enable
push str.AppRemover
call ebx
test eax, eax
je 0x5b112c9
lea edx, [ebp - 0x1004]
push edx
lea ecx, [edi + 0x138]
call fcn.05a01030
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.05ac7ec0
mov esp, ebp
pop ebp
ret
lea esi, [edi + 0x154]
mov ebx, str.WIInstallCmdLine
mov edx, str.MSI_Schema
call fcn.05b10d30
jmp 0x5b112c3
lea esi, [edi + 0x154]
mov ebx, str.WIInstallPackage
mov edx, str.MSI_Schema
call fcn.05b10d30
jmp 0x5b112c3
lea esi, [edi + 0x154]
mov ebx, str.Schema
mov edx, str.MSI_Schema
call fcn.05b10d30
jmp 0x5b112c3
lea esi, [edi + 0x154]
mov ebx, 0x5b6b418
mov edx, str.Startup
call fcn.05b10d30
jmp 0x5b112c3
lea esi, [edi + 0x154]
mov ebx, str.PackageName
mov edx, str.Startup
call fcn.05b10d30
jmp 0x5b112c3
lea esi, [edi + 0x154]
mov ebx, 0x5b6b3e0
mov edx, str.Startup
call fcn.05b10d30
jmp 0x5b112c3
lea esi, [edi + 0x154]
mov ebx, str.ProductCode
mov edx, str.Startup
call fcn.05b10d30
jmp 0x5b112c3
lea esi, [edi + 0x154]
mov ebx, 0x5b6b3b0
mov edx, str.Startup
call fcn.05b10d30
jmp 0x5b112c3
lea esi, [edi + 0x154]
mov ebx, str.Version
mov edx, str.General
call fcn.05b10d30
jmp 0x5b112c3
push 7
push str.General
lea ecx, [edi + 0x154]
call fcn.05a01370
push 3
mov eax, 0x5b6c680
lea ecx, [edi + 0x154]
call fcn.05a01140
push 4
mov eax, str.Name
lea ecx, [edi + 0x154]
call fcn.05a01140
mov dword [edi], 0
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.05ac7ec0
mov esp, ebp
pop ebp
ret