Function at 0x86f100
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x630
mov eax, dword [0xb196ec]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov ecx, str.eScan_Apache
xor ebx, ebx
call fcn.009620b0
mov edi, eax
mov eax, dword [ebp + 8]
push eax
push esi
lea ecx, [ebp - 0x214]
push str._SECSERVER__ApaSetup_Initiated__IO:_d__FW:_d_
push ecx
call fcn.00a78f30
push ebx
push 1
lea edx, [ebp - 0x214]
push edx
push 0xb54ce8
call fcn.008808e0
add esp, 0x20
push 1
mov ecx, str.MyApaHand
call fcn.00962f00
mov dword [ebp - 0x62c], eax
test eax, eax
je 0x86f1bf
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x86f1bf
lea eax, [ebp - 0x214]
push str._SECSERVER__ApaSetup_already_in_progress...
push eax
call fcn.00a78f30
push ebx
push 1
lea ecx, [ebp - 0x214]
push ecx
push 0xb54ce8
call fcn.008808e0
add esp, 0x18
lea edx, [ebp - 0x62c]
push edx
call fcn.00985290
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00a78f21
mov esp, ebp
pop ebp
ret
test esi, esi
jne 0x86f326
test edi, edi
jne 0x86f1d9
push str._SECSERVER__SecServer_Set__Apache_Service_Absent_._Downloading_and_installing_APASETUP...
lea eax, [ebp - 0x214]
push eax
jmp 0x86f1e5
push str._SECSERVER__SecServer_Set__Apache_Service_is_Present_._Downloading_and_installing_APASETUP...
lea ecx, [ebp - 0x214]
push ecx
call fcn.00a78f30
add esp, 8
push 0
push 1
lea edx, [ebp - 0x214]
push edx
push 0xb54ce8
call fcn.008808e0
add esp, 0x10
mov ebx, 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0xbe5fac], eax
push 0x207
lea eax, [ebp - 0x41b]
push 0
push eax
mov byte [ebp - 0x41c], 0
call fcn.00a7ffb0
add esp, 0xc
push 0
xor edi, edi
lea esi, [ebp - 0x41c]
call fcn.0086e630
add esp, 4
test eax, eax
jne 0x86f4f3
mov ecx, esi
push ecx
lea edx, [ebp - 0x214]
push str._SECSERVER__Download_and_Run_ApaSetup_FAILED__Reason:_s
push edx
call fcn.00a78f30
add esp, 0xc
push edi
push 1
lea eax, [ebp - 0x214]
push eax
push 0xb54ce8
call fcn.008808e0
add esp, 0x10
push 0xb55508
lea ecx, [ebp - 0x624]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [ebp - 0x624]
call fcn.00960910
push str.ApaSetup.exe
lea edx, [ebp - 0x624]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 1
push edi
xor edx, edx
lea ecx, [ebp - 0x624]
call fcn.0095a0f0
add esp, 8
test eax, eax
jne 0x86f4be
lea eax, [ebp - 0x624]
push eax
lea ecx, [ebp - 0x214]
push str._SECSERVER__Executing__s
push ecx
call fcn.00a78f30
add esp, 0xc
push edi
push 1
lea edx, [ebp - 0x214]
push edx
push 0xb54ce8
call fcn.008808e0
push edi
lea eax, [ebp - 0x624]
push 1
push eax
xor eax, eax
xor ecx, ecx
or edx, 0xffffffff
call fcn.0095dfe0
add esp, 0x1c
push edi
push 1
push str._SECSERVER__Finished_ApaSetup_Execution
push 0xb54ce8
call fcn.008808e0
add esp, 0x10
jmp 0x86f51c
test edi, edi
jne 0x86f352
push str.eScan_Apache
lea eax, [ebp - 0x214]
push str._SECSERVER__Service__s_Absent__Downloading_and_installing_APASETUP...
push eax
call fcn.00a78f30
add esp, 0xc
push edi
push 1
lea ecx, [ebp - 0x214]
push ecx
jmp 0x86f1f8
lea edx, [ebp - 0x628]
push edx
push str.ApaSize
mov ecx, 0xaa21e4
mov edx, 0x80000002
mov dword [ebp - 0x628], ebx
call fcn.0094c0d0
cmp dword [ebp - 0x628], ebx
jne 0x86f3a4
push str.eScan_Apache
lea eax, [ebp - 0x214]
push str._SECSERVER__Service__s_Present_but_ApaSize_missing._So_re_downloading_and_installing_APASETUP...
push eax
call fcn.00a78f30
add esp, 0xc
push 0
push 1
lea ecx, [ebp - 0x214]
push ecx
jmp 0x86f1f8
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [0xbe5fac], ebx
je 0x86f3c5
call esi
sub eax, dword [0xbe5fac]
cmp eax, 0xdbba00
jbe 0x86f51c
push 0x207
lea edx, [ebp - 0x41b]
push 0
push edx
mov byte [ebp - 0x41c], bl
call fcn.00a7ffb0
add esp, 0xc
mov dword [ebp - 0x630], ebx
call esi
push 1
lea edi, [ebp - 0x630]
lea esi, [ebp - 0x41c]
mov dword [0xbe5fac], eax
call fcn.0086e630
mov eax, dword [ebp - 0x630]
add esp, 4
test eax, eax
jbe 0x86f48b
mov ecx, dword [ebp - 0x628]
cmp eax, ecx
jne 0x86f44e
push str.eScan_Apache
lea eax, [ebp - 0x214]
push str._SECSERVER__Service__s_Present_and_Content_Length_of_ApaSetup_on_Server_matches_with_local.
push eax
call fcn.00a78f30
add esp, 0xc
push 0
push 1
lea ecx, [ebp - 0x214]
push ecx
push 0xb54ce8
call fcn.008808e0
add esp, 0x10
jmp 0x86f51c
push ecx
push eax
push str.eScan_Apache
lea edx, [ebp - 0x214]
push str._SECSERVER__Service__s_Present_but_ApaSetup_on_Server___ld__not_matching_with_local___ld_._So_re_downloading_and_installing_APASETUP...
push edx
call fcn.00a78f30
add esp, 0x14
push 0
push 1
lea eax, [ebp - 0x214]
push eax
push 0xb54ce8
call fcn.008808e0
add esp, 0x10
mov ebx, 1
jmp 0x86f215
push str.eScan_Apache
lea ecx, [ebp - 0x214]
push str._SECSERVER__Service__s_Present._Unable_to_get_Content_Length_of_ApaSetup._So_NOT_re_downloading.
push ecx
call fcn.00a78f30
add esp, 0xc
push 0
push 1
lea edx, [ebp - 0x214]
push edx
push 0xb54ce8
call fcn.008808e0
add esp, 0x10
jmp 0x86f51c
lea ecx, [ebp - 0x624]
push ecx
lea edx, [ebp - 0x214]
push str._SECSERVER__Also_unable_to_find__s_
push edx
call fcn.00a78f30
add esp, 0xc
push 0
push 1
lea eax, [ebp - 0x214]
push eax
push 0xb54ce8
call fcn.008808e0
add esp, 0x10
jmp 0x86f51c
lea ecx, [ebp - 0x214]
push str._SECSERVER__Download_and_Run_ApaSetup_SUCCESS.
push ecx
call fcn.00a78f30
push 0
push 1
lea edx, [ebp - 0x214]
push edx
push 0xb54ce8
call fcn.008808e0
add esp, 0x18
lea eax, [ebp - 0x62c]
push eax
call fcn.00985290
mov ecx, dword [ebp - 8]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.00a78f21
mov esp, ebp
pop ebp
ret