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

Disassembly:
mov eax, 0x4249d0
call sub.MSVCRT.dll__EH_prolog
sub esp, 0x24
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x10], ebx
call fcn.00423918
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], ebx
call fcn.00423918
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 1
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov esi, dword [ebp + 0x28]
push dword [ebp + 0x10]
lea ecx, [ebp - 0x18]
mov word [esi], 0xa
mov dword [esi + 8], ebx
call fcn.00423948
mov eax, dword [ebp - 0x18]
cmp dword [eax - 8], ebx
jne 0x407e4b
and byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x40835a
push dword [sym.imp.MSVCRT.dll__strcmpi]
mov ebx, 0x42db08
push 0x1e
push 0x1d
push ebx
push eax
call dword [sym.imp.MSVCRT.dll_bsearch]
add esp, 0x14
test eax, eax
jne 0x407e8f
and byte [ebp - 4], al
lea ecx, [ebp - 0x14]
mov dword [esi + 8], 0xc103030e
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString
push 1
pop eax
jmp 0x40835a
sub eax, ebx
push 0x1e
cdq
pop ecx
idiv ecx
mov ebx, eax
cmp ebx, 0x1c
ja case.default.0x407ea2
jmp dword [ebx*4 + 0x40836b]
cmp word [ebp + 0x18], 8
jne 0x4082c0
push dword [ebp + 0x20]
lea ecx, [ebp + 0x28]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [ebp + 0x28]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::TrimLeft
mov eax, dword [ebp + 0x28]
cmp dword [eax - 8], 0
je 0x407f5d
push str.:__.__
lea ecx, [ebp + 0x28]
call sub.MFC42.DLL_CString::FindOneOf
cmp eax, 0xffffffff
jne 0x407f5d
mov eax, dword [ebp + 0x28]
cmp dword [eax - 8], 0xc
jle 0x407f1a
lea eax, [ebp + 0x14]
push 0xc
push eax
lea ecx, [ebp + 0x28]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [ebp + 0x28]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::operator_2
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
push edi
push ecx
lea eax, [ebp + 0x28]
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [0x42fd2c]
mov ecx, dword [eax + 4]
call fcn.0040fbf1
test eax, eax
je 0x407f49
mov dword [esi + 8], 0xc1030301
mov dword [ebp - 0x10], 1
cmp dword [ebp - 0x10], 0
jne 0x407f6b
lea eax, [ebp + 0x28]
lea ecx, [edi + 0x10]
push eax
call sub.MFC42.DLL_CString::operator_2
jmp 0x407f6b
mov dword [esi + 8], 0xc1030311
mov dword [ebp - 0x10], 1
lea ecx, [ebp + 0x28]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
jmp 0x40833f
cmp word [ebp + 0x18], 8
jne 0x4082c0
push dword [ebp + 0x20]
lea ecx, [edi + 0x14]
call fcn.00423948
jmp 0x40833f
cmp word [ebp + 0x18], 8
jne 0x4082c0
push dword [ebp + 0x20]
lea ecx, [edi + 0xd4]
call fcn.00423948
push 0
mov ecx, edi
call fcn.0040a325
jmp 0x40833f
cmp word [ebp + 0x18], 2
je 0x407fe0
push 2
lea eax, [ebp + 0x18]
push 0
push eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
test eax, eax
jge 0x407ff6
jmp 0x4082c0
lea eax, [ebp + 0x18]
push eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
jl case.default.0x407ea2
cmp word [ebp - 0x28], 0
jne 0x408009
and dword [edi + 0x98], 0
jmp 0x40833f
mov dword [edi + 0x98], 1
jmp 0x40833f
cmp word [ebp + 0x18], 2
je 0x40803a
push 2
lea eax, [ebp + 0x18]
push 0
push eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
test eax, eax
jge 0x408050
jmp 0x4082c0
lea eax, [ebp + 0x18]
push eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
jl case.default.0x407ea2
cmp word [ebp - 0x28], 0
jne 0x408063
and dword [edi + 0xc8], 0
jmp 0x40833f
mov dword [edi + 0xc8], 1
jmp 0x40833f
cmp word [ebp + 0x18], 2
je 0x408094
push 2
lea eax, [ebp + 0x18]
push 0
push eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
test eax, eax
jge 0x4080aa
jmp 0x4082c0
lea eax, [ebp + 0x18]
push eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
jl case.default.0x407ea2
xor eax, eax
cmp word [ebp - 0x28], ax
jne 0x4082f1
cmp ebx, 0x15
jne 0x4080c6
mov dword [edi + 0xcc], eax
jmp 0x40833f
mov dword [edi + 0xd0], eax
jmp 0x40833f
cmp word [ebp + 0x18], 2
je 0x4080f3
push 2
lea eax, [ebp + 0x18]
push 0
push eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
test eax, eax
jge 0x408109
jmp 0x4082c0
lea eax, [ebp + 0x18]
push eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
jl case.default.0x407ea2
xor ebx, ebx
cmp word [ebp - 0x28], bx
jne 0x40811d
push ebx
push 1
mov ecx, edi
call fcn.00408482
jmp 0x408126
push 1
mov ecx, edi
call fcn.004083df
cmp eax, ebx
mov dword [esi + 8], eax
jge 0x40833f
jmp 0x40832b
cmp word [ebp + 0x18], 2
je 0x408158
push 2
lea eax, [ebp + 0x18]
push 0
push eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
test eax, eax
jge 0x40816e
jmp 0x4082c0
lea eax, [ebp + 0x18]
push eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
jl case.default.0x407ea2
cmp word [ebp - 0x28], 0
jne 0x40817e
and dword [edi + 0x38], 0
jmp 0x40833f
mov dword [edi + 0x38], 1
jmp 0x40833f
cmp word [ebp + 0x18], 2
je 0x4081ac
push 2
lea eax, [ebp + 0x18]
push 0
push eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
test eax, eax
jge 0x4081c2
jmp 0x4082c0
lea eax, [ebp + 0x18]
push eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
jl case.default.0x407ea2
cmp word [ebp - 0x28], 0
jne 0x4081d2
and dword [edi + 0x3c], 0
jmp 0x40833f
mov dword [edi + 0x3c], 1
jmp 0x40833f
cmp word [ebp + 0x18], 8
jne 0x4082c0
push dword [ebp + 0x20]
lea ecx, [ebp - 0x14]
call fcn.00423948
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::TrimLeft
mov eax, dword [ebp - 0x14]
cmp dword [eax - 8], 0
jne 0x40820d
or eax, 0xffffffff
mov dword [ebp - 0x1c], eax
jmp 0x408222
lea ecx, [ebp - 0x1c]
push ecx
push eax
call fcn.0041daa0
test eax, eax
je 0x4082f1
mov eax, dword [ebp - 0x1c]
cmp ebx, 0x12
jne 0x408242
cmp dword [edi + 0x28], 0
mov dword [edi + 0x18], eax
je 0x40833f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [edi + 0x28], eax
jmp 0x40833f
cmp ebx, 0x17
jne 0x40824f
mov dword [edi + 0x1c], eax
jmp 0x40833f
cmp eax, 0x3e8
jb 0x4082f1
mov dword [edi + 0x24], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, dword [edi + 0x24]
mov dword [edi + 0x2c], eax
jmp 0x40833f
cmp word [ebp + 0x18], 8
jne 0x4082c0
push dword [ebp + 0x20]
lea ecx, [ebp - 0x14]
call fcn.00423948
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::TrimLeft
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x14]
call fcn.0041daa0
test eax, eax
je 0x4082f1
mov eax, dword [ebp - 0x1c]
mov dword [edi + 0x20], eax
jmp 0x40833f
cmp word [ebp + 0x18], 4
je 0x4082c9
push 4
lea eax, [ebp + 0x18]
push 0
push eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
test eax, eax
jge 0x4082db
mov dword [esi + 8], 0xc1030310
jmp 0x40832b
lea eax, [ebp + 0x18]
push eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
jl case.default.0x407ea2
fld dword [ebp - 0x28]
fcomp dword [0x427124]
fnstsw ax
sahf
jb 0x4082f1
mov eax, dword [ebp - 0x28]
mov dword [edi + 0x34], eax
jmp 0x40833f
mov dword [esi + 8], 0xc1030311
jmp 0x40832b
and dword [edi + 0x60], 0
jmp 0x40833f
and dword [edi + 0x50], 0
jmp 0x40833f
and dword [edi + 0x4c], 0
jmp 0x40833f
and dword [edi + 0x5c], 0
jmp 0x40833f
and dword [edi + 0x54], 0
jmp 0x40833f
and dword [edi + 0x58], 0
jmp 0x40833f
and dword [edi + 0x68], 0
jmp 0x40833f
mov dword [esi + 8], 0xc103030f
mov dword [ebp - 0x10], 1
jmp 0x40833f
mov eax, 0x80004005
mov dword [esi + 8], eax
mov dword [ebp - 0x10], eax
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x24