Function at 0x4a2980
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x522a1d
mov eax, dword fs:[0]
push eax
sub esp, 0x4f4
mov eax, dword [0x575054]
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 0x4a29cd
xor al, al
jmp 0x4a2de9
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], sym.imp.2345MiniUI.dll_public:_static_int___cdecl_RC::RCMiniUIUtils::ConvertStringToInt32_char_const__
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.00403340
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.004b9230
mov eax, dword [ebx]
add esp, 0x10
test eax, eax
je 0x4a2dd3
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x53b958
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 0x53b9c4
push dword [eax]
call ebx
cmp dword [ebp - 0x4e4], 0
mov dword [ebp - 0x4dc], eax
je 0x4a2dd3
test esi, esi
je 0x4a2dd3
test eax, eax
je 0x4a2dd3
lea eax, [ebp - 0x4d8]
mov dword [ebp - 0x4d8], 0
push eax
push 0x20019
push 0
lea ecx, [ebp - 0x4d4]
call fcn.00405910
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [ebp - 0x4e4]
test eax, eax
jne 0x4a2dd3
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.004032f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4bc]
call fcn.00405900
test eax, eax
je 0x4a2ce5
lea ecx, [ebp - 0x4a4]
call fcn.00403340
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x500]
push str.Shell32.dll
call fcn.004032f0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x500]
push eax
call fcn.004ccc10
mov ecx, eax
call fcn.004cccd0
mov edi, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x500]
call fcn.004032a0
test edi, edi
je 0x4a2c87
push 0x53d6fc
push edi
call ebx
mov edi, eax
test edi, edi
je 0x4a2c87
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 0x4a2c87
lea eax, [ebp - 0x484]
push eax
call fcn.004035e0
add esp, 4
lea ecx, [ebp - 0x4a4]
push eax
lea eax, [ebp - 0x484]
push eax
call fcn.004033d0
mov edx, 0x10
lea ecx, [ebp - 0x4a4]
call fcn.004b97e0
lea eax, [ebp - 0x4bc]
push eax
lea edx, [ebp - 0x4a4]
lea ecx, [ebp - 0x500]
call fcn.00405e60
add esp, 4
mov byte [ebp - 4], 4
mov ebx, dword [ebp - 0x4e0]
push eax
lea ecx, [ebx + 4]
call fcn.004032b0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x500]
call fcn.004032a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4a4]
call fcn.004032a0
jmp 0x4a2ceb
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 0x4a2d71
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x500]
call fcn.004032f0
mov byte [ebp - 4], 5
lea edx, [ebp - 0x500]
lea ecx, [ebp - 0x4a4]
call fcn.004a2e10
mov byte [ebp - 4], 6
lea ecx, [ebx + 0x1c]
push eax
call fcn.004032b0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x4a4]
call fcn.004032a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x500]
call fcn.004032a0
jmp 0x4a2db4
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.004035e0
add esp, 4
lea ecx, [ebx + 0x1c]
push eax
lea eax, [ebp - 0x27c]
push eax
call fcn.004033d0
push dword [ebp - 0x4d8]
call dword [ebp - 0x4dc]
mov bl, 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4bc]
call fcn.004032a0
jmp 0x4a2dd5
xor bl, bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4d4]
call fcn.004032a0
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.0050f27d
mov esp, ebp
pop ebp
ret 8