Function at 0x40100f
Capabilities:
Get user security identifier
Read .ini file

Disassembly:
jmp 0x401280
sub esp, 0x15c
push ebx
push ebp
push esi
push edi
push str.net_share_ENG__del
call fcn.00401617
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x6d]
mov byte [esp + 0x6c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
add esp, 4
mov ebx, 0x10
stosb byte es:[edi], al
push str.macsvi.ini
lea eax, [esp + 0x6c]
push 0x104
push eax
push str.Chinese
push str.INSTALLPATH
push str.Common
mov dword [esp + 0x28], ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edi, 0x40aa9c
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x68]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x60
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
push eax
and ecx, 3
mov dword [esp + 0x1c], 0x60
rep movsb byte es:[edi], byte [esi]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebp, eax
test ebp, ebp
je 0x401493
lea eax, [esp + 0x18]
mov esi, dword [sym.imp.ADVAPI32.dll_LookupAccountNameA]
lea ecx, [esp + 0x10]
push eax
lea edx, [esp + 0x5c]
push ecx
lea eax, [esp + 0x1c]
push edx
push eax
push ebp
push 0x40a98c
push 0
call esi
test eax, eax
jne 0x401393
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x401393
mov ecx, dword [esp + 0x14]
push ecx
push ebp
push 0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov ebp, eax
lea edx, [esp + 0x18]
lea eax, [esp + 0x10]
push edx
lea ecx, [esp + 0x5c]
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
push ebp
push 0x40a98c
push 0
mov dword [esp + 0x2c], ebx
call esi
push 0
push 0
lea eax, [esp + 0x70]
push 0xffffffffffffffff
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, eax
lea edi, [esi + esi + 2]
push edi
call fcn.004016b8
mov ecx, edi
mov ebx, eax
mov edx, ecx
xor eax, eax
mov edi, ebx
add esp, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push esi
and ecx, 3
push ebx
rep stosb byte es:[edi], al
lea eax, [esp + 0x70]
push 0xffffffffffffffff
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push ebp
call dword [sym.imp.ADVAPI32.dll_GetLengthSid]
mov esi, eax
add esi, 0x10
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
je 0x401493
push 2
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_InitializeAcl]
push ebp
push 0x10000000
push 2
push edi
call dword [sym.imp.ADVAPI32.dll_AddAccessAllowedAce]
lea ecx, [esp + 0x44]
push 1
push ecx
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
xor esi, esi
lea edx, [esp + 0x44]
push esi
push edi
push 1
push edx
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
lea ecx, [esp + 0x1c]
push esi
push ecx
lea eax, [esp + 0x4c]
push 0x1f6
push esi
mov dword [esp + 0x2c], 0x40aa90
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0x38], 0x7f
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], eax
call sub.NETAPI32.dll_NetShareAdd
cmp ebx, esi
je 0x401493
push ebx
call fcn.004016ad
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x15c
ret