Function at 0x4e99e0
Capabilities:
Reference cloudflare dns server

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x430
mov eax, dword [0x594ccc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
lea eax, [ebp - 0x414]
push edi
push eax
mov esi, ecx
call fcn.004e7030
add esp, 4
lea ecx, [ebp - 0x410]
push str._safelive.dll
push ecx
call fcn.004e7030
add esp, 4
push eax
lea edx, [ebp - 0x41c]
push edx
call fcn.0044f400
mov eax, dword [ebp - 0x410]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4e9a4d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [ebp - 0x41c]
push edi
call fcn.004c8a10
add esp, 4
mov dword [esi + 4], eax
test eax, eax
jne 0x4e9a78
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x4ea1e2
push str.CreateUpdateServer
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4ea1d2
call eax
mov dword [esi + 0x10], eax
test eax, eax
je 0x4ea1d2
push str.updatecfg.ini
lea ecx, [ebp - 0x414]
push ecx
lea edx, [ebp - 0x420]
push edx
call fcn.0044f400
mov edi, dword [ebp - 0x420]
mov ebx, dword [sym.imp.KERNEL32.dll_WritePrivateProfileSectionW]
add esp, 0xc
push edi
push 0x576bd0
push 0x56d06c
call ebx
push edi
push 0x576bd0
push 0x56d044
call ebx
push edi
push 0x576bd0
push 0x56d010
call ebx
push edi
push 0x576bd0
push 0x56cfd8
call ebx
push edi
push 0x576bd0
push str.TASK_UPDATE_AVIRA_FULL
call ebx
push edi
push 0x576bd0
push str.TASK_UPDATE_AVIRA_INCREMENTAL
call ebx
push edi
push 0x576bd0
push 0x56cf38
call ebx
push edi
push 0x576bd0
push 0x56cef8
call ebx
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
push edi
push str.360LiveUpdate
call edx
test eax, eax
je 0x4ea1c1
call fcn.004e6570
lea ebx, [esi + 0x18]
push str.1.0.0.1
mov ecx, ebx
call fcn.00449a50
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call fcn.0051d250
add esp, 0xc
push 0x104
lea edx, [ebp - 0x20c]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp eax, 0x104
je 0x4e9bd6
xor eax, eax
push 0x1fe
push eax
lea ecx, [ebp - 0x40a]
push ecx
mov word [ebp - 0x40c], ax
call fcn.0051d250
push 0x100
lea edx, [ebp - 0x40c]
push edx
lea eax, [ebp - 0x20c]
push eax
call fcn.004e2f50
add esp, 0x18
test eax, eax
je 0x4e9bd6
lea ecx, [ebp - 0x40c]
push ecx
mov ecx, ebx
call fcn.00459660
push 0x56cec8
lea edx, [ebp - 0x414]
push edx
lea eax, [ebp - 0x410]
push eax
call fcn.0044f400
add esp, 0xc
lea edi, [esi + 0x14]
push eax
mov ecx, edi
call fcn.0044f5c0
lea ecx, [ebp - 0x410]
call fcn.00442750
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
push 0
push 0x583540
call eax
mov eax, dword [edi]
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
push eax
push str.instdir
push str.TASK_UPDATE_PACKAGE
call edx
mov edx, dword [edi]
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
push edx
push str.datadir
push str.TASK_UPDATE_PACKAGE
call eax
mov eax, dword [ebx]
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
push eax
push 0x56ca54
push str.TASK_UPDATE_PACKAGE
call edx
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
push 0x56cec4
push str.UpdateControlVersion
push str.TASK_UPDATE_PACKAGE
call edx
push ecx
mov ecx, esp
push str.TASK_UPDATE_PACKAGE
call fcn.00464b60
mov eax, dword [esi + 0x10]
push eax
call fcn.004fed80
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
add esp, 8
push 0
push 0x584cb0
call eax
mov eax, dword [edi]
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
push eax
push str.instdir
push str.TASK_UPDATE_MODULE
call edx
mov edx, dword [edi]
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
push edx
push str.datadir
push str.TASK_UPDATE_MODULE
call eax
mov ecx, dword [esi + 0x10]
mov eax, dword [ebx]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
push eax
push 0x56ca54
push str.TASK_UPDATE_MODULE
call edx
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
push 0x56cec4
push str.UpdateControlVersion
push str.TASK_UPDATE_MODULE
call edx
push ecx
mov ecx, esp
push str.TASK_UPDATE_MODULE
call fcn.00464b60
mov eax, dword [esi + 0x10]
push eax
call fcn.004fed80
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
add esp, 8
push 0
push 0x586420
call eax
mov eax, dword [edi]
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
push eax
push str.instdir
push str.TASK_UPDATE_FORCE_MODULE
call edx
mov edx, dword [edi]
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
push edx
push str.datadir
push str.TASK_UPDATE_FORCE_MODULE
call eax
mov eax, dword [ebx]
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
push eax
push 0x56ca54
push str.TASK_UPDATE_FORCE_MODULE
call edx
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
push 0x56cec4
push str.UpdateControlVersion
push str.TASK_UPDATE_FORCE_MODULE
call edx
push ecx
mov ecx, esp
push str.TASK_UPDATE_FORCE_MODULE
call fcn.00464b60
mov eax, dword [esi + 0x10]
push eax
call fcn.004fed80
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
add esp, 8
push 0
push 0x587b90
call eax
mov eax, dword [edi]
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
push eax
push str.instdir
push str.TASK_UPDATE_PACKAGE_MANUAL
call edx
mov edx, dword [edi]
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
push edx
push str.datadir
push str.TASK_UPDATE_PACKAGE_MANUAL
call eax
mov eax, dword [ebx]
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
push eax
push 0x56ca54
push str.TASK_UPDATE_PACKAGE_MANUAL
call edx
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
push 0x56cec4
push str.UpdateControlVersion
push str.TASK_UPDATE_PACKAGE_MANUAL
call edx
push ecx
mov ecx, esp
push str.TASK_UPDATE_PACKAGE_MANUAL
call fcn.00464b60
mov eax, dword [esi + 0x10]
push eax
call fcn.004fed80
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
add esp, 8
push 0
push 0x589300
call eax
mov eax, dword [edi]
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
push eax
push str.instdir
push str.TASK_UPDATE_MODULE_MANUAL
call edx
mov edx, dword [edi]
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
push edx
push str.datadir
push str.TASK_UPDATE_MODULE_MANUAL
call eax
mov eax, dword [ebx]
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
push eax
push 0x56ca54
push str.TASK_UPDATE_MODULE_MANUAL
call edx
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
push 0x56cec4
push str.UpdateControlVersion
push str.TASK_UPDATE_MODULE_MANUAL
call edx
push ecx
mov ecx, esp
push str.TASK_UPDATE_MODULE_MANUAL
call fcn.00464b60
mov eax, dword [esi + 0x10]
push eax
call fcn.004fed80
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
add esp, 8
push 0
push 0x58aa70
call eax
mov eax, dword [edi]
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
push eax
push str.instdir
push str.TASK_UPDATE_WLIST
call edx
mov edx, dword [edi]
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
push edx
push str.datadir
push str.TASK_UPDATE_WLIST
call eax
mov eax, dword [ebx]
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
push eax
push 0x56ca54
push str.TASK_UPDATE_WLIST
call edx
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
push 0x56cec4
push str.UpdateControlVersion
push str.TASK_UPDATE_WLIST
call edx
push ecx
mov ecx, esp
push str.TASK_UPDATE_WLIST
call fcn.00464b60
mov eax, dword [esi + 0x10]
push eax
call fcn.004fed80
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
add esp, 8
push 0
push 0x58c1e0
call eax
mov eax, dword [edi]
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
push eax
push str.instdir
push str.TASK_UPDATE_WLIST_MANUAL
call edx
mov edx, dword [edi]
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
push edx
push str.datadir
push str.TASK_UPDATE_WLIST_MANUAL
call eax
mov eax, dword [ebx]
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
push eax
push 0x56ca54
push str.TASK_UPDATE_WLIST_MANUAL
call edx
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
push 0x56cec4
push str.UpdateControlVersion
push str.TASK_UPDATE_WLIST_MANUAL
call edx
push ecx
mov ecx, esp
push str.TASK_UPDATE_WLIST_MANUAL
call fcn.00464b60
mov eax, dword [esi + 0x10]
push eax
call fcn.004fed80
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
add esp, 8
push 0
push 0x58d950
call eax
mov eax, dword [edi]
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
push eax
push str.instdir
push str.UPDATE_TASK_ID_PACKAGE_MANUAL_CHECK
call edx
mov edx, dword [edi]
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
push edx
push str.datadir
push str.UPDATE_TASK_ID_PACKAGE_MANUAL_CHECK
call eax
mov eax, dword [ebx]
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
push eax
push 0x56ca54
push str.UPDATE_TASK_ID_PACKAGE_MANUAL_CHECK
call edx
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
push 0x559818
push str.UpdateControlVersion
push str.UPDATE_TASK_ID_PACKAGE_MANUAL_CHECK
call edx
push ecx
mov ecx, esp
push str.UPDATE_TASK_ID_PACKAGE_MANUAL_CHECK
call fcn.00464b60
mov eax, dword [esi + 0x10]
push eax
call fcn.004fed80
mov eax, dword [ebx]
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
add esp, 8
push eax
push 0x56ca54
push 0
call edx
mov edx, dword [0x598c58]
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
push edx
push str.language
push 0
call eax
lea ecx, [ebp - 0x410]
push ecx
push 0
push ecx
mov ecx, esp
push str.Edition
mov dword [ebp - 0x410], 0
call fcn.00464b60
push ecx
mov ecx, esp
push str.SOFTWARE360TotalSecurityBIZ
call fcn.00464b60
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x430]
call fcn.00448da0
push eax
call fcn.00438100
add esp, 8
lea ecx, [ebp - 0x430]
mov dword [ebp - 0x418], eax
call fcn.00448540
cmp dword [ebp - 0x418], 0
je 0x4ea129
mov eax, dword [ebp - 0x410]
cmp eax, 4
ja case.0x4ea0de.0
jmp dword [eax*4 + 0x4ea224]
push 0x56ce44
jmp 0x4ea106
push str.TSEN
jmp 0x4ea106
push str.TSEEN
jmp 0x4ea106
push str.TSPL
jmp 0x4ea106
push 0x56ce18
lea ecx, [esi + 0x11c]
call fcn.00459660
mov eax, dword [esi + 0x11c]
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
push eax
push str.TSEdition
push 0
call edx
lea eax, [ebp - 0x418]
push eax
mov ecx, esi
call fcn.004e7b70
mov eax, dword [eax]
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
push eax
push str.SupportSha256
push 0
call edx
lea ecx, [ebp - 0x418]
call fcn.00442750
push 0x30
call fcn.0051d4d3
add esp, 4
test eax, eax
je 0x4ea173
mov ecx, dword [esi + 0x10]
push ebx
push edi
push ecx
mov ecx, eax
call fcn.004ec820
jmp 0x4ea175
xor eax, eax
mov dword [esi + 0x24], eax
test eax, eax
je 0x4ea183
mov ecx, eax
call fcn.004ed070
mov ecx, esi
call fcn.004e8ea0
lea ecx, [ebp - 0x420]
call fcn.00442750
lea ecx, [ebp - 0x41c]
call fcn.00442750
lea ecx, [ebp - 0x414]
call fcn.00442750
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051d23b
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x420]
call fcn.00442750
mov edi, dword [ebp - 0x41c]
lea eax, [edi - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4ea1ee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x414]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4ea210
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0051d23b
mov esp, ebp
pop ebp
ret