Function at 0x4e5240
Capabilities:
Check for time delay via gettickcount
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5b0b96
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x6e2f0c]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6e2f0c]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0xc], 0
je 0x4e5408
cmp dword [esi + 0x10], 0
je 0x4e5408
mov ecx, dword [esi + 0x18]
add ecx, dword [esp + 0x80]
cmp dword [esi + 0x150], 0
mov eax, dword [esi + 0x14]
mov edx, dword [esp + 0x84]
mov ebx, 1
lea ebp, [eax + edx - 1]
mov dword [esp + 0x18], 0
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
je 0x4e5349
lea eax, [esi + 0x4c]
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4e52d0
sub eax, edi
lea edi, [eax + 2]
mov eax, dword [esi + 0x154]
mov edx, ebp
mov dword [eax + 0x3c], ecx
mov dword [eax + 0x40], edx
mov ecx, dword [esi + 0x154]
call fcn.00428a10
movzx ecx, word [esi + 0x8c]
push 0xb4464646
lea eax, [esp + 0x30]
push eax
push edi
push 0x5b9b8c
push ecx
mov ecx, 0x6f2998
call fcn.00421e10
mov edx, dword [esi + 0x90]
movzx ecx, word [esi + 0x8c]
sub dword [esp + 0x2c], ebx
sub dword [esp + 0x30], ebx
or edx, 0xff000000
push edx
lea eax, [esp + 0x30]
push eax
push edi
push 0x5b9b8c
push ecx
mov ecx, 0x6f2998
call fcn.00421e10
push 0
push 0x2000
mov ecx, 0x721b28
call fcn.0055df30
test eax, eax
je 0x4e540f
lea ecx, [esp + 0x4c]
call fcn.00424f10
lea eax, [esi + 0x4c]
mov dword [esp + 0x78], 0
lea ecx, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4e5380
push 0xb4464646
sub eax, ecx
lea edx, [esp + 0x30]
push edx
lea edi, [eax + 2]
movzx eax, word [esi + 0x8c]
push edi
push 0x5b9b8c
push eax
mov ecx, 0x6f2998
call fcn.00421e10
mov ecx, dword [esi + 0x90]
movzx eax, word [esi + 0x8c]
sub dword [esp + 0x2c], ebx
sub dword [esp + 0x30], ebx
or ecx, 0xff000000
push ecx
lea edx, [esp + 0x30]
push edx
push edi
push 0x5b9b8c
push eax
mov ecx, 0x6f2998
call fcn.00421e10
push 0xffffffffffffffff
fldz
push 0
push ecx
lea ecx, [esp + 0x58]
fstp dword [esp]
push 0
push 0
call fcn.00424f30
lea ecx, [esp + 0x4c]
mov dword [esp + 0x78], 0xffffffff
call fcn.00424f20
xor eax, eax
jmp 0x4e5afc
cmp byte [esi + 0x4c], 0
lea edi, [esi + 0x4c]
je 0x4e55c8
mov ecx, dword [0x6f3914]
cmp byte [ecx + 0x451], bl
jne 0x4e5488
mov eax, edi
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4e5430
sub eax, edx
push 0xb4464646
lea edx, [esp + 0x30]
push edx
lea ebp, [eax + 2]
movzx eax, word [esi + 0x8c]
push ebp
push edi
push eax
mov ecx, 0x6f2998
call fcn.00421e10
mov ecx, dword [esi + 0x90]
movzx eax, word [esi + 0x8c]
sub dword [esp + 0x2c], ebx
sub dword [esp + 0x30], ebx
or ecx, 0xff000000
push ecx
lea edx, [esp + 0x30]
push edx
push ebp
push edi
push eax
mov ecx, 0x6f2998
call fcn.00421e10
mov eax, edi
lea edx, [eax + 1]
cmp dword [esi + 0x140], ebx
jne 0x4e5570
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4e54a0
sub eax, edx
lea ebp, [eax + 2]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [esi + 0x144]
jb 0x4e5530
mov ecx, dword [esi + 0x148]
mov edx, dword [ecx*4 + 0x6df228]
mov dword [esi + 0x90], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, 0x140
mov dword [esi + 0x144], eax
mov al, byte [esi + 0x14c]
test al, al
jne 0x4e54f0
add dword [esi + 0x148], ebx
jmp 0x4e54f6
dec dword [esi + 0x148]
mov ecx, dword [esi + 0x148]
cmp ecx, 0xa
jl 0x4e5517
test al, al
jne 0x4e5517
mov byte [esi + 0x14c], bl
mov dword [esi + 0x148], 9
jmp 0x4e5530
test ecx, ecx
jg 0x4e5530
cmp al, bl
jne 0x4e5530
mov byte [esi + 0x14c], 0
mov dword [esi + 0x148], 0
movzx ecx, word [esi + 0x8c]
push 0xb4464646
lea eax, [esp + 0x30]
push eax
push ebp
push edi
push ecx
mov ecx, 0x6f2998
call fcn.00421e10
mov edx, dword [esi + 0x90]
movzx ecx, word [esi + 0x8c]
or edx, 0xff000000
push edx
lea eax, [esp + 0x30]
push eax
push ebp
push edi
push ecx
jmp 0x4e55b6
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4e5570
sub eax, edx
push 0xb4464646
lea edx, [esp + 0x30]
push edx
lea ebp, [eax + 2]
movzx eax, word [esi + 0x8c]
push ebp
push edi
push eax
mov ecx, 0x6f2998
call fcn.00421e10
mov ecx, dword [esi + 0x90]
movzx eax, word [esi + 0x8c]
or ecx, 0xff000000
push ecx
lea edx, [esp + 0x30]
push edx
push ebp
push edi
push eax
sub dword [esp + 0x40], ebx
sub dword [esp + 0x44], ebx
mov ecx, 0x6f2998
call fcn.00421e10
cmp byte [esi + 0x94], 0
lea edi, [esi + 0x94]
je 0x4e569a
mov edx, dword [esi + 0x1c]
add edx, dword [esp + 0x84]
mov ecx, dword [esi + 0x20]
add ecx, dword [esp + 0x80]
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], ebx
fsub qword [0x5c67e8]
call fcn.0058e6e0
mov dword [esp + 0x20], eax
mov eax, edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
lea ecx, [eax + 1]
jmp 0x4e5620
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4e5620
sub eax, ecx
movzx ecx, word [esi + 0x8c]
push 0xb4464646
lea ebp, [eax + 2]
lea eax, [esp + 0x20]
push eax
push ebp
push edi
push ecx
mov ecx, 0x6f2998
call fcn.00421e10
mov edx, dword [esi + 0x90]
movzx ecx, word [esi + 0x8c]
sub dword [esp + 0x1c], ebx
sub dword [esp + 0x20], ebx
or edx, 0xff000000
push edx
lea eax, [esp + 0x20]
push eax
push ebp
push edi
push ecx
mov ecx, 0x6f2998
call fcn.00421e10
cmp byte [edi], 0
je 0x4e569a
cmp byte [esi + 0xa5], 0
je 0x4e569a
push 0
push 0x101
push 0x5c67d0
call fcn.00533d80
add esp, 0xc
cmp byte [esi + 0xa5], 0
lea ebp, [esi + 0xa5]
je 0x4e574a
mov eax, dword [esi + 0x44]
add eax, dword [esp + 0x84]
add dword [esp + 0x18], ebx
mov edx, dword [esi + 0x48]
add edx, dword [esp + 0x80]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
mov dword [esp + 0x1c], edx
fild dword [esp + 0x18]
fmul qword [0x5c67c8]
fsubp st(1)
call fcn.0058e6e0
mov dword [esp + 0x20], eax
mov eax, ebp
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4e56f3
movzx edx, word [esi + 0x8c]
sub eax, ecx
push 0xb4464646
lea ecx, [esp + 0x20]
push ecx
lea edi, [eax + 2]
push edi
push ebp
push edx
mov ecx, 0x6f2998
call fcn.00421e10
mov eax, dword [esi + 0x90]
movzx edx, word [esi + 0x8c]
sub dword [esp + 0x1c], ebx
sub dword [esp + 0x20], ebx
or eax, 0xff000000
push eax
lea ecx, [esp + 0x20]
push ecx
push edi
push ebp
push edx
mov ecx, 0x6f2998
call fcn.00421e10
cmp byte [esi + 0xc6], 0
lea ebp, [esi + 0xc6]
je 0x4e57f0
mov ecx, dword [esi + 0x28]
add ecx, dword [esp + 0x84]
add dword [esp + 0x18], ebx
mov eax, dword [esi + 0x24]
add eax, dword [esp + 0x80]
mov dword [esp + 0x14], ecx
fild dword [esp + 0x14]
mov dword [esp + 0x1c], eax
fild dword [esp + 0x18]
fmul qword [0x5c67e8]
fsubp st(1)
call fcn.0058e6e0
mov dword [esp + 0x20], eax
mov eax, ebp
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4e57a3
push 0xb4ff00ff
sub eax, ecx
lea edx, [esp + 0x20]
push edx
lea edi, [eax + 2]
movzx eax, word [esi + 0x8c]
push edi
push ebp
push eax
mov ecx, 0x6f2998
call fcn.00421e10
movzx edx, word [esi + 0x8c]
sub dword [esp + 0x1c], ebx
sub dword [esp + 0x20], ebx
push 0xffffffffffffffff
lea ecx, [esp + 0x20]
push ecx
push edi
push ebp
push edx
mov ecx, 0x6f2998
call fcn.00421e10
cmp word [esi + 0x158], 0
je 0x4e5930
mov eax, dword [0x6f3914]
cmp byte [eax + 0x4e9], 0
jne 0x4e5930
mov eax, dword [esi + 0x168]
test eax, eax
je 0x4e5930
cmp dword [eax + 4], 0
je 0x4e5889
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
cmp eax, dword [esi + 0x160]
jb 0x4e5889
call edi
add eax, 0x50
cmp dword [esi + 0x164], 0
mov dword [esi + 0x160], eax
jne 0x4e5850
add dword [esi + 0x15c], ebx
jmp 0x4e5867
movzx ecx, word [esi + 0x158]
mov dword [esi + 0x15c], ecx
mov dword [esi + 0x164], 0
mov edx, dword [esi + 0x168]
movzx eax, word [esi + 0x158]
mov ecx, dword [edx + 8]
lea edx, [ecx + eax - 1]
cmp dword [esi + 0x15c], edx
jl 0x4e5889
mov dword [esi + 0x164], ebx
lea ecx, [esp + 0x4c]
call fcn.00424f10
mov ecx, dword [esi + 0x15c]
push 7
lea eax, [esp + 0x50]
push eax
push ecx
mov ecx, 0x6f2ea0
mov dword [esp + 0x84], ebx
call fcn.0042a2f0
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x84]
add dword [esp + 0x18], ebx
cdq
sub eax, edx
mov edx, dword [esp + 0x80]
sar eax, 1
sub edx, eax
mov eax, dword [esi + 0x168]
mov dword [esp + 0x14], edx
push 0xffffffffffffffff
fild dword [esp + 0x18]
lea edx, [esp + 0x20]
push edx
fstp dword [esp + 0x24]
sub ecx, dword [eax + 0xc]
mov dword [esp + 0x1c], ecx
fild dword [esp + 0x1c]
push ecx
fild dword [esp + 0x24]
lea ecx, [esp + 0x58]
fmul qword [0x5bc6a0]
fsubp st(1)
fsub qword [0x5bb8e0]
fstp dword [esp + 0x2c]
fldz
fstp dword [esp]
push 0
push 0
call fcn.00424f30
lea ecx, [esp + 0x4c]
mov dword [esp + 0x78], 0xffffffff
call fcn.00424f20
cmp byte [esi + 0x108], 0
lea ebp, [esi + 0x108]
je 0x4e59e1
mov eax, dword [0x6f3914]
cmp dword [eax + 0x4b8], 0
je 0x4e59e1
mov edx, dword [esi + 0x38]
add edx, dword [esp + 0x84]
add dword [esp + 0x18], ebx
mov ecx, dword [esi + 0x34]
add ecx, dword [esp + 0x80]
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
mov dword [esp + 0x1c], ecx
fild dword [esp + 0x18]
fmul qword [0x5c67c0]
fsubp st(1)
call fcn.0058e6e0
mov dword [esp + 0x20], eax
mov eax, ebp
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
lea ecx, [eax + 1]
jmp 0x4e59a0
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4e59a0
sub eax, ecx
push 0xb4464646
lea edi, [eax + 2]
lea eax, [esp + 0x20]
push eax
push edi
push ebp
push 7
mov ecx, 0x6f2998
call fcn.00421e10
sub dword [esp + 0x1c], ebx
sub dword [esp + 0x20], ebx
push 0xffffffffffffffff
lea ecx, [esp + 0x20]
push ecx
push edi
push ebp
push 7
mov ecx, 0x6f2998
call fcn.00421e10
mov eax, dword [esi + 0x13c]
cmp eax, 0x3e7
jbe 0x4e59f5
mov ebp, 0x18
jmp 0x4e5a10
cmp eax, 0x63
jbe 0x4e5a01
mov ebp, 0x12
jmp 0x4e5a10
mov edx, 9
cmp edx, eax
sbb ebp, ebp
and ebp, 6
add ebp, 6
mov al, byte [esi + 0x129]
lea edi, [esi + 0x129]
test al, al
je 0x4e5afa
mov ecx, dword [0x6dd7e4]
cmp byte [ecx + 0x6f34f0], 0
je 0x4e5a3c
cmp dword [0x721e84], 0
je 0x4e5a5d
test al, al
je 0x4e5afa
push 0
push 0x1100
mov ecx, 0x721b28
call fcn.0055df30
test eax, eax
je 0x4e5afa
mov eax, dword [esi + 0x40]
add eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x18]
mov edx, dword [esi + 0x3c]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
inc ecx
mov dword [esp + 0x14], ecx
fild dword [esp + 0x14]
sub edx, ebp
fld qword [0x5bc688]
add edx, dword [esp + 0x80]
fmul st(1), st(0)
mov dword [esp + 0x3c], edx
fxch st(2)
fsubrp st(1)
fsubrp st(1)
fsub qword [0x5c6798]
call fcn.0058e6e0
mov dword [esp + 0x40], eax
mov eax, edi
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4e5ab6
push 0xb4141414
sub eax, ecx
lea edx, [esp + 0x40]
push edx
lea esi, [eax + 2]
push esi
push edi
push 0xb
mov ecx, 0x6f2998
call fcn.00421e10
sub dword [esp + 0x3c], ebx
sub dword [esp + 0x40], ebx
push 0xffff0000
lea eax, [esp + 0x40]
push eax
push esi
push edi
push 0xb
mov ecx, 0x6f2998
call fcn.00421e10
mov eax, ebx
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.0058d3fe
add esp, 0x68
ret 8