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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 0x10], ebx
xor edi, edi
mov eax, dword [0x475014]
cmp eax, 0x475014
je 0x421afa
test dword [eax + 0x1c], 0x100
je 0x421afa
cmp byte [eax + 0x19], 4
jb 0x421afa
push dword [eax + 0x14]
mov edx, 0x409fa8
push dword [eax + 0x10]
push 0x12
pop ecx
call fcn.00414ca8
mov dword [ebp - 0xc], ebx
jmp 0x421c67
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
mov eax, dword [0x475014]
cmp eax, 0x475014
je 0x421b3d
test dword [eax + 0x1c], 0x100
je 0x421b3d
cmp byte [eax + 0x19], 5
jb 0x421b3d
push 0x493e0
push dword [eax + 0x14]
mov edx, 0x409fa8
push dword [eax + 0x10]
push 0x13
pop ecx
call fcn.00414ccb
push 0x1cff
push 0x493e0
push 0
lea eax, [ebp - 0xc]
push eax
push 2
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov ecx, dword [0x475014]
mov edx, 0x475014
mov eax, 0x100
cmp ecx, edx
je 0x421bb3
test dword [ecx + 0x1c], eax
je 0x421bb3
cmp byte [ecx + 0x19], 5
jb 0x421bb3
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebx
mov ebx, 0x409fa8
push eax
mov eax, dword [0x475014]
mov edx, ebx
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x14
pop ecx
call fcn.00414ccb
mov ecx, dword [0x475014]
mov eax, 0x100
mov edx, 0x475014
jmp 0x421bb8
mov ebx, 0x409fa8
test edi, edi
je 0x421d1b
cmp edi, 1
je 0x421d02
cmp edi, 2
jne 0x421c89
push 0
push 0
push 0
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
cmp eax, 1
jne 0x421c7c
mov eax, dword [0x475014]
cmp eax, 0x475014
je 0x421c19
test dword [eax + 0x1c], 0x100
je 0x421c19
cmp byte [eax + 0x19], 5
jb 0x421c19
push dword [ebp - 0x28]
mov edx, ebx
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x18
pop ecx
call fcn.00414ccb
call fcn.00416549
mov ebx, eax
test ebx, ebx
je 0x421d3c
cmp dword [ebp - 0x28], 0x36a
je 0x421c61
mov ecx, dword [ebx]
lea eax, [ebp - 0x2c]
push eax
mov esi, dword [ecx + 0x98]
mov ecx, esi
call dword [0x478f64]
mov ecx, ebx
call esi
test eax, eax
jne 0x421c61
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [0x476cb8]
mov dword [ebp - 8], eax
test eax, eax
jne 0x421b02
jmp 0x421d3c
push 0
call dword [sym.imp.MFC42u.dll_AfxPostQuitMessage]
jmp 0x421d3a
cmp edi, 0x102
je 0x421ce4
cmp edi, 0xffffffff
je 0x421cc4
cmp ecx, edx
je 0x421d3c
test dword [ecx + 0x1c], eax
je 0x421d3c
cmp byte [ecx + 0x19], 5
jb 0x421d3c
push edi
push dword [ecx + 0x14]
push dword [ecx + 0x10]
push 0x1a
mov edx, ebx
pop ecx
call fcn.00414ccb
jmp 0x421d3c
mov edi, esi
cmp esi, 6
jne 0x421d3c
cmp ecx, edx
je 0x421d3a
test dword [ecx + 0x1c], eax
je 0x421d3a
cmp byte [ecx + 0x19], 5
jb 0x421d3a
push dword [ecx + 0x14]
push dword [ecx + 0x10]
push 0x15
jmp 0x421d32
cmp ecx, edx
je 0x421d3c
test dword [ecx + 0x1c], eax
je 0x421d3c
cmp byte [ecx + 0x19], 5
jb 0x421d3c
push 0x493e0
push dword [ecx + 0x14]
push dword [ecx + 0x10]
push 0x19
jmp 0x421cba
cmp ecx, edx
je 0x421d3a
test dword [ecx + 0x1c], eax
je 0x421d3a
cmp byte [ecx + 0x19], 5
jb 0x421d3a
push dword [ecx + 0x14]
push dword [ecx + 0x10]
push 0x17
jmp 0x421d32
cmp ecx, edx
je 0x421d3a
test dword [ecx + 0x1c], eax
je 0x421d3a
cmp byte [ecx + 0x19], 5
jb 0x421d3a
push dword [ecx + 0x14]
push dword [ecx + 0x10]
push 0x16
mov edx, ebx
pop ecx
call fcn.00414ca8
xor edi, edi
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00468ba0
mov esp, ebp
pop ebp
ret