Function at 0x428660
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, ecx
push 0x404
lea esi, [ebx + 0x430]
push 0
push esi
mov dword [ebp - 4], ebx
call sub.MSVCR100.dll_memset
xor eax, eax
mov dword [ebx + 0x834], eax
mov dword [ebx + 0x838], eax
mov dword [ebx + 0x83c], eax
push 0x1014
mov dword [ebx + 0x840], eax
lea eax, [ebx + 0x1844]
push 0
push eax
call sub.MSVCR100.dll_memset
push 0x1000
lea eax, [ebx + 0x844]
push 0
push eax
call sub.MSVCR100.dll_memset
mov eax, dword [ebp + 8]
lea edi, [ebx + 0x434]
add esp, 0x24
mov dword [esi], eax
test edi, edi
jne 0x4286d7
call dword [sym.imp.MSVCR100.dll_abort]
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x4286e4
call dword [sym.imp.MSVCR100.dll_abort]
mov eax, edi
lea edx, [eax + 0x3ff]
cmp eax, edx
jae 0x428700
sub esi, edi
mov cl, byte [esi + eax]
test cl, cl
je 0x428700
mov byte [eax], cl
inc eax
cmp eax, edx
jb 0x4286f2
mov esi, dword [ebp + 0x10]
push 0
push esi
mov ecx, str.debug
mov byte [eax], 0
call fcn.004fd0e0
push 1
push esi
mov ecx, str.requestloglevel
mov dword [ebx + 0x1844], eax
call fcn.004fd0e0
push 1
push esi
mov ecx, str.resultloglevel
mov dword [ebx + 0x1848], eax
call fcn.004fd0e0
push 0
push esi
mov ecx, str.filteredsearch
mov dword [ebx + 0x184c], eax
call fcn.004fd0e0
push 1
push esi
mov ecx, str.continueguard
mov dword [ebx + 0x1854], eax
call fcn.004fd0e0
push 0x1e
push esi
mov ecx, str.maxhits
mov dword [ebx + 0x285c], eax
call fcn.004fd0e0
push 0x2710
push esi
mov ecx, str.maxcap
mov dword [ebx + 0x2860], eax
call fcn.004fd0e0
push 0x2710
push esi
mov ecx, str.maxskip
mov dword [ebx + 0x2864], eax
call fcn.004fd0e0
push 0
push esi
mov ecx, str.hidefailures
mov dword [ebx + 0x2868], eax
call fcn.004fd0e0
push 0
push esi
mov ecx, str.payloadfallback
mov dword [ebx + 0x286c], eax
call fcn.004fd0e0
push 0x5bc564
push 0x400
push esi
lea ecx, [ebx + 0x844]
mov edx, str.request
mov dword [ebx + 0x2870], eax
mov dword [ebx + 0x2858], edi
call fcn.004fd410
push str.cache1
push 0x400
lea ecx, [ebx + 0xc44]
push esi
mov edx, str.cache
call fcn.004fd410
push str.stat1
push 0x400
lea ecx, [ebx + 0x1044]
push esi
mov edx, str.stat
call fcn.004fd410
push str.log1
push 0x400
lea ecx, [ebx + 0x1444]
push esi
mov edx, 0x5c77dc
call fcn.004fd410
lea esi, [ebx + 0x1858]
mov dword [ebp + 8], esi
push 0x400
mov eax, esi
call fcn.00508eb0
add esp, 4
test esi, esi
je 0x428881
cmp byte [esi], 0
je 0x428881
mov edi, 0x5cc7f4
mov ebx, esi
call fcn.004015d0
test eax, eax
jne 0x42887e
push 0x400
mov ebx, edi
mov eax, esi
call fcn.00401570
add esp, 4
mov ebx, dword [ebp - 4]
push esi
lea edi, [ebx + 0x1c58]
push str._sserver.ini
mov esi, 0x400
call fcn.00401880
mov ecx, dword [ebp + 8]
push ecx
lea edi, [ebx + 0x2058]
push str._sdatabase.ini
mov dword [ebp + 0xc], edi
call fcn.00401880
add esp, 0x10
lea eax, [ebx + 0x1c58]
push eax
push 0x400
lea esi, [ebx + 0x2458]
push esi
push str.index
push str.IndexPath
push str.paths
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test esi, esi
je 0x428906
cmp byte [esi], 0
je 0x428906
mov edi, 0x5cc7f4
mov ebx, esi
call fcn.004015d0
test eax, eax
jne 0x428903
push 0x400
mov ebx, edi
mov eax, esi
call fcn.00401570
add esp, 4
mov ebx, dword [ebp - 4]
call fcn.004fa5e0
mov eax, dword [ebp + 0xc]
sub esp, 0x1c
mov esi, esp
mov ecx, eax
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov dword [ebp + 8], esp
mov byte [esi], 0
lea edi, [ecx + 1]
lea esp, [esp]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x428930
sub ecx, edi
mov edi, ecx
call fcn.00402fe0
lea esi, [ebx + 0x2878]
call fcn.0050ad20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc