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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
mov esi, ecx
mov edi, 0x861110
push 0xc
mov dword [ebp - 0xc], esi
call edi
mov edx, 0x85ec20
mov ecx, eax
mov dword [ebp - 8], edx
call edx
test al, al
jne 0x1007bc78
cmp byte [esi + 0xbfd], 1
jne 0x1007bc78
mov byte [esi + 0xbfd], al
cmp byte [esi + 0xbfd], 0
je 0x1007bf47
push 0xd
call edi
mov ecx, eax
call dword [ebp - 8]
test al, al
je 0x1007bca8
push 0x4d
call edi
mov ecx, eax
call dword [ebp - 8]
test al, al
je 0x1007bca8
push 0xc
call edi
mov ecx, eax
call dword [ebp - 8]
sub esp, 0x10
mov dword [esi + 0xbe8], 0x42700000
mov edi, 0x790b50
mov dword [esi + 0xbec], 0x42b40000
mov dword [esi + 0xbe0], 0x43660000
mov dword [esi + 0xbe4], 0x43020000
mov dword [esp + 0xc], 0x42f40000
mov dword [esp + 8], 0x435e0000
mov dword [esp + 4], 0x42b40000
mov dword [esp], 0x42700000
push 0x7a5a
call edi
add esp, 4
mov dword [esp + 0xc], 0x42860000
mov dword [esp + 8], 0x43660000
mov dword [esp + 4], 0x42b40000
mov dword [esp], 0x42700000
push 0x7a63
call edi
movss xmm1, dword [0x101a3420]
add esp, 0x14
movss xmm0, dword [0x101f9d64]
mov edi, 5
movss dword [ebp - 8], xmm1
mov esi, 0x790b50
nop dword [eax]
sub esp, 0x10
movss dword [esp + 0xc], xmm0
movss xmm0, dword [0x101f9d60]
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm1
mov dword [esp], 0x42700000
push dword [0x101f9d5c]
call esi
movss xmm1, dword [ebp - 8]
add esp, 0x14
movss xmm0, dword [0x101f9d64]
addss xmm1, xmm0
movss dword [ebp - 8], xmm1
sub edi, 1
jne 0x1007bd50
sub esp, 0x10
mov eax, esi
mov dword [esp + 0xc], 0x42480000
mov dword [esp + 8], 0x43660000
movss dword [esp + 4], xmm1
mov dword [esp], 0x42700000
push 0x7a59
call eax
add esp, 0x14
mov ecx, 0x101c3620
push 0x42
call fcn.10046da0
mov esi, dword [ebp - 0xc]
push eax
push 3
push 0xd2
push 0x64
push 0x46
push 0xff19bdff
push esi
call fcn.1007a8d0
add esp, 0x1c
mov ecx, 0x101c3620
push 0x43
call fcn.10046da0
push eax
push 3
push 0xd2
push 0x82
push 0x46
push 0xff19bdff
push esi
call fcn.1007a8d0
add esp, 0x1c
lea edi, [esi + 0x7f08]
cmp byte [esi + 0x7fb4], 0
mov eax, 0x9cfa13
jne 0x1007be47
push 0x779250
push 0x779150
push 1
push 0xac
push edi
call eax
mov byte [esi + 0x7fb4], 1
push 0
push 0
push 1
push 0x7a5b
push 1
mov eax, 0x779350
mov ecx, edi
call eax
push 0x1e
push 0x36
push 0xa0
push 0x64
mov eax, 0x779410
mov ecx, edi
call eax
push 0
mov eax, 0x7798f0
mov ecx, edi
call eax
mov eax, 0x779860
mov ecx, edi
mov dword [ebp - 0xc], eax
call eax
cmp al, 1
jne 0x1007bed0
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov ecx, dword [esi + 0x806c]
add ecx, 0x12c
cmp eax, ecx
jb 0x1007bed0
mov al, byte [esi + 0x94]
lea ecx, [ebp - 8]
mov edx, 5
mov dword [ebp - 8], 0xedf305c1
mov byte [ebp - 4], al
call fcn.100ca840
mov byte [esi + 0xbfd], 0
call edi
mov dword [esi + 0x806c], eax
cmp byte [esi + 0x8068], 0
lea edi, [esi + 0x7fbc]
jne 0x1007beff
push 0x779250
push 0x779150
push 1
push 0xac
push edi
mov eax, 0x9cfa13
call eax
mov byte [esi + 0x8068], 1
push 0
push 0
push 1
push 0x7a5c
push 1
mov ecx, edi
mov eax, 0x779350
call eax
push 0x1e
push 0x36
push 0xa0
push 0xc8
mov ecx, edi
mov eax, 0x779410
call eax
push 0
mov ecx, edi
mov eax, 0x7798f0
call eax
mov ecx, edi
call dword [ebp - 0xc]
cmp al, 1
jne 0x1007bf47
mov byte [esi + 0xbfd], 0
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret