Function at 0x522ec0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f32fd
mov eax, dword fs:[0]
push eax
sub esp, 0x4f4
mov eax, dword [0x66a074]
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 0x522f0d
xor al, al
jmp 0x523329
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.00408f40
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.004c9070
mov eax, dword [ebx]
add esp, 0x10
test eax, eax
je 0x523313
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x628fd0
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 0x628ff0
push dword [eax]
call ebx
cmp dword [ebp - 0x4e4], 0
mov dword [ebp - 0x4dc], eax
je 0x523313
test esi, esi
je 0x523313
test eax, eax
je 0x523313
lea eax, [ebp - 0x4d8]
mov dword [ebp - 0x4d8], 0
push eax
push 0x20019
push 0
lea ecx, [ebp - 0x4d4]
call fcn.00408e30
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [ebp - 0x4e4]
test eax, eax
jne 0x523313
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 fcn.005b9c20
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.00408ef0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4bc]
call fcn.00409050
test eax, eax
je 0x523225
lea ecx, [ebp - 0x4a4]
call fcn.00408f40
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x500]
push str.Shell32.dll
call fcn.00408ef0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x500]
push eax
call fcn.004d9190
mov ecx, eax
call fcn.004d9250
mov edi, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x500]
call fcn.00408ea0
test edi, edi
je 0x5231c7
push 0x62bf90
push edi
call ebx
mov edi, eax
test edi, edi
je 0x5231c7
push 0x208
lea eax, [ebp - 0x484]
push 0
push eax
call fcn.005b9c20
add esp, 0xc
lea eax, [ebp - 0x484]
push eax
push 0
push 0
push 0x25
push 0
call edi
test eax, eax
jne 0x5231c7
lea eax, [ebp - 0x484]
push eax
call fcn.00409310
add esp, 4
lea ecx, [ebp - 0x4a4]
push eax
lea eax, [ebp - 0x484]
push eax
call fcn.00409060
mov edx, 0x10
lea ecx, [ebp - 0x4a4]
call fcn.004c78f0
lea eax, [ebp - 0x4bc]
push eax
lea edx, [ebp - 0x4a4]
lea ecx, [ebp - 0x500]
call fcn.00409420
add esp, 4
mov byte [ebp - 4], 4
mov ebx, dword [ebp - 0x4e0]
push eax
lea ecx, [ebx + 4]
call fcn.00408eb0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x500]
call fcn.00408ea0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4a4]
call fcn.00408ea0
jmp 0x52322b
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 0x5232b1
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x500]
call fcn.00408ef0
mov byte [ebp - 4], 5
lea edx, [ebp - 0x500]
lea ecx, [ebp - 0x4a4]
call fcn.00523350
mov byte [ebp - 4], 6
lea ecx, [ebx + 0x1c]
push eax
call fcn.00408eb0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x4a4]
call fcn.00408ea0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x500]
call fcn.00408ea0
jmp 0x5232f4
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
call fcn.00409310
add esp, 4
lea ecx, [ebx + 0x1c]
push eax
lea eax, [ebp - 0x27c]
push eax
call fcn.00409060
push dword [ebp - 0x4d8]
call dword [ebp - 0x4dc]
mov bl, 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4bc]
call fcn.00408ea0
jmp 0x523315
xor bl, bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4d4]
call fcn.00408ea0
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.005b75ab
mov esp, ebp
pop ebp
ret 8