Function at 0x4791a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
lea ebp, [esp - 0x280]
sub esp, 0x280
push 0xffffffffffffffff
push 0x4cde08
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x512008]
xor eax, ebp
mov dword [ebp + 0x27c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 0x28c]
mov ecx, dword [ebp + 0x290]
mov edi, dword [ebp + 0x294]
mov dword [ebp - 0x18], ecx
mov ecx, eax
mov dword [ebp - 0x1c], eax
call fcn.00479500
test al, al
je 0x4794d8
mov eax, dword [ebx]
test eax, eax
je 0x4794d8
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.RegOpenKeyExW
push eax
call esi
push str.RegQueryValueExW
push dword [ebx]
mov dword [ebp - 0x10], eax
call esi
push str.RegCloseKey
push dword [ebx]
mov dword [ebp - 0x14], eax
call esi
cmp dword [ebp - 0x10], 0
mov ebx, eax
mov dword [ebp - 0x20], ebx
je 0x4794d8
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x4794d8
test ebx, ebx
je 0x4794d8
xor eax, eax
mov dword [ebp + 0x244], 0x6f0053
lea ecx, [ebp + 4]
mov dword [ebp + 0x248], 0x740066
mov dword [ebp + 0x24c], 0x610077
mov dword [ebp + 0x250], 0x650072
mov dword [ebp + 0x254], 0x4d005c
mov dword [ebp + 0x258], 0x630069
mov dword [ebp + 0x25c], 0x6f0072
mov dword [ebp + 0x260], 0x6f0073
mov dword [ebp + 0x264], 0x740066
mov dword [ebp + 0x268], 0x43005c
mov dword [ebp + 0x26c], 0x460054
mov dword [ebp + 0x270], 0x54005c
mov dword [ebp + 0x274], 0x500049
mov word [ebp + 0x278], ax
call fcn.00412f80
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
call fcn.004131e0
mov ecx, eax
call fcn.004131a0
mov ecx, dword [ebp - 0x1c]
push eax
push dword [ebp + 0x288]
call fcn.004131e0
mov ecx, eax
call fcn.004131a0
push eax
lea eax, [ebp + 0x244]
push eax
lea eax, [ebp + 4]
push str._s_sLanguageProfile0x_08x_s
push eax
call fcn.00486c20
add esp, 0x18
mov dword [ebp], 0
lea ecx, [ebp + 4]
call fcn.004131e0
mov ecx, eax
call fcn.004131a0
lea ecx, [ebp]
push ecx
push 0x20019
push 0
push eax
push 0x80000002
call dword [ebp - 0x10]
test eax, eax
jne 0x479397
push 0x208
push eax
mov dword [ebp + 0x34], eax
lea eax, [ebp + 0x3c]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp + 0x38], 0x208
lea eax, [ebp + 0x38]
push eax
lea eax, [ebp + 0x3c]
push eax
lea eax, [ebp + 0x34]
push eax
push 0
push str.IconFile
push dword [ebp]
call esi
test eax, eax
je 0x4793af
push dword [ebp]
call ebx
xor bl, bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 4]
call fcn.00412e40
mov al, bl
jmp 0x4794da
lea ecx, [ebp + 0x1c]
call fcn.00412f80
mov byte [ebp - 4], 1
lea eax, [ebp + 0x3c]
push eax
lea ecx, [ebp - 0x38]
call fcn.00412eb0
mov byte [ebp - 4], 2
lea edx, [ebp + 0x1c]
push 0
lea ecx, [ebp - 0x38]
call fcn.004788e0
add esp, 4
mov bl, al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.00412e40
test bl, bl
je 0x4793f9
lea eax, [ebp + 0x1c]
push eax
lea ecx, [edi + 4]
call fcn.0041ce60
lea eax, [ebp + 0x38]
mov dword [ebp + 0x38], 0x208
push eax
lea eax, [ebp + 0x3c]
push eax
lea eax, [ebp + 0x34]
push eax
push 0
push str.Display_Description
push dword [ebp]
call esi
test eax, eax
jne 0x47945e
lea eax, [ebp + 0x3c]
push eax
lea ecx, [ebp - 0x38]
call fcn.00412eb0
mov byte [ebp - 4], 3
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0x50]
call fcn.00478720
mov byte [ebp - 4], 4
lea ecx, [edi + 0x1c]
push eax
call fcn.00418e50
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x50]
call fcn.00412e40
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.00412e40
jmp 0x479482
lea eax, [ebp + 0x38]
push eax
lea eax, [ebp + 0x3c]
push eax
lea eax, [ebp + 0x34]
push eax
push 0
push str.Description
push dword [ebp]
call esi
lea eax, [ebp + 0x3c]
push eax
lea ecx, [edi + 0x1c]
call fcn.00412df0
lea eax, [ebp + 0x38]
mov dword [ebp + 0x38], 0x208
push eax
lea eax, [ebp + 0x3c]
push eax
lea eax, [ebp + 0x34]
push eax
push 0
push str.SubstituteLayout
push dword [ebp]
call esi
test eax, eax
jne 0x4794b9
push 0x10
push eax
lea eax, [ebp + 0x3c]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstoul]
add esp, 0xc
mov dword [edi], eax
jmp 0x4794bf
mov dword [edi], 0
push dword [ebp]
call dword [ebp - 0x20]
mov bl, 1
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x1c]
call fcn.00412e40
jmp 0x479399
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x27c]
xor ecx, ebp
call fcn.004b6413
lea esp, [ebp + 0x280]
pop ebp
ret 0x10