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

Disassembly:
push 0xffffffffffffffff
push 0x101e594b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8c
push ebx
push ebp
push 0xffffffffffffffff
xor ebx, ebx
push 0xffffffffffffffff
push ebx
mov ebp, ecx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x20]
call fcn.10047440
lea eax, [ebp + 0x70]
push 1
push eax
lea ecx, [esp + 0x90]
mov dword [esp + 0xa4], ebx
call sub.MFC42u.DLL_CSingleLock::CSingleLock
mov ecx, dword [ebp + 0x30]
mov edx, dword [esp + 0xa4]
mov byte [esp + 0x9c], 1
mov ecx, dword [ecx + edx*4]
cmp dword [ecx + 0xc], ebx
jne 0x10049151
lea ecx, [esp + 0x88]
mov byte [esp + 0x9c], bl
call sub.MFC42u.DLL_CSingleLock::Unlock
lea ecx, [esp + 8]
mov dword [esp + 0x9c], 0xffffffff
call fcn.100474a0
jmp 0x100493d1
mov eax, dword [ecx + 4]
push edi
mov edx, dword [eax]
mov edi, dword [eax + 8]
cmp edx, ebx
mov dword [ecx + 4], edx
je 0x10049166
mov dword [edx + 4], ebx
jmp 0x10049169
mov dword [ecx + 8], ebx
mov edx, dword [ecx + 0x10]
mov dword [eax], edx
mov dword [ecx + 0x10], eax
mov eax, dword [ecx + 0xc]
dec eax
mov dword [ecx + 0xc], eax
jne 0x1004917f
call fcn.1004cfc0
mov ecx, dword [edi + 0xc]
lea eax, [edi + 8]
mov dword [esp + 0x10], ecx
push esi
mov edx, dword [eax + 8]
lea esi, [ebp + 0x40]
mov dword [esp + 0x18], edx
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x20], ecx
mov edx, dword [eax + 0x14]
mov dword [esp + 0x24], edx
mov ecx, dword [eax + 0x18]
mov dword [esp + 0x28], ecx
mov edx, dword [eax + 0x1c]
mov dword [esp + 0x2c], edx
mov ecx, dword [eax + 0x20]
mov dword [esp + 0x30], ecx
mov edx, dword [eax + 0x24]
mov dword [esp + 0x34], edx
mov ecx, dword [eax + 0x28]
mov dword [esp + 0x38], ecx
mov edx, dword [eax + 0x2c]
mov dword [esp + 0x3c], edx
mov ecx, dword [eax + 0x30]
mov dword [esp + 0x40], ecx
mov edx, dword [eax + 0x34]
mov dword [esp + 0x44], edx
mov ecx, dword [eax + 0x38]
mov dword [esp + 0x48], ecx
mov ecx, dword [esi + 4]
mov edx, dword [eax + 0x3c]
cmp edi, ecx
mov dword [esp + 0x4c], edx
jne 0x100491f6
mov ecx, dword [edi]
mov dword [esi + 4], ecx
jmp 0x100491fd
mov edx, dword [edi + 4]
mov ecx, dword [edi]
mov dword [edx], ecx
cmp edi, dword [esi + 8]
jne 0x1004920a
mov edx, dword [edi + 4]
mov dword [esi + 8], edx
jmp 0x10049212
mov ecx, dword [edi]
mov edx, dword [edi + 4]
mov dword [ecx + 4], edx
push 1
push eax
call fcn.1004cbd0
mov eax, dword [esi + 0x10]
mov dword [edi], eax
mov eax, dword [esi + 0xc]
dec eax
mov dword [esi + 0x10], edi
mov dword [esi + 0xc], eax
jne 0x10049232
mov ecx, esi
call fcn.1004b810
lea ecx, [esp + 0x90]
mov byte [esp + 0xa4], bl
call sub.MFC42u.DLL_CSingleLock::Unlock
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x18]
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x5c], 0x101fa9cc
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x50], 0x101fa9c8
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov byte [esp + 0xa4], 2
call esi
lea edi, [ebp + 0x1f0]
lea edx, [esp + 0x50]
push edx
mov ecx, edi
mov dword [esp + 0x7c], eax
call fcn.1004aea0
call esi
mov ebp, eax
mov eax, dword [0x10282758]
cmp eax, ebx
je 0x1004933c
mov eax, dword [esp + 0x44]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
push eax
push ecx
push str.CTaskMgr2::_Dispose_start__Type__lu__Level__lu__Dispose_0x_x__0x_x_
push str.CTaskMgr2
push 0xffffffffffffffff
push 0x10281ec4
call fcn.100de220
add esp, 0x20
lea ecx, [esp + 0x10]
call fcn.100474d0
call esi
mov ecx, dword [0x10282758]
sub eax, ebp
cmp eax, 0x3e8
pop esi
jb 0x1004936e
cmp ecx, ebx
je 0x10049397
push eax
mov eax, dword [esp + 0x44]
mov edx, dword [eax]
mov eax, dword [eax + 4]
push edx
push eax
push str.CTaskMgr2::_Dispose_end__Dispose_0x_x__0x_x__span__lu__
jmp 0x10049383
cmp ecx, ebx
je 0x10049397
push eax
mov eax, dword [esp + 0x44]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
push ecx
push edx
push str.CTaskMgr2::_Dispose_end__Dispose_0x_x__0x_x__span__lu_
push str.CTaskMgr2
push 0xffffffffffffffff
push 0x10281ec4
call fcn.100de220
add esp, 0x1c
lea eax, [esp + 0x4c]
mov ecx, edi
push eax
call fcn.1004b000
lea ecx, [esp + 0xc]
call fcn.10047680
lea ecx, [esp + 0x4c]
mov byte [esp + 0xa0], bl
call fcn.100474a0
lea ecx, [esp + 0xc]
mov dword [esp + 0xa0], 0xffffffff
call fcn.100474a0
pop edi
mov ecx, dword [esp + 0x94]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x98
ret 8