Function at 0x4053d0
Capabilities:
Accept command line arguments
Access peb ldr_data
Check for peb beingdebugged flag
Create process on windows
Delete directory
Delete file
Delete registry value
Enumerate files on windows
Get common file path
Get hostname
Get kernel32 base address
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
Read file on windows
Resolve dns
Self delete
Set current directory
Set registry value
Terminate process

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0xee8
mov eax, dword [ecx]
mov ebx, dword [ecx + 4]
mov dword [ebp - 0xe8c], eax
call sym.___main
mov dword [esp + 4], 0x104
mov dword [ebp - 0xe5c], 0x40003e
mov dword [ebp - 0xe58], str.KernelObjects__wineboot_event
mov dword [esp], 0x416240
call dword [sym.imp.kernelbase.dll_GetWindowsDirectoryW]
sub esp, 8
mov dword [esp], 0x416240
call dword [sym.imp.kernelbase.dll_SetCurrentDirectoryW]
sub esp, 4
test eax, eax
jne 0x405444
test byte [0x409010], 2
jne 0x405e2e
lea eax, [ebp - 0xe78]
mov dword [esp], 0xffffffff
mov dword [esp + 4], eax
call dword [sym.imp.kernelbase.dll_IsWow64Process]
sub esp, 8
test eax, eax
je 0x40546f
cmp dword [ebp - 0xe78], 0
jne 0x405d40
cmp dword [ebp - 0xe8c], 1
jle 0x40576d
mov dword [ebp - 0xea4], 0
mov edx, 1
mov dword [ebp - 0xe98], 0
mov dword [ebp - 0xe94], 0
mov dword [ebp - 0xe90], 0
mov dword [ebp - 0xea0], 0
mov dword [ebp - 0xea8], 0
mov dword [ebp - 0xe9c], 0
jmp 0x4055cb
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.0x405607.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 0x4056e0
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 0x4056f0
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 0x4056ff
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 0x40570e
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 0x40571d
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 0x40575e
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.0x405607.2
mov dword [ebp - 0xea4], 1
lea esi, [esi]
add edx, 1
cmp dword [ebp - 0xe8c], edx
je 0x405639
mov eax, dword [ebx + edx*4]
cmp byte [eax], 0x2d
jne 0x4055c0
movzx ecx, byte [eax + 1]
cmp cl, 0x2d
je 0x4054d0
add eax, 2
test cl, cl
je 0x4055c0
mov esi, dword [ebp - 0xea4]
mov edi, dword [ebp - 0xe9c]
nop
lea esi, [esi]
sub ecx, 0x65
cmp cl, 0x10
ja case.0x405607.2
movzx ecx, cl
jmp dword [ecx*4 + 0x40b890]
mov esi, 1
lea esi, [esi]
movzx ecx, byte [eax]
add eax, 1
test cl, cl
jne 0x4055f8
mov dword [ebp - 0xea4], esi
add edx, 1
mov dword [ebp - 0xe9c], edi
cmp dword [ebp - 0xe8c], edx
jne 0x4055cb
mov edx, dword [ebp - 0xe9c]
test edx, edx
je 0x40572c
mov eax, dword [ebp - 0xea8]
cmp dword [ebp - 0xe90], 0
mov dword [esp], eax
je 0x405d2e
call sym._shutdown_all_desktops
test eax, eax
je 0x40574c
mov eax, dword [ebp - 0xe98]
mov dword [esp], eax
call sym._kill_processes
jmp 0x405739
mov dword [ebp - 0xe98], 1
jmp 0x405618
mov dword [ebp - 0xe90], 1
jmp 0x405618
mov dword [ebp - 0xe94], 1
jmp 0x405618
mov edi, 1
jmp 0x405618
mov dword [ebp - 0xea0], 1
jmp 0x405618
mov dword [ebp - 0xea8], 1
jmp 0x405618
mov dword [ebp - 0xe9c], 1
jmp 0x4055c0
mov dword [ebp - 0xea8], 1
jmp 0x4055c0
mov dword [ebp - 0xea0], 1
jmp 0x4055c0
mov dword [ebp - 0xe90], 1
jmp 0x4055c0
mov dword [ebp - 0xe94], 1
jmp 0x4055c0
cmp dword [ebp - 0xe90], 0
jne 0x40566a
cmp dword [ebp - 0xe98], 0
mov dword [ebp - 0xe9c], 0
je 0x405795
mov eax, dword [ebp - 0xe9c]
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
mov dword [ebp - 0xe98], 1
jmp 0x4055c0
mov dword [ebp - 0xe94], 0
mov dword [ebp - 0xea4], 0
mov dword [ebp - 0xea0], 0
mov dword [ebp - 0xe90], 0
lea eax, [ebp - 0xe5c]
mov dword [ebp - 0xe48], 0x18
mov dword [ebp - 0xe40], eax
lea eax, [ebp - 0xe48]
mov dword [esp + 8], eax
lea eax, [ebp - 0xe7c]
mov dword [ebp - 0xe44], 0
mov dword [ebp - 0xe3c], 0x82
mov dword [ebp - 0xe38], 0
mov dword [ebp - 0xe34], 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 - 0xe7c]
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
lea eax, [ebp - 0xc28]
call sym._get_vendorid
mov edi, dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
lea eax, [ebp - 0xe54]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0xc
mov dword [esp + 4], eax
mov dword [esp], 1
mov dword [ebp - 0xec0], edi
call edi
lea eax, [ebp - 0xa20]
sub esp, 0x10
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x40
mov dword [esp + 4], eax
mov dword [esp], 0x69
call edi
sub esp, 0x10
test eax, eax
jne 0x405e1f
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [sym.imp.kernelbase.dll_HeapAlloc]
mov dword [ebp - 0xe9c], eax
call eax
mov dword [ebp - 0xeb4], eax
sub esp, 0xc
test eax, eax
je 0x408b33
mov eax, dword [ebp - 0xeb4]
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 0x407c6a
movzx eax, word [ebp - 0xe54]
cmp ax, 9
je 0x407c2e
cmp ax, 0xc
je 0x407be5
cmp ax, 5
je 0x407be5
lea eax, [ebp - 0x818]
mov edx, 0x40a8d0
mov dword [ebp - 0xe98], eax
call sym._get_identifier.constprop.0
lea eax, [ebp - 0xe6c]
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 - 0xeac], eax
call eax
sub esp, 0x24
test eax, eax
jne 0x407fb6
movzx edx, word [ebp - 0xe54]
mov eax, dword [ebp - 0xe6c]
cmp dx, 5
je 0x405e72
cmp dx, 0xc
je 0x405e72
mov ecx, str.AT_compatible
mov edx, str.Identifier
call sym._set_reg_value
movzx eax, word [ebp - 0xe54]
cmp ax, 5
je 0x405e86
cmp ax, 0xc
je 0x405e86
lea eax, [ebp - 0xe64]
mov dword [esp + 0x20], 0
mov dword [ebp - 0xebc], eax
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0xe6c]
mov dword [esp + 0x18], 0
mov dword [esp], eax
mov eax, dword [ebp - 0xeac]
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 0x405e92
lea eax, [ebp - 0xe68]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0xe6c]
mov dword [esp + 0x18], 0
mov dword [esp], eax
mov eax, dword [ebp - 0xeac]
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 0x405ab2
mov dword [ebp - 0xe68], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
cmp dword [eax + 0x64], 0
je 0x405ea1
lea eax, [ebp - 0xe30]
mov edi, dword [sym.imp.advapi32.dll_RegSetValueExW]
xor ebx, ebx
lea esi, [ebp - 0xe70]
mov dword [ebp - 0xe8c], eax
mov eax, dword [sym.imp.advapi32.dll_RegCloseKey]
mov dword [ebp - 0xea8], eax
jmp 0x405b72
movzx eax, word [ebp - 0xe54]
cmp ax, 5
je 0x405b5d
cmp ax, 0xc
je 0x405b5d
mov eax, dword [ebp - 0xe8c]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], esi
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xe64]
mov dword [esp + 0x18], 0
mov dword [esp], eax
mov eax, dword [ebp - 0xeac]
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
je 0x40712f
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
add ebx, 1
cmp ebx, dword [eax + 0x64]
jae 0x405eb8
mov eax, dword [ebp - 0xe8c]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x40ab24
mov dword [esp + 4], 0xa
mov dword [esp], eax
call sym._swprintf
mov eax, dword [ebp - 0xe8c]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], esi
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xe68]
mov dword [esp + 0x18], 0
mov dword [esp], eax
mov eax, dword [ebp - 0xeac]
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 0x405af0
lea eax, [ebp - 0xe4c]
mov dword [esp + 0x14], 4
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xe70]
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0
mov dword [esp + 4], str.FeatureSet
mov dword [esp], eax
call edi
mov ecx, dword [ebp - 0xe98]
mov eax, dword [ebp - 0xe70]
mov edx, str.Identifier
sub esp, 0x18
call sym._set_reg_value
lea edx, [ebp - 0xa20]
mov ecx, dword [edx]
add edx, 4
lea eax, [ecx - 0x1010101]
not ecx
and eax, ecx
and eax, 0x80808080
je 0x405c42
mov ecx, eax
mov dword [esp + 0xc], 1
shr ecx, 0x10
test eax, 0x8080
mov dword [esp + 8], 0
cmove eax, ecx
lea ecx, [edx + 2]
mov dword [esp + 4], str.ProcessorNameString
cmove edx, ecx
mov ecx, eax
add cl, al
lea eax, [ebp - 0xa20]
sbb edx, 3
mov dword [esp + 0x10], eax
sub edx, eax
mov eax, dword [ebp - 0xe70]
add edx, 1
mov dword [esp + 0x14], edx
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegSetValueExA]
mov eax, dword [ebp - 0xe70]
lea ecx, [ebp - 0xc28]
mov edx, str.VendorIdentifier
sub esp, 0x18
call sym._set_reg_value
mov edx, dword [ebp - 0xeb4]
lea eax, [ebx + ebx*2]
mov dword [esp + 0x14], 4
mov dword [esp + 0xc], 4
lea eax, [edx + eax*8 + 4]
mov dword [esp + 8], 0
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xe70]
mov dword [esp + 4], str.MHz
mov dword [esp], eax
call edi
mov eax, dword [ebp - 0xe70]
sub esp, 0x18
mov dword [esp], eax
mov eax, dword [ebp - 0xea8]
call eax
sub esp, 4
jmp 0x405af0
mov eax, 1
call sym._usage
xor eax, eax
call sym._usage
call sym._shutdown_close_windows
test eax, eax
jne 0x405739
jmp 0x40574c
lea edx, [ebp - 0xa1c]
xor eax, eax
mov ecx, 0x10
mov edi, edx
lea esi, [ebp - 0xa20]
rep stosd dword es:[edi], eax
lea edi, [ebp - 0x818]
mov dword [esp + 4], 0x104
mov dword [ebp - 0xa20], 0x44
mov dword [ebp - 0xe98], edi
mov dword [esp], edi
call dword [sym.imp.kernelbase.dll_GetSystemDirectoryW]
push eax
push eax
mov dword [esp + 4], str.wineboot.exe
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_wcscat]
lea eax, [ebp - 0xe48]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_Wow64DisableWow64FsRedirection]
push eax
call dword [sym.imp.kernelbase.dll_GetCommandLineW]
lea edx, [ebp - 0xc28]
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], esi
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 0x408a79
test byte [0x409010], 2
jne 0x407f71
mov eax, dword [ebp - 0xe48]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_Wow64RevertWow64FsRedirection]
push ecx
jmp 0x40546f
mov dword [ebp - 0xa20], 0
jmp 0x405894
mov eax, dword fs:[0x18]
mov esi, dword [eax + 0x34]
mov eax, 0x416240
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], esi
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.main
mov dword [esp + 4], 0x409010
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
jmp 0x405444
mov ecx, str.ARM_processor_family
mov edx, str.Identifier
call sym._set_reg_value
jmp 0x4059cf
lea eax, [ebp - 0xe64]
mov dword [ebp - 0xebc], eax
mov dword [ebp - 0xe64], 0
jmp 0x405a4e
lea eax, [ebp - 0xe30]
mov dword [ebp - 0xe8c], eax
mov eax, dword [sym.imp.advapi32.dll_RegCloseKey]
mov dword [ebp - 0xea8], eax
lea eax, [ebp - 0xe60]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0xe6c]
mov dword [esp + 0x18], 0
mov dword [esp], eax
mov eax, dword [ebp - 0xeac]
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.BIOS
call eax
mov ebx, dword [sym.imp.kernelbase.dll_HeapFree]
sub esp, 0x24
mov dword [ebp - 0xeb0], ebx
test eax, eax
jne 0x406331
mov dword [esp + 0xc], 0
mov edi, dword [sym.imp.kernelbase.dll_GetSystemFirmwareTable]
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0x52534d42
call edi
sub esp, 0x10
mov ebx, eax
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0xe9c]
call eax
sub esp, 0xc
mov esi, eax
test eax, eax
je 0x4062f4
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0x52534d42
call edi
mov edx, esi
mov edi, eax
mov eax, dword [ebp - 0xe60]
sub esp, 0x10
mov ecx, edi
mov dword [ebp - 0xeb0], eax
mov eax, 2
call sym._find_smbios_entry
mov ebx, eax
test eax, eax
je 0x406035
mov edx, eax
movzx eax, byte [eax + 1]
movzx ecx, byte [ebx + 4]
mov dword [esp + 8], edi
sub edx, esi
mov dword [esp], esi
add edx, eax
mov eax, dword [ebp - 0xeb0]
mov dword [esp + 4], edx
mov dword [ebp - 0xeb8], edx
mov edx, str.BaseBoardManufacturer
call sym._set_value_from_smbios_string
mov edx, dword [ebp - 0xeb8]
movzx ecx, byte [ebx + 5]
mov dword [esp + 8], edi
mov dword [esp], esi
mov eax, dword [ebp - 0xeb0]
mov dword [esp + 4], edx
mov edx, str.BaseBoardProduct
call sym._set_value_from_smbios_string
mov edx, dword [ebp - 0xeb8]
movzx ecx, byte [ebx + 6]
mov dword [esp + 8], edi
mov dword [esp], esi
mov eax, dword [ebp - 0xeb0]
mov dword [esp + 4], edx
mov edx, str.BaseBoardVersion
call sym._set_value_from_smbios_string
mov eax, dword [ebp - 0xe60]
mov ecx, edi
mov edx, esi
mov dword [ebp - 0xeb0], eax
xor eax, eax
call sym._find_smbios_entry
mov ebx, eax
test eax, eax
je 0x4061ff
mov edx, eax
movzx eax, byte [eax + 1]
movzx ecx, byte [ebx + 4]
mov dword [esp + 8], edi
sub edx, esi
mov dword [esp], esi
add edx, eax
mov eax, dword [ebp - 0xeb0]
mov dword [esp + 4], edx
mov dword [ebp - 0xeb8], edx
mov edx, str.BIOSVendor
call sym._set_value_from_smbios_string
mov edx, dword [ebp - 0xeb8]
movzx ecx, byte [ebx + 5]
mov dword [esp + 8], edi
mov dword [esp], esi
mov eax, dword [ebp - 0xeb0]
mov dword [esp + 4], edx
mov edx, str.BIOSVersion
call sym._set_value_from_smbios_string
mov edx, dword [ebp - 0xeb8]
movzx ecx, byte [ebx + 8]
mov dword [esp + 8], edi
mov dword [esp], esi
mov eax, dword [ebp - 0xeb0]
mov dword [esp + 4], edx
mov edx, str.BIOSReleaseDate
call sym._set_value_from_smbios_string
cmp byte [ebx + 1], 0x17
jbe 0x408061
movzx eax, byte [ebx + 0x14]
mov edx, dword [ebp - 0xe8c]
mov dword [esp + 0x14], 4
mov ecx, dword [sym.imp.advapi32.dll_RegSetValueExW]
mov dword [esp + 0xc], 4
mov dword [ebp - 0xe30], eax
mov eax, dword [ebp - 0xeb0]
mov dword [esp + 0x10], edx
mov dword [ebp - 0xeb8], ecx
mov dword [esp + 8], 0
mov dword [esp + 4], str.BiosMajorRelease
mov dword [esp], eax
call ecx
movzx eax, byte [ebx + 0x15]
mov edx, dword [ebp - 0xe8c]
sub esp, 0x18
mov ecx, dword [ebp - 0xeb8]
mov dword [ebp - 0xe30], eax
mov eax, dword [ebp - 0xeb0]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], 4
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0
mov dword [esp + 4], str.BiosMinorRelease
mov dword [esp], eax
call ecx
movzx eax, byte [ebx + 0x16]
mov edx, dword [ebp - 0xe8c]
sub esp, 0x18
mov ecx, dword [ebp - 0xeb8]
mov dword [ebp - 0xe30], eax
mov eax, dword [ebp - 0xeb0]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], 4
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0
mov dword [esp + 4], str.ECFirmwareMajorVersion
mov dword [esp], eax
call ecx
movzx eax, byte [ebx + 0x17]
mov edx, dword [ebp - 0xe8c]
sub esp, 0x18
mov ecx, dword [ebp - 0xeb8]
mov dword [ebp - 0xe30], eax
mov eax, dword [ebp - 0xeb0]
mov dword [esp + 0x14], 4
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0
mov dword [esp + 4], str.ECFirmwareMinorVersion
mov dword [esp], eax
call ecx
sub esp, 0x18
mov ecx, edi
mov edx, esi
mov eax, 1
mov ebx, dword [ebp - 0xe60]
call sym._find_smbios_entry
mov ecx, eax
test eax, eax
je 0x4062f4
mov edx, eax
movzx eax, byte [eax + 1]
mov dword [ebp - 0xeb8], ecx
sub edx, esi
movzx ecx, byte [ecx + 4]
mov dword [esp + 8], edi
add eax, edx
mov dword [esp], esi
mov edx, str.SystemManufacturer
mov dword [esp + 4], eax
mov dword [ebp - 0xeb0], eax
mov eax, ebx
call sym._set_value_from_smbios_string
mov eax, dword [ebp - 0xeb0]
mov ecx, dword [ebp - 0xeb8]
mov edx, str.SystemProductName
movzx ecx, byte [ecx + 5]
mov dword [esp + 4], eax
mov eax, ebx
mov dword [esp + 8], edi
mov dword [esp], esi
call sym._set_value_from_smbios_string
mov eax, dword [ebp - 0xeb0]
mov ecx, dword [ebp - 0xeb8]
mov edx, str.SystemVersion
movzx ecx, byte [ecx + 6]
mov dword [esp + 4], eax
mov eax, ebx
mov dword [esp + 8], edi
mov dword [esp], esi
call sym._set_value_from_smbios_string
mov ecx, dword [ebp - 0xeb8]
cmp byte [ecx + 1], 0x1a
jbe 0x408174
mov eax, dword [ebp - 0xeb0]
movzx ecx, byte [ecx + 0x19]
mov dword [esp + 8], edi
mov edx, str.SystemSKU
mov dword [esp], esi
mov dword [esp + 4], eax
mov eax, ebx
call sym._set_value_from_smbios_string
mov eax, dword [ebp - 0xeb0]
mov ecx, dword [ebp - 0xeb8]
mov edx, str.SystemFamily
movzx ecx, byte [ecx + 0x1a]
mov dword [esp + 4], eax
mov eax, ebx
mov dword [esp + 8], edi
mov dword [esp], esi
call sym._set_value_from_smbios_string
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [sym.imp.kernelbase.dll_HeapFree]
mov dword [ebp - 0xeb0], eax
call eax
mov eax, dword [ebp - 0xe60]
sub esp, 0xc
mov dword [esp], eax
mov eax, dword [ebp - 0xea8]
call eax
push eax
mov eax, dword [ebp - 0xe64]
mov ebx, dword [ebp - 0xea8]
mov dword [esp], eax
call ebx
mov eax, dword [ebp - 0xe68]
push edi
mov dword [esp], eax
call ebx
push eax
mov eax, dword [ebp - 0xe6c]
mov dword [esp], eax
call ebx
mov ebx, dword [ebp - 0xeb4]
push eax
mov eax, dword fs:[0x18]
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0xeb0]
call eax
sub esp, 0xc
mov eax, dword [ebp - 0xe98]
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0xeac]
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 0x40730c
mov eax, dword [ebp - 0xe98]
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0xeac]
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
je 0x407bce
mov eax, dword [ebp - 0xe8c]
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 0x406620
lea eax, [ebp - 0xa20]
call sym._get_vendorid
lea eax, [ebp - 0xc28]
mov dword [esp + 0xc], 0
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xec0]
mov dword [esp + 8], 0xc
mov dword [esp], 1
call eax
mov ebx, dword [ebp - 0xe98]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
sub esp, 0x10
mov eax, dword [eax + 0x64]
mov dword [esp + 8], 0x40ab24
mov dword [esp + 4], 0x3c
mov dword [esp + 0xc], eax
mov dword [esp], ebx
call sym._swprintf
mov eax, dword [ebp - 0xe30]
mov ecx, ebx
mov edx, str.NUMBER_OF_PROCESSORS
call sym._set_reg_value
cmp word [ebp - 0xc28], 9
je 0x408453
mov ebx, 0x40a8d0
mov ecx, ebx
mov eax, dword [ebp - 0xe30]
mov edx, str.PROCESSOR_ARCHITECTURE
call sym._set_reg_value
movzx eax, word [ebp - 0xc28]
cmp ax, 5
je 0x407ed3
cmp ax, 0xc
je 0x407ed3
mov edx, ebx
mov ebx, dword [ebp - 0xe98]
mov eax, ebx
call sym._get_identifier.constprop.0
cmp word [ebp - 0x818], 0
je 0x408ac9
mov eax, ebx
add eax, 2
cmp word [eax], 0
jne 0x40653f
xor edx, edx
movzx ecx, word [edx + 0x40aea6]
mov word [eax + edx], cx
add edx, 2
test cx, cx
jne 0x40654a
cmp word [ebp - 0x818], 0
mov eax, dword [ebp - 0xe98]
je 0x406576
add eax, 2
cmp word [eax], 0
jne 0x40656d
xor edx, edx
movzx ecx, word [ebp + edx - 0xa20]
mov word [eax + edx], cx
add edx, 2
test cx, cx
jne 0x406578
mov ebx, dword [ebp - 0xe98]
mov eax, dword [ebp - 0xe30]
mov edx, 0x40aeac
mov ecx, ebx
call sym._set_reg_value
movzx eax, word [ebp - 0xc26]
mov dword [esp + 8], 0x40ab24
mov dword [esp + 4], 0x3c
mov dword [esp + 0xc], eax
mov dword [esp], ebx
call sym._swprintf
mov eax, dword [ebp - 0xe30]
mov ecx, ebx
mov edx, str.PROCESSOR_LEVEL
call sym._set_reg_value
movzx eax, word [ebp - 0xc24]
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 - 0xe30]
mov ecx, ebx
mov edx, str.PROCESSOR_REVISION
call sym._set_reg_value
mov eax, dword [ebp - 0xe30]
mov dword [esp], eax
mov eax, dword [ebp - 0xea8]
call eax
push ecx
xor eax, eax
mov ecx, 8
lea edi, [ebp - 0xa20]
mov ebx, dword [ebp - 0xe98]
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 - 0xec0], edi
push edx
test eax, eax
jne 0x406786
mov eax, dword [ebp - 0xebc]
mov dword [esp], ebx
mov dword [esp + 4], 0
mov dword [esp + 0xc], eax
lea eax, [ebp - 0xa20]
mov dword [esp + 8], eax
mov dword [ebp - 0xa20], 2
call sym._getaddrinfo_16
sub esp, 0x10
test eax, eax
jne 0x4066be
mov eax, dword [ebp - 0xe64]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x4066be
mov dword [esp + 4], str.localhost
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll__stricmp]
test eax, eax
je 0x4066be
mov eax, dword [ebp - 0xe64]
mov esi, dword [eax + 0x14]
jmp 0x4066c4
mov esi, dword [ebp - 0xe98]
mov dword [esp + 4], 0x2e
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strchr]
test eax, eax
je 0x40843f
mov byte [eax], 0
lea edx, [eax + 1]
mov dword [esp + 4], edx
mov ebx, dword [sym.imp.kernelbase.dll_SetComputerNameExA]
mov dword [esp], 6
call ebx
push eax
push eax
mov dword [esp + 4], esi
mov dword [esp], 5
call ebx
push eax
push eax
cmp esi, dword [ebp - 0xe98]
je 0x40671e
mov eax, dword [ebp - 0xe64]
mov dword [esp], eax
call sym._freeaddrinfo_4
push edi
mov ebx, dword [sym.imp.advapi32.dll_RegOpenKeyW]
lea eax, [ebp - 0xe60]
mov dword [esp + 4], str.SystemCurrentControlSetControlComputerName
mov dword [esp + 8], eax
mov dword [esp], 0x80000002
mov dword [ebp - 0xec0], ebx
call ebx
sub esp, 0xc
test eax, eax
jne 0x406786
lea eax, [ebp - 0xe54]
mov dword [esp + 4], str.ComputerName
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xe60]
mov dword [esp], eax
call ebx
sub esp, 0xc
test eax, eax
je 0x4086b9
mov eax, dword [ebp - 0xe60]
mov dword [esp], eax
mov eax, dword [ebp - 0xea8]
call eax
push ecx
mov eax, dword fs:[0x18]
mov edi, dword [ebp - 0xe98]
mov dword [ebp - 0xeb8], eax
mov esi, 0x400
mov dword [ebp - 0xeb4], eax
jmp 0x406819
lea ebx, [esi - 2]
cmp eax, ebx
jb 0x40715c
cmp edi, dword [ebp - 0xe98]
je 0x4067e1
mov eax, dword [ebp - 0xeb8]
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0xeb0]
call eax
sub esp, 0xc
mov eax, dword [ebp - 0xeb4]
lea edx, [esi*4]
mov dword [esp + 4], 0
lea ebx, [esi + esi]
mov dword [esp + 8], edx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0xe9c]
call eax
sub esp, 0xc
mov edi, eax
test eax, eax
je 0x406841
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 0x4067a8
mov eax, dword [ebp - 0xe98]
mov dword [esp + 0xc], 0xf003f
mov dword [ebp - 0xa20], 0
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0
mov dword [esp + 4], str.SystemCurrentControlSetControlSession_Manager
mov dword [esp], 0x80000002
call dword [sym.imp.advapi32.dll_RegOpenKeyExW]
sub esp, 0x14
test eax, eax
jne 0x406905
lea eax, [ebp - 0xa20]
mov dword [esp + 0x10], 0
mov ebx, dword [sym.imp.advapi32.dll_RegQueryValueExW]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x818]
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 0x406c5b
xor edi, edi
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0xeb0]
call eax
mov eax, dword [ebp - 0x818]
sub esp, 0xc
mov dword [esp], eax
mov eax, dword [ebp - 0xea8]
call eax
push eax
mov eax, dword [ebp - 0xebc]
mov dword [esp + 4], str.SoftwareMicrosoftWindows_NTCurrentVersionWinlogon
mov dword [esp], 0x80000002
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xec0]
call eax
sub esp, 0xc
test eax, eax
je 0x407a42
mov eax, dword [ebp - 0xe64]
mov dword [esp], eax
mov eax, dword [ebp - 0xea8]
call eax
push eax
mov esi, dword [sym.imp.kernelbase.dll_GetSystemDirectoryW]
mov dword [esp + 4], 0
mov dword [esp], 0
call esi
push edi
mov ebx, eax
lea eax, [eax + 0xc]
push edi
add eax, eax
mov edx, dword fs:[0x18]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0xe9c]
call eax
sub esp, 0xc
mov dword [ebp - 0xeb8], eax
mov dword [esp + 4], ebx
mov ebx, eax
mov dword [esp], eax
call esi
push eax
push eax
mov eax, ebx
movzx ecx, word [eax]
mov edx, eax
lea eax, [eax + 2]
test cx, cx
jne 0x40699f
xor eax, eax
movzx ecx, word [eax + 0x40b1c8]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x4069ae
mov ebx, dword [ebp - 0xeb8]
mov eax, dword [ebp - 0xe98]
mov dword [esp], ebx
mov dword [esp + 4], eax
call dword [sym.imp.kernelbase.dll_FindFirstFileW]
push esi
push esi
cmp word [ebx], 0
mov dword [ebp - 0xeb4], eax
mov eax, ebx
je 0x408315
nop
add eax, 2
cmp word [eax], 0
jne 0x4069f0
cmp dword [ebp - 0xeb4], 0xffffffff
mov word [eax - 4], 0
je 0x406da3
mov ebx, dword [sym.imp.ucrtbase.dll_wcscmp]
lea edi, [ebp - 0x7ec]
jmp 0x406a44
mov eax, dword [ebp - 0xe98]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xeb4]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_FindNextFileW]
sub esp, 8
test eax, eax
je 0x406da3
mov dword [esp + 4], 0x40b200
mov dword [esp], edi
call ebx
test eax, eax
je 0x406a20
mov dword [esp + 4], 0x40b204
mov dword [esp], edi
call ebx
test eax, eax
je 0x406a20
lea eax, [ebp - 0xe54]
lea esi, [ebp - 0xe60]
mov dword [ebp - 0xe60], 0x104
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0xe8c]
lea edx, [ebp - 0xc28]
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], edx
mov dword [ebp - 0xe54], 0x104
mov dword [esp + 0x18], eax
mov dword [esp + 0xc], 0x416240
mov dword [esp + 8], 0x416240
mov dword [esp + 4], edi
mov dword [esp], 1
call dword [sym.imp.kernelbase.dll_VerFindFileW]
mov eax, dword [ebp - 0xe8c]
mov dword [ebp - 0xe60], 0x104
sub esp, 0x20
mov dword [esp + 0x1c], esi
lea esi, [ebp - 0xa20]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xeb8]
mov dword [esp + 0x18], esi
lea esi, [ebp - 0xc28]
mov dword [esp + 0x14], esi
mov dword [esp + 0xc], eax
mov dword [esp + 8], edi
mov dword [esp + 4], edi
mov dword [esp], 0
call sym._VerInstallFileW_32
mov esi, eax
mov eax, dword [sym.imp.kernelbase.dll_DeleteFileW]
sub esp, 0x20
mov dword [ebp - 0xec0], eax
test esi, esi
je 0x406b48
test byte [0x409010], 4
jne 0x407f16
lea eax, [ebp - 0xa20]
mov dword [esp], eax
mov eax, dword [sym.imp.kernelbase.dll_DeleteFileW]
mov dword [ebp - 0xec0], eax
call eax
push ecx
mov edx, dword [ebp - 0xeb8]
mov eax, dword [ebp - 0xe8c]
lea esi, [esi]
movzx ecx, word [edx]
test cx, cx
je 0x406b74
add eax, 2
lea esi, [ebp - 0xc2c]
add edx, 2
mov word [eax - 2], cx
cmp eax, esi
jne 0x406b58
mov word [eax], 0
cmp word [ebp - 0xe30], 0
mov edx, dword [ebp - 0xe8c]
je 0x407f4e
lea esi, [esi]
add edx, 2
cmp word [edx], 0
jne 0x406b90
mov esi, dword [ebp - 0xe8c]
sub edx, esi
mov eax, edx
lea edx, [esi + edx + 2]
sar eax, 1
mov word [ebp + eax*2 - 0xe30], 0x5c
lea ecx, [eax + 1]
mov eax, 0x104
sub eax, ecx
mov dword [ebp - 0xe60], ecx
cmp eax, 1
jbe 0x406d96
mov ecx, edi
jmp 0x406be2
sub eax, 1
add edx, 2
add ecx, 2
mov word [edx - 2], si
cmp eax, 1
je 0x406bea
movzx esi, word [ecx]
test si, si
jne 0x406bd0
mov word [edx], 0
mov eax, dword [ebp - 0xe8c]
mov dword [esp], eax
mov eax, dword [ebp - 0xec0]
call eax
push edx
test eax, eax
jne 0x406a20
test byte [0x409010], 4
je 0x406a20
mov eax, dword fs:[0x18]
mov esi, dword [eax + 0x34]
mov eax, dword [ebp - 0xe8c]
call sym._wine_dbgstr_wn.constprop.0_1
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.failed_to_delete__s:_error__lu_n
mov dword [esp + 8], str.ProcessWindowsFileProtection
mov dword [esp + 4], 0x409010
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_1
jmp 0x406a20
mov edx, dword [ebp - 0xa20]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov dword [esp + 8], edx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0xe9c]
call eax
sub esp, 0xc
mov edi, eax
test eax, eax
je 0x4068cb
lea eax, [ebp - 0xa20]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x818]
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 0x4068cd
mov eax, dword [ebp - 0xa20]
cmp eax, 3
jbe 0x4068cd
and eax, 0xfffffffe
cmp word [edi + eax - 2], 0
jne 0x4068cd
cmp word [edi + eax - 4], 0
jne 0x4068cd
mov esi, edi
movzx edx, word [esi]
test dx, dx
je 0x406d78
mov eax, esi
add eax, 2
cmp word [eax], 0
jne 0x406d03
lea ebx, [eax + 2]
cmp dx, 0x5c
je 0x408320
xor eax, eax
cmp word [ebx], 0x21
jne 0x406d29
add ebx, 2
mov eax, 1
cmp word [ebx], 0x5c
je 0x4082c2
cmp word [ebx], 0
jne 0x4082a9
mov dword [esp], esi
call dword [sym.imp.kernelbase.dll_RemoveDirectoryW]
push edx
test eax, eax
jne 0x406d63
mov eax, dword fs:[0x18]
cmp dword [eax + 0x34], 0x10b
jne 0x406d63
jmp 0x408b98
add ebx, 2
cmp word [ebx], 0
jne 0x406d60
lea esi, [ebx + 2]
mov eax, esi
sub eax, edi
cmp eax, dword [ebp - 0xa20]
jb 0x406cf9
mov eax, dword [ebp - 0x818]
mov dword [esp + 4], str.PendingFileRenameOperations
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegDeleteValueW]
push eax
push eax
jmp 0x4068cd
test eax, eax
je 0x406bef
jmp 0x406bea
mov eax, dword [ebp - 0xeb4]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_FindClose]
push ebx
mov ebx, dword [ebp - 0xeb8]
mov eax, dword fs:[0x18]
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0xeb0]
call eax
mov ecx, 1
mov edx, str.RunServicesOnce
mov eax, 0x80000002
sub esp, 0xc
mov dword [esp], 0
call sym._ProcessRunKeys
cmp dword [ebp - 0xea0], 0
jne 0x406e18
mov eax, dword [ebp - 0xe94]
xor eax, 1
test dword [ebp - 0xe90], eax
je 0x406eba
mov dword [esp], 0
xor ecx, ecx
mov edx, str.RunServices
mov eax, 0x80000002
lea edi, [ebp - 0x814]
call sym._ProcessRunKeys
xor eax, eax
mov ecx, 0x10
rep stosd dword es:[edi], eax
lea eax, [ebp - 0xa20]
mov dword [ebp - 0x818], 0x44
mov dword [esp + 0x24], eax
mov eax, dword [ebp - 0xe98]
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 0x4079a6
test byte [0x409010], 2
jne 0x4082df
mov eax, dword [ebp - 0xea0]
or eax, dword [ebp - 0xea4]
jne 0x407323
lea eax, [ebp - 0xc28]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0xeac]
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 0x4070d6
mov edi, dword [ebp - 0xe98]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov ebx, dword [0x417484]
mov dword [esp + 0x10], edi
mov dword [esp + 4], 0x801a
mov dword [esp], 0
call ebx
sub esp, 0x14
test eax, eax
js 0x406f72
mov eax, dword [ebp - 0xc28]
mov ecx, edi
mov edx, str.APPDATA
call sym._set_reg_value
mov eax, dword [ebp - 0xc28]
mov ecx, str.Console
mov edx, str.CLIENTNAME
call sym._set_reg_value
mov edi, dword [ebp - 0xe98]
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 0x406ffc
mov eax, dword [ebp - 0xc28]
mov ecx, edi
mov edx, str.USERPROFILE
call sym._set_reg_value
mov eax, dword [ebp - 0xc28]
lea ecx, [ebp - 0x814]
mov edx, str.HOMEPATH
call sym._set_reg_value
mov eax, dword [ebp - 0xc28]
mov ecx, edi
mov edx, str.HOMEDRIVE
mov word [ebp - 0x814], 0
call sym._set_reg_value
mov dword [ebp - 0xe30], 0x104
mov eax, dword [ebp - 0xe8c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xe98]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_GetUserNameW]
push edi
push edi
test eax, eax
jne 0x40800f
mov eax, dword [ebp - 0xc28]
mov ecx, 0x40a3fc
mov edx, str.HOMESHARE
call sym._set_reg_value
mov edi, dword [ebp - 0xe98]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 0x10], edi
mov dword [esp + 4], 0x801c
mov dword [esp], 0
call ebx
sub esp, 0x14
test eax, eax
js 0x407082
mov eax, dword [ebp - 0xc28]
mov ecx, edi
mov edx, str.LOCALAPPDATA
call sym._set_reg_value
mov eax, dword [ebp - 0xe8c]
lea ebx, [ebp - 0xa1c]
mov dword [ebp - 0xe30], 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 0x40802a
mov eax, dword [ebp - 0xc28]
mov ecx, str.Console
mov edx, str.SESSIONNAME
call sym._set_reg_value
mov eax, dword [ebp - 0xc28]
mov dword [esp], eax
mov eax, dword [ebp - 0xea8]
call eax
push ecx
mov eax, 0x80000002
mov ecx, 1
mov edx, str.RunOnce
mov dword [esp], 1
call sym._ProcessRunKeys
mov eax, dword [ebp - 0xea0]
or eax, dword [ebp - 0xe94]
je 0x407cb2
test byte [0x409010], 8
jne 0x407c89
mov eax, dword [ebp - 0xe7c]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_SetEvent]
mov dword [ebp - 0xe9c], 0
push edx
jmp 0x40574c
mov ecx, dword [ebp - 0xe98]
mov eax, dword [ebp - 0xe70]
mov edx, str.Identifier
call sym._set_reg_value
mov eax, dword [ebp - 0xe70]
mov dword [esp], eax
mov eax, dword [ebp - 0xea8]
call eax
push eax
jmp 0x405b5d
movzx eax, word [edi]
mov esi, edi
test ax, ax
je 0x4071f8
mov ebx, esi
cmp ax, 0x3b
je 0x4071d2
mov dword [esp + 4], 0x3d
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_wcschr]
test eax, eax
je 0x4071d2
mov word [eax], 0
lea ebx, [eax + 2]
mov dword [esp + 4], esi
mov dword [esp], 0x40aff8
call dword [sym.imp.kernelbase.dll_lstrcmpiW]
push edx
push edx
test eax, eax
jne 0x407291
test byte [0x409010], 8
jne 0x407b4f
mov dword [esp], ebx
call dword [sym.imp.kernelbase.dll_DeleteFileW]
push ecx
test eax, eax
jne 0x4071d2
test byte [0x409010], 4
jne 0x408349
cmp word [ebx], 0
mov eax, ebx
je 0x4071e9
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x4071e0
lea esi, [eax + 2]
movzx eax, word [esi]
test ax, ax
jne 0x40716a
cmp edi, dword [ebp - 0xe98]
je 0x407226
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0xeb0]
call eax
sub esp, 0xc
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 0x406841
test byte [0x409010], 2
je 0x406841
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], 0x409010
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
jmp 0x406841
test byte [0x409010], 8
jne 0x407b83
mov dword [esp + 8], 3
mov dword [esp + 4], esi
mov dword [esp], ebx
call dword [sym.imp.kernelbase.dll_MoveFileExW]
sub esp, 0xc
test eax, eax
jne 0x4071d2
test byte [0x409010], 4
je 0x4071d2
mov eax, esi
call sym._wine_dbgstr_wn.constprop.0_1
mov esi, eax
mov eax, ebx
call sym._wine_dbgstr_wn.constprop.0_1
mov dword [esp + 0x14], esi
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], 0x409010
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_1
jmp 0x4071d2
mov eax, dword [ebp - 0x818]
mov dword [esp], eax
mov eax, dword [ebp - 0xea8]
call eax
push esi
jmp 0x4063e3
mov ebx, dword [sym.imp.ucrtbase.dll__wgetenv]
mov dword [esp], str.WINECONFIGDIR
call ebx
mov dword [esp], str.WINEBUILDDIR
mov edi, eax
call ebx
mov esi, eax
test eax, eax
je 0x4087e5
cmp word [eax], 0
je 0x407356
add eax, 2
cmp word [eax], 0
jne 0x40734d
sub eax, esi
mov dword [esp + 4], 0
add eax, 0x22
mov dword [esp + 8], eax
mov edx, dword fs:[0x18]
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0xe9c]
call eax
mov dword [ebp - 0xe90], eax
sub esp, 0xc
mov ecx, eax
test eax, eax
je 0x40888b
xor eax, eax
movzx edx, word [esi + eax]
mov word [ecx + eax], dx
add eax, 2
test dx, dx
jne 0x407394
mov edx, dword [ebp - 0xe90]
cmp word [edx], 0
je 0x4088b2
add edx, 2
cmp word [edx], 0
jne 0x4073b4
xor eax, eax
movzx ecx, word [eax + str.loader]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x4073bf
mov eax, dword [ebp - 0xe90]
cmp word [eax], 0
je 0x4088a7
add eax, 2
cmp word [eax], 0
jne 0x4073e2
xor edx, edx
movzx ecx, word [edx + str.wine.inf]
mov word [eax + edx], cx
add edx, 2
test cx, cx
jne 0x4073ed
mov eax, dword [ebp - 0xe90]
mov word [eax + 2], 0x5c
mov dword [esp], eax
mov eax, dword [sym.imp.ucrtbase.dll__wopen]
mov dword [esp + 4], 0
mov dword [ebp - 0xeb4], eax
call eax
mov ebx, eax
cmp eax, 0xffffffff
je 0x408675
lea eax, [ebp - 0xc28]
mov dword [esp], ebx
mov dword [esp + 4], eax
call dword [sym.imp.ucrtbase.dll__fstat32]
mov eax, dword [sym.imp.ucrtbase.dll__close]
mov dword [esp], ebx
mov dword [ebp - 0xeb8], eax
call eax
mov ebx, dword [ebp - 0xc0c]
mov eax, edi
jmp 0x40745f
add eax, 2
cmp word [eax], 0
jne 0x40745c
sub eax, edi
mov dword [esp + 4], 0
add eax, 0x26
mov dword [esp + 8], eax
mov edx, dword fs:[0x18]
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0xe9c]
call eax
mov esi, eax
sub esp, 0xc
xor eax, eax
test esi, esi
je 0x407617
movzx edx, word [edi + eax]
mov word [esi + eax], dx
add eax, 2
test dx, dx
jne 0x40749d
mov eax, esi
movzx ecx, word [eax]
mov edx, eax
lea eax, [eax + 2]
test cx, cx
jne 0x4074af
xor eax, eax
movzx ecx, word [eax + str..update_timestamp]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x4074be
mov dword [esp + 4], 2
mov eax, dword [ebp - 0xeb4]
mov dword [esp], esi
call eax
mov edi, eax
cmp eax, 0xffffffff
je 0x408201
mov eax, dword [ebp - 0xe98]
mov dword [esp + 8], 0x63
mov dword [esp], edi
mov dword [esp + 4], eax
call dword [sym.imp.ucrtbase.dll__read]
test eax, eax
js 0x407563
mov byte [ebp + eax - 0x818], 0
mov eax, dword [ebp - 0xe98]
mov dword [esp + 8], 7
mov dword [esp + 4], str.disable
mov dword [esp], eax
call sym._strncmp
test eax, eax
je 0x4075e6
mov eax, dword [ebp - 0xe98]
mov dword [esp + 8], 0xa
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_strtoul]
cmp ebx, eax
je 0x4075e6
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll__lseek]
mov dword [esp + 4], 0
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll__chsize]
mov eax, dword [ebp - 0xe98]
mov dword [esp + 8], ebx
mov dword [esp + 4], str._lu_n
mov dword [esp], eax
call sym._sprintf.constprop.0
mov dword [esp], edi
mov ebx, eax
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xe98]
mov dword [esp + 4], eax
call dword [sym.imp.ucrtbase.dll__write]
cmp ebx, eax
je 0x408855
test byte [0x409010], 4
jne 0x4089b6
mov dword [esp + 4], 0
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll__chsize]
mov dword [esp], edi
mov eax, dword [ebp - 0xeb8]
call eax
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0xeb0]
call eax
sub esp, 0xc
cmp dword [ebp - 0xea4], 0
je 0x407975
mov eax, dword [ebp - 0xe8c]
mov dword [esp + 0x14], 0
mov dword [ebp - 0xe74], 0
mov dword [esp + 0xc], eax
lea eax, [ebp - 0xe74]
mov dword [esp + 0x10], 0x20
mov dword [esp + 8], 4
mov dword [esp + 4], eax
mov dword [esp], 0xb5
call dword [sym.imp.ntdll.dll_NtQuerySystemInformationEx]
sub esp, 0x18
test eax, eax
je 0x407678
mov dword [ebp - 0xe30], 0
mov eax, dword [ebp - 0xe90]
mov ecx, 1
mov edx, str.PreInstall
call sym._start_rundll32
mov dword [ebp - 0xe74], eax
test eax, eax
je 0x407798
call sym._prettyprint_configdir
mov dword [esp], 0
xor edi, edi
mov ebx, eax
call dword [sym.imp.kernelbase.dll_GetModuleHandleW]
push edx
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], sym._wait_dlgproc_16
mov dword [esp + 8], 0
mov dword [esp + 4], 0x65
mov dword [esp], eax
call dword [0x417550]
sub esp, 0x14
mov ebx, eax
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [0x41759c]
mov dword [ebp - 0xe9c], ebx
mov esi, dword [sym.imp.kernelbase.dll_CloseHandle]
push ecx
mov ebx, dword [ebp - 0xe98]
push ecx
lea eax, [ebp - 0xe74]
mov dword [esp + 0x10], 0x1cff
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], 1
call dword [0x417580]
sub esp, 0x14
test eax, eax
jne 0x4081cc
mov eax, dword [ebp - 0xe74]
mov dword [esp], eax
call esi
push eax
mov eax, dword [ebp + edi*4 - 0xe30]
test eax, eax
je 0x407788
test eax, 0x40000
je 0x40828b
mov eax, dword [ebp - 0xe90]
mov ecx, 1
mov edx, str.DefaultInstall
call sym._start_rundll32
mov dword [ebp - 0xe74], eax
add edi, 1
cmp dword [ebp - 0xe74], 0
jne 0x407701
mov ebx, dword [ebp - 0xe9c]
mov dword [esp], ebx
call dword [0x417554]
push ebx
xor eax, eax
lea edi, [ebp - 0x814]
mov ecx, 6
mov ebx, 0x40b998
rep stosd dword es:[edi], eax
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [ebp - 0x818], 0x1c
call sym._SetupDiCreateDeviceInfoList_8
mov dword [ebp - 0xe9c], eax
add eax, 1
push ecx
push ecx
je 0x408be2
mov eax, dword [ebp - 0xe98]
mov esi, dword [ebx]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0xe9c]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x412358
mov dword [esp + 4], esi
mov dword [esp], eax
call sym._SetupDiCreateDeviceInfoA_28
sub esp, 0x1c
test eax, eax
jne 0x40837d
mov eax, dword fs:[0x18]
cmp dword [eax + 0x34], 0xe0000207
je 0x407840
test byte [0x409010], 2
jne 0x408ba7
add ebx, 0xc
cmp ebx, str.install_root_pnp_devices
jne 0x4077db
mov eax, dword [ebp - 0xe9c]
mov dword [esp], eax
call sym._SetupDiDestroyDeviceInfoList_4
push edx
lea eax, [ebp - 0xe70]
mov dword [esp + 4], 0x20008
mov dword [esp + 8], eax
mov dword [esp], 0xffffffff
call dword [sym.imp.advapi32.dll_OpenProcessToken]
sub esp, 0xc
test eax, eax
je 0x40795b
lea eax, [ebp - 0xe68]
mov dword [esp + 0xc], 0x50
mov dword [esp + 0x10], eax
lea eax, [ebp - 0xa20]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xe70]
mov dword [ebp - 0xe68], 0x50
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_GetTokenInformation]
mov eax, dword [ebp - 0xe70]
sub esp, 0x14
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_CloseHandle]
push eax
lea eax, [ebp - 0xe6c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xa20]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_ConvertSidToStringSidW]
push eax
push eax
mov eax, dword [ebp - 0xebc]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0xeac]
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 0x408943
mov eax, dword [ebp - 0xe6c]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_LocalFree]
push eax
call sym._prettyprint_configdir
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 ebx, dword [ebp - 0xe90]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov dword [esp + 8], ebx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0xeb0]
call eax
sub esp, 0xc
jmp 0x406ecc
mov eax, dword [ebp - 0xa1c]
mov esi, dword [sym.imp.kernelbase.dll_CloseHandle]
mov dword [esp], eax
call esi
push eax
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 - 0xc28], eax
mov eax, dword [ebp - 0xa20]
sub esp, 0x10
mov dword [esp + 0xc], 0xffffffff
mov dword [ebp - 0xc24], eax
lea eax, [ebp - 0xc28]
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], 2
call dword [sym.imp.kernelbase.dll_WaitForMultipleObjects]
sub esp, 0x10
sub eax, 1
je 0x40856b
mov eax, dword [ebp - 0xa20]
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0xc28]
push ebx
mov dword [esp], eax
call esi
push esi
jmp 0x406eba
mov eax, dword [ebp - 0xe98]
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 - 0xe64]
mov dword [ebp - 0x818], 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 0x406931
mov eax, dword [ebp - 0x818]
mov dword [esp + 4], 0
lea edx, [eax + 2]
add eax, 8
mov dword [ebp - 0x818], edx
mov dword [esp + 8], eax
mov edx, dword fs:[0x18]
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0xe9c]
call eax
mov edi, dword [ebp - 0xe98]
sub esp, 0xc
mov dword [ebp - 0xeb8], eax
mov dword [esp + 0x14], edi
mov edi, eax
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xe64]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.SFCDllCacheDir
mov dword [esp], eax
call ebx
mov eax, edi
sub esp, 0x18
movzx edx, word [eax]
mov ecx, eax
lea eax, [eax + 2]
test dx, dx
jne 0x407b09
xor eax, eax
movzx edx, word [eax + 0x40b1c2]
mov word [ecx + eax], dx
add eax, 2
test dx, dx
jne 0x407b18
mov eax, dword [ebp - 0xe64]
mov dword [esp], eax
mov eax, dword [ebp - 0xea8]
call eax
cmp dword [ebp - 0xeb8], 0
push eax
jne 0x4069c1
jmp 0x406943
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], 0x409010
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x4071b7
mov eax, esi
call sym._wine_dbgstr_wn.constprop.0_1
mov dword [ebp - 0xeb4], eax
mov eax, ebx
call sym._wine_dbgstr_wn.constprop.0_1
mov edx, dword [ebp - 0xeb4]
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], 0x409010
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x40729e
mov eax, dword [ebp - 0x818]
mov dword [esp], eax
mov eax, dword [ebp - 0xea8]
call eax
push ebx
jmp 0x40643f
movzx eax, word [ebp - 0xe50]
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 - 0xe52]
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x818]
mov dword [esp], eax
mov dword [ebp - 0xe98], eax
call sym._swprintf
jmp 0x40593e
lea eax, [ebp - 0xc28]
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 - 0x818]
mov dword [ebp - 0xe98], eax
call sym._get_identifier.constprop.0
jmp 0x40593e
mov eax, dword [ebp - 0xeb4]
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._memset
jmp 0x405903
mov dword [esp + 0xc], str.Operation_done_n
mov dword [esp + 8], str.main
mov dword [esp + 4], 0x409010
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x407110
mov dword [esp], 0
xor ecx, ecx
mov edx, 0x40b73c
mov eax, 0x80000002
call sym._ProcessRunKeys
mov dword [esp], 0
xor ecx, ecx
mov edx, 0x40b73c
mov eax, 0x80000001
call sym._ProcessRunKeys
mov dword [ebp - 0xe68], 0
mov dword [ebp - 0xe64], 0
mov dword [ebp - 0xe60], 0
mov dword [ebp - 0xc28], 0
test byte [0x409010], 8
jne 0x4084b8
lea eax, [ebp - 0xe68]
mov dword [esp], eax
call dword [0x417480]
push edx
test eax, eax
js 0x408482
lea eax, [ebp - 0xe60]
mov dword [esp + 4], 7
mov dword [esp + 8], eax
mov dword [esp], 0
call dword [0x417488]
sub esp, 0xc
test eax, eax
js 0x40823b
mov edx, dword [ebp - 0xe68]
mov ebx, dword [ebp - 0xebc]
mov ecx, dword [ebp - 0xe60]
mov eax, dword [edx]
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0x410ae8
mov dword [esp + 8], 0
mov dword [esp + 4], ecx
mov dword [esp], edx
call dword [eax + 0x14]
sub esp, 0x14
test eax, eax
js 0x4085c6
mov eax, dword [ebp - 0xe64]
lea ebx, [ebp - 0xc28]
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 0x408afd
mov esi, dword [0x41749c]
mov edi, dword [0x417490]
jmp 0x407df4
test byte [0x409010], 8
jne 0x408416
mov eax, dword [ebp - 0xe54]
mov dword [esp], eax
call dword [0x41747c]
push eax
mov eax, dword [ebp - 0xc28]
mov ebx, dword [ebp - 0xe8c]
mov edx, dword [eax]
mov dword [esp + 0xc], ebx
lea ebx, [ebp - 0xe54]
mov dword [esp + 8], ebx
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 0x10
test eax, eax
jne 0x408248
cmp dword [ebp - 0xe30], 1
jne 0x408248
mov eax, dword [ebp - 0xe64]
mov ecx, dword [ebp - 0xe54]
lea ebx, [ebp - 0xa20]
mov edx, dword [eax]
mov dword [esp + 0xc], ebx
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 0x407dd7
mov eax, dword [ebp - 0xe98]
mov dword [esp + 0xc], 0x104
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xe54]
mov dword [esp + 4], eax
lea eax, [ebp - 0xa20]
mov dword [esp], eax
call esi
sub esp, 0x10
test eax, eax
jns 0x4084e1
test byte [0x409010], 8
je 0x407de4
mov dword [esp + 0xc], str.Unable_to_parse_display_name._n
mov dword [esp + 8], str.ProcessStartupItems
mov dword [esp + 4], 0x409010
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x407de4
movzx eax, word [ebp - 0xc24]
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 - 0xc26]
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xe98]
mov dword [esp], eax
call sym._swprintf
jmp 0x40658c
mov eax, edi
call sym._wine_dbgstr_wn.constprop.0_1
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.WFP:__s_error_0x_lx_n
mov dword [esp + 8], str.ProcessWindowsFileProtection
mov dword [esp + 4], 0x409010
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_1
jmp 0x406b31
mov dword [ebp - 0xe60], 1
lea edx, [ebp - 0xe2e]
mov eax, 0x103
mov word [ebp - 0xe30], 0x5c
jmp 0x406bcc
mov eax, dword fs:[0x18]
mov esi, dword [eax + 0x34]
mov eax, dword [ebp - 0xe98]
call sym._wine_dbgstr_wn.constprop.0_1
mov dword [esp + 0x14], esi
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], 0x409010
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
jmp 0x405e0a
mov ebx, dword [ebp - 0xeb4]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov dword [esp + 8], ebx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [sym.imp.kernelbase.dll_HeapFree]
mov dword [ebp - 0xeb0], eax
call eax
lea eax, [ebp - 0xe30]
mov dword [ebp - 0xe8c], eax
lea eax, [ebp - 0xe64]
sub esp, 0xc
mov dword [ebp - 0xebc], eax
mov eax, dword [sym.imp.advapi32.dll_RegCloseKey]
mov dword [ebp - 0xea8], eax
jmp 0x406387
mov ecx, dword [ebp - 0xe98]
mov eax, dword [ebp - 0xc28]
mov edx, str.USERNAME
call sym._set_reg_value
jmp 0x407029
mov eax, dword [ebp - 0xc28]
mov ecx, ebx
mov edx, str.USERDOMAIN
call sym._set_reg_value
mov eax, dword [ebp - 0xc28]
lea ecx, [ebp - 0xa20]
mov edx, str.LOGONSERVER
mov dword [ebp - 0xa20], 0x5c005c
call sym._set_reg_value
jmp 0x4070af
mov ebx, dword [ebp - 0xeb0]
mov eax, dword [ebp - 0xe8c]
mov dword [ebp - 0xe30], 0xff
mov dword [esp + 0x14], 4
mov dword [esp], ebx
mov ebx, dword [sym.imp.advapi32.dll_RegSetValueExW]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0
mov dword [esp + 4], str.BiosMajorRelease
call ebx
mov edx, dword [ebp - 0xeb0]
mov eax, dword [ebp - 0xe8c]
mov dword [ebp - 0xe30], 0xff
sub esp, 0x18
mov dword [esp], edx
mov dword [esp + 0x14], 4
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0
mov dword [esp + 4], str.BiosMinorRelease
call ebx
mov edx, dword [ebp - 0xeb0]
mov eax, dword [ebp - 0xe8c]
mov dword [ebp - 0xe30], 0xff
sub esp, 0x18
mov dword [esp], edx
mov dword [esp + 0x14], 4
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0
mov dword [esp + 4], str.ECFirmwareMajorVersion
call ebx
mov eax, dword [ebp - 0xe8c]
mov edx, dword [ebp - 0xeb0]
mov dword [ebp - 0xe30], 0xff
sub esp, 0x18
mov dword [esp + 0x14], 4
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0
mov dword [esp + 4], str.ECFirmwareMinorVersion
mov dword [esp], edx
call ebx
sub esp, 0x18
jmp 0x4061ff
mov eax, dword [ebp - 0xeb0]
mov dword [esp], esi
xor ecx, ecx
mov edx, str.SystemSKU
mov dword [esp + 8], edi
mov dword [esp + 4], eax
mov eax, ebx
call sym._set_value_from_smbios_string
mov eax, dword [ebp - 0xeb0]
mov dword [esp], esi
xor ecx, ecx
mov dword [esp + 8], edi
mov edx, str.SystemFamily
mov dword [esp + 4], eax
mov eax, ebx
call sym._set_value_from_smbios_string
jmp 0x4062f4
mov dword [esp], ebx
call dword [0x417558]
sub esp, 4
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 [0x417588]
sub esp, 0x14
test eax, eax
jne 0x4081c0
jmp 0x407701
call dword [sym.imp.ucrtbase.dll__errno]
cmp dword [eax], 2
jne 0x4075f1
mov dword [esp + 8], 0x1b6
mov eax, dword [ebp - 0xeb4]
mov dword [esp + 4], 0x301
mov dword [esp], esi
call eax
mov edi, eax
cmp eax, 0xffffffff
jne 0x40758d
jmp 0x4075f1
test byte [0x409010], 8
jne 0x408ad4
mov eax, dword [ebp - 0xc28]
test eax, eax
je 0x40825b
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
push esi
mov eax, dword [ebp - 0xe64]
test eax, eax
je 0x40826e
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
push ebx
mov eax, dword [ebp - 0xe60]
test eax, eax
je 0x407103
mov dword [esp], eax
call dword [0x41747c]
push ecx
jmp 0x407103
movzx ecx, ax
mov eax, dword [ebp - 0xe90]
mov edx, str.Wow64Install
call sym._start_rundll32
mov dword [ebp - 0xe74], eax
jmp 0x407778
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 0x406d63
cmp word [ebx + 2], 0x3f
jne 0x4082a9
cmp word [ebx + 4], 0x3f
jne 0x4082a9
cmp word [ebx + 6], 0x5c
jne 0x4082a9
add ebx, 8
jmp 0x406d33
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], 0x409010
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
jmp 0x406eba
mov eax, dword [ebp - 0xeb8]
jmp 0x4069f9
cmp word [esi + 2], 0x3f
jne 0x406d19
cmp word [esi + 4], 0x3f
jne 0x406d19
cmp word [esi + 6], 0x5c
jne 0x406d19
add esi, 8
jmp 0x406d19
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], 0x409010
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_1
jmp 0x4071d2
mov edi, dword [ebx + 4]
xor eax, eax
or ecx, 0xffffffff
mov dword [ebp - 0xea4], edi
mov edx, edi
repne scasb al, byte es:[edi]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 1
mov eax, ecx
neg eax
add eax, eax
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xe98]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xe9c]
mov dword [esp], eax
call sym._SetupDiSetDeviceRegistryPropertyA_20
sub esp, 0x14
test eax, eax
jne 0x4085fc
test byte [0x409010], 2
je 0x407840
mov eax, dword fs:[0x18]
mov edi, dword [eax + 0x34]
mov eax, esi
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], edi
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.install_root_pnp_devices
mov dword [esp + 4], 0x409010
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
jmp 0x407840
mov dword [esp + 0xc], str.Unable_to_get_display_name_of_enumeration_item._n
mov dword [esp + 8], str.ProcessStartupItems
mov dword [esp + 4], 0x409010
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x407de4
or ecx, 0xffffffff
xor eax, eax
mov edi, esi
repne scasb al, byte es:[edi]
not ecx
lea edx, [esi + ecx - 1]
jmp 0x4066e3
lea eax, [ebp - 0xa20]
mov dword [esp + 4], str.AuthenticAMD
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_wcscmp]
mov edx, str.AMD64
test eax, eax
mov eax, str.Intel64
mov ecx, edx
cmove eax, edx
mov ebx, eax
jmp 0x4064f5
test byte [0x409010], 2
je 0x408248
mov dword [esp + 0xc], str.Couldnt_get_desktop_folder._n
mov dword [esp + 8], str.ProcessStartupItems
mov dword [esp + 4], 0x409010
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
jmp 0x408248
mov dword [esp + 0xc], str.Processing_items_in_the_StartUp_folder._n
mov dword [esp + 8], str.ProcessStartupItems
mov dword [esp + 4], 0x409010
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x407d17
mov eax, dword [ebp - 0xe98]
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 edi
sub esp, 0x18
mov ebx, eax
cmp eax, 0x20
ja 0x407de4
test byte [0x409010], 4
je 0x407de4
mov eax, dword [ebp - 0xe98]
call sym._wine_dbgstr_wn.constprop.0_1
mov dword [esp + 0x10], ebx
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], 0x409010
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_1
jmp 0x407de4
mov eax, dword [ebp - 0xe8c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xa20]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_GetExitCodeProcess]
push edi
push edi
test byte [0x409010], 2
je 0x407a25
mov eax, dword [ebp - 0xe30]
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], 0x409010
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
jmp 0x407a25
test byte [0x409010], 8
je 0x408248
mov dword [esp + 0xc], str.Couldnt_bind_IShellFolder_to_StartUp_folder._n
mov dword [esp + 8], str.ProcessStartupItems
mov dword [esp + 4], 0x409010
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x408248
mov eax, dword [ebp - 0xe98]
mov dword [esp], 0x19
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xe9c]
mov dword [esp + 4], eax
call sym._SetupDiCallClassInstaller_12
sub esp, 0xc
test eax, eax
jne 0x4088bd
test byte [0x409010], 2
je 0x407840
mov eax, dword fs:[0x18]
mov edi, dword [eax + 0x34]
mov eax, esi
call sym._wine_dbgstr_an.constprop.0
mov dword [esp + 0xc], str.Failed_to_register_device__s__error__lx._n
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.install_root_pnp_devices
mov dword [esp + 4], 0x409010
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
jmp 0x407840
call dword [sym.imp.ucrtbase.dll__errno]
mov eax, dword [eax]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_strerror]
mov esi, eax
mov eax, dword [ebp - 0xe90]
call sym._wine_dbgstr_wn.constprop.0_1
mov ebx, eax
mov eax, edi
call sym._wine_dbgstr_wn.constprop.0_1
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov dword [esp], str.wine:_failed_to_update__s_with__s:__s_n
call sym._wine_dbg_printf
jmp 0x407975
lea eax, [ebp - 0xc28]
mov dword [esp + 8], 0
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0xe98]
mov dword [ebp - 0xc28], 0x100
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xe8c]
mov dword [esp + 4], str.ComputerName
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xe54]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
sub esp, 0x18
test eax, eax
je 0x408711
mov dword [ebp - 0xc28], 0
mov eax, dword [ebp - 0xe54]
mov dword [esp], eax
mov eax, dword [ebp - 0xea8]
call eax
cmp dword [ebp - 0xc28], 0
push esi
je 0x406774
lea eax, [ebp - 0xe54]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0xe60]
mov dword [esp + 0x18], 0
mov dword [esp], eax
mov eax, dword [ebp - 0xeac]
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 0x406774
mov eax, dword [ebp - 0xc28]
mov dword [esp + 8], 0
mov dword [esp + 4], str.ComputerName
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0xe98]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xe30]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xe54]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegSetValueExW]
mov eax, dword [ebp - 0xe54]
sub esp, 0x18
mov dword [esp], eax
mov eax, dword [ebp - 0xea8]
call eax
push ebx
jmp 0x406774
mov dword [esp], str.WINEDATADIR
call ebx
mov ebx, eax
test eax, eax
jne 0x4087fc
jmp 0x40888b
add eax, 2
cmp word [eax], 0
jne 0x4087f9
sub eax, ebx
mov dword [esp + 4], 0
add eax, 0x14
mov dword [esp + 8], eax
mov edx, dword fs:[0x18]
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0xe9c]
call eax
mov dword [ebp - 0xe90], eax
sub esp, 0xc
test eax, eax
je 0x40888b
xor eax, eax
movzx edx, word [ebx + eax]
mov esi, dword [ebp - 0xe90]
mov word [esi + eax], dx
add eax, 2
test dx, dx
jne 0x40883a
jmp 0x4073d2
mov dword [esp], edi
mov eax, dword [ebp - 0xeb8]
call eax
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0xeb0]
call eax
sub esp, 0xc
jmp 0x407624
mov eax, edi
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 0x406ecc
mov eax, dword [ebp - 0xe90]
jmp 0x4073eb
mov edx, dword [ebp - 0xe90]
jmp 0x4073bd
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov eax, dword [ebx + 8]
mov dword [esp], 0
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xea4]
mov dword [esp + 4], eax
call sym._UpdateDriverForPlugAndPlayDevicesA_20
sub esp, 0x14
test eax, eax
jne 0x407840
test byte [0x409010], 2
je 0x407840
mov eax, dword fs:[0x18]
mov edi, dword [eax + 0x34]
mov eax, esi
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], edi
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.install_root_pnp_devices
mov dword [esp + 4], 0x409010
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
jmp 0x407840
lea eax, [ebp - 0xe60]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0xe6c]
mov dword [esp + 0x18], 0
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xe64]
mov dword [esp + 0x14], 0xf003f
mov dword [esp], eax
mov eax, dword [ebp - 0xeac]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
call eax
sub esp, 0x24
test eax, eax
je 0x4089ea
mov eax, dword [ebp - 0xe64]
mov dword [esp], eax
mov eax, dword [ebp - 0xea8]
call eax
push eax
jmp 0x40794b
mov eax, esi
call sym._wine_dbgstr_wn.constprop.0_1
mov dword [esp + 0xc], str.failed_to_update_timestamp_in__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.update_timestamp
mov dword [esp + 4], 0x409010
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_1
jmp 0x4075d5
mov eax, dword [ebp - 0xe98]
mov dword [esp + 0xc], 1
mov dword [ebp - 0xe54], 0
mov dword [esp + 8], 0x28
mov dword [esp + 4], eax
mov dword [esp], 0
call dword [0x41748c]
sub esp, 0x10
test eax, eax
jne 0x408b7d
lea eax, [ebp - 0xe54]
mov dword [esp + 0x14], 4
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xe60]
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 - 0xe60]
sub esp, 0x18
mov dword [esp], eax
mov eax, dword [ebp - 0xea8]
call eax
push eax
jmp 0x40899f
test byte [0x409010], 8
jne 0x408c25
mov eax, dword [ebp - 0xc28]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_WaitForSingleObject]
lea eax, [ebp - 0xe30]
push ebx
push ebx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc28]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_GetExitCodeProcess]
mov eax, dword [ebp - 0xe30]
push esi
push esi
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_ExitProcess]
mov eax, dword [ebp - 0xe98]
jmp 0x406548
mov dword [esp + 0xc], str.Couldnt_get_StartUp_folder_location._n
mov dword [esp + 8], str.ProcessStartupItems
mov dword [esp + 4], 0x409010
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x408248
test byte [0x409010], 8
je 0x408248
mov dword [esp + 0xc], str.Unable_to_enumerate_StartUp_objects._n
mov dword [esp + 8], str.ProcessStartupItems
mov dword [esp + 4], 0x409010
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x408248
lea eax, [ebp - 0x818]
mov dword [ebp - 0xe98], eax
lea eax, [ebp - 0xe30]
mov dword [ebp - 0xe8c], eax
mov eax, dword [sym.imp.advapi32.dll_RegCreateKeyExW]
mov dword [ebp - 0xeac], eax
mov eax, dword [sym.imp.kernelbase.dll_HeapFree]
mov dword [ebp - 0xeb0], eax
lea eax, [ebp - 0xe64]
mov dword [ebp - 0xebc], eax
mov eax, dword [sym.imp.advapi32.dll_RegCloseKey]
mov dword [ebp - 0xea8], eax
jmp 0x406387
mov ecx, dword [ebp - 0xe98]
mov eax, dword [ebp - 0xe60]
mov edx, str.ProfileImagePath
call sym._set_reg_value
jmp 0x408a26
mov dword [esp], esi
call dword [sym.imp.kernelbase.dll_DeleteFileW]
push eax
jmp 0x406d63
mov edi, dword [eax + 0x34]
mov eax, esi
call sym._wine_dbgstr_an.constprop.0
mov dword [esp + 0xc], str.Failed_to_create_device__s__error__lx._n
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.install_root_pnp_devices
mov dword [esp + 4], 0x409010
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
jmp 0x407840
test byte [0x409010], 2
je 0x40785a
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], 0x409010
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
jmp 0x40785a
mov eax, dword [ebp - 0xe98]
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], 0x409010
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x408a86