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

Disassembly:
push ebp
sub esp, 0x240
lea ebp, [esp - 4]
mov eax, dword [0x10139d20]
xor eax, ebp
mov dword [ebp + 0x240], eax
push 0x2c
mov eax, 0x100eb1ca
call fcn.100773f7
mov edi, ecx
call fcn.100058ef
mov ecx, eax
call fcn.10017c05
push eax
lea ecx, [ebp + 0x1c]
call fcn.10001df0
and dword [ebp - 4], 0
push str.PhoneAssist_
lea ecx, [ebp + 0x1c]
call fcn.10003cf0
mov eax, dword [ebp + 0x20]
push 8
pop ebx
cmp dword [ebp + 0x34], ebx
jae 0x100403a4
lea eax, [ebp + 0x20]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call esi
test eax, eax
jne 0x100403c3
cmp dword [ebp + 0x34], ebx
mov eax, dword [ebp + 0x20]
jae 0x100403bc
lea eax, [ebp + 0x20]
push eax
call fcn.10019493
pop ecx
lea eax, [ebp + 0x1c]
push eax
lea ecx, [ebp]
call fcn.10003c90
push str.download_
lea ecx, [ebp]
mov byte [ebp - 4], 1
call fcn.10003cf0
cmp dword [ebp + 0x18], ebx
mov eax, dword [ebp + 4]
jae 0x100403eb
lea eax, [ebp + 4]
push eax
call esi
test eax, eax
jne 0x10040404
cmp dword [ebp + 0x18], ebx
mov eax, dword [ebp + 4]
jae 0x100403fd
lea eax, [ebp + 4]
push eax
call fcn.10019493
pop ecx
push str.PhoneAssistConfig.ini
lea ecx, [ebp + 0x1c]
call fcn.10003cf0
cmp dword [ebp + 0x34], ebx
mov eax, dword [ebp + 0x20]
jae 0x1004041c
lea eax, [ebp + 0x20]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push 0
push str.PopMode
mov esi, 0x100fcb94
push esi
call ebx
test eax, eax
mov dword [edi + 0x2d8], eax
je 0x100404cf
cmp eax, 1
jne 0x100404db
lea eax, [ebp - 0x14]
push eax
call fcn.1007a5a6
and word [ebp + 0x38], 0
mov dword [esp], 0x206
lea eax, [ebp + 0x3a]
push 0
push eax
call fcn.10077be0
mov ecx, dword [ebp + 0x20]
add esp, 0xc
cmp dword [ebp + 0x34], 8
jae 0x10040478
lea ecx, [ebp + 0x20]
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
jae 0x10040484
lea eax, [ebp + 4]
push ecx
push 0x104
lea ecx, [ebp + 0x38]
push ecx
push eax
push str.LastPopData
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp + 0x38]
push eax
call fcn.10077d31
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
pop ecx
mov ecx, dword [ebp - 0x10]
sbb ecx, edx
test ecx, ecx
jg 0x100404cf
jl 0x100404c0
cmp eax, 0x93a80
ja 0x100404cf
cmp dword [ebp - 0x10], edx
jl 0x100404cf
jg 0x100404db
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x14], eax
jae 0x100404db
mov dword [edi + 0xb7c], 1
jmp 0x100404e2
and dword [edi + 0xb7c], 0
cmp dword [ebp + 0x34], 8
mov eax, dword [ebp + 0x20]
jae 0x100404ee
lea eax, [ebp + 0x20]
push eax
push 1
push str.RelatedAPK
push esi
call ebx
cmp dword [ebp + 0x34], 8
mov dword [edi + 0x2e0], eax
mov eax, dword [ebp + 0x20]
jae 0x1004050b
lea eax, [ebp + 0x20]
push eax
push 0
push str.InstPos
push esi
call ebx
cmp dword [ebp + 0x34], 8
mov dword [edi + 0x2dc], eax
mov eax, dword [ebp + 0x20]
jae 0x10040528
lea eax, [ebp + 0x20]
push eax
push 1
push str.DeleteApk
push esi
call ebx
cmp dword [ebp + 0x34], 8
mov ecx, dword [ebp + 0x20]
mov dword [edi + 0x2e4], eax
jae 0x10040545
lea ecx, [ebp + 0x20]
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
jae 0x10040551
lea eax, [ebp + 4]
push ecx
push 0x104
lea ebx, [edi + 0x2e8]
push ebx
push eax
push 0x100fcb24
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea esi, [edi + 0x564]
xor edi, edi
cmp dword [esi], edi
je 0x10040597
push ebx
lea ecx, [ebp - 0x38]
call fcn.10001df0
mov ecx, dword [esi]
push eax
mov byte [ebp - 4], 2
call fcn.100432b5
push edi
push 1
lea ecx, [ebp - 0x38]
call fcn.10001fc0
push edi
push 1
lea ecx, [ebp]
call fcn.10001fc0
push edi
push 1
lea ecx, [ebp + 0x1c]
call fcn.10001fc0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x240]
xor ecx, ebp
call fcn.100773e8
add ebp, 0x244
leave
ret