Function at 0x1006f460
Capabilities:
Read .ini file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10073d1c
mov eax, dword fs:[0]
push eax
mov eax, 0x2168
call fcn.100722e0
mov eax, dword [0x10079914]
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 - 0x2160], edi
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x2174]
call dword [sym.imp.MSDATL3.dll_public:_void___thiscall_CWString::constructor_void_]
lea eax, [ebp - 0x2164]
mov dword [ebp - 4], 0
push eax
push SQLBindCol
push ecx
lea edx, [ebp - 0x218]
mov ecx, esi
call fcn.1006f190
mov ebx, eax
add esp, 0xc
test ebx, ebx
js 0x1006f5a8
xor esi, esi
cmp dword [ebp - 0x2164], esi
je 0x1006f5e0
jmp 0x1006f4f0
mov eax, dword [esi + 0x10079770]
mov dword [ebp - 0x2164], eax
test eax, eax
jne 0x1006f510
mov ecx, edi
call fcn.10071300
test ax, ax
je 0x1006f59c
lea eax, [ebp - 0x218]
push eax
push 0x7d0
lea eax, [ebp - 0x11bc]
push eax
push 0x10015d50
push dword [esi + 0x10079774]
push 0x10015cbc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp eax, 0x12
jne 0x1006f57f
mov ecx, 0x10015d50
lea eax, [ebp - 0x11bc]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1006f576
test dx, dx
je 0x1006f572
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1006f576
add eax, 4
add ecx, 4
test dx, dx
jne 0x1006f550
xor eax, eax
jmp 0x1006f57b
sbb eax, eax
or eax, 1
test eax, eax
je 0x1006f59c
lea eax, [ebp - 0x11bc]
mov ecx, edi
push eax
push dword [ebp - 0x2164]
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 0x1006f5a8
add esi, 8
cmp esi, 0x50
jb 0x1006f4f0
lea ecx, [ebp - 0x2174]
mov dword [ebp - 4], 0xffffffff
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.10071a90
mov esp, ebp
pop ebp
ret 4
mov edx, dword [esi + 0x100797c0]
lea eax, [ebp - 0x2164]
mov edi, dword [esi + 0x100797c8]
push eax
push ecx
lea eax, [ebp - 0x11bc]
push eax
push dword [esi + 0x100797c4]
lea ecx, [ebp - 0x218]
call fcn.1006f370
mov ebx, eax
add esp, 0x10
test ebx, ebx
js 0x1006f5a8
je 0x1006f635
mov eax, dword [ebp - 0x2160]
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 0x1006f655
mov ecx, dword [ebp - 0x2160]
lea eax, [ebp - 0x11bc]
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 0x1006f835
add esi, 0xc
cmp esi, 0x78
jb 0x1006f5e0
xor esi, esi
nop
mov edi, dword [esi + 0x10079740]
lea eax, [ebp - 0x2164]
push eax
push ecx
lea eax, [ebp - 0x11bc]
mov edx, 0x10015d90
push eax
push dword [esi + 0x10079748]
lea ecx, [ebp - 0x218]
call fcn.1006f370
mov ebx, eax
add esp, 0x10
test ebx, ebx
js 0x1006f5a8
je 0x1006f6be
mov eax, dword [ebp - 0x2160]
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 - 0x2160]
jmp 0x1006f6e0
lea eax, [ebp - 0x11bc]
push eax
push edi
mov edi, dword [ebp - 0x2160]
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 0x1006f5a8
add esi, 0x10
cmp esi, 0x30
jb 0x1006f660
lea eax, [ebp - 0x2160]
mov edx, 0x10015d90
push eax
push ecx
lea eax, [ebp - 0x215c]
push eax
push 0
lea ecx, [ebp - 0x218]
call fcn.1006f370
mov ebx, eax
add esp, 0x10
test ebx, ebx
js 0x1006f5a8
jne 0x1006f801
mov eax, dword [ebp - 0x2160]
lea esi, [ebp - 0x215c]
mov ecx, esi
lea eax, [ecx + eax*2]
mov dword [ebp - 0x2160], eax
cmp ecx, eax
jae 0x1006f801
nop
cmp word [esi], 0
je 0x1006f801
push 0x3b
push esi
call dword [sym.imp.msvcrt.dll_wcschr]
add esp, 8
xor ecx, ecx
mov edx, 0x10015d90
mov word [eax], cx
lea eax, [ebp - 0x2164]
push eax
push ecx
lea eax, [ebp - 0x11bc]
push eax
push esi
lea ecx, [ebp - 0x218]
call fcn.1006f370
mov ebx, eax
add esp, 0x10
test ebx, ebx
js 0x1006f5a8
cmp dword [ebp - 0x2164], 0x7d0
jb 0x1006f79d
xor eax, eax
mov word [ebp - 0x21e], ax
push esi
lea ecx, [ebp - 0x2174]
call dword [sym.imp.MSDATL3.dll_public:_class_CWString_const____thiscall_CWString::operator_unsigned_short_int_const__]
push 0x3d
lea ecx, [ebp - 0x2174]
call dword [sym.imp.MSDATL3.dll_public:_class_CWString_const____thiscall_CWString::operator_unsigned_short_int_]
lea eax, [ebp - 0x11bc]
push eax
lea ecx, [ebp - 0x2174]
call dword [sym.imp.MSDATL3.dll_public:_class_CWString_const____thiscall_CWString::operator_unsigned_short_int_const__]
push 0x3b
lea ecx, [ebp - 0x2174]
call dword [sym.imp.MSDATL3.dll_public:_class_CWString_const____thiscall_CWString::operator_unsigned_short_int_]
mov ecx, esi
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1006f7e0
sub ecx, edx
sar ecx, 1
lea esi, [esi + ecx*2]
add esi, 2
cmp esi, dword [ebp - 0x2160]
jb 0x1006f740
cmp byte [ebp - 0x2168], 0
je 0x1006f814
mov ebx, 0x8007000e
jmp 0x1006f5a8
push dword [ebp - 0x2174]
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 0x1006f5a8
lea ecx, [ebp - 0x2174]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.MSDATL3.dll_public:_void___thiscall_CWString::destructor_void_]
mov eax, edi
jmp 0x1006f5bd