Function at 0x477630
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x67b21d
mov eax, dword fs:[0]
push eax
sub esp, 0x974
mov eax, dword [0x780784]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.Creating_registry_entry_for_startup
push 0
mov dword [ebp - 0x93c], 0
push 4
push dword [0x74abe8]
push dword [0x785d74]
call fcn.0054e4f0
add esp, 0x14
mov dword [ebp - 0x934], 0
lea eax, [ebp - 0x934]
mov dword [ebp - 0x938], 0
push eax
push 0xf013f
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x477a52
cmp dword [0x74ac78], 8
lea ecx, [ebp - 0x938]
push 0
push ecx
push 0
push 0xf013f
push 0
push 0
mov eax, 0x74ac64
cmovae eax, dword [0x74ac64]
push 0
push eax
push dword [ebp - 0x934]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x4776fe
push str.Failed_to_create_registry_key
jmp 0x477a57
mov dword [ebp - 0x920], 0
mov dword [ebp - 0x91c], 0xf
mov byte [ebp - 0x930], 0
push 0x104
lea eax, [ebp - 0x114]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.0060f310
lea eax, [ebp - 0x114]
push 1
push eax
call fcn.0047a840
push 0x6c4834
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.00494750
push str.AdobeGCClient
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.00494750
push 0x6c4834
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.00494750
push str.AGCInvokerUtility.exe
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.00494750
add esp, 0x44
mov dword [ebp - 0x920], 0
cmp dword [ebp - 0x91c], 0x10
lea eax, [ebp - 0x930]
lea ecx, [ebp - 0x114]
cmovae eax, dword [ebp - 0x930]
lea edx, [ecx + 1]
mov byte [eax], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4777c6
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
lea ecx, [ebp - 0x930]
call fcn.00475240
mov esi, dword [ebp - 0x920]
inc esi
mov byte [ebp - 4], 1
mov dword [ebp - 0x948], 0
mov dword [ebp - 0x944], 0xf
mov byte [ebp - 0x958], 0
mov dword [ebp - 0x93c], 1
cmp esi, 0xf
jbe 0x477877
cmp esi, 0x7fffffff
ja 0x477a8b
or esi, 0xf
cmp esi, 0x7fffffff
jbe 0x477835
mov esi, SysReAllocString
jmp 0x47783f
mov eax, 0x16
cmp esi, eax
cmovb esi, eax
xor ecx, ecx
mov eax, esi
add eax, 1
setb cl
neg ecx
or ecx, eax
push ecx
lea ecx, [ebp - 0x958]
call fcn.004695d0
mov cl, byte [ebp - 0x958]
mov dword [ebp - 0x944], esi
mov byte [eax], cl
mov dword [ebp - 0x958], eax
mov dword [ebp - 0x948], 0
push 1
push 0x6c4434
lea ecx, [ebp - 0x958]
call fcn.00475240
cmp dword [ebp - 0x91c], 0x10
lea eax, [ebp - 0x930]
push dword [ebp - 0x920]
cmovae eax, dword [ebp - 0x930]
lea ecx, [ebp - 0x958]
push eax
call fcn.00475240
push 1
push 0x6c4434
lea ecx, [ebp - 0x958]
call fcn.00475240
movups xmm0, xmmword [eax]
movq xmm1, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov edx, dword [ebp - 0x91c]
movq qword [ebp - 0x940], xmm1
movq qword [ebp - 0x960], xmm1
movups xmmword [ebp - 0x980], xmm0
movups xmmword [ebp - 0x970], xmm0
cmp edx, 0x10
jb 0x477941
mov ecx, dword [ebp - 0x930]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x477928
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x477a90
push edx
push ecx
call fcn.0060c992
movups xmm0, xmmword [ebp - 0x980]
add esp, 8
movq xmm1, qword [ebp - 0x940]
lea ecx, [ebp - 0x970]
movq qword [ebp - 0x920], xmm1
movups xmmword [ebp - 0x930], xmm0
mov dword [ebp - 0x960], 0
mov dword [ebp - 0x95c], 0xf
mov byte [ebp - 0x970], 0
call fcn.00468830
lea ecx, [ebp - 0x958]
call fcn.00468830
cmp dword [ebp - 0x91c], 0x10
lea ecx, [ebp - 0x918]
push 0x400
push ecx
push 0xffffffffffffffff
lea eax, [ebp - 0x930]
cmovae eax, dword [ebp - 0x930]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor eax, eax
mov ecx, 0x74abec
cmp dword [0x74ac00], 8
mov word [ebp - 0x118], ax
cmovae ecx, dword [0x74abec]
mov eax, dword [ebp - 0x920]
add eax, eax
push eax
lea eax, [ebp - 0x918]
push eax
push 1
push 0
push ecx
push dword [ebp - 0x938]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x934]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x477a28
push str.Successfully_created_registry_entry_for_startup
push esi
push 4
push dword [0x74abe8]
push dword [0x785d74]
call fcn.0054e4f0
add esp, 0x14
lea ecx, [ebp - 0x930]
call fcn.00468830
mov al, 1
jmp 0x477a71
push str.Failed_to_set_value_for_registry_key
push 0
push 4
push dword [0x74abe8]
push dword [0x785d74]
call fcn.0054e4f0
add esp, 0x14
lea ecx, [ebp - 0x930]
call fcn.00468830
jmp 0x477a6f
push str.Failed_to_open_registry_key
push 0
push 4
push dword [0x74abe8]
push dword [0x785d74]
call fcn.0054e4f0
add esp, 0x14
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0060cdfa
mov esp, ebp
pop ebp
ret
call fcn.004751b0
call fcn.0061883f
int3