Function at 0x1006fac0
Capabilities:
Read .ini file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10074cfc
mov eax, dword fs:[0]
push eax
mov eax, 0x2164
call fcn.100729f0
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.1006f520
mov ebx, eax
add esp, 0xc
test ebx, ebx
js 0x1006fc08
xor esi, esi
cmp dword [ebp - 0x2160], esi
je 0x1006fc34
jmp 0x1006fb50
mov eax, dword [esi + 0x1007b7b0]
mov dword [ebp - 0x2160], eax
test eax, eax
jne 0x1006fb70
mov ecx, edi
call fcn.10071a20
test ax, ax
je 0x1006fbfc
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 0x1006fbdf
mov ecx, 0x10015e50
lea eax, [ebp - 0x11b8]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1006fbd6
test dx, dx
je 0x1006fbd2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1006fbd6
add eax, 4
add ecx, 4
test dx, dx
jne 0x1006fbb0
xor eax, eax
jmp 0x1006fbdb
sbb eax, eax
or eax, 1
test eax, eax
je 0x1006fbfc
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 0x1006fc08
add esi, 8
cmp esi, 0x50
jb 0x1006fb50
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.100720f0
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.1006f9d0
mov ebx, eax
add esp, 0x10
test ebx, ebx
js 0x1006fc08
je 0x1006fc89
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 0x1006fca9
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 0x1006fe85
add esi, 0xc
cmp esi, 0x78
jb 0x1006fc34
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.1006f9d0
mov ebx, eax
add esp, 0x10
test ebx, ebx
js 0x1006fc08
je 0x1006fd11
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 0x1006fd33
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 0x1006fc08
add esi, 0x10
cmp esi, 0x30
jb 0x1006fcb3
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.1006f9d0
mov ebx, eax
add esp, 0x10
test ebx, ebx
js 0x1006fc08
jne 0x1006fe51
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 0x1006fe51
cmp word [esi], 0
je 0x1006fe51
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.1006f9d0
mov ebx, eax
add esp, 0x10
test ebx, ebx
js 0x1006fc08
cmp dword [ebp - 0x2160], 0x7d0
jb 0x1006fdef
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 0x1006fe30
sub ecx, edx
sar ecx, 1
lea esi, [esi + ecx*2]
add esi, 2
cmp esi, dword [ebp - 0x215c]
jb 0x1006fd92
cmp byte [ebp - 0x2164], 0
je 0x1006fe64
mov ebx, 0x8007000e
jmp 0x1006fc08
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 0x1006fc08
lea ecx, [ebp - 0x2170]
call dword [sym.imp.MSDATL3.dll_public:_void___thiscall_CWString::destructor_void_]
mov eax, edi
jmp 0x1006fc16