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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x22c
mov eax, dword [0x418014]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx + 0x24ec]
cmp eax, 1
jne 0x403021
push str._NSplySumDataMan__Inspection_process_information_file_reading_process_Thread_start_____n
call dword [sym.imp.mketools.dll_MkeTlTraceLevel3]
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x60]
mov eax, dword [eax + 8]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x402e9d
push str._NSplySumDataMan___ERR__Inspection_process_information_file_is_0_n
call dword [sym.imp.mketools.dll_MkeTlTraceLevel0]
add esp, 4
lea esi, [ebx + 0xc]
or edi, 0xffffffff
jmp 0x402fd8
mov ecx, dword [0x418e60]
push 0xbc84
mov ecx, dword [ecx + 0x1c]
call dword [sym.imp.mkeutlcl.dll_public:_wchar_t_const____thiscall_MkeLiteralCache::GetString_int_]
lea esi, [ebx + 0xc]
mov dword [esp + 0xc], eax
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esp + 0xc]
mov edi, dword [esp + 0x14]
mov dword [ebx + 0x22d0], 1
mov dword [ebx + 0x22d4], edi
test eax, eax
je 0x402ee9
push eax
lea eax, [ebx + 0x22e0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
mov dword [esp + 0x10], eax
test edi, edi
jle 0x402fb4
xor edi, edi
mov dword [esp + 0xc], edi
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esp + 0x10]
inc eax
mov dword [ebx + 0x22d0], 2
push esi
mov dword [esp + 0x14], eax
mov dword [ebx + 0x22d4], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebx + 0x60]
mov ecx, 0x84
mov esi, dword [eax + 0xc]
lea eax, [esp + 0x20]
add esi, edi
lea edi, [esp + 0x20]
rep movsd dword es:[edi], dword [esi]
push dword [esp + 0x22c]
mov ecx, ebx
push eax
call fcn.00401fe0
mov dword [esp + 0x18], eax
test eax, eax
jne 0x402f9e
cmp dword [ebx + 0x22c8], 1
je 0x402f86
mov edi, dword [esp + 0xc]
lea esi, [ebx + 0xc]
mov eax, dword [esp + 0x10]
add edi, 0x210
mov dword [esp + 0xc], edi
cmp eax, dword [esp + 0x14]
jl 0x402f04
mov edi, dword [esp + 0x18]
lea esi, [ebx + 0xc]
jmp 0x402fb6
push str._NSplySumDataMan___ERR__Paused_in_reading_inspection_process_information_file_n
call dword [sym.imp.mketools.dll_MkeTlTraceLevel0]
add esp, 4
lea esi, [ebx + 0xc]
mov edi, 0xfffffffe
jmp 0x402fb6
push str._NSplySumDataMan___ERR__Failed_in_reading_inspection_process_information_file_n
call dword [sym.imp.mketools.dll_MkeTlTraceLevel0]
add esp, 4
lea esi, [ebx + 0xc]
or edi, 0xffffffff
jmp 0x402fb6
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esp + 0x14]
push esi
mov dword [ebx + 0x22d0], 2
mov dword [ebx + 0x22d4], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push esi
mov dword [ebx + 0x22cc], edi
mov dword [ebx + 0x22c4], 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push dword [esp + 0x20]
call dword [sym.imp.mketools.dll_MkeGetPassTickCount]
mov esi, dword [sym.imp.mketools.dll_MkeTlTraceLevel3]
push eax
push str._NSplySumDataMan__All_file_reading_process_time___8u_msec_n
call esi
push str._NSplySumDataMan__Inspection_process_information_file_reading_process_thread_end_____n
call esi
add esp, 0x14
jmp 0x403030
push eax
push str._NSplySumDataMan___ERR__Thread_process_execution:_No_relevant_process_id_d_n
call dword [sym.imp.mketools.dll_MkeTlTraceLevel0]
add esp, 8
mov ecx, dword [esp + 0x234]
pop edi
pop esi
mov dword [ebx + 0x24ec], 0
pop ebx
xor ecx, esp
call fcn.0040c38d
mov esp, ebp
pop ebp
ret