Function at 0x4fad60
Capabilities:
Check if file exists
Check mutex on windows
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5760e5
mov eax, dword fs:[0]
push eax
sub esp, 0x530
mov eax, dword [0x5c5678]
xor eax, esp
mov dword [esp + 0x528], eax
push ebx
push esi
push edi
mov eax, dword [0x5c5678]
xor eax, esp
push eax
lea eax, [esp + 0x540]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x38], ebx
mov edi, ecx
lea eax, [edi + 0x54]
push 1
mov ecx, str.IDS_BIND_MAIL
lea esi, [esp + 0x4c]
mov dword [esp + 0x40], 1
mov dword [esp + 0x44], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], 0xb
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x24], 8
mov dword [esp + 0x14], eax
call fcn.004adac0
cmp dword [esp + 0x5c], ebx
jne 0x4fae0a
cmp dword [esp + 0x60], 8
jb 0x4fb53b
mov eax, dword [esp + 0x4c]
push eax
call fcn.0053d782
add esp, 4
jmp 0x4fb53b
cmp dword [esp + 0x60], 8
jb 0x4fae1e
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.0053d782
add esp, 4
push ebx
lea edx, [esp + 0x1c]
push edx
push ebx
push 0x2001f
push ebx
push ebx
push ebx
push str.SOFTWARE360TotalSecurityUserProfile
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4fb52c
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x24]
push edx
push ebx
push str.BindingMailDate
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [esp + 0x2c]
push ecx
mov esi, eax
call fcn.0053f3ec
add esp, 4
cmp esi, ebx
jne 0x4faeb4
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
cmp eax, 1
jne 0x4fae8d
cmp ecx, ebx
je 0x4fb52c
mov edx, dword [esp + 0x30]
push ecx
push eax
mov eax, dword [esp + 0x34]
push edx
push eax
call fcn.005453af
fabs
fcomp qword [0x59a4c8]
add esp, 0x10
fnstsw ax
test ah, 5
jnp 0x4fb52c
mov edx, dword [esp + 0x18]
push 8
lea ecx, [esp + 0x30]
push ecx
push 0xb
push ebx
push str.BindingMailDate
push edx
mov dword [esp + 0x34], 0xb
mov dword [esp + 0x38], 8
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp eax, ebx
jne 0x4fb52c
lea eax, [esp + 0x9c]
push eax
call fcn.00487070
mov dword [esp + 0x548], ebx
mov ecx, dword [edi + 0x30]
xor esi, esi
mov dword [esp + 0x14], ecx
cmp dword [0x5cb050], esi
jne 0x4faf11
mov dword [0x5cb050], esi
mov edx, dword [esp + 0x38]
push edx
lea eax, [esp + 0xec]
push eax
push 0x5cb020
call fcn.0044d840
mov ecx, dword [esp + 0x20]
add esp, 0xc
movzx eax, ax
push eax
push esi
push 0x100
push 0x8600c200
push 0
push ebx
push ecx
lea eax, [esp + 0xe4]
call fcn.00472350
test eax, eax
je 0x4fb512
mov eax, dword [esp + 0x10]
push 0
mov ecx, str.IDS_BIND_MAIL
lea esi, [esp + 0x68]
mov byte [edi + 0x50c], 1
call fcn.004adac0
mov byte [esp + 0x548], 1
mov edx, dword [esp + 0x68]
mov ebx, 8
cmp dword [esp + 0x7c], ebx
jae 0x4faf8c
lea edx, [esp + 0x68]
push 0
lea ecx, [esp + 0xa0]
call fcn.00489000
mov edx, dword [esp + 0x248]
mov esi, 1
push esi
push 0
push ecx
mov dword [esp + 0x20], esp
mov edi, esp
push 0
push ecx
mov eax, esp
mov dword [esp + 0x278], esi
mov dword [eax], edx
mov eax, dword [esp + 0x25c]
mov dword [esp + 0x28], esp
test eax, eax
je 0x4fafd5
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
lea eax, [esp + 0x104]
push eax
mov edx, esi
call fcn.004af890
call fcn.004a3020
add esp, 0xc
push esi
push esi
push ecx
mov dword [esp + 0x20], esp
mov edi, esp
push 0
push ecx
mov ecx, dword [esp + 0x25c]
mov eax, esp
mov dword [eax], ecx
mov eax, dword [esp + 0x25c]
mov esi, 2
mov dword [esp + 0x28], esp
test eax, eax
je 0x4fb01f
mov edx, dword [eax]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x104]
push ecx
mov edx, esi
call fcn.004af890
call fcn.004a3020
mov eax, dword [esp + 0x1c]
add esp, 0xc
push 0
mov ecx, str.IDS_GOTO_BIND
lea esi, [esp + 0x4c]
call fcn.004adac0
push 0xffffffffffffffff
push 0
push eax
lea eax, [esp + 0x70]
mov byte [esp + 0x554], 2
call fcn.00412610
mov byte [esp + 0x548], 1
cmp dword [esp + 0x60], ebx
jb 0x4fb07b
mov edx, dword [esp + 0x4c]
push edx
call fcn.0053d782
add esp, 4
cmp dword [esp + 0x7c], ebx
mov ebx, dword [esp + 0x68]
jae 0x4fb089
lea ebx, [esp + 0x68]
test ebx, ebx
je 0x4fb0de
push ecx
mov dword [esp + 0x18], esp
mov edi, esp
push 0
push ecx
mov ecx, dword [esp + 0x254]
mov eax, esp
mov dword [eax], ecx
mov eax, dword [esp + 0x254]
mov esi, 1
mov dword [esp + 0x20], esp
test eax, eax
je 0x4fb0be
mov edx, dword [eax]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0xfc]
push ecx
mov edx, esi
call fcn.004af890
mov edx, ebx
call fcn.004a30f0
add esp, 4
mov dword [esp + 0x548], esi
mov eax, dword [esp + 0x10]
push 0
mov ecx, str.IDS_BIND_LATER
lea esi, [esp + 0x4c]
call fcn.004adac0
push 0xffffffffffffffff
push 0
push eax
lea eax, [esp + 0x70]
mov byte [esp + 0x554], 4
call fcn.00412610
mov esi, 8
mov byte [esp + 0x548], 1
cmp dword [esp + 0x60], esi
jb 0x4fb128
mov edx, dword [esp + 0x4c]
push edx
call fcn.0053d782
add esp, 4
mov ebx, dword [esp + 0x68]
cmp dword [esp + 0x7c], esi
jae 0x4fb136
lea ebx, [esp + 0x68]
test ebx, ebx
je 0x4fb18f
push ecx
mov dword [esp + 0x18], esp
mov edi, esp
push 0
push ecx
mov ecx, dword [esp + 0x254]
mov eax, esp
mov dword [eax], ecx
mov eax, dword [esp + 0x254]
mov esi, 2
mov dword [esp + 0x20], esp
test eax, eax
je 0x4fb16b
mov edx, dword [eax]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0xfc]
push ecx
mov edx, esi
call fcn.004af890
mov edx, ebx
call fcn.004a30f0
add esp, 4
mov dword [esp + 0x548], 1
mov eax, dword [esp + 0x10]
push 0
mov ecx, str.IDS_BIND_DONT_NOTIFY
lea esi, [esp + 0x4c]
call fcn.004adac0
mov ebx, 8
mov byte [esp + 0x548], 6
cmp dword [eax + 0x18], ebx
jb 0x4fb1ba
mov eax, dword [eax + 4]
jmp 0x4fb1bd
add eax, 4
lea edx, [esp + 0x9c]
push edx
mov ecx, eax
call fcn.00489500
mov byte [esp + 0x548], 1
cmp dword [esp + 0x60], ebx
jb 0x4fb1e7
mov eax, dword [esp + 0x4c]
push eax
call fcn.0053d782
add esp, 4
lea esi, [esp + 0x9c]
call fcn.00489610
mov ecx, dword [esp + 0xcc]
push ecx
mov byte [esp + 0x266], 0
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x4fb217
mov eax, 2
jmp 0x4fb29b
cmp byte [0x5d0e14], 0
je 0x4fb240
mov edx, dword [esp + 0xcc]
push edx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [esp + 0xcc], 0
mov eax, 2
jmp 0x4fb29b
mov eax, dword [0x5d1d0c]
cmp dword [eax - 0xc], 0
je 0x4fb270
push eax
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
test eax, eax
jne 0x4fb2f3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x4fb2fa
push 0
push 0
lea ecx, [esp + 0xa4]
push ecx
mov byte [0x5d0e14], 1
call fcn.00487e00
lea edi, [esp + 0x23c]
call fcn.0048a8a0
mov eax, dword [esp + 0x25c]
movzx edx, byte [esp + 0x261]
mov dword [esp + 0x14], edx
cmp eax, 1
jne 0x4fb4bb
mov eax, dword [0x5ce94c]
mov edx, dword [eax + 0xc]
mov ecx, 0x5ce94c
call edx
add eax, 0x10
mov dword [esp + 0x10], eax
push str.IDS_ACCOUNT_MANAGE_URL
mov al, 1
or ecx, 0xffffffff
lea esi, [esp + 0x4c]
mov byte [esp + 0x54c], 7
call fcn.004adb10
mov byte [esp + 0x548], 8
cmp dword [eax + 0x18], ebx
jb 0x4fb307
mov edx, dword [eax + 4]
jmp 0x4fb30a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0xcc]
push eax
jmp 0x4fb228
lea edx, [eax + 4]
test edx, edx
jne 0x4fb312
xor eax, eax
jmp 0x4fb326
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4fb317
sub eax, esi
sar eax, 1
push eax
push edx
lea eax, [esp + 0x18]
push eax
call fcn.004253c0
mov byte [esp + 0x548], 7
cmp dword [esp + 0x60], ebx
jb 0x4fb34d
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.0053d782
add esp, 4
mov edx, dword [esp + 0x10]
cmp dword [edx - 0xc], 0
je 0x4fb369
push 0x37
push str._utm_sourceIAutm_mediumACCOUNTutm_contentEMAIL_ADD
lea edi, [esp + 0x18]
call fcn.00424de0
jmp 0x4fb372
lea esi, [esp + 0x10]
call fcn.00425260
mov ebx, dword [esp + 0x10]
cmp dword [ebx - 0xc], 0
je 0x4fb492
lea eax, [esp + 0x2fc]
push eax
call int.004255e0
xor ecx, ecx
mov dword [esp + 0x98], 7
mov dword [esp + 0x94], 0
mov word [esp + 0x84], cx
mov byte [esp + 0x548], 0xa
call fcn.00425b30
push 0x4d
lea edx, [esp + 0x300]
push edx
call fcn.004258f0
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x328]
push ecx
call fcn.00404ef0
add esp, 8
cmp dword [esp + 0x94], 0
je 0x4fb420
push 3
push 0x5943a0
lea edi, [esp + 0x18]
call fcn.00424de0
cmp dword [esp + 0x98], 8
mov edx, dword [esp + 0x84]
jae 0x4fb413
lea edx, [esp + 0x84]
lea eax, [esp + 0x10]
call fcn.0040eec0
mov ebx, dword [esp + 0x10]
call fcn.00402230
mov esi, eax
cmp byte [esi + 0x270], 0
jne 0x4fb435
call fcn.00401ea0
cmp dword [esi], 0
je 0x4fb44c
mov esi, dword [esi + 0x20c]
test esi, esi
je 0x4fb44c
push 0
push ebx
call esi
add esp, 8
cmp dword [esp + 0x98], 8
jb 0x4fb466
mov edx, dword [esp + 0x84]
push edx
call fcn.0053d782
add esp, 4
xor eax, eax
lea edi, [esp + 0x2fc]
mov dword [esp + 0x98], 7
mov dword [esp + 0x94], 0
mov word [esp + 0x84], ax
call fcn.00425ba0
lea eax, [ebx - 0x10]
mov byte [esp + 0x548], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4fb4b6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, 8
cmp dword [esp + 0x14], 0
je 0x4fb4e8
mov edx, dword [esp + 0x18]
push ebx
lea ecx, [esp + 0x40]
push ecx
push 0xb
push 0
push str.BindingMailDate
push edx
mov dword [esp + 0x34], 0xb
mov dword [esp + 0x38], ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp dword [esp + 0x7c], ebx
jb 0x4fb4fb
mov eax, dword [esp + 0x68]
push eax
call fcn.0053d782
add esp, 4
xor ecx, ecx
mov dword [esp + 0x7c], 7
mov dword [esp + 0x78], 0
mov word [esp + 0x68], cx
lea edx, [esp + 0x9c]
push edx
mov dword [esp + 0x54c], 0xffffffff
call fcn.00487240
xor ebx, ebx
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x4fb53b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x540]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x528]
xor ecx, esp
call fcn.0053d78d
mov esp, ebp
pop ebp
ret