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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59d656
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x6d005c]
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 esi, ecx
cmp dword [esi + 0xc], 0
je 0x4eb7a1
cmp dword [esi + 0x10], 0
je 0x4eb7a1
mov ecx, dword [esi + 0x18]
add ecx, dword [ebp + 8]
cmp dword [esi + 0x14a], 0
mov eax, dword [esi + 0x14]
mov edx, dword [ebp + 0xc]
mov ebx, 1
lea edx, [eax + edx - 1]
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
je 0x4eb6ed
lea eax, [esi + 0x4c]
lea edi, [eax + 1]
lea esp, [esp]
mov bl, byte [eax]
inc eax
test bl, bl
jne 0x4eb670
sub eax, edi
lea edi, [eax + 2]
mov eax, dword [esi + 0x14e]
mov dword [eax + 0x3a], ecx
mov dword [eax + 0x3e], edx
mov ecx, dword [esi + 0x14e]
call fcn.00432140
movzx ecx, word [esi + 0x8a]
push 0xb4464646
lea eax, [ebp - 0x30]
push eax
push edi
push 0x5a6b5b
push ecx
mov ecx, 0x6df1e8
call fcn.0042b4e0
mov edx, dword [esi + 0x8e]
movzx ecx, word [esi + 0x8a]
mov eax, 1
sub dword [ebp - 0x30], eax
sub dword [ebp - 0x2c], eax
or edx, 0xff000000
push edx
lea eax, [ebp - 0x30]
push eax
push edi
push 0x5a6b5b
push ecx
mov ecx, 0x6df1e8
call fcn.0042b4e0
mov ebx, 1
push 0
push 0x2000
mov ecx, 0x70c980
call fcn.0054a140
test eax, eax
je 0x4eb7a8
lea ecx, [ebp - 0x60]
call fcn.0042e640
lea eax, [esi + 0x4c]
mov dword [ebp - 4], 0
lea ecx, [eax + 1]
jmp 0x4eb720
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4eb720
push 0xb4464646
sub eax, ecx
lea edx, [ebp - 0x30]
push edx
lea edi, [eax + 2]
movzx eax, word [esi + 0x8a]
push edi
push 0x5a6b5b
push eax
mov ecx, 0x6df1e8
call fcn.0042b4e0
mov ecx, dword [esi + 0x8e]
movzx eax, word [esi + 0x8a]
sub dword [ebp - 0x30], ebx
sub dword [ebp - 0x2c], ebx
or ecx, 0xff000000
push ecx
lea edx, [ebp - 0x30]
push edx
push edi
push 0x5a6b5b
push eax
mov ecx, 0x6df1e8
call fcn.0042b4e0
push 0xffffffffffffffff
fldz
push 0
push ecx
lea ecx, [ebp - 0x60]
fstp dword [esp]
push 0
push 0
call fcn.0042e660
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], 0xffffffff
call fcn.0042e650
xor eax, eax
jmp 0x4ebe4a
cmp byte [esi + 0x4c], 0
lea edi, [esi + 0x4c]
je 0x4eb974
mov ecx, dword [0x6e0164]
cmp byte [ecx + 0x443], 1
jne 0x4eb82e
mov eax, edi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4eb7d0
sub eax, edx
push 0xb4464646
lea edx, [ebp - 0x30]
push edx
lea ebx, [eax + 2]
movzx eax, word [esi + 0x8a]
push ebx
push edi
push eax
mov ecx, 0x6df1e8
call fcn.0042b4e0
mov ecx, dword [esi + 0x8e]
or ecx, 0xff000000
push ecx
mov eax, 1
sub dword [ebp - 0x30], eax
sub dword [ebp - 0x2c], eax
movzx eax, word [esi + 0x8a]
lea edx, [ebp - 0x30]
push edx
push ebx
push edi
push eax
mov ecx, 0x6df1e8
call fcn.0042b4e0
mov ebx, 1
mov eax, edi
lea edx, [eax + 1]
cmp dword [esi + 0x13c], ebx
jne 0x4eb916
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4eb840
sub eax, edx
lea ebx, [eax + 2]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [esi + 0x140]
jb 0x4eb8d1
mov ecx, dword [esi + 0x144]
mov edx, dword [ecx*4 + 0x6cc350]
mov dword [esi + 0x8e], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, 0x140
mov dword [esi + 0x140], eax
mov al, byte [esi + 0x148]
test al, al
jne 0x4eb890
inc dword [esi + 0x144]
jmp 0x4eb896
dec dword [esi + 0x144]
mov ecx, dword [esi + 0x144]
cmp ecx, 0xa
jl 0x4eb8b8
test al, al
jne 0x4eb8b8
mov byte [esi + 0x148], 1
mov dword [esi + 0x144], 9
jmp 0x4eb8d1
test ecx, ecx
jg 0x4eb8d1
cmp al, 1
jne 0x4eb8d1
mov byte [esi + 0x148], 0
mov dword [esi + 0x144], 0
movzx ecx, word [esi + 0x8a]
push 0xb4464646
lea eax, [ebp - 0x30]
push eax
push ebx
push edi
push ecx
mov ecx, 0x6df1e8
call fcn.0042b4e0
mov edx, dword [esi + 0x8e]
movzx ecx, word [esi + 0x8a]
mov eax, 1
sub dword [ebp - 0x30], eax
sub dword [ebp - 0x2c], eax
or edx, 0xff000000
push edx
lea eax, [ebp - 0x30]
push eax
push ebx
push edi
push ecx
jmp 0x4eb965
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4eb916
sub eax, edx
push 0xb4464646
lea edx, [ebp - 0x30]
push edx
lea ebx, [eax + 2]
movzx eax, word [esi + 0x8a]
push ebx
push edi
push eax
mov ecx, 0x6df1e8
call fcn.0042b4e0
mov ecx, dword [esi + 0x8e]
mov eax, 1
sub dword [ebp - 0x30], eax
sub dword [ebp - 0x2c], eax
movzx eax, word [esi + 0x8a]
or ecx, 0xff000000
push ecx
lea edx, [ebp - 0x30]
push edx
push ebx
push edi
push eax
mov ecx, 0x6df1e8
call fcn.0042b4e0
mov ebx, 1
cmp byte [esi + 0x92], 0
lea edi, [esi + 0x92]
je 0x4eba33
mov edx, dword [esi + 0x1c]
add edx, dword [ebp + 0xc]
mov ecx, dword [esi + 0x20]
add ecx, dword [ebp + 8]
mov dword [ebp - 0x64], edx
fild dword [ebp - 0x64]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x68], ebx
fsub qword [0x5b39a8]
call fcn.0057aa60
mov dword [ebp - 0x1c], eax
mov eax, edi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4eb9b8
sub eax, ecx
movzx ecx, word [esi + 0x8a]
push 0xb4464646
lea ebx, [eax + 2]
lea eax, [ebp - 0x20]
push eax
push ebx
push edi
push ecx
mov ecx, 0x6df1e8
call fcn.0042b4e0
mov edx, dword [esi + 0x8e]
movzx ecx, word [esi + 0x8a]
mov eax, 1
sub dword [ebp - 0x20], eax
sub dword [ebp - 0x1c], eax
or edx, 0xff000000
push edx
lea eax, [ebp - 0x20]
push eax
push ebx
push edi
push ecx
mov ecx, 0x6df1e8
call fcn.0042b4e0
cmp byte [edi], 0
je 0x4eba33
cmp byte [esi + 0xa3], 0
je 0x4eba33
push 0
push 0x101
push 0x5b3990
call fcn.00524f90
add esp, 0xc
cmp byte [esi + 0xa3], 0
lea ebx, [esi + 0xa3]
je 0x4ebad9
mov eax, dword [esi + 0x44]
add eax, dword [ebp + 0xc]
mov edx, dword [esi + 0x48]
add edx, dword [ebp + 8]
mov edi, 1
add dword [ebp - 0x68], edi
mov dword [ebp - 0x64], eax
fild dword [ebp - 0x64]
mov dword [ebp - 0x20], edx
fild dword [ebp - 0x68]
fmul qword [0x5b3988]
fsubp st(1)
call fcn.0057aa60
mov dword [ebp - 0x1c], eax
mov eax, ebx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4eba81
movzx edx, word [esi + 0x8a]
push 0xb4464646
sub eax, edi
lea ecx, [ebp - 0x20]
push ecx
lea edi, [eax + 2]
push edi
push ebx
push edx
mov ecx, 0x6df1e8
call fcn.0042b4e0
movzx edx, word [esi + 0x8a]
mov eax, 1
sub dword [ebp - 0x20], eax
sub dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x8e]
or eax, 0xff000000
push eax
lea ecx, [ebp - 0x20]
push ecx
push edi
push ebx
push edx
mov ecx, 0x6df1e8
call fcn.0042b4e0
cmp byte [esi + 0xc4], 0
lea edi, [esi + 0xc4]
je 0x4ebb75
mov ecx, dword [esi + 0x28]
add ecx, dword [ebp + 0xc]
mov eax, dword [esi + 0x24]
add eax, dword [ebp + 8]
mov ebx, 1
add dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ecx
fild dword [ebp - 0x64]
mov dword [ebp - 0x20], eax
fild dword [ebp - 0x68]
fmul qword [0x5b39a8]
fsubp st(1)
call fcn.0057aa60
mov dword [ebp - 0x1c], eax
mov eax, edi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4ebb27
push 0xb4ff00ff
sub eax, ecx
lea edx, [ebp - 0x20]
push edx
lea ebx, [eax + 2]
movzx eax, word [esi + 0x8a]
push ebx
push edi
push eax
mov ecx, 0x6df1e8
call fcn.0042b4e0
movzx edx, word [esi + 0x8a]
push 0xffffffffffffffff
lea ecx, [ebp - 0x20]
push ecx
push ebx
mov eax, 1
sub dword [ebp - 0x20], eax
sub dword [ebp - 0x1c], eax
push edi
push edx
mov ecx, 0x6df1e8
call fcn.0042b4e0
cmp word [esi + 0x152], 0
mov edi, 1
je 0x4ebc9e
mov eax, dword [0x6e0164]
cmp byte [eax + 0x4db], 0
jne 0x4ebc9e
mov eax, dword [esi + 0x160]
test eax, eax
je 0x4ebc9e
cmp dword [eax + 4], 0
je 0x4ebc13
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
cmp eax, dword [esi + 0x158]
jb 0x4ebc13
call ebx
add eax, 0x50
cmp dword [esi + 0x15c], 0
mov dword [esi + 0x158], eax
jne 0x4ebbda
add dword [esi + 0x154], edi
jmp 0x4ebbf1
movzx ecx, word [esi + 0x152]
mov dword [esi + 0x154], ecx
mov dword [esi + 0x15c], 0
mov edx, dword [esi + 0x160]
movzx eax, word [esi + 0x152]
mov ecx, dword [edx + 8]
lea edx, [ecx + eax - 1]
cmp dword [esi + 0x154], edx
jl 0x4ebc13
mov dword [esi + 0x15c], edi
lea ecx, [ebp - 0x60]
call fcn.0042e640
mov ecx, dword [esi + 0x154]
push 7
lea eax, [ebp - 0x60]
push eax
push ecx
mov ecx, 0x6df6f0
mov dword [ebp - 4], edi
call fcn.00433a10
mov eax, dword [ebp - 0x50]
sub eax, dword [ebp - 0x58]
mov ecx, dword [ebp + 0xc]
add dword [ebp - 0x68], edi
cdq
sub eax, edx
mov edx, dword [ebp + 8]
sar eax, 1
sub edx, eax
mov eax, dword [esi + 0x160]
mov dword [ebp - 0x64], edx
push 0xffffffffffffffff
fild dword [ebp - 0x64]
lea edx, [ebp - 0x18]
push edx
fstp dword [ebp - 0x18]
sub ecx, dword [eax + 0xc]
mov dword [ebp - 0x64], ecx
fild dword [ebp - 0x64]
push ecx
fild dword [ebp - 0x68]
lea ecx, [ebp - 0x60]
fmul qword [0x5a9920]
fsubp st(1)
fsub qword [0x5a8b88]
fstp dword [ebp - 0x14]
fldz
fstp dword [esp]
push 0
push 0
call fcn.0042e660
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], 0xffffffff
call fcn.0042e650
cmp byte [esi + 0x106], 0
lea ebx, [esi + 0x106]
je 0x4ebd37
mov eax, dword [0x6e0164]
cmp dword [eax + 0x4aa], 0
je 0x4ebd37
mov edx, dword [esi + 0x38]
add edx, dword [ebp + 0xc]
add dword [ebp - 0x68], edi
mov ecx, dword [esi + 0x34]
add ecx, dword [ebp + 8]
mov dword [ebp - 0x64], edx
fild dword [ebp - 0x64]
mov dword [ebp - 0x20], ecx
fild dword [ebp - 0x68]
fmul qword [0x5ace50]
fsubp st(1)
call fcn.0057aa60
mov dword [ebp - 0x1c], eax
mov eax, ebx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4ebcf5
sub eax, edi
push 0xb4464646
lea edi, [eax + 2]
lea eax, [ebp - 0x20]
push eax
push edi
push ebx
push 7
mov ecx, 0x6df1e8
call fcn.0042b4e0
push 0xffffffffffffffff
lea ecx, [ebp - 0x20]
push ecx
push edi
mov eax, 1
sub dword [ebp - 0x20], eax
sub dword [ebp - 0x1c], eax
push ebx
push 7
mov ecx, 0x6df1e8
call fcn.0042b4e0
mov eax, dword [esi + 0x138]
cmp eax, 0x3e7
jbe 0x4ebd4b
mov edi, 0x18
jmp 0x4ebd66
cmp eax, 0x63
jbe 0x4ebd57
mov edi, 0x12
jmp 0x4ebd66
mov edx, 9
cmp edx, eax
sbb edi, edi
and edi, 6
add edi, 6
mov al, byte [esi + 0x127]
lea ebx, [esi + 0x127]
test al, al
je 0x4ebe45
mov ecx, dword [0x6ca90c]
cmp byte [ecx + 0x6dfd48], 0
je 0x4ebd92
cmp dword [0x70ccd2], 0
je 0x4ebdb3
test al, al
je 0x4ebe45
push 0
push 0x1100
mov ecx, 0x70c980
call fcn.0054a140
test eax, eax
je 0x4ebe45
mov eax, dword [esi + 0x40]
add eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x68]
mov edx, dword [esi + 0x3c]
mov dword [ebp - 0x64], eax
fild dword [ebp - 0x64]
inc ecx
mov dword [ebp - 0x64], ecx
fild dword [ebp - 0x64]
sub edx, edi
fld qword [0x5a6648]
add edx, dword [ebp + 8]
fmul st(1), st(0)
mov dword [ebp - 0x40], edx
fxch st(2)
fsubrp st(1)
fsubrp st(1)
fsub qword [0x5b3960]
call fcn.0057aa60
mov dword [ebp - 0x3c], eax
mov eax, 1
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov eax, ebx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4ebe00
push 0xb4141414
sub eax, esi
lea edx, [ebp - 0x40]
push edx
lea esi, [eax + 2]
push esi
push ebx
push 0xb
mov ecx, 0x6df1e8
call fcn.0042b4e0
mov eax, 1
sub dword [ebp - 0x40], eax
sub dword [ebp - 0x3c], eax
push 0xffff0000
lea eax, [ebp - 0x40]
push eax
push esi
push ebx
push 0xb
mov ecx, 0x6df1e8
call fcn.0042b4e0
mov eax, 1
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.0057a0a3
mov esp, ebp
pop ebp
ret 8