Function at 0x1006f5a0
Capabilities:
Read .ini file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100743fc
mov eax, dword fs:[0]
push eax
mov eax, 0x2164
call fcn.10072440
mov eax, dword [0x1007b958]
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 edi, ecx
mov dword [ebp - 0x215c], edi
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x2170]
call dword [sym.imp.MSDATL3.dll_public:_void___thiscall_CWString::constructor_void_]
lea eax, [ebp - 0x2160]
mov dword [ebp - 4], 0
push eax
push SysReAllocString
push ecx
lea edx, [ebp - 0x218]
mov ecx, esi
call fcn.1006f050
mov ebx, eax
add esp, 0xc
test ebx, ebx
js 0x1006f6e8
xor esi, esi
cmp dword [ebp - 0x2160], esi
je 0x1006f714
jmp 0x1006f630
mov eax, dword [esi + 0x1007b7b0]
mov dword [ebp - 0x2160], eax
test eax, eax
jne 0x1006f650
mov ecx, edi
call fcn.100714f0
test ax, ax
je 0x1006f6dc
lea eax, [ebp - 0x218]
push eax
push 0x7d0
lea eax, [ebp - 0x11b8]
push eax
push 0x10015e50
push dword [esi + 0x1007b7b4]
push 0x10015db8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp eax, 0x12
jne 0x1006f6bf
mov ecx, 0x10015e50
lea eax, [ebp - 0x11b8]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1006f6b6
test dx, dx
je 0x1006f6b2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1006f6b6
add eax, 4
add ecx, 4
test dx, dx
jne 0x1006f690
xor eax, eax
jmp 0x1006f6bb
sbb eax, eax
or eax, 1
test eax, eax
je 0x1006f6dc
lea eax, [ebp - 0x11b8]
mov ecx, edi
push eax
push dword [ebp - 0x2160]
push 0
call dword [sym.imp.MSDATL3.dll_public_virtual:_long_int___thiscall_CUtlProps2::SetValString_unsigned_long_int__unsigned_long_int__unsigned_short_int_const__]
mov ebx, eax
test ebx, ebx
js 0x1006f6e8
add esi, 8
cmp esi, 0x50
jb 0x1006f630
lea ecx, [ebp - 0x2170]
call dword [sym.imp.MSDATL3.dll_public:_void___thiscall_CWString::destructor_void_]
mov eax, ebx
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.10071b90
mov esp, ebp
pop ebp
ret 4
mov edx, dword [esi + 0x1007b800]
lea eax, [ebp - 0x2160]
mov edi, dword [esi + 0x1007b808]
push eax
push ecx
lea eax, [ebp - 0x11b8]
push eax
push dword [esi + 0x1007b804]
lea ecx, [ebp - 0x218]
call fcn.1006f4e0
mov ebx, eax
add esp, 0x10
test ebx, ebx
js 0x1006f6e8
je 0x1006f769
mov eax, dword [ebp - 0x215c]
lea ecx, [edi + edi*4]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + 8]
lea eax, [eax + ecx*8]
add eax, 0x18
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x1006f789
mov ecx, dword [ebp - 0x215c]
lea eax, [ebp - 0x11b8]
push eax
push edi
push 0
call dword [sym.imp.MSDATL3.dll_public_virtual:_long_int___thiscall_CUtlProps2::SetValString_unsigned_long_int__unsigned_long_int__unsigned_short_int_const__]
mov edi, eax
test edi, edi
js 0x1006f965
add esi, 0xc
cmp esi, 0x78
jb 0x1006f714
xor esi, esi
mov edi, dword [esi + 0x1007b780]
lea eax, [ebp - 0x2160]
push eax
push ecx
lea eax, [ebp - 0x11b8]
mov edx, 0x10015e90
push eax
push dword [esi + 0x1007b788]
lea ecx, [ebp - 0x218]
call fcn.1006f4e0
mov ebx, eax
add esp, 0x10
test ebx, ebx
js 0x1006f6e8
je 0x1006f7f1
mov eax, dword [ebp - 0x215c]
lea ecx, [edi + edi*4]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + 8]
lea eax, [eax + ecx*8]
add eax, 0x18
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov edi, dword [ebp - 0x215c]
jmp 0x1006f813
lea eax, [ebp - 0x11b8]
push eax
push edi
mov edi, dword [ebp - 0x215c]
mov ecx, edi
push 0
call dword [sym.imp.MSDATL3.dll_public_virtual:_long_int___thiscall_CUtlProps2::SetValString_unsigned_long_int__unsigned_long_int__unsigned_short_int_const__]
mov ebx, eax
test ebx, ebx
js 0x1006f6e8
add esi, 0x10
cmp esi, 0x30
jb 0x1006f793
lea eax, [ebp - 0x215c]
mov edx, 0x10015e90
push eax
push ecx
lea eax, [ebp - 0x2158]
push eax
push 0
lea ecx, [ebp - 0x218]
call fcn.1002c0c2
mov ebx, eax
add esp, 0x10
test ebx, ebx
js 0x1006f6e8
jne 0x1006f931
mov eax, dword [ebp - 0x215c]
lea esi, [ebp - 0x2158]
mov ecx, esi
lea eax, [ecx + eax*2]
mov dword [ebp - 0x215c], eax
cmp ecx, eax
jae 0x1006f931
cmp word [esi], 0
je 0x1006f931
push 0x3b
push esi
call dword [sym.imp.msvcrt.dll_wcschr]
add esp, 8
xor ecx, ecx
mov edx, 0x10015e90
mov word [eax], cx
lea eax, [ebp - 0x2160]
push eax
push ecx
lea eax, [ebp - 0x11b8]
push eax
push esi
lea ecx, [ebp - 0x218]
call fcn.1006f4e0
mov ebx, eax
add esp, 0x10
test ebx, ebx
js 0x1006f6e8
cmp dword [ebp - 0x2160], 0x7d0
jb 0x1006f8cf
xor eax, eax
mov word [ebp - 0x21a], ax
push esi
lea ecx, [ebp - 0x2170]
call dword [0x1008122c]
push 0x3d
lea ecx, [ebp - 0x2170]
call dword [sym.imp.MSDATL3.dll_public:_class_CWString_const____thiscall_CWString::operator_unsigned_short_int_]
lea eax, [ebp - 0x11b8]
push eax
lea ecx, [ebp - 0x2170]
call dword [0x1008122c]
push 0x3b
lea ecx, [ebp - 0x2170]
call dword [sym.imp.MSDATL3.dll_public:_class_CWString_const____thiscall_CWString::operator_unsigned_short_int_]
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1006f910
sub ecx, edx
sar ecx, 1
lea esi, [esi + ecx*2]
add esi, 2
cmp esi, dword [ebp - 0x215c]
jb 0x1006f872
cmp byte [ebp - 0x2164], 0
je 0x1006f944
mov ebx, 0x8007000e
jmp 0x1006f6e8
push dword [ebp - 0x2170]
mov ecx, edi
push 9
push 0
call dword [sym.imp.MSDATL3.dll_public_virtual:_long_int___thiscall_CUtlProps2::SetValString_unsigned_long_int__unsigned_long_int__unsigned_short_int_const__]
xor ebx, ebx
test eax, eax
setns bl
dec ebx
and ebx, eax
jmp 0x1006f6e8
lea ecx, [ebp - 0x2170]
call dword [sym.imp.MSDATL3.dll_public:_void___thiscall_CWString::destructor_void_]
mov eax, edi
jmp 0x1006f6f6