Function at 0x4145a5
Capabilities:
Extract resource via kernel32 functions
Query or enumerate registry value
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x484
and dword [esp + 0x50], 0
push ebx
push esi
push edi
call fcn.0043d5bb
push eax
lea ecx, [esp + 0x28]
call fcn.0043bbe8
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x24]
call fcn.0044cb64
mov esi, eax
test esi, esi
je 0x4145ee
jle 0x415180
movzx esi, si
or esi, 0x80070000
jmp 0x415180
mov esi, dword [esp + 0x24]
lea ecx, [esp + 0x24]
mov eax, dword [esi - 0xc]
dec eax
push eax
call fcn.0043b8a7
push 0x5c
pop ecx
cmp ax, cx
jne 0x414616
mov eax, dword [esi - 0xc]
lea ecx, [esp + 0x24]
dec eax
push eax
call fcn.0043d882
or dword [esp + 0x34], 0xffffffff
xor ebx, ebx
call fcn.0043d5bb
push eax
lea ecx, [esp + 0x2c]
call fcn.0043bbe8
push str.WIMGAPI.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
push 0x493b78
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x414742
lea ecx, [esp + 0x60]
push ecx
lea ecx, [esp + 0x68]
push ecx
push 0x200
push esi
call eax
test eax, eax
je 0x414742
lea eax, [esp + 0x5c]
mov dword [esp + 0x10], 4
push eax
push 0x418
lea eax, [esp + 0x80]
push eax
push 1
push dword [esp + 0x70]
call dword [sym.imp.WIMGAPI.DLL_WIMGetMountedImageInfoFromHandle]
test eax, eax
je 0x41472b
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 + 0x30]
call fcn.0043c99e
lea eax, [esp + 0x78]
push eax
call ebx
pop ecx
push eax
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x30]
call fcn.0043c99e
push dword [esp + 0x488]
lea eax, [esp + 0x1c]
push 0x493ba0
push eax
call fcn.0044af44
add esp, 0xc
lea ecx, [esp + 0x28]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.0043c99e
mov ecx, dword [esp + 0x18]
lea ecx, [ecx - 0x10]
call fcn.0043d912
push 0
lea ecx, [esp + 0x2c]
call fcn.0043c971
test byte [esp + 0x48c], 2
je 0x414719
mov dword [esp + 0x34], 4
jmp 0x41472b
test byte [esp + 0x48c], 0x38
je 0x41472b
mov dword [esp + 0x34], 3
push dword [esp + 0x60]
mov edi, dword [sym.imp.WIMGAPI.DLL_WIMCloseHandle]
call edi
push dword [esp + 0x64]
call edi
jmp 0x414836
push str.WIMGetWIMBootWIMPath
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41479b
lea ecx, [esp + 0x10]
push ecx
push esi
call eax
test eax, eax
je 0x41479b
mov edi, str.WimBoot:
push edi
call dword [sym.imp.msvcrt.dll_wcslen]
pop ecx
push eax
push edi
lea ecx, [esp + 0x30]
call fcn.0043c99e
push dword [esp + 0x10]
lea ecx, [esp + 0x2c]
call fcn.0043ca2b
push 0
lea ecx, [esp + 0x2c]
call fcn.0043c971
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_LocalFree]
push 8
pop ebx
call fcn.0043d5bb
push eax
lea ecx, [esp + 0x30]
call fcn.0043bbe8
mov ecx, esi
call fcn.0044c5df
mov dword [esp + 0x18], eax
cmp eax, 0xffffffff
jne 0x4147c3
xor ecx, ecx
call fcn.0044cca7
jmp 0x4147ce
lea edx, [esp + 0x2c]
mov ecx, eax
call fcn.0044c772
lea ecx, [esp + 0x18]
mov edi, eax
call fcn.0043bb32
test edi, edi
mov edi, dword [esp + 0x2c]
jne 0x41481e
push str.VHD:
call dword [sym.imp.msvcrt.dll_wcslen]
pop ecx
push eax
push str.VHD:
lea ecx, [esp + 0x30]
call fcn.0043c99e
push dword [edi - 0xc]
lea ecx, [esp + 0x2c]
push edi
call fcn.0043c99e
push 0
lea ecx, [esp + 0x2c]
call fcn.0043c971
mov dword [esp + 0x2c], 0x10
jmp 0x414826
mov dword [esp + 0x2c], 2
lea ecx, [edi - 0x10]
call fcn.0043d912
or ebx, dword [esp + 0x2c]
mov dword [esp + 0x10], ebx
mov edi, dword [esp + 0x28]
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 + 0x2c], ebx
test ebx, ebx
jne 0x414861
mov esi, 0x8007000e
jmp 0x415178
push 0xa7a
push 0
push ebx
call dword [sym.imp.msvcrt.dll_memset]
mov eax, dword [esp + 0x40]
add esp, 0xc
mov dword [ebx], eax
mov eax, dword [esp + 0x10]
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.0043d5bb
push eax
lea ecx, [esp + 0x24]
call fcn.0043bbe8
cmp dword [ebx], 0xffffffff
jne 0x415165
and dword [esp + 0x50], 0
and dword [esp + 0x34], 0
call fcn.0043d5bb
push eax
lea ecx, [esp + 0x34]
call fcn.0043bbe8
mov ecx, esi
call fcn.00412976
test eax, eax
je 0x4148f5
or dword [ebx + 8], 1
jmp 0x4149e4
lea eax, [esp + 0x24]
mov edx, str.bf1a281b_ad7b_4476_ac95_f47682990ce7
push eax
lea ecx, [esp + 0x1c]
call fcn.00431d43
pop ecx
push eax
lea ecx, [esp + 0x34]
call fcn.0043c5cb
mov ecx, dword [esp + 0x18]
lea ecx, [ecx - 0x10]
call fcn.0043d912
push 0x2f
push 0x5c
lea ecx, [esp + 0x38]
call fcn.0043ca57
mov esi, str._Windows_System32_config_
push esi
call dword [sym.imp.msvcrt.dll_wcslen]
pop ecx
push eax
push esi
lea ecx, [esp + 0x38]
call fcn.0043c99e
push 0x493c18
lea edx, [esp + 0x28]
lea ecx, [esp + 0x14]
call fcn.0043baed
lea edx, [esp + 0x34]
mov dword [esp], str.SOFTWARE
lea ecx, [esp + 0x1c]
mov esi, dword [eax]
call fcn.0043baed
mov ebx, dword [sym.imp.ADVAPI32.dll_RegLoadKeyW]
pop ecx
push esi
push dword [eax]
push 0x80000002
call ebx
mov ecx, dword [esp + 0x18]
lea ecx, [ecx - 0x10]
call fcn.0043d912
mov ecx, dword [esp + 0x10]
lea ecx, [ecx - 0x10]
call fcn.0043d912
push 0x4928c0
lea edx, [esp + 0x28]
lea ecx, [esp + 0x14]
call fcn.0043baed
lea edx, [esp + 0x34]
mov dword [esp], 0x491cb8
lea ecx, [esp + 0x1c]
mov esi, dword [eax]
call fcn.0043baed
pop ecx
push esi
push dword [eax]
push 0x80000002
call ebx
mov ecx, dword [esp + 0x18]
lea ecx, [ecx - 0x10]
call fcn.0043d912
mov ecx, dword [esp + 0x10]
lea ecx, [ecx - 0x10]
call fcn.0043d912
mov ebx, dword [esp + 0x2c]
push str.SOFTWARE
lea edx, [esp + 0x34]
lea ecx, [esp + 0x14]
call fcn.0043baed
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
pop ecx
xor ecx, ecx
inc ecx
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x50]
push ecx
push 0x20019
push dword [0x4ad198]
push dword [eax]
push 0x80000002
call esi
test eax, eax
jne 0x414a61
push 0x491cb8
lea edx, [esp + 0x34]
lea ecx, [esp + 0x1c]
call fcn.0043baed
pop ecx
push 3
pop ecx
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x34]
push ecx
push 0x20019
push dword [0x4ad198]
push dword [eax]
push 0x80000002
call esi
test eax, eax
jne 0x414a61
push 3
mov byte [esp + 0x1b], al
pop eax
jmp 0x414a6e
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x17], 1
test al, 2
je 0x414a85
mov ecx, dword [esp + 0x18]
and eax, 0xfffffffd
mov dword [esp + 0x1c], eax
lea ecx, [ecx - 0x10]
call fcn.0043d912
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
and eax, 0xfffffffe
mov dword [esp + 0x1c], eax
lea ecx, [ecx - 0x10]
call fcn.0043d912
cmp byte [esp + 0x17], 0
je 0x414aaa
mov dword [ebx], 2
jmp 0x415147
and dword [ebx], 0
mov edi, 0x493c98
test byte [ebx + 8], 1
je 0x414ae7
mov eax, dword fs:[0x18]
mov ecx, dword [eax + 0x30]
mov ax, word [ecx + 0xa4]
mov word [ebx + 0x16], ax
mov ax, word [ecx + 0xa8]
mov word [ebx + 0x14], ax
mov ax, word [ecx + 0xac]
mov word [ebx + 0x12], ax
jmp 0x414b81
push str.WindowsSystem32_ntdll.dll
lea edx, [esp + 0x28]
lea ecx, [esp + 0x1c]
call fcn.0043baed
pop ecx
push 0
lea edx, [ebx + 0x10]
mov ecx, dword [eax]
call fcn.0044d9a9
pop ecx
mov ecx, dword [esp + 0x18]
lea ecx, [ecx - 0x10]
call fcn.0043d912
mov eax, 0x47ba
cmp word [ebx + 0x12], ax
jb 0x414b81
call fcn.0043d5bb
push eax
lea ecx, [esp + 0x14]
call fcn.0043bbe8
mov ecx, dword [esp + 0x50]
lea eax, [esp + 0x10]
push eax
push str.CurrentBuildNumber
mov edx, edi
call fcn.0044defb
mov esi, dword [esp + 0x18]
pop ecx
pop ecx
test eax, eax
jne 0x414b73
and dword [esp + 0x10], 0
lea eax, [esp + 0x10]
push 0xa
push eax
push esi
call dword [sym.imp.msvcrt.dll_wcstoul]
add esp, 0xc
cmp esi, dword [esp + 0x10]
je 0x414b73
cmp eax, 0xffff
ja 0x414b73
mov word [ebx + 0x12], ax
lea ecx, [esi - 0x10]
call fcn.0043d912
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x4c]
and dword [esp + 0x4c], 0
call fcn.00414545
mov ecx, dword [esp + 0x50]
lea eax, [esp + 0x2c]
and dword [esp + 0x2c], 0
mov edx, edi
push eax
push 0x493ce0
call fcn.0044de32
pop ecx
pop ecx
test eax, eax
jne 0x414bbe
mov eax, dword [esp + 0x2c]
cmp eax, 0xffff
jbe 0x414be7
mov ecx, dword [esp + 0x4c]
lea eax, [esp + 0x2c]
push eax
push str.CSDBuildNumber
mov edx, str.ControlWindows
call fcn.0044de32
pop ecx
pop ecx
test eax, eax
jne 0x414beb
mov eax, dword [esp + 0x2c]
cmp eax, 0xffff
ja 0x414beb
mov word [ebx + 0x10], ax
push str.WindowsSystem32_ntdll.dll
lea edx, [esp + 0x28]
lea ecx, [esp + 0x6c]
call fcn.0043baed
pop ecx
mov ecx, dword [eax]
call fcn.0044ca73
mov ecx, dword [esp + 0x68]
mov dword [ebx + 4], eax
lea ecx, [ecx - 0x10]
call fcn.0043d912
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x6c]
push eax
push 0x4882cc
mov edx, 0x493d28
call fcn.0044de32
pop ecx
pop ecx
test eax, eax
jne 0x414c3c
cmp dword [esp + 0x6c], eax
je 0x414c3c
or dword [ebx + 8], 0x20
and dword [esp + 0x44], 0
lea eax, [esp + 0x10]
push eax
push 0x20019
push dword [0x4ad198]
push str.ControlNlsLanguage
push dword [esp + 0x5c]
call esi
test eax, eax
jne 0x414cf5
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x20]
push eax
mov edx, str.Default
call fcn.0044dd53
mov edi, dword [sym.imp.msvcrt.dll_swscanf]
pop ecx
test eax, eax
jne 0x414c97
lea eax, [ebx + 0x468]
push eax
push 0x493d60
push dword [esp + 0x28]
call edi
add esp, 0xc
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x20]
push eax
mov edx, str.InstallLanguage
call fcn.0044dd53
pop ecx
test eax, eax
jne 0x414cc4
lea eax, [ebx + 0x46c]
push eax
push 0x493d60
push dword [esp + 0x28]
call edi
add esp, 0xc
lea eax, [esp + 0x48]
mov dword [esp + 0x48], 0x200
push eax
lea eax, [ebx + 0x470]
push eax
push 0
push 0
push str.InstallLanguageFallback
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x44]
push eax
push 0x20019
push dword [0x4ad198]
push str.ControlProductOptions
push dword [esp + 0x5c]
call esi
test eax, eax
jne 0x414d7b
and dword [ebx + 0xc], eax
mov edx, 0x493de8
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0x20]
push eax
call fcn.0044dd53
pop ecx
test eax, eax
jne 0x414d7b
mov edi, dword [sym.imp.SHLWAPI.dll_StrCmpW]
push str.WinNT
push dword [esp + 0x24]
call edi
test eax, eax
jne 0x414d4d
mov dword [ebx + 0xc], 1
jmp 0x414d7b
push str.LanmanNT
push dword [esp + 0x24]
call edi
test eax, eax
jne 0x414d65
mov dword [ebx + 0xc], 2
jmp 0x414d7b
push str.ServerNT
push dword [esp + 0x24]
call edi
test eax, eax
jne 0x414d7b
mov dword [ebx + 0xc], 3
lea eax, [esp + 0x40]
push eax
push 0x20019
push dword [0x4ad198]
push 0x493c98
push dword [esp + 0x60]
call esi
test eax, eax
jne 0x415131
and dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
push 0x20019
push dword [0x4ad198]
push 0x493e34
push dword [esp + 0x50]
call esi
test byte [ebx + 8], 1
je 0x414dcc
call sym.Dismx86.exe_BcdIsWinPEBoot
test eax, eax
jne 0x414df6
cmp dword [esp + 0x10], 0
je 0x414dfd
or dword [esp + 0x1c], 4
lea edx, [esp + 0x24]
push str.WindowsSystem32winpeshl.exe
lea ecx, [esp + 0x58]
call fcn.0043baed
pop ecx
mov ecx, dword [eax]
call fcn.0044d9e7
test eax, eax
je 0x414dfd
mov byte [esp + 0x17], 1
jmp 0x414e02
mov byte [esp + 0x17], 0
mov ecx, dword [esp + 0x1c]
test cl, 4
je 0x414e17
mov ecx, dword [esp + 0x54]
lea ecx, [ecx - 0x10]
call fcn.0043d912
cmp byte [esp + 0x17], 0
lea esi, [ebx + 0x218]
lea edi, [ebx + 0x670]
je 0x414f12
or dword [ebx + 8], 0x40
lea eax, [ebx + 0x418]
mov edi, dword [sym.imp.SHLWAPI.dll_StrCpyW]
mov esi, str.Windows_PE
push esi
push eax
call edi
push esi
lea eax, [ebx + 0x218]
push eax
call edi
push esi
lea eax, [ebx + 0x670]
push eax
call edi
push str._setup.exe
lea edx, [esp + 0x28]
lea ecx, [esp + 0x1c]
call fcn.0043baed
pop ecx
mov ecx, dword [eax]
call fcn.0044d9e7
test eax, eax
je 0x414e7e
mov esi, str.Windows_Setup
lea eax, [ebx + 0x18]
push esi
push eax
call edi
mov ecx, dword [esp + 0x18]
lea ecx, [ecx - 0x10]
call fcn.0043d912
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x20]
push eax
mov edx, 0x4916a4
call fcn.0044dd53
lea esi, [ebx + 0x18]
pop ecx
test eax, eax
jne 0x414f06
lea eax, [esp + 0x20]
push eax
push 0x49131c
push esi
lea ecx, [esp + 0x64]
call fcn.0043c2b8
mov edx, eax
lea ecx, [esp + 0x40]
call fcn.0043baed
pop ecx
mov edx, eax
lea ecx, [esp + 0x40]
call fcn.00431d91
pop ecx
push eax
lea ecx, [esp + 0x24]
call fcn.0043c5cb
mov ecx, dword [esp + 0x3c]
lea ecx, [ecx - 0x10]
call fcn.0043d912
mov ecx, dword [esp + 0x38]
lea ecx, [ecx - 0x10]
call fcn.0043d912
mov ecx, dword [esp + 0x58]
lea ecx, [ecx - 0x10]
call fcn.0043d912
push dword [esp + 0x20]
push esi
call edi
jmp 0x41511e
lea eax, [esp + 0x48]
mov dword [esp + 0x48], 0x200
push eax
push esi
push 0
push 2
push str.EditionID
push 0
push dword [esp + 0x58]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
push esi
push edi
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
push str.WindowsBrandingBasebrd_basebrd.dll
lea edx, [esp + 0x28]
lea ecx, [esp + 0x5c]
call fcn.0043baed
pop ecx
push 2
push 0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov ecx, dword [esp + 0x58]
mov esi, eax
mov dword [esp + 0x54], esi
lea ecx, [ecx - 0x10]
call fcn.0043d912
test esi, esi
je 0x4150ca
push 0x100
lea eax, [ebx + 0x18]
push eax
push 0xc
push esi
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jne 0x4150ee
and dword [esp + 0x1c], eax
test byte [ebx + 8], 1
push 0x12
pop edi
jne 0x41500d
cmp dword [ebx + 0x14], 0xa0000
jb 0x41500d
ja 0x414fb1
cmp dword [ebx + 0x10], 0x42ed0000
jb 0x41500d
call fcn.0043d5bb
push eax
lea ecx, [esp + 0x1c]
call fcn.0043bbe8
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0x18]
push eax
mov edx, str.OSProductPfn
call fcn.0044dd53
pop ecx
push edi
mov edi, dword [esp + 0x1c]
push str.Microsoft.Windows.
push edi
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
jne 0x414ffd
push 0xa
push eax
lea eax, [edi + 0x24]
push eax
call dword [sym.imp.msvcrt.dll_wcstoul]
add esp, 0xc
mov dword [esp + 0x1c], eax
lea ecx, [edi - 0x10]
call fcn.0043d912
mov edi, dword [esp + 0x1c]
test edi, edi
jne 0x415043
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0x1c]
push eax
mov edx, str.Kernel_BrandingInfo
call fcn.0041f3ca
test eax, eax
je 0x41503f
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0x1c]
push eax
mov edx, str.Kernel_ProductInfo
call fcn.0041f3ca
test eax, eax
jne 0x4150ca
mov edi, dword [esp + 0x1c]
push str.BRANDING_REQUIRED_RESOURCEID_MAP
push str.RES_REQUIRED_RESOURCEID_MAP
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [esp + 0x18], eax
test eax, eax
je 0x4150ca
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x4150ca
push 0
lea edx, [esp + 0x74]
mov ecx, esi
call fcn.0044d947
pop ecx
test eax, eax
jne 0x4150ca
cmp dword [esp + 0x74], 0xa0000
ja 0x4151b9
jb 0x41509c
cmp dword [esp + 0x70], 0x42b203e8
jae 0x4151b9
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
shr eax, 4
dec eax
cmp eax, 0xffffffff
je 0x4150ca
mov ecx, eax
shl ecx, 4
add ecx, dword [esp + 0x1c]
cmp dword [ecx], edi
je 0x415197
dec eax
sub ecx, 0x10
cmp eax, 0xffffffff
jne 0x4150b9
lea eax, [esp + 0x48]
mov dword [esp + 0x48], 0x200
push eax
lea eax, [ebx + 0x18]
push eax
push 0
push 0
push 0x494088
push dword [esp + 0x54]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [esp + 0x5c]
mov dword [esp + 0x5c], 0x50
push eax
lea eax, [ebx + 0x418]
push eax
push 0
push 0
push str.InstallationType
push dword [esp + 0x54]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [esp + 0x54]
call fcn.00439820
push dword [esp + 0x40]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x10]
call fcn.0043b8cb
lea ecx, [esp + 0x44]
call fcn.0043b8cb
lea ecx, [esp + 0x4c]
call fcn.0043b8cb
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
lea ecx, [ecx - 0x10]
call fcn.0043d912
lea ecx, [esp + 0x34]
call fcn.0043b8cb
lea ecx, [esp + 0x50]
call fcn.0043b8cb
mov eax, dword [ebp + 0xc]
xor esi, esi
mov ecx, dword [esp + 0x20]
mov dword [eax], ebx
lea ecx, [ecx - 0x10]
call fcn.0043d912
lea ecx, [edi - 0x10]
call fcn.0043d912
mov ecx, dword [esp + 0x24]
add ecx, 0xfffffff0
call fcn.0043d912
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 0x4150ee
jmp 0x4150ca
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
xor edx, edx
push 0x12
pop ecx
div ecx
dec eax
cmp eax, 0xffffffff
je 0x4150ca
imul ecx, eax, 0x12
add ecx, dword [esp + 0x1c]
cmp dword [ecx], edi
je 0x4151ee
dec eax
sub ecx, 0x12
cmp eax, 0xffffffff
jne 0x4151dc
jmp 0x4150ca
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 0x4150ca
push 0x25
push edi
call dword [sym.imp.msvcrt.dll_wcschr]
pop ecx
pop ecx
test eax, eax
je 0x4150ee
push edi
lea ecx, [esp + 0x40]
call fcn.0043c2b8
push 0x4934ec
push 0x49402c
lea ecx, [esp + 0x44]
call fcn.00431ecb
call fcn.0043d5bb
push eax
lea ecx, [esp + 0x3c]
call fcn.0043bbe8
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x38]
push eax
mov edx, str.BuildBranch
call fcn.0044dd53
mov edi, dword [esp + 0x3c]
pop ecx
test eax, eax
jne 0x4152a9
push str._release
push edi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x4152a9
push 0xfa1
push esi
lea ecx, [esp + 0x40]
call fcn.0043c448
lea ecx, [esp + 0x3c]
test eax, eax
je 0x415294
mov edi, dword [esp + 0x38]
push edi
jmp 0x4152b2
push str.Insider_Preview
push 0x494060
call fcn.00431ecb
mov edi, dword [esp + 0x38]
jmp 0x4152bc
push 0x4934ec
lea ecx, [esp + 0x40]
push 0x494060
call fcn.00431ecb
mov esi, dword [esp + 0x3c]
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.0043d912
lea ecx, [esi - 0x10]
call fcn.0043d912
jmp 0x4150ee