Function at 0x4db970
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a8d0b
mov eax, dword fs:[0]
push eax
sub esp, 0xa84
mov eax, dword [0x608554]
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, dword [ebp + 8]
push ecx
push str.CBaseInfoCtrl::GetDeleteStringfromIni
lea ecx, [ebp - 0xa90]
call fcn.0040a480
mov dword [ebp - 4], 0
mov esi, dword [0x608f30]
cmp esi, 0x608f30
je 0x4db9ff
test byte [esi + 0x1c], 1
je 0x4db9ff
cmp dword [0x608f68], 8
mov eax, 0x608f54
mov edx, 0x5d8b60
mov ecx, 0x2d
cmovae eax, dword [0x608f54]
push eax
push dword [esi + 0x14]
push dword [esi + 0x10]
call fcn.00401840
mov esi, dword [0x608f30]
add esp, 0xc
push 0x208
lea eax, [ebp - 0x258]
push 0
push eax
call fcn.00571c00
push 0x800
lea eax, [ebp - 0xa58]
push 0
push eax
call fcn.00571c00
push 0x40
lea eax, [ebp - 0x50]
push 0
push eax
call fcn.00571c00
add esp, 0x24
test edi, edi
jne 0x4dba80
mov byte [ebp - 0xa8c], 1
cmp esi, 0x608f30
je 0x4dba79
test byte [esi + 0x1c], 1
je 0x4dba79
cmp dword [0x608f68], 8
lea ecx, [edi + 0x2e]
mov eax, 0x608f54
mov edx, 0x5d8b60
cmovae eax, dword [0x608f54]
push edi
push eax
push dword [esi + 0x14]
push dword [esi + 0x10]
call fcn.004018a0
add esp, 0x10
xor esi, esi
jmp 0x4dbc39
push 0xffffffffffffffff
push 0
mov ecx, edi
call fcn.0055b63e
mov ecx, dword [0x6184f0]
lea eax, [ebp - 0xa58]
push eax
push str.TEMPPATH
mov ecx, dword [ecx + 0x1c]
call fcn.004f65f0
lea eax, [ebp - 0xa58]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push str.InsDrv.ini
lea eax, [ebp - 0xa58]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0xa58]
push eax
push 0
push str.DelNum
push str.DefaultShareNameEditStr
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, eax
cmp ebx, 0x20
jbe 0x4dbaeb
mov ebx, 0x20
jmp 0x4dbaf3
test ebx, ebx
je 0x4dbbad
xor esi, esi
test ebx, ebx
jle 0x4dbbee
nop dword [eax]
inc esi
lea eax, [ebp - 0x50]
push esi
push str.DelStr_
push 0x5d945c
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0xa58]
push eax
push 0x104
lea eax, [ebp - 0x258]
push eax
push 0x5c6930
lea eax, [ebp - 0x50]
push eax
push str.DefaultShareNameEditStr
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
dec eax
cmp eax, 0x1f
ja 0x4dbb59
lea eax, [ebp - 0x258]
mov ecx, edi
push eax
push dword [edi + 8]
call fcn.0055b606
jmp 0x4dbb9d
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x4dbba3
test byte [ecx + 0x1c], 4
je 0x4dbba3
cmp dword [0x608f68], 8
lea edx, [ebp - 0x50]
push edx
mov eax, 0x608f54
mov edx, 0x5d8b60
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x2f
call fcn.00405920
add esp, 0x10
mov ecx, dword [0x608f30]
cmp esi, ebx
jl 0x4dbb00
jmp 0x4dbbf4
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x4dbbf4
test byte [ecx + 0x1c], 4
je 0x4dbbf4
cmp dword [0x608f68], 8
mov eax, 0x608f54
push ebx
cmovae eax, dword [0x608f54]
mov edx, 0x5d8b60
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x30
call fcn.004018a0
add esp, 0x10
mov ecx, dword [0x608f30]
mov esi, dword [edi + 8]
mov byte [ebp - 0xa8c], 1
cmp ecx, 0x608f30
je 0x4dbc39
test byte [ecx + 0x1c], 1
je 0x4dbc39
cmp dword [0x608f68], 8
mov eax, 0x608f54
push esi
cmovae eax, dword [0x608f54]
mov edx, 0x5d8b60
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x31
call fcn.004018a0
add esp, 0x10
lea ecx, [ebp - 0xa90]
call fcn.0040a570
mov eax, esi
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.0056d977
mov esp, ebp
pop ebp
ret 4