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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x437271
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x448458]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov ebx, ecx
mov dword [ebp - 0xc4], ebx
xor eax, eax
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x28], al
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], eax
mov byte [ebp - 0x58], al
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xc0]
mov eax, dword [edi]
push ecx
push edi
call dword [eax + 0x78]
mov edx, dword [ebp - 0xc0]
test edx, edx
je 0x41319e
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
cmp word [edx], ax
je 0x412f3f
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x412f30
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x40]
call fcn.004137e0
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x88]
call fcn.00420c20
mov byte [ebp - 4], 5
cmp dword [ebp - 0x2c], 8
jb 0x412f70
push dword [ebp - 0x40]
call fcn.004238d6
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0xec]
mov dword [ebp - 0x30], 0
push eax
call fcn.004136e0
mov esi, dword [eax]
cmp esi, dword [0x46f1bc]
jne 0x412fcc
push 8
call fcn.00423926
add esp, 4
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi], eax
lea eax, [ebp - 0x88]
push eax
mov dword [esi + 4], 1
call fcn.00413670
mov dword [eax], esi
jmp 0x412ff5
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [esi + 0x28]
mov ecx, eax
sub ecx, dword [edx]
cmp ecx, 0x1388
jbe 0x412fe5
mov dword [edx], eax
jmp 0x412ff5
mov eax, dword [edx + 4]
cmp eax, 2
jge 0x413173
inc eax
mov dword [edx + 4], eax
mov eax, dword [edi]
lea ecx, [ebp - 0xbc]
push ecx
push edi
call dword [eax + 0x4c]
test eax, eax
jne 0x413173
cmp word [ebp - 0xbc], ax
je 0x413173
push dword [ebp - 0xc0]
lea ecx, [ebp - 0xb8]
call fcn.00413530
lea edx, [ebp - 0xb8]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xa0]
call fcn.00412c50
mov edx, eax
mov byte [ebp - 4], 7
mov ecx, ebx
call fcn.00420250
cmp eax, 0xffffffff
lea ecx, [ebp - 0xa0]
sete bl
call fcn.004016f0
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 5
call fcn.00413640
test bl, bl
jne 0x413173
mov ecx, dword [ebp - 0xc4]
lea eax, [ebp - 0x58]
push eax
lea edx, [ebp - 0x28]
call fcn.00420050
add esp, 4
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0xa0]
call fcn.00412b00
push eax
lea ecx, [ebp - 0x70]
call fcn.00413600
lea ecx, [ebp - 0xa0]
call fcn.00413640
mov esi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebp - 0xe8]
push eax
call esi
lea eax, [ebp - 0xd8]
push eax
call esi
lea eax, [ebp - 0x120]
push eax
call esi
lea eax, [ebp - 0x100]
push eax
call esi
lea eax, [ebp - 0x110]
push eax
call esi
mov esi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
lea eax, [ebp - 0x70]
mov ebx, 8
cmp dword [ebp - 0x5c], ebx
mov word [ebp - 0xe8], bx
cmovae eax, dword [ebp - 0x70]
push eax
call esi
push 0x443980
mov dword [ebp - 0xe0], eax
mov word [ebp - 0xd8], bx
call esi
lea ecx, [ebp - 0x120]
mov dword [ebp - 0xd0], eax
mov eax, dword [edi]
push ecx
lea ecx, [ebp - 0x100]
push ecx
lea ecx, [ebp - 0xd8]
push ecx
lea ecx, [ebp - 0x110]
push ecx
lea ecx, [ebp - 0xe8]
push ecx
push edi
call dword [eax + 0xd0]
test eax, eax
jns 0x41315d
mov edx, eax
lea ecx, [ebp - 0xa0]
call fcn.00412da0
lea ecx, [ebp - 0xa0]
call fcn.004016f0
push dword [ebp - 0xe0]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
push dword [ebp - 0xd0]
call esi
cmp dword [ebp - 0x74], 8
jb 0x413187
push dword [ebp - 0x88]
call fcn.004238d6
add esp, 4
xor eax, eax
mov dword [ebp - 0x74], 7
mov dword [ebp - 0x78], 0
mov word [ebp - 0x88], ax
cmp dword [ebp - 0x44], 0x10
jb 0x4131af
push dword [ebp - 0x58]
call fcn.004238d6
add esp, 4
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
jb 0x4131d2
push dword [ebp - 0x28]
call fcn.004238d6
add esp, 4
cmp dword [ebp - 0x5c], 8
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jb 0x4131f5
push dword [ebp - 0x70]
call fcn.004238d6
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00422f38
mov esp, ebp
pop ebp
ret