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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1006f388
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x100ce038]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [edi + 8]
push eax
mov dword [esp + 0x58], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esp + 0x58], 1
xor esi, esi
mov dword [esp + 0x78], esi
mov eax, dword [sym.winzipsshelper.dll_long_long___int64__CProcessorUsage::s_time]
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x4c], eax
mov eax, dword [0x100d2a94]
mov dword [esp + 0x50], eax
mov eax, dword [sym.winzipsshelper.dll_int_CProcessorUsage::s_lastCpu]
mov dword [esp + 0x14], eax
call ebx
sub eax, dword [sym.winzipsshelper.dll_unsigned_long_int_CProcessorUsage::s_TickMark]
and eax, 0x7fffffff
cmp eax, 0xc8
ja 0x10004d1d
push dword [esp + 0x54]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ax, word [esp + 0x14]
jmp 0x10005026
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov eax, dword [esp + 0x4c]
or eax, dword [esp + 0x50]
mov ecx, edi
jne 0x10004e3b
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x24]
push eax
call sym.winzipsshelper.dll_private:_void___thiscall_CProcessorUsage::GetSysTimes_long_long___int64____long_long___int64____long_long___int64___
xor eax, eax
mov dword [esp + 0x14], esi
lea edi, [esp + 0x18]
stosd dword es:[edi], eax
mov dword [esp + 0x4c], esi
lea edi, [esp + 0x50]
stosd dword es:[edi], eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
mov eax, dword [esp + 0x3c]
mov dword [sym.winzipsshelper.dll_long_long___int64__CProcessorUsage::s_time], eax
mov eax, dword [esp + 0x40]
mov dword [0x100d2a94], eax
mov eax, dword [esp + 0x1c]
mov dword [sym.winzipsshelper.dll_long_long___int64__CProcessorUsage::s_idleTime], eax
mov eax, dword [esp + 0x20]
mov dword [0x100d2a9c], eax
mov eax, dword [esp + 0x24]
mov dword [sym.winzipsshelper.dll_long_long___int64__CProcessorUsage::s_kernelTime], eax
mov eax, dword [esp + 0x28]
mov dword [0x100d2aa4], eax
mov eax, dword [esp + 0x2c]
mov dword [sym.winzipsshelper.dll_long_long___int64__CProcessorUsage::s_userTime], eax
mov eax, dword [esp + 0x30]
mov dword [0x100d2aac], eax
mov eax, dword [esp + 0x34]
mov dword [sym.winzipsshelper.dll_long_long___int64__CProcessorUsage::s_kernelTimeProcess], eax
mov eax, dword [esp + 0x38]
mov dword [0x100d2ab4], eax
mov eax, dword [esp + 0x44]
mov dword [sym.winzipsshelper.dll_long_long___int64__CProcessorUsage::s_userTimeProcess], eax
mov eax, dword [esp + 0x48]
mov dword [0x100d2abc], eax
mov dword [sym.winzipsshelper.dll_int_CProcessorUsage::s_lastCpu], esi
call ebx
push dword [esp + 0x54]
mov dword [sym.winzipsshelper.dll_unsigned_long_int_CProcessorUsage::s_TickMark], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
jmp 0x10005026
mov ebx, dword [esp + 0x3c]
sub ebx, dword [esp + 0x4c]
mov eax, dword [esp + 0x40]
sbb eax, dword [esp + 0x50]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x24]
push eax
call sym.winzipsshelper.dll_private:_void___thiscall_CProcessorUsage::GetSysTimes_long_long___int64____long_long___int64____long_long___int64___
xor eax, eax
mov dword [esp + 0x64], esi
lea edi, [esp + 0x68]
stosd dword es:[edi], eax
mov dword [esp + 0x5c], esi
lea edi, [esp + 0x60]
stosd dword es:[edi], eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
mov esi, dword [esp + 0x2c]
sub esi, dword [sym.winzipsshelper.dll_long_long___int64__CProcessorUsage::s_userTime]
mov edi, dword [esp + 0x30]
sbb edi, dword [0x100d2aac]
sub esi, dword [sym.winzipsshelper.dll_long_long___int64__CProcessorUsage::s_kernelTime]
sbb edi, dword [0x100d2aa4]
add esi, dword [esp + 0x24]
adc edi, dword [esp + 0x28]
mov eax, esi
or eax, edi
je 0x10004ef8
mov eax, esi
sub eax, dword [esp + 0x1c]
mov ecx, edi
sbb ecx, dword [esp + 0x20]
add eax, dword [sym.winzipsshelper.dll_long_long___int64__CProcessorUsage::s_idleTime]
push 0
adc ecx, dword [0x100d2a9c]
push 0x64
push ecx
push eax
call fcn.1006c200
push edi
push esi
push edx
push eax
call fcn.1006c380
mov dword [esp + 0x14], eax
jmp 0x10004efd
and dword [esp + 0x14], 0
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x48]
mov eax, esi
sub eax, dword [sym.winzipsshelper.dll_long_long___int64__CProcessorUsage::s_userTimeProcess]
mov ecx, edi
sbb ecx, dword [0x100d2abc]
sub eax, dword [sym.winzipsshelper.dll_long_long___int64__CProcessorUsage::s_kernelTimeProcess]
push 0
sbb ecx, dword [0x100d2ab4]
add eax, dword [esp + 0x38]
push 0x64
adc ecx, dword [esp + 0x40]
push ecx
push eax
call fcn.1006c200
push dword [esp + 0x50]
push ebx
push edx
push eax
call fcn.1006c380
mov ebx, eax
mov eax, dword [esp + 0x3c]
mov dword [sym.winzipsshelper.dll_long_long___int64__CProcessorUsage::s_time], eax
mov eax, dword [esp + 0x40]
mov dword [0x100d2a94], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [sym.winzipsshelper.dll_int_CProcessorUsage::s_index]
mov dword [sym.winzipsshelper.dll_long_long___int64__CProcessorUsage::s_idleTime], eax
mov eax, dword [esp + 0x20]
mov dword [0x100d2a9c], eax
mov eax, dword [esp + 0x24]
mov dword [sym.winzipsshelper.dll_long_long___int64__CProcessorUsage::s_kernelTime], eax
mov eax, dword [esp + 0x28]
mov dword [0x100d2aa4], eax
mov eax, dword [esp + 0x2c]
mov dword [sym.winzipsshelper.dll_long_long___int64__CProcessorUsage::s_userTime], eax
mov eax, dword [esp + 0x30]
mov dword [0x100d2aac], eax
mov eax, dword [esp + 0x34]
mov dword [sym.winzipsshelper.dll_long_long___int64__CProcessorUsage::s_kernelTimeProcess], eax
mov eax, dword [esp + 0x38]
mov dword [0x100d2ab4], eax
mov eax, ecx
cdq
push 5
mov dword [sym.winzipsshelper.dll_long_long___int64__CProcessorUsage::s_userTimeProcess], esi
pop esi
mov dword [0x100d2abc], edi
mov edi, esi
idiv edi
mov eax, dword [esp + 0x14]
inc ecx
mov dword [edx*4 + sym.winzipsshelper.dll_int__CProcessorUsage::s_cpu], eax
mov eax, ecx
cdq
idiv edi
inc ecx
mov dword [sym.winzipsshelper.dll_int_CProcessorUsage::s_index], ecx
mov ecx, dword [sym.winzipsshelper.dll_int_CProcessorUsage::s_count]
inc ecx
cmp ecx, esi
mov dword [sym.winzipsshelper.dll_int_CProcessorUsage::s_count], ecx
mov dword [edx*4 + sym.winzipsshelper.dll_int__CProcessorUsage::s_cpuProcess], ebx
jle 0x10004ff0
mov ecx, esi
mov dword [sym.winzipsshelper.dll_int_CProcessorUsage::s_count], ecx
xor eax, eax
xor edx, edx
test ecx, ecx
jle 0x10005004
add eax, dword [edx*4 + sym.winzipsshelper.dll_int__CProcessorUsage::s_cpu]
inc edx
cmp edx, ecx
jl 0x10004ff8
cdq
idiv ecx
mov dword [sym.winzipsshelper.dll_int_CProcessorUsage::s_lastCpu], eax
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push dword [esp + 0x54]
mov dword [sym.winzipsshelper.dll_unsigned_long_int_CProcessorUsage::s_TickMark], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ax, si
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret