Function at 0x4777f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cd970
mov eax, dword fs:[0]
push eax
sub esp, 0x2f0
mov eax, dword [0x513008]
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 ebx, ecx
mov dword [ebp - 0x2f8], ebx
mov eax, dword [ebx]
mov esi, dword [ebp + 8]
test eax, eax
je 0x477b54
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.RegOpenKeyExW
push eax
call edi
push str.RegEnumKeyExW
push dword [ebx]
mov dword [ebp - 0x2f0], eax
call edi
push str.RegCloseKey
push dword [ebx]
mov dword [ebp - 0x2f4], eax
call edi
mov ecx, dword [ebp - 0x2f0]
mov dword [ebp - 0x2fc], eax
test ecx, ecx
je 0x477b54
mov edi, dword [ebp - 0x2f4]
test edi, edi
je 0x477b54
test eax, eax
je 0x477b54
lea eax, [ebp - 0x2ec]
mov dword [ebp - 0x74], 0x790053
push eax
push 0x20019
push 0
lea eax, [ebp - 0x74]
mov dword [ebp - 0x70], 0x740073
push eax
push 0x80000002
mov dword [ebp - 0x6c], 0x6d0065
mov dword [ebp - 0x68], 0x43005c
mov dword [ebp - 0x64], 0x720075
mov dword [ebp - 0x60], 0x650072
mov dword [ebp - 0x5c], 0x74006e
mov dword [ebp - 0x58], 0x6f0043
mov dword [ebp - 0x54], 0x74006e
mov dword [ebp - 0x50], 0x6f0072
mov dword [ebp - 0x4c], 0x53006c
mov dword [ebp - 0x48], 0x740065
mov dword [ebp - 0x44], 0x43005c
mov dword [ebp - 0x40], 0x6e006f
mov dword [ebp - 0x3c], 0x720074
mov dword [ebp - 0x38], 0x6c006f
mov dword [ebp - 0x34], 0x4b005c
mov dword [ebp - 0x30], 0x790065
mov dword [ebp - 0x2c], 0x6f0062
mov dword [ebp - 0x28], 0x720061
mov dword [ebp - 0x24], 0x200064
mov dword [ebp - 0x20], 0x61004c
mov dword [ebp - 0x1c], 0x6f0079
mov dword [ebp - 0x18], 0x740075
mov dword [ebp - 0x14], 0x73
mov dword [ebp - 0x2ec], 0
call ecx
test eax, eax
jne 0x477b54
push 0x208
xor ebx, ebx
lea eax, [ebp - 0x27c]
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x280], 0x104
lea eax, [ebp - 0x280]
push ebx
push ebx
push ebx
push ebx
push eax
lea eax, [ebp - 0x27c]
push eax
push ebx
push dword [ebp - 0x2ec]
call edi
test eax, eax
jne 0x477b48
nop word [eax + eax]
push 0x10
lea eax, [ebp - 0x27c]
push 0
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstoul]
movzx edi, ax
add esp, 0xc
mov dword [ebp - 0x2f0], eax
cmp edi, 0x804
jne 0x477b12
lea ecx, [ebp - 0x2e8]
call fcn.00448840
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2b0]
call fcn.00412b80
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x298]
call fcn.00412b80
mov dword [ebp - 4], 3
lea eax, [ebp - 0x2e8]
mov ecx, dword [ebp - 0x2f8]
push eax
push dword [ebp - 0x2f0]
call fcn.00477dd0
test al, al
je 0x477adf
push str.00000000_0000_0000_0000_000000000000
lea ecx, [ebp - 0x2b0]
mov dword [ebp - 0x2b4], edi
call fcn.004129f0
push str.00000000_0000_0000_0000_000000000000
lea ecx, [ebp - 0x298]
call fcn.004129f0
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
je 0x477ad0
push eax
push 0x68
call fcn.00411a40
mov ecx, dword [ebp - 0x2e8]
mov edi, eax
add esp, 8
mov dword [ebp - 0x2f0], edi
lea eax, [ebp - 0x2e4]
mov dword [edi], ecx
lea ecx, [edi + 4]
push eax
call fcn.00412c10
mov byte [ebp - 4], 4
lea eax, [ebp - 0x2cc]
push eax
lea ecx, [edi + 0x1c]
call fcn.00412c10
mov byte [ebp - 4], 6
lea ecx, [edi + 0x38]
mov eax, dword [ebp - 0x2b4]
mov dword [edi + 0x34], eax
lea eax, [ebp - 0x2b0]
push eax
call fcn.00412c10
mov byte [ebp - 4], 7
lea eax, [ebp - 0x298]
push eax
lea ecx, [edi + 0x50]
call fcn.00412c10
mov byte [ebp - 4], 3
add dword [esi + 4], 0x68
jmp 0x477adf
lea ecx, [ebp - 0x2e8]
push ecx
push eax
mov ecx, esi
call fcn.0047a4c0
mov dword [ebp - 4], 0xa
lea ecx, [ebp - 0x298]
call fcn.00412a40
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x2b0]
call fcn.00412a40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2e8]
call fcn.00448920
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x280]
mov dword [ebp - 0x280], 0x104
push eax
lea eax, [ebp - 0x27c]
inc ebx
push eax
push ebx
push dword [ebp - 0x2ec]
call dword [ebp - 0x2f4]
test eax, eax
je 0x4779b0
push dword [ebp - 0x2ec]
call dword [ebp - 0x2fc]
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.004b6253
mov esp, ebp
pop ebp
ret 4