Function at 0x10010ff0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x1008be58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
mov al, byte [0x100aba18]
push esi
mov esi, ecx
push edi
mov byte [esp + 0x30], al
mov ecx, 0x13
xor eax, eax
lea edi, [esp + 0x31]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x90]
mov edx, dword [str.LegacyPortNoOffset__d_]
stosw word es:[edi], ax
stosb byte es:[edi], al
push ecx
push edx
lea eax, [esp + 0x38]
push 0x50
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x10
test eax, eax
jge 0x1001109e
lea ecx, [esp + 8]
mov dword [esp + 8], 0xfe
push ecx
push str.F:SCVICELIBIceProviderIceComObjectManager.h
lea ecx, [esp + 0x18]
call fcn.10038570
push 0x100a45dc
push 1
push eax
mov dword [esp + 0x94], 0
call fcn.100386d0
add esp, 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x88], 0xffffffff
call fcn.100385c0
mov eax, dword [esp + 0x98]
jmp 0x10011227
mov eax, dword [esi + 0x38]
test eax, eax
mov dword [esp + 0xc], eax
jne 0x100110ff
lea edx, [esp + 8]
lea ecx, [esp + 0x10]
push edx
push str.F:SCVICELIBIceProviderIceComObjectManager.h
mov dword [esp + 0x10], 0x103
call fcn.10038570
push 0x100a45d0
push 1
push eax
mov dword [esp + 0x94], 1
call fcn.100386d0
add esp, 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x88], 0xffffffff
call fcn.100385c0
mov eax, dword [esp + 0x98]
jmp 0x10011227
mov edi, dword [esp + 0x94]
or ecx, 0xffffffff
xor eax, eax
push ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [esp + 0x34]
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ebp
mov ebp, dword [str.PhysicalSession]
lea eax, [edx + ecx + 2]
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x1001118f
lea eax, [esp + 0x14]
lea ecx, [esp + 0x28]
push eax
push str.F:SCVICELIBIceProviderIceComObjectManager.h
mov dword [esp + 0x1c], 0x8c
call fcn.10038570
push str.new
push 1
push eax
mov dword [esp + 0x9c], 2
call fcn.100386d0
add esp, 0xc
lea ecx, [esp + 0x28]
mov dword [esp + 0x90], 0xffffffff
call fcn.100385c0
mov esi, dword [esp + 0xa0]
jmp 0x10011223
or ecx, 0xffffffff
lea edi, [esp + 0x38]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
shr ecx, 2
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [0x100a3a98]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x9c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x14]
mov ecx, edx
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0xa4]
push ecx
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push ebx
mov esi, eax
call fcn.10088e50
add esp, 4
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x80]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x84
ret 0xc