Function at 0x4782a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cdbfd
mov eax, dword fs:[0]
push eax
sub esp, 0x4f4
mov eax, dword [0x512008]
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 0x4782ed
xor al, al
jmp 0x4786f3
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.00412f80
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.00486c20
mov eax, dword [ebx]
add esp, 0x10
test eax, eax
je 0x4786dd
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 0x4786dd
test esi, esi
je 0x4786dd
test eax, eax
je 0x4786dd
lea ecx, [ebp - 0x4d4]
mov dword [ebp - 0x4d8], 0
call fcn.004131e0
mov ecx, eax
call fcn.004131a0
lea ecx, [ebp - 0x4d8]
push ecx
push 0x20019
push 0
push eax
push 0x80000002
call dword [ebp - 0x4e4]
test eax, eax
jne 0x4786dd
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.00412eb0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4bc]
call fcn.004131e0
mov eax, dword [eax + 0x10]
test eax, eax
je 0x4785ff
lea ecx, [ebp - 0x4a4]
call fcn.00412f80
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x500]
push str.Shell32.dll
call fcn.00412eb0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x500]
push eax
call fcn.00495180
mov ecx, eax
call fcn.00495240
mov edi, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x500]
call fcn.00412e40
test edi, edi
je 0x4785a1
push 0x4eccc4
push edi
call ebx
mov edi, eax
test edi, edi
je 0x4785a1
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 0x4785a1
lea eax, [ebp - 0x484]
push eax
lea ecx, [ebp - 0x4a4]
call fcn.00412df0
mov edx, 0x10
lea ecx, [ebp - 0x4a4]
call fcn.0048ade0
lea eax, [ebp - 0x4bc]
push eax
lea edx, [ebp - 0x4a4]
lea ecx, [ebp - 0x500]
call fcn.00430b70
add esp, 4
mov byte [ebp - 4], 4
mov ebx, dword [ebp - 0x4e0]
push eax
lea ecx, [ebx + 4]
call fcn.00418e50
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x500]
call fcn.00412e40
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4a4]
call fcn.00412e40
jmp 0x478605
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 0x47868b
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x500]
call fcn.00412eb0
mov byte [ebp - 4], 5
lea edx, [ebp - 0x500]
lea ecx, [ebp - 0x4a4]
call fcn.00478720
mov byte [ebp - 4], 6
lea ecx, [ebx + 0x1c]
push eax
call fcn.00418e50
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x4a4]
call fcn.00412e40
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x500]
call fcn.00412e40
jmp 0x4786be
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.00412df0
push dword [ebp - 0x4d8]
call dword [ebp - 0x4dc]
mov bl, 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4bc]
call fcn.00412e40
jmp 0x4786df
xor bl, bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4d4]
call fcn.00412e40
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.004b6413
mov esp, ebp
pop ebp
ret 8