Function at 0x405b60
Capabilities:
Accept command line arguments
Access peb ldr_data
Create process on windows
Delete directory
Delete file
Delete registry value
Enumerate files on windows
Generate random numbers via rtlgenrandom
Get common file path
Get hostname
Get process heap flags
Get process heap force flags
Get session user name
Get system firmware table
Get system information on windows
Make suspicious ntquerysysteminformation call
Move file
Persist via winlogon helper dll registry key
Query or enumerate registry value
Read .ini file
Resolve dns
Self delete
Set current directory
Set registry value
Terminate process

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff8
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0xec8
mov eax, dword [ecx]
mov dword [ebp - 0xe78], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0xe7c], eax
call sym.___main
mov dword [esp + 4], 0x104
mov dword [ebp - 0xe54], 0x40003e
mov dword [ebp - 0xe50], str.KernelObjects__wineboot_event
mov dword [esp], 0x40a800
call dword [sym.imp.kernelbase.dll_GetWindowsDirectoryW]
sub esp, 8
mov dword [esp], 0x40a800
call dword [sym.imp.kernelbase.dll_SetCurrentDirectoryW]
sub esp, 4
test eax, eax
jne 0x405bda
test byte [0x40a160], 2
jne 0x406e59
lea eax, [ebp - 0xe70]
mov dword [esp], 0xffffffff
mov dword [esp + 4], eax
call dword [sym.imp.kernelbase.dll_IsWow64Process]
sub esp, 8
test eax, eax
je 0x405c05
cmp dword [ebp - 0xe70], 0
jne 0x406e9d
cmp dword [ebp - 0xe78], 1
jle 0x405ef1
mov dword [ebp - 0xe90], 0
xor ebx, ebx
mov edx, 1
mov dword [ebp - 0xe8c], 0
mov dword [ebp - 0xe84], 0
mov dword [ebp - 0xe80], 0
mov dword [ebp - 0xe88], 0
mov dword [ebp - 0xe94], 0
jmp 0x405d59
mov ecx, 7
mov edi, str.__help
mov esi, eax
repe cmpsb byte [esi], byte es:[edi]
seta cl
sbb cl, 0
test cl, cl
je case.0x405d9f.3
mov ecx, 0xe
mov edi, str.__end_session
mov esi, eax
repe cmpsb byte [esi], byte es:[edi]
seta cl
sbb cl, 0
test cl, cl
je 0x405e70
mov ecx, 8
mov edi, str.__force
mov esi, eax
repe cmpsb byte [esi], byte es:[edi]
seta cl
sbb cl, 0
test cl, cl
je 0x405e80
mov ecx, 7
mov edi, str.__init
mov esi, eax
repe cmpsb byte [esi], byte es:[edi]
seta cl
sbb cl, 0
test cl, cl
je 0x405e8f
mov ecx, 7
mov edi, str.__kill
mov esi, eax
repe cmpsb byte [esi], byte es:[edi]
seta cl
sbb cl, 0
test cl, cl
je 0x405e9e
mov ecx, 0xa
mov edi, str.__restart
mov esi, eax
repe cmpsb byte [esi], byte es:[edi]
seta cl
sbb cl, 0
test cl, cl
je 0x405ead
mov ecx, 0xb
mov edi, str.__shutdown
mov esi, eax
repe cmpsb byte [esi], byte es:[edi]
seta cl
sbb cl, 0
test cl, cl
je 0x405ee2
mov esi, eax
mov edi, str.__update
mov ecx, 9
repe cmpsb byte [esi], byte es:[edi]
seta al
sbb al, 0
test al, al
jne case.0x405d9f.2
mov dword [ebp - 0xe90], 1
lea esi, [esi]
inc edx
cmp dword [ebp - 0xe78], edx
je 0x405dd5
mov eax, dword [ebp - 0xe7c]
mov eax, dword [eax + edx*4]
cmp byte [eax], 0x2d
jne 0x405d50
movzx ecx, byte [eax + 1]
cmp cl, 0x2d
je 0x405c60
add eax, 2
test cl, cl
je 0x405d50
mov esi, dword [ebp - 0xe8c]
mov edi, dword [ebp - 0xe90]
lea esi, [esi]
nop
sub ecx, 0x65
cmp cl, 0x10
ja case.0x405d9f.2
movzx ecx, cl
jmp dword [ecx*4 + 0x40cbd0]
mov edi, 1
lea esi, [esi]
movzx ecx, byte [eax]
inc eax
test cl, cl
jne 0x405d90
mov dword [ebp - 0xe8c], esi
inc edx
mov dword [ebp - 0xe90], edi
cmp dword [ebp - 0xe78], edx
jne 0x405d59
test ebx, ebx
je 0x405ebc
mov eax, dword [ebp - 0xe94]
cmp dword [ebp - 0xe80], 0
mov dword [esp], eax
je 0x406e27
call sym._shutdown_all_desktops
test eax, eax
je 0x405ed4
mov eax, dword [ebp - 0xe8c]
mov dword [esp], eax
call sym._kill_processes
jmp 0x405ec9
mov esi, 1
jmp 0x405db8
mov dword [ebp - 0xe80], 1
jmp 0x405db8
mov dword [ebp - 0xe84], 1
jmp 0x405db8
mov ebx, 1
jmp 0x405db8
mov dword [ebp - 0xe88], 1
jmp 0x405db8
mov dword [ebp - 0xe94], 1
jmp 0x405db8
mov ebx, 1
jmp 0x405d50
mov dword [ebp - 0xe94], 1
jmp 0x405d50
mov dword [ebp - 0xe88], 1
jmp 0x405d50
mov dword [ebp - 0xe80], 1
jmp 0x405d50
mov dword [ebp - 0xe84], 1
jmp 0x405d50
cmp dword [ebp - 0xe80], 0
jne 0x405e00
xor ebx, ebx
cmp dword [ebp - 0xe8c], 0
je 0x405f19
lea esp, [ebp - 0x10]
mov eax, ebx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
mov dword [ebp - 0xe8c], 1
jmp 0x405d50
mov dword [ebp - 0xe88], 0
mov dword [ebp - 0xe84], 0
mov dword [ebp - 0xe90], 0
mov dword [ebp - 0xe80], 0
lea eax, [ebp - 0xe54]
mov dword [ebp - 0xe40], 0x18
mov dword [ebp - 0xe38], eax
lea eax, [ebp - 0xe40]
mov dword [esp + 8], eax
lea eax, [ebp - 0xe74]
mov dword [ebp - 0xe3c], 0
mov dword [ebp - 0xe34], 0x82
mov dword [ebp - 0xe30], 0
mov dword [ebp - 0xe2c], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0x1f0003
mov dword [esp], eax
call dword [sym.imp.ntdll.dll_NtCreateEvent]
mov eax, dword [ebp - 0xe74]
sub esp, 0x14
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_ResetEvent]
push eax
call sym._create_user_shared_data
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
imul ebx, dword [eax + 0x64], 0x18
call sym._read_tsc_frequency
mov esi, eax
lea eax, [ebp - 0xc20]
mov edi, edx
call sym._get_vendorid
lea eax, [ebp - 0xe4c]
mov dword [esp + 0xc], 0
mov dword [esp + 4], eax
mov eax, dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [esp + 8], 0xc
mov dword [esp], 1
mov dword [ebp - 0xeac], eax
call eax
lea edx, [ebp - 0xa18]
mov eax, dword [ebp - 0xeac]
sub esp, 0x10
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x40
mov dword [esp + 4], edx
mov dword [esp], 0x69
call eax
sub esp, 0x10
test eax, eax
jne 0x406e4a
mov eax, dword [sym.imp.ucrtbase.dll_malloc]
mov dword [esp], ebx
mov dword [ebp - 0xe98], eax
call eax
mov dword [ebp - 0xea0], eax
test eax, eax
je 0x409406
mov eax, dword [ebp - 0xea0]
mov dword [esp + 0x10], ebx
mov dword [esp + 8], 0
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0
mov dword [esp], 0xb
call dword [sym.imp.ntdll.dll_NtPowerInformation]
sub esp, 0x14
test eax, eax
jne 0x408054
movzx eax, word [ebp - 0xe4c]
cmp ax, 9
je 0x408018
cmp ax, 0xc
je 0x407fcf
cmp ax, 5
je 0x407fcf
lea eax, [ebp - 0x810]
mov edx, 0x40baa0
mov dword [ebp - 0xe8c], eax
call sym._get_identifier.constprop.0
lea eax, [ebp - 0xe64]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], eax
mov eax, dword [sym.imp.advapi32.dll_RegCreateKeyExW]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0xf003f
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.HardwareDescriptionSystem
mov dword [esp], 0x80000002
mov dword [ebp - 0xe94], eax
call eax
sub esp, 0x24
test eax, eax
jne 0x408868
movzx edx, word [ebp - 0xe4c]
mov eax, dword [ebp - 0xe64]
cmp dx, 5
je 0x406f7c
cmp dx, 0xc
je 0x406f7c
mov ecx, str.AT_compatible
mov edx, str.Identifier
call sym._set_reg_value.isra.0
movzx eax, word [ebp - 0xe4c]
cmp ax, 5
je 0x406f90
cmp ax, 0xc
je 0x406f90
lea eax, [ebp - 0xe5c]
mov dword [esp + 0x20], 0
mov dword [ebp - 0xea4], eax
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0xe64]
mov dword [esp + 0x18], 0
mov dword [esp], eax
mov eax, dword [ebp - 0xe94]
mov dword [esp + 0x14], 0xf003f
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.FloatingPointProcessor
call eax
sub esp, 0x24
test eax, eax
jne 0x406f9c
lea eax, [ebp - 0xe60]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0xe64]
mov dword [esp + 0x18], 0
mov dword [esp], eax
mov eax, dword [ebp - 0xe94]
mov dword [esp + 0x14], 0xf003f
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.CentralProcessor
call eax
sub esp, 0x24
test eax, eax
je 0x406229
mov dword [ebp - 0xe60], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
cmp dword [eax + 0x64], 0
je 0x409059
mov dword [esp], esi
xor ebx, ebx
mov dword [esp + 4], edi
mov dword [esp + 8], 0xf4240
mov dword [esp + 0xc], 0
call sym.___udivdi3
mov edi, dword [sym.imp.advapi32.dll_RegSetValueExW]
mov dword [ebp - 0xe9c], eax
mov eax, dword [ebp - 0xea0]
lea esi, [eax + 4]
lea eax, [ebp - 0xe28]
mov dword [ebp - 0xe78], eax
mov eax, dword [sym.imp.advapi32.dll_RegCloseKey]
mov dword [ebp - 0xe7c], eax
lea esi, [esi]
lea esi, [esi]
mov eax, dword [ebp - 0xe78]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x40bcf4
mov dword [esp + 4], 0xa
mov dword [esp], eax
call sym._swprintf
mov eax, dword [ebp - 0xe78]
lea edx, [ebp - 0xe68]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], edx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xe60]
mov dword [esp + 0x18], 0
mov dword [esp], eax
mov eax, dword [ebp - 0xe94]
mov dword [esp + 0x14], 0xf003f
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
call eax
sub esp, 0x24
test eax, eax
jne 0x4064a8
mov eax, dword [ebp - 0xe9c]
mov dword [ebp - 0xe58], eax
test eax, eax
jne 0x40632a
mov eax, dword [esi]
mov dword [ebp - 0xe58], eax
lea eax, [ebp - 0xe44]
mov dword [esp + 0x14], 4
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xe68]
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0
mov dword [esp + 4], str.FeatureSet
mov dword [esp], eax
call edi
mov edx, dword [ebp - 0xe68]
mov eax, dword [ebp - 0xe8c]
sub esp, 0x18
cmp word [ebp - 0x810], 0
je 0x406389
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x406380
mov ecx, dword [ebp - 0xe8c]
mov dword [esp], edx
mov dword [esp + 0xc], 1
sub eax, ecx
mov dword [esp + 0x10], ecx
add eax, 2
mov dword [esp + 8], 0
mov dword [esp + 0x14], eax
mov dword [esp + 4], str.Identifier
call edi
lea eax, [ebp - 0xa18]
sub esp, 0x18
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_strlen]
mov dword [esp + 0xc], 1
inc eax
mov dword [esp + 8], 0
mov dword [esp + 0x14], eax
lea eax, [ebp - 0xa18]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xe68]
mov dword [esp + 4], str.ProcessorNameString
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegSetValueExA]
mov edx, dword [ebp - 0xe68]
lea eax, [ebp - 0xc20]
sub esp, 0x18
cmp word [ebp - 0xc20], 0
je 0x406429
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x406420
lea ecx, [ebp - 0xc20]
mov dword [esp], edx
sub eax, ecx
mov dword [esp + 0x10], ecx
add eax, 2
mov dword [esp + 0xc], 1
mov dword [esp + 0x14], eax
mov dword [esp + 8], 0
mov dword [esp + 4], str.VendorIdentifier
call edi
lea eax, [ebp - 0xe58]
sub esp, 0x18
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xe68]
mov dword [esp + 0x14], 4
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0
mov dword [esp + 4], str.MHz
mov dword [esp], eax
call edi
mov eax, dword [ebp - 0xe68]
sub esp, 0x18
mov dword [esp], eax
mov eax, dword [ebp - 0xe7c]
call eax
sub esp, 4
movzx eax, word [ebp - 0xe4c]
cmp ax, 5
je 0x40651b
cmp ax, 0xc
je 0x40651b
lea eax, [ebp - 0xe68]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0xe78]
mov dword [esp + 0x18], 0
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xe5c]
mov dword [esp + 0x14], 0xf003f
mov dword [esp], eax
mov eax, dword [ebp - 0xe94]
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
call eax
sub esp, 0x24
test eax, eax
je 0x407b8f
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
inc ebx
add esi, 0x18
cmp ebx, dword [eax + 0x64]
jb 0x406290
mov eax, dword [ebp - 0xe78]
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0xe64]
mov dword [esp + 0x14], 0xf003f
mov dword [esp], eax
mov eax, dword [ebp - 0xe94]
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.BIOS
call eax
mov ebx, dword [sym.imp.ucrtbase.dll_free]
sub esp, 0x24
mov dword [ebp - 0xe9c], ebx
test eax, eax
jne 0x4068a2
mov dword [esp + 0xc], 0
mov esi, dword [sym.imp.kernelbase.dll_GetSystemFirmwareTable]
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0x52534d42
call esi
sub esp, 0x10
mov edi, eax
mov dword [esp], eax
mov eax, dword [ebp - 0xe98]
call eax
mov ebx, eax
test eax, eax
je 0x406880
mov dword [esp + 0xc], edi
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0x52534d42
call esi
mov edx, ebx
mov esi, eax
mov eax, dword [ebp - 0xe28]
sub esp, 0x10
mov ecx, esi
mov dword [ebp - 0xe9c], eax
mov eax, 2
call sym._find_smbios_entry
mov edi, eax
test eax, eax
je 0x406693
mov edx, eax
movzx eax, byte [eax + 1]
movzx ecx, byte [edi + 4]
mov dword [esp + 8], esi
sub edx, ebx
mov dword [esp], ebx
add edx, eax
mov eax, dword [ebp - 0xe9c]
mov dword [esp + 4], edx
mov dword [ebp - 0xea8], edx
mov edx, str.BaseBoardManufacturer
call sym._set_value_from_smbios_string
mov edx, dword [ebp - 0xea8]
movzx ecx, byte [edi + 5]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov eax, dword [ebp - 0xe9c]
mov dword [esp + 4], edx
mov edx, str.BaseBoardProduct
call sym._set_value_from_smbios_string
mov edx, dword [ebp - 0xea8]
movzx ecx, byte [edi + 6]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov eax, dword [ebp - 0xe9c]
mov dword [esp + 4], edx
mov edx, str.BaseBoardVersion
call sym._set_value_from_smbios_string
mov ecx, esi
mov edx, ebx
xor eax, eax
mov edi, dword [ebp - 0xe28]
call sym._find_smbios_entry
mov ecx, eax
test eax, eax
je 0x40678f
mov edx, eax
movzx eax, byte [eax + 1]
mov dword [ebp - 0xe9c], ecx
sub edx, ebx
movzx ecx, byte [ecx + 4]
mov dword [esp + 8], esi
add eax, edx
mov dword [esp], ebx
mov edx, str.BIOSVendor
mov dword [esp + 4], eax
mov dword [ebp - 0xea8], eax
mov eax, edi
call sym._set_value_from_smbios_string
mov eax, dword [ebp - 0xea8]
mov ecx, dword [ebp - 0xe9c]
mov edx, str.BIOSVersion
movzx ecx, byte [ecx + 5]
mov dword [esp + 4], eax
mov eax, edi
mov dword [esp + 8], esi
mov dword [esp], ebx
call sym._set_value_from_smbios_string
mov eax, dword [ebp - 0xea8]
mov ecx, dword [ebp - 0xe9c]
mov edx, str.BIOSReleaseDate
movzx ecx, byte [ecx + 8]
mov dword [esp + 4], eax
mov eax, edi
mov dword [esp + 8], esi
mov dword [esp], ebx
call sym._set_value_from_smbios_string
mov ecx, dword [ebp - 0xe9c]
cmp byte [ecx + 1], 0x17
jbe 0x40896f
movzx ecx, byte [ecx + 0x14]
mov edx, str.BiosMajorRelease
mov eax, edi
call sym._set_reg_value_dword.isra.0
mov ecx, dword [ebp - 0xe9c]
mov edx, str.BiosMinorRelease
mov eax, edi
movzx ecx, byte [ecx + 0x15]
call sym._set_reg_value_dword.isra.0
mov ecx, dword [ebp - 0xe9c]
mov edx, str.ECFirmwareMajorVersion
mov eax, edi
movzx ecx, byte [ecx + 0x16]
call sym._set_reg_value_dword.isra.0
mov ecx, dword [ebp - 0xe9c]
mov edx, str.ECFirmwareMinorVersion
mov eax, edi
movzx ecx, byte [ecx + 0x17]
call sym._set_reg_value_dword.isra.0
mov eax, dword [ebp - 0xe28]
mov ecx, esi
mov edx, ebx
mov dword [ebp - 0xe9c], eax
mov eax, 1
call sym._find_smbios_entry
mov edi, eax
test eax, eax
je 0x406880
mov edx, eax
movzx eax, byte [eax + 1]
movzx ecx, byte [edi + 4]
mov dword [esp + 8], esi
sub edx, ebx
mov dword [esp], ebx
add edx, eax
mov eax, dword [ebp - 0xe9c]
mov dword [esp + 4], edx
mov dword [ebp - 0xea8], edx
mov edx, str.SystemManufacturer
call sym._set_value_from_smbios_string
mov edx, dword [ebp - 0xea8]
movzx ecx, byte [edi + 5]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov eax, dword [ebp - 0xe9c]
mov dword [esp + 4], edx
mov edx, str.SystemProductName
call sym._set_value_from_smbios_string
mov edx, dword [ebp - 0xea8]
movzx ecx, byte [edi + 6]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov eax, dword [ebp - 0xe9c]
mov dword [esp + 4], edx
mov edx, str.SystemVersion
call sym._set_value_from_smbios_string
cmp byte [edi + 1], 0x1a
jbe 0x40892a
mov edx, dword [ebp - 0xea8]
movzx ecx, byte [edi + 0x19]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov eax, dword [ebp - 0xe9c]
mov dword [esp + 4], edx
mov edx, str.SystemSKU
call sym._set_value_from_smbios_string
mov edx, dword [ebp - 0xea8]
movzx ecx, byte [edi + 0x1a]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov eax, dword [ebp - 0xe9c]
mov dword [esp + 4], edx
mov edx, str.SystemFamily
call sym._set_value_from_smbios_string
mov eax, dword [sym.imp.ucrtbase.dll_free]
mov dword [esp], ebx
mov dword [ebp - 0xe9c], eax
call eax
mov eax, dword [ebp - 0xe28]
mov dword [esp], eax
mov eax, dword [ebp - 0xe7c]
call eax
push ecx
mov eax, dword [ebp - 0xe5c]
mov ebx, dword [ebp - 0xe7c]
mov dword [esp], eax
call ebx
push eax
mov eax, dword [ebp - 0xe60]
mov dword [esp], eax
call ebx
push eax
mov eax, dword [ebp - 0xe64]
mov dword [esp], eax
call ebx
mov eax, dword [ebp - 0xea0]
push edx
mov dword [esp], eax
mov eax, dword [ebp - 0xe9c]
call eax
lea eax, [ebp - 0xa18]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0xe94]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x20006
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.PerfStatsStatData
mov dword [esp], 0x80000006
call eax
sub esp, 0x24
test eax, eax
je 0x40872d
lea eax, [ebp - 0xa18]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0xe94]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x20006
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.Config_ManagerEnum
mov dword [esp], 0x80000006
call eax
sub esp, 0x24
test eax, eax
jne 0x406bd0
mov esi, dword [sym.imp.advapi32.dll_RegSetValueExW]
mov ebx, str.C29A23D0
mov edi, 0x40a7da
mov eax, dword [ebp - 0xe8c]
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0xa18]
mov dword [esp + 0x14], 0x20006
mov dword [esp], eax
mov eax, dword [ebp - 0xe94]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
call eax
sub esp, 0x24
test eax, eax
jne 0x406bb0
lea edx, [ebx + 0x12]
cmp word [ebx + 0x12], 0
mov ecx, dword [ebp - 0x810]
mov eax, edx
je 0x406a21
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x406a18
sub eax, edx
mov dword [esp + 0x10], edx
add eax, 2
mov dword [esp], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], str.HardWareKey
call esi
lea eax, [ebx + 0x92]
sub esp, 0x18
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x810]
mov dword [esp + 0x14], 4
mov dword [esp + 0xc], 3
mov dword [esp + 8], 0
mov dword [esp + 4], str.Problem
mov dword [esp], eax
call esi
lea eax, [ebx + 0x96]
sub esp, 0x18
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x810]
mov dword [esp + 0x14], 4
mov dword [esp + 0xc], 3
mov dword [esp + 8], 0
mov dword [esp + 4], str.Status
mov dword [esp], eax
call esi
lea eax, [ebx + 0x9a]
sub esp, 0x18
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x810]
mov dword [esp + 0x14], 0xc
mov dword [esp + 0xc], 3
mov dword [esp + 8], 0
mov dword [esp + 4], str.Allocation
mov dword [esp], eax
call esi
lea eax, [ebx + 0xa6]
sub esp, 0x18
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x810]
mov dword [esp + 0x14], 4
mov dword [esp + 0xc], 3
mov dword [esp + 8], 0
mov dword [esp + 4], str.Child
mov dword [esp], eax
call esi
lea eax, [ebx + 0xaa]
sub esp, 0x18
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x810]
mov dword [esp + 0x14], 4
mov dword [esp + 0xc], 3
mov dword [esp + 8], 0
mov dword [esp + 4], 0x4154a0
mov dword [esp], eax
call esi
lea eax, [ebx + 0xae]
sub esp, 0x18
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x810]
mov dword [esp + 0x14], 4
mov dword [esp + 0xc], 3
mov dword [esp + 8], 0
mov dword [esp + 4], 0x4153f0
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x810]
sub esp, 0x18
mov dword [esp], eax
mov eax, dword [ebp - 0xe7c]
call eax
push eax
add ebx, 0xb2
cmp edi, ebx
jne 0x4069a5
mov eax, dword [ebp - 0xa18]
mov dword [esp], eax
mov eax, dword [ebp - 0xe7c]
call eax
push eax
mov eax, dword [ebp - 0xe78]
mov dword [esp + 4], str.SystemCurrentControlSetControlSession_ManagerEnvironment
mov dword [esp], 0x80000002
mov dword [esp + 8], eax
call dword [sym.imp.advapi32.dll_RegCreateKeyW]
sub esp, 0xc
test eax, eax
jne 0x406d7a
lea eax, [ebp - 0xa18]
call sym._get_vendorid
lea eax, [ebp - 0xc20]
mov dword [esp + 0xc], 0
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xeac]
mov dword [esp + 8], 0xc
mov dword [esp], 1
call eax
mov ebx, dword [ebp - 0xe8c]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
sub esp, 0x10
mov eax, dword [eax + 0x64]
mov dword [esp + 8], 0x40bcf4
mov dword [esp + 4], 0x3c
mov dword [esp + 0xc], eax
mov dword [esp], ebx
call sym._swprintf
mov eax, dword [ebp - 0xe28]
mov ecx, ebx
mov edx, str.NUMBER_OF_PROCESSORS
call sym._set_reg_value.isra.0
cmp word [ebp - 0xc20], 9
je 0x408b10
mov ebx, 0x40baa0
mov ecx, ebx
mov eax, dword [ebp - 0xe28]
mov edx, str.PROCESSOR_ARCHITECTURE
call sym._set_reg_value.isra.0
movzx eax, word [ebp - 0xc20]
cmp ax, 5
je 0x4087d3
cmp ax, 0xc
je 0x4087d3
mov edx, ebx
mov ebx, dword [ebp - 0xe8c]
mov eax, ebx
call sym._get_identifier.constprop.0
mov dword [esp + 4], 0x40c076
mov dword [esp], ebx
call sym._lstrcatW_8
lea eax, [ebp - 0xa18]
push esi
push esi
mov dword [esp + 4], eax
mov dword [esp], ebx
call sym._lstrcatW_8
push edi
push edi
mov ebx, dword [ebp - 0xe8c]
mov eax, dword [ebp - 0xe28]
mov edx, 0x40c07c
mov ecx, ebx
call sym._set_reg_value.isra.0
movzx eax, word [ebp - 0xc1e]
mov dword [esp + 8], 0x40bcf4
mov dword [esp + 4], 0x3c
mov dword [esp + 0xc], eax
mov dword [esp], ebx
call sym._swprintf
mov eax, dword [ebp - 0xe28]
mov ecx, ebx
mov edx, str.PROCESSOR_LEVEL
call sym._set_reg_value.isra.0
movzx eax, word [ebp - 0xc1c]
mov dword [esp + 8], str._04x
mov dword [esp + 4], 0x3c
mov dword [esp + 0xc], eax
mov dword [esp], ebx
call sym._swprintf
mov eax, dword [ebp - 0xe28]
mov ecx, ebx
mov edx, str.PROCESSOR_REVISION
call sym._set_reg_value.isra.0
mov eax, dword [ebp - 0xe28]
mov dword [esp], eax
mov eax, dword [ebp - 0xe7c]
call eax
push ecx
xor eax, eax
mov ecx, 8
lea edi, [ebp - 0xa18]
mov ebx, dword [ebp - 0xe8c]
rep stosd dword es:[edi], eax
mov dword [esp + 4], 0x100
mov dword [esp], ebx
call dword [sym.imp.ws2_32.dll_gethostname]
mov edi, dword [sym.imp.advapi32.dll_RegOpenKeyW]
push edx
mov dword [ebp - 0xea0], edi
push edx
test eax, eax
jne 0x407073
mov eax, dword [ebp - 0xea4]
mov dword [esp], ebx
mov dword [esp + 4], 0
mov dword [esp + 0xc], eax
lea eax, [ebp - 0xa18]
mov dword [esp + 8], eax
mov dword [ebp - 0xa18], 2
call sym._getaddrinfo_16
sub esp, 0x10
test eax, eax
jne 0x406fab
mov eax, dword [ebp - 0xe5c]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x406fab
mov dword [esp + 4], str.localhost
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll__stricmp]
test eax, eax
je 0x406fab
mov eax, dword [ebp - 0xe5c]
mov ebx, dword [eax + 0x14]
jmp 0x406fb1
call sym._shutdown_close_windows
test eax, eax
jne 0x405ec9
jmp 0x405ed4
mov eax, 1
call sym._usage
xor eax, eax
call sym._usage
mov dword [ebp - 0xa18], 0
jmp 0x406026
mov eax, dword fs:[0x18]
mov ebx, dword [eax + 0x34]
mov eax, 0x40a800
call sym._wine_dbgstr_wn.constprop.0_1
mov dword [esp + 0xc], str.Cannot_set_the_dir_to__s___ld__n
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.main
mov dword [esp + 4], 0x40a160
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
jmp 0x405bda
lea edx, [ebp - 0xa14]
xor eax, eax
mov ecx, 0x10
mov edi, edx
lea ebx, [ebp - 0xa18]
rep stosd dword es:[edi], eax
lea edi, [ebp - 0x810]
mov dword [esp + 4], 0x104
mov dword [ebp - 0xa18], 0x44
mov dword [ebp - 0xe8c], edi
mov dword [esp], edi
call dword [sym.imp.kernelbase.dll_GetSystemDirectoryW]
push edx
push edx
mov dword [esp + 4], str.wineboot.exe
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_wcscat]
lea eax, [ebp - 0xe40]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_Wow64DisableWow64FsRedirection]
push ecx
call dword [sym.imp.kernelbase.dll_GetCommandLineW]
lea edx, [ebp - 0xc20]
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], edi
call dword [sym.imp.kernelbase.dll_CreateProcessW]
sub esp, 0x28
test eax, eax
jne 0x4093b6
test byte [0x40a160], 2
jne 0x4088a6
mov eax, dword [ebp - 0xe40]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_Wow64RevertWow64FsRedirection]
push eax
jmp 0x405c05
mov ecx, str.ARM_processor_family
mov edx, str.Identifier
call sym._set_reg_value.isra.0
jmp 0x406146
lea eax, [ebp - 0xe5c]
mov dword [ebp - 0xea4], eax
mov dword [ebp - 0xe5c], 0
jmp 0x4061c5
mov ebx, dword [ebp - 0xe8c]
mov dword [esp + 4], 0x2e
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_strchr]
test eax, eax
je 0x408cb9
mov byte [eax], 0
lea edx, [eax + 1]
mov dword [esp + 4], edx
mov esi, dword [sym.imp.kernelbase.dll_SetComputerNameExA]
mov dword [esp], 6
call esi
push eax
push eax
mov dword [esp + 4], ebx
mov dword [esp], 5
call esi
push eax
push eax
cmp ebx, dword [ebp - 0xe8c]
je 0x40700b
mov eax, dword [ebp - 0xe5c]
mov dword [esp], eax
call sym._freeaddrinfo_4
push edi
lea ebx, [ebp - 0xe58]
mov dword [esp + 4], str.SystemCurrentControlSetControlComputerName
mov dword [esp + 8], ebx
mov ebx, dword [sym.imp.advapi32.dll_RegOpenKeyW]
mov dword [esp], 0x80000002
mov dword [ebp - 0xea0], ebx
call ebx
sub esp, 0xc
test eax, eax
jne 0x407073
lea eax, [ebp - 0xe4c]
mov dword [esp + 4], str.ComputerName
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xe58]
mov dword [esp], eax
call ebx
sub esp, 0xc
test eax, eax
je 0x408d50
mov eax, dword [ebp - 0xe58]
mov dword [esp], eax
mov eax, dword [ebp - 0xe7c]
call eax
push ecx
mov esi, dword [ebp - 0xe8c]
mov edi, 0x400
xchg edi, esi
jmp 0x4070c3
lea ebx, [esi - 2]
cmp eax, ebx
jb 0x407bbc
cmp edi, dword [ebp - 0xe8c]
je 0x4070a6
mov dword [esp], edi
mov eax, dword [ebp - 0xe9c]
call eax
lea edx, [esi*4]
mov eax, dword [ebp - 0xe98]
lea ebx, [esi + esi]
mov dword [esp], edx
call eax
mov edi, eax
test eax, eax
je 0x4070e7
mov esi, ebx
mov dword [esp + 0xc], str.wininit.ini
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov dword [esp], str.rename
call dword [sym.imp.kernel32.dll_GetPrivateProfileSectionW]
sub esp, 0x10
test eax, eax
jne 0x407088
mov eax, dword [ebp - 0xe8c]
mov dword [esp + 0xc], 0xf003f
mov dword [ebp - 0xa18], 0
mov dword [esp + 0x10], eax
mov eax, dword [sym.imp.advapi32.dll_RegOpenKeyExW]
mov dword [esp + 8], 0
mov dword [esp + 4], str.SystemCurrentControlSetControlSession_Manager
mov dword [esp], 0x80000002
mov dword [ebp - 0xeb0], eax
call eax
sub esp, 0x14
test eax, eax
jne 0x407193
lea eax, [ebp - 0xa18]
mov dword [esp + 0x10], 0
mov ebx, dword [sym.imp.advapi32.dll_RegQueryValueExW]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x810]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.PendingFileRenameOperations
mov dword [esp], eax
call ebx
sub esp, 0x18
test eax, eax
je 0x40747e
xor edi, edi
mov dword [esp], edi
mov eax, dword [ebp - 0xe9c]
call eax
mov eax, dword [ebp - 0x810]
mov dword [esp], eax
mov eax, dword [ebp - 0xe7c]
call eax
push eax
mov eax, dword [ebp - 0xea4]
mov dword [esp + 4], str.SoftwareMicrosoftWindows_NTCurrentVersionWinlogon
mov dword [esp], 0x80000002
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xea0]
call eax
sub esp, 0xc
test eax, eax
je 0x408659
mov eax, dword [ebp - 0xe5c]
mov dword [esp], eax
mov eax, dword [ebp - 0xe7c]
call eax
push eax
mov ebx, dword [sym.imp.kernelbase.dll_GetSystemDirectoryW]
mov dword [esp + 4], 0
mov dword [esp], 0
call ebx
push ecx
mov esi, eax
lea eax, [eax + 0xc]
push ecx
add eax, eax
mov dword [esp], eax
mov eax, dword [ebp - 0xe98]
call eax
mov dword [esp + 4], esi
mov edi, eax
mov dword [esp], eax
call ebx
push ebx
push ebx
mov dword [esp + 4], 0x40c398
mov dword [esp], edi
call sym._lstrcatW_8
push esi
push esi
mov eax, dword [ebp - 0xe8c]
mov dword [esp], edi
mov dword [esp + 4], eax
call dword [sym.imp.kernelbase.dll_FindFirstFileW]
push edx
push edx
cmp word [edi], 0
mov dword [ebp - 0xea0], eax
mov eax, edi
je 0x407249
nop
add eax, 2
cmp word [eax], 0
jne 0x407240
cmp dword [ebp - 0xea0], 0xffffffff
mov word [eax - 4], 0
je 0x4075b0
mov dword [ebp - 0xea8], edi
mov esi, dword [sym.imp.ucrtbase.dll_wcscmp]
lea ebx, [ebp - 0x7e4]
mov edi, dword [ebp - 0xe78]
jmp 0x4072a4
mov eax, dword [ebp - 0xe8c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xea0]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_FindNextFileW]
sub esp, 8
test eax, eax
je 0x4075aa
mov dword [esp + 4], 0x40c3d0
mov dword [esp], ebx
call esi
test eax, eax
je 0x407280
mov dword [esp + 4], 0x40c3d4
mov dword [esp], ebx
call esi
test eax, eax
je 0x407280
lea eax, [ebp - 0xe4c]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], eax
lea eax, [ebp - 0xe58]
mov dword [esp + 0x14], eax
lea eax, [ebp - 0xc20]
mov dword [ebp - 0xe58], 0x104
mov dword [ebp - 0xe4c], 0x104
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x40a800
mov dword [esp + 8], 0x40a800
mov dword [esp + 4], ebx
mov dword [esp], 1
call dword [sym.imp.kernelbase.dll_VerFindFileW]
lea eax, [ebp - 0xe58]
mov dword [ebp - 0xe58], 0x104
sub esp, 0x20
mov dword [esp + 0x1c], eax
lea eax, [ebp - 0xa18]
mov dword [esp + 0x18], eax
lea eax, [ebp - 0xc20]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0xea8]
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], eax
mov dword [esp + 8], ebx
mov dword [esp + 4], ebx
mov dword [esp], 0
call sym._VerInstallFileW_32
mov edx, eax
mov eax, dword [sym.imp.kernelbase.dll_DeleteFileW]
sub esp, 0x20
mov dword [ebp - 0xeac], eax
test edx, edx
je 0x4073a2
test byte [0x40a160], 4
jne 0x40878f
lea eax, [ebp - 0xa18]
mov dword [esp], eax
mov eax, dword [sym.imp.kernelbase.dll_DeleteFileW]
mov dword [ebp - 0xeac], eax
call eax
push eax
mov eax, dword [ebp - 0xea8]
mov dword [esp + 8], 0x103
mov dword [esp], edi
mov dword [esp + 4], eax
call sym._lstrcpynW_12
mov eax, edi
sub esp, 0xc
cmp word [ebp - 0xe28], 0
je 0x4073d9
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x4073d0
sub eax, edi
mov dword [esp + 4], ebx
mov edx, eax
lea eax, [edi + eax + 2]
sar edx, 1
mov dword [esp], eax
mov word [ebp + edx*2 - 0xe28], 0x5c
lea ecx, [edx + 1]
mov edx, 0x104
sub edx, ecx
mov dword [ebp - 0xe58], ecx
mov dword [esp + 8], edx
call sym._lstrcpynW_12
mov eax, dword [ebp - 0xeac]
sub esp, 0xc
mov dword [esp], edi
call eax
push ecx
test eax, eax
jne 0x407280
test byte [0x40a160], 4
je 0x407280
mov eax, dword fs:[0x18]
mov edx, dword [eax + 0x34]
mov eax, edi
mov dword [ebp - 0xeac], edx
call sym._wine_dbgstr_wn.constprop.0_1
mov edx, dword [ebp - 0xeac]
mov dword [esp + 0xc], str.failed_to_delete__s:_error__lu_n
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov dword [esp + 8], str.ProcessWindowsFileProtection
mov dword [esp + 4], 0x40a160
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_1
jmp 0x407280
mov eax, dword [ebp - 0xa18]
mov dword [esp], eax
mov eax, dword [ebp - 0xe98]
call eax
mov edi, eax
mov eax, dword [ebp - 0x810]
test edi, edi
je 0x407174
lea esi, [ebp - 0xa18]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], esi
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.PendingFileRenameOperations
mov dword [esp], eax
call ebx
sub esp, 0x18
test eax, eax
jne 0x407176
mov eax, dword [ebp - 0xa18]
cmp eax, 3
jbe 0x407176
and eax, 0xfffffffe
cmp word [edi + eax - 2], 0
jne 0x407176
cmp word [edi + eax - 4], 0
jne 0x407176
mov esi, edi
movzx edx, word [esi]
test dx, dx
je 0x40758c
mov eax, esi
add eax, 2
cmp word [eax], 0
jne 0x40750f
lea ebx, [eax + 2]
cmp dx, 0x5c
je 0x408d27
xor eax, eax
cmp word [ebx], 0x21
jne 0x407535
add ebx, 2
mov eax, 1
cmp word [ebx], 0x5c
je 0x408a40
cmp word [ebx], 0
jne 0x408a27
mov dword [esp], esi
call dword [sym.imp.kernelbase.dll_RemoveDirectoryW]
push edx
test eax, eax
jne 0x407573
mov eax, dword fs:[0x18]
cmp dword [eax + 0x34], 0x10b
jne 0x407573
jmp 0x4094e7
add ebx, 2
cmp word [ebx], 0
jne 0x407570
lea esi, [ebx + 2]
mov eax, esi
sub eax, edi
cmp eax, dword [ebp - 0xa18]
jb 0x407501
mov eax, dword [ebp - 0x810]
mov dword [esp + 4], str.PendingFileRenameOperations
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegDeleteValueW]
push eax
push eax
jmp 0x407176
mov edi, dword [ebp - 0xea8]
mov eax, dword [ebp - 0xea0]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_FindClose]
push eax
mov eax, dword [ebp - 0xe9c]
mov dword [esp], edi
call eax
mov dword [esp], 0
mov ecx, 1
mov edx, str.RunServicesOnce
mov eax, 0x80000002
call sym._ProcessRunKeys
cmp dword [ebp - 0xe88], 0
jne 0x407604
mov eax, dword [ebp - 0xe84]
xor eax, 1
test dword [ebp - 0xe80], eax
je 0x4076a6
mov dword [esp], 0
xor ecx, ecx
mov edx, str.RunServices
mov eax, 0x80000002
lea edi, [ebp - 0x80c]
call sym._ProcessRunKeys
xor eax, eax
mov ecx, 0x10
rep stosd dword es:[edi], eax
lea eax, [ebp - 0xa18]
mov dword [ebp - 0x810], 0x44
mov dword [esp + 0x24], eax
mov eax, dword [ebp - 0xe8c]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 8
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], str.C:windows_system32_services.exe
call dword [sym.imp.kernelbase.dll_CreateProcessW]
sub esp, 0x28
test eax, eax
jne 0x408073
test byte [0x40a160], 2
jne 0x408b71
mov eax, dword [ebp - 0xe88]
or eax, dword [ebp - 0xe90]
jne 0x40810d
lea eax, [ebp - 0xc20]
mov dword [esp + 0xc], 0xf003f
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xeb0]
mov dword [esp + 8], 0
mov dword [esp + 4], str.SoftwareMicrosoftWindows_NTCurrentVersion
mov dword [esp], 0x80000002
call eax
sub esp, 0x14
test eax, eax
jne 0x4078f6
lea eax, [ebp - 0xe4c]
mov dword [esp + 8], 0
mov ebx, dword [sym.imp.advapi32.dll_RegQueryValueExA]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0xe8c]
mov dword [ebp - 0xe4c], 0x100
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xe78]
mov dword [esp + 4], str.ProductId
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xc20]
mov dword [esp], eax
call ebx
sub esp, 0x18
test eax, eax
jne 0x4078e4
mov eax, dword [ebp - 0xe4c]
test eax, eax
je 0x4078e4
cmp byte [ebp + eax - 0x811], 0
je 0x40777c
cmp eax, 0x100
je 0x4078e4
lea edx, [eax + 1]
mov byte [ebp + eax - 0x810], 0
mov dword [ebp - 0xe4c], edx
lea eax, [ebp - 0xe4c]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0xe78]
mov dword [esp + 8], 0
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xc20]
mov dword [esp + 4], str.DigitalProductId
mov dword [esp], eax
call ebx
sub esp, 0x18
test eax, eax
jne 0x407825
cmp dword [ebp - 0xe4c], 0xa4
jne 0x407825
lea eax, [ebp - 0xe4c]
mov dword [esp + 8], 0
mov dword [esp + 0x14], eax
lea eax, [ebp - 0xa18]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xe78]
mov dword [esp + 4], str.DigitalProductId
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xc20]
mov dword [esp], eax
call ebx
sub esp, 0x18
test eax, eax
jne 0x4078e4
mov edx, dword [ebp - 0xe4c]
jmp 0x407821
cmp byte [ebp + eax - 0xa18], 0
jne 0x4078e4
inc eax
cmp eax, edx
jne 0x407812
lea edx, [ebp - 0xa14]
xor eax, eax
mov ecx, 0x28
mov esi, str._TH__X19_99481
mov edi, edx
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0xe8c]
mov byte [ebp - 0xa14], 3
mov dword [ebp - 0xa18], 0xa4
mov dword [esp + 4], eax
lea eax, [ebp - 0xa10]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_strcpy]
lea eax, [ebp - 0x9f4]
mov ecx, 0xf
mov dword [ebp - 0x9f8], 0xcec
mov dword [ebp - 0x9e4], 0xcec
mov edi, eax
lea eax, [ebp - 0x9e0]
rep movsb byte es:[edi], byte [esi]
mov byte [ebp - 0x9d6], 8
mov dword [esp + 4], 0x18
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_SystemFunction036]
push eax
push eax
lea eax, [ebp - 0xa18]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xc20]
mov dword [esp + 0x14], 0xa4
mov dword [esp + 0xc], 3
mov dword [esp + 8], 0
mov dword [esp + 4], str.DigitalProductId
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegSetValueExA]
sub esp, 0x18
mov eax, dword [ebp - 0xc20]
mov dword [esp], eax
mov eax, dword [ebp - 0xe7c]
call eax
push eax
lea eax, [ebp - 0xc20]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0xe94]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0xf003f
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.Volatile_Environment
mov dword [esp], 0x80000001
call eax
sub esp, 0x24
test eax, eax
jne 0x407b00
mov esi, dword [ebp - 0xe8c]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov ebx, dword [0x4174f4]
mov dword [esp + 0x10], esi
mov dword [esp + 4], 0x801a
mov dword [esp], 0
call ebx
sub esp, 0x14
test eax, eax
js 0x40799c
mov eax, dword [ebp - 0xc20]
mov ecx, esi
mov edx, str.APPDATA
call sym._set_reg_value.isra.0
mov eax, dword [ebp - 0xc20]
mov ecx, str.Console
mov edx, str.CLIENTNAME
call sym._set_reg_value.isra.0
mov edi, dword [ebp - 0xe8c]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 0x10], edi
mov dword [esp + 4], 0x8028
mov dword [esp], 0
call ebx
sub esp, 0x14
test eax, eax
js 0x407a26
mov eax, dword [ebp - 0xc20]
mov ecx, edi
mov edx, str.USERPROFILE
call sym._set_reg_value.isra.0
mov eax, dword [ebp - 0xc20]
lea ecx, [ebp - 0x80c]
mov edx, str.HOMEPATH
call sym._set_reg_value.isra.0
mov eax, dword [ebp - 0xc20]
mov ecx, edi
mov edx, str.HOMEDRIVE
mov word [ebp - 0x80c], 0
call sym._set_reg_value.isra.0
mov dword [ebp - 0xe28], 0x104
mov eax, dword [ebp - 0xe78]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xe8c]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_GetUserNameW]
push edi
push edi
test eax, eax
jne 0x40884d
mov eax, dword [ebp - 0xc20]
mov ecx, 0x40b198
mov edx, str.HOMESHARE
call sym._set_reg_value.isra.0
mov esi, dword [ebp - 0xe8c]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 0x10], esi
mov dword [esp + 4], 0x801c
mov dword [esp], 0
call ebx
sub esp, 0x14
test eax, eax
js 0x407aac
mov eax, dword [ebp - 0xc20]
mov ecx, esi
mov edx, str.LOCALAPPDATA
call sym._set_reg_value.isra.0
mov eax, dword [ebp - 0xe78]
lea ebx, [ebp - 0xa14]
mov dword [ebp - 0xe28], 0x10
mov dword [esp], ebx
mov dword [esp + 4], eax
call dword [sym.imp.kernel32.dll_GetComputerNameW]
push esi
push esi
test eax, eax
jne 0x408816
mov eax, dword [ebp - 0xc20]
mov ecx, str.Console
mov edx, str.SESSIONNAME
call sym._set_reg_value.isra.0
mov eax, dword [ebp - 0xc20]
mov dword [esp], eax
mov eax, dword [ebp - 0xe7c]
call eax
push ebx
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0x40ca50
call dword [0x417634]
sub esp, 0x14
test eax, eax
je 0x407b3e
mov dword [esp], eax
call dword [0x417630]
push ecx
mov eax, 0x80000002
mov ecx, 1
mov edx, str.RunOnce
mov dword [esp], 1
call sym._ProcessRunKeys
mov eax, dword [ebp - 0xe88]
or eax, dword [ebp - 0xe84]
je 0x407dae
test byte [0x40a160], 8
jne 0x407d85
mov eax, dword [ebp - 0xe74]
xor ebx, ebx
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_SetEvent]
push ecx
jmp 0x405ed4
mov ecx, dword [ebp - 0xe8c]
mov eax, dword [ebp - 0xe68]
mov edx, str.Identifier
call sym._set_reg_value.isra.0
mov eax, dword [ebp - 0xe68]
mov dword [esp], eax
mov eax, dword [ebp - 0xe7c]
call eax
push eax
jmp 0x40651b
movzx eax, word [edi]
mov esi, edi
test ax, ax
je 0x407c58
mov ebx, edi
cmp ax, 0x3b
je 0x407c32
mov dword [esp + 4], 0x3d
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_wcschr]
test eax, eax
je 0x407c32
mov word [eax], 0
lea ebx, [eax + 2]
mov dword [esp + 4], edi
mov dword [esp], 0x40c1c8
call dword [sym.imp.kernelbase.dll_lstrcmpiW]
push edx
push edx
test eax, eax
jne 0x407cd6
test byte [0x40a160], 8
jne 0x407d51
mov dword [esp], ebx
call dword [sym.imp.kernelbase.dll_DeleteFileW]
push ecx
test eax, eax
jne 0x407c32
test byte [0x40a160], 4
jne 0x408b3d
cmp word [ebx], 0
mov eax, ebx
je 0x407c49
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x407c40
lea edi, [eax + 2]
movzx eax, word [edi]
test ax, ax
jne 0x407bca
cmp esi, dword [ebp - 0xe8c]
je 0x407c6b
mov dword [esp], esi
mov eax, dword [ebp - 0xe9c]
call eax
mov dword [esp + 8], 1
mov dword [esp + 4], str.wininit.bak
mov dword [esp], str.wininit.ini
call dword [sym.imp.kernelbase.dll_MoveFileExW]
sub esp, 0xc
test eax, eax
jne 0x4070e7
test byte [0x40a160], 2
je 0x4070e7
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp + 0xc], str.Couldnt_rename_wininit.ini__error__ld_n
mov dword [esp + 8], str.wininit
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x40a160
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
jmp 0x4070e7
test byte [0x40a160], 8
jne 0x408744
mov dword [esp + 8], 3
mov dword [esp + 4], edi
mov dword [esp], ebx
call dword [sym.imp.kernelbase.dll_MoveFileExW]
sub esp, 0xc
test eax, eax
jne 0x407c32
test byte [0x40a160], 4
je 0x407c32
mov eax, edi
call sym._wine_dbgstr_wn.constprop.0_1
mov edi, eax
mov eax, ebx
call sym._wine_dbgstr_wn.constprop.0_1
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Error_renaming__s_to__s_n
mov dword [esp + 8], str.wininit
mov dword [esp + 4], 0x40a160
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_1
jmp 0x407c32
mov eax, ebx
call sym._wine_dbgstr_wn.constprop.0_1
mov dword [esp + 0xc], str.Deleting_file__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.wininit
mov dword [esp + 4], 0x40a160
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x407c17
mov dword [esp + 0xc], str.Operation_done_n
mov dword [esp + 8], str.main
mov dword [esp + 4], 0x40a160
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x407b78
mov dword [esp], 0
xor ecx, ecx
mov edx, 0x40ca66
mov eax, 0x80000002
call sym._ProcessRunKeys
mov dword [esp], 0
xor ecx, ecx
mov edx, 0x40ca66
mov eax, 0x80000001
call sym._ProcessRunKeys
mov dword [ebp - 0xe60], 0
mov dword [ebp - 0xe5c], 0
mov dword [ebp - 0xe58], 0
mov dword [ebp - 0xc20], 0
test byte [0x40a160], 8
jne 0x408a5d
lea eax, [ebp - 0xe60]
mov dword [esp], eax
call dword [0x4174f0]
push edx
test eax, eax
js 0x408ba7
lea eax, [ebp - 0xe58]
mov dword [esp + 4], 7
mov dword [esp + 8], eax
mov dword [esp], 0
call dword [0x4174f8]
sub esp, 0xc
test eax, eax
js 0x4089b8
mov eax, dword [ebp - 0xe60]
mov ebx, dword [ebp - 0xea4]
mov ecx, dword [ebp - 0xe58]
mov edx, dword [eax]
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0x4126cc
mov dword [esp + 8], 0
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [edx + 0x14]
sub esp, 0x14
test eax, eax
js 0x408fc8
mov eax, dword [ebp - 0xe5c]
lea ebx, [ebp - 0xc20]
mov edx, dword [eax]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0xc0
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [edx + 0x10]
sub esp, 0x10
test eax, eax
js 0x409488
mov esi, dword [0x41750c]
mov ebx, dword [0x417500]
jmp 0x407ef0
test byte [0x40a160], 8
jne 0x408bdd
mov eax, dword [ebp - 0xe4c]
mov dword [esp], eax
call dword [0x4174ec]
push eax
mov eax, dword [ebp - 0xc20]
mov edi, dword [ebp - 0xe78]
mov edx, dword [eax]
mov dword [esp + 0xc], edi
lea edi, [ebp - 0xe4c]
mov dword [esp + 8], edi
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 0x10
test eax, eax
jne 0x4089c5
cmp dword [ebp - 0xe28], 1
jne 0x4089c5
mov eax, dword [ebp - 0xe5c]
mov ecx, dword [ebp - 0xe4c]
lea edi, [ebp - 0xa18]
mov edx, dword [eax]
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0x8000
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [edx + 0x2c]
sub esp, 0x10
test eax, eax
js 0x407ed3
mov eax, dword [ebp - 0xe8c]
mov dword [esp + 0xc], 0x104
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xe4c]
mov dword [esp + 4], eax
lea eax, [ebp - 0xa18]
mov dword [esp], eax
call esi
sub esp, 0x10
test eax, eax
jns 0x408a86
test byte [0x40a160], 8
je 0x407ee0
mov dword [esp + 0xc], str.Unable_to_parse_display_name._n
mov dword [esp + 8], str.ProcessStartupItems
mov dword [esp + 4], 0x40a160
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x407ee0
movzx eax, word [ebp - 0xe48]
mov dword [esp + 8], str.ARM_Family__u_Model__u_Revision__u
mov dword [esp + 4], 0x3c
movzx edx, al
movzx eax, ah
mov dword [esp + 0x10], eax
movzx eax, word [ebp - 0xe4a]
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x810]
mov dword [esp], eax
mov dword [ebp - 0xe8c], eax
call sym._swprintf
jmp 0x4060b5
lea eax, [ebp - 0xc20]
mov dword [esp + 4], str.AuthenticAMD
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_wcscmp]
mov edx, str.Intel64
test eax, eax
mov eax, str.AMD64
cmove edx, eax
lea eax, [ebp - 0x810]
mov dword [ebp - 0xe8c], eax
call sym._get_identifier.constprop.0
jmp 0x4060b5
mov eax, dword [ebp - 0xea0]
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._memset
jmp 0x40607a
mov eax, dword [ebp - 0xa14]
mov ebx, dword [sym.imp.kernelbase.dll_CloseHandle]
mov dword [esp], eax
call ebx
push edx
mov dword [esp + 0xc], str.__wine_SvcctlStarted
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], 0
call dword [sym.imp.kernelbase.dll_CreateEventW]
mov dword [ebp - 0xc20], eax
mov eax, dword [ebp - 0xa18]
sub esp, 0x10
mov dword [esp + 0xc], 0xffffffff
mov dword [ebp - 0xc1c], eax
lea eax, [ebp - 0xc20]
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], 2
call dword [sym.imp.kernelbase.dll_WaitForMultipleObjects]
sub esp, 0x10
dec eax
je 0x408ffe
mov eax, dword [ebp - 0xa18]
mov dword [esp], eax
call ebx
push eax
mov eax, dword [ebp - 0xc20]
mov dword [esp], eax
call ebx
push eax
jmp 0x4076a6
mov ebx, dword [sym.imp.ucrtbase.dll__wgetenv]
mov dword [esp], str.WINECONFIGDIR
mov dword [ebp - 0xea0], ebx
call ebx
mov dword [esp], str.WINEBUILDDIR
mov esi, eax
call ebx
mov ebx, eax
test eax, eax
je 0x408cca
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_wcslen]
add eax, 0x11
add eax, eax
mov dword [esp], eax
mov eax, dword [ebp - 0xe98]
call eax
mov dword [ebp - 0xe80], eax
mov ecx, eax
test eax, eax
je 0x408f68
xor eax, eax
movzx edx, word [ebx + eax]
mov word [ecx + eax], dx
add eax, 2
test dx, dx
jne 0x408162
mov eax, dword [ebp - 0xe80]
mov dword [esp + 4], str.loader
mov dword [esp], eax
call sym._lstrcatW_8
push eax
push eax
mov ebx, dword [ebp - 0xe80]
mov dword [esp + 4], str.wine.inf
mov dword [esp], ebx
call sym._lstrcatW_8
push edx
push edx
mov word [ebx + 2], 0x5c
mov dword [esp], ebx
mov dword [esp + 4], 0
call dword [sym.imp.ucrtbase.dll__wopen]
mov ebx, eax
cmp eax, 0xffffffff
je 0x408f84
lea eax, [ebp - 0xc20]
mov dword [esp], ebx
mov dword [esp + 4], eax
call dword [sym.imp.ucrtbase.dll__fstat32]
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll__close]
mov edx, dword [ebp - 0xc04]
mov eax, esi
call sym._update_timestamp
mov ebx, dword [ebp - 0xe90]
or ebx, eax
je 0x408643
mov eax, dword [ebp - 0xe78]
lea edi, [ebp - 0xe6c]
mov dword [ebp - 0xe6c], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x20
mov dword [esp + 0xc], eax
mov dword [esp + 8], 4
mov dword [esp + 4], edi
mov dword [esp], 0xb5
call dword [sym.imp.ntdll.dll_NtQuerySystemInformationEx]
sub esp, 0x18
test eax, eax
je 0x40824e
mov word [ebp - 0xe28], 0
mov eax, dword [ebp - 0xe80]
mov ecx, 1
mov edx, str.PreInstall
xor esi, esi
call sym._start_rundll32
mov dword [ebp - 0xe6c], eax
test eax, eax
je 0x408302
mov ebx, dword [ebp - 0xe8c]
cmp dword [ebp - 0xe6c], 0
je 0x4082c6
mov dword [esp + 0x10], 0x1cff
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], 1
call dword [0x4175fc]
sub esp, 0x14
test eax, eax
jne 0x4088f5
mov eax, dword [ebp - 0xe6c]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_CloseHandle]
push ecx
movzx eax, word [ebp + esi*4 - 0xe28]
test ax, ax
je 0x408302
test byte [ebp + esi*4 - 0xe26], 4
je 0x408a08
mov eax, dword [ebp - 0xe80]
mov ecx, 1
mov edx, str.DefaultInstall
inc esi
call sym._start_rundll32
mov dword [ebp - 0xe6c], eax
jmp 0x408279
xor eax, eax
lea edi, [ebp - 0x80c]
mov ecx, 6
rep stosd dword es:[edi], eax
mov dword [esp + 4], 0
mov edi, 0x4156f8
mov dword [ebp - 0x810], 0x1c
mov dword [esp], 0
call dword [0x4174d8]
mov dword [ebp - 0xe90], eax
inc eax
push edx
push edx
je 0x409373
mov eax, dword [ebp - 0xe8c]
mov ebx, dword [edi]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0xe90]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x40f5a4
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [0x4174d4]
sub esp, 0x1c
test eax, eax
jne 0x408c26
mov eax, dword fs:[0x18]
cmp dword [eax + 0x34], 0xe0000207
je 0x4083aa
test byte [0x40a160], 2
jne 0x4095db
add edi, 0xc
mov eax, 0x415710
cmp eax, edi
jne 0x408344
mov eax, dword [ebp - 0xe90]
mov dword [esp], eax
call dword [0x4174dc]
push eax
lea eax, [ebp - 0xe68]
mov dword [esp + 4], 0x20008
lea ebx, [ebp - 0xe58]
mov dword [esp + 8], eax
mov dword [esp], 0xffffffff
call dword [sym.imp.advapi32.dll_OpenProcessToken]
sub esp, 0xc
test eax, eax
je 0x4084d3
lea eax, [ebp - 0xe60]
mov dword [esp + 0xc], 0x50
lea ebx, [ebp - 0xe58]
mov dword [esp + 0x10], eax
lea eax, [ebp - 0xa18]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xe68]
mov dword [ebp - 0xe60], 0x50
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_GetTokenInformation]
mov eax, dword [ebp - 0xe68]
sub esp, 0x14
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_CloseHandle]
lea eax, [ebp - 0xe64]
push edi
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xa18]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_ConvertSidToStringSidW]
push eax
push eax
mov eax, dword [ebp - 0xea4]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0xe94]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0xf003f
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.SoftwareMicrosoftWindows_NTCurrentVersionProfileList
mov dword [esp], 0x80000002
call eax
sub esp, 0x24
test eax, eax
je 0x40918e
mov eax, dword [ebp - 0xe64]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_LocalFree]
push edx
mov dword [esp + 0x10], ebx
mov eax, dword [ebp - 0xeb0]
mov dword [esp + 0xc], 0xf003f
mov dword [esp + 8], 0
mov dword [esp + 4], str.SoftwareMicrosoftWindows_NTCurrentVersion
mov dword [esp], 0x80000002
call eax
sub esp, 0x14
test eax, eax
je 0x409075
mov dword [esp + 0x10], ebx
mov eax, dword [ebp - 0xeb0]
mov dword [esp + 0xc], 0xf003f
mov dword [esp + 8], 0
mov dword [esp + 4], str.SoftwareWow6432NodeMicrosoftWindows_NTCurrentVersion
mov dword [esp], 0x80000002
call eax
sub esp, 0x14
test eax, eax
je 0x408ef6
mov dword [esp + 0x10], str.Root
mov dword [esp + 0xc], 0x2c000
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0xd
call dword [0x4173bc]
sub esp, 0x14
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [0x4173b8]
push eax
push eax
mov eax, dword [ebp - 0xea0]
mov dword [esp], str.WINECONFIGDIR
call eax
mov dword [esp + 8], 0x104
mov dword [esp + 4], eax
mov ebx, eax
mov dword [esp], 0x40a180
call sym._lstrcpynW_12
mov eax, ebx
sub esp, 0xc
jmp 0x4085b5
add eax, 2
cmp word [eax], 0
jne 0x4085b2
sub eax, ebx
cmp eax, 0x206
jbe 0x4085dc
xor eax, eax
movzx edx, word [eax + 0x40c8bc]
add eax, 2
mov word [eax + 0x40a37e], dx
test dx, dx
jne 0x4085c6
mov dword [esp + 8], 9
mov ebx, dword [sym.imp.ucrtbase.dll_wcsncmp]
mov dword [esp + 4], str.__unix_
mov dword [esp], 0x40a180
call ebx
mov edx, 0x40a192
test eax, eax
je 0x408c14
mov dword [esp + 8], 7
mov dword [esp + 4], str.__Z:_
mov dword [esp], 0x40a180
call ebx
test eax, eax
je 0x4090e7
mov eax, 0x40a188
call sym._wine_dbgstr_wn.constprop.0_1
mov dword [esp], str.wine:_configuration_in__s_has_been_updated._n
mov dword [esp + 4], eax
call sym._wine_dbg_printf
mov eax, dword [ebp - 0xe80]
mov dword [esp], eax
mov eax, dword [ebp - 0xe9c]
call eax
jmp 0x4076b8
mov eax, dword [ebp - 0xe8c]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov ebx, dword [sym.imp.advapi32.dll_RegQueryValueExW]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0xe5c]
mov dword [ebp - 0x810], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.SFCDllCacheDir
mov dword [esp], eax
call ebx
sub esp, 0x18
test eax, eax
jne 0x4071bf
mov eax, dword [ebp - 0x810]
lea edx, [eax + 2]
add eax, 8
mov dword [ebp - 0x810], edx
mov dword [esp], eax
mov eax, dword [ebp - 0xe98]
call eax
mov dword [esp + 0xc], 0
mov edi, eax
mov eax, dword [ebp - 0xe8c]
mov dword [esp + 8], 0
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0xe5c]
mov dword [esp + 4], str.SFCDllCacheDir
mov dword [esp], eax
call ebx
sub esp, 0x18
mov dword [esp + 4], 0x40c392
mov dword [esp], edi
call sym._lstrcatW_8
push eax
push eax
mov eax, dword [ebp - 0xe5c]
mov dword [esp], eax
mov eax, dword [ebp - 0xe7c]
call eax
push eax
test edi, edi
jne 0x40721b
jmp 0x4071d1
mov eax, dword [ebp - 0xa18]
mov dword [esp], eax
mov eax, dword [ebp - 0xe7c]
call eax
push eax
jmp 0x406939
mov eax, edi
call sym._wine_dbgstr_wn.constprop.0_1
mov dword [ebp - 0xea8], eax
mov eax, ebx
call sym._wine_dbgstr_wn.constprop.0_1
mov edx, dword [ebp - 0xea8]
mov dword [esp + 0xc], str.Renaming_file__s_to__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov dword [esp + 8], str.wininit
mov dword [esp + 4], 0x40a160
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x407ce3
mov eax, ebx
mov dword [ebp - 0xeac], edx
call sym._wine_dbgstr_wn.constprop.0_1
mov edx, dword [ebp - 0xeac]
mov dword [esp + 0xc], str.WFP:__s_error_0x_lx_n
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov dword [esp + 8], str.ProcessWindowsFileProtection
mov dword [esp + 4], 0x40a160
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_1
jmp 0x40738b
movzx eax, word [ebp - 0xc1c]
mov dword [esp + 8], str.ARM_Family__u_Model__u_Revision__u
mov dword [esp + 4], 0x3c
movzx edx, al
movzx eax, ah
mov dword [esp + 0x10], eax
movzx eax, word [ebp - 0xc1e]
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xe8c]
mov dword [esp], eax
call sym._swprintf
jmp 0x406ce6
mov eax, dword [ebp - 0xc20]
mov ecx, ebx
mov edx, str.USERDOMAIN
call sym._set_reg_value.isra.0
mov eax, dword [ebp - 0xc20]
lea ecx, [ebp - 0xa18]
mov edx, str.LOGONSERVER
mov dword [ebp - 0xa18], 0x5c005c
call sym._set_reg_value.isra.0
jmp 0x407ad9
mov ecx, dword [ebp - 0xe8c]
mov eax, dword [ebp - 0xc20]
mov edx, str.USERNAME
call sym._set_reg_value.isra.0
jmp 0x407a53
mov eax, dword [ebp - 0xea0]
mov dword [esp], eax
mov eax, dword [sym.imp.ucrtbase.dll_free]
mov dword [ebp - 0xe9c], eax
call eax
lea eax, [ebp - 0xe28]
mov dword [ebp - 0xe78], eax
lea eax, [ebp - 0xe5c]
mov dword [ebp - 0xea4], eax
mov eax, dword [sym.imp.advapi32.dll_RegCloseKey]
mov dword [ebp - 0xe7c], eax
jmp 0x4068dd
mov eax, dword fs:[0x18]
mov ebx, dword [eax + 0x34]
mov eax, dword [ebp - 0xe8c]
call sym._wine_dbgstr_wn.constprop.0_1
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.failed_to_restart_64_bit__s__err__ld_n
mov dword [esp + 8], str.main
mov dword [esp + 4], 0x40a160
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
jmp 0x406f67
mov dword [esp], ebx
call dword [0x4175d8]
push eax
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], ebx
call dword [0x417604]
sub esp, 0x14
test eax, eax
jne 0x4088eb
jmp 0x408279
mov edi, dword [ebp - 0xea8]
mov dword [esp], ebx
xor ecx, ecx
mov edx, str.SystemSKU
mov dword [esp + 8], esi
mov eax, dword [ebp - 0xe9c]
mov dword [esp + 4], edi
call sym._set_value_from_smbios_string
mov dword [esp + 8], esi
xor ecx, ecx
mov edx, str.SystemFamily
mov dword [esp + 4], edi
mov eax, dword [ebp - 0xe9c]
mov dword [esp], ebx
call sym._set_value_from_smbios_string
jmp 0x406880
mov eax, edi
mov ecx, 0xff
mov edx, str.BiosMajorRelease
call sym._set_reg_value_dword.isra.0
mov eax, edi
mov ecx, 0xff
mov edx, str.BiosMinorRelease
call sym._set_reg_value_dword.isra.0
mov eax, edi
mov ecx, 0xff
mov edx, str.ECFirmwareMajorVersion
call sym._set_reg_value_dword.isra.0
mov ecx, 0xff
mov edx, str.ECFirmwareMinorVersion
mov eax, edi
call sym._set_reg_value_dword.isra.0
jmp 0x40678f
test byte [0x40a160], 8
jne 0x4094be
mov eax, dword [ebp - 0xc20]
test eax, eax
je 0x4089d8
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
push edi
mov eax, dword [ebp - 0xe5c]
test eax, eax
je 0x4089eb
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
push esi
mov eax, dword [ebp - 0xe58]
test eax, eax
je 0x407b6b
mov dword [esp], eax
call dword [0x4174ec]
push ebx
jmp 0x407b6b
movzx ecx, ax
mov eax, dword [ebp - 0xe80]
mov edx, str.Wow64Install
inc esi
call sym._start_rundll32
mov dword [ebp - 0xe6c], eax
jmp 0x408279
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov dword [esp], esi
call dword [sym.imp.kernelbase.dll_MoveFileExW]
sub esp, 0xc
jmp 0x407573
cmp word [ebx + 2], 0x3f
jne 0x408a27
cmp word [ebx + 4], 0x3f
jne 0x408a27
cmp word [ebx + 6], 0x5c
jne 0x408a27
add ebx, 8
jmp 0x40753f
mov dword [esp + 0xc], str.Processing_items_in_the_StartUp_folder._n
mov dword [esp + 8], str.ProcessStartupItems
mov dword [esp + 4], 0x40a160
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x407e13
mov eax, dword [ebp - 0xe8c]
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0
call ebx
sub esp, 0x18
mov edi, eax
cmp eax, 0x20
ja 0x407ee0
test byte [0x40a160], 4
je 0x407ee0
mov eax, dword [ebp - 0xe8c]
call sym._wine_dbgstr_wn.constprop.0_1
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], str.Error__p_executing_command__s._n
mov dword [esp + 8], str.ProcessStartupItems
mov dword [esp + 4], 0x40a160
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_1
jmp 0x407ee0
lea eax, [ebp - 0xa18]
mov dword [esp + 4], str.AuthenticAMD
mov ebx, str.Intel64
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_wcscmp]
test eax, eax
mov eax, str.AMD64
cmove ebx, eax
mov ecx, eax
jmp 0x406c86
mov eax, ebx
call sym._wine_dbgstr_wn.constprop.0_1
mov dword [esp + 0xc], str.Error_deleting_file__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.wininit
mov dword [esp + 4], 0x40a160
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_1
jmp 0x407c32
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp + 0xc], str.Couldnt_start_services.exe:_error__lu_n
mov dword [esp + 8], str.start_services_process
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x40a160
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
jmp 0x4076a6
test byte [0x40a160], 2
je 0x4089c5
mov dword [esp + 0xc], str.Couldnt_get_desktop_folder._n
mov dword [esp + 8], str.ProcessStartupItems
mov dword [esp + 4], 0x40a160
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
jmp 0x4089c5
mov dword [esp + 0xc], str.Unable_to_get_display_name_of_enumeration_item._n
mov dword [esp + 8], str.ProcessStartupItems
mov dword [esp + 4], 0x40a160
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x407ee0
cmp ax, 0x5c
jne 0x408c11
mov word [edx], 0x2f
add edx, 2
movzx eax, word [edx]
test ax, ax
jne 0x408c06
mov eax, 0x40a192
jmp 0x40862e
mov esi, dword [edi + 4]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov dword [esp + 0xc], esi
add eax, 2
mov dword [esp + 8], 1
add eax, eax
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xe8c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xe90]
mov dword [esp], eax
call dword [0x4174e0]
sub esp, 0x14
test eax, eax
jne 0x408e7c
test byte [0x40a160], 2
je 0x4083aa
mov eax, dword fs:[0x18]
mov esi, dword [eax + 0x34]
mov eax, ebx
call sym._wine_dbgstr_an.constprop.0
mov dword [esp + 0xc], str.Failed_to_set_hardware_id_for__s__error__lx._n
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.install_root_pnp_devices
mov dword [esp + 4], 0x40a160
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
jmp 0x4083aa
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_strlen]
lea edx, [ebx + eax]
jmp 0x406fd0
mov dword [esp], str.WINEDATADIR
mov eax, dword [ebp - 0xea0]
call eax
mov ebx, eax
test eax, eax
je 0x408f68
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_wcslen]
add eax, 0xa
add eax, eax
mov dword [esp], eax
mov eax, dword [ebp - 0xe98]
call eax
mov dword [ebp - 0xe80], eax
test eax, eax
je 0x408f68
xor eax, eax
movzx edx, word [ebx + eax]
mov edi, dword [ebp - 0xe80]
mov word [edi + eax], dx
add eax, 2
test dx, dx
jne 0x408d0c
jmp 0x40818a
cmp word [esi + 2], 0x3f
jne 0x407525
cmp word [esi + 4], 0x3f
jne 0x407525
cmp word [esi + 6], 0x5c
jne 0x407525
add esi, 8
jmp 0x407525
lea eax, [ebp - 0xc20]
mov dword [esp + 8], 0
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0xe8c]
mov dword [ebp - 0xc20], 0x100
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xe78]
mov dword [esp + 4], str.ComputerName
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xe4c]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
sub esp, 0x18
test eax, eax
je 0x408da8
mov dword [ebp - 0xc20], 0
mov eax, dword [ebp - 0xe4c]
mov dword [esp], eax
mov eax, dword [ebp - 0xe7c]
call eax
cmp dword [ebp - 0xc20], 0
push esi
je 0x407061
lea eax, [ebp - 0xe4c]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0xe58]
mov dword [esp + 0x18], 0
mov dword [esp], eax
mov eax, dword [ebp - 0xe94]
mov dword [esp + 0x14], 0xf003f
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.ActiveComputerName
call eax
sub esp, 0x24
test eax, eax
jne 0x407061
mov eax, dword [ebp - 0xc20]
mov dword [esp + 8], 0
mov dword [esp + 4], str.ComputerName
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0xe8c]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xe28]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xe4c]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegSetValueExW]
mov eax, dword [ebp - 0xe4c]
sub esp, 0x18
mov dword [esp], eax
mov eax, dword [ebp - 0xe7c]
call eax
push ebx
jmp 0x407061
mov eax, dword [ebp - 0xe8c]
mov dword [esp], 0x19
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xe90]
mov dword [esp + 4], eax
call dword [0x4174d0]
sub esp, 0xc
test eax, eax
jne 0x40910e
test byte [0x40a160], 2
je 0x4083aa
mov eax, dword fs:[0x18]
mov esi, dword [eax + 0x34]
mov eax, ebx
call sym._wine_dbgstr_an.constprop.0
mov dword [esp + 0xc], str.Failed_to_register_device__s__error__lx._n
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.install_root_pnp_devices
mov dword [esp + 4], 0x40a160
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
jmp 0x4083aa
lea eax, [ebp - 0xa18]
mov dword [esp + 8], 0
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0xe8c]
mov dword [ebp - 0xa18], 0x200
mov dword [esp + 0x10], eax
lea eax, [ebp - 0xe4c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xe58]
mov dword [esp + 4], str.CurrentVersion
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
sub esp, 0x18
test eax, eax
jne 0x408f51
cmp dword [ebp - 0xe4c], 1
je 0x4094f6
mov eax, dword [ebp - 0xe58]
mov dword [esp], eax
mov eax, dword [ebp - 0xe7c]
call eax
push eax
jmp 0x40853f
mov eax, esi
call sym._wine_dbgstr_wn.constprop.0_1
mov dword [esp], str.wine:_failed_to_update__s__wine.inf_not_found_n
mov dword [esp + 4], eax
call sym._wine_dbg_printf
jmp 0x4076b8
call dword [sym.imp.ucrtbase.dll__errno]
mov eax, dword [eax]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_strerror]
mov ebx, eax
mov eax, dword [ebp - 0xe80]
call sym._wine_dbgstr_wn.constprop.0_1
mov edi, eax
mov eax, esi
call sym._wine_dbgstr_wn.constprop.0_1
mov dword [esp + 0xc], ebx
mov dword [esp + 8], edi
mov dword [esp + 4], eax
mov dword [esp], str.wine:_failed_to_update__s_with__s:__s_n
call sym._wine_dbg_printf
jmp 0x408643
test byte [0x40a160], 8
je 0x4089c5
mov dword [esp + 0xc], str.Couldnt_bind_IShellFolder_to_StartUp_folder._n
mov dword [esp + 8], str.ProcessStartupItems
mov dword [esp + 4], 0x40a160
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x4089c5
mov eax, dword [ebp - 0xe78]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xa18]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_GetExitCodeProcess]
push eax
push eax
test byte [0x40a160], 2
je 0x4080f0
mov eax, dword [ebp - 0xe28]
mov dword [esp + 0xc], str.Unexpected_termination_of_services.exe___exit_code__ld_n
mov dword [esp + 8], str.start_services_process
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x40a160
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
jmp 0x4080f0
lea eax, [ebp - 0xe28]
mov dword [ebp - 0xe78], eax
mov eax, dword [sym.imp.advapi32.dll_RegCloseKey]
mov dword [ebp - 0xe7c], eax
jmp 0x406531
lea eax, [ebp - 0xa18]
mov dword [esp + 8], 0
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0xe8c]
mov dword [ebp - 0xa18], 0x200
mov dword [esp + 0x10], eax
lea eax, [ebp - 0xe4c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xe58]
mov dword [esp + 4], str.CurrentVersion
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
sub esp, 0x18
test eax, eax
jne 0x4090d0
cmp dword [ebp - 0xe4c], 1
je 0x4091ff
mov eax, dword [ebp - 0xe58]
mov dword [esp], eax
mov eax, dword [ebp - 0xe7c]
call eax
push eax
jmp 0x408509
mov eax, 0x40a18c
jmp 0x4090fc
cmp dx, 0x5c
jne 0x4090f9
mov word [eax], 0x2f
add eax, 2
movzx edx, word [eax]
test dx, dx
jne 0x4090ee
mov eax, 0x40a18c
jmp 0x40862e
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov eax, dword [edi + 8]
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov dword [esp], 0
call sym._UpdateDriverForPlugAndPlayDevicesA_20
sub esp, 0x14
test eax, eax
jne 0x4083aa
test byte [0x40a160], 2
je 0x4083aa
mov eax, dword fs:[0x18]
mov esi, dword [eax + 0x34]
mov eax, ebx
call sym._wine_dbgstr_an.constprop.0
mov dword [esp + 0xc], str.Failed_to_install_drivers_for__s__error__lx._n
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.install_root_pnp_devices
mov dword [esp + 4], 0x40a160
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
jmp 0x4083aa
mov eax, dword [ebp - 0xe64]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], ebx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xe5c]
mov dword [esp + 0x18], 0
mov dword [esp], eax
mov eax, dword [ebp - 0xe94]
mov dword [esp + 0x14], 0xf003f
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
call eax
sub esp, 0x24
test eax, eax
je 0x4092e4
mov eax, dword [ebp - 0xe5c]
mov dword [esp], eax
mov eax, dword [ebp - 0xe7c]
call eax
push ecx
jmp 0x4084c3
mov eax, dword [ebp - 0xe8c]
mov dword [esp + 4], 0x40c7d8
mov esi, dword [sym.imp.ucrtbase.dll_wcscmp]
mov dword [esp], eax
call esi
test eax, eax
je 0x409237
mov eax, dword [ebp - 0xe8c]
mov dword [esp + 4], str.10.0
mov dword [esp], eax
call esi
test eax, eax
jne 0x4090d0
mov eax, dword [ebp - 0xe58]
mov esi, dword [sym.imp.advapi32.dll_RegSetValueExW]
mov dword [esp + 0x14], 8
mov dword [esp + 0x10], 0x41576c
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], str.CurrentVersion
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0xe58]
sub esp, 0x18
mov dword [esp + 0x14], 0xc
mov dword [esp + 0x10], str.19043
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], str.CurrentBuild
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0xe58]
sub esp, 0x18
mov dword [esp + 0x14], 0xc
mov dword [esp + 0x10], str.19043
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], str.CurrentBuildNumber
mov dword [esp], eax
call esi
sub esp, 0x18
jmp 0x4090d0
mov eax, dword [ebp - 0xe8c]
mov dword [esp + 0xc], 1
mov dword [ebp - 0xe4c], 0
mov dword [esp + 8], 0x28
mov dword [esp + 4], eax
mov dword [esp], 0
call dword [0x4174fc]
sub esp, 0x10
test eax, eax
jne 0x409616
lea eax, [ebp - 0xe4c]
mov dword [esp + 0x14], 4
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xe58]
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0
mov dword [esp + 4], str.Flags
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegSetValueExW]
mov eax, dword [ebp - 0xe58]
sub esp, 0x18
mov dword [esp], eax
mov eax, dword [ebp - 0xe7c]
call eax
push esi
jmp 0x4091e8
test byte [0x40a160], 2
je 0x4083c6
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp + 0xc], str.Failed_to_create_device_info_list__error__lx._n
mov dword [esp + 8], str.install_root_pnp_devices
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x40a160
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
jmp 0x4083c6
test byte [0x40a160], 8
jne 0x409450
mov eax, dword [ebp - 0xc20]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_WaitForSingleObject]
push eax
push eax
lea eax, [ebp - 0xe28]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc20]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_GetExitCodeProcess]
push eax
push eax
mov eax, dword [ebp - 0xe28]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_ExitProcess]
lea eax, [ebp - 0x810]
mov dword [ebp - 0xe8c], eax
lea eax, [ebp - 0xe28]
mov dword [ebp - 0xe78], eax
mov eax, dword [sym.imp.advapi32.dll_RegCreateKeyExW]
mov dword [ebp - 0xe94], eax
mov eax, dword [sym.imp.ucrtbase.dll_free]
mov dword [ebp - 0xe9c], eax
lea eax, [ebp - 0xe5c]
mov dword [ebp - 0xea4], eax
mov eax, dword [sym.imp.advapi32.dll_RegCloseKey]
mov dword [ebp - 0xe7c], eax
jmp 0x4068dd
mov eax, dword [ebp - 0xe8c]
call sym._wine_dbgstr_wn.constprop.0_1
mov dword [esp + 0xc], str.restarting__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.main
mov dword [esp + 4], 0x40a160
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x4093c3
test byte [0x40a160], 8
je 0x4089c5
mov dword [esp + 0xc], str.Unable_to_enumerate_StartUp_objects._n
mov dword [esp + 8], str.ProcessStartupItems
mov dword [esp + 4], 0x40a160
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x4089c5
mov dword [esp + 0xc], str.Couldnt_get_StartUp_folder_location._n
mov dword [esp + 8], str.ProcessStartupItems
mov dword [esp + 4], 0x40a160
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x4089c5
mov dword [esp], esi
call dword [sym.imp.kernelbase.dll_DeleteFileW]
push eax
jmp 0x407573
mov eax, dword [ebp - 0xe8c]
mov dword [esp + 4], 0x40c7d8
mov ebx, dword [sym.imp.ucrtbase.dll_wcscmp]
mov dword [esp], eax
call ebx
test eax, eax
je 0x40952e
mov eax, dword [ebp - 0xe8c]
mov dword [esp + 4], str.10.0
mov dword [esp], eax
call ebx
test eax, eax
jne 0x408f51
mov eax, dword [ebp - 0xe58]
mov ebx, dword [sym.imp.advapi32.dll_RegSetValueExW]
mov dword [esp + 0x14], 8
mov dword [esp + 0x10], 0x41576c
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], str.CurrentVersion
mov dword [esp], eax
call ebx
mov eax, dword [ebp - 0xe58]
sub esp, 0x18
mov dword [esp + 0x14], 0xc
mov dword [esp + 0x10], str.19043
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], str.CurrentBuild
mov dword [esp], eax
call ebx
mov eax, dword [ebp - 0xe58]
sub esp, 0x18
mov dword [esp + 0x14], 0xc
mov dword [esp + 0x10], str.19043
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], str.CurrentBuildNumber
mov dword [esp], eax
call ebx
sub esp, 0x18
jmp 0x408f51
mov esi, dword [eax + 0x34]
mov eax, ebx
call sym._wine_dbgstr_an.constprop.0
mov dword [esp + 0xc], str.Failed_to_create_device__s__error__lx._n
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.install_root_pnp_devices
mov dword [esp + 4], 0x40a160
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
jmp 0x4083aa
mov ecx, dword [ebp - 0xe8c]
mov eax, dword [ebp - 0xe58]
mov edx, str.ProfileImagePath
call sym._set_reg_value.isra.0
jmp 0x409320