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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x578a1c
mov eax, dword fs:[0]
push eax
sub esp, 0x728
mov eax, dword [0x5c3678]
xor eax, esp
mov dword [esp + 0x720], eax
push ebx
push esi
push edi
mov eax, dword [0x5c3678]
xor eax, esp
push eax
lea eax, [esp + 0x738]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov dword [esp + 0x10], 0
cmp dword [ebx + 0x3ec], 0
jne 0x4f7cc6
mov eax, dword [ebx + 0x438]
test eax, eax
je 0x4f7c8e
movzx ecx, byte [ebx + 0x486]
push 0
push ecx
push eax
call fcn.004df8b0
mov eax, dword [ebx + 0x448]
test eax, eax
je 0x4f7c9e
push eax
call fcn.004db7b0
mov ecx, dword [ebx + 0x440]
test ecx, ecx
je 0x4f7cad
call fcn.0051ea80
mov ebx, dword [ebx + 0x444]
test ebx, ebx
je 0x4f7cbf
push 0
push ebx
call fcn.005209a0
xor al, al
jmp 0x4f8455
mov edi, 8
cmp dword [ebx + 0x424], edi
jb 0x4f7cdb
mov ecx, dword [ebx + 0x410]
jmp 0x4f7ce1
lea ecx, [ebx + 0x410]
mov eax, dword [ebx + 0x438]
test eax, eax
je 0x4f7cfa
movzx edx, byte [ebx + 0x486]
push ecx
push edx
push eax
call fcn.004df8b0
mov eax, dword [ebx + 0x448]
test eax, eax
je 0x4f7d0a
push eax
call fcn.004db7b0
mov ecx, dword [ebx + 0x440]
test ecx, ecx
je 0x4f7d19
call fcn.0051ea80
cmp dword [ebx + 0x424], edi
jb 0x4f7d29
mov ecx, dword [ebx + 0x410]
jmp 0x4f7d2f
lea ecx, [ebx + 0x410]
mov eax, dword [ebx + 0x444]
test eax, eax
je 0x4f7d40
push ecx
push eax
call fcn.005209a0
mov eax, dword [ebx + 0x428]
cmp eax, 0x1000000
jne 0x4f7e9c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov eax, dword [ebx + 0x454]
test eax, eax
je 0x4f7d82
mov eax, dword [eax + 0x30]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4f7d82
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 + 0x54]
push edx
call fcn.00486000
push ecx
mov dword [esp + 0x744], 2
mov eax, esp
mov dword [esp + 0x14], esp
push ecx
mov dword [eax], 0
mov eax, esp
mov dword [eax], 0
mov eax, dword [ebx + 0x30]
mov dword [esp + 0x18], esp
push eax
lea esi, [esp + 0x8c]
call fcn.004897f0
test eax, eax
je 0x4f7e92
push str.IDS_KEY_RENEW_SUCCESS
xor al, al
or ecx, 0xffffffff
lea esi, [esp + 0x3c]
mov byte [ebx + 0x50c], 1
call fcn.004acdf0
mov byte [esp + 0x740], 3
cmp dword [eax + 0x18], edi
jb 0x4f7df5
mov eax, dword [eax + 4]
jmp 0x4f7df8
add eax, 4
push 0
mov edx, eax
lea ecx, [esp + 0x58]
call fcn.00487f80
lea ecx, [esp + 0x38]
mov byte [esp + 0x740], 2
call fcn.0040eb20
cmp dword [ebx + 0x424], edi
jb 0x4f7e26
mov ecx, dword [ebx + 0x410]
jmp 0x4f7e2c
lea ecx, [ebx + 0x410]
lea edx, [esp + 0x10]
push edx
call fcn.00423950
lea ecx, [esp + 0x10]
mov byte [esp + 0x740], 4
call fcn.004d3cd0
mov eax, dword [esp + 0x10]
push 0x14
push eax
lea ecx, [esp + 0x5c]
push ecx
mov ecx, str.ac_s11_12
call fcn.00488780
push 0
push 1
lea esi, [esp + 0x5c]
call fcn.00487e50
mov byte [esp + 0x740], 2
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4f7e92
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x54]
push ecx
jmp 0x4f8407
cmp eax, 0x800000
jne 0x4f8042
call fcn.00424330
push eax
call fcn.004248e0
cmp al, 1
jne 0x4f802a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov eax, dword [ebx + 0x454]
test eax, eax
je 0x4f7eeb
mov edx, dword [eax + 0x30]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4f7eeb
mov eax, dword [ebx + 0x454]
add eax, 0x2c
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
cmp byte [ebx + 0x42c], 0
je 0x4f7eff
push ebx
call fcn.004f98e0
jmp 0x4f8417
lea ecx, [esp + 0x54]
push ecx
call fcn.00486000
push ecx
mov dword [esp + 0x744], 7
mov eax, esp
mov dword [esp + 0x14], esp
push ecx
mov dword [eax], 0
mov eax, esp
mov dword [eax], 0
mov edx, dword [ebx + 0x30]
mov dword [esp + 0x18], esp
push edx
lea esi, [esp + 0x8c]
call fcn.004897f0
test eax, eax
je 0x4f8020
mov byte [ebx + 0x50c], 1
call fcn.00424330
mov esi, eax
call fcn.00424b80
mov byte [esp + 0x1b], al
push str.IDS_BINDING_DESC
xor al, al
or ecx, 0xffffffff
lea esi, [esp + 0x3c]
call fcn.004acdf0
mov byte [esp + 0x740], 8
cmp dword [eax + 0x18], edi
jb 0x4f7f82
mov eax, dword [eax + 4]
jmp 0x4f7f85
add eax, 4
lea ecx, [esp + 0x14]
push ecx
mov ecx, eax
call fcn.00423950
lea ecx, [esp + 0x38]
mov byte [esp + 0x740], 0xa
call fcn.0040eb20
cmp byte [esp + 0x1b], 0
je 0x4f7ffb
mov edx, 0x58c728
lea eax, [esp + 0x14]
call fcn.0040e610
push str.IDS_BINDING_DESC_MORE
xor al, al
or ecx, 0xffffffff
lea esi, [esp + 0x20]
call fcn.004acdf0
mov byte [esp + 0x740], 0xb
cmp dword [eax + 0x18], edi
jb 0x4f7fdc
mov eax, dword [eax + 4]
jmp 0x4f7fdf
add eax, 4
mov edx, eax
lea eax, [esp + 0x14]
call fcn.0040e610
lea ecx, [esp + 0x1c]
mov byte [esp + 0x740], 0xa
call fcn.0040eb20
mov edx, dword [esp + 0x14]
push 0
lea ecx, [esp + 0x58]
call fcn.00487f80
push 0
push 1
lea esi, [esp + 0x5c]
call fcn.00487e50
lea ecx, [esp + 0x14]
call fcn.00423d60
lea edx, [esp + 0x54]
push edx
jmp 0x4f8407
mov eax, dword [ebx + 0x38c]
mov edx, dword [eax + 4]
lea ecx, [ebx + 0x38c]
push 1
call edx
jmp 0x4f8417
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov eax, dword [ebx + 0x454]
test eax, eax
je 0x4f8073
mov eax, dword [eax + 0x30]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4f8073
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 + 0x2b4]
push edx
call fcn.00486000
push ecx
mov dword [esp + 0x744], 0xe
mov eax, esp
mov dword [esp + 0x14], esp
push ecx
mov dword [eax], 0
mov eax, esp
mov dword [eax], 0
mov eax, dword [ebx + 0x30]
mov dword [esp + 0x18], esp
push eax
lea esi, [esp + 0x2ec]
call fcn.004897f0
test eax, eax
je 0x4f83ff
mov byte [ebx + 0x50c], 1
mov edx, dword [0x5cc90c]
mov eax, dword [edx + 0xc]
mov ecx, 0x5cc90c
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
mov byte [esp + 0x740], 0xf
mov eax, dword [ebx + 0x3ec]
cmp eax, 1
jne 0x4f8141
push str.IDS_REDEEM_PROMPT_SEND_KEY
xor al, al
or ecx, 0xffffffff
lea esi, [esp + 0x20]
call fcn.004acdf0
mov byte [esp + 0x740], 0x10
cmp dword [ebx + 0x408], edi
jb 0x4f8119
mov ecx, dword [ebx + 0x3f4]
jmp 0x4f811f
lea ecx, [ebx + 0x3f4]
cmp dword [eax + 0x18], edi
jb 0x4f8129
mov eax, dword [eax + 4]
jmp 0x4f812c
add eax, 4
push ecx
push eax
push str._s_n_s
lea edi, [esp + 0x1c]
call fcn.004235e0
add esp, 0xc
jmp 0x4f8179
cmp eax, 2
jne 0x4f818f
push str.IDS_SEND_KEY_SUCCESS_NO_EMAIL
xor al, al
or ecx, 0xffffffff
lea esi, [esp + 0x20]
call fcn.004acdf0
mov byte [esp + 0x740], 0x11
cmp dword [eax + 0x18], edi
jb 0x4f816b
mov eax, dword [eax + 4]
jmp 0x4f816e
add eax, 4
mov edx, eax
lea edi, [esp + 0x10]
call fcn.00423a40
lea ecx, [esp + 0x1c]
mov byte [esp + 0x740], 0xf
call fcn.0040eb20
mov edi, 8
mov edx, dword [esp + 0x10]
push 0
lea ecx, [esp + 0x2b8]
call fcn.00487f80
push str.IDS_SEND_KEY_SUCCESS_NEXT
xor al, al
or ecx, 0xffffffff
lea esi, [esp + 0x20]
call fcn.004acdf0
mov byte [esp + 0x740], 0x12
cmp dword [eax + 0x18], edi
jb 0x4f81c6
mov eax, dword [eax + 4]
jmp 0x4f81c9
add eax, 4
push 0xb
push eax
lea ecx, [esp + 0x2bc]
push ecx
mov ecx, str.ac_s10_24
call fcn.00488780
lea ecx, [esp + 0x1c]
mov byte [esp + 0x740], 0xf
call fcn.0040eb20
mov eax, dword [ebx + 0x3ec]
cmp eax, 1
jne 0x4f820e
push 0
push eax
lea esi, [esp + 0x2bc]
call fcn.00487e50
jmp 0x4f83f6
cmp eax, 2
jne 0x4f83f6
push str.IDS_VIEW_KEY
xor al, al
or ecx, 0xffffffff
lea esi, [esp + 0x20]
mov byte [esp + 0x47e], 1
call fcn.004acdf0
mov byte [esp + 0x740], 0x13
cmp dword [eax + 0x18], edi
jb 0x4f8244
mov eax, dword [eax + 4]
jmp 0x4f8247
add eax, 4
push 0
push 1
mov ecx, eax
lea edx, [esp + 0x2bc]
call fcn.004885f0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x740], 0xf
call fcn.0040eb20
push str.IDS_ADD_EMAIL
xor al, al
or ecx, 0xffffffff
lea esi, [esp + 0x20]
call fcn.004acdf0
mov byte [esp + 0x740], 0x14
cmp dword [eax + 0x18], edi
jb 0x4f828f
mov eax, dword [eax + 4]
jmp 0x4f8292
add eax, 4
push 0
push 2
mov ecx, eax
lea edx, [esp + 0x2bc]
call fcn.004885f0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x740], 0xf
call fcn.0040eb20
push 0
push 0
lea esi, [esp + 0x2bc]
call fcn.00487e50
cmp eax, 2
jne 0x4f83f6
lea esi, [esp + 0x14]
call fcn.0040e410
push str.IDS_ACCOUNT_MANAGE_URL
mov al, 1
or ecx, 0xffffffff
lea esi, [esp + 0x20]
mov byte [esp + 0x744], 0x15
call fcn.004acdf0
mov byte [esp + 0x740], 0x16
cmp dword [eax + 0x18], edi
jb 0x4f8304
mov eax, dword [eax + 4]
jmp 0x4f8307
add eax, 4
mov edx, eax
lea edi, [esp + 0x14]
call fcn.00423a40
lea ecx, [esp + 0x1c]
mov byte [esp + 0x740], 0x15
call fcn.0040eb20
mov edx, dword [esp + 0x14]
cmp dword [edx - 0xc], 0
je 0x4f83ed
mov edx, str._utm_sourceIAutm_mediumACCOUNTutm_contentEMAIL_ADD
mov eax, edi
call fcn.0040e610
lea eax, [esp + 0x514]
push eax
call fcn.00423e10
mov byte [esp + 0x740], 0x17
call fcn.00424330
push 0x40
lea ecx, [esp + 0x518]
push ecx
call fcn.00424110
xor edx, edx
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], 0
mov word [esp + 0x3c], dx
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x540]
push ecx
mov byte [esp + 0x748], 0x18
call fcn.00404c30
add esp, 8
cmp dword [esp + 0x4c], 0
je 0x4f83c5
mov edx, 0x592010
mov eax, edi
call fcn.0040e610
cmp dword [esp + 0x50], 8
mov edx, dword [esp + 0x3c]
jae 0x4f83bc
lea edx, [esp + 0x3c]
lea eax, [esp + 0x14]
call fcn.0040e610
mov edx, dword [esp + 0x14]
push edx
push ecx
call fcn.004021a0
add esp, 4
call fcn.004d3310
lea ecx, [esp + 0x38]
call fcn.0040eb20
lea edi, [esp + 0x514]
call fcn.004243a0
lea ecx, [esp + 0x14]
call fcn.00423d60
lea ecx, [esp + 0x10]
call fcn.00423d60
lea eax, [esp + 0x2b4]
push eax
mov dword [esp + 0x744], 0xffffffff
call fcn.004861d0
xor esi, esi
lea edi, [ebx + 0x3f0]
mov dword [ebx + 0x3ec], esi
call fcn.0040ede0
lea edi, [ebx + 0x40c]
call fcn.0040ede0
mov dword [ebx + 0x428], esi
mov byte [ebx + 0x42c], 1
mov ecx, dword [ebx + 0x4e8]
push esi
push ecx
push 2
mov eax, ebx
call fcn.004e9b70
mov al, 1
mov ecx, dword [esp + 0x738]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x720]
xor ecx, esp
call fcn.0053c15d
mov esp, ebp
pop ebp
ret 4