Function at 0x40b080
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48767e
mov eax, dword fs:[0]
push eax
sub esp, 0x3c4
mov eax, dword [0x4af3d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x384], eax
lea ebx, [eax + 0x6c]
mov dword [ebp - 0x388], 7
xor eax, eax
mov dword [ebp - 0x38c], 0
push 0xffffffffffffffff
push eax
push ebx
lea ecx, [ebp - 0x39c]
mov word [ebp - 0x39c], ax
call fcn.00401fb0
push 0xb
push str.uninst.ini
lea ecx, [ebp - 0x39c]
mov dword [ebp - 4], 0
call fcn.00401d70
mov edx, eax
cmp dword [edx + 0x14], 8
jb 0x40b108
mov edx, dword [edx]
xor eax, eax
mov dword [ebp - 0x354], 7
mov dword [ebp - 0x358], 0
mov word [ebp - 0x368], ax
cmp word [edx], ax
jne 0x40b12e
xor ecx, ecx
jmp 0x40b142
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40b133
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x368]
call fcn.00402360
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x388]
cmp eax, 8
jb 0x40b171
inc eax
lea ecx, [ebp - 0x39c]
push eax
push dword [ebp - 0x39c]
call fcn.004024c0
xor eax, eax
mov dword [ebp - 0x388], 7
cmp dword [ebp - 0x354], 8
lea esi, [ebp - 0x368]
mov dword [ebp - 0x38c], 0
cmovae esi, dword [ebp - 0x368]
push esi
mov word [ebp - 0x39c], ax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x40b278
push esi
push 0x104
lea eax, [ebp - 0x320]
push eax
push str.uninst.ep
push str.UninstallName
push str.UnInstall
call edi
cmp word [ebp - 0x320], 0
jne 0x40b1e3
xor ecx, ecx
jmp 0x40b1ff
lea ecx, [ebp - 0x320]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40b1f0
sub ecx, edx
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x384]
lea eax, [ebp - 0x320]
push eax
add ecx, 0x84
call fcn.00402360
push esi
push 0x104
lea eax, [ebp - 0x320]
push eax
push 0x4a596c
push str.InstallName
push str.UnInstall
call edi
cmp word [ebp - 0x320], 0
jne 0x40b244
xor ecx, ecx
jmp 0x40b25f
lea ecx, [ebp - 0x320]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40b250
sub ecx, edx
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x384]
lea eax, [ebp - 0x320]
push eax
lea ecx, [ecx + 0x9c]
call fcn.00402360
xor eax, eax
mov dword [ebp - 0x36c], 7
push 0xffffffffffffffff
push eax
push ebx
lea ecx, [ebp - 0x380]
mov dword [ebp - 0x370], 0
mov word [ebp - 0x380], ax
call fcn.00401fb0
push 8
push str._set.ini
lea ecx, [ebp - 0x380]
mov byte [ebp - 4], 3
call fcn.00401d70
mov edx, eax
cmp dword [edx + 0x14], 8
jb 0x40b2c4
mov edx, dword [edx]
xor eax, eax
mov dword [ebp - 0x324], 7
mov dword [ebp - 0x328], 0
mov word [ebp - 0x338], ax
cmp word [edx], ax
jne 0x40b2ea
xor ecx, ecx
jmp 0x40b2ff
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40b2f0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x338]
call fcn.00402360
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x36c]
cmp eax, 8
jb 0x40b32e
inc eax
lea ecx, [ebp - 0x380]
push eax
push dword [ebp - 0x380]
call fcn.004024c0
xor eax, eax
mov dword [ebp - 0x36c], 7
cmp dword [ebp - 0x324], 8
lea esi, [ebp - 0x338]
mov dword [ebp - 0x370], 0
cmovae esi, dword [ebp - 0x338]
push esi
mov word [ebp - 0x380], ax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40b9b6
push esi
push 0x104
lea eax, [ebp - 0x320]
push eax
push 0x4a59b0
push str.ExeFile
push 0x4a619c
call edi
cmp word [ebp - 0x320], 0
jne 0x40b39a
xor ecx, ecx
jmp 0x40b3b2
lea ecx, [ebp - 0x320]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40b3a3
sub ecx, edx
sar ecx, 1
mov ebx, dword [ebp - 0x384]
lea eax, [ebp - 0x320]
push ecx
push eax
lea ecx, [ebx + 0x3c]
call fcn.00402360
push esi
push 0x104
lea eax, [ebp - 0x320]
push eax
push 0x4a59b0
push str.APPStore
push 0x4a619c
call edi
cmp word [ebp - 0x320], 0
jne 0x40b3f4
xor ecx, ecx
jmp 0x40b40f
lea ecx, [ebp - 0x320]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40b400
sub ecx, edx
sar ecx, 1
push ecx
lea ecx, [ebp - 0x320]
push ecx
lea ecx, [ebx + 0xb4]
call fcn.00402360
push esi
push 0x104
lea eax, [ebp - 0x320]
push eax
push 0x4a59b0
push 0x4a6458
push 0x4a619c
call edi
cmp word [ebp - 0x320], 0
jne 0x40b44e
xor ecx, ecx
jmp 0x40b466
lea ecx, [ebp - 0x320]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40b457
sub ecx, edx
sar ecx, 1
push ecx
lea ecx, [ebp - 0x320]
push ecx
lea ecx, [ebx + 0xcc]
call fcn.00402360
push esi
push 0x104
lea eax, [ebp - 0x320]
push eax
push 0x4a59b0
push str.HDSensorsAnalyticsIni
push 0x4a619c
call edi
cmp word [ebp - 0x320], 0
jne 0x40b4a5
xor ecx, ecx
jmp 0x40b4bf
lea ecx, [ebp - 0x320]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40b4b0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x320]
push eax
lea ecx, [ebx + 0x54]
call fcn.00402360
xor eax, eax
mov dword [ebp - 0x388], 7
mov dword [ebp - 0x38c], 0
mov word [ebp - 0x39c], ax
cmp word [ebp - 0x320], ax
jne 0x40b4f9
xor ecx, ecx
jmp 0x40b511
lea ecx, [ebp - 0x320]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40b502
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x320]
push eax
lea ecx, [ebp - 0x39c]
call fcn.00402360
push ecx
lea edx, [ebp - 0x39c]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x3b4]
call fcn.0040d430
add esp, 4
mov edx, eax
mov byte [ebp - 4], 7
cmp dword [edx + 0x14], 0x10
jb 0x40b54b
mov edx, dword [edx]
mov dword [ebp - 0x33c], 0xf
mov dword [ebp - 0x340], 0
mov byte [ebp - 0x350], 0
cmp byte [edx], 0
jne 0x40b56f
xor ecx, ecx
jmp 0x40b57d
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40b574
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x350]
call fcn.00402a10
mov eax, dword [ebp - 0x3a0]
cmp eax, 0x10
jb 0x40b5a8
inc eax
lea ecx, [ebp - 0x3b4]
push eax
push dword [ebp - 0x3b4]
call fcn.004029c0
mov dword [ebp - 0x3a0], 0xf
mov dword [ebp - 0x3a4], 0
mov byte [ebp - 0x3b4], 0
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x388]
cmp eax, 8
jb 0x40b5e5
inc eax
lea ecx, [ebp - 0x39c]
push eax
push dword [ebp - 0x39c]
call fcn.004024c0
xor eax, eax
mov dword [ebp - 0x388], 7
cmp dword [ebp - 0x33c], 0x10
lea esi, [ebp - 0x350]
mov dword [ebp - 0x38c], 0
cmovae esi, dword [ebp - 0x350]
push esi
mov word [ebp - 0x39c], ax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x40b998
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x118]
push esi
push 0x104
push eax
push 0x4a6468
push str.UserVipLevel
push str.Base
call ebx
mov ecx, 0x4a6484
lea eax, [ebp - 0x118]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40b674
test dl, dl
je 0x40b670
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40b674
add eax, 2
add ecx, 2
test dl, dl
jne 0x40b654
xor ecx, ecx
jmp 0x40b679
sbb ecx, ecx
or ecx, 1
xor eax, eax
test ecx, ecx
mov ecx, dword [ebp - 0x384]
push esi
sete al
push 0x104
mov dword [ecx + 0x114], eax
lea eax, [ebp - 0x118]
push eax
push 0x4a5940
push str.AppStore
push str.UninstallInfo
call ebx
cmp byte [ebp - 0x118], 0
mov dword [ebp - 0x36c], 0xf
mov dword [ebp - 0x370], 0
mov byte [ebp - 0x380], 0
jne 0x40b6d2
xor ecx, ecx
jmp 0x40b6e9
lea ecx, [ebp - 0x118]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40b6e0
sub ecx, edx
push ecx
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x380]
call fcn.00402a10
mov eax, dword [ebp - 0x36c]
mov edi, dword [ebp - 0x370]
cmp eax, 0x10
jb 0x40b720
inc eax
lea ecx, [ebp - 0x380]
push eax
push dword [ebp - 0x380]
call fcn.004029c0
test edi, edi
je 0x40b792
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x380]
call fcn.004016e0
push 0xfde9
lea edx, [ebp - 0x380]
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x3cc]
call fcn.0040d2c0
mov ecx, dword [ebp - 0x384]
add esp, 4
push eax
lea ecx, [ecx + 0xb4]
call fcn.00401be0
lea ecx, [ebp - 0x3cc]
call fcn.00402590
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x36c]
cmp eax, 0x10
jb 0x40b792
inc eax
lea ecx, [ebp - 0x380]
push eax
push dword [ebp - 0x380]
call fcn.004029c0
push esi
push 0x104
lea eax, [ebp - 0x118]
push eax
push 0x4a5940
push str.AppName
push str.UninstallInfo
call ebx
cmp byte [ebp - 0x118], 0
mov dword [ebp - 0x36c], 0xf
mov dword [ebp - 0x370], 0
mov byte [ebp - 0x380], 0
jne 0x40b7d8
xor ecx, ecx
jmp 0x40b7ea
lea ecx, [ebp - 0x118]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40b7e1
sub ecx, edx
push ecx
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x380]
call fcn.00402a10
mov eax, dword [ebp - 0x36c]
mov edi, dword [ebp - 0x370]
cmp eax, 0x10
jb 0x40b821
inc eax
lea ecx, [ebp - 0x380]
push eax
push dword [ebp - 0x380]
call fcn.004029c0
test edi, edi
je 0x40b895
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x380]
call fcn.004016e0
push 0xfde9
lea edx, [ebp - 0x380]
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x3cc]
call fcn.0040d2c0
mov edi, dword [ebp - 0x384]
add esp, 4
push eax
lea ecx, [edi + 0xcc]
call fcn.00401be0
lea ecx, [ebp - 0x3cc]
call fcn.00402590
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x36c]
cmp eax, 0x10
jb 0x40b89b
inc eax
lea ecx, [ebp - 0x380]
push eax
push dword [ebp - 0x380]
call fcn.004029c0
jmp 0x40b89b
mov edi, dword [ebp - 0x384]
push esi
push 0x104
lea eax, [ebp - 0x118]
push eax
push 0x4a5940
push str.AppVersion
push str.UninstallInfo
call ebx
cmp byte [ebp - 0x118], 0
mov dword [ebp - 0x36c], 0xf
mov dword [ebp - 0x370], 0
mov byte [ebp - 0x380], 0
jne 0x40b8e1
xor ecx, ecx
jmp 0x40b8f9
lea ecx, [ebp - 0x118]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40b8f0
sub ecx, edx
push ecx
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x380]
call fcn.00402a10
mov eax, dword [ebp - 0x36c]
mov esi, dword [ebp - 0x370]
cmp eax, 0x10
jb 0x40b930
inc eax
lea ecx, [ebp - 0x380]
push eax
push dword [ebp - 0x380]
call fcn.004029c0
test esi, esi
je 0x40b998
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x380]
call fcn.004016e0
push 0xfde9
lea edx, [ebp - 0x380]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x3cc]
call fcn.0040d2c0
add esp, 4
lea ecx, [edi + 0xe4]
push eax
call fcn.00401be0
lea ecx, [ebp - 0x3cc]
call fcn.00402590
mov eax, dword [ebp - 0x36c]
cmp eax, 0x10
jb 0x40b998
inc eax
lea ecx, [ebp - 0x380]
push eax
push dword [ebp - 0x380]
call fcn.004029c0
mov eax, dword [ebp - 0x33c]
cmp eax, 0x10
jb 0x40b9b6
inc eax
lea ecx, [ebp - 0x350]
push eax
push dword [ebp - 0x350]
call fcn.004029c0
mov eax, dword [ebp - 0x324]
cmp eax, 8
jb 0x40b9d4
inc eax
lea ecx, [ebp - 0x338]
push eax
push dword [ebp - 0x338]
call fcn.004024c0
xor eax, eax
mov dword [ebp - 0x324], 7
mov word [ebp - 0x338], ax
mov eax, dword [ebp - 0x354]
mov dword [ebp - 0x328], 0
cmp eax, 8
jb 0x40ba0f
inc eax
lea ecx, [ebp - 0x368]
push eax
push dword [ebp - 0x368]
call fcn.004024c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046756e
mov esp, ebp
pop ebp
ret