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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56da20
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x676300]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x10]
mov esi, ecx
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x50], 0x57cae4
mov dword [ebp - 0x4c], str.Initi
mov dword [ebp - 0x48], eax
call fcn.004ebfc1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x44], eax
mov ecx, dword [edi + 0x14]
xor eax, eax
lea ebx, [esi + 0x660]
mov dword [ebp - 4], eax
mov dword [ebp - 0x20], 0x454b895b
mov dword [ebp - 0x1c], 0x4d5e5fc3
mov dword [ebp - 0x18], 0x4b078e80
mov dword [ebp - 0x14], 0x65d7eda1
mov dword [ebx], eax
cmp ecx, eax
je 0x45427f
lea edx, [ebp - 0x54]
mov dword [ebp - 0x54], eax
mov eax, dword [ecx]
mov eax, dword [eax]
push edx
lea edx, [ebp - 0x20]
push edx
call eax
test eax, eax
jne 0x45427f
mov ecx, dword [ebp - 0x54]
test ecx, ecx
je 0x45427f
mov edx, dword [ecx]
mov eax, dword [edx + 0x18]
push ebx
push 0x57cac4
call eax
cmp dword [ebx], 0
jne 0x4542df
push str.error_QueryAgentInterface_for_guid_alarm_interface
push str.InformationAgent
push 0x67eba0
call fcn.004ebec7
add esp, 0xc
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x44]
cmp dword [ebp - 0x40], 0
je 0x4542cb
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x50]
push eax
push ecx
push str._s_running_time
push edx
lea eax, [ebp - 0x40]
push eax
call fcn.004ebdf1
add esp, 0x14
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
call fcn.004f5a61
jmp 0x45443c
lea ecx, [esi + 4]
call fcn.0044f070
cmp eax, 0xffffffff
jne 0x45430c
push str.IM_Init_Fail_
push str.InformationAgent
push 0x67eba0
call fcn.004ebec7
add esp, 0xc
mov dword [ebp - 4], 2
jmp 0x4542a2
mov edx, dword [0x67eb70]
xor ebx, ebx
mov eax, edx
mov dword [ebp - 0x28], 0xf
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 0x3c], bl
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x454326
sub eax, edi
push eax
push edx
lea ecx, [ebp - 0x3c]
call fcn.0040a3f0
push 7
push str.GI.dll
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 3
call fcn.0040b110
mov eax, dword [ebp - 0x3c]
mov edi, 0x10
cmp dword [ebp - 0x28], edi
jae 0x45435c
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [esi + 0x654], eax
cmp eax, ebx
jne 0x45438c
push str.Load_GI.dll_failed.
push str.InformationAgent
push 0x67eba0
call fcn.004ebec7
add esp, 0xc
cmp dword [ebp - 0x28], edi
jmp 0x454411
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.Start
push eax
call edi
mov edx, dword [esi + 0x654]
push str.Stop
push edx
mov dword [esi + 0x658], eax
call edi
mov dword [esi + 0x65c], eax
mov eax, dword [esi + 0x654]
push str.GetPeerIpA
push eax
call edi
mov dword [0x67bfd0], eax
cmp dword [esi + 0x658], ebx
je 0x4543f6
cmp dword [esi + 0x65c], ebx
je 0x4543f6
cmp eax, ebx
je 0x4543f6
lea ecx, [ebp - 0x3c]
call fcn.00451de0
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0xffffffff
call fcn.0043a0a0
xor eax, eax
jmp 0x45443f
push str.Get_GI.dll_APIS_failed.
push str.InformationAgent
push 0x67eba0
call fcn.004ebec7
add esp, 0xc
cmp dword [ebp - 0x28], 0x10
jb 0x45441f
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.00535f7c
add esp, 4
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x28], 0xf
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 0x3c], 0
call fcn.0043a0a0
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00534bba
mov esp, ebp
pop ebp
ret 4