Function at 0x405cd0
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 0x405d4a
test byte [0x40a160], 2
jne 0x406fc9
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 0x405d75
cmp dword [ebp - 0xe70], 0
jne 0x40700d
cmp dword [ebp - 0xe78], 1
jle 0x406061
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 0x405ec9
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.0x405f0f.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 0x405fe0
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 0x405ff0
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 0x405fff
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 0x40600e
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 0x40601d
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 0x406052
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.0x405f0f.2
mov dword [ebp - 0xe90], 1
lea esi, [esi]
inc edx
cmp dword [ebp - 0xe78], edx
je 0x405f45
mov eax, dword [ebp - 0xe7c]
mov eax, dword [eax + edx*4]
cmp byte [eax], 0x2d
jne 0x405ec0
movzx ecx, byte [eax + 1]
cmp cl, 0x2d
je 0x405dd0
add eax, 2
test cl, cl
je 0x405ec0
mov esi, dword [ebp - 0xe8c]
mov edi, dword [ebp - 0xe90]
lea esi, cs:[esi]
nop
sub ecx, 0x65
cmp cl, 0x10
ja case.0x405f0f.2
movzx ecx, cl
jmp dword [ecx*4 + 0x40cc08]
mov edi, 1
lea esi, [esi]
movzx ecx, byte [eax]
inc eax
test cl, cl
jne 0x405f00
mov dword [ebp - 0xe8c], esi
inc edx
mov dword [ebp - 0xe90], edi
cmp dword [ebp - 0xe78], edx
jne 0x405ec9
test ebx, ebx
je 0x40602c
mov eax, dword [ebp - 0xe94]
cmp dword [ebp - 0xe80], 0
mov dword [esp], eax
je 0x406f97
call sym._shutdown_all_desktops
test eax, eax
je 0x406044
mov eax, dword [ebp - 0xe8c]
mov dword [esp], eax
call sym._kill_processes
jmp 0x406039
mov esi, 1
jmp 0x405f28
mov dword [ebp - 0xe80], 1
jmp 0x405f28
mov dword [ebp - 0xe84], 1
jmp 0x405f28
mov ebx, 1
jmp 0x405f28
mov dword [ebp - 0xe88], 1
jmp 0x405f28
mov dword [ebp - 0xe94], 1
jmp 0x405f28
mov ebx, 1
jmp 0x405ec0
mov dword [ebp - 0xe94], 1
jmp 0x405ec0
mov dword [ebp - 0xe88], 1
jmp 0x405ec0
mov dword [ebp - 0xe80], 1
jmp 0x405ec0
mov dword [ebp - 0xe84], 1
jmp 0x405ec0
cmp dword [ebp - 0xe80], 0
jne 0x405f70
xor ebx, ebx
cmp dword [ebp - 0xe8c], 0
je 0x406089
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 0x405ec0
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 0x406fba
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 0x409576
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 0x4081c4
movzx eax, word [ebp - 0xe4c]
cmp ax, 9
je 0x408188
cmp ax, 0xc
je 0x40813f
cmp ax, 5
je 0x40813f
lea eax, [ebp - 0x810]
mov edx, 0x40bad8
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 0x4089d8
movzx edx, word [ebp - 0xe4c]
mov eax, dword [ebp - 0xe64]
cmp dx, 5
je 0x4070ec
cmp dx, 0xc
je 0x4070ec
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 0x407100
cmp ax, 0xc
je 0x407100
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 0x40710c
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 0x406399
mov dword [ebp - 0xe60], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
cmp dword [eax + 0x64], 0
je 0x4091c9
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, cs:[esi]
nop
mov eax, dword [ebp - 0xe78]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x40bd2c
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 0x406618
mov eax, dword [ebp - 0xe9c]
mov dword [ebp - 0xe58], eax
test eax, eax
jne 0x40649a
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 0x4064f9
lea esi, cs:[esi]
add eax, 2
cmp word [eax], 0
jne 0x4064f0
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 0x406599
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x406590
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 0x40668b
cmp ax, 0xc
je 0x40668b
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 0x407cff
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
inc ebx
add esi, 0x18
cmp ebx, dword [eax + 0x64]
jb 0x406400
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 0x406a12
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 0x4069f0
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 0x406803
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 0x4068ff
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 0x408adf
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 0x4069f0
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 0x408a9a
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 0x40889d
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 0x406d40
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 0x406d20
lea edx, [ebx + 0x12]
cmp word [ebx + 0x12], 0
mov ecx, dword [ebp - 0x810]
mov eax, edx
je 0x406b91
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x406b88
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], 0x4154d8
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], 0x415428
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 0x406b15
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 0x406eea
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], 0x40bd2c
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 0x408c80
mov ebx, 0x40bad8
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 0x408943
cmp ax, 0xc
je 0x408943
mov edx, ebx
mov ebx, dword [ebp - 0xe8c]
mov eax, ebx
call sym._get_identifier.constprop.0
mov dword [esp + 4], 0x40c0ae
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, 0x40c0b4
mov ecx, ebx
call sym._set_reg_value.isra.0
movzx eax, word [ebp - 0xc1e]
mov dword [esp + 8], 0x40bd2c
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 0x4071e3
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 0x40711b
mov eax, dword [ebp - 0xe5c]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x40711b
mov dword [esp + 4], str.localhost
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll__stricmp]
test eax, eax
je 0x40711b
mov eax, dword [ebp - 0xe5c]
mov ebx, dword [eax + 0x14]
jmp 0x407121
call sym._shutdown_close_windows
test eax, eax
jne 0x406039
jmp 0x406044
mov eax, 1
call sym._usage
xor eax, eax
call sym._usage
mov dword [ebp - 0xa18], 0
jmp 0x406196
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 0x405d4a
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 0x409526
test byte [0x40a160], 2
jne 0x408a16
mov eax, dword [ebp - 0xe40]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_Wow64RevertWow64FsRedirection]
push eax
jmp 0x405d75
mov ecx, str.ARM_processor_family
mov edx, str.Identifier
call sym._set_reg_value.isra.0
jmp 0x4062b6
lea eax, [ebp - 0xe5c]
mov dword [ebp - 0xea4], eax
mov dword [ebp - 0xe5c], 0
jmp 0x406335
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 0x408e29
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 0x40717b
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 0x4071e3
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 0x408ec0
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 0x407233
lea ebx, [esi - 2]
cmp eax, ebx
jb 0x407d2c
cmp edi, dword [ebp - 0xe8c]
je 0x407216
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 0x407257
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 0x4071f8
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 0x407303
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 0x4075ee
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 0x4087c9
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], 0x40c3d0
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 0x4073b9
nop
add eax, 2
cmp word [eax], 0
jne 0x4073b0
cmp dword [ebp - 0xea0], 0xffffffff
mov word [eax - 4], 0
je 0x407720
mov dword [ebp - 0xea8], edi
mov esi, dword [sym.imp.ucrtbase.dll_wcscmp]
lea ebx, [ebp - 0x7e4]
mov edi, dword [ebp - 0xe78]
jmp 0x407414
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 0x40771a
mov dword [esp + 4], 0x40c408
mov dword [esp], ebx
call esi
test eax, eax
je 0x4073f0
mov dword [esp + 4], 0x40c40c
mov dword [esp], ebx
call esi
test eax, eax
je 0x4073f0
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 0x407512
test byte [0x40a160], 4
jne 0x4088ff
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 0x407549
lea esi, cs:[esi]
add eax, 2
cmp word [eax], 0
jne 0x407540
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 0x4073f0
test byte [0x40a160], 4
je 0x4073f0
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 0x4073f0
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 0x4072e4
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 0x4072e6
mov eax, dword [ebp - 0xa18]
cmp eax, 3
jbe 0x4072e6
and eax, 0xfffffffe
cmp word [edi + eax - 2], 0
jne 0x4072e6
cmp word [edi + eax - 4], 0
jne 0x4072e6
mov esi, edi
movzx edx, word [esi]
test dx, dx
je 0x4076fc
mov eax, esi
add eax, 2
cmp word [eax], 0
jne 0x40767f
lea ebx, [eax + 2]
cmp dx, 0x5c
je 0x408e97
xor eax, eax
cmp word [ebx], 0x21
jne 0x4076a5
add ebx, 2
mov eax, 1
cmp word [ebx], 0x5c
je 0x408bb0
cmp word [ebx], 0
jne 0x408b97
mov dword [esp], esi
call dword [sym.imp.kernelbase.dll_RemoveDirectoryW]
push edx
test eax, eax
jne 0x4076e3
mov eax, dword fs:[0x18]
cmp dword [eax + 0x34], 0x10b
jne 0x4076e3
jmp 0x409657
add ebx, 2
cmp word [ebx], 0
jne 0x4076e0
lea esi, [ebx + 2]
mov eax, esi
sub eax, edi
cmp eax, dword [ebp - 0xa18]
jb 0x407671
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 0x4072e6
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 0x407774
mov eax, dword [ebp - 0xe84]
xor eax, 1
test dword [ebp - 0xe80], eax
je 0x407816
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 0x4081e3
test byte [0x40a160], 2
jne 0x408ce1
mov eax, dword [ebp - 0xe88]
or eax, dword [ebp - 0xe90]
jne 0x40827d
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 0x407a66
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 0x407a54
mov eax, dword [ebp - 0xe4c]
test eax, eax
je 0x407a54
cmp byte [ebp + eax - 0x811], 0
je 0x4078ec
cmp eax, 0x100
je 0x407a54
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 0x407995
cmp dword [ebp - 0xe4c], 0xa4
jne 0x407995
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 0x407a54
mov edx, dword [ebp - 0xe4c]
jmp 0x407991
cmp byte [ebp + eax - 0xa18], 0
jne 0x407a54
inc eax
cmp eax, edx
jne 0x407982
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 0x407c70
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 0x407b0c
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 0x407b96
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 0x4089bd
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 0x407c1c
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 0x408986
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], 0x40ca88
call dword [0x417634]
sub esp, 0x14
test eax, eax
je 0x407cae
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 0x407f1e
test byte [0x40a160], 8
jne 0x407ef5
mov eax, dword [ebp - 0xe74]
xor ebx, ebx
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_SetEvent]
push ecx
jmp 0x406044
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 0x40668b
movzx eax, word [edi]
mov esi, edi
test ax, ax
je 0x407dc8
mov ebx, edi
cmp ax, 0x3b
je 0x407da2
mov dword [esp + 4], 0x3d
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_wcschr]
test eax, eax
je 0x407da2
mov word [eax], 0
lea ebx, [eax + 2]
mov dword [esp + 4], edi
mov dword [esp], 0x40c200
call dword [sym.imp.kernelbase.dll_lstrcmpiW]
push edx
push edx
test eax, eax
jne 0x407e46
test byte [0x40a160], 8
jne 0x407ec1
mov dword [esp], ebx
call dword [sym.imp.kernelbase.dll_DeleteFileW]
push ecx
test eax, eax
jne 0x407da2
test byte [0x40a160], 4
jne 0x408cad
cmp word [ebx], 0
mov eax, ebx
je 0x407db9
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x407db0
lea edi, [eax + 2]
movzx eax, word [edi]
test ax, ax
jne 0x407d3a
cmp esi, dword [ebp - 0xe8c]
je 0x407ddb
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 0x407257
test byte [0x40a160], 2
je 0x407257
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 0x407257
test byte [0x40a160], 8
jne 0x4088b4
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 0x407da2
test byte [0x40a160], 4
je 0x407da2
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 0x407da2
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 0x407d87
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 0x407ce8
mov dword [esp], 0
xor ecx, ecx
mov edx, 0x40ca9e
mov eax, 0x80000002
call sym._ProcessRunKeys
mov dword [esp], 0
xor ecx, ecx
mov edx, 0x40ca9e
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 0x408bcd
lea eax, [ebp - 0xe60]
mov dword [esp], eax
call dword [0x4174f0]
push edx
test eax, eax
js 0x408d17
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 0x408b28
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], 0x412704
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 0x409138
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 0x4095f8
mov esi, dword [0x41750c]
mov ebx, dword [0x417500]
jmp 0x408060
test byte [0x40a160], 8
jne 0x408d4d
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 0x408b35
cmp dword [ebp - 0xe28], 1
jne 0x408b35
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 0x408043
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 0x408bf6
test byte [0x40a160], 8
je 0x408050
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 0x408050
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 0x406225
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 0x406225
mov eax, dword [ebp - 0xea0]
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._memset
jmp 0x4061ea
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 0x40916e
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 0x407816
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 0x408e3a
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 0x4090d8
xor eax, eax
movzx edx, word [ebx + eax]
mov word [ecx + eax], dx
add eax, 2
test dx, dx
jne 0x4082d2
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 0x4090f4
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 0x4087b3
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 0x4083be
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 0x408472
mov ebx, dword [ebp - 0xe8c]
cmp dword [ebp - 0xe6c], 0
je 0x408436
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 0x408a65
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 0x408472
test byte [ebp + esi*4 - 0xe26], 4
je 0x408b78
mov eax, dword [ebp - 0xe80]
mov ecx, 1
mov edx, str.DefaultInstall
inc esi
call sym._start_rundll32
mov dword [ebp - 0xe6c], eax
jmp 0x4083e9
xor eax, eax
lea edi, [ebp - 0x80c]
mov ecx, 6
rep stosd dword es:[edi], eax
mov dword [esp + 4], 0
mov edi, 0x415730
mov dword [ebp - 0x810], 0x1c
mov dword [esp], 0
call dword [0x4174d8]
mov dword [ebp - 0xe90], eax
inc eax
push edx
push edx
je 0x4094e3
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], 0x40f5dc
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [0x4174d4]
sub esp, 0x1c
test eax, eax
jne 0x408d96
mov eax, dword fs:[0x18]
cmp dword [eax + 0x34], 0xe0000207
je 0x40851a
test byte [0x40a160], 2
jne 0x40974b
add edi, 0xc
mov eax, 0x415748
cmp eax, edi
jne 0x4084b4
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 0x408643
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 0x4092fe
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 0x4091e5
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 0x409066
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 0x408725
add eax, 2
cmp word [eax], 0
jne 0x408722
sub eax, ebx
cmp eax, 0x206
jbe 0x40874c
xor eax, eax
movzx edx, word [eax + 0x40c8f4]
add eax, 2
mov word [eax + 0x40a37e], dx
test dx, dx
jne 0x408736
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 0x408d84
mov dword [esp + 8], 7
mov dword [esp + 4], str.__Z:_
mov dword [esp], 0x40a180
call ebx
test eax, eax
je 0x409257
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 0x407828
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 0x40732f
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], 0x40c3ca
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 0x40738b
jmp 0x407341
mov eax, dword [ebp - 0xa18]
mov dword [esp], eax
mov eax, dword [ebp - 0xe7c]
call eax
push eax
jmp 0x406aa9
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 0x407e53
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 0x4074fb
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 0x406e56
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 0x407c49
mov ecx, dword [ebp - 0xe8c]
mov eax, dword [ebp - 0xc20]
mov edx, str.USERNAME
call sym._set_reg_value.isra.0
jmp 0x407bc3
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 0x406a4d
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 0x4070d7
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 0x408a5b
jmp 0x4083e9
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 0x4069f0
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 0x4068ff
test byte [0x40a160], 8
jne 0x40962e
mov eax, dword [ebp - 0xc20]
test eax, eax
je 0x408b48
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
push edi
mov eax, dword [ebp - 0xe5c]
test eax, eax
je 0x408b5b
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
push esi
mov eax, dword [ebp - 0xe58]
test eax, eax
je 0x407cdb
mov dword [esp], eax
call dword [0x4174ec]
push ebx
jmp 0x407cdb
movzx ecx, ax
mov eax, dword [ebp - 0xe80]
mov edx, str.Wow64Install
inc esi
call sym._start_rundll32
mov dword [ebp - 0xe6c], eax
jmp 0x4083e9
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 0x4076e3
cmp word [ebx + 2], 0x3f
jne 0x408b97
cmp word [ebx + 4], 0x3f
jne 0x408b97
cmp word [ebx + 6], 0x5c
jne 0x408b97
add ebx, 8
jmp 0x4076af
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 0x407f83
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 0x408050
test byte [0x40a160], 4
je 0x408050
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 0x408050
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 0x406df6
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 0x407da2
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 0x407816
test byte [0x40a160], 2
je 0x408b35
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 0x408b35
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 0x408050
cmp ax, 0x5c
jne 0x408d81
mov word [edx], 0x2f
add edx, 2
movzx eax, word [edx]
test ax, ax
jne 0x408d76
mov eax, 0x40a192
jmp 0x40879e
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 0x408fec
test byte [0x40a160], 2
je 0x40851a
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 0x40851a
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_strlen]
lea edx, [ebx + eax]
jmp 0x407140
mov dword [esp], str.WINEDATADIR
mov eax, dword [ebp - 0xea0]
call eax
mov ebx, eax
test eax, eax
je 0x4090d8
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 0x4090d8
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 0x408e7c
jmp 0x4082fa
cmp word [esi + 2], 0x3f
jne 0x407695
cmp word [esi + 4], 0x3f
jne 0x407695
cmp word [esi + 6], 0x5c
jne 0x407695
add esi, 8
jmp 0x407695
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 0x408f18
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 0x4071d1
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 0x4071d1
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 0x4071d1
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 0x40927e
test byte [0x40a160], 2
je 0x40851a
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 0x40851a
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 0x4090c1
cmp dword [ebp - 0xe4c], 1
je 0x409666
mov eax, dword [ebp - 0xe58]
mov dword [esp], eax
mov eax, dword [ebp - 0xe7c]
call eax
push eax
jmp 0x4086af
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 0x407828
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 0x4087b3
test byte [0x40a160], 8
je 0x408b35
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 0x408b35
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 0x408260
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 0x408260
lea eax, [ebp - 0xe28]
mov dword [ebp - 0xe78], eax
mov eax, dword [sym.imp.advapi32.dll_RegCloseKey]
mov dword [ebp - 0xe7c], eax
jmp 0x4066a1
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 0x409240
cmp dword [ebp - 0xe4c], 1
je 0x40936f
mov eax, dword [ebp - 0xe58]
mov dword [esp], eax
mov eax, dword [ebp - 0xe7c]
call eax
push eax
jmp 0x408679
mov eax, 0x40a18c
jmp 0x40926c
cmp dx, 0x5c
jne 0x409269
mov word [eax], 0x2f
add eax, 2
movzx edx, word [eax]
test dx, dx
jne 0x40925e
mov eax, 0x40a18c
jmp 0x40879e
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 0x40851a
test byte [0x40a160], 2
je 0x40851a
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 0x40851a
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 0x409454
mov eax, dword [ebp - 0xe5c]
mov dword [esp], eax
mov eax, dword [ebp - 0xe7c]
call eax
push ecx
jmp 0x408633
mov eax, dword [ebp - 0xe8c]
mov dword [esp + 4], 0x40c810
mov esi, dword [sym.imp.ucrtbase.dll_wcscmp]
mov dword [esp], eax
call esi
test eax, eax
je 0x4093a7
mov eax, dword [ebp - 0xe8c]
mov dword [esp + 4], str.10.0
mov dword [esp], eax
call esi
test eax, eax
jne 0x409240
mov eax, dword [ebp - 0xe58]
mov esi, dword [sym.imp.advapi32.dll_RegSetValueExW]
mov dword [esp + 0x14], 8
mov dword [esp + 0x10], 0x4157ac
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 0x409240
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 0x409786
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 0x409358
test byte [0x40a160], 2
je 0x408536
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 0x408536
test byte [0x40a160], 8
jne 0x4095c0
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 0x406a4d
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 0x409533
test byte [0x40a160], 8
je 0x408b35
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 0x408b35
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 0x408b35
mov dword [esp], esi
call dword [sym.imp.kernelbase.dll_DeleteFileW]
push eax
jmp 0x4076e3
mov eax, dword [ebp - 0xe8c]
mov dword [esp + 4], 0x40c810
mov ebx, dword [sym.imp.ucrtbase.dll_wcscmp]
mov dword [esp], eax
call ebx
test eax, eax
je 0x40969e
mov eax, dword [ebp - 0xe8c]
mov dword [esp + 4], str.10.0
mov dword [esp], eax
call ebx
test eax, eax
jne 0x4090c1
mov eax, dword [ebp - 0xe58]
mov ebx, dword [sym.imp.advapi32.dll_RegSetValueExW]
mov dword [esp + 0x14], 8
mov dword [esp + 0x10], 0x4157ac
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 0x4090c1
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 0x40851a
mov ecx, dword [ebp - 0xe8c]
mov eax, dword [ebp - 0xe58]
mov edx, str.ProfileImagePath
call sym._set_reg_value.isra.0
jmp 0x409490