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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
cmp dword [edi*4 + 0xec7310], ebx
je 0x403e39
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
sub eax, dword [edi*4 + 0xec7310]
cmp eax, 0x64
jb 0x4040df
cmp edi, ebx
je 0x403e5e
mov eax, dword [0xec3c08]
jmp 0x403e4a
and dword [eax + 0x20], 0xfffffffc
mov eax, dword [eax]
cmp eax, ebx
jne 0x403e44
mov dword [esp + 0x28], 0x403dc7
mov dword [0xec2db8], ebx
jmp 0x403ea4
mov eax, dword [0xec32f8]
mov eax, dword [eax]
cmp dword [0xec72c8], ebx
je 0x403e98
cmp eax, ebx
jne 0x403e96
push ebx
push 0x4b84cd
push str.Default
call dword [0xec93bc]
pop ecx
push eax
call fcn.00403b6e
mov dword [eax + 0x20], 3
jmp 0x403e96
and dword [eax + 0x20], 0xfffffffc
mov eax, dword [eax]
cmp eax, ebx
jne 0x403e92
mov dword [esp + 0x28], 0x403d0b
push 0x4b909c
push 0x4b908c
call fcn.0040120e
mov esi, eax
cmp esi, ebx
je 0x4040a2
mov eax, dword [esi]
lea ecx, [esp + 0x24]
push ecx
xor edi, edi
xor ecx, ecx
inc edi
cmp dword [ebp + 8], edi
push edi
sete cl
push ecx
push esi
call dword [eax + 0xc]
test eax, eax
js 0x40407b
cmp dword [ebp + 8], 2
mov dword [esp + 0x20], ebx
jge 0x403f19
mov eax, dword [esi]
lea ecx, [esp + 0x10]
push ecx
xor ecx, ecx
cmp dword [ebp + 8], ebx
push edi
setne cl
push ecx
push esi
call dword [eax + 0x10]
test eax, eax
js 0x403f19
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x20]
push edx
push eax
call dword [ecx + 0x14]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push ebx
push eax
mov dword [esp + 0x28], ebx
call dword [ecx + 0x10]
test eax, eax
jne 0x404067
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push eax
call dword [ecx + 0x14]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push ebx
push eax
call dword [ecx + 0x10]
test eax, eax
jne 0x404031
lea edi, [esp + 0x30]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea edx, [esp + 0x30]
push edx
stosd dword es:[edi], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
push 0x4b5a34
push eax
call dword [ecx + 0x14]
test eax, eax
js 0x404021
lea eax, [esp + 0x40]
push eax
push dword [esp + 0x3c]
call dword [sym.imp.ole32.dll_CLSIDFromString]
mov edi, dword [sym.imp.ole32.dll_PropVariantClear]
lea eax, [esp + 0x30]
push eax
call edi
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x30]
push edx
push 0x4b5a48
push eax
call dword [ecx + 0x14]
test eax, eax
js 0x404021
mov ecx, dword [esp + 0x20]
cmp ecx, ebx
je 0x403ff3
mov eax, dword [esp + 0x18]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x403fe6
cmp dx, bx
je 0x403fe2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x403fe6
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x403fc0
xor eax, eax
jmp 0x403feb
sbb eax, eax
sbb eax, 0xffffffff
mov dword [esp + 0x2c], ebx
cmp eax, ebx
je 0x403ffb
mov dword [esp + 0x2c], 1
mov eax, dword [esp + 0x14]
mov dword [0xea9264], eax
lea eax, [esp + 0x2c]
push eax
push dword [esp + 0x1c]
lea eax, [esp + 0x48]
push dword [esp + 0x40]
push eax
call dword [esp + 0x38]
lea eax, [esp + 0x30]
push eax
call edi
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [0xea9264], ebx
push dword [esp + 0x18]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push dword [esp + 0x20]
push eax
call dword [ecx + 0x10]
test eax, eax
je 0x403f35
xor edi, edi
inc edi
push dword [esp + 0x20]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp + 8], edi
jne 0x40409a
cmp dword [0xea9068], ebx
je 0x40409a
mov dword [ebp + 8], 2
mov dword [0xec2db8], edi
jmp 0x403ebd
mov eax, dword [esi]
push esi
call dword [eax + 8]
jmp 0x4040ca
call fcn.004025ec
mov eax, dword [edi*4 + 0xec623c]
cmp eax, ebx
jne 0x4040bb
push 0x27
call fcn.00401164
jmp 0x4040e2
lea ecx, [esp + 0x2c]
push ecx
push dword [esp + 0x2c]
mov dword [esp + 0x34], ebx
call eax
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
xor ecx, ecx
cmp dword [ebp + 8], ebx
setne cl
mov dword [ecx*4 + 0xec7310], eax
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4