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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x57960a
mov eax, dword fs:[0]
push eax
sub esp, 0x638
mov eax, dword [0x5c3678]
xor eax, esp
mov dword [esp + 0x630], eax
push ebx
push esi
push edi
mov eax, dword [0x5c3678]
xor eax, esp
push eax
lea eax, [esp + 0x648]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
xor esi, esi
mov edi, ecx
mov dword [esp + 0x1c], esi
mov eax, dword [edi]
mov dword [esp + 0x10], ebx
cmp eax, esi
je case.default.0x4fb362
lea ecx, [ebx + 0x4fc]
mov dword [esp + 0x20], ecx
mov ecx, dword [ecx]
cmp dword [ecx - 0xc], esi
je case.default.0x4fb362
dec eax
mov dword [esp + 0x14], esi
cmp eax, 7
ja case.0x4fa9fc.5
jmp dword [eax*4 + 0x4fb4cc]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov eax, dword [ebx + 0x454]
cmp eax, esi
je 0x4faa34
mov edx, dword [eax + 0x30]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4faa34
mov eax, dword [ebx + 0x454]
add eax, 0x2c
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
lea ecx, [esp + 0x1c4]
push ecx
call fcn.00486000
push ecx
mov dword [esp + 0x654], 2
mov eax, esp
mov dword [esp + 0x1c], esp
mov dword [eax], esi
push ecx
mov eax, esp
mov dword [eax], esi
mov edx, dword [ebx + 0x30]
mov dword [esp + 0x20], esp
push edx
lea esi, [esp + 0x1fc]
call fcn.004897f0
test eax, eax
je 0x4faef0
lea esi, [esp + 0x17c]
call fcn.004e4550
mov byte [esp + 0x650], 3
mov eax, dword [edi + 8]
mov ecx, dword [edi + 4]
push 0
push eax
push ecx
lea edx, [esp + 0x30]
mov esi, 1
push edx
mov dword [esp + 0x18c], esi
call fcn.00444b80
add esp, 0x10
mov byte [esp + 0x650], 4
mov eax, dword [eax]
lea ecx, [esp + 0x198]
push ecx
mov edx, eax
call fcn.0040eb50
lea ecx, [esp + 0x24]
mov byte [esp + 0x650], 3
call fcn.00423d60
lea edx, [esp + 0x17c]
push edx
lea eax, [esp + 0x1c8]
push eax
mov dword [esp + 0x1bc], str.ac_s11_12
mov dword [esp + 0x18c], 0x6e
mov dword [esp + 0x190], 0xb
mov dword [esp + 0x194], 0x168
mov dword [esp + 0x198], 0x14
call fcn.00488c00
lea eax, [esp + 0x17c]
call fcn.004e4590
mov dword [esp + 0x190], esi
mov edi, 0x1b8
lea esi, [esp + 0x18]
mov dword [esp + 0x17c], 2
mov dword [esp + 0x1b4], str.ac_license_line
mov dword [esp + 0x184], 0x1e
mov dword [esp + 0x188], 0xd
mov dword [esp + 0x18c], edi
call fcn.004971c0
mov ebx, 5
mov eax, esi
mov ecx, str.zh_CN
mov byte [esp + 0x650], bl
call fcn.00463700
test al, al
jne 0x4faba3
mov eax, esi
mov ecx, str.zh_TW
call fcn.00463700
test al, al
je 0x4fabb0
mov ecx, 0x3ec
mov word [esp + 0x1b8], cx
lea edx, [esp + 0x17c]
push edx
lea eax, [esp + 0x1c8]
push eax
call fcn.00488c00
lea eax, [esp + 0x17c]
call fcn.004e4590
push str.IDS_HOW_TO_USE
xor al, al
or ecx, 0xffffffff
lea esi, [esp + 0x12c]
mov dword [esp + 0x180], 1
call fcn.004acdf0
push 0xffffffffffffffff
push 0
push eax
lea eax, [esp + 0x1a4]
mov byte [esp + 0x65c], 6
call fcn.00411b80
mov ecx, esi
mov byte [esp + 0x650], bl
call fcn.0040eb20
lea ecx, [esp + 0x17c]
push ecx
lea edx, [esp + 0x1c8]
mov esi, 0x1e
push edx
mov dword [esp + 0x1bc], str.ac_s10_1
mov dword [esp + 0x18c], esi
mov dword [esp + 0x190], 0x11
mov dword [esp + 0x194], edi
mov dword [esp + 0x198], 0x14
call fcn.00488c00
lea eax, [esp + 0x17c]
call fcn.004e4590
lea eax, [esp + 0x17c]
push eax
lea ecx, [esp + 0x1c8]
push ecx
mov dword [esp + 0x184], 6
mov dword [esp + 0x18c], esi
mov dword [esp + 0x190], ebx
mov dword [esp + 0x194], edi
mov dword [esp + 0x198], 0x64
call fcn.00488c00
lea eax, [esp + 0x17c]
call fcn.004e4590
push str.IDS_METHOD_RENEW_KEY
xor al, al
or ecx, 0xffffffff
lea esi, [esp + 0x148]
mov dword [esp + 0x180], 4
call fcn.004acdf0
push 0xffffffffffffffff
push 0
push eax
lea eax, [esp + 0x1a4]
mov byte [esp + 0x65c], 7
call fcn.00411b80
mov ecx, esi
mov byte [esp + 0x650], bl
call fcn.0040eb20
lea eax, [esp + 0x17c]
push eax
lea ecx, [esp + 0x1c8]
mov edx, 0x64
push ecx
mov dword [esp + 0x1bc], str.ac_options
mov word [esp + 0x188], dx
mov dword [esp + 0x18c], 0x1e
mov dword [esp + 0x190], 0
mov dword [esp + 0x194], edi
mov dword [esp + 0x198], 0x1a
call fcn.00488c00
lea eax, [esp + 0x17c]
call fcn.004e4590
mov dword [esp + 0x17c], 4
push str.IDS_METHOD_ADD_CAPACITY
xor al, al
or ecx, 0xffffffff
lea esi, [esp + 0x84]
call fcn.004acdf0
push 0xffffffffffffffff
push 0
push eax
lea eax, [esp + 0x1a4]
mov byte [esp + 0x65c], 8
call fcn.00411b80
mov ecx, esi
mov byte [esp + 0x650], bl
call fcn.0040eb20
lea eax, [esp + 0x17c]
push eax
lea ecx, [esp + 0x1c8]
mov edx, 0xc8
push ecx
mov dword [esp + 0x1bc], str.ac_options
mov word [esp + 0x188], dx
mov dword [esp + 0x18c], 0x1e
mov dword [esp + 0x190], 9
mov dword [esp + 0x194], edi
mov dword [esp + 0x198], 0x1a
call fcn.00488c00
push 0x64
lea edx, [esp + 0x1c8]
push edx
call fcn.00489450
push str.IDS_KEY_REGISTER_PROMPT_1
xor al, al
or ecx, 0xffffffff
lea esi, [esp + 0x30]
call fcn.004acdf0
mov edi, 8
mov byte [esp + 0x650], 9
cmp dword [eax + 0x18], edi
jb 0x4fae39
mov eax, dword [eax + 4]
jmp 0x4fae3c
add eax, 4
push 0
mov edx, eax
lea ecx, [esp + 0x1c8]
call fcn.00487f80
lea ecx, [esp + 0x2c]
mov byte [esp + 0x650], bl
call fcn.0040eb20
push str.IDS_BTN_CONTINUE
xor al, al
or ecx, 0xffffffff
lea esi, [esp + 0xbc]
call fcn.004acdf0
mov byte [esp + 0x650], 0xa
cmp dword [eax + 0x18], edi
jb 0x4fae84
mov eax, dword [eax + 4]
jmp 0x4fae87
add eax, 4
push 0
push 1
mov ecx, eax
lea edx, [esp + 0x1cc]
call fcn.004885f0
lea ecx, [esp + 0xb8]
mov byte [esp + 0x650], bl
call fcn.0040eb20
push 0
push 0
lea esi, [esp + 0x1cc]
call fcn.00487e50
cmp eax, 1
jne 0x4faed7
push 0x64
mov eax, esi
push eax
call fcn.00489560
xor ecx, ecx
cmp al, 1
setne cl
inc ecx
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x18]
call fcn.00423d60
lea esi, [esp + 0x17c]
call fcn.0048b330
mov ebx, dword [esp + 0x10]
lea edx, [esp + 0x1c4]
push edx
mov dword [esp + 0x654], 0xffffffff
call fcn.004861d0
jmp case.0x4fa9fc.5
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov eax, dword [ebx + 0x454]
cmp eax, esi
je 0x4faf3e
mov eax, dword [eax + 0x30]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4faf3e
mov eax, dword [ebx + 0x454]
mov ecx, dword [eax + 0x30]
add eax, 0x2c
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
lea edx, [esp + 0x1c4]
push edx
call fcn.00486000
push ecx
mov eax, esp
mov dword [esp + 0x14], esp
mov dword [esp + 0x654], 0xd
mov dword [eax], esi
push ecx
mov eax, esp
mov dword [eax], esi
mov eax, dword [ebx + 0x30]
mov dword [esp + 0x18], esp
push eax
lea esi, [esp + 0x1fc]
call fcn.004897f0
test eax, eax
je 0x4faef0
push str.IDS_KEY_REGISTER_PROMPT_2
xor al, al
or ecx, 0xffffffff
lea esi, [esp + 0x164]
call fcn.004acdf0
mov byte [esp + 0x650], 0xe
cmp dword [eax + 0x18], 8
jb 0x4fafa9
mov edx, dword [eax + 4]
jmp 0x4fafac
lea edx, [eax + 4]
push 0
lea ecx, [esp + 0x1c8]
call fcn.00487f80
lea ecx, [esp + 0x160]
mov byte [esp + 0x650], 0xd
call fcn.0040eb20
mov ecx, dword [edi + 8]
mov edx, dword [edi + 4]
push 0
push ecx
push edx
lea eax, [esp + 0x34]
push eax
call fcn.00444b80
add esp, 0x10
mov byte [esp + 0x650], 0xf
mov eax, dword [eax]
push 0xb
push eax
lea ecx, [esp + 0x1cc]
push ecx
mov ecx, str.ac_s11_12
call fcn.00488780
lea ecx, [esp + 0x28]
mov byte [esp + 0x650], 0xd
call fcn.00423d60
push str.IDS_BTN_CONTINUE
xor al, al
or ecx, 0xffffffff
lea esi, [esp + 0xf4]
call fcn.004acdf0
mov byte [esp + 0x650], 0x10
cmp dword [eax + 0x18], 8
jb 0x4fb03e
mov eax, dword [eax + 4]
jmp 0x4fb041
add eax, 4
push 0
push 1
mov ecx, eax
lea edx, [esp + 0x1cc]
call fcn.004885f0
lea ecx, [esp + 0xf0]
mov byte [esp + 0x650], 0xd
call fcn.0040eb20
push 0
push 0
lea esi, [esp + 0x1cc]
call fcn.00487e50
cmp eax, 1
jne 0x4faef0
mov dword [esp + 0x14], 2
jmp 0x4faef0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov eax, dword [ebx + 0x454]
cmp eax, esi
je 0x4fb0be
mov eax, dword [eax + 0x30]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4fb0be
mov eax, dword [ebx + 0x454]
mov ecx, dword [eax + 0x30]
add eax, 0x2c
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
lea edx, [esp + 0x1c4]
push edx
call fcn.00486000
push ecx
mov eax, esp
mov dword [esp + 0x14], esp
mov dword [esp + 0x654], 0x13
mov dword [eax], esi
push ecx
mov eax, esp
mov dword [eax], esi
mov eax, dword [ebx + 0x30]
mov dword [esp + 0x18], esp
push eax
lea esi, [esp + 0x1fc]
call fcn.004897f0
test eax, eax
je 0x4faef0
push str.IDS_KEY_REGISTER_PROMPT_5
xor al, al
or ecx, 0xffffffff
lea esi, [esp + 0x4c]
call fcn.004acdf0
mov byte [esp + 0x650], 0x14
cmp dword [eax + 0x18], 8
jb 0x4fb126
mov edx, dword [eax + 4]
jmp 0x4fb129
lea edx, [eax + 4]
push 0
lea ecx, [esp + 0x1c8]
call fcn.00487f80
lea ecx, [esp + 0x48]
mov byte [esp + 0x650], 0x13
call fcn.0040eb20
mov ecx, dword [edi + 8]
mov edx, dword [edi + 4]
push 0
push ecx
push edx
lea eax, [esp + 0x28]
push eax
call fcn.00444b80
add esp, 0x10
mov byte [esp + 0x650], 0x15
mov eax, dword [eax]
push 0xb
push eax
lea ecx, [esp + 0x1cc]
push ecx
mov ecx, str.ac_s11_12
call fcn.00488780
lea ecx, [esp + 0x1c]
mov byte [esp + 0x650], 0x13
call fcn.00423d60
push str.IDS_BTN_CONTINUE
xor al, al
or ecx, 0xffffffff
lea esi, [esp + 0x68]
call fcn.004acdf0
mov byte [esp + 0x650], 0x16
cmp dword [eax + 0x18], 8
jb 0x4fb1b5
mov eax, dword [eax + 4]
jmp 0x4fb1b8
add eax, 4
push 0
push 1
mov ecx, eax
lea edx, [esp + 0x1cc]
call fcn.004885f0
lea ecx, [esp + 0x64]
mov byte [esp + 0x650], 0x13
call fcn.0040eb20
push 0
push 0
lea esi, [esp + 0x1cc]
call fcn.00487e50
cmp eax, 1
jne 0x4faef0
mov dword [esp + 0x14], eax
jmp 0x4faef0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov eax, dword [ebx + 0x454]
cmp eax, esi
je 0x4fb22e
mov eax, dword [eax + 0x30]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4fb22e
mov eax, dword [ebx + 0x454]
mov ecx, dword [eax + 0x30]
add eax, 0x2c
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
lea edx, [esp + 0x1c4]
push edx
call fcn.00486000
push ecx
mov eax, esp
mov dword [esp + 0x14], esp
mov dword [esp + 0x654], 0x19
mov dword [eax], esi
push ecx
mov eax, esp
mov dword [eax], esi
mov eax, dword [ebx + 0x30]
mov dword [esp + 0x18], esp
push eax
lea esi, [esp + 0x1fc]
call fcn.004897f0
test eax, eax
je 0x4fb330
push str.IDS_KEY_REGISTER_PROMPT_3
xor al, al
or ecx, 0xffffffff
lea esi, [esp + 0xa0]
call fcn.004acdf0
mov edi, 8
mov byte [esp + 0x650], 0x1a
cmp dword [eax + 0x18], edi
jb 0x4fb29d
mov edx, dword [eax + 4]
jmp 0x4fb2a0
lea edx, [eax + 4]
push 0
lea ecx, [esp + 0x1c8]
call fcn.00487f80
lea ecx, [esp + 0x9c]
mov byte [esp + 0x650], 0x19
call fcn.0040eb20
push str.IDS_BTN_CONTINUE
xor al, al
or ecx, 0xffffffff
lea esi, [esp + 0xd8]
call fcn.004acdf0
mov byte [esp + 0x650], 0x1b
cmp dword [eax + 0x18], edi
jb 0x4fb2ea
mov eax, dword [eax + 4]
jmp 0x4fb2ed
add eax, 4
push 0
push 1
mov ecx, eax
lea edx, [esp + 0x1cc]
call fcn.004885f0
lea ecx, [esp + 0xd4]
mov byte [esp + 0x650], 0x19
call fcn.0040eb20
push 0
push 0
lea esi, [esp + 0x1cc]
call fcn.00487e50
cmp eax, 1
jne 0x4fb330
mov dword [esp + 0x14], 4
lea ecx, [esp + 0x1c4]
push ecx
mov dword [esp + 0x654], 0xffffffff
call fcn.004861d0
jmp case.0x4fa9fc.5
mov dword [esp + 0x14], 3
mov ecx, dword [esp + 0x14]
lea eax, [ecx - 1]
cmp eax, 3
ja case.default.0x4fb362
jmp dword [eax*4 + 0x4fb4ec]
lea edx, [esp + 0x424]
push edx
call fcn.00423e10
mov dword [esp + 0x650], 0x1c
call fcn.00424330
push 0x40
lea ecx, [esp + 0x428]
push ecx
call fcn.00424110
mov eax, dword [esp + 0x20]
lea edi, [ebx + 0x500]
call fcn.00423c70
mov edx, dword [esp + 0x20]
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [ebx + 0x19c]
lea edx, [esp + 0x454]
call fcn.004314a0
cmp dword [esp + 0x1c], 1
jne 0x4fb415
mov edi, dword [ebx + 0x4f8]
neg edi
sbb edi, edi
push 0
lea eax, [ebx + 0x54]
mov ecx, str.IDS_ACTIVATING
lea esi, [esp + 0x110]
add edi, 3
call fcn.004acda0
mov byte [esp + 0x650], 0x1d
cmp dword [eax + 0x18], 8
jb 0x4fb3fd
mov eax, dword [eax + 4]
jmp 0x4fb400
add eax, 4
push eax
push ebx
mov ecx, edi
call fcn.004f9020
lea ecx, [esp + 0x10c]
call fcn.0040eb20
lea edi, [esp + 0x424]
call fcn.004243a0
jmp case.default.0x4fb362
cmp dword [ebx + 0x4f8], 1
je 0x4fb454
mov edx, dword [ebx + 0x38c]
mov eax, dword [esp + 0x20]
mov edx, dword [edx]
cmp ecx, 2
sete cl
mov byte [ebx + 0x499], cl
add ebx, 0x38c
push eax
mov ecx, ebx
call edx
jmp case.default.0x4fb362
mov ecx, ebx
call fcn.004f5a10
mov eax, dword [ebx + 0x38c]
mov edx, dword [eax + 0x14]
lea ecx, [ebx + 0x38c]
push 0
push 0
call edx
or dword [ebx + 0x4e0], 0x80
mov dword [ebx + 0x4f8], 0
jmp case.default.0x4fb362
mov eax, dword [ebx + 0x38c]
mov edx, dword [eax + 0x10]
lea ecx, [ebx + 0x38c]
push 0
call edx
push 0
push 3
push 1
mov eax, ebx
call fcn.004e9b70
mov ecx, dword [esp + 0x648]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x630]
xor ecx, esp
call fcn.0053c15d
mov esp, ebp
pop ebp
ret 4