Function at 0x4a7480
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62f5e4
mov eax, dword fs:[0]
push eax
sub esp, 0x8b0
mov eax, dword [0x6bae70]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x878]
xor eax, eax
mov dword [ebp - 0x8bc], 0
push eax
push 0x68fc28
xor bl, bl
mov dword [ebp - 0x864], 7
mov dword [ebp - 0x868], 0
mov word [ebp - 0x878], ax
call fcn.00422460
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea eax, [ebp - 0x8b8]
push eax
lea eax, [ebp - 0x8b0]
mov dword [ebp - 4], 0
push eax
push 0
push 0x20006
push 0
push 0
push 0
push str.SOFTWAREWOW6432NodeiMyfone
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x8b0], 0
call esi
lea eax, [ebp - 0x8b8]
push eax
lea eax, [ebp - 0x8b0]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push str.SOFTWAREWOW6432NodeiMyfoneiMyfoneDown
push reloc.OLEAUT32.dll_SysReAllocString
call esi
mov eax, dword [ebp - 0x8b8]
cmp eax, 2
jne 0x4a76a0
lea eax, [ebp - 0x8b0]
push eax
push 0xf013f
push 0
push str.SOFTWAREWOW6432NodeiMyfoneiMyfoneDown
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4a7592
push 0x68fc28
mov ecx, edi
call fcn.00422560
jmp 0x4a7888
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x850], ax
lea eax, [ebp - 0x84e]
push eax
call fcn.005eb2b0
add esp, 0xc
mov dword [ebp - 0x8b4], 0x800
lea eax, [ebp - 0x8b4]
push eax
lea eax, [ebp - 0x850]
push eax
push 0
push 0
push str.GUID
push dword [ebp - 0x8b0]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4a76a9
lea eax, [ebp - 0x850]
push eax
lea ecx, [ebp - 0x878]
call fcn.00423810
push 1
push str._a_zA_Z0_9__
lea ecx, [ebp - 0x860]
call fcn.004a6510
lea ecx, [ebp - 0x48]
call fcn.004a65b0
lea eax, [ebp - 0x878]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x890]
push eax
call fcn.004addc0
push 0
lea ecx, [ebp - 0x860]
mov byte [ebp - 4], 3
push ecx
lea ecx, [ebp - 0x48]
push ecx
push eax
call fcn.004a5ac0
add esp, 0x18
test al, al
sete al
cmp dword [ebp - 0x87c], 0x10
mov byte [ebp - 0x8a9], al
jb 0x4a766a
push dword [ebp - 0x890]
call fcn.005e8fa6
mov al, byte [ebp - 0x8a9]
add esp, 4
test al, al
movzx ebx, bl
mov eax, dword [ebp - 0x40]
mov ecx, 1
cmovne ebx, ecx
test eax, eax
je 0x4a7687
push eax
call fcn.005e8fa6
add esp, 4
lea ecx, [ebp - 0x860]
mov byte [ebp - 4], 0
call fcn.004a6bf0
test bl, bl
je 0x4a786e
jmp 0x4a76a9
cmp eax, 1
jne 0x4a786e
push 0x3f
lea eax, [ebp - 0x4f]
mov byte [ebp - 0x50], 0
push 0
push eax
call fcn.005eb2b0
add esp, 0xc
lea eax, [ebp - 0x860]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
movzx eax, byte [ebp - 0x851]
push eax
movzx eax, byte [ebp - 0x852]
push eax
movzx eax, byte [ebp - 0x853]
push eax
movzx eax, byte [ebp - 0x854]
push eax
movzx eax, byte [ebp - 0x855]
push eax
movzx eax, byte [ebp - 0x856]
push eax
movzx eax, byte [ebp - 0x857]
push eax
movzx eax, byte [ebp - 0x858]
push eax
movzx eax, word [ebp - 0x85a]
push eax
movzx eax, word [ebp - 0x85c]
push eax
push dword [ebp - 0x860]
lea eax, [ebp - 0x50]
push str._08X__04X__04x__02X_02X__02X_02X_02X_02X_02X_02X
push 0x40
push eax
call fcn.004a59f0
add esp, 0x38
mov dword [ebp - 0x87c], 0xf
cmp byte [ebp - 0x50], 0
mov dword [ebp - 0x880], 0
mov byte [ebp - 0x890], 0
jne 0x4a7758
xor ecx, ecx
jmp 0x4a7769
lea ecx, [ebp - 0x50]
lea edx, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4a7760
sub ecx, edx
push ecx
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x890]
call fcn.00422c80
sub esp, 0x18
mov byte [ebp - 4], 4
mov ecx, esp
lea eax, [ebp - 0x890]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.00422880
lea eax, [ebp - 0x8a8]
push eax
call fcn.004ade50
mov esi, eax
add esp, 0x1c
lea eax, [ebp - 0x878]
cmp eax, esi
je 0x4a77fe
cmp dword [ebp - 0x864], 8
jb 0x4a77d5
push dword [ebp - 0x878]
call fcn.005e8fa6
add esp, 4
xor eax, eax
mov dword [ebp - 0x864], 7
push esi
lea ecx, [ebp - 0x878]
mov dword [ebp - 0x868], 0
mov word [ebp - 0x878], ax
call fcn.00421ee0
cmp dword [ebp - 0x894], 8
jb 0x4a7815
push dword [ebp - 0x8a8]
call fcn.005e8fa6
add esp, 4
lea edx, [ebp - 0x50]
lea ecx, [edx + 1]
jmp 0x4a7820
mov al, byte [edx]
inc edx
test al, al
jne 0x4a7820
sub edx, ecx
cmp dword [ebp - 0x864], 8
lea ecx, [ebp - 0x878]
cmovae ecx, dword [ebp - 0x878]
lea eax, [edx + edx]
push eax
push ecx
push 1
push 0
push str.GUID
push dword [ebp - 0x8b0]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp dword [ebp - 0x87c], 0x10
jb 0x4a786e
push dword [ebp - 0x890]
call fcn.005e8fa6
add esp, 4
push dword [ebp - 0x8b0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x878]
mov ecx, edi
push eax
call fcn.00421f40
cmp dword [ebp - 0x864], 8
jb 0x4a789f
push dword [ebp - 0x878]
call fcn.005e8fa6
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005e9734
mov esp, ebp
pop ebp
ret 4