Function at 0x86f540
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0xb15800
push 0xa847a0
mov eax, dword fs:[0]
push eax
sub esp, 0xc60
mov eax, dword [0xb196ec]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, ecx
mov esi, 0xb55f40
mov eax, dword [0xbd4b10]
mov dword [ebp - 0xc68], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
mov byte [ebp - 0x338], bl
push 0x103
push ebx
lea ecx, [ebp - 0x337]
push ecx
call fcn.00a7ffb0
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0xc68]
push eax
push str._SECSERVER__ProcessSecServerValue_of__u__FW:_u_
lea ecx, [ebp - 0xc60]
push ecx
call fcn.00a78f30
push ebx
push 1
lea edx, [ebp - 0xc60]
push edx
push 0xb54ce8
call fcn.008808e0
add esp, 0x20
cmp byte [0xbe5fb0], bl
jne 0x86f64c
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
xor edx, edx
xor ecx, ecx
mov ebx, 0xbe5fb0
call fcn.009748c0
add esp, 0x18
mov ecx, ebx
call fcn.00960910
push 0xaa1ab8
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov ecx, ebx
mov edx, 0xbe61b8
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x86f617
mov ecx, 0xbe61b8
call fcn.00960910
mov eax, 0xbe61b8
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x86f631
mov ecx, dword [str.Apache2]
mov dword [eax], ecx
mov edx, dword [0xaa1e40]
mov dword [eax + 4], edx
xor ebx, ebx
cmp edi, ebx
je 0x86f661
mov ecx, 0xbe61b8
mov edx, edi
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
cmp al, bl
jne 0x86f657
cmp dword [ebp - 0xc68], ebx
jne 0x86f77e
call fcn.0086d860
test eax, eax
je 0x86facd
push ebx
push 1
push str._SECSERVER__Reset_SecServer_Value.
push 0xb54ce8
call fcn.008808e0
add esp, 0x10
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, str.eservcln.exe
mov edi, eax
call fcn.0099a3e0
mov eax, 1
call fcn.0097aa80
mov dword [0xb56b44], 1
xor edi, edi
mov ecx, str.eScan_Apache
call fcn.009620b0
test eax, eax
je 0x86f6e5
push ebx
push str.eScan_Apache
mov esi, 0xbe61b8
call fcn.0099ab30
push 3
mov ecx, str.eScan_Apache
call fcn.00954c00
add esp, 0xc
xor edi, edi
mov ecx, str.eScan_Apache_New
call fcn.009620b0
test eax, eax
je 0x86f714
push ebx
push str.eScan_Apache_New
mov esi, 0xbe61b8
call fcn.0099ab30
push 3
mov ecx, str.eScan_Apache_New
call fcn.00954c00
add esp, 0xc
push 0xb55918
push 0x104
lea eax, [ebp - 0x338]
push eax
push str.Update_Agent_Stopped
push 0xab1d30
push 0xaaec30
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push str.eScan_Monitor
lea ecx, [ebp - 0x338]
push ecx
mov edx, ecx
push edx
push 0xaa154c
push ebx
push 0x2e0
mov ecx, str.eScan_Monitor
call fcn.00982e00
push ebx
push 1
push str._SECSERVER__Finished_Reset_of_SecServer_Value.
push 0xb54ce8
call fcn.008808e0
add esp, 0x10
jmp 0x86facd
mov dword [ebp - 0xc64], 1
mov byte [ebp - 0x648], bl
push 0x103
push ebx
lea eax, [ebp - 0x647]
push eax
call fcn.00a7ffb0
add esp, 0xc
push 0xb55508
lea ecx, [ebp - 0x230]
push ecx
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
call edi
lea ecx, [ebp - 0x230]
call fcn.00960910
push str.eServ.ini
lea edx, [ebp - 0x230]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push ebx
push 1
push str._SECSERVER__Set_SecServer_Value.
push 0xb54ce8
call fcn.008808e0
add esp, 0x10
push esi
push 0x104
lea eax, [ebp - 0x648]
push eax
push 0xaa1543
push str.SecServerAVUpdateFromInternet
push str.Config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [ebp - 0x648], bl
jne 0x86f82c
push str.Config
mov eax, 0xaa1ac4
mov ebx, str.SecServerAVUpdateFromInternet
call fcn.009584b0
add esp, 4
xor ebx, ebx
push str.__ESCANDRIVE__PUBAVX
lea ecx, [ebp - 0x540]
push ecx
call fcn.00a78f30
add esp, 8
push 1
lea edx, [ebp - 0x540]
push edx
call fcn.00977760
push str.__ESCANDRIVE__PUBUPDATE
lea eax, [ebp - 0x850]
push eax
call fcn.00a78f30
add esp, 8
push 1
lea ecx, [ebp - 0x850]
push ecx
call fcn.00977760
lea edx, [ebp - 0x850]
push edx
lea eax, [ebp - 0x128]
push eax
call edi
lea ecx, [ebp - 0x128]
call fcn.00960910
push str.policy.dlz
lea ecx, [ebp - 0x128]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push ebx
push ebx
xor edx, edx
lea ecx, [ebp - 0x128]
call fcn.0095a0f0
add esp, 8
test eax, eax
jne 0x86f8be
lea eax, [ebp - 0x128]
call fcn.0094dd20
xor ecx, ecx
lea edi, [ebp - 0x540]
call fcn.0095a6d0
test eax, eax
je 0x86f9e8
push str.PLUGINS
mov edx, edi
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
xor ecx, ecx
call fcn.0095a6d0
test eax, eax
je 0x86f9e8
mov edi, str..xmd
lea ecx, [ebp - 0x540]
call fcn.00959ba0
test eax, eax
jne 0x86f9e8
mov edi, str..cvd
lea ecx, [ebp - 0x540]
call fcn.00959ba0
test eax, eax
jne 0x86f9e8
mov edi, str..ivd
lea ecx, [ebp - 0x540]
call fcn.00959ba0
test eax, eax
jne 0x86f9e8
mov edi, 0xab1df0
lea ecx, [ebp - 0x540]
call fcn.00959ba0
test eax, eax
jne 0x86f9e8
mov edi, str.eserv.ini
mov ecx, 0xb55508
call fcn.00959ba0
test eax, eax
jne 0x86f9e8
mov dword [ebp - 0xc6c], ebx
push ebx
push ebx
lea edx, [ebp - 0xc6c]
lea ecx, [ebp - 0x230]
call fcn.0095a0f0
add esp, 8
test eax, eax
jne 0x86f9e8
cmp dword [ebp - 0xc6c], 0x100
jbe 0x86f9e8
mov dword [ebp - 0xc64], ebx
call fcn.0086dba0
test eax, eax
jne 0x86f9e8
lea eax, [ebp - 0x230]
push eax
push str._SECSERVER__Re_creating__s
lea ecx, [ebp - 0xa58]
push ecx
call fcn.00a78f30
add esp, 0xc
push ebx
push 1
lea edx, [ebp - 0xa58]
push edx
push 0xb54ce8
call fcn.008808e0
add esp, 0x10
mov dword [ebp - 0xc64], 1
call fcn.0093ea30
jmp 0x86fa7d
cmp dword [ebp - 0xc64], ebx
je 0x86f9fa
call fcn.0093ea30
jmp 0x86fa7d
xor ecx, ecx
lea edi, [ebp - 0x850]
call fcn.0095a6d0
test eax, eax
je 0x86fa7d
push 0xb55508
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [ebp - 0x128]
call fcn.00960910
push str.license.ini
lea ecx, [ebp - 0x128]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 1
push ebx
xor edx, edx
lea ecx, [ebp - 0x128]
call fcn.0095a0f0
add esp, 8
test eax, eax
jne 0x86fa7d
lea edi, [ebp - 0x128]
call fcn.00a6a3b0
test eax, eax
je 0x86fa7d
push ebx
push ebx
push ebx
lea edx, [ebp - 0x850]
push edx
push str.license.ini
push 0xb55508
xor edx, edx
xor ecx, ecx
call fcn.0095f0f0
push 1
xor ecx, ecx
call fcn.0086f100
add esp, 4
cmp dword [ebp + 0xc], ebx
je 0x86fa9e
push eax
push 2
mov ecx, 0xbe61b8
call fcn.0089efb0
add esp, 8
push ebx
push 1
push str._SECSERVER__Finished_Processing_of_SecServer_Value.
push 0xb54ce8
call fcn.008808e0
add esp, 0x10
jmp 0x86facd
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00a78f21
mov esp, ebp
pop ebp
ret