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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], eax
mov ecx, 7
lea eax, [ebp - 0x20]
mov edx, dword [0x4012c8]
call fcn.0040a3b0
xor eax, eax
push ebp
push 0x7e3717
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x80c170], 0
je 0x7e2de5
xor eax, eax
call fcn.007d9df8
mov byte [ebp - 0x21], 0
mov eax, dword [0x802d58]
mov eax, dword [eax]
shr eax, 0x10
cmp eax, 0x600
mov eax, dword [0x80270c]
setae byte [eax]
xor ecx, ecx
push ebp
push 0x7e3658
push dword fs:[ecx]
mov dword fs:[ecx], esp
cmp dword [0x80c180], 0
je 0x7e2e23
mov dl, 1
mov eax, dword [0x80c180]
call fcn.00793f98
cmp byte [0x80c16e], 0
je 0x7e2e90
xor eax, eax
push ebp
push 0x7e2e63
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x80c174], 0
jne 0x7e2e4f
mov eax, 0x7e3734
call fcn.00794adc
jmp 0x7e2e59
mov eax, dword [0x80c174]
call fcn.00794cc0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x7e2e90
mov eax, 0x7e379c
call fcn.00794d1c
lea eax, [ebp - 0x2c]
mov ecx, dword [0x80c158]
mov edx, 0x7e3800
call fcn.00409b74
mov eax, dword [ebp - 0x2c]
call fcn.00794d1c
lea eax, [ebp - 0x30]
mov ecx, dword [0x80c15c]
mov edx, 0x7e3840
call fcn.00409b74
mov eax, dword [ebp - 0x30]
call fcn.00794d1c
lea eax, [ebp - 0x38]
call fcn.005e1a84
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x34]
mov edx, 0x7e386c
call fcn.00409b74
mov eax, dword [ebp - 0x34]
call fcn.00794d1c
call fcn.007d9fa8
xor eax, eax
call fcn.007e26c0
mov dword [0x80c164], eax
mov dl, 1
mov eax, dword [0x7e196c]
call fcn.007b1d30
mov dword [0x802698], eax
mov ecx, dword [0x80c15c]
mov edx, dword [0x80c164]
mov eax, dword [0x802698]
call fcn.007b4978
lea ecx, [ebp - 0x3c]
mov eax, dword [0x802698]
mov edx, dword [eax + 0x18]
mov al, 0xc7
call fcn.005e96a4
mov edx, dword [ebp - 0x3c]
mov eax, 0x80c168
call fcn.00408c24
mov eax, dword [0x802698]
test byte [eax + 0x1d], 0x20
je 0x7e2f8b
mov eax, dword [0x8028e8]
cmp byte [eax], 0
jne 0x7e2f8b
push 1
push 1
mov eax, dword [0x80c168]
call fcn.0040990c
push eax
mov eax, dword [0x802f10]
mov eax, dword [eax + 0x354]
call fcn.0040990c
mov ecx, 0x30
pop edx
call fcn.007da890
call fcn.004276b0
mov eax, dword [0x802698]
test byte [eax + 0x1d], 1
je 0x7e2fcf
mov eax, dword [0x802c28]
cmp byte [eax], 0
jne 0x7e2fcf
push 1
push 1
mov eax, dword [0x80c168]
call fcn.0040990c
push eax
mov eax, dword [0x802f10]
mov eax, dword [eax + 0x1f8]
call fcn.0040990c
mov ecx, 0x30
pop edx
call fcn.007da890
call fcn.004276b0
mov eax, dword [0x80c164]
xor edx, edx
mov dword [0x80c164], edx
call fcn.00406ad8
mov al, 2
call fcn.007e26c0
mov dword [0x80c164], eax
lea eax, [ebp - 0x20]
push eax
push 6
mov ecx, 0x86000500
mov dx, 0x20
mov eax, dword [0x802698]
call fcn.007b21e8
test al, al
jne 0x7e3014
mov eax, 0x7e38ac
call fcn.0078bc64
cmp dword [0x80c180], 0
je 0x7e302f
lea eax, [ebp - 4]
mov edx, dword [0x802cc4]
mov edx, dword [edx]
call fcn.00408d08
jmp 0x7e303a
lea edx, [ebp - 4]
mov eax, dword [ebp - 0x20]
call fcn.007e2d34
mov eax, dword [0x802698]
test byte [eax + 0x1d], 0x80
setne al
call fcn.007daec4
mov eax, dword [0x802698]
cmp byte [eax + 0x10], 0
je 0x7e3073
mov eax, dword [0x8028e8]
cmp byte [eax], 0
jne 0x7e306a
mov eax, 0x7e3944
call fcn.0078bc64
mov al, 1
call fcn.007dafec
jmp 0x7e307a
xor eax, eax
call fcn.007dafec
call fcn.007d8020
cmp dword [ebp - 4], 0
je 0x7e31b4
call fcn.007d7990
call fcn.007d8358
mov eax, dword [0x80273c]
mov edx, dword [0x80c158]
call fcn.00408c24
mov eax, dword [0x802dfc]
mov edx, dword [0x802698]
mov edx, dword [edx + 0x14]
call fcn.00408c24
movzx eax, byte [0x80c16f]
or al, byte [0x80c170]
mov edx, dword [0x8029b4]
mov byte [edx], al
mov eax, dword [0x8031e8]
mov edx, dword [ebp - 0x18]
call fcn.00408c24
mov eax, dword [0x802b9c]
mov edx, dword [ebp - 0x14]
call fcn.00408c24
mov eax, dword [0x80290c]
mov edx, dword [ebp - 0x10]
call fcn.00408c24
mov eax, dword [0x8029f4]
mov edx, dword [ebp - 0xc]
call fcn.00408c24
mov edx, dword [ebp - 8]
mov eax, edx
test eax, eax
je 0x7e310d
sub eax, 4
mov eax, dword [eax]
add eax, eax
xchg edx, eax
call fcn.007e2c7c
mov dl, 1
mov eax, dword [0x7cd2a8]
call fcn.007ce764
mov edx, dword [0x802a44]
mov dword [edx], eax
mov eax, dword [0x802a44]
mov eax, dword [eax]
add eax, 4
mov edx, 0x7e39d8
call fcn.00408c24
mov eax, 0x7d9868
mov edx, dword [0x802a44]
mov edx, dword [edx]
mov dword [edx + 0x10], eax
mov eax, 0x7d9870
mov edx, dword [0x802a44]
mov edx, dword [edx]
mov dword [edx + 0x14], eax
mov eax, 0x7d9878
mov edx, dword [0x802a44]
mov edx, dword [edx]
mov dword [edx + 0x18], eax
mov eax, 0x7d9a98
mov edx, dword [0x802a44]
mov edx, dword [edx]
mov dword [edx + 0x1c], eax
mov eax, 0x7d9ab0
mov edx, dword [0x802a44]
mov edx, dword [edx]
mov dword [edx + 0x20], eax
mov eax, 0x7d9abc
mov edx, dword [0x802a44]
mov edx, dword [edx]
mov dword [edx + 0x24], eax
mov ecx, dword [0x802b38]
mov ecx, dword [ecx]
mov eax, dword [0x802a44]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
call fcn.007ce85c
xor edx, edx
push ebp
push 0x7e3604
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x7e3537
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [0x802a44]
cmp dword [eax], 0
je 0x7e3245
xor edx, edx
push ebp
push 0x7e3219
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 2
push 0
push 1
xor eax, eax
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0x11
lea ecx, [ebp - 0x44]
mov eax, dword [0x802a44]
mov eax, dword [eax]
mov edx, 0x7e39f0
call fcn.007ceec4
pop dword fs:[0]
add esp, 8
jmp 0x7e3232
test al, al
jne 0x7e3245
mov eax, 0x7e3a80
call fcn.00794d1c
call fcn.004276b0
cmp byte [0x80c16f], 0
jne 0x7e327f
cmp byte [0x80c170], 0
jne 0x7e327f
push 0x124
push 1
push 6
mov eax, dword [0x802698]
mov edx, dword [eax + 0x18]
mov ecx, dword [0x80c168]
mov al, 0x2c
call fcn.007e1df8
cmp eax, 6
je 0x7e327f
call fcn.004276b0
xor edx, edx
xor eax, eax
call fcn.007e2534
jmp 0x7e32ad
push 0x31
push 1
push 2
mov eax, dword [0x802698]
mov edx, dword [eax + 0x18]
mov ecx, dword [0x80c168]
mov al, 0xd3
call fcn.007e1df8
dec eax
je 0x7e32ad
call fcn.004276b0
mov eax, dword [0x802698]
call fcn.007b2230
test al, al
jne 0x7e328a
jmp 0x7e32d0
push 0xa
call sub.kernel32.dll_Sleep
mov eax, dword [0x802ef8]
mov eax, dword [eax]
call fcn.005d457c
mov eax, dword [0x8032c8]
cmp byte [eax], 0
jne 0x7e32bd
mov eax, dword [0x80270c]
mov byte [eax], 0
lea ecx, [ebp - 0x48]
mov eax, dword [0x802698]
mov edx, dword [eax + 0x18]
mov al, 0xb7
call fcn.005e96a4
mov edx, dword [ebp - 0x48]
mov eax, dword [0x802ef8]
mov eax, dword [eax]
mov eax, dword [eax + 0x188]
call fcn.005e3384
call fcn.007e1c2c
xor edx, edx
mov al, 1
call fcn.007e2534
call sub.kernel32.dll_GetTickCount
mov dword [ebp - 0x28], eax
mov eax, dword [0x802698]
mov edx, dword [ebp - 0x28]
mov dword [eax + 0x24], edx
mov ecx, 0x7e207c
mov dl, 1
mov eax, dword [0x802698]
call fcn.007b3004
mov byte [ebp - 0x22], al
movzx eax, byte [ebp - 0x22]
mov edx, dword [0x802d4c]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0x11
lea edx, [ebp - 0x44]
xor ecx, ecx
mov eax, 0x7e3ae8
call fcn.00794fa0
mov eax, dword [0x802698]
cmp byte [eax + 0x1c], 0
jne 0x7e337b
mov eax, dword [0x802698]
test byte [eax + 0x1d], 8
jne 0x7e337b
xor eax, eax
jmp 0x7e337d
mov al, 1
mov byte [ebp - 0x23], al
mov eax, dword [0x802a44]
cmp dword [eax], 0
je 0x7e341f
mov eax, dword [0x802a44]
mov eax, dword [eax]
mov cl, 1
mov edx, 0x7e3b14
call fcn.007ceab8
test al, al
je 0x7e341f
cmp byte [ebp - 0x23], 0
jne 0x7e3415
xor eax, eax
push ebp
push 0x7e33fa
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 1
push 0
push 0
xor eax, eax
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0x11
lea ecx, [ebp - 0x44]
mov eax, dword [0x802a44]
mov eax, dword [eax]
mov edx, 0x7e3b14
call fcn.007ceec4
test al, al
je 0x7e33f0
mov byte [ebp - 0x23], 1
mov eax, 0x7e3b38
call fcn.00794d1c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x7e341f
mov eax, 0x7e3c18
call fcn.00794d1c
movzx eax, byte [ebp - 0x23]
mov edx, dword [0x802d4c]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0x11
lea edx, [ebp - 0x44]
xor ecx, ecx
mov eax, 0x7e3cd0
call fcn.00794fa0
cmp byte [0x80c170], 0
jne 0x7e347a
mov eax, dword [0x802ef8]
mov eax, dword [eax]
call fcn.005d457c
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebp - 0x28]
cmp eax, 0x3e8
jae 0x7e347a
push 0x4ff
push 0xa
push 0
push 0
push 0
call sub.user32.dll_MsgWaitForMultipleObjects
jmp 0x7e344b
mov eax, dword [0x802928]
mov eax, dword [eax]
mov edx, dword [0x802928]
xor ecx, ecx
mov dword [edx], ecx
call fcn.00406ad8
mov dl, 1
mov al, 2
call fcn.007e2534
cmp byte [ebp - 0x23], 0
jne 0x7e34db
cmp byte [0x80c16f], 0
jne 0x7e3524
cmp byte [0x80c170], 0
jne 0x7e3524
push 0x10040
push 1
push 1
movzx eax, byte [ebp - 0x22]
movzx eax, byte [eax + 0x8026a4]
mov edx, dword [0x802698]
mov edx, dword [edx + 0x18]
mov ecx, dword [0x80c168]
call fcn.007e1df8
jmp 0x7e3524
cmp byte [0x80c171], 0
jne 0x7e3514
cmp byte [0x80c170], 0
jne 0x7e3510
push 0x10024
push 1
push 6
mov eax, dword [0x802698]
mov edx, dword [eax + 0x18]
mov ecx, dword [0x80c168]
mov al, 0xd1
call fcn.007e1df8
cmp eax, 6
jne 0x7e3514
mov byte [ebp - 0x21], 1
cmp byte [ebp - 0x21], 0
jne 0x7e3524
mov eax, 0x7e3d14
call fcn.00794d1c
mov dl, 1
mov al, 3
call fcn.007e2534
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x7e354b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7e360e
xor edx, edx
push ebp
push 0x7e3586
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [0x802928]
mov eax, dword [eax]
mov edx, dword [0x802928]
xor ecx, ecx
mov dword [edx], ecx
call fcn.00406ad8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x7e3595
mov eax, dword [0x802a44]
cmp dword [eax], 0
je 0x7e35f1
xor eax, eax
push ebp
push 0x7e35d8
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
xor eax, eax
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0x11
lea ecx, [ebp - 0x44]
mov eax, dword [0x802a44]
mov eax, dword [eax]
mov edx, 0x7e3d70
call fcn.007cec5c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x7e35f1
mov eax, dword [0x802ef8]
mov eax, dword [eax]
mov eax, dword [eax + 0x188]
call fcn.005e3414
ret