Function at 0x4061e0
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
Generate random numbers via rtlgenrandom
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
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 dword [ebp - 0xe8c], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0xe90], eax
call sym.___main
mov dword [esp + 4], 0x104
mov dword [ebp - 0xe68], 0
mov dword [ebp - 0xe64], 0
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 0x40625a
test byte [0x40a160], 2
jne 0x4075ca
lea eax, [ebp - 0xe84]
mov dword [esp], 0xffffffff
mov dword [esp + 4], eax
call dword [sym.imp.kernelbase.dll_IsWow64Process]
sub esp, 8
test eax, eax
je 0x406285
cmp dword [ebp - 0xe84], 0
jne 0x40760e
cmp dword [ebp - 0xe8c], 1
jle 0x406581
mov dword [ebp - 0xea0], 0
xor ebx, ebx
mov edx, 1
mov dword [ebp - 0xe98], 0
mov dword [ebp - 0xea4], 0
mov dword [ebp - 0xe94], 0
mov dword [ebp - 0xe9c], 0
mov dword [ebp - 0xea8], 0
jmp 0x4063d9
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.0x40641f.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 0x406500
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 0x406510
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 0x40651f
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 0x40652e
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 0x40653d
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 0x406572
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.0x40641f.2
mov dword [ebp - 0xea0], 1
lea esi, [esi]
inc edx
cmp dword [ebp - 0xe8c], edx
je 0x406455
mov eax, dword [ebp - 0xe90]
mov eax, dword [eax + edx*4]
cmp byte [eax], 0x2d
jne 0x4063d0
movzx ecx, byte [eax + 1]
cmp cl, 0x2d
je 0x4062e0
add eax, 2
test cl, cl
je 0x4063d0
mov esi, dword [ebp - 0xea4]
mov edi, dword [ebp - 0xea0]
lea esi, [esi]
nop
sub ecx, 0x65
cmp cl, 0x10
ja case.0x40641f.2
movzx ecx, cl
jmp dword [ecx*4 + 0x40cb98]
mov edi, 1
lea esi, [esi]
movzx ecx, byte [eax]
inc eax
test cl, cl
jne 0x406410
mov dword [ebp - 0xea4], esi
inc edx
mov dword [ebp - 0xea0], edi
cmp dword [ebp - 0xe8c], edx
jne 0x4063d9
test ebx, ebx
je 0x40654c
mov eax, dword [ebp - 0xea8]
cmp dword [ebp - 0xe94], 0
mov dword [esp], eax
je 0x4075a7
call sym._shutdown_all_desktops
test eax, eax
je 0x406564
mov eax, dword [ebp - 0xe98]
mov dword [esp], eax
call sym._kill_processes
jmp 0x406559
mov dword [ebp - 0xe98], 1
jmp 0x406438
mov dword [ebp - 0xe94], 1
jmp 0x406438
mov esi, 1
jmp 0x406438
mov ebx, 1
jmp 0x406438
mov dword [ebp - 0xe9c], 1
jmp 0x406438
mov dword [ebp - 0xea8], 1
jmp 0x406438
mov ebx, 1
jmp 0x4063d0
mov dword [ebp - 0xea8], 1
jmp 0x4063d0
mov dword [ebp - 0xe9c], 1
jmp 0x4063d0
mov dword [ebp - 0xe94], 1
jmp 0x4063d0
mov dword [ebp - 0xea4], 1
jmp 0x4063d0
cmp dword [ebp - 0xe94], 0
jne 0x406480
xor ebx, ebx
cmp dword [ebp - 0xe98], 0
je 0x4065a9
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 - 0xe98], 1
jmp 0x4063d0
mov dword [ebp - 0xe94], 0
mov dword [ebp - 0xe9c], 0
mov dword [ebp - 0xea4], 0
mov dword [ebp - 0xea0], 0
lea eax, [ebp - 0xe5c]
mov dword [ebp - 0xe48], 0x18
mov dword [ebp - 0xe40], eax
mov dword [esp], eax
mov dword [ebp - 0xe44], 0
mov dword [ebp - 0xe3c], 0x82
mov dword [ebp - 0xe38], 0
mov dword [ebp - 0xe34], 0
mov dword [esp + 4], str.KernelObjects__wineboot_event
call dword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea eax, [ebp - 0xe48]
push ebx
push ebx
mov dword [esp + 8], eax
lea eax, [ebp - 0xe88]
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 - 0xe88]
sub esp, 0x14
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_ResetEvent]
lea eax, [ebp - 0xe68]
push esi
call sym._create_user_shared_data
xor ecx, ecx
mov esi, dword [ebp - 0xe68]
mov edi, dword [ebp - 0xe64]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
imul eax, dword [eax + 0x64], 0x18
mov dword [ebp - 0xe8c], eax
mov eax, 0x80000000
cpuid
mov dword [ebp - 0x818], eax
mov dword [ebp - 0x814], ebx
mov dword [ebp - 0x810], ecx
mov dword [ebp - 0x80c], edx
cmp eax, 0x80000003
ja 0x408e5f
lea eax, [ebp - 0xa20]
mov dword [ebp - 0xe90], eax
lea eax, [ebp - 0x818]
mov dword [ebp - 0xe98], eax
cmp word [ebp - 0xa20], 0
mov eax, dword [ebp - 0xe90]
je 0x4066f3
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x4066c0
mov ecx, dword [ebp - 0xe90]
mov ebx, eax
sub ebx, ecx
mov edx, ebx
sar edx, 1
dec edx
js 0x4066f3
mov edx, ecx
jmp 0x4066ec
xor ecx, ecx
sub eax, 2
mov word [eax], cx
cmp edx, eax
je 0x4066f3
cmp word [eax - 2], 0x20
je 0x4066e0
lea eax, [ebp - 0xc28]
call sym._get_vendorid
lea eax, [ebp - 0xe54]
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 - 0xec4], eax
call eax
mov ebx, dword [ebp - 0xe8c]
sub esp, 0x10
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 - 0xeb4], eax
call eax
mov dword [ebp - 0xec0], eax
sub esp, 0xc
test eax, eax
je 0x409a29
mov eax, dword [ebp - 0xe8c]
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xec0]
mov dword [esp], 0xb
mov dword [esp + 0xc], eax
call dword [sym.imp.ntdll.dll_NtPowerInformation]
sub esp, 0x14
test eax, eax
jne 0x408f92
movzx eax, word [ebp - 0xe54]
cmp ax, 9
je 0x408f5c
cmp ax, 0xc
je 0x408f19
cmp ax, 5
je 0x408f19
mov eax, dword [ebp - 0xe98]
mov edx, 0x40bafc
call sym._get_identifier.constprop.0
lea eax, [ebp - 0xe78]
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 - 0xeb0], eax
call eax
sub esp, 0x24
test eax, eax
jne 0x40903e
movzx edx, word [ebp - 0xe54]
mov eax, dword [ebp - 0xe78]
cmp dx, 5
je 0x4076ed
cmp dx, 0xc
je 0x4076ed
mov ecx, str.AT_compatible
mov edx, str.Identifier
call sym._set_reg_value.isra.0
movzx eax, word [ebp - 0xe54]
cmp ax, 5
je 0x407701
cmp ax, 0xc
je 0x407701
lea eax, [ebp - 0xe70]
mov dword [esp + 0x20], 0
mov dword [ebp - 0xebc], eax
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0xe78]
mov dword [esp + 0x18], 0
mov dword [esp], eax
mov eax, dword [ebp - 0xeb0]
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 0x40770d
lea eax, [ebp - 0xe74]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0xe78]
mov dword [esp + 0x18], 0
mov dword [esp], eax
mov eax, dword [ebp - 0xeb0]
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 0x406953
mov dword [ebp - 0xe74], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
cmp dword [eax + 0x64], 0
je 0x4096f2
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 - 0xea8], eax
mov eax, dword [ebp - 0xec0]
lea esi, [eax + 4]
lea eax, [ebp - 0xe30]
mov dword [ebp - 0xe8c], eax
mov eax, dword [sym.imp.advapi32.dll_RegCloseKey]
mov dword [ebp - 0xeac], eax
mov eax, dword [ebp - 0xe8c]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x40bd50
mov dword [esp + 4], 0xa
mov dword [esp], eax
call sym._swprintf
mov eax, dword [ebp - 0xe8c]
lea edx, [ebp - 0xe7c]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], edx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xe74]
mov dword [esp + 0x18], 0
mov dword [esp], eax
mov eax, dword [ebp - 0xeb0]
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 0x406bd8
mov eax, dword [ebp - 0xea8]
mov dword [ebp - 0xe6c], eax
test eax, eax
jne 0x406a4a
mov eax, dword [esi]
mov dword [ebp - 0xe6c], eax
lea eax, [ebp - 0xe4c]
mov dword [esp + 0x14], 4
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xe7c]
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 - 0xe7c]
mov eax, dword [ebp - 0xe98]
sub esp, 0x18
cmp word [ebp - 0x818], 0
je 0x406aa9
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x406aa0
mov ecx, dword [ebp - 0xe98]
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
mov edx, dword [ebp - 0xe7c]
mov eax, dword [ebp - 0xe90]
sub esp, 0x18
cmp word [ebp - 0xa20], 0
je 0x406b01
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x406af8
mov ecx, dword [ebp - 0xe90]
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.ProcessorNameString
call edi
mov edx, dword [ebp - 0xe7c]
lea eax, [ebp - 0xc28]
sub esp, 0x18
cmp word [ebp - 0xc28], 0
je 0x406b59
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x406b50
lea ecx, [ebp - 0xc28]
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 - 0xe6c]
sub esp, 0x18
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xe7c]
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 - 0xe7c]
sub esp, 0x18
mov dword [esp], eax
mov eax, dword [ebp - 0xeac]
call eax
sub esp, 4
movzx eax, word [ebp - 0xe54]
cmp ax, 5
je 0x406c4b
cmp ax, 0xc
je 0x406c4b
lea eax, [ebp - 0xe7c]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0xe8c]
mov dword [esp + 0x18], 0
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xe70]
mov dword [esp + 0x14], 0xf003f
mov dword [esp], eax
mov eax, dword [ebp - 0xeb0]
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
call eax
sub esp, 0x24
test eax, eax
je 0x4083bc
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
inc ebx
add esi, 0x18
cmp ebx, dword [eax + 0x64]
jb 0x4069b0
mov eax, dword [ebp - 0xe8c]
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0xe78]
mov dword [esp + 0x14], 0xf003f
mov dword [esp], eax
mov eax, dword [ebp - 0xeb0]
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 - 0xeb8], ebx
test eax, eax
jne 0x407008
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 + 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 - 0xeb4]
call eax
sub esp, 0xc
mov ebx, eax
test eax, eax
je 0x406fcb
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 - 0xe30]
sub esp, 0x10
mov ecx, esi
mov dword [ebp - 0xea8], eax
mov eax, 2
call sym._find_smbios_entry
mov edi, eax
test eax, eax
je 0x406dde
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 - 0xea8]
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 [edi + 5]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov eax, dword [ebp - 0xea8]
mov dword [esp + 4], edx
mov edx, str.BaseBoardProduct
call sym._set_value_from_smbios_string
mov edx, dword [ebp - 0xeb8]
movzx ecx, byte [edi + 6]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov eax, dword [ebp - 0xea8]
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 - 0xe30]
call sym._find_smbios_entry
mov ecx, eax
test eax, eax
je 0x406eda
mov edx, eax
movzx eax, byte [eax + 1]
mov dword [ebp - 0xea8], 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 - 0xeb8], eax
mov eax, edi
call sym._set_value_from_smbios_string
mov eax, dword [ebp - 0xeb8]
mov ecx, dword [ebp - 0xea8]
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 - 0xeb8]
mov ecx, dword [ebp - 0xea8]
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 - 0xea8]
cmp byte [ecx + 1], 0x17
jbe 0x409173
movzx ecx, byte [ecx + 0x14]
mov edx, str.BiosMajorRelease
mov eax, edi
call sym._set_reg_value_dword.isra.0
mov ecx, dword [ebp - 0xea8]
mov edx, str.BiosMinorRelease
mov eax, edi
movzx ecx, byte [ecx + 0x15]
call sym._set_reg_value_dword.isra.0
mov ecx, dword [ebp - 0xea8]
mov edx, str.ECFirmwareMajorVersion
mov eax, edi
movzx ecx, byte [ecx + 0x16]
call sym._set_reg_value_dword.isra.0
mov ecx, dword [ebp - 0xea8]
mov edx, str.ECFirmwareMinorVersion
mov eax, edi
movzx ecx, byte [ecx + 0x17]
call sym._set_reg_value_dword.isra.0
mov eax, dword [ebp - 0xe30]
mov ecx, esi
mov edx, ebx
mov dword [ebp - 0xea8], eax
mov eax, 1
call sym._find_smbios_entry
mov edi, eax
test eax, eax
je 0x406fcb
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 - 0xea8]
mov dword [esp + 4], edx
mov dword [ebp - 0xeb8], edx
mov edx, str.SystemManufacturer
call sym._set_value_from_smbios_string
mov edx, dword [ebp - 0xeb8]
movzx ecx, byte [edi + 5]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov eax, dword [ebp - 0xea8]
mov dword [esp + 4], edx
mov edx, str.SystemProductName
call sym._set_value_from_smbios_string
mov edx, dword [ebp - 0xeb8]
movzx ecx, byte [edi + 6]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov eax, dword [ebp - 0xea8]
mov dword [esp + 4], edx
mov edx, str.SystemVersion
call sym._set_value_from_smbios_string
cmp byte [edi + 1], 0x1a
jbe 0x40912e
mov edx, dword [ebp - 0xeb8]
movzx ecx, byte [edi + 0x19]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov eax, dword [ebp - 0xea8]
mov dword [esp + 4], edx
mov edx, str.SystemSKU
call sym._set_value_from_smbios_string
mov edx, dword [ebp - 0xeb8]
movzx ecx, byte [edi + 0x1a]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov eax, dword [ebp - 0xea8]
mov dword [esp + 4], edx
mov edx, str.SystemFamily
call sym._set_value_from_smbios_string
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_HeapFree]
mov dword [ebp - 0xeb8], eax
call eax
mov eax, dword [ebp - 0xe30]
sub esp, 0xc
mov dword [esp], eax
mov eax, dword [ebp - 0xeac]
call eax
push ecx
mov eax, dword [ebp - 0xe70]
mov ebx, dword [ebp - 0xeac]
mov dword [esp], eax
call ebx
push eax
mov eax, dword [ebp - 0xe74]
mov dword [esp], eax
call ebx
push eax
mov eax, dword [ebp - 0xe78]
mov dword [esp], eax
call ebx
mov ebx, dword [ebp - 0xec0]
push edx
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 - 0xeb8]
call eax
sub esp, 0xc
mov eax, dword [ebp - 0xe90]
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0xeb0]
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 0x408d0d
mov eax, dword [ebp - 0xe90]
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0xeb0]
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 0x407350
mov esi, dword [sym.imp.advapi32.dll_RegSetValueExW]
mov ebx, str.C29A23D0
mov edi, 0x40a7da
mov eax, dword [ebp - 0xe98]
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0xa20]
mov dword [esp + 0x14], 0x20006
mov dword [esp], eax
mov eax, dword [ebp - 0xeb0]
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 0x407330
lea edx, [ebx + 0x12]
cmp word [ebx + 0x12], 0
mov ecx, dword [ebp - 0x818]
mov eax, edx
je 0x4071a1
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x407198
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 - 0x818]
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 - 0x818]
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 - 0x818]
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 - 0x818]
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 - 0x818]
mov dword [esp + 0x14], 4
mov dword [esp + 0xc], 3
mov dword [esp + 8], 0
mov dword [esp + 4], 0x415448
mov dword [esp], eax
call esi
lea eax, [ebx + 0xae]
sub esp, 0x18
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x818]
mov dword [esp + 0x14], 4
mov dword [esp + 0xc], 3
mov dword [esp + 8], 0
mov dword [esp + 4], 0x415398
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x818]
sub esp, 0x18
mov dword [esp], eax
mov eax, dword [ebp - 0xeac]
call eax
push eax
add ebx, 0xb2
cmp edi, ebx
jne 0x407126
mov eax, dword [ebp - 0xa20]
mov dword [esp], eax
mov eax, dword [ebp - 0xeac]
call eax
push eax
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 0x4074fa
mov eax, dword [ebp - 0xe90]
call sym._get_vendorid
lea eax, [ebp - 0xc28]
mov dword [esp + 0xc], 0
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xec4]
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], 0x40bd50
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.isra.0
cmp word [ebp - 0xc28], 9
je 0x4092a9
mov ebx, 0x40bafc
mov ecx, ebx
mov eax, dword [ebp - 0xe30]
mov edx, str.PROCESSOR_ARCHITECTURE
call sym._set_reg_value.isra.0
movzx eax, word [ebp - 0xc28]
cmp ax, 5
je 0x408ffb
cmp ax, 0xc
je 0x408ffb
mov edx, ebx
mov ebx, dword [ebp - 0xe98]
mov eax, ebx
call sym._get_identifier.constprop.0
mov dword [esp + 4], 0x40c0e6
mov dword [esp], ebx
call sym._lstrcatW_8
mov eax, dword [ebp - 0xe90]
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 - 0xe98]
mov eax, dword [ebp - 0xe30]
mov edx, 0x40c0ec
mov ecx, ebx
call sym._set_reg_value.isra.0
movzx eax, word [ebp - 0xc26]
mov dword [esp + 8], 0x40bd50
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.isra.0
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.isra.0
mov eax, dword [ebp - 0xe30]
mov dword [esp], eax
mov eax, dword [ebp - 0xeac]
call eax
push ecx
mov edi, dword [ebp - 0xe90]
xor eax, eax
mov ecx, 8
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 esi, dword [sym.imp.advapi32.dll_RegOpenKeyW]
push edx
mov dword [ebp - 0xec0], esi
push edx
test eax, eax
jne 0x4077e4
mov eax, dword [ebp - 0xebc]
mov edi, dword [ebp - 0xe90]
mov dword [esp + 4], 0
mov dword [esp], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 8], edi
mov dword [ebp - 0xa20], 2
call sym._getaddrinfo_16
sub esp, 0x10
test eax, eax
jne 0x40771c
mov eax, dword [ebp - 0xe70]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x40771c
mov dword [esp + 4], str.localhost
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll__stricmp]
test eax, eax
je 0x40771c
mov eax, dword [ebp - 0xe70]
mov ebx, dword [eax + 0x14]
jmp 0x407722
call sym._shutdown_close_windows
test eax, eax
jne 0x406559
jmp 0x406564
mov eax, 1
call sym._usage
xor eax, eax
call sym._usage
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 0x40625a
lea edx, [ebp - 0xa1c]
xor eax, eax
mov ecx, 0x10
mov edi, edx
lea ebx, [ebp - 0x818]
lea esi, [ebp - 0xa20]
rep stosd dword es:[edi], eax
mov dword [ebp - 0xe98], ebx
mov dword [ebp - 0xa20], 0x44
mov dword [esp + 4], 0x104
mov dword [esp], ebx
call dword [sym.imp.kernelbase.dll_GetSystemDirectoryW]
push eax
push eax
mov dword [esp + 4], str.wineboot.exe
mov dword [esp], ebx
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], ebx
call dword [sym.imp.kernelbase.dll_CreateProcessW]
sub esp, 0x28
test eax, eax
jne 0x4099d9
test byte [0x40a160], 2
jne 0x409097
mov eax, dword [ebp - 0xe48]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_Wow64RevertWow64FsRedirection]
push edi
jmp 0x406285
mov ecx, str.ARM_processor_family
mov edx, str.Identifier
call sym._set_reg_value.isra.0
jmp 0x406870
lea eax, [ebp - 0xe70]
mov dword [ebp - 0xebc], eax
mov dword [ebp - 0xe70], 0
jmp 0x4068ef
mov ebx, dword [ebp - 0xe98]
mov dword [esp + 4], 0x2e
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_strchr]
test eax, eax
je 0x4093e8
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 - 0xe98]
je 0x40777c
mov eax, dword [ebp - 0xe70]
mov dword [esp], eax
call sym._freeaddrinfo_4
push edi
lea ebx, [ebp - 0xe6c]
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 - 0xec0], ebx
call ebx
sub esp, 0xc
test eax, eax
jne 0x4077e4
lea eax, [ebp - 0xe54]
mov dword [esp + 4], str.ComputerName
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xe6c]
mov dword [esp], eax
call ebx
sub esp, 0xc
test eax, eax
je 0x40951e
mov eax, dword [ebp - 0xe6c]
mov dword [esp], eax
mov eax, dword [ebp - 0xeac]
call eax
push ecx
mov eax, dword fs:[0x18]
mov edi, dword [ebp - 0xe98]
mov dword [ebp - 0xea8], eax
mov esi, 0x400
jmp 0x407871
lea ebx, [esi - 2]
cmp eax, ebx
jb 0x4083e9
cmp edi, dword [ebp - 0xe98]
je 0x407839
mov eax, dword [ebp - 0xea8]
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 - 0xeb8]
call eax
sub esp, 0xc
mov eax, dword [ebp - 0xea8]
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 - 0xeb4]
call eax
sub esp, 0xc
mov edi, eax
test eax, eax
je 0x407899
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 0x407800
mov eax, dword [ebp - 0xe98]
mov dword [esp + 0xc], 0xf003f
mov dword [ebp - 0xa20], 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 - 0xec4], eax
call eax
sub esp, 0x14
test eax, eax
jne 0x407964
mov eax, dword [ebp - 0xe90]
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 - 0x818]
mov dword [esp + 8], 0
mov dword [esp + 4], str.PendingFileRenameOperations
mov dword [esp], eax
call ebx
sub esp, 0x18
test eax, eax
je 0x407c6e
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 - 0xeb8]
call eax
mov eax, dword [ebp - 0x818]
sub esp, 0xc
mov dword [esp], eax
mov eax, dword [ebp - 0xeac]
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 0x408d24
mov eax, dword [ebp - 0xe70]
mov dword [esp], eax
mov eax, dword [ebp - 0xeac]
call eax
push eax
mov ebx, dword [sym.imp.kernelbase.dll_GetSystemDirectoryW]
mov dword [esp + 4], 0
mov dword [esp], 0
call ebx
push edi
mov esi, 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 - 0xeb4]
call eax
sub esp, 0xc
mov edi, eax
mov dword [esp + 4], esi
mov dword [esp], eax
call ebx
push eax
push eax
mov dword [esp + 4], 0x40c408
mov dword [esp], edi
call sym._lstrcatW_8
push eax
push eax
mov eax, dword [ebp - 0xe98]
mov dword [esp], edi
mov dword [esp + 4], eax
call dword [sym.imp.kernelbase.dll_FindFirstFileW]
push esi
push esi
cmp word [edi], 0
mov dword [ebp - 0xea8], eax
mov eax, edi
je 0x407a39
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x407a30
cmp dword [ebp - 0xea8], 0xffffffff
mov word [eax - 4], 0
je 0x407dc0
mov dword [ebp - 0xeb4], edi
mov esi, dword [sym.imp.ucrtbase.dll_wcscmp]
lea ebx, [ebp - 0x7ec]
mov edi, dword [ebp - 0xe8c]
jmp 0x407a94
mov eax, dword [ebp - 0xe98]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xea8]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_FindNextFileW]
sub esp, 8
test eax, eax
je 0x407dba
mov dword [esp + 4], 0x40c440
mov dword [esp], ebx
call esi
test eax, eax
je 0x407a70
mov dword [esp + 4], 0x40c444
mov dword [esp], ebx
call esi
test eax, eax
je 0x407a70
lea eax, [ebp - 0xe54]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], eax
lea eax, [ebp - 0xe6c]
mov dword [esp + 0x14], eax
lea eax, [ebp - 0xc28]
mov dword [ebp - 0xe6c], 0x104
mov dword [ebp - 0xe54], 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 - 0xe6c]
mov dword [ebp - 0xe6c], 0x104
sub esp, 0x20
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0xe90]
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], eax
lea eax, [ebp - 0xc28]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0xeb4]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
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 - 0xec0], eax
test edx, edx
je 0x407b92
test byte [0x40a160], 4
jne 0x408fb7
mov eax, dword [ebp - 0xe90]
mov dword [esp], eax
mov eax, dword [sym.imp.kernelbase.dll_DeleteFileW]
mov dword [ebp - 0xec0], eax
call eax
push ecx
mov eax, dword [ebp - 0xeb4]
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 - 0xe30], 0
je 0x407bc9
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x407bc0
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 - 0xe30], 0x5c
lea ecx, [edx + 1]
mov edx, 0x104
sub edx, ecx
mov dword [ebp - 0xe6c], ecx
mov dword [esp + 8], edx
call sym._lstrcpynW_12
mov eax, dword [ebp - 0xec0]
sub esp, 0xc
mov dword [esp], edi
call eax
push edx
test eax, eax
jne 0x407a70
test byte [0x40a160], 4
je 0x407a70
mov eax, dword fs:[0x18]
mov edx, dword [eax + 0x34]
mov eax, edi
mov dword [ebp - 0xec0], edx
call sym._wine_dbgstr_wn.constprop.0_1
mov edx, dword [ebp - 0xec0]
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 0x407a70
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 - 0xeb4]
call eax
sub esp, 0xc
mov edi, eax
test eax, eax
je 0x40792a
mov eax, dword [ebp - 0xe90]
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x818]
mov dword [esp + 8], 0
mov dword [esp + 4], str.PendingFileRenameOperations
mov dword [esp], eax
call ebx
sub esp, 0x18
test eax, eax
jne 0x40792c
mov eax, dword [ebp - 0xa20]
cmp eax, 3
jbe 0x40792c
and eax, 0xfffffffe
cmp word [edi + eax - 2], 0
jne 0x40792c
cmp word [edi + eax - 4], 0
jne 0x40792c
mov esi, edi
movzx edx, word [esi]
test dx, dx
je 0x407d9c
mov eax, esi
add eax, 2
cmp word [eax], 0
jne 0x407d1a
lea ebx, [eax + 2]
cmp dx, 0x5c
je 0x4093bf
xor eax, eax
cmp word [ebx], 0x21
jne 0x407d40
add ebx, 2
mov eax, 1
cmp word [ebx], 0x5c
je 0x40928c
cmp word [ebx], 0
jne 0x409273
mov dword [esp], esi
call dword [sym.imp.kernelbase.dll_RemoveDirectoryW]
push edx
test eax, eax
jne 0x407d83
mov eax, dword fs:[0x18]
cmp dword [eax + 0x34], 0x10b
jne 0x407d83
jmp 0x4099ca
add ebx, 2
cmp word [ebx], 0
jne 0x407d80
lea esi, [ebx + 2]
mov eax, esi
sub eax, edi
cmp eax, dword [ebp - 0xa20]
jb 0x407d0c
mov eax, dword [ebp - 0x818]
mov dword [esp + 4], str.PendingFileRenameOperations
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegDeleteValueW]
push edx
push edx
jmp 0x40792c
mov edi, dword [ebp - 0xeb4]
mov eax, dword [ebp - 0xea8]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_FindClose]
push ebx
mov eax, dword fs:[0x18]
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 - 0xeb8]
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 - 0xe9c], 0
jne 0x407e2f
mov eax, dword [ebp - 0xea4]
xor eax, 1
test dword [ebp - 0xe94], eax
je 0x407ed1
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
mov eax, dword [ebp - 0xe90]
mov dword [ebp - 0x818], 0x44
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], eax
mov eax, dword [ebp - 0xe98]
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
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 0x4089f5
test byte [0x40a160], 2
jne 0x409389
mov eax, dword [ebp - 0xea0]
or eax, dword [ebp - 0xe9c]
jne 0x40859c
lea eax, [ebp - 0xc28]
mov dword [esp + 0xc], 0xf003f
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xec4]
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 0x408123
lea eax, [ebp - 0xe54]
mov dword [esp + 8], 0
mov ebx, dword [sym.imp.advapi32.dll_RegQueryValueExA]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0xe98]
mov dword [ebp - 0xe54], 0x100
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xe8c]
mov dword [esp + 4], str.ProductId
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xc28]
mov dword [esp], eax
call ebx
sub esp, 0x18
test eax, eax
jne 0x408111
mov eax, dword [ebp - 0xe54]
test eax, eax
je 0x408111
cmp byte [ebp + eax - 0x819], 0
je 0x407fa7
cmp eax, 0x100
je 0x408111
lea edx, [eax + 1]
mov byte [ebp + eax - 0x818], 0
mov dword [ebp - 0xe54], edx
lea eax, [ebp - 0xe54]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0xe8c]
mov dword [esp + 8], 0
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xc28]
mov dword [esp + 4], str.DigitalProductId
mov dword [esp], eax
call ebx
sub esp, 0x18
test eax, eax
jne 0x408052
cmp dword [ebp - 0xe54], 0xa4
jne 0x408052
lea eax, [ebp - 0xe54]
mov dword [esp + 8], 0
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0xe90]
mov dword [esp + 4], str.DigitalProductId
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xe8c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xc28]
mov dword [esp], eax
call ebx
sub esp, 0x18
test eax, eax
jne 0x408111
mov edx, dword [ebp - 0xe54]
jmp 0x40804e
mov ebx, dword [ebp - 0xe90]
cmp byte [ebx + eax], 0
jne 0x408111
inc eax
cmp eax, edx
jne 0x40803d
lea edx, [ebp - 0xa1c]
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 - 0xe98]
mov byte [ebp - 0xa1c], 3
mov dword [ebp - 0xa20], 0xa4
mov dword [esp + 4], eax
lea eax, [ebp - 0xa18]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_strcpy]
lea eax, [ebp - 0x9fc]
mov ecx, 0xf
mov dword [ebp - 0xa00], 0xcec
mov dword [ebp - 0x9ec], 0xcec
mov edi, eax
lea eax, [ebp - 0x9e8]
rep movsb byte es:[edi], byte [esi]
mov byte [ebp - 0x9de], 8
mov dword [esp + 4], 0x18
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_SystemFunction036]
push eax
push eax
mov eax, dword [ebp - 0xe90]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xc28]
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 - 0xc28]
mov dword [esp], eax
mov eax, dword [ebp - 0xeac]
call eax
push eax
lea eax, [ebp - 0xc28]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0xeb0]
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 0x40832d
mov edi, dword [ebp - 0xe98]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov ebx, dword [0x4174f8]
mov dword [esp + 0x10], edi
mov dword [esp + 4], 0x801a
mov dword [esp], 0
call ebx
sub esp, 0x14
test eax, eax
js 0x4081c9
mov eax, dword [ebp - 0xc28]
mov ecx, edi
mov edx, str.APPDATA
call sym._set_reg_value.isra.0
mov eax, dword [ebp - 0xc28]
mov ecx, str.Console
mov edx, str.CLIENTNAME
call sym._set_reg_value.isra.0
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 0x408253
mov eax, dword [ebp - 0xc28]
mov ecx, edi
mov edx, str.USERPROFILE
call sym._set_reg_value.isra.0
mov eax, dword [ebp - 0xc28]
lea ecx, [ebp - 0x814]
mov edx, str.HOMEPATH
call sym._set_reg_value.isra.0
mov eax, dword [ebp - 0xc28]
mov ecx, edi
mov edx, str.HOMEDRIVE
mov word [ebp - 0x814], 0
call sym._set_reg_value.isra.0
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 0x4090dc
mov eax, dword [ebp - 0xc28]
mov ecx, 0x40b238
mov edx, str.HOMESHARE
call sym._set_reg_value.isra.0
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 0x4082d9
mov eax, dword [ebp - 0xc28]
mov ecx, edi
mov edx, str.LOCALAPPDATA
call sym._set_reg_value.isra.0
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 0x4090f7
mov eax, dword [ebp - 0xc28]
mov ecx, str.Console
mov edx, str.SESSIONNAME
call sym._set_reg_value.isra.0
mov eax, dword [ebp - 0xc28]
mov dword [esp], eax
mov eax, dword [ebp - 0xeac]
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], 0x40ca2c
call dword [0x41762c]
sub esp, 0x14
test eax, eax
je 0x40836b
mov dword [esp], eax
call dword [0x417628]
push ecx
mov eax, 0x80000002
mov ecx, 1
mov edx, str.RunOnce
mov dword [esp], 1
call sym._ProcessRunKeys
mov eax, dword [ebp - 0xe9c]
or eax, dword [ebp - 0xea4]
je 0x408ab8
test byte [0x40a160], 8
jne 0x408a8f
mov eax, dword [ebp - 0xe88]
xor ebx, ebx
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_SetEvent]
push edx
jmp 0x406564
mov ecx, dword [ebp - 0xe98]
mov eax, dword [ebp - 0xe7c]
mov edx, str.Identifier
call sym._set_reg_value.isra.0
mov eax, dword [ebp - 0xe7c]
mov dword [esp], eax
mov eax, dword [ebp - 0xeac]
call eax
push eax
jmp 0x406c4b
movzx eax, word [edi]
mov esi, edi
test ax, ax
je 0x408488
mov ebx, esi
cmp ax, 0x3b
je 0x40845f
mov dword [esp + 4], 0x3d
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_wcschr]
test eax, eax
je 0x40845f
mov word [eax], 0
lea ebx, [eax + 2]
mov dword [esp + 4], esi
mov dword [esp], 0x40c238
call dword [sym.imp.kernelbase.dll_lstrcmpiW]
push edx
push edx
test eax, eax
jne 0x408521
test byte [0x40a160], 8
jne 0x408cd9
mov dword [esp], ebx
call dword [sym.imp.kernelbase.dll_DeleteFileW]
push ecx
test eax, eax
jne 0x40845f
test byte [0x40a160], 4
jne 0x40942f
cmp word [ebx], 0
mov eax, ebx
je 0x408479
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x408470
lea esi, [eax + 2]
movzx eax, word [esi]
test ax, ax
jne 0x4083f7
cmp edi, dword [ebp - 0xe98]
je 0x4084b6
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 - 0xeb8]
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 0x407899
test byte [0x40a160], 2
je 0x407899
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 0x407899
test byte [0x40a160], 8
jne 0x408e14
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 0x40845f
test byte [0x40a160], 4
je 0x40845f
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], 0x40a160
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_1
jmp 0x40845f
mov dword [esp], str.WINECONFIGDIR
call dword [sym.imp.ucrtbase.dll__wgetenv]
mov esi, eax
call sym._get_wine_inf_path
mov dword [ebp - 0xe94], eax
test eax, eax
je 0x409787
mov eax, dword [ebp - 0xe94]
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll__wopen]
mov ebx, eax
cmp eax, 0xffffffff
je 0x409815
lea eax, [ebp - 0xc28]
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 - 0xc0c]
mov eax, esi
call sym._update_timestamp
mov ebx, dword [ebp - 0xea0]
or ebx, eax
je 0x4089c4
mov eax, dword [ebp - 0xe8c]
lea edi, [ebp - 0xe80]
mov dword [ebp - 0xe80], 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 0x40866b
mov dword [ebp - 0xe30], 0
mov eax, dword [ebp - 0xe94]
mov ecx, 1
mov edx, str.PreInstall
call sym._start_rundll32
mov dword [ebp - 0xe80], eax
test eax, eax
je 0x408721
mov esi, dword [sym.imp.kernelbase.dll_CloseHandle]
xor ebx, ebx
mov dword [ebp - 0xea0], esi
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 [0x4175f4]
sub esp, 0x14
test eax, eax
jne 0x40922a
mov eax, dword [ebp - 0xe80]
mov dword [esp], eax
mov eax, dword [ebp - 0xea0]
call eax
mov eax, dword [ebp + ebx*4 - 0xe30]
push ecx
test eax, eax
je 0x408721
test eax, 0x40000
je 0x40920c
mov eax, dword [ebp - 0xe94]
mov ecx, 1
mov edx, str.DefaultInstall
call sym._start_rundll32
mov dword [ebp - 0xe80], eax
inc ebx
cmp dword [ebp - 0xe80], 0
jne 0x40869c
xor eax, eax
lea edi, [ebp - 0x814]
mov ecx, 6
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 - 0xea0], eax
inc eax
push edx
push edx
je 0x409a9f
mov eax, dword fs:[0x18]
mov dword [ebp - 0xea8], eax
mov edi, 0x4156b8
mov eax, dword [ebp - 0xe98]
mov ebx, dword [edi]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0xea0]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x40f56c
mov dword [esp + 4], ebx
mov dword [esp], eax
call sym._SetupDiCreateDeviceInfoA_28
sub esp, 0x1c
test eax, eax
jne 0x40948c
mov eax, dword fs:[0x18]
cmp dword [eax + 0x34], 0xe0000207
je 0x4087d3
test byte [0x40a160], 2
jne 0x409ae2
add edi, 0xc
mov eax, 0x4156d0
cmp eax, edi
jne 0x40876e
mov eax, dword [ebp - 0xea0]
mov dword [esp], eax
call sym._SetupDiDestroyDeviceInfoList_4
push eax
lea eax, [ebp - 0xe7c]
mov dword [esp + 4], 0x20008
lea ebx, [ebp - 0xe6c]
mov dword [esp + 8], eax
mov dword [esp], 0xffffffff
call dword [sym.imp.advapi32.dll_OpenProcessToken]
sub esp, 0xc
test eax, eax
je 0x4088fb
lea eax, [ebp - 0xe74]
mov dword [esp + 0xc], 0x50
lea ebx, [ebp - 0xe6c]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xe90]
mov dword [ebp - 0xe74], 0x50
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xe7c]
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_GetTokenInformation]
mov eax, dword [ebp - 0xe7c]
sub esp, 0x14
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_CloseHandle]
lea eax, [ebp - 0xe78]
push edi
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 - 0xeb0]
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 0x409be9
mov eax, dword [ebp - 0xe78]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_LocalFree]
push edx
mov dword [esp + 0x10], ebx
mov eax, dword [ebp - 0xec4]
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 0x4097a3
mov dword [esp + 0x10], ebx
mov eax, dword [ebp - 0xec4]
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 0x409680
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 [0x4173b8]
sub esp, 0x14
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [0x4173b4]
push eax
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 - 0xe94]
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 - 0xeb8]
call eax
sub esp, 0xc
jmp 0x407ee3
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
dec eax
je 0x409859
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 0x407ed1
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 0x4083a5
mov dword [esp], 0
xor ecx, ecx
mov edx, 0x40ca42
mov eax, 0x80000002
call sym._ProcessRunKeys
mov dword [esp], 0
xor ecx, ecx
mov edx, 0x40ca42
mov eax, 0x80000001
call sym._ProcessRunKeys
mov dword [ebp - 0xe74], 0
mov dword [ebp - 0xe70], 0
mov dword [ebp - 0xe6c], 0
mov dword [ebp - 0xc28], 0
test byte [0x40a160], 8
jne 0x4092d6
lea eax, [ebp - 0xe74]
mov dword [esp], eax
call dword [0x4174f4]
push edx
test eax, eax
js 0x4093f9
lea eax, [ebp - 0xe6c]
mov dword [esp + 4], 7
mov dword [esp + 8], eax
mov dword [esp], 0
call dword [0x4174fc]
sub esp, 0xc
test eax, eax
js 0x4091bc
mov eax, dword [ebp - 0xe74]
mov ebx, dword [ebp - 0xebc]
mov ecx, dword [ebp - 0xe6c]
mov edx, dword [eax]
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0x412674
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 0x40964a
mov eax, dword [ebp - 0xe70]
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 0x409b1d
mov esi, dword [0x417510]
mov ebx, dword [0x417504]
jmp 0x408bfa
test byte [0x40a160], 8
jne 0x409463
mov eax, dword [ebp - 0xe54]
mov dword [esp], eax
call dword [0x4174f0]
push edi
mov eax, dword [ebp - 0xc28]
mov edi, dword [ebp - 0xe8c]
mov edx, dword [eax]
mov dword [esp + 0xc], edi
lea edi, [ebp - 0xe54]
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 0x4091c9
cmp dword [ebp - 0xe30], 1
jne 0x4091c9
mov eax, dword [ebp - 0xe70]
mov edi, dword [ebp - 0xe90]
mov ecx, dword [ebp - 0xe54]
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 0x408bdd
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
mov eax, dword [ebp - 0xe90]
mov dword [esp], eax
call esi
sub esp, 0x10
test eax, eax
jns 0x4092ff
test byte [0x40a160], 8
je 0x408bea
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 0x408bea
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 0x408444
mov eax, dword [ebp - 0xa20]
mov dword [esp], eax
mov eax, dword [ebp - 0xeac]
call eax
push eax
jmp 0x4070ba
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 - 0xe70]
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 0x407990
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 - 0xeb4]
call eax
mov edi, eax
mov eax, dword [ebp - 0xe98]
sub esp, 0xc
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0xe70]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.SFCDllCacheDir
mov dword [esp], eax
call ebx
sub esp, 0x18
mov dword [esp + 4], 0x40c402
mov dword [esp], edi
call sym._lstrcatW_8
push eax
push eax
mov eax, dword [ebp - 0xe70]
mov dword [esp], eax
mov eax, dword [ebp - 0xeac]
call eax
push eax
test edi, edi
jne 0x407a08
jmp 0x4079a2
mov eax, esi
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 0x40852e
xor ecx, ecx
mov eax, 0x80000002
cpuid
mov dword [ebp - 0x814], ebx
lea ebx, [ebp - 0xa20]
mov dword [ebp - 0x818], eax
lea eax, [ebp - 0x818]
mov dword [ebp - 0x810], ecx
mov ecx, ebx
mov dword [ebp - 0x80c], edx
mov edx, 0x10
mov dword [ebp - 0xe90], ebx
mov dword [ebp - 0xe98], eax
call sym._regs_to_str
xor ecx, ecx
mov eax, 0x80000003
cpuid
mov dword [ebp - 0x818], eax
mov eax, dword [ebp - 0xe98]
mov dword [ebp - 0x814], ebx
lea ebx, [ebp - 0xa00]
mov dword [ebp - 0x810], ecx
mov ecx, ebx
mov dword [ebp - 0x80c], edx
mov edx, 0x10
call sym._regs_to_str
xor ecx, ecx
mov eax, 0x80000004
cpuid
mov dword [ebp - 0x818], eax
mov eax, dword [ebp - 0xe98]
mov dword [ebp - 0x810], ecx
lea ecx, [ebp - 0x9e0]
mov dword [ebp - 0x80c], edx
mov edx, 0x10
mov dword [ebp - 0x814], ebx
call sym._regs_to_str
jmp 0x4066ac
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
mov eax, dword [ebp - 0xe98]
mov dword [esp], eax
call sym._swprintf
jmp 0x4067df
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
mov eax, dword [ebp - 0xe98]
call sym._get_identifier.constprop.0
jmp 0x4067df
mov eax, dword [ebp - 0xe8c]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xec0]
mov dword [esp], eax
call sym._memset
jmp 0x4067aa
mov eax, ebx
mov dword [ebp - 0xec0], edx
call sym._wine_dbgstr_wn.constprop.0_1
mov edx, dword [ebp - 0xec0]
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 0x407b7b
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 0x407466
mov ebx, dword [ebp - 0xec0]
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 - 0xeb8], eax
call eax
lea eax, [ebp - 0xe30]
mov dword [ebp - 0xe8c], eax
lea eax, [ebp - 0xe70]
sub esp, 0xc
mov dword [ebp - 0xebc], eax
mov eax, dword [sym.imp.advapi32.dll_RegCloseKey]
mov dword [ebp - 0xeac], eax
jmp 0x40705e
mov eax, dword fs:[0x18]
mov ebx, dword [eax + 0x34]
mov eax, dword [ebp - 0xe98]
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 0x4076d8
mov ecx, dword [ebp - 0xe98]
mov eax, dword [ebp - 0xc28]
mov edx, str.USERNAME
call sym._set_reg_value.isra.0
jmp 0x408280
mov eax, dword [ebp - 0xc28]
mov ecx, ebx
mov edx, str.USERDOMAIN
call sym._set_reg_value.isra.0
mov ecx, dword [ebp - 0xe90]
mov eax, dword [ebp - 0xc28]
mov edx, str.LOGONSERVER
mov dword [ebp - 0xa20], 0x5c005c
call sym._set_reg_value.isra.0
jmp 0x408306
mov edi, dword [ebp - 0xeb8]
mov dword [esp], ebx
xor ecx, ecx
mov edx, str.SystemSKU
mov dword [esp + 8], esi
mov eax, dword [ebp - 0xea8]
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 - 0xea8]
mov dword [esp], ebx
call sym._set_value_from_smbios_string
jmp 0x406fcb
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 0x406eda
test byte [0x40a160], 8
jne 0x409c56
mov eax, dword [ebp - 0xc28]
test eax, eax
je 0x4091dc
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
push esi
mov eax, dword [ebp - 0xe70]
test eax, eax
je 0x4091ef
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
push ebx
mov eax, dword [ebp - 0xe6c]
test eax, eax
je 0x408398
mov dword [esp], eax
call dword [0x4174f0]
push ecx
jmp 0x408398
movzx ecx, ax
mov eax, dword [ebp - 0xe94]
mov edx, str.Wow64Install
call sym._start_rundll32
mov dword [ebp - 0xe80], eax
jmp 0x408713
mov esi, dword [ebp - 0xe98]
jmp 0x40923e
mov dword [esp], esi
call dword [0x4175d0]
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], esi
call dword [0x4175fc]
sub esp, 0x14
test eax, eax
jne 0x409232
jmp 0x40869c
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 0x407d83
cmp word [ebx + 2], 0x3f
jne 0x409273
cmp word [ebx + 4], 0x3f
jne 0x409273
cmp word [ebx + 6], 0x5c
jne 0x409273
add ebx, 8
jmp 0x407d4a
mov eax, dword [ebp - 0xe90]
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 0x407406
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 0x408b1d
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 ebx
sub esp, 0x18
mov edi, eax
cmp eax, 0x20
ja 0x408bea
test byte [0x40a160], 4
je 0x408bea
mov eax, dword [ebp - 0xe98]
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 0x408bea
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 0x407ed1
cmp word [esi + 2], 0x3f
jne 0x407d30
cmp word [esi + 4], 0x3f
jne 0x407d30
cmp word [esi + 6], 0x5c
jne 0x407d30
add esi, 8
jmp 0x407d30
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_strlen]
lea edx, [ebx + eax]
jmp 0x407741
test byte [0x40a160], 2
je 0x4091c9
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 0x4091c9
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 0x40845f
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 0x408bea
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 - 0xe98]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xea0]
mov dword [esp], eax
call sym._SetupDiSetDeviceRegistryPropertyA_20
sub esp, 0x14
test eax, eax
jne 0x40970e
test byte [0x40a160], 2
je 0x4087d3
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 0x4087d3
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 0x409576
mov dword [ebp - 0xc28], 0
mov eax, dword [ebp - 0xe54]
mov dword [esp], eax
mov eax, dword [ebp - 0xeac]
call eax
cmp dword [ebp - 0xc28], 0
push esi
je 0x4077d2
lea eax, [ebp - 0xe54]
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 - 0xeb0]
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 0x4077d2
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 - 0xeac]
call eax
push ebx
jmp 0x4077d2
test byte [0x40a160], 8
je 0x4091c9
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 0x4091c9
mov eax, dword [ebp - 0xe90]
mov dword [esp + 8], 0
mov dword [ebp - 0xa20], 0x200
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0xe98]
mov dword [esp + 4], str.CurrentVersion
mov dword [esp + 0x10], eax
lea eax, [ebp - 0xe54]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xe6c]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
sub esp, 0x18
test eax, eax
jne 0x4096db
cmp dword [ebp - 0xe54], 1
je 0x409b53
mov eax, dword [ebp - 0xe6c]
mov dword [esp], eax
mov eax, dword [ebp - 0xeac]
call eax
push eax
jmp 0x408967
lea eax, [ebp - 0xe30]
mov dword [ebp - 0xe8c], eax
mov eax, dword [sym.imp.advapi32.dll_RegCloseKey]
mov dword [ebp - 0xeac], eax
jmp 0x406c61
mov eax, dword [ebp - 0xe98]
mov dword [esp], 0x19
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xea0]
mov dword [esp + 4], eax
call sym._SetupDiCallClassInstaller_12
sub esp, 0xc
test eax, eax
jne 0x4098b4
test byte [0x40a160], 2
je 0x4087d3
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 0x4087d3
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 0x407ee3
mov eax, dword [ebp - 0xe90]
mov dword [esp + 8], 0
mov dword [ebp - 0xa20], 0x200
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0xe98]
mov dword [esp + 4], str.CurrentVersion
mov dword [esp + 0x10], eax
lea eax, [ebp - 0xe54]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xe6c]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
sub esp, 0x18
test eax, eax
jne 0x4097fe
cmp dword [ebp - 0xe54], 1
je 0x409934
mov eax, dword [ebp - 0xe6c]
mov dword [esp], eax
mov eax, dword [ebp - 0xeac]
call eax
push eax
jmp 0x408931
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 - 0xe94]
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 0x4089c4
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 [0x40a160], 2
je 0x408a72
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], 0x40a160
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
jmp 0x408a72
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 0x4087d3
test byte [0x40a160], 2
je 0x4087d3
mov eax, dword [ebp - 0xea8]
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 0x4087d3
mov eax, dword [ebp - 0xe98]
mov dword [esp + 4], str.10.0
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_wcscmp]
test eax, eax
jne 0x4097fe
mov eax, dword [ebp - 0xe6c]
mov esi, dword [sym.imp.advapi32.dll_RegSetValueExW]
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 - 0xe6c]
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 0x4097fe
mov dword [esp], esi
call dword [sym.imp.kernelbase.dll_DeleteFileW]
push ecx
jmp 0x407d83
test byte [0x40a160], 8
jne 0x409a67
mov eax, dword [ebp - 0xc28]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_WaitForSingleObject]
push eax
push eax
lea eax, [ebp - 0xe30]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc28]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_GetExitCodeProcess]
push eax
push eax
mov eax, dword [ebp - 0xe30]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_ExitProcess]
lea eax, [ebp - 0xe30]
mov dword [ebp - 0xe8c], eax
mov eax, dword [sym.imp.advapi32.dll_RegCreateKeyExW]
mov dword [ebp - 0xeb0], eax
mov eax, dword [sym.imp.kernelbase.dll_HeapFree]
mov dword [ebp - 0xeb8], eax
lea eax, [ebp - 0xe70]
mov dword [ebp - 0xebc], eax
mov eax, dword [sym.imp.advapi32.dll_RegCloseKey]
mov dword [ebp - 0xeac], eax
jmp 0x40705e
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], 0x40a160
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x4099e6
test byte [0x40a160], 2
je 0x4087ee
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 0x4087ee
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 0x4087d3
test byte [0x40a160], 8
je 0x4091c9
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 0x4091c9
mov eax, dword [ebp - 0xe98]
mov dword [esp + 4], str.10.0
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_wcscmp]
test eax, eax
jne 0x4096db
mov eax, dword [ebp - 0xe6c]
mov ebx, dword [sym.imp.advapi32.dll_RegSetValueExW]
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 - 0xe6c]
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 0x4096db
mov eax, dword [ebp - 0xe78]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], ebx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xe70]
mov dword [esp + 0x18], 0
mov dword [esp], eax
mov eax, dword [ebp - 0xeb0]
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 0x409c7f
mov eax, dword [ebp - 0xe70]
mov dword [esp], eax
mov eax, dword [ebp - 0xeac]
call eax
push ecx
jmp 0x4088eb
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 0x4091c9
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 [0x417500]
sub esp, 0x10
test eax, eax
jne 0x409d0a
lea eax, [ebp - 0xe54]
mov dword [esp + 0x14], 4
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xe6c]
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 - 0xe6c]
sub esp, 0x18
mov dword [esp], eax
mov eax, dword [ebp - 0xeac]
call eax
push esi
jmp 0x409c3f
mov ecx, dword [ebp - 0xe98]
mov eax, dword [ebp - 0xe6c]
mov edx, str.ProfileImagePath
call sym._set_reg_value.isra.0
jmp 0x409cb7