Function at 0x4141d6
Capabilities:
Extract resource via kernel32 functions
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x474
and dword [esp + 0x44], 0
push ebx
push esi
push edi
call fcn.0043c5cd
push eax
lea ecx, [esp + 0x2c]
call fcn.0043ac50
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x28]
call fcn.0044bb25
mov esi, eax
test esi, esi
je 0x41421f
jle 0x414cf6
movzx esi, si
or esi, 0x80070000
jmp 0x414cf6
mov esi, dword [esp + 0x28]
lea ecx, [esp + 0x28]
mov eax, dword [esi - 0xc]
dec eax
push eax
call fcn.0043a8ec
push 0x5c
pop ecx
cmp ax, cx
jne 0x414247
mov eax, dword [esi - 0xc]
lea ecx, [esp + 0x28]
dec eax
push eax
call fcn.0043c894
or dword [esp + 0x40], 0xffffffff
xor ebx, ebx
call fcn.0043c5cd
push eax
lea ecx, [esp + 0x20]
call fcn.0043ac50
push str.WIMGAPI.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
push 0x491c08
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esp + 0x20], 1
test eax, eax
je 0x414378
lea ecx, [esp + 0x54]
push ecx
lea ecx, [esp + 0x5c]
push ecx
push 0x200
push esi
call eax
test eax, eax
je 0x414378
lea eax, [esp + 0x50]
mov dword [esp + 0x38], 4
push eax
push 0x418
lea eax, [esp + 0x70]
push eax
push 1
push dword [esp + 0x64]
call dword [sym.imp.WIMGAPI.DLL_WIMGetMountedImageInfoFromHandle]
test eax, eax
je 0x414361
mov ebx, dword [sym.imp.msvcrt.dll_wcslen]
mov edi, str.Wim:
push edi
call ebx
pop ecx
push eax
push edi
lea ecx, [esp + 0x24]
call fcn.0043b96c
lea eax, [esp + 0x68]
push eax
call ebx
pop ecx
push eax
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x24]
call fcn.0043b96c
push dword [esp + 0x478]
lea eax, [esp + 0x14]
push 0x491c30
push eax
call fcn.00449eea
add esp, 0xc
lea ecx, [esp + 0x1c]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.0043b96c
mov ecx, dword [esp + 0x10]
lea ecx, [ecx - 0x10]
call fcn.0043c924
push 0
lea ecx, [esp + 0x20]
call fcn.0043b93f
test byte [esp + 0x47c], 2
je 0x41434f
mov dword [esp + 0x40], 4
jmp 0x414361
test byte [esp + 0x47c], 0x38
je 0x414361
mov dword [esp + 0x40], 3
push dword [esp + 0x54]
mov edi, dword [sym.imp.WIMGAPI.DLL_WIMCloseHandle]
call edi
push dword [esp + 0x58]
call edi
jmp 0x41446c
push str.WIMGetWIMBootWIMPath
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4143d1
lea ecx, [esp + 0x38]
push ecx
push esi
call eax
test eax, eax
je 0x4143d1
mov edi, str.WimBoot:
push edi
call dword [sym.imp.msvcrt.dll_wcslen]
pop ecx
push eax
push edi
lea ecx, [esp + 0x24]
call fcn.0043b96c
push dword [esp + 0x38]
lea ecx, [esp + 0x20]
call fcn.0043b9f9
push 0
lea ecx, [esp + 0x20]
call fcn.0043b93f
push dword [esp + 0x38]
call dword [sym.imp.KERNEL32.dll_LocalFree]
push 8
pop ebx
call fcn.0043c5cd
push eax
lea ecx, [esp + 0x14]
call fcn.0043ac50
mov ecx, esi
call fcn.0044b5a0
mov dword [esp + 0x18], eax
cmp eax, 0xffffffff
jne 0x4143f9
xor ecx, ecx
call fcn.0044bc68
jmp 0x414404
lea edx, [esp + 0x10]
mov ecx, eax
call fcn.0044b733
lea ecx, [esp + 0x18]
mov edi, eax
call fcn.0043ab9a
test edi, edi
mov edi, dword [esp + 0x10]
jne 0x414454
push str.VHD:
call dword [sym.imp.msvcrt.dll_wcslen]
pop ecx
push eax
push str.VHD:
lea ecx, [esp + 0x24]
call fcn.0043b96c
push dword [edi - 0xc]
lea ecx, [esp + 0x20]
push edi
call fcn.0043b96c
push 0
lea ecx, [esp + 0x20]
call fcn.0043b93f
mov dword [esp + 0x10], 0x10
jmp 0x41445c
mov dword [esp + 0x10], 2
lea ecx, [edi - 0x10]
call fcn.0043c924
or ebx, dword [esp + 0x10]
mov dword [esp + 0x38], ebx
mov edi, dword [esp + 0x1c]
mov eax, dword [edi - 0xc]
lea eax, [eax*2 + 0xa7a]
push eax
push 0
call dword [sym.imp.OLEAUT32.dll_DllRegisterServer]
mov ebx, eax
mov dword [esp + 0x14], ebx
test ebx, ebx
jne 0x414497
mov esi, 0x8007000e
jmp 0x414cee
push 0xa7a
push 0
push ebx
call dword [sym.imp.msvcrt.dll_memset]
mov eax, dword [esp + 0x4c]
add esp, 0xc
mov dword [ebx], eax
mov eax, dword [esp + 0x38]
mov dword [ebx + 8], eax
lea eax, [ebx + 0x870]
push esi
push eax
mov dword [ebx + 4], 0xffff
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
mov eax, dword [edi - 0xc]
lea eax, [eax*2 + 2]
push eax
lea eax, [ebx + 0xa78]
push edi
push eax
call dword [sym.imp.msvcrt.dll_memcpy]
add esp, 0xc
call fcn.0043c5cd
push eax
lea ecx, [esp + 0x28]
call fcn.0043ac50
cmp dword [ebx], 0xffffffff
jne 0x414cdb
and dword [esp + 0x40], 0
and dword [esp + 0x38], 0
call fcn.0043c5cd
push eax
lea ecx, [esp + 0x40]
call fcn.0043ac50
mov ecx, esi
call fcn.004125c5
test eax, eax
je 0x41452b
or dword [ebx + 8], 1
jmp 0x41461a
lea eax, [esp + 0x28]
mov edx, str.bf1a281b_ad7b_4476_ac95_f47682990ce7
push eax
lea ecx, [esp + 0x14]
call fcn.00430fb9
pop ecx
push eax
lea ecx, [esp + 0x40]
call fcn.0043b599
mov ecx, dword [esp + 0x10]
lea ecx, [ecx - 0x10]
call fcn.0043c924
push 0x2f
push 0x5c
lea ecx, [esp + 0x44]
call fcn.0043ba25
mov esi, str._Windows_System32_config_
push esi
call dword [sym.imp.msvcrt.dll_wcslen]
pop ecx
push eax
push esi
lea ecx, [esp + 0x44]
call fcn.0043b96c
push 0x491ca8
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x1c]
call fcn.0043ab55
lea edx, [esp + 0x40]
mov dword [esp], str.SOFTWARE
lea ecx, [esp + 0x14]
mov esi, dword [eax]
call fcn.0043ab55
mov ebx, dword [sym.imp.ADVAPI32.dll_RegLoadKeyW]
pop ecx
push esi
push dword [eax]
push 0x80000002
call ebx
mov ecx, dword [esp + 0x10]
lea ecx, [ecx - 0x10]
call fcn.0043c924
mov ecx, dword [esp + 0x18]
lea ecx, [ecx - 0x10]
call fcn.0043c924
push 0x4907e8
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x1c]
call fcn.0043ab55
lea edx, [esp + 0x40]
mov dword [esp], 0x48fbe4
lea ecx, [esp + 0x14]
mov esi, dword [eax]
call fcn.0043ab55
pop ecx
push esi
push dword [eax]
push 0x80000002
call ebx
mov ecx, dword [esp + 0x10]
lea ecx, [ecx - 0x10]
call fcn.0043c924
mov ecx, dword [esp + 0x18]
lea ecx, [ecx - 0x10]
call fcn.0043c924
mov ebx, dword [esp + 0x14]
push str.SOFTWARE
lea edx, [esp + 0x40]
lea ecx, [esp + 0x1c]
call fcn.0043ab55
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
pop ecx
xor ecx, ecx
inc ecx
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x40]
push ecx
push 0x20019
push dword [0x4ab220]
push dword [eax]
push 0x80000002
call esi
test eax, eax
jne 0x414697
push 0x48fbe4
lea edx, [esp + 0x40]
lea ecx, [esp + 0x14]
call fcn.0043ab55
pop ecx
push 3
pop ecx
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x38]
push ecx
push 0x20019
push dword [0x4ab220]
push dword [eax]
push 0x80000002
call esi
test eax, eax
jne 0x414697
push 3
mov byte [esp + 0x3b], al
pop eax
jmp 0x4146a0
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x37], 1
test al, 2
je 0x4146bb
mov ecx, dword [esp + 0x10]
and eax, 0xfffffffd
mov dword [esp + 0x2c], eax
lea ecx, [ecx - 0x10]
call fcn.0043c924
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
and eax, 0xfffffffe
mov dword [esp + 0x2c], eax
lea ecx, [ecx - 0x10]
call fcn.0043c924
cmp byte [esp + 0x37], 0
je 0x4146e0
mov dword [ebx], 2
jmp 0x414cbd
and dword [ebx], 0
lea edx, [esp + 0x28]
push str.WindowsSystem32_ntdll.dll
lea ecx, [esp + 0x1c]
call fcn.0043ab55
pop ecx
push 0
lea edx, [ebx + 0x10]
mov ecx, dword [eax]
call fcn.0044c96a
pop ecx
mov ecx, dword [esp + 0x18]
lea ecx, [ecx - 0x10]
call fcn.0043c924
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x5c]
push eax
push 0x491d00
mov edx, 0x491d08
call fcn.0044cdf3
pop ecx
pop ecx
test eax, eax
jne 0x41473c
mov eax, dword [esp + 0x5c]
test eax, 0xffff0000
jne 0x41473c
mov word [ebx + 0x10], ax
push str.WindowsSystem32_ntdll.dll
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x1c]
call fcn.0043ab55
pop ecx
mov ecx, dword [eax]
call fcn.0044ba34
mov ecx, dword [esp + 0x18]
mov dword [ebx + 4], eax
lea ecx, [ecx - 0x10]
call fcn.0043c924
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x60]
push eax
push 0x48629c
mov edx, 0x491d50
call fcn.0044cdf3
pop ecx
pop ecx
test eax, eax
jne 0x41478d
cmp dword [esp + 0x60], eax
je 0x41478d
or dword [ebx + 8], 0x20
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x10]
and dword [esp + 0x10], 0
call fcn.00414176
and dword [esp + 0x48], 0
lea eax, [esp + 0x14]
push eax
push 0x20019
push dword [0x4ab220]
push str.ControlNlsLanguage
push dword [esp + 0x20]
call esi
test eax, eax
jne 0x41485a
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x24]
push eax
mov edx, str.Default
call fcn.0044cd14
pop ecx
test eax, eax
jne 0x4147f8
lea eax, [ebx + 0x468]
push eax
push 0x491d88
push dword [esp + 0x2c]
call dword [sym.imp.msvcrt.dll_swscanf]
add esp, 0xc
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x24]
push eax
mov edx, str.InstallLanguage
call fcn.0044cd14
pop ecx
test eax, eax
jne 0x414829
lea eax, [ebx + 0x46c]
push eax
push 0x491d88
push dword [esp + 0x2c]
call dword [sym.imp.msvcrt.dll_swscanf]
add esp, 0xc
lea eax, [esp + 0x4c]
mov dword [esp + 0x4c], 0x200
push eax
lea eax, [ebx + 0x470]
push eax
push 0
push 0
push str.InstallLanguageFallback
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x48]
push eax
push 0x20019
push dword [0x4ab220]
push str.ControlProductOptions
push dword [esp + 0x20]
call esi
test eax, eax
jne 0x4148e6
and dword [ebx + 0xc], eax
mov edx, 0x491e10
mov ecx, dword [esp + 0x48]
lea eax, [esp + 0x24]
push eax
call fcn.0044cd14
pop ecx
test eax, eax
jne 0x4148e6
push str.WinNT
push dword [esp + 0x28]
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
jne 0x4148b0
mov dword [ebx + 0xc], 1
jmp 0x4148e6
push str.LanmanNT
push dword [esp + 0x28]
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
jne 0x4148cc
mov dword [ebx + 0xc], 2
jmp 0x4148e6
push str.ServerNT
push dword [esp + 0x28]
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
jne 0x4148e6
mov dword [ebx + 0xc], 3
lea eax, [esp + 0x44]
push eax
push 0x20019
push dword [0x4ab220]
push 0x491d08
push dword [esp + 0x50]
call esi
test eax, eax
jne 0x414cab
and dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
push 0x20019
push dword [0x4ab220]
push 0x491e5c
push dword [esp + 0x54]
call esi
test byte [ebx + 8], 1
je 0x414937
call sym.Dismx86.exe_BcdIsWinPEBoot
test eax, eax
jne 0x414969
cmp dword [esp + 0x18], 0
je 0x414964
push str.WindowsSystem32winpeshl.exe
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x18]
call fcn.0043ab55
pop ecx
mov dword [esp + 0x2c], 4
mov ecx, dword [eax]
call fcn.0044c9a8
test eax, eax
jne 0x414969
mov byte [esp + 0x20], 0
mov ecx, dword [esp + 0x2c]
test cl, 4
je 0x41497e
mov ecx, dword [esp + 0x14]
lea ecx, [ecx - 0x10]
call fcn.0043c924
cmp byte [esp + 0x20], 0
lea esi, [ebx + 0x218]
je 0x414a82
or dword [ebx + 8], 0x40
lea eax, [ebx + 0x418]
mov esi, str.Windows_PE
push esi
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
push esi
lea eax, [ebx + 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
push esi
lea eax, [ebx + 0x670]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
push str._setup.exe
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x24]
call fcn.0043ab55
pop ecx
mov ecx, dword [eax]
call fcn.0044c9a8
test eax, eax
je 0x4149e5
mov esi, str.Windows_Setup
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_StrCpyW]
lea eax, [ebx + 0x18]
push eax
call esi
mov ecx, dword [esp + 0x20]
lea ecx, [ecx - 0x10]
call fcn.0043c924
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x24]
push eax
mov edx, 0x48f5dc
call fcn.0044cd14
pop ecx
test eax, eax
jne 0x414a73
lea eax, [esp + 0x24]
push eax
push 0x48f254
lea eax, [ebx + 0x18]
push eax
lea ecx, [esp + 0x38]
call fcn.0043b487
mov edx, eax
lea ecx, [esp + 0x1c]
call fcn.0043ab55
pop ecx
mov edx, eax
lea ecx, [esp + 0x24]
call fcn.00431007
pop ecx
push eax
lea ecx, [esp + 0x28]
call fcn.0043b599
mov ecx, dword [esp + 0x20]
lea ecx, [ecx - 0x10]
call fcn.0043c924
mov ecx, dword [esp + 0x14]
lea ecx, [ecx - 0x10]
call fcn.0043c924
mov ecx, dword [esp + 0x2c]
lea ecx, [ecx - 0x10]
call fcn.0043c924
push dword [esp + 0x24]
lea eax, [ebx + 0x18]
push eax
call esi
jmp 0x414c98
lea eax, [esp + 0x4c]
mov dword [esp + 0x4c], 0x200
push eax
push esi
push 0
push 2
push str.EditionID
push 0
push dword [esp + 0x5c]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
push esi
lea eax, [ebx + 0x670]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
push str.WindowsBrandingBasebrd_basebrd.dll
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x24]
call fcn.0043ab55
pop ecx
push 2
push 0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov ecx, dword [esp + 0x20]
mov esi, eax
mov dword [esp + 0x50], esi
lea ecx, [ecx - 0x10]
call fcn.0043c924
test esi, esi
je 0x414c40
push 0x100
lea eax, [ebx + 0x18]
push eax
push 0xc
push esi
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jne 0x414c68
and dword [esp + 0x2c], eax
test byte [ebx + 8], 1
push 0x12
pop edi
jne 0x414b83
cmp dword [ebx + 0x14], 0xa0000
jb 0x414b83
ja 0x414b27
cmp dword [ebx + 0x10], 0x42ed0000
jb 0x414b83
call fcn.0043c5cd
push eax
lea ecx, [esp + 0x24]
call fcn.0043ac50
mov ecx, dword [esp + 0x48]
lea eax, [esp + 0x20]
push eax
mov edx, str.OSProductPfn
call fcn.0044cd14
pop ecx
push edi
mov edi, dword [esp + 0x24]
push str.Microsoft.Windows.
push edi
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
jne 0x414b73
push 0xa
push eax
lea eax, [edi + 0x24]
push eax
call dword [sym.imp.msvcrt.dll_wcstoul]
add esp, 0xc
mov dword [esp + 0x2c], eax
lea ecx, [edi - 0x10]
call fcn.0043c924
mov edi, dword [esp + 0x2c]
test edi, edi
jne 0x414bb9
mov ecx, dword [esp + 0x48]
lea eax, [esp + 0x2c]
push eax
mov edx, str.Kernel_BrandingInfo
call fcn.0041ef11
test eax, eax
je 0x414bb5
mov ecx, dword [esp + 0x48]
lea eax, [esp + 0x2c]
push eax
mov edx, str.Kernel_ProductInfo
call fcn.0041ef11
test eax, eax
jne 0x414c40
mov edi, dword [esp + 0x2c]
push str.BRANDING_REQUIRED_RESOURCEID_MAP
push str.RES_REQUIRED_RESOURCEID_MAP
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [esp + 0x20], eax
test eax, eax
je 0x414c40
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [esp + 0x14], eax
test eax, eax
je 0x414c40
push 0
lea edx, [esp + 0x30]
mov ecx, esi
call fcn.0044c908
pop ecx
test eax, eax
jne 0x414c40
cmp dword [esp + 0x30], 0xa0000
ja 0x414d2f
jb 0x414c12
cmp dword [esp + 0x2c], 0x42b203e8
jae 0x414d2f
push dword [esp + 0x20]
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
shr eax, 4
dec eax
cmp eax, 0xffffffff
je 0x414c40
mov ecx, eax
shl ecx, 4
add ecx, dword [esp + 0x14]
cmp dword [ecx], edi
je 0x414d0d
dec eax
sub ecx, 0x10
cmp eax, 0xffffffff
jne 0x414c2f
lea eax, [esp + 0x4c]
mov dword [esp + 0x4c], 0x200
push eax
lea eax, [ebx + 0x18]
push eax
push 0
push 0
push 0x4920b0
push dword [esp + 0x58]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, dword [esp + 0x1c]
lea eax, [esp + 0x64]
mov dword [esp + 0x64], 0x50
push eax
lea eax, [ebx + 0x418]
push eax
push 0
push 0
push str.InstallationType
push dword [esp + 0x58]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [esp + 0x50]
call fcn.0043879e
push dword [esp + 0x44]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x18]
call fcn.0043a910
lea ecx, [esp + 0x48]
call fcn.0043a910
lea ecx, [esp + 0x10]
call fcn.0043a910
mov ecx, dword [esp + 0x3c]
lea ecx, [ecx - 0x10]
call fcn.0043c924
lea ecx, [esp + 0x38]
call fcn.0043a910
lea ecx, [esp + 0x40]
call fcn.0043a910
mov eax, dword [ebp + 0xc]
xor esi, esi
mov ecx, dword [esp + 0x24]
mov dword [eax], ebx
lea ecx, [ecx - 0x10]
call fcn.0043c924
lea ecx, [edi - 0x10]
call fcn.0043c924
mov ecx, dword [esp + 0x28]
add ecx, 0xfffffff0
call fcn.0043c924
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x100
lea eax, [ebx + 0x18]
push eax
movzx eax, word [ecx + 8]
push eax
push esi
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jne 0x414c64
jmp 0x414c40
push dword [esp + 0x20]
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
xor edx, edx
push 0x12
pop ecx
div ecx
dec eax
cmp eax, 0xffffffff
je 0x414c40
imul ecx, eax, 0x12
add ecx, dword [esp + 0x14]
cmp dword [ecx], edi
je 0x414d64
dec eax
sub ecx, 0x12
cmp eax, 0xffffffff
jne 0x414d52
jmp 0x414c40
movzx eax, word [ecx + 8]
lea edi, [ebx + 0x18]
push 0x100
push edi
push eax
push esi
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x414c40
push 0x25
push edi
call dword [sym.imp.msvcrt.dll_wcschr]
pop ecx
pop ecx
test eax, eax
je 0x414c64
push edi
lea ecx, [esp + 0x18]
call fcn.0043b487
push 0x491414
push 0x492054
lea ecx, [esp + 0x1c]
call fcn.00431141
call fcn.0043c5cd
push eax
lea ecx, [esp + 0x30]
call fcn.0043ac50
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0x2c]
push eax
mov edx, str.BuildBranch
call fcn.0044cd14
mov edi, dword [esp + 0x30]
pop ecx
test eax, eax
jne 0x414e1f
push str._release
push edi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x414e1f
push 0xfa1
push esi
lea ecx, [esp + 0x34]
call fcn.0043b406
lea ecx, [esp + 0x14]
test eax, eax
je 0x414e0a
mov edi, dword [esp + 0x2c]
push edi
jmp 0x414e28
push str.Insider_Preview
push 0x492088
call fcn.00431141
mov edi, dword [esp + 0x2c]
jmp 0x414e32
push 0x491414
lea ecx, [esp + 0x18]
push 0x492088
call fcn.00431141
mov esi, dword [esp + 0x14]
lea eax, [ebx + 0x18]
push esi
push 0x100
push eax
call dword [sym.imp.msvcrt.dll_wcscpy_s]
add esp, 0xc
lea ecx, [edi - 0x10]
call fcn.0043c924
lea ecx, [esi - 0x10]
call fcn.0043c924
jmp 0x414c64