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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x200
mov eax, dword [0x41b1d4]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
xor ebx, ebx
mov edi, ecx
and dword [ebp - 0x1d8], ebx
push 0x41b824
call dword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_AcquireSRWLockExclusive]
mov esi, dword [0x41b828]
test esi, esi
je 0x41918f
cmp dword [esi], edi
jne 0x419184
cmp dword [esi + 4], ebx
je 0x41918b
mov esi, dword [esi + 0x14]
test esi, esi
jne 0x41917b
test esi, esi
jne 0x4191ca
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 0x419520
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 [0x41b828]
mov dword [esi + 0x14], eax
mov dword [0x41b828], 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 0x419520
call dword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
mov dword [esi + 8], eax
lea edx, [ebp - 0x114]
lea eax, [ebp - 0x1dc]
push eax
lea eax, [ebp - 0x1e8]
push eax
push ecx
call fcn.004190a2
mov dword [ebp - 0x1e4], eax
test eax, eax
je 0x419232
mov edx, 0x400000
cmp edi, edx
jb 0x419232
mov eax, dword [ebp - 0x1dc]
lea ecx, [eax + 0x400000]
cmp ecx, edx
jbe 0x419232
cmp edi, ecx
ja 0x419232
sub edi, edx
jmp 0x419234
xor edi, edi
mov dword [ebp - 0x1f8], edi
cmp dword [esi + 0x10], 1
jne 0x419338
mov ecx, 0x41b178
call fcn.00415e9a
test eax, eax
jne 0x419338
xor edi, edi
xor dl, dl
push edi
push edi
mov ecx, 0x41b178
call fcn.00415e75
test al, al
je 0x41932e
mov dl, byte [ebp - 0x114]
xor ebx, ebx
inc ebx
mov dword [ebp - 0x1d4], 0x1d1727a6
mov dword [ebp - 0x1d8], ebx
mov dword [ebp - 0x1e0], ebx
mov dword [ebp - 0x1d0], 0x4e2792c8
mov dword [ebp - 0x1cc], 0x8b0f69bc
mov dword [ebp - 0x1c8], 0x9d548c45
test dl, dl
je 0x4192e0
lea ebx, [ebp - 0x114]
movsx eax, dl
push eax
call dword [sym.imp.msvcrt.dll_toupper]
add byte [ebp + edi - 0x1d4], al
inc ebx
lea eax, [edi + 1]
cmp eax, 0x10
pop ecx
mov cl, byte [ebx]
sbb edi, edi
and edi, eax
mov dl, cl
test cl, cl
jne 0x4192b5
mov ebx, dword [ebp - 0x1e0]
lea eax, [ebp - 0x1f4]
xor edi, edi
push eax
push edi
push edi
lea eax, [ebp - 0x1d4]
push eax
call dword [sym.imp.api_ms_win_eventing_provider_l1_1_0.dll_EventRegister]
test eax, eax
jne 0x41932e
push edi
push edi
push edi
push dword [ebp - 0x1f0]
push dword [ebp - 0x1f4]
call dword [sym.imp.api_ms_win_eventing_provider_l1_1_0.dll_EventProviderEnabled]
push dword [ebp - 0x1f0]
movzx eax, al
push dword [ebp - 0x1f4]
neg eax
sbb eax, eax
not eax
and ebx, eax
call dword [sym.imp.api_ms_win_eventing_provider_l1_1_0.dll_EventUnregister]
mov ecx, 0x41b178
call fcn.00415f1e
mov ecx, 0x41b1a0
call fcn.00415e9a
test eax, eax
jne 0x419503
cmp dword [0x41b1a0], 5
jbe 0x4194f1
push 0x4000
xor edi, edi
mov ecx, 0x41b1a0
push edi
call fcn.0040a7ea
test al, al
je 0x4194f1
mov ecx, dword [ebp - 0x1e4]
lea eax, [ebp - 0x1e0]
mov dword [ebp - 0x1a4], eax
lea eax, [ebp - 0x1f8]
mov dword [ebp - 0x194], eax
mov eax, ecx
neg eax
mov dword [ebp - 0x1e0], 0xa
push 4
sbb eax, eax
mov dword [ebp - 0x1a0], edi
and dword [ebp - 0x1e8], eax
lea eax, [ebp - 0x1e8]
mov dword [ebp - 0x184], eax
mov eax, ecx
neg eax
mov dword [ebp - 0x198], edi
pop edx
sbb eax, eax
mov dword [ebp - 0x19c], edx
and eax, dword [ebp - 0x1dc]
mov dword [ebp - 0x1e4], eax
lea eax, [ebp - 0x1e4]
mov dword [ebp - 0x18c], edx
mov dword [ebp - 0x17c], edx
mov dword [ebp - 0x16c], edx
lea edx, [ebp - 0x114]
mov dword [ebp - 0x190], edi
mov dword [ebp - 0x188], edi
mov dword [ebp - 0x180], edi
mov dword [ebp - 0x178], edi
mov dword [ebp - 0x174], eax
mov dword [ebp - 0x170], edi
mov dword [ebp - 0x168], edi
test ecx, ecx
jne 0x419429
mov edx, 0x407a50
lea ecx, [ebp - 0x164]
call fcn.00415f3b
mov eax, dword [esi + 0xc]
xor ecx, ecx
mov dword [ebp - 0x1dc], eax
lea eax, [ebp - 0x1dc]
mov dword [ebp - 0x154], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x1fc], eax
lea eax, [ebp - 0x1fc]
mov dword [ebp - 0x144], eax
lea eax, [ebp - 0x1f0]
push 4
pop edx
mov dword [ebp - 0x134], eax
lea eax, [ebp - 0x1d8]
mov dword [ebp - 0x150], edi
mov dword [ebp - 0x148], edi
mov dword [ebp - 0x140], edi
mov dword [ebp - 0x138], edi
mov dword [ebp - 0x130], edi
mov dword [ebp - 0x128], edi
mov edi, dword [ebp - 0x1d8]
mov dword [ebp - 0x14c], edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x1f0], ebx
mov dword [ebp - 0x12c], edx
mov dword [ebp - 0x1d8], edi
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x11c], edx
mov dword [ebp - 0x118], ecx
lea eax, [ebp - 0x1c4]
mov edx, 0x4053ab
push eax
push 0xb
push ecx
push ecx
mov ecx, 0x41b1a0
call fcn.00415fab
jmp 0x4194f7
mov edi, dword [ebp - 0x1d8]
mov ecx, 0x41b1a0
call fcn.00415f1e
jmp 0x419509
mov edi, dword [ebp - 0x1d8]
test edi, edi
je 0x41951c
test ebx, ebx
je 0x41951c
push 0x3e8
call dword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
and dword [esi + 0xc], 0
push 0x41b824
call dword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockExclusive]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040c440
leave
ret 0xc