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

Disassembly:
push 0xffffffffffffffff
push 0x4c1a98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
mov dword [esp + 0xc], ecx
mov ecx, dword [0x4e2754]
push ebp
push esi
xor ebp, ebp
xor esi, esi
xor bl, bl
test ecx, ecx
push edi
mov byte [esp + 0x15], 0
je 0x4a6fa2
cmp byte [ecx + 0x90], 1
jne 0x4a6f8a
mov edx, dword [esp + 0x34]
mov edi, dword [esp + 0x30]
mov eax, dword [ecx]
push edx
lea edx, [edi + 7]
push edx
call dword [eax + 0x14]
mov ecx, dword [0x4e2754]
mov esi, eax
jmp 0x4a6f8e
mov edi, dword [esp + 0x30]
test ecx, ecx
je 0x4a6fa6
cmp byte [ecx + 0x90], 1
jne 0x4a6fa6
mov eax, esi
jmp 0x4a7279
mov edi, dword [esp + 0x30]
call fcn.004a0400
test al, al
je 0x4a714e
lea ecx, [esp + 0x34]
call fcn.0048d0a0
lea ebx, [edi + 7]
mov dword [esp + 0x28], 0
mov ebp, ebx
mov dword [esp + 0x1c], ebx
mov byte [ebp], 0
mov al, byte [0x4dc9c4]
inc ebp
cmp al, 2
jne 0x4a6fea
mov ecx, 0x4e24c0
call fcn.0048dd10
mov byte [ebp], al
jmp 0x4a6ff2
cmp al, 1
jne 0x4a6ff3
mov byte [ebp], 0
inc ebp
xor esi, esi
mov ecx, 0x4e24c0
mov dword [esp + 0x14], esi
call fcn.0048dd10
test ax, ax
jle 0x4a70f4
cmp byte [0x4dc9c4], 4
je 0x4a7037
push esi
mov ecx, 0x4e24c0
call fcn.0048dc50
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x4a702b
xor eax, eax
jmp 0x4a7033
mov eax, dword [eax + 8]
sub eax, ecx
sar eax, 2
mov byte [ebp], al
inc ebp
xor ebx, ebx
push esi
mov ecx, 0x4e24c0
call fcn.0048dc50
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x4a70d6
mov eax, dword [eax + 8]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jae 0x4a70d6
push ebx
push esi
mov ecx, 0x4e24c0
call fcn.0048dc50
mov ecx, eax
call fcn.00405320
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call fcn.0048d0b0
lea ecx, [esp + 0x38]
call fcn.0048d260
lea ecx, [esp + 0x34]
call fcn.0048d410
mov byte [ebp], al
lea ecx, [esp + 0x34]
inc ebp
call fcn.0048d410
lea ecx, [esp + 0x34]
movsx edi, ax
call fcn.0048d420
mov ecx, edi
mov esi, eax
mov edi, ebp
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x34]
call fcn.0048d410
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x14]
movsx eax, ax
add ebp, eax
inc ebx
jmp 0x4a7039
inc esi
mov ecx, 0x4e24c0
mov dword [esp + 0x14], esi
call fcn.0048dd10
movsx ecx, ax
cmp esi, ecx
jl 0x4a700c
mov ebx, dword [esp + 0x1c]
sub ebp, edi
sub ebp, 7
cmp ebp, 2
jge 0x4a7103
mov ebp, 2
mov ecx, 0x4e24c0
call fcn.0048dd30
mov ecx, dword [0x4e2754]
mov byte [0x4dc9c4], 1
test ecx, ecx
je 0x4a712f
mov al, byte [ecx + 0x90]
test al, al
jne 0x4a712f
mov edx, dword [ecx]
push ebp
push ebx
call dword [edx + 0x14]
push ebp
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [esp + 0x34]
mov dword [esp + 0x28], 0xffffffff
call fcn.0048d1e0
mov eax, ebp
jmp 0x4a7279
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x30], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x30]
sub eax, ecx
mov ecx, dword [esp + 0x18]
cmp eax, dword [ecx + 4]
ja 0x4a7276
mov ecx, dword [ecx]
lea edx, [esp + 0x13]
push 1
push edx
mov eax, dword [ecx]
call dword [eax + 0xc]
cmp eax, 1
jne 0x4a7158
mov al, byte [esp + 0x13]
mov cl, byte [esp + 0x15]
test bl, bl
mov byte [esp + 0x15], al
jne 0x4a71ab
cmp cl, 0xcf
jne 0x4a7158
cmp al, 0x33
jne 0x4a7158
mov byte [edi], cl
mov byte [edi + 1], al
mov ebp, 2
mov bl, 1
jmp 0x4a7158
mov byte [edi + ebp], al
inc ebp
cmp ebp, 7
jne 0x4a7208
mov al, byte [edi + 2]
mov cl, byte [edi + 3]
mov esi, eax
mov edx, ecx
and esi, 0xff
and edx, 0xff
shl esi, 8
add esi, edx
mov edx, dword [esp + 0x34]
cmp esi, edx
jg 0x4a724d
cmp esi, 1
jge 0x4a71e3
xor bl, bl
jmp 0x4a7158
mov dl, byte [edi + 4]
not dl
cmp al, dl
jne 0x4a71dc
mov al, byte [edi + 5]
not al
cmp cl, al
jne 0x4a71dc
mov edx, dword [esp + 0x18]
mov cl, byte [edi + 6]
cmp cl, byte [edx + 8]
je 0x4a7208
xor bl, bl
jmp 0x4a7158
lea eax, [esi + 8]
cmp ebp, eax
jne 0x4a7158
lea edx, [ebp - 1]
xor cl, cl
xor eax, eax
test edx, edx
jle 0x4a7228
mov bl, byte [eax + edi]
add cl, bl
inc eax
cmp eax, edx
jl 0x4a721e
cmp cl, byte [edi + ebp - 1]
je 0x4a7235
xor bl, bl
jmp 0x4a7158
cmp esi, 4
jne 0x4a7254
cmp byte [edi + 5], 0xff
jne 0x4a7254
cmp byte [edi + 6], 0xff
jne 0x4a7254
xor bl, bl
jmp 0x4a714e
mov eax, 0xfffffff4
jmp 0x4a7279
mov ecx, dword [0x4e2754]
test ecx, ecx
je 0x4a7272
mov al, byte [ecx + 0x90]
test al, al
jne 0x4a7272
mov edx, dword [ecx]
add edi, 7
push esi
push edi
call dword [edx + 0x14]
mov eax, esi
jmp 0x4a7279
or eax, 0xffffffff
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1c
ret 8