Function at 0x45a310
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
lea ebp, [esp - 0x280]
sub esp, 0x280
push 0xffffffffffffffff
push 0x4a2e38
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x4c5008]
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 esi, ecx
mov dword [ebp - 0x14], esi
mov edi, dword [ebp + 0x28c]
mov ecx, edi
mov eax, dword [ebp + 0x290]
mov ebx, dword [ebp + 0x294]
mov dword [ebp - 0x38], eax
call fcn.0045a820
test al, al
je 0x45a7ef
mov eax, dword [esi]
test eax, eax
je 0x45a7ef
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.RegOpenKeyExW
push eax
call esi
mov ecx, dword [ebp - 0x14]
push str.RegQueryValueExW
mov dword [ebp - 0x18], eax
push dword [ecx]
call esi
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x14]
push str.RegCloseKey
push dword [eax]
call esi
cmp dword [ebp - 0x18], 0
mov dword [ebp - 0x14], eax
je 0x45a7ef
mov esi, dword [ebp - 0x34]
test esi, esi
je 0x45a7ef
test eax, eax
je 0x45a7ef
xor eax, eax
mov dword [ebp + 0x244], 0x6f0053
mov dword [ebp + 0x2c], eax
mov dword [ebp + 0x30], eax
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
mov dword [ebp + 0x2c], eax
mov dword [ebp + 0x30], 7
mov word [ebp + 0x1c], ax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x38]
cmp dword [eax + 0x14], 8
jb 0x45a475
mov eax, dword [eax]
cmp dword [edi + 0x14], 8
jb 0x45a47d
mov edi, dword [edi]
push eax
push dword [ebp + 0x288]
lea eax, [ebp + 0x244]
push edi
push eax
lea eax, [ebp + 0x1c]
push str._s_sLanguageProfile0x_08x_s
push eax
call fcn.00468ff0
add esp, 0x18
mov dword [ebp], 0
cmp dword [ebp + 0x30], 8
lea ecx, [ebp]
lea eax, [ebp + 0x1c]
cmovae eax, dword [ebp + 0x1c]
push ecx
push 0x20019
push 0
push eax
push 0x80000002
call dword [ebp - 0x18]
test eax, eax
jne 0x45a505
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 0x45a54c
push dword [ebp]
call dword [ebp - 0x14]
xor bl, bl
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 0x30]
cmp edx, 8
jb 0x45a7d7
mov ecx, dword [ebp + 0x1c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45a7cd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x45a7cd
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
xor eax, eax
mov dword [ebp + 0x14], 0
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x14], 0
mov dword [ebp + 0x18], 7
mov word [ebp + 4], ax
mov byte [ebp - 4], 1
lea eax, [ebp + 0x3c]
push eax
lea ecx, [ebp - 0x30]
call fcn.00403d20
mov byte [ebp - 4], 2
lea edx, [ebp + 4]
push 0
lea ecx, [ebp - 0x30]
call fcn.00459650
add esp, 4
mov byte [ebp - 0xd], al
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x1c]
cmp edx, 8
jb 0x45a5d8
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45a5cb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x45a5cb
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00497404
mov al, byte [ebp - 0xd]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], cx
test al, al
je 0x45a5fc
lea eax, [ebp + 4]
push eax
lea ecx, [ebx + 4]
call fcn.004025e0
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 0x45a6f5
lea eax, [ebp + 0x3c]
push eax
lea ecx, [ebp - 0x30]
call fcn.00403d20
mov byte [ebp - 4], 3
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x50]
call fcn.00459280
mov byte [ebp - 4], 4
lea ecx, [ebx + 0x1c]
push eax
call fcn.004026a0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x3c]
cmp edx, 8
jb 0x45a68b
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45a681
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x45a681
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00497404
add esp, 8
xor eax, eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x1c]
cmp edx, 8
jb 0x45a6df
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45a6d5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x45a6d5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00497404
add esp, 8
xor eax, eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
jmp 0x45a72f
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 ecx, [ebp + 0x3c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45a713
sub ecx, edx
lea eax, [ebp + 0x3c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebx + 0x1c]
call fcn.004027a0
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 0x45a766
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 [ebx], eax
jmp 0x45a76c
mov dword [ebx], 0
push dword [ebp]
call dword [ebp - 0x14]
mov bl, 1
mov byte [ebp - 4], 0
mov edx, dword [ebp + 0x18]
cmp edx, 8
jb 0x45a7b4
mov ecx, dword [ebp + 4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45a7aa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x45a7aa
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00497404
add esp, 8
xor eax, eax
mov dword [ebp + 0x14], 0
mov dword [ebp + 0x18], 7
mov word [ebp + 4], ax
jmp 0x45a507
push edx
push ecx
call fcn.00497404
add esp, 8
xor eax, eax
mov dword [ebp + 0x2c], 0
mov word [ebp + 0x1c], ax
mov al, bl
mov dword [ebp + 0x30], 7
jmp 0x45a7f1
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.004973c3
lea esp, [ebp + 0x280]
pop ebp
ret 0x10