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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10054e3d
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x10086038]
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.PCBRhelper.dll_Ordinal_1304]
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x4c], eax
mov eax, dword [0x10088efc]
mov dword [esp + 0x50], eax
mov eax, dword [sym.PCBRhelper.dll_Ordinal_1303]
mov dword [esp + 0x14], eax
call ebx
sub eax, dword [sym.PCBRhelper.dll_Ordinal_1295]
and eax, 0x7fffffff
cmp eax, 0xc8
ja 0x100044c6
push dword [esp + 0x54]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ax, word [esp + 0x14]
jmp 0x100047cf
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 0x100045e4
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x24]
push eax
call sym.PCBRhelper.dll_Ordinal_520
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.PCBRhelper.dll_Ordinal_1304], eax
mov eax, dword [esp + 0x40]
mov dword [0x10088efc], eax
mov eax, dword [esp + 0x1c]
mov dword [sym.PCBRhelper.dll_Ordinal_1299], eax
mov eax, dword [esp + 0x20]
mov dword [0x10088f04], eax
mov eax, dword [esp + 0x24]
mov dword [sym.PCBRhelper.dll_Ordinal_1301], eax
mov eax, dword [esp + 0x28]
mov dword [0x10088f0c], eax
mov eax, dword [esp + 0x2c]
mov dword [sym.PCBRhelper.dll_Ordinal_1305], eax
mov eax, dword [esp + 0x30]
mov dword [0x10088f14], eax
mov eax, dword [esp + 0x34]
mov dword [sym.PCBRhelper.dll_Ordinal_1302], eax
mov eax, dword [esp + 0x38]
mov dword [0x10088f1c], eax
mov eax, dword [esp + 0x44]
mov dword [sym.PCBRhelper.dll_Ordinal_1306], eax
mov eax, dword [esp + 0x48]
mov dword [0x10088f24], eax
mov dword [sym.PCBRhelper.dll_Ordinal_1303], esi
call ebx
push dword [esp + 0x54]
mov dword [sym.PCBRhelper.dll_Ordinal_1295], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
jmp 0x100047cf
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.PCBRhelper.dll_Ordinal_520
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.PCBRhelper.dll_Ordinal_1305]
mov edi, dword [esp + 0x30]
sbb edi, dword [0x10088f14]
sub esi, dword [sym.PCBRhelper.dll_Ordinal_1301]
sbb edi, dword [0x10088f0c]
add esi, dword [esp + 0x24]
adc edi, dword [esp + 0x28]
mov eax, esi
or eax, edi
je 0x100046a1
mov eax, esi
sub eax, dword [esp + 0x1c]
mov ecx, edi
sbb ecx, dword [esp + 0x20]
add eax, dword [sym.PCBRhelper.dll_Ordinal_1299]
push 0
adc ecx, dword [0x10088f04]
push 0x64
push ecx
push eax
call fcn.100517f0
push edi
push esi
push edx
push eax
call fcn.10051680
mov dword [esp + 0x14], eax
jmp 0x100046a6
and dword [esp + 0x14], 0
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x48]
mov eax, esi
sub eax, dword [sym.PCBRhelper.dll_Ordinal_1306]
mov ecx, edi
sbb ecx, dword [0x10088f24]
sub eax, dword [sym.PCBRhelper.dll_Ordinal_1302]
push 0
sbb ecx, dword [0x10088f1c]
add eax, dword [esp + 0x38]
push 0x64
adc ecx, dword [esp + 0x40]
push ecx
push eax
call fcn.100517f0
push dword [esp + 0x50]
push ebx
push edx
push eax
call fcn.10051680
mov ebx, eax
mov eax, dword [esp + 0x3c]
mov dword [sym.PCBRhelper.dll_Ordinal_1304], eax
mov eax, dword [esp + 0x40]
mov dword [0x10088efc], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [sym.PCBRhelper.dll_Ordinal_1300]
mov dword [sym.PCBRhelper.dll_Ordinal_1299], eax
mov eax, dword [esp + 0x20]
mov dword [0x10088f04], eax
mov eax, dword [esp + 0x24]
mov dword [sym.PCBRhelper.dll_Ordinal_1301], eax
mov eax, dword [esp + 0x28]
mov dword [0x10088f0c], eax
mov eax, dword [esp + 0x2c]
mov dword [sym.PCBRhelper.dll_Ordinal_1305], eax
mov eax, dword [esp + 0x30]
mov dword [0x10088f14], eax
mov eax, dword [esp + 0x34]
mov dword [sym.PCBRhelper.dll_Ordinal_1302], eax
mov eax, dword [esp + 0x38]
mov dword [0x10088f1c], eax
mov eax, ecx
cdq
push 5
mov dword [sym.PCBRhelper.dll_Ordinal_1306], esi
pop esi
mov dword [0x10088f24], edi
mov edi, esi
idiv edi
mov eax, dword [esp + 0x14]
inc ecx
mov dword [edx*4 + sym.PCBRhelper.dll_Ordinal_1297], eax
mov eax, ecx
cdq
idiv edi
inc ecx
mov dword [sym.PCBRhelper.dll_Ordinal_1300], ecx
mov ecx, dword [sym.PCBRhelper.dll_Ordinal_1296]
inc ecx
cmp ecx, esi
mov dword [sym.PCBRhelper.dll_Ordinal_1296], ecx
mov dword [edx*4 + sym.PCBRhelper.dll_Ordinal_1298], ebx
jle 0x10004799
mov ecx, esi
mov dword [sym.PCBRhelper.dll_Ordinal_1296], ecx
xor eax, eax
xor edx, edx
test ecx, ecx
jle 0x100047ad
add eax, dword [edx*4 + sym.PCBRhelper.dll_Ordinal_1297]
inc edx
cmp edx, ecx
jl 0x100047a1
cdq
idiv ecx
mov dword [sym.PCBRhelper.dll_Ordinal_1303], eax
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push dword [esp + 0x54]
mov dword [sym.PCBRhelper.dll_Ordinal_1295], 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