Function at 0x10015d00
Capabilities:
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x654]
sub esp, 0x654
push 0xffffffffffffffff
push 0x100376e0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x1004f100]
xor eax, ebp
mov dword [ebp + 0x650], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x65c]
xor ebx, ebx
push 0x206
lea edx, [ebp + 0x242]
xor ecx, ecx
push ebx
mov dword [ebp - 4], ebx
push edx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ebx
mov word [ebp + 0x240], cx
call fcn.100285e0
add esp, 0xc
call fcn.1001f530
push eax
push str._sLckDeskTopPolicyAppList.ini
lea eax, [ebp + 0x240]
push 0x104
push eax
call fcn.10001f00
add esp, 0x10
lea ecx, [ebp + 0x240]
push ecx
push ebx
push str.APPNUM
push str.APPLIST
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
mov dword [ebp - 0x1c], esi
call fcn.1001af90
lea edx, [ebp + 0x240]
push edx
push esi
push str.LoadPolicyApp_Policy_App_Number:_d_:_s
mov ecx, eax
call fcn.1001b3f0
add esp, 0xc
mov esi, 7
xor eax, eax
mov dword [ebp + 0x18], esi
mov dword [ebp + 0x14], ebx
mov word [ebp + 4], ax
mov byte [ebp - 4], 1
mov edi, 1
lea ecx, [ecx]
cmp edi, dword [ebp - 0x1c]
ja 0x10015f71
push 0x206
lea edx, [ebp + 0x3a]
xor ecx, ecx
push ebx
push edx
mov word [ebp + 0x38], cx
call fcn.100285e0
push edi
push str.App_d
lea eax, [ebp + 0x38]
push 0x104
push eax
call fcn.10001f00
push 0x206
lea edx, [ebp + 0x44a]
xor ecx, ecx
push ebx
push edx
mov word [ebp + 0x448], cx
call fcn.100285e0
add esp, 0x28
lea eax, [ebp + 0x240]
push eax
push 0x104
lea ecx, [ebp + 0x448]
push ecx
push 0x10045d38
lea edx, [ebp + 0x38]
push edx
push str.APPLIST
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp eax, ebx
jne 0x10015e7c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
call fcn.1001af90
lea ecx, [ebp + 0x38]
push ecx
push str.LoadPolicyApp_Get_Item:_s_Failed
mov ecx, eax
call fcn.1001b4f0
add esp, 8
lea edx, [ebp + 0x448]
push 0x104
push edx
call fcn.100274cb
add esp, 8
xor eax, eax
mov word [ebp + 0x20], ax
lea eax, [ebp + 0x448]
mov dword [ebp + 0x34], esi
mov dword [ebp + 0x30], ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10015ea5
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp + 0x448]
push ecx
lea ecx, [ebp + 0x1c]
call fcn.10001a60
mov byte [ebp - 4], 2
cmp word [ebp + 0x448], 0x2a
jne 0x10015f04
cmp word [ebp + 0x44a], 0x5c
jne 0x10015f04
lea eax, [ebp + 0x44c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10015ee5
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp + 0x44c]
push edx
lea ecx, [ebp + 0x1c]
call fcn.10001a60
mov edx, dword [ebp - 0x18]
lea eax, [ebp + 0x1c]
call fcn.1000edc0
cmp eax, ebx
jne 0x10015f36
push ebx
lea eax, [ebp + 0x1c]
push eax
or eax, 0xffffffff
lea esi, [ebp]
call fcn.10005790
push 1
push 0x1003fdd0
mov eax, esi
call fcn.10005480
mov esi, 7
mov edx, dword [ebp - 0x18]
lea ecx, [ebp + 0x1c]
push ecx
push edx
call fcn.1000eb00
mov dword [eax], 1
mov byte [ebp - 4], 1
cmp dword [ebp + 0x34], 8
jb 0x10015f5f
mov eax, dword [ebp + 0x20]
push eax
call fcn.100269ba
add esp, 4
xor ecx, ecx
mov dword [ebp + 0x34], esi
mov dword [ebp + 0x30], ebx
mov word [ebp + 0x20], cx
inc edi
jmp 0x10015de0
cmp dword [ebp + 0x18], 8
mov edi, dword [ebp + 4]
jae 0x10015f7d
lea edi, [ebp + 4]
mov edx, dword [ebp - 0x18]
mov esi, dword [edx + 0x1c]
call fcn.1001af90
mov ecx, dword [ebp - 0x1c]
push edi
push esi
push ecx
push str.LoadPolicyApp_Count:_d__Apps:_d__s
mov ecx, eax
call fcn.1001b3f0
add esp, 0x10
cmp dword [ebp + 0x18], 8
jb 0x10015faf
mov edx, dword [ebp + 4]
push edx
call fcn.100269ba
add esp, 4
xor eax, eax
mov dword [ebp + 0x18], 7
mov dword [ebp + 0x14], ebx
mov word [ebp + 4], ax
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x14]
push esi
push str.LoadPolicyApp_Rlt:_08x
call fcn.1001af90
mov ecx, eax
call fcn.1001b3f0
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x650]
xor ecx, ebp
call fcn.100269c5
add ebp, 0x654
mov esp, ebp
pop ebp
ret