Function at 0x477dd0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cda2d
mov eax, dword fs:[0]
push eax
sub esp, 0x4f4
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 - 0x4dc], ebx
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x4e0], eax
test edi, edi
jne 0x477e1d
xor al, al
jmp 0x478223
movzx eax, di
mov esi, edi
imul ecx, eax, 0x10001
mov dword [ebp - 0x74], 0x790053
mov dword [ebp - 0x70], 0x740073
mov dword [ebp - 0x6c], 0x6d0065
mov dword [ebp - 0x68], 0x43005c
cmp edi, ecx
mov dword [ebp - 0x4e8], ecx
lea ecx, [ebp - 0x4d4]
mov dword [ebp - 0x64], 0x720075
cmove esi, eax
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
call fcn.00412b80
mov dword [ebp - 4], 0
lea eax, [ebp - 0x74]
push esi
push eax
lea eax, [ebp - 0x4d4]
push str._s_08x
push eax
call fcn.00486750
mov eax, dword [ebx]
add esp, 0x10
test eax, eax
je 0x47820d
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.RegOpenKeyExW
push eax
call ebx
mov ecx, dword [ebp - 0x4dc]
push str.RegQueryValueExW
mov dword [ebp - 0x4e4], eax
push dword [ecx]
call ebx
mov esi, eax
mov eax, dword [ebp - 0x4dc]
push str.RegCloseKey
push dword [eax]
call ebx
cmp dword [ebp - 0x4e4], 0
mov dword [ebp - 0x4dc], eax
je 0x47820d
test esi, esi
je 0x47820d
test eax, eax
je 0x47820d
lea ecx, [ebp - 0x4d4]
mov dword [ebp - 0x4d8], 0
call fcn.00412de0
mov ecx, eax
call fcn.00412da0
lea ecx, [ebp - 0x4d8]
push ecx
push 0x20019
push 0
push eax
push 0x80000002
call dword [ebp - 0x4e4]
test eax, eax
jne 0x47820d
mov eax, dword [ebp - 0x4e0]
test edi, 0xffff0000
push 0x208
cmove edi, dword [ebp - 0x4e8]
push 0
mov dword [eax], edi
lea eax, [ebp - 0x27c]
push eax
mov dword [ebp - 0x48c], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x488], 0x208
lea eax, [ebp - 0x488]
push eax
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp - 0x48c]
push eax
push 0
push str.Ime_File
push dword [ebp - 0x4d8]
call esi
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x4bc]
call fcn.00412ab0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4bc]
call fcn.00412de0
mov eax, dword [eax + 0x10]
test eax, eax
je 0x47812f
lea ecx, [ebp - 0x4a4]
call fcn.00412b80
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x500]
push str.Shell32.dll
call fcn.00412ab0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x500]
push eax
call fcn.00494cc0
mov ecx, eax
call fcn.00494d80
mov edi, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x500]
call fcn.00412a40
test edi, edi
je 0x4780d1
push 0x4ecb34
push edi
call ebx
mov edi, eax
test edi, edi
je 0x4780d1
push 0x208
lea eax, [ebp - 0x484]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x484]
push eax
push 0
push 0
push 0x25
push 0
call edi
test eax, eax
jne 0x4780d1
lea eax, [ebp - 0x484]
push eax
lea ecx, [ebp - 0x4a4]
call fcn.004129f0
mov edx, 0x10
lea ecx, [ebp - 0x4a4]
call fcn.0048a910
lea eax, [ebp - 0x4bc]
push eax
lea edx, [ebp - 0x4a4]
lea ecx, [ebp - 0x500]
call fcn.004306e0
add esp, 4
mov byte [ebp - 4], 4
mov ebx, dword [ebp - 0x4e0]
push eax
lea ecx, [ebx + 4]
call fcn.00418a50
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x500]
call fcn.00412a40
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4a4]
call fcn.00412a40
jmp 0x478135
mov ebx, dword [ebp - 0x4e0]
lea eax, [ebp - 0x488]
mov dword [ebp - 0x488], 0x208
push eax
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp - 0x48c]
push eax
push 0
push str.Layout_Display_Name
push dword [ebp - 0x4d8]
call esi
test eax, eax
jne 0x4781bb
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x500]
call fcn.00412ab0
mov byte [ebp - 4], 5
lea edx, [ebp - 0x500]
lea ecx, [ebp - 0x4a4]
call fcn.00478250
mov byte [ebp - 4], 6
lea ecx, [ebx + 0x1c]
push eax
call fcn.00418a50
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x4a4]
call fcn.00412a40
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x500]
call fcn.00412a40
jmp 0x4781ee
lea eax, [ebp - 0x488]
push eax
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp - 0x48c]
push eax
push 0
push str.Layout_Text
push dword [ebp - 0x4d8]
call esi
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebx + 0x1c]
call fcn.004129f0
push dword [ebp - 0x4d8]
call dword [ebp - 0x4dc]
mov bl, 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4bc]
call fcn.00412a40
jmp 0x47820f
xor bl, bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4d4]
call fcn.00412a40
mov al, bl
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 8