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

Disassembly:
mov eax, 0x102517c
call fcn.01024a78
sub esp, 0x894
mov eax, dword [0x1029fe8]
push ebx
push esi
mov ebx, ecx
push edi
push ebx
lea ecx, [ebp - 0x8a0]
mov dword [ebp - 0x10], eax
call sub.MFC42u.DLL_CClientDC::CClientDC
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x880], edi
mov dword [ebp - 0x884], 0x10020e4
mov eax, dword [ebx + 0x2a4]
cmp eax, 7
mov byte [ebp - 4], 1
mov dword [ebp - 0x88c], edi
je 0x100eda6
cmp eax, 9
jne 0x100edad
mov ecx, ebx
call fcn.0100e9d4
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x102a100
lea eax, [ebp - 0x218]
push eax
call esi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push eax
call esi
lea eax, [ebp - 0x420]
push 0x2e
push eax
call dword [sym.imp.msvcrt.dll_wcsrchr]
cmp eax, edi
pop ecx
pop ecx
je 0x100ede9
mov word [eax], di
push 0x1001d34
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov dword [ebp - 0x888], eax
call edi
sub eax, dword [ebp - 0x888]
cmp eax, 0x3e8
jb 0x100ee09
push 0
call sub.GDI32.dll_EnableEUDC
test eax, eax
jne 0x100ee3d
push eax
push 0x1002290
push 0x1002268
mov ecx, ebx
call sub.MFC42u.DLL_CWnd::MessageBoxW
xor esi, esi
inc esi
jmp 0x100f0f6
call fcn.0100a29f
lea eax, [ebp - 0x218]
push eax
call fcn.0100a2e4
test eax, eax
jne 0x100ef4c
push 0x17
pop ecx
lea edi, [ebp - 0x87c]
rep stosd dword es:[edi], eax
push 0x102af04
lea eax, [ebp - 0x860]
push eax
mov dword [ebp - 0x88c], 1
call esi
cmp dword [0x102af68], 0x411
mov eax, dword [0x102b5e8]
mov dword [ebp - 0x87c], eax
mov eax, dword [0x102b5ec]
mov dword [ebp - 0x878], eax
mov al, byte [0x102af6c]
mov byte [ebp - 0x864], 7
mov byte [ebp - 0x865], al
mov byte [ebp - 0x861], 0x10
jne 0x100eebb
mov byte [ebp - 0x861], 0x11
lea eax, [ebp - 0x87c]
push eax
lea ecx, [ebp - 0x884]
call fcn.0100abdd
test eax, eax
jne 0x100eeed
mov ebx, dword [ebx + 0x20]
xor esi, esi
inc esi
push esi
push 0xef6e
push 0xef33
push ebx
call fcn.010225fa
jmp 0x100f0eb
lea eax, [ebp - 0x884]
push eax
lea ecx, [ebp - 0x8a0]
call sub.MFC42u.DLL_CDC::SelectObject_2
mov esi, eax
xor eax, eax
cmp dword [0x102a51c], eax
sete al
push eax
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x89c]
call fcn.0100a621
test eax, eax
lea ecx, [ebp - 0x8a0]
push esi
je 0x100ef3c
call sub.MFC42u.DLL_CDC::SelectObject_2
lea ecx, [ebp - 0x884]
call sub.MFC42u.DLL_CGdiObject::DeleteObject
jmp 0x100ef7b
call sub.MFC42u.DLL_CDC::SelectObject_2
lea ecx, [ebp - 0x884]
call sub.MFC42u.DLL_CGdiObject::DeleteObject
mov eax, dword [0x102b5ec]
add eax, 0xf
cdq
push 0x10
pop ecx
idiv ecx
mov ecx, dword [0x102b5e8]
movzx esi, cx
imul esi, eax
imul eax, ecx
shl eax, 1
push eax
shl esi, 1
call dword [sym.imp.msvcrt.dll_malloc]
mov edi, eax
test edi, edi
pop ecx
jne 0x100ef88
call fcn.0100a2c7
xor esi, esi
inc esi
jmp 0x100f0f0
push edi
push esi
lea ecx, [ebx + 0xd8]
call fcn.0100ac6e
xor esi, esi
inc esi
push esi
push dword [0x102b5ec]
push edi
call fcn.0100a4ab
test eax, eax
jl 0x100f0e3
push dword [0x102af44]
xor eax, eax
mov ax, word [ebx + 0x2ac]
push eax
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x89c]
call fcn.0100a35c
cmp eax, 0xfffffffd
jne 0x100f050
push edi
call dword [sym.imp.msvcrt.dll_free]
pop ecx
call fcn.0100a2c7
push esi
call sub.GDI32.dll_EnableEUDC
call sub.MFC42u.DLL_AfxGetModuleState
mov eax, dword [eax + 8]
mov edi, dword [sym.imp.USER32.dll_LoadStringW]
push 0x100
lea ecx, [ebp - 0x820]
push ecx
push 0xef78
push eax
mov dword [ebp - 0x888], eax
call edi
push 0x100
lea eax, [ebp - 0x620]
push eax
push 0xef3b
push dword [ebp - 0x888]
call edi
push dword [ebp + 8]
lea eax, [ebp - 0x620]
push eax
lea eax, [ebp - 0x820]
push eax
mov ecx, ebx
call sub.MFC42u.DLL_CWnd::MessageBoxW
cmp eax, 2
jne 0x100f0f6
xor esi, esi
jmp 0x100f0f6
test eax, eax
jge 0x100f07d
push edi
call dword [sym.imp.msvcrt.dll_free]
pop ecx
call fcn.0100a2c7
push esi
call sub.GDI32.dll_EnableEUDC
mov ebx, dword [ebx + 0x20]
push esi
push 0xef5f
push 0xef3b
push ebx
call fcn.010225fa
jmp 0x100f0f6
cmp dword [ebp - 0x88c], 0
je 0x100f096
lea eax, [ebp - 0x420]
push eax
call fcn.0100a122
test eax, eax
jne 0x100f0e3
lea eax, [ebp - 0x420]
push eax
call fcn.01023077
test eax, eax
jne 0x100f0e3
push dword [0x102af44]
mov ax, word [ebx + 0x2ac]
push dword [0x102b5e8]
push dword [0x102b5ec]
push edi
push eax
call fcn.01023695
test eax, eax
je 0x100f0d1
call fcn.01023124
jmp 0x100f0e3
call fcn.01023124
and dword [ebx + 0x100], 0
mov dword [0x1029528], esi
push edi
call dword [sym.imp.msvcrt.dll_free]
pop ecx
call fcn.0100a2c7
push esi
call sub.GDI32.dll_EnableEUDC
lea ecx, [ebp - 0x884]
mov dword [ebp - 0x884], 0x10020e4
mov byte [ebp - 4], 0
call fcn.01007466
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8a0]
call fcn.0102403c
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.01023881
leave
ret 4