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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x154
mov eax, dword [0x4a0cb8]
xor eax, esp
mov dword [esp + 0x150], eax
push ebx
push esi
push edi
xor ebx, ebx
mov edi, ecx
and dword [esp + 0x1c], ebx
push 0x4a1474
call dword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_AcquireSRWLockExclusive]
mov esi, dword [0x4a131c]
test esi, esi
je 0x4477da
cmp dword [esi], edi
jne 0x4477cf
cmp dword [esi + 4], ebx
je 0x4477d6
mov esi, dword [esi + 0x14]
test esi, esi
jne 0x4477c6
test esi, esi
jne 0x447815
push 0x18
push 0x40
call dword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x447a7e
and dword [esi + 4], ebx
mov dword [esi], edi
call dword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
and dword [esi + 0xc], ebx
sub eax, 0xea61
and dword [esi + 0x10], ebx
mov dword [esi + 8], eax
mov eax, dword [0x4a131c]
mov dword [esi + 0x14], eax
mov dword [0x4a131c], esi
inc dword [esi + 0xc]
inc dword [esi + 0x10]
call dword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
sub eax, dword [esi + 8]
cmp eax, 0xea60
jbe 0x447a7e
call dword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
mov dword [esi + 8], eax
lea edx, [esp + 0x50]
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x28]
push eax
push ecx
call fcn.0049171f
mov dword [esp + 0x20], eax
test eax, eax
je 0x447873
mov edx, 0x400000
cmp edi, edx
jb 0x447873
mov eax, dword [esp + 0x18]
lea ecx, [eax + 0x400000]
cmp ecx, edx
jbe 0x447873
cmp edi, ecx
ja 0x447873
sub edi, edx
jmp 0x447875
xor edi, edi
cmp dword [esi + 0x10], 1
mov dword [esp + 0x10], edi
jne 0x44796f
push 0
xor edx, edx
mov ecx, 0x4a02b8
call fcn.0041e023
test eax, eax
jne 0x44796f
cmp dword [0x4a02b8], ebx
jbe 0x447948
mov dl, byte [esp + 0x50]
inc eax
xor ebx, ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x40], 0x1d1727a6
mov dword [esp + 0x44], 0x4e2792c8
mov dword [esp + 0x48], 0x8b0f69bc
mov dword [esp + 0x4c], 0x9d548c45
test dl, dl
je 0x4478fe
lea edi, [esp + 0x50]
movsx eax, dl
push eax
call dword [sym.imp.msvcrt.dll_toupper]
add byte [esp + ebx + 0x44], al
inc edi
lea eax, [ebx + 1]
cmp eax, 0x10
pop ecx
mov cl, byte [edi]
sbb ebx, ebx
and ebx, eax
mov dl, cl
test cl, cl
jne 0x4478dc
lea eax, [esp + 0x28]
xor ebx, ebx
push eax
push ebx
push ebx
lea eax, [esp + 0x4c]
push eax
call sub.api_ms_win_eventing_provider_l1_1_0.dll_EventRegister
test eax, eax
jne 0x447944
push ebx
push ebx
push ebx
push dword [esp + 0x38]
push dword [esp + 0x38]
call dword [sym.imp.api_ms_win_eventing_provider_l1_1_0.dll_EventProviderEnabled]
push dword [esp + 0x2c]
movzx eax, al
push dword [esp + 0x2c]
neg eax
sbb eax, eax
not eax
and eax, dword [esp + 0x1c]
mov ebx, eax
call sub.api_ms_win_eventing_provider_l1_1_0.dll_EventUnregister
jmp 0x447948
mov ebx, dword [esp + 0x14]
mov eax, dword [0x4a02d4]
xor edx, edx
mov ecx, dword [0x4a02d0]
push eax
push ecx
mov dword [0x4a02b8], edx
mov dword [0x4a02d0], edx
mov dword [0x4a02d4], edx
call dword [sym.imp.api_ms_win_eventing_provider_l1_1_0.dll_EventUnregister]
push 0
xor edx, edx
mov ecx, 0x4a02e0
call fcn.0041e023
test eax, eax
jne 0x447a64
cmp dword [0x4a02e0], 5
jbe 0x447a3c
push 0x4000
push eax
mov ecx, 0x4a02e0
call fcn.004236c8
test al, al
je 0x447a3c
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x50]
test ecx, ecx
jne 0x4479bb
mov edx, 0x40b738
mov eax, ecx
mov edi, dword [esp + 0x1c]
neg eax
mov dword [esp + 0x34], edx
mov edx, 0x40dc13
mov dword [esp + 0x20], ebx
sbb eax, eax
mov dword [esp + 0x28], 0xa
and eax, dword [esp + 0x18]
neg ecx
mov dword [esp + 0x38], eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x24]
sbb ecx, ecx
and ecx, dword [esp + 0x28]
push eax
lea eax, [esp + 0x20]
mov dword [esp + 0x2c], edi
mov edi, dword [esi + 0x10]
push eax
lea eax, [esp + 0x20]
mov dword [esp + 0x24], edi
mov edi, dword [esi + 0xc]
push eax
lea eax, [esp + 0x44]
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x20]
push eax
lea eax, [esp + 0x4c]
mov dword [esp + 0x50], ecx
push eax
lea eax, [esp + 0x54]
mov dword [esp + 0x28], edi
push eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x48]
push eax
push ecx
push ecx
call fcn.00491621
mov eax, dword [0x4a02fc]
mov ecx, dword [0x4a02f8]
and dword [0x4a02e0], 0
and dword [0x4a02f8], 0
and dword [0x4a02fc], 0
push eax
push ecx
call dword [sym.imp.api_ms_win_eventing_provider_l1_1_0.dll_EventUnregister]
cmp dword [esp + 0x1c], 0
je 0x447a7a
test ebx, ebx
je 0x447a7a
push 0x3e8
call dword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
and dword [esi + 0xc], 0
push 0x4a1474
call dword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockExclusive]
mov ecx, dword [esp + 0x15c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0043b590
mov esp, ebp
pop ebp
ret 0x10