Function at 0x422506
Capabilities:
Set registry value

Disassembly:
push 0x114
mov eax, 0x52aa70
call fcn.004e41bf
mov ebx, ecx
mov dword [ebp - 0x118], ebx
mov eax, dword [ebx + 0x560]
mov eax, dword [eax + 0x10]
cmp eax, 0x68
jne 0x4225ce
mov esi, str.English
lea ecx, [ebp - 0x74]
push esi
call fcn.0040996a
xor edi, edi
mov dword [ebp - 4], edi
mov eax, dword [ebx + 0x4d0]
cmp eax, 0xa
ja case.0x422554.0
movzx eax, byte [eax + 0x422afe]
jmp dword [eax*4 + 0x422af2]
mov esi, str.Chinese
push esi
call fcn.00401903
pop ecx
push eax
push esi
lea ecx, [ebp - 0x74]
call fcn.004022b0
lea eax, [ebp - 0x118]
push eax
push str.SoftwareAdoreshareVideo_Converter_Genius
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
xor ebx, ebx
inc ebx
test eax, eax
jne 0x4225c4
cmp dword [ebp - 0x60], 8
lea ecx, [ebp - 0x74]
mov eax, dword [ebp - 0x64]
cmovae ecx, dword [ebp - 0x74]
add eax, eax
push eax
push ecx
push ebx
push edi
push str.kCurrentLanguage
push dword [ebp - 0x118]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x118]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, ebx
jmp 0x4225c6
mov esi, edi
lea ecx, [ebp - 0x74]
jmp 0x422ae3
cmp eax, 0x71
je 0x422a17
cmp eax, 0x72
je 0x422a17
cmp eax, 0x73
je 0x422a17
lea ecx, [ebp - 0x114]
call fcn.0044d5d4
push 7
mov dword [ebp - 4], 2
xor edi, edi
pop ecx
xor eax, eax
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x7c], edi
mov word [ebp - 0x8c], ax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], edi
mov word [ebp - 0x44], ax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], 5
mov eax, dword [ebx + 0x4d0]
cmp eax, 0x13
ja case.0x422636.0
jmp dword [eax*4 + 0x422b0a]
mov esi, str.1041
push esi
call fcn.00401903
pop ecx
push eax
push esi
lea ecx, [ebp - 0x44]
call fcn.004022b0
mov esi, 0x5567cc
jmp 0x4228ac
mov esi, str.1028
push esi
call fcn.00401903
pop ecx
push eax
push esi
lea ecx, [ebp - 0x44]
call fcn.004022b0
mov esi, str.zhcn
jmp 0x4228ac
mov esi, str.1034
push esi
call fcn.00401903
pop ecx
push eax
push esi
lea ecx, [ebp - 0x44]
call fcn.004022b0
mov esi, 0x556794
jmp 0x4228ac
mov esi, str.1031
push esi
call fcn.00401903
pop ecx
push eax
push esi
lea ecx, [ebp - 0x44]
call fcn.004022b0
mov esi, 0x55677c
jmp 0x4228ac
mov esi, str.1036
push esi
call fcn.00401903
pop ecx
push eax
push esi
lea ecx, [ebp - 0x44]
call fcn.004022b0
mov esi, 0x5567a4
jmp 0x4228ac
mov esi, str.1049
push esi
call fcn.00401903
pop ecx
push eax
push esi
lea ecx, [ebp - 0x44]
call fcn.004022b0
mov esi, 0x556804
jmp 0x4228ac
mov esi, str.1046
push esi
call fcn.00401903
pop ecx
push eax
push esi
lea ecx, [ebp - 0x44]
call fcn.004022b0
mov esi, 0x5567f4
jmp 0x4228ac
mov esi, str.1025
push esi
call fcn.00401903
pop ecx
push eax
push esi
lea ecx, [ebp - 0x44]
call fcn.004022b0
mov esi, 0x556744
jmp 0x4228ac
mov esi, str.1040
push esi
call fcn.00401903
pop ecx
push eax
push esi
lea ecx, [ebp - 0x44]
call fcn.004022b0
mov esi, 0x5567c4
jmp 0x4228ac
mov esi, str.32772
push esi
call fcn.00401903
pop ecx
push eax
push esi
lea ecx, [ebp - 0x44]
call fcn.004022b0
mov esi, str.zhtw
jmp 0x4228ac
mov esi, 0x55695c
push esi
call fcn.00401903
pop ecx
push eax
push esi
lea ecx, [ebp - 0x44]
call fcn.004022b0
mov esi, 0x5567d4
jmp 0x4228ac
mov esi, 0x55695c
push esi
call fcn.00401903
pop ecx
push eax
push esi
lea ecx, [ebp - 0x44]
call fcn.004022b0
mov esi, 0x5567dc
jmp 0x4228ac
mov esi, 0x55695c
push esi
call fcn.00401903
pop ecx
push eax
push esi
lea ecx, [ebp - 0x44]
call fcn.004022b0
mov esi, 0x556844
jmp 0x4228ac
mov esi, 0x55695c
push esi
call fcn.00401903
pop ecx
push eax
push esi
lea ecx, [ebp - 0x44]
call fcn.004022b0
mov esi, 0x556834
jmp 0x4228ac
mov esi, 0x55695c
push esi
call fcn.00401903
pop ecx
push eax
push esi
lea ecx, [ebp - 0x44]
call fcn.004022b0
mov esi, 0x5568c4
jmp 0x4228ac
mov esi, 0x55695c
push esi
call fcn.00401903
pop ecx
push eax
push esi
lea ecx, [ebp - 0x44]
call fcn.004022b0
mov esi, 0x55682c
jmp 0x4228ac
mov esi, 0x55695c
push esi
call fcn.00401903
pop ecx
push eax
push esi
lea ecx, [ebp - 0x44]
call fcn.004022b0
mov esi, 0x55d72c
jmp 0x4228ac
mov esi, 0x55695c
push esi
call fcn.00401903
pop ecx
push eax
push esi
lea ecx, [ebp - 0x44]
call fcn.004022b0
mov esi, 0x55d734
jmp 0x4228ac
mov esi, 0x55695c
push esi
call fcn.00401903
pop ecx
push eax
push esi
lea ecx, [ebp - 0x44]
call fcn.004022b0
mov esi, 0x55d73c
jmp 0x4228ac
mov esi, str.1033
push esi
call fcn.00401903
pop ecx
push eax
push esi
lea ecx, [ebp - 0x44]
call fcn.004022b0
mov esi, 0x55678c
push esi
call fcn.00401903
pop ecx
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.004022b0
push str.NsisLanguageKey
lea ecx, [ebx + 0x2c]
call fcn.00447b6e
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x11c]
push eax
push 0xf003f
push edi
push str.SoftWareWOW6432NodeMicrosoftWindowsCurrentVersionUninstall
push reloc.OLEAUT32.dll_SysReAllocString
call esi
xor ebx, ebx
inc ebx
test eax, eax
jne 0x42290f
mov eax, dword [ebp - 0x118]
mov eax, dword [eax + 0x560]
add eax, 0x28
cmp dword [eax + 0x14], 8
jb 0x422907
mov eax, dword [eax]
push eax
push str.SOFTWAREWow6432NodeMicrosoftWindowsCurrentVersionUninstall_s_is1
jmp 0x42294d
lea eax, [ebp - 0x11c]
push eax
push 0xf003f
push edi
push str.SoftWareMicrosoftWindowsCurrentVersionUninstall
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x4229e4
mov eax, dword [ebp - 0x118]
mov eax, dword [eax + 0x560]
add eax, 0x28
cmp dword [eax + 0x14], 8
jb 0x422947
mov eax, dword [eax]
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_s_is1
lea eax, [ebp - 0x114]
push eax
call fcn.0044db9e
add esp, 0xc
lea ecx, [ebp - 0x114]
call fcn.0044803f
mov esi, eax
push esi
call fcn.00401903
pop ecx
push eax
push esi
lea ecx, [ebp - 0x8c]
call fcn.004022b0
cmp dword [ebp - 0x78], 8
lea ecx, [ebp - 0x11c]
lea eax, [ebp - 0x8c]
cmovae eax, dword [ebp - 0x8c]
push ecx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x4229e4
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
cmovae ecx, dword [ebp - 0x2c]
add eax, eax
push eax
push ecx
push ebx
push edi
push str.Inno_Setup:_Language
push dword [ebp - 0x11c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x11c]
test eax, eax
jne 0x4229de
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, ebx
jmp 0x4229e6
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, edi
push edi
push ebx
lea ecx, [ebp - 0x2c]
call fcn.004021c6
push edi
push ebx
lea ecx, [ebp - 0x44]
call fcn.004021c6
push edi
push ebx
lea ecx, [ebp - 0x8c]
call fcn.004021c6
lea ecx, [ebp - 0x114]
call fcn.0044d6c6
jmp 0x422aea
mov esi, str.en_US
lea ecx, [ebp - 0x5c]
push esi
call fcn.0040996a
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x118]
mov eax, dword [eax + 0x4d0]
cmp eax, 0xa
ja case.0x422a3c.0
jmp dword [eax*4 + 0x422b5a]
mov esi, str.ja_JP
jmp case.0x422a3c.0
mov esi, str.zh_CN
jmp case.0x422a3c.0
mov esi, str.es_ES
jmp case.0x422a3c.0
mov esi, str.de_DE
jmp case.0x422a3c.0
mov esi, str.fr_FR
jmp case.0x422a3c.0
mov esi, str.ru_RU
jmp case.0x422a3c.0
mov esi, str.pt_BR
jmp case.0x422a3c.0
mov esi, str.zh_TW
push esi
call fcn.00401903
pop ecx
push eax
push esi
lea ecx, [ebp - 0x5c]
call fcn.004022b0
lea eax, [ebp - 0x120]
push eax
push str.SoftwareTenorshareiAnyGo
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x422adc
cmp dword [ebp - 0x48], 8
lea ecx, [ebp - 0x5c]
mov eax, dword [ebp - 0x4c]
cmovae ecx, dword [ebp - 0x5c]
add eax, eax
push eax
push ecx
push ebx
xor edi, edi
push edi
push str.Lang
push dword [ebp - 0x120]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x120]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, ebx
jmp 0x422ae0
xor edi, edi
mov esi, edi
lea ecx, [ebp - 0x5c]
push edi
push ebx
call fcn.004021c6
mov eax, esi
call fcn.004e4169
ret