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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x2048267f
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x204a31e0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [ebp + 0x24]
test ecx, ecx
je 0x2044195b
mov dword [ecx], 0
mov eax, dword [ebp + 0x10]
add eax, 0xfffbffff
cmp eax, 6
ja case.default.0x2044196c
jmp dword [eax*4 + 0x20441f50]
cmp dword [ebp + 0x14], 0
je 0x20441a31
cmp dword [ebp + 0x18], 0x7d
jb 0x20441a31
lea edi, [esi + 0x3fc8]
push edi
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esi + 0x3fac], 0x14
jl 0x204419a4
mov ebx, 0xd
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp ebx, 0xd
jne 0x204419ca
mov eax, 0xd
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
push 0x2dc
call sub.MFC80U.DLL_Ordinal_762
add esp, 4
mov dword [esp + 0x24], eax
xor edi, edi
mov dword [esp + 0x38], edi
cmp eax, edi
je 0x204419ed
push eax
call fcn.20445c00
mov edi, eax
mov dword [esp + 0x38], 0xffffffff
mov ecx, dword [ebp + 0x14]
push edi
call fcn.20446460
add esi, 0x3e28
mov ecx, edi
mov dword [edi + 0x100], esi
call fcn.2042d720
mov eax, dword [edi]
mov edx, dword [eax + 8]
mov ecx, edi
call edx
mov eax, ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
mov eax, 8
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
lea ecx, [esi + 0x3ab4]
call fcn.20464b40
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
mov ebx, dword [ebp + 0x14]
test ebx, ebx
je 0x20441a31
cmp dword [ebp + 0x18], 0x459
jb 0x20441a31
cmp dword [esi + 0x3fb4], 0
je 0x20441aa8
mov eax, dword [esi + 0x3fb0]
test eax, eax
je 0x20441aa8
cmp dword [ebx + 8], eax
jne 0x20441aa8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0x3fb4]
cmp eax, 0x1388
jb 0x20441a56
push 0x5d4
call sub.MFC80U.DLL_Ordinal_762
add esp, 4
mov dword [esp + 0x24], eax
mov dword [esp + 0x38], 1
test eax, eax
je 0x20441acf
push eax
call fcn.2044d120
mov edi, eax
jmp 0x20441ad1
xor edi, edi
mov dword [esp + 0x38], 0xffffffff
push edi
mov edx, ebx
call fcn.2044d250
mov ecx, edi
call fcn.2042d720
mov eax, dword [edi]
mov edx, dword [eax + 8]
mov ecx, edi
call edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x3fb4], eax
mov eax, dword [ebx + 8]
mov dword [esi + 0x3fb0], eax
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
cmp dword [ebp + 0x14], 0
je 0x20441a31
cmp dword [ebp + 0x18], 0x7d
jb 0x20441a31
lea ebx, [esi + 0x3fc8]
push ebx
xor edi, edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esi + 0x3fac], 0x14
jl 0x20441b4e
mov edi, 0xd
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp edi, 0xd
je 0x204419b0
push 0xe8
call sub.MFC80U.DLL_Ordinal_762
add esp, 4
mov dword [esp + 0x24], eax
mov dword [esp + 0x38], 2
test eax, eax
je 0x20441b85
push eax
call fcn.20444810
mov esi, eax
jmp 0x20441b87
xor esi, esi
mov dword [esp + 0x38], 0xffffffff
mov ebx, dword [ebp + 0x14]
push esi
call fcn.20444eb0
mov ecx, esi
call fcn.2042d720
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
mov edi, dword [ebp + 0x14]
test edi, edi
je 0x20441a31
cmp dword [ebp + 0x18], 0x130
jb 0x20441a31
push 0x58
call sub.MFC80U.DLL_Ordinal_762
add esp, 4
mov dword [esp + 0x24], eax
mov dword [esp + 0x38], 3
test eax, eax
je 0x20441bfb
push eax
call fcn.2044e000
mov esi, eax
jmp 0x20441bfd
xor esi, esi
mov dword [esp + 0x38], 0xffffffff
mov ecx, esi
call fcn.2042d720
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
mov esi, dword [ebp + 0x14]
test esi, esi
je 0x20441a31
cmp dword [ebp + 0x18], 0x19
jb 0x20441a31
mov ebx, dword [ebp + 0x1c]
test ebx, ebx
je 0x20441d67
mov edi, 4
cmp dword [ebp + 0x20], edi
jb 0x20441d67
test ecx, ecx
je 0x20441d67
mov dword [ecx], edi
cmp dword [esi], 0x19
je 0x20441c81
lea eax, [edi - 2]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
cmp dword [esi + 0x11], 0
je 0x20441a31
push 0x7c
call sub.MFC80U.DLL_Ordinal_762
add esp, 4
mov dword [esp + 0x24], eax
mov dword [esp + 0x38], edi
test eax, eax
je 0x20441cc2
mov ecx, dword [esi + 4]
mov edx, dword [esi + 0xd]
push ecx
mov ecx, dword [esi + 9]
add edx, esi
push edx
mov edx, dword [esi + 0x11]
push ecx
mov ecx, dword [esi + 0x15]
push edx
add ecx, esi
push eax
call fcn.2044c310
mov edi, eax
jmp 0x20441cc4
xor edi, edi
mov dword [esp + 0x38], 0xffffffff
mov ecx, edi
call fcn.2042d720
mov dword [ebx], eax
mov eax, dword [edi]
mov edx, dword [eax + 8]
mov ecx, edi
call edx
cmp dword [ebx], 0xffffffff
jne 0x20441d50
mov dword [ebx], 4
mov eax, dword [esi + 0x15]
mov ecx, dword [eax + esi]
add eax, esi
push ecx
add eax, 4
push eax
push 0x10001
call dword [0x204a3054]
mov esi, eax
test esi, esi
je 0x20441d50
mov eax, dword [esi + 0xc]
lea edx, [esp + 0x13]
push edx
mov edx, dword [eax + 0x44]
lea ecx, [esp + 0x16]
push ecx
mov ecx, dword [eax + 0x48]
push edx
mov edx, dword [eax + 0x30]
mov eax, dword [eax + 0x34]
push ecx
mov ecx, dword [0x204a55cc]
push edx
push eax
add ecx, 0x3efc
push ecx
call fcn.2043eac0
test al, al
je 0x20441d49
xor edx, edx
cmp byte [esp + 0x12], dl
setne dl
lea edx, [edx + edx + 1]
mov dword [ebx], edx
push esi
call dword [0x204a3060]
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
mov eax, 5
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
mov edi, dword [ebp + 0x14]
test edi, edi
je 0x20441a31
cmp dword [ebp + 0x18], 0x7d
jb 0x20441a31
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
mov dword [esp + 0x38], 5
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
mov byte [esp + 0x38], 6
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
mov byte [esp + 0x38], 7
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
mov byte [esp + 0x38], 8
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
mov bl, 9
mov byte [esp + 0x38], bl
push 0x27a
lea ecx, [esp + 0x28]
call dword [sym.imp.MFC80U.DLL_Ordinal_4026]
xor eax, eax
cmp dword [edi + 0x20], 1
lea ecx, [esp + 0x1c]
setne al
add eax, 0xa7
push eax
call dword [sym.imp.MFC80U.DLL_Ordinal_4026]
movzx esi, byte [edi + 0x78]
call fcn.20410b40
test eax, eax
je 0x20441e2c
call fcn.20410b40
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
jmp 0x20441e40
push esi
lea ecx, [esp + 0x1c]
push 0x2048587c
push ecx
call dword [sym.imp.MFC80U.DLL_Ordinal_2311]
add esp, 0xc
mov edx, dword [edi + 0x79]
add edx, edi
push edx
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
push 0x5c
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_5524]
cmp eax, 0xffffffff
jne 0x20441e65
xor eax, eax
jmp 0x20441e68
add eax, 1
mov ecx, dword [esp + 0x14]
lea edx, [ecx + eax*2]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push edx
push eax
push ecx
lea edx, [esp + 0x2c]
push 0x27b
push edx
call dword [sym.imp.MFC80U.DLL_Ordinal_2310]
add esp, 0x14
push 0x58
call sub.MFC80U.DLL_Ordinal_762
add esp, 4
mov dword [esp + 0x28], eax
mov byte [esp + 0x38], 0xa
test eax, eax
je 0x20441eb8
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x24]
push edx
push eax
call fcn.2044ce70
mov esi, eax
jmp 0x20441eba
xor esi, esi
mov byte [esp + 0x38], bl
mov ecx, esi
call fcn.2042d720
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov byte [esp + 0x38], 8
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov byte [esp + 0x38], 7
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov byte [esp + 0x38], 6
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov byte [esp + 0x38], 5
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
mov eax, 7
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20