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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x628
mov eax, dword [0x6aae14]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push str.eScan_Apache
call fcn.0050d920
mov esi, dword [ebp + 8]
mov edi, eax
mov eax, dword [ebp + 0xc]
push eax
push esi
lea ecx, [ebp - 0x20c]
push str._SECSERVER__ApaSetup_Initiated__IO:_d__FW:_d_
push ecx
mov dword [ebp - 0x624], ebx
call fcn.005dfb23
push ebx
push 1
lea edx, [ebp - 0x20c]
push edx
push 0x6aec98
call fcn.004311c0
add esp, 0x28
push ebx
push 1
push str.MyApaHand
push 1
push ebx
call fcn.00507920
mov dword [ebp - 0x624], eax
cmp eax, ebx
je 0x41a96c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x41a96c
push str._SECSERVER__ApaSetup_already_in_progress...
jmp 0x41ac7c
cmp esi, ebx
jne 0x41aacb
cmp edi, ebx
jne 0x41a986
push str._SECSERVER__SecServer_Set__Apache_Service_Absent_._Downloading_and_installing_APASETUP...
lea eax, [ebp - 0x20c]
push eax
jmp 0x41a992
push str._SECSERVER__SecServer_Set__Apache_Service_is_Present_._Downloading_and_installing_APASETUP...
lea ecx, [ebp - 0x20c]
push ecx
call fcn.005dfb23
add esp, 8
push ebx
push 1
lea edx, [ebp - 0x20c]
push edx
push 0x6aec98
call fcn.004311c0
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x6b20f8], eax
push 0x207
lea edx, [ebp - 0x413]
push ebx
push edx
mov byte [ebp - 0x414], bl
call fcn.005dfd60
push ebx
push ebx
lea eax, [ebp - 0x414]
push eax
push 0x6af4b8
call fcn.00419ff0
add esp, 0x1c
test eax, eax
jne 0x41ac77
lea ecx, [ebp - 0x414]
push ecx
lea edx, [ebp - 0x20c]
push str._SECSERVER__Download_and_Run_ApaSetup_FAILED__Reason:_s
push edx
call fcn.005dfb23
push ebx
push 1
lea eax, [ebp - 0x20c]
push eax
push 0x6aec98
call fcn.004311c0
add esp, 0x1c
push 0x6af4b8
lea ecx, [ebp - 0x61c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [ebp - 0x61c]
push edx
call fcn.004e24e0
add esp, 4
push str.ApaSetup.exe
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 1
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x61c]
push ebx
push ecx
call fcn.004e8950
add esp, 0x18
test eax, eax
jne 0x41ac46
lea edx, [ebp - 0x61c]
push edx
lea eax, [ebp - 0x20c]
push str._SECSERVER__Executing__s
push eax
call fcn.005dfb23
push ebx
push 1
lea ecx, [ebp - 0x20c]
push ecx
push 0x6aec98
call fcn.004311c0
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0x61c]
push 1
push edx
call fcn.00506de0
push ebx
push 1
push str._SECSERVER__Finished_ApaSetup_Execution
push 0x6aec98
call fcn.004311c0
add esp, 0x48
jmp 0x41ac9f
cmp edi, ebx
jne 0x41ab01
push str.eScan_Apache
push str._SECSERVER__Service__s_Absent__Downloading_and_installing_APASETUP...
lea eax, [ebp - 0x20c]
push eax
call fcn.005dfb23
push ebx
push 1
lea ecx, [ebp - 0x20c]
push ecx
push 0x6aec98
call fcn.004311c0
add esp, 0x1c
jmp 0x41a9b1
lea edx, [ebp - 0x620]
push edx
push str.ApaSize
push 0x60d814
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x620], ebx
call fcn.004d5820
cmp dword [ebp - 0x620], ebx
jne 0x41ab36
push str.eScan_Apache
push str._SECSERVER__Service__s_Present_but_ApaSize_missing._So_re_downloading_and_installing_APASETUP...
jmp 0x41aad9
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [0x6b20f8], ebx
je 0x41ab58
call esi
sub eax, dword [0x6b20f8]
cmp eax, dword [0x67e2cc]
jbe 0x41ac9f
push 0x207
lea edx, [ebp - 0x413]
push ebx
push edx
mov byte [ebp - 0x414], bl
call fcn.005dfd60
add esp, 0xc
mov dword [ebp - 0x628], ebx
call esi
mov dword [0x6b20f8], eax
lea eax, [ebp - 0x628]
push eax
push 1
lea ecx, [ebp - 0x414]
push ecx
push 0x6af4b8
call fcn.00419ff0
mov eax, dword [ebp - 0x628]
add esp, 0x10
cmp eax, ebx
jbe 0x41ac17
mov ecx, dword [ebp - 0x620]
cmp eax, ecx
jne 0x41abe3
push str.eScan_Apache
lea edx, [ebp - 0x20c]
push str._SECSERVER__Service__s_Present_and_Content_Length_of_ApaSetup_on_Server_matches_with_local.
push edx
call fcn.005dfb23
push ebx
push 1
lea eax, [ebp - 0x20c]
push eax
push 0x6aec98
call fcn.004311c0
add esp, 0x1c
jmp 0x41ac9f
push ecx
push eax
push str.eScan_Apache
lea ecx, [ebp - 0x20c]
push str._SECSERVER__Service__s_Present_but_ApaSetup_on_Server___ld__not_matching_with_local___ld_._So_re_downloading_and_installing_APASETUP...
push ecx
call fcn.005dfb23
push ebx
push 1
lea edx, [ebp - 0x20c]
push edx
push 0x6aec98
call fcn.004311c0
add esp, 0x24
jmp 0x41a9bc
push str.eScan_Apache
lea eax, [ebp - 0x20c]
push str._SECSERVER__Service__s_Present._Unable_to_get_Content_Length_of_ApaSetup._So_NOT_re_downloading.
push eax
call fcn.005dfb23
push ebx
push 1
lea ecx, [ebp - 0x20c]
push ecx
push 0x6aec98
call fcn.004311c0
add esp, 0x1c
jmp 0x41ac9f
lea eax, [ebp - 0x61c]
push eax
lea ecx, [ebp - 0x20c]
push str._SECSERVER__Also_unable_to_find__s_
push ecx
call fcn.005dfb23
push ebx
push 1
lea edx, [ebp - 0x20c]
push edx
push 0x6aec98
call fcn.004311c0
add esp, 0x1c
jmp 0x41ac9f
push str._SECSERVER__Download_and_Run_ApaSetup_SUCCESS.
lea eax, [ebp - 0x20c]
push eax
call fcn.005dfb23
push ebx
push 1
lea ecx, [ebp - 0x20c]
push ecx
push 0x6aec98
call fcn.004311c0
add esp, 0x18
lea edx, [ebp - 0x624]
push edx
call fcn.004dca10
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005dfbbe
mov esp, ebp
pop ebp
ret