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

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff8
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0xef0
mov eax, dword [ecx]
mov dword [ebp - 0xe7c], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0xe80], eax
call sym.___main
mov dword [ebp - 0xe5c], 0x40003e
mov dword [ebp - 0xe58], str.KernelObjects__wineboot_event
mov dword [esp + 4], 0x104
mov dword [esp], 0x418240
call dword [sym.imp.kernelbase.dll_GetWindowsDirectoryW]
sub esp, 8
mov dword [esp], 0x418240
call dword [sym.imp.kernelbase.dll_SetCurrentDirectoryW]
sub esp, 4
test eax, eax
jne 0x4050ba
test byte [0x40939c], 2
jne 0x405bf4
lea eax, [ebp - 0xe74]
mov dword [esp], 0xffffffff
mov dword [esp + 4], eax
call dword [sym.imp.kernelbase.dll_IsWow64Process]
sub esp, 8
test eax, eax
je 0x4050e5
cmp dword [ebp - 0xe74], 0
jne 0x405e0c
cmp dword [ebp - 0xe7c], 1
mov dword [ebp - 0xe98], 0
jle 0x4053c3
mov dword [ebp - 0xe9c], 0
mov edi, 1
mov dword [ebp - 0xe8c], 0
mov dword [ebp - 0xe88], 0
mov dword [ebp - 0xea0], 0
mov dword [ebp - 0xe94], 0
mov dword [ebp - 0xe90], 0
jmp 0x40520b
mov dword [esp + 4], str.__help
mov ebx, dword [sym.imp.ucrtbase.dll_strcmp]
mov dword [esp], esi
call ebx
test eax, eax
je 0x405be8
mov dword [esp + 4], str.__end_session
mov dword [esp], esi
call ebx
test eax, eax
je 0x405330
mov dword [esp + 4], str.__force
mov dword [esp], esi
call ebx
test eax, eax
je 0x405340
mov dword [esp + 4], str.__init
mov dword [esp], esi
call ebx
test eax, eax
je 0x40534f
mov dword [esp + 4], str.__kill
mov dword [esp], esi
call ebx
test eax, eax
je 0x40535e
mov dword [esp + 4], str.__restart
mov dword [esp], esi
call ebx
test eax, eax
je 0x40536d
mov dword [esp + 4], str.__shutdown
mov dword [esp], esi
call ebx
test eax, eax
je 0x4053b4
mov dword [esp + 4], str.__update
mov dword [esp], esi
call ebx
test eax, eax
jne case.0x40524e.2
mov dword [ebp - 0xe98], 1
add edi, 1
cmp dword [ebp - 0xe7c], edi
je 0x405287
mov eax, dword [ebp - 0xe80]
mov esi, dword [eax + edi*4]
cmp byte [esi], 0x2d
jne 0x405200
movzx eax, byte [esi + 1]
cmp al, 0x2d
je 0x405148
lea edx, [esi + 2]
test al, al
je 0x405200
mov ecx, dword [ebp - 0xe9c]
mov ebx, dword [ebp - 0xe98]
mov esi, dword [ebp - 0xe90]
nop
sub eax, 0x65
cmp al, 0x10
ja case.0x40524e.2
movzx eax, al
jmp dword [eax*4 + 0x40cbb4]
mov ebx, 1
lea esi, [esi]
movzx eax, byte [edx]
add edx, 1
test al, al
jne 0x405240
mov dword [ebp - 0xe9c], ecx
add edi, 1
mov dword [ebp - 0xe98], ebx
mov dword [ebp - 0xe90], esi
cmp dword [ebp - 0xe7c], edi
jne 0x40520b
mov eax, dword [ebp - 0xe90]
test eax, eax
je 0x40537c
mov eax, dword [ebp - 0xe94]
cmp dword [ebp - 0xe88], 0
mov dword [esp], eax
je 0x405bd1
call sym._shutdown_all_desktops
test eax, eax
je 0x4053a2
mov eax, dword [ebp - 0xe9c]
mov dword [esp], eax
call sym._kill_processes
mov dword [ebp - 0xed4], 1
jmp 0x405391
mov ecx, 1
jmp 0x405260
mov dword [ebp - 0xe88], 1
jmp 0x405260
mov dword [ebp - 0xe8c], 1
jmp 0x405260
mov esi, 1
jmp 0x405260
mov dword [ebp - 0xe94], 1
jmp 0x405260
mov dword [ebp - 0xea0], 1
jmp 0x405260
mov dword [ebp - 0xe90], 1
jmp 0x405200
mov dword [ebp - 0xe94], 1
jmp 0x405200
mov dword [ebp - 0xea0], 1
jmp 0x405200
mov dword [ebp - 0xe88], 1
jmp 0x405200
mov dword [ebp - 0xe8c], 1
jmp 0x405200
cmp dword [ebp - 0xe88], 0
jne 0x4052b8
xor eax, eax
mov dword [ebp - 0xed4], eax
cmp dword [ebp - 0xe9c], 0
je 0x4053d7
xor eax, eax
mov dword [ebp - 0xe90], eax
mov eax, dword [ebp - 0xe90]
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
mov dword [ebp - 0xe9c], 1
jmp 0x405200
xor eax, eax
mov dword [ebp - 0xe8c], eax
mov dword [ebp - 0xea0], eax
mov dword [ebp - 0xed4], eax
lea eax, [ebp - 0xe5c]
xor esi, esi
xor ebx, ebx
mov dword [ebp - 0xe40], 0x18
mov dword [ebp - 0xe38], eax
lea eax, [ebp - 0xe40]
mov dword [ebp - 0xe3c], ebx
mov dword [ebp - 0xe34], 0x82
mov dword [ebp - 0xe30], esi
mov dword [ebp - 0xe2c], esi
mov dword [esp + 8], eax
lea eax, [ebp - 0xe78]
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], esi
mov dword [esp + 4], 0x1f0003
mov dword [esp], eax
call dword [sym.imp.ntdll.dll_NtCreateEvent]
mov eax, dword [ebp - 0xe78]
sub esp, 0x14
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_ResetEvent]
xor eax, eax
mov ecx, 5
push edi
lea edi, [ebp - 0xe24]
rep stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp - 0xe28], 0x18
mov dword [ebp - 0xe60], eax
lea eax, [ebp - 0xe54]
mov dword [ebp - 0xe20], eax
lea eax, [ebp - 0xe28]
mov dword [ebp - 0xe54], 0x4e004c
mov dword [ebp - 0xe50], str.KernelObjects__wine_user_shared_data
mov dword [ebp - 0xe1c], pe_nt_image_headers32
mov dword [esp + 8], eax
lea eax, [ebp - 0xe64]
mov dword [esp + 4], 0xf001f
mov dword [esp], eax
call dword [sym.imp.ntdll.dll_NtOpenSection]
sub esp, 0xc
test eax, eax
je 0x405c38
test byte [0x40939c], 2
jne 0x40792e
lea eax, [ebp - 0xa18]
mov dword [ebp - 0xe7c], eax
lea eax, [ebp - 0x810]
mov dword [ebp - 0xea8], eax
lea eax, [ebp - 0xc20]
mov dword [ebp - 0xec4], eax
lea eax, [ebp - 0xe60]
mov dword [ebp - 0xec8], eax
xor esi, esi
mov dword [esp], 0x52534d42
mov dword [esp + 0xc], esi
mov dword [esp + 8], esi
mov dword [esp + 4], esi
mov esi, dword [sym.imp.kernelbase.dll_GetSystemFirmwareTable]
call esi
sub esp, 0x10
mov ebx, eax
mov dword [esp], eax
mov eax, dword [sym.imp.ucrtbase.dll_malloc]
mov dword [ebp - 0xebc], eax
call eax
mov dword [ebp - 0xeac], eax
test eax, eax
je 0x4088a7
mov dword [esp + 0xc], ebx
mov eax, dword [ebp - 0xeac]
xor ebx, ebx
mov dword [esp], 0x52534d42
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp + 4], eax
call esi
xor edx, edx
xor ecx, ecx
mov dword [ebp - 0xeb0], eax
sub esp, 0x10
lea eax, [ebp - 0xe6c]
mov dword [esp + 0x1c], eax
mov eax, dword [sym.imp.advapi32.dll_RegCreateKeyExW]
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], 0xf003f
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], ebx
mov dword [esp + 8], ebx
mov dword [esp + 4], str.HardwareDescriptionSystem
mov dword [esp], 0x80000002
mov dword [ebp - 0xe80], eax
call eax
sub esp, 0x24
test eax, eax
jne 0x4078c4
xor eax, eax
mov dword [esp + 0x14], 0xf003f
mov dword [esp + 0x20], eax
lea eax, [ebp - 0xe68]
mov dword [esp + 0x1c], eax
xor eax, eax
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
mov dword [esp + 4], str.BIOS
mov eax, dword [ebp - 0xe6c]
mov dword [esp], eax
mov eax, dword [ebp - 0xe80]
call eax
mov ecx, dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 0x24
mov dword [ebp - 0xea4], ecx
test eax, eax
je 0x407a0f
xor esi, esi
mov ebx, dword [ebp - 0xe6c]
xor edi, edi
mov dword [ebp - 0xe54], esi
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
imul esi, dword [eax + 0x64], 0x18
call sym._read_tsc_frequency
mov dword [ebp - 0xe88], eax
mov dword [ebp - 0xe84], edx
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0xc
mov eax, dword [ebp - 0xec4]
mov dword [esp], 1
mov dword [esp + 4], eax
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
sub esp, 0x10
mov dword [esp], esi
mov eax, dword [ebp - 0xebc]
call eax
mov dword [ebp - 0xecc], eax
test eax, eax
je 0x408919
mov dword [esp + 0x10], esi
mov eax, dword [ebp - 0xecc]
xor ecx, ecx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 4], ecx
mov dword [esp], 0xb
call dword [sym.imp.ntdll.dll_NtPowerInformation]
sub esp, 0x14
test eax, eax
jne 0x4079f2
movzx eax, word [ebp - 0xc20]
cmp ax, 5
je 0x4078ae
cmp ax, 0xc
je 0x4078ae
mov ecx, str.AT_compatible
mov edx, str.Identifier
mov eax, ebx
call sym._set_reg_value.isra.0
xor eax, eax
mov dword [esp], ebx
mov dword [esp + 0x20], eax
lea eax, [ebp - 0xe54]
mov dword [esp + 0x1c], eax
xor eax, eax
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 0x14], 0xf003f
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
mov dword [esp + 4], str.FloatingPointProcessor
mov eax, dword [ebp - 0xe80]
call eax
sub esp, 0x24
test eax, eax
je 0x405735
xor eax, eax
mov dword [ebp - 0xe54], eax
xor esi, esi
xor edi, edi
mov dword [esp + 0x20], esi
mov eax, dword [ebp - 0xec8]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], eax
xor eax, eax
mov dword [esp + 0x14], 0xf003f
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
mov dword [esp + 4], str.CentralProcessor
mov dword [esp], ebx
mov eax, dword [ebp - 0xe80]
call eax
sub esp, 0x24
test eax, eax
je 0x405787
xor ecx, ecx
mov dword [ebp - 0xe60], ecx
xor eax, eax
mov dword [esp + 8], 0xf4240
xor edi, edi
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xe88]
mov edx, dword [ebp - 0xe84]
mov dword [esp], eax
mov dword [esp + 4], edx
call sym.___udivdi3
xor edx, edx
mov esi, dword [ebp - 0xea8]
mov dword [ebp - 0xeb4], eax
mov eax, dword [sym.imp.ucrtbase.dll_free]
mov dword [ebp - 0xec0], edx
mov dword [ebp - 0xeb8], eax
mov eax, dword [ebp - 0xeb0]
mov dword [esp], eax
mov ecx, dword [ebp - 0xeac]
mov eax, 4
mov edx, dword [ebp - 0xec0]
call sym._find_smbios_entry
mov ecx, eax
test eax, eax
je 0x4061d9
mov edx, dword [ebp - 0xeac]
mov ebx, eax
movzx eax, byte [eax + 1]
mov dword [ebp - 0xe90], ecx
sub ebx, edx
add ebx, eax
movzx eax, byte [ecx + 0x10]
mov ecx, dword [ebp - 0xeb0]
mov dword [esp], ecx
mov ecx, ebx
call sym._get_smbios_string
mov ecx, dword [ebp - 0xe90]
mov dword [ebp - 0xe9c], eax
movzx eax, byte [ecx + 7]
mov ecx, dword [ebp - 0xeb0]
mov dword [esp], ecx
mov edx, dword [ebp - 0xeac]
mov ecx, ebx
call sym._get_smbios_string
mov dword [ebp - 0xe94], eax
movzx eax, word [ebp - 0xc20]
cmp ax, 9
je 0x406126
cmp ax, 0xc
je 0x4060e3
cmp ax, 5
jne 0x406096
movzx eax, word [ebp - 0xc1c]
mov dword [esp + 0x10], eax
movzx eax, word [ebp - 0xc1e]
mov dword [esp + 8], str.ARM_Family_7_Model__X_Revision__X
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0x3c
mov eax, dword [ebp - 0xe7c]
mov dword [esp], eax
call sym._swprintf
mov dword [ebp - 0xed0], 0x40ba54
mov eax, dword [ebp - 0xe90]
cmp word [eax + 0x2e], 0
je 0x405b9b
mov ecx, dword [ebp - 0xecc]
lea eax, [edi + edi*2]
xor ebx, ebx
lea eax, [ecx + eax*8 + 4]
mov dword [ebp - 0xe88], eax
lea esi, cs:[esi]
nop
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0x40c06a
mov dword [esp + 4], pe_nt_image_headers32
mov dword [esp], esi
call sym._swprintf
lea eax, [ebp - 0xe64]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], eax
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], esi
mov eax, dword [ebp - 0xe60]
mov dword [esp], eax
mov eax, dword [ebp - 0xe80]
call eax
sub esp, 0x24
test eax, eax
jne 0x405b1e
mov eax, dword [ebp - 0xeb4]
mov dword [ebp - 0xe28], eax
test eax, eax
jne 0x405974
mov eax, dword [ebp - 0xe88]
mov eax, dword [eax]
mov dword [ebp - 0xe28], eax
lea eax, [ebp - 0xc18]
mov dword [esp + 0x14], 4
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0
mov dword [esp + 4], 0x40c070
mov eax, dword [ebp - 0xe64]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegSetValueExW]
mov edx, dword [ebp - 0xe64]
sub esp, 0x18
cmp word [ebp - 0xa18], 0
je 0x405f49
mov eax, dword [ebp - 0xe7c]
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x4059d0
mov ecx, dword [ebp - 0xe7c]
sub eax, ecx
add eax, 2
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0xe7c]
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0
mov dword [esp + 4], str.Identifier
mov dword [esp], edx
call dword [sym.imp.advapi32.dll_RegSetValueExW]
mov eax, dword [ebp - 0xe94]
sub esp, 0x18
test eax, eax
je 0x405a70
cmp word [eax], 0
mov edx, dword [ebp - 0xe64]
je 0x4061c7
add eax, 2
cmp word [eax], 0
jne 0x405a30
mov ecx, dword [ebp - 0xe94]
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
sub eax, ecx
mov dword [esp + 0x10], ecx
add eax, 2
mov dword [esp + 4], str.VendorIdentifier
mov dword [esp + 0x14], eax
mov dword [esp], edx
call dword [sym.imp.advapi32.dll_RegSetValueExW]
sub esp, 0x18
mov eax, dword [ebp - 0xe9c]
test eax, eax
je 0x405ace
cmp word [eax], 0
je 0x4061bc
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x405a88
mov ecx, dword [ebp - 0xe9c]
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
sub eax, ecx
mov dword [esp + 0x10], ecx
add eax, 2
mov dword [esp + 4], str.ProcessorNameString
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0xe64]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegSetValueExW]
sub esp, 0x18
lea eax, [ebp - 0xe28]
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.MHz
mov eax, dword [ebp - 0xe64]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegSetValueExW]
mov eax, dword [ebp - 0xe64]
sub esp, 0x18
mov dword [esp], eax
mov eax, dword [ebp - 0xea4]
call eax
sub esp, 4
mov eax, dword [ebp - 0xe54]
test eax, eax
je 0x405b7c
lea ecx, [ebp - 0xe64]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], ecx
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], esi
mov dword [esp], eax
mov eax, dword [ebp - 0xe80]
call eax
sub esp, 0x24
test eax, eax
je 0x405ed8
mov eax, dword [ebp - 0xe90]
add ebx, 1
add dword [ebp - 0xe88], 0x18
add edi, 1
movzx eax, word [eax + 0x2e]
cmp ebx, eax
jb 0x4058e0
mov eax, dword [ebp - 0xec0]
test eax, eax
je 0x405f53
mov eax, dword [ebp - 0xe9c]
mov dword [esp], eax
mov ebx, dword [ebp - 0xeb8]
call ebx
mov eax, dword [ebp - 0xe94]
mov dword [esp], eax
call ebx
add dword [ebp - 0xec0], 1
jmp 0x4057ce
call sym._shutdown_close_windows
test eax, eax
jne 0x405389
jmp 0x4053a2
mov eax, 1
call sym._usage
xor eax, eax
call sym._usage
mov eax, dword fs:[0x18]
mov ebx, dword [eax + 0x34]
mov eax, 0x418240
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], 0x40939c
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
jmp 0x4050ba
xor edx, edx
mov dword [esp + 0x10], 0x710
mov dword [esp + 0xc], edx
mov dword [esp + 8], edx
mov dword [esp + 4], 2
mov eax, dword [ebp - 0xe64]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_MapViewOfFile]
mov ebx, eax
mov eax, dword [ebp - 0xe64]
sub esp, 0x14
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_CloseHandle]
push ecx
test ebx, ebx
je 0x4080e8
lea eax, [ebp - 0x810]
lea edi, [ebp - 0xe4c]
mov dword [ebp - 0x810], 0x11c
mov dword [ebp - 0xea8], eax
mov dword [esp], eax
call dword [sym.imp.ntdll.dll_RtlGetVersion]
mov esi, dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
push eax
xor eax, eax
mov dword [esp + 0xc], eax
lea eax, [ebp - 0xa18]
mov dword [esp + 8], 0x2c
mov dword [ebp - 0xe7c], eax
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp], eax
call esi
xor eax, eax
sub esp, 0x10
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0xc
mov dword [esp + 4], edi
mov dword [esp], 1
call esi
mov dword [ebx + 4], 0x1000000
mov dword [ebx + 0x244], 0x200000
mov eax, dword [ebp - 0x804]
sub esp, 0x10
mov dword [ebx + 0x260], eax
movzx eax, byte [ebp - 0x6f6]
mov byte [ebx + 0x268], 1
mov dword [ebx + 0x264], eax
movzx eax, word [ebp - 0xe4c]
mov word [ebx + 0x26a], ax
mov eax, dword [ebp - 0x808]
mov edx, dword [ebp - 0x80c]
mov dword [ebx + 0x270], eax
mov dword [ebx + 0x26c], edx
movzx eax, word [ebp - 0x6f8]
mov dword [ebx + 0x2d0], eax
mov eax, dword [ebp - 0xa0c]
mov byte [ebx + 0x2d5], 2
mov dword [ebx + 0x2e8], eax
lea eax, [ebx + 0x30]
mov dword [esp + 4], str.C:windows
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_wcscpy]
movzx eax, word [ebp - 0xe4c]
cmp ax, 9
je 0x407d24
ja 0x407fab
test ax, ax
je 0x407d24
cmp ax, 5
jne 0x407e4d
mov eax, dword [ebp - 0xe44]
movzx edx, word [0x40ce6e]
mov dl, al
shr eax, 1
and eax, 1
and dl, 1
mov dh, al
lea eax, [ebp - 0xc20]
mov dword [ebp - 0xec4], eax
lea eax, [ebp - 0xe60]
mov word [ebx + 0x286], dx
mov dword [ebp - 0xec8], eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x64]
mov byte [ebx + 0x3c4], 1
mov dword [ebx + 0x3c0], eax
mov eax, ebx
call sym._initialize_xstate_features
mov dword [esp], ebx
call dword [sym.imp.kernelbase.dll_UnmapViewOfFile]
push edi
jmp 0x4054fd
lea edx, [ebp - 0xa14]
xor eax, eax
mov ecx, 0x10
mov edi, edx
lea ebx, [ebp - 0x810]
lea esi, [ebp - 0xa18]
rep stosd dword es:[edi], eax
mov dword [ebp - 0xa18], 0x44
mov dword [esp + 4], 0x104
mov dword [ebp - 0xea8], ebx
mov dword [esp], ebx
call dword [sym.imp.kernelbase.dll_GetSystemDirectoryW]
push edi
push edi
mov dword [esp + 4], str.wineboot.exe
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_wcscat]
lea eax, [ebp - 0xe40]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_Wow64DisableWow64FsRedirection]
push eax
call dword [sym.imp.kernelbase.dll_GetCommandLineW]
xor edx, edx
lea ecx, [ebp - 0xc20]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], edx
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], ebx
call dword [sym.imp.kernelbase.dll_CreateProcessW]
sub esp, 0x28
test eax, eax
jne 0x4088cd
test byte [0x40939c], 2
jne 0x40795b
mov eax, dword [ebp - 0xe40]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_Wow64RevertWow64FsRedirection]
push edx
jmp 0x4050e5
cmp word [ebp - 0xa18], 0
mov edx, dword [ebp - 0xe64]
mov eax, dword [ebp - 0xe7c]
je 0x405ef9
nop
add eax, 2
cmp word [eax], 0
jne 0x405ef0
mov ecx, dword [ebp - 0xe7c]
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 dword [sym.imp.advapi32.dll_RegSetValueExW]
mov eax, dword [ebp - 0xe64]
sub esp, 0x18
mov dword [esp], eax
mov eax, dword [ebp - 0xea4]
call eax
sub esp, 4
jmp 0x405b7c
mov eax, 2
jmp 0x4059e4
lea eax, [ebp - 0xe4c]
mov dword [esp + 4], str.SystemCurrentControlSetControlSession_ManagerEnvironment
mov dword [esp + 8], eax
mov dword [esp], 0x80000002
call dword [sym.imp.advapi32.dll_RegCreateKeyW]
sub esp, 0xc
test eax, eax
jne 0x405ba9
mov ecx, dword [ebp - 0xed0]
mov eax, dword [ebp - 0xe4c]
mov edx, str.PROCESSOR_ARCHITECTURE
call sym._set_reg_value.isra.0
mov ecx, dword [ebp - 0xe94]
mov eax, str.Unknown
test ecx, ecx
cmovne eax, ecx
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xe7c]
mov dword [esp + 8], str._s___s
mov dword [esp + 0xc], eax
mov dword [esp + 4], pe_nt_image_headers32
mov dword [esp], esi
call sym._swprintf
mov eax, dword [ebp - 0xe4c]
mov ecx, esi
mov edx, str.PROCESSOR_IDENTIFIER
call sym._set_reg_value.isra.0
movzx eax, word [ebp - 0xc1e]
mov dword [esp], esi
mov dword [esp + 8], 0x40c06a
mov dword [esp + 0xc], eax
mov dword [esp + 4], pe_nt_image_headers32
call sym._swprintf
mov eax, dword [ebp - 0xe4c]
mov ecx, esi
mov edx, str.PROCESSOR_LEVEL
call sym._set_reg_value.isra.0
movzx eax, word [ebp - 0xc1c]
mov dword [esp], esi
mov dword [esp + 8], str._04x
mov dword [esp + 0xc], eax
mov dword [esp + 4], pe_nt_image_headers32
call sym._swprintf
mov eax, dword [ebp - 0xe4c]
mov ecx, esi
mov edx, str.PROCESSOR_REVISION
call sym._set_reg_value.isra.0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x64]
mov dword [esp + 8], 0x40c06a
mov dword [esp + 4], pe_nt_image_headers32
mov dword [esp + 0xc], eax
mov dword [esp], esi
call sym._swprintf
mov eax, dword [ebp - 0xe4c]
mov ecx, esi
mov edx, str.NUMBER_OF_PROCESSORS
call sym._set_reg_value.isra.0
mov eax, dword [ebp - 0xe4c]
mov dword [esp], eax
mov eax, dword [ebp - 0xea4]
call eax
push eax
jmp 0x405ba9
movzx eax, word [ebp - 0xc1c]
movzx edx, al
movzx eax, ah
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
movzx eax, word [ebp - 0xc1e]
mov dword [esp + 8], str.x86_Family__u_Model__u_Stepping__u
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0x3c
mov eax, dword [ebp - 0xe7c]
mov dword [esp], eax
call sym._swprintf
mov dword [ebp - 0xed0], 0x40ba68
jmp 0x4058b0
movzx eax, word [ebp - 0xc1c]
mov dword [esp + 0x10], eax
movzx eax, word [ebp - 0xc1e]
mov dword [esp + 8], str.ARMv8__64_bit__Family_8_Model__X_Revision__X
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0x3c
mov eax, dword [ebp - 0xe7c]
mov dword [esp], eax
call sym._swprintf
mov dword [ebp - 0xed0], str.ARM64
jmp 0x4058b0
movzx ebx, word [ebp - 0xc1c]
cmp dword [ebp - 0xe94], 0
movzx edx, word [ebp - 0xc1e]
movzx ecx, bl
movzx ebx, bh
je 0x4061d2
mov dword [ebp - 0xed0], edx
mov dword [ebp - 0xe88], ecx
mov dword [esp + 4], str.AuthenticAMD
mov eax, dword [ebp - 0xe94]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_wcscmp]
mov ecx, dword [ebp - 0xe88]
mov edx, dword [ebp - 0xed0]
test eax, eax
jne 0x4061d2
mov eax, str.AMD64
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], eax
mov dword [esp + 8], str._s_Family__u_Model__u_Stepping__u
mov dword [esp + 4], 0x3c
mov eax, dword [ebp - 0xe7c]
mov dword [esp], eax
call sym._swprintf
mov dword [ebp - 0xed0], str.AMD64
jmp 0x4058b0
mov eax, dword [ebp - 0xe9c]
jmp 0x405a91
mov eax, dword [ebp - 0xe94]
jmp 0x405a39
mov eax, str.Intel64
jmp 0x40617f
mov eax, dword [ebp - 0xe54]
mov dword [esp], eax
mov edi, dword [ebp - 0xea4]
call edi
push eax
mov eax, dword [ebp - 0xe60]
mov dword [esp], eax
call edi
push eax
mov eax, dword [ebp - 0xecc]
mov dword [esp], eax
mov eax, dword [ebp - 0xeb8]
call eax
mov eax, dword [ebp - 0xe6c]
mov dword [esp], eax
mov eax, dword [ebp - 0xea4]
call eax
push esi
mov eax, dword [ebp - 0xeac]
mov dword [esp], eax
mov eax, dword [ebp - 0xeb8]
call eax
xor edx, edx
xor ebx, ebx
xor ecx, ecx
mov dword [esp + 0x20], edx
mov eax, dword [ebp - 0xe7c]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], 0x20006
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], ebx
mov dword [esp + 4], str.PerfStatsStatData
mov dword [esp], 0x80000006
mov eax, dword [ebp - 0xe80]
call eax
sub esp, 0x24
test eax, eax
je 0x407897
xor eax, eax
mov dword [esp + 0x20], eax
mov eax, dword [ebp - 0xe7c]
mov dword [esp + 0x14], 0x20006
mov dword [esp + 0x1c], eax
xor eax, eax
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
mov dword [esp + 4], str.Config_ManagerEnum
mov dword [esp], 0x80000006
mov eax, dword [ebp - 0xe80]
call eax
sub esp, 0x24
test eax, eax
jne 0x4064ee
mov esi, dword [sym.imp.advapi32.dll_RegSetValueExW]
mov edi, dword [ebp - 0xea8]
mov ebx, str.C29A23D0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x20006
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
mov eax, dword [ebp - 0xa18]
mov dword [esp], eax
mov eax, dword [ebp - 0xe80]
call eax
sub esp, 0x24
test eax, eax
jne 0x4064ca
lea edx, [ebx + 0x12]
cmp word [ebx + 0x12], 0
mov ecx, dword [ebp - 0x810]
mov eax, edx
je 0x406349
nop
add eax, 2
cmp word [eax], 0
jne 0x406340
sub eax, edx
mov dword [esp], ecx
add eax, 2
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 0xc], 1
mov dword [esp + 8], eax
mov dword [esp + 4], str.HardWareKey
call esi
lea eax, [ebx + 0x92]
sub esp, 0x18
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [esp + 0x14], 4
mov dword [esp + 0xc], 3
mov dword [esp + 8], eax
mov dword [esp + 4], str.Problem
mov eax, dword [ebp - 0x810]
mov dword [esp], eax
call esi
lea eax, [ebx + 0x96]
sub esp, 0x18
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [esp + 0x14], 4
mov dword [esp + 0xc], 3
mov dword [esp + 8], eax
mov dword [esp + 4], str.Status
mov eax, dword [ebp - 0x810]
mov dword [esp], eax
call esi
lea eax, [ebx + 0x9a]
sub esp, 0x18
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [esp + 0x14], 0xc
mov dword [esp + 0xc], 3
mov dword [esp + 8], eax
mov dword [esp + 4], str.Allocation
mov eax, dword [ebp - 0x810]
mov dword [esp], eax
call esi
lea eax, [ebx + 0xa6]
sub esp, 0x18
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [esp + 0x14], 4
mov dword [esp + 0xc], 3
mov dword [esp + 8], eax
mov dword [esp + 4], str.Child
mov eax, dword [ebp - 0x810]
mov dword [esp], eax
call esi
xor edx, edx
lea eax, [ebx + 0xaa]
sub esp, 0x18
mov dword [esp + 8], edx
mov dword [esp + 0x14], 4
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 3
mov dword [esp + 4], str.Sibling
mov eax, dword [ebp - 0x810]
mov dword [esp], eax
call esi
xor ecx, ecx
lea eax, [ebx + 0xae]
sub esp, 0x18
mov dword [esp + 8], ecx
mov dword [esp + 0x14], 4
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 3
mov dword [esp + 4], str.Parent
mov eax, dword [ebp - 0x810]
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x810]
sub esp, 0x18
mov dword [esp], eax
mov eax, dword [ebp - 0xea4]
call eax
push eax
add ebx, 0xb2
cmp ebx, 0x40939a
jne 0x4062d8
mov eax, dword [ebp - 0xa18]
mov dword [esp], eax
mov eax, dword [ebp - 0xea4]
call eax
push ecx
mov edi, dword [ebp - 0xe7c]
xor eax, eax
mov ecx, 8
rep stosd dword es:[edi], eax
mov dword [esp + 4], 0x100
mov ebx, dword [ebp - 0xea8]
mov dword [esp], ebx
call dword [sym.imp.ws2_32.dll_gethostname]
mov ecx, dword [sym.imp.advapi32.dll_RegOpenKeyW]
push edx
push edx
mov dword [ebp - 0xe88], ecx
test eax, eax
jne 0x406654
mov dword [ebp - 0xa18], 2
mov eax, dword [ebp - 0xec8]
mov dword [esp + 0xc], eax
mov edi, dword [ebp - 0xe7c]
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp + 8], edi
mov dword [esp], ebx
call sym._getaddrinfo_16
sub esp, 0x10
test eax, eax
jne 0x40658a
mov eax, dword [ebp - 0xe60]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x40658a
mov dword [esp + 4], str.localhost
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll__stricmp]
test eax, eax
je 0x40658a
mov eax, dword [ebp - 0xe60]
mov ebx, dword [eax + 0x14]
jmp 0x406590
mov ebx, dword [ebp - 0xea8]
mov dword [esp + 4], 0x2e
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_strchr]
test eax, eax
je 0x408154
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 edi
push edi
mov dword [esp + 4], ebx
mov dword [esp], 5
call esi
push eax
push eax
mov eax, dword [ebp - 0xea8]
cmp ebx, eax
je 0x4065ec
mov eax, dword [ebp - 0xe60]
mov dword [esp], eax
call sym._freeaddrinfo_4
push ecx
mov ebx, dword [sym.imp.advapi32.dll_RegOpenKeyW]
lea eax, [ebp - 0xe54]
mov dword [esp + 4], str.SystemCurrentControlSetControlComputerName
mov dword [esp + 8], eax
mov dword [esp], 0x80000002
mov dword [ebp - 0xe88], ebx
call ebx
sub esp, 0xc
test eax, eax
jne 0x406654
lea edi, [ebp - 0xe4c]
mov dword [esp + 4], str.ComputerName
mov dword [esp + 8], edi
mov eax, dword [ebp - 0xe54]
mov dword [esp], eax
call ebx
sub esp, 0xc
test eax, eax
je 0x4082df
mov eax, dword [ebp - 0xe54]
mov dword [esp], eax
mov eax, dword [ebp - 0xea4]
call eax
push ebx
mov edi, dword [ebp - 0xea8]
mov esi, 0x400
xchg esi, edi
jmp 0x4066a5
lea ebx, [edi - 2]
cmp eax, ebx
jb 0x406ed1
mov eax, dword [ebp - 0xea8]
cmp esi, eax
je 0x406688
mov dword [esp], esi
mov eax, dword [ebp - 0xeb8]
call eax
lea edx, [edi*4]
lea ebx, [edi + edi]
mov dword [esp], edx
mov eax, dword [ebp - 0xebc]
call eax
mov esi, eax
test eax, eax
je 0x4066c9
mov edi, ebx
mov dword [esp + 0xc], str.wininit.ini
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], str.rename
call dword [sym.imp.kernel32.dll_GetPrivateProfileSectionW]
sub esp, 0x10
test eax, eax
jne 0x406668
mov eax, dword [ebp - 0xea8]
xor esi, esi
xor edi, edi
mov dword [ebp - 0xa18], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0xf003f
mov dword [esp + 8], edi
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 0x406760
mov eax, dword [ebp - 0xe7c]
xor ebx, ebx
mov dword [esp + 4], str.PendingFileRenameOperations
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], ebx
mov ebx, dword [sym.imp.advapi32.dll_RegQueryValueExW]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x810]
mov dword [esp], eax
call ebx
sub esp, 0x18
test eax, eax
je 0x406a61
xor edi, edi
mov dword [esp], edi
mov eax, dword [ebp - 0xeb8]
call eax
mov eax, dword [ebp - 0x810]
mov dword [esp], eax
mov eax, dword [ebp - 0xea4]
call eax
push edx
mov eax, dword [ebp - 0xec8]
mov dword [esp + 4], str.SoftwareMicrosoftWindows_NTCurrentVersionWinlogon
mov dword [esp], 0x80000002
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xe88]
call eax
sub esp, 0xc
test eax, eax
je 0x407117
mov eax, dword [ebp - 0xe60]
mov dword [esp], eax
mov eax, dword [ebp - 0xea4]
call eax
push eax
xor ecx, ecx
mov esi, dword [sym.imp.kernelbase.dll_GetSystemDirectoryW]
mov dword [esp + 4], ecx
mov dword [esp], ecx
call esi
push ebx
mov edi, eax
lea eax, [eax + 0xc]
push ebx
add eax, eax
mov dword [esp], eax
mov eax, dword [ebp - 0xebc]
call eax
mov dword [esp + 4], edi
mov ebx, eax
mov dword [esp], eax
call esi
push esi
push esi
mov dword [esp + 4], 0x40c534
mov dword [esp], ebx
call sym._lstrcatW_8
push edi
push edi
mov eax, dword [ebp - 0xea8]
mov dword [esp], ebx
mov dword [esp + 4], eax
call dword [sym.imp.kernelbase.dll_FindFirstFileW]
push edx
push edx
cmp word [ebx], 0
mov dword [ebp - 0xe88], eax
mov eax, ebx
je 0x406811
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x406808
cmp dword [ebp - 0xe88], 0xffffffff
mov word [eax - 4], 0
je 0x406b77
mov dword [ebp - 0xe90], ebx
mov edi, dword [sym.imp.ucrtbase.dll_wcscmp]
lea esi, [ebp - 0x7e4]
mov ebx, dword [ebp - 0xea8]
jmp 0x40685e
mov dword [esp + 4], ebx
mov eax, dword [ebp - 0xe88]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_FindNextFileW]
sub esp, 8
test eax, eax
je 0x406b71
mov dword [esp + 4], 0x40c56c
mov dword [esp], esi
call edi
test eax, eax
je 0x406840
mov dword [esp + 4], 0x40c570
mov dword [esp], esi
call edi
test eax, eax
je 0x406840
mov dword [ebp - 0xe54], 0x104
lea eax, [ebp - 0xe4c]
mov dword [ebp - 0xe4c], 0x104
mov dword [esp + 0x1c], eax
lea eax, [ebp - 0xe28]
mov dword [esp + 0x18], eax
lea eax, [ebp - 0xe54]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0xec4]
mov dword [esp + 0xc], 0x418240
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0x418240
mov dword [esp + 4], esi
mov dword [esp], 1
call dword [sym.imp.kernelbase.dll_VerFindFileW]
lea ecx, [ebp - 0xe54]
mov dword [ebp - 0xe54], 0x104
sub esp, 0x20
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebp - 0xe7c]
mov dword [esp + 0x18], ecx
mov eax, dword [ebp - 0xec4]
mov dword [esp + 0x14], eax
lea eax, [ebp - 0xe28]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xe90]
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
xor eax, eax
mov dword [esp + 4], esi
mov dword [esp], eax
call sym._VerInstallFileW_32
mov edx, eax
mov eax, dword [sym.imp.kernelbase.dll_DeleteFileW]
sub esp, 0x20
mov dword [ebp - 0xe94], eax
test edx, edx
je 0x406966
test byte [0x40939c], 4
jne 0x4078ea
mov eax, dword [ebp - 0xe7c]
mov dword [esp], eax
mov eax, dword [sym.imp.kernelbase.dll_DeleteFileW]
mov dword [ebp - 0xe94], eax
call eax
push ecx
mov dword [esp + 8], 0x103
mov eax, dword [ebp - 0xe90]
mov dword [esp + 4], eax
lea eax, [ebp - 0xe28]
mov dword [esp], eax
call sym._lstrcpynW_12
lea eax, [ebp - 0xe28]
sub esp, 0xc
cmp word [ebp - 0xe28], 0
je 0x4069a9
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x4069a0
lea ecx, [ebp - 0xe28]
sub eax, ecx
mov edx, eax
lea eax, [ebp + eax - 0xe26]
sar edx, 1
mov word [ebp + edx*2 - 0xe28], 0x5c
lea ecx, [edx + 1]
mov edx, 0x104
sub edx, ecx
mov dword [ebp - 0xe54], ecx
mov dword [esp + 8], edx
mov dword [esp + 4], esi
mov dword [esp], eax
call sym._lstrcpynW_12
lea eax, [ebp - 0xe28]
sub esp, 0xc
mov dword [esp], eax
mov eax, dword [ebp - 0xe94]
call eax
push edx
test eax, eax
jne 0x406840
test byte [0x40939c], 4
je 0x406840
mov eax, dword fs:[0x18]
mov edx, dword [eax + 0x34]
lea eax, [ebp - 0xe28]
mov dword [ebp - 0xe94], edx
call sym._wine_dbgstr_wn.constprop.0_1
mov edx, dword [ebp - 0xe94]
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], 0x40939c
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_1
jmp 0x406840
mov eax, dword [ebp - 0xa18]
mov dword [esp], eax
mov eax, dword [ebp - 0xebc]
call eax
mov edi, eax
mov eax, dword [ebp - 0x810]
test edi, edi
je 0x406741
mov ecx, dword [ebp - 0xe7c]
mov dword [esp + 0x10], edi
mov dword [esp + 4], str.PendingFileRenameOperations
mov dword [esp + 0x14], ecx
xor ecx, ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 8], ecx
mov dword [esp], eax
call ebx
sub esp, 0x18
test eax, eax
jne 0x406743
mov eax, dword [ebp - 0xa18]
cmp eax, 3
jbe 0x406743
and eax, 0xfffffffe
cmp word [edi + eax - 2], 0
jne 0x406743
cmp word [edi + eax - 4], 0
jne 0x406743
mov esi, edi
mov eax, esi
sub eax, edi
cmp eax, dword [ebp - 0xa18]
jae 0x40856b
movzx edx, word [esi]
test dx, dx
je 0x40856b
mov eax, esi
add eax, 2
cmp word [eax], 0
jne 0x406afc
lea ebx, [eax + 2]
cmp dx, 0x5c
je 0x407f04
xor eax, eax
cmp word [ebx], 0x21
jne 0x406b22
add ebx, 2
mov eax, 1
cmp word [ebx], 0x5c
je 0x407ee7
cmp word [ebx], 0
jne 0x407ece
mov dword [esp], esi
call dword [sym.imp.kernelbase.dll_RemoveDirectoryW]
push edx
test eax, eax
jne 0x406b63
mov eax, dword fs:[0x18]
cmp dword [eax + 0x34], 0x10b
jne 0x406b63
jmp 0x408898
add ebx, 2
cmp word [ebx], 0
jne 0x406b60
lea esi, [ebx + 2]
jmp 0x406ade
mov ebx, dword [ebp - 0xe90]
mov eax, dword [ebp - 0xe88]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_FindClose]
push eax
mov dword [esp], ebx
mov eax, dword [ebp - 0xeb8]
call eax
xor eax, eax
mov ecx, 1
mov edx, str.RunServicesOnce
mov dword [esp], eax
mov eax, 0x80000002
call sym._ProcessRunKeys
mov eax, dword [ebp - 0xe8c]
mov ecx, dword [ebp - 0xed4]
xor eax, 1
and eax, ecx
or eax, dword [ebp - 0xea0]
je 0x406c58
xor eax, eax
xor ecx, ecx
lea edi, [ebp - 0x80c]
mov edx, str.RunServices
mov dword [esp], eax
mov eax, 0x80000002
call sym._ProcessRunKeys
xor eax, eax
mov ecx, 0x10
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0xe7c]
mov dword [ebp - 0x810], 0x44
mov dword [esp + 0x24], eax
mov eax, dword [ebp - 0xea8]
mov dword [esp + 0x14], 8
mov dword [esp + 0x20], eax
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
mov dword [esp + 4], eax
mov dword [esp], str.C:windows_system32_services.exe
call dword [sym.imp.kernelbase.dll_CreateProcessW]
sub esp, 0x28
test eax, eax
jne 0x407801
test byte [0x40939c], 2
jne 0x40811e
mov eax, dword [ebp - 0xea0]
or eax, dword [ebp - 0xe98]
jne 0x407409
xor eax, eax
mov dword [esp + 0x20], eax
mov eax, dword [ebp - 0xec4]
mov dword [esp + 0x14], 0xf003f
mov dword [esp + 0x1c], eax
xor eax, eax
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
mov dword [esp + 4], str.Volatile_Environment
mov dword [esp], 0x80000001
mov eax, dword [ebp - 0xe80]
call eax
sub esp, 0x24
test eax, eax
jne 0x406e52
mov edi, dword [ebp - 0xea8]
xor eax, eax
mov dword [esp + 4], 0x801a
mov dword [esp + 0xc], eax
mov ebx, dword [0x4194b0]
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp + 0x10], edi
mov dword [esp], eax
call ebx
sub esp, 0x14
test eax, eax
js 0x406cfe
mov eax, dword [ebp - 0xc20]
mov ecx, edi
mov edx, str.APPDATA
call sym._set_reg_value.isra.0
mov eax, dword [ebp - 0xc20]
mov ecx, str.Console
mov edx, str.CLIENTNAME
xor esi, esi
call sym._set_reg_value.isra.0
mov edi, dword [ebp - 0xea8]
xor ecx, ecx
mov dword [esp], esi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edi
mov dword [esp + 8], ecx
mov dword [esp + 4], 0x8028
call ebx
sub esp, 0x14
test eax, eax
js 0x406d80
mov eax, dword [ebp - 0xc20]
mov ecx, edi
mov edx, str.USERPROFILE
call sym._set_reg_value.isra.0
mov eax, dword [ebp - 0xc20]
lea ecx, [ebp - 0x80c]
mov edx, str.HOMEPATH
call sym._set_reg_value.isra.0
mov eax, dword [ebp - 0xc20]
mov ecx, edi
mov edx, str.HOMEDRIVE
mov word [ebp - 0x80c], 0
call sym._set_reg_value.isra.0
mov dword [ebp - 0xe28], 0x104
lea eax, [ebp - 0xe28]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xea8]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_GetUserNameW]
push edx
push edx
test eax, eax
jne 0x4079a0
mov eax, dword [ebp - 0xc20]
mov ecx, 0x40b244
mov edx, str.HOMESHARE
xor esi, esi
call sym._set_reg_value.isra.0
mov edi, dword [ebp - 0xea8]
xor eax, eax
mov dword [esp + 0xc], esi
mov dword [esp + 8], esi
mov dword [esp + 0x10], edi
mov dword [esp + 4], 0x801c
mov dword [esp], eax
call ebx
sub esp, 0x14
test eax, eax
js 0x406dfe
mov eax, dword [ebp - 0xc20]
mov ecx, edi
mov edx, str.LOCALAPPDATA
call sym._set_reg_value.isra.0
lea eax, [ebp - 0xe28]
lea ebx, [ebp - 0xa14]
mov dword [ebp - 0xe28], 0x10
mov dword [esp + 4], eax
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_GetComputerNameW]
push ecx
push ecx
test eax, eax
jne 0x4079bb
mov eax, dword [ebp - 0xc20]
mov edx, str.SESSIONNAME
mov ecx, str.Console
call sym._set_reg_value.isra.0
mov eax, dword [ebp - 0xc20]
mov dword [esp], eax
mov eax, dword [ebp - 0xea4]
call eax
push edx
xor eax, eax
mov dword [esp], 0x40ca48
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
mov dword [esp + 4], eax
call dword [0x4195f4]
sub esp, 0x14
test eax, eax
je 0x406e82
mov dword [esp], eax
call dword [0x4195f0]
push eax
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 - 0xe8c]
je 0x407202
test byte [0x40939c], 8
jne 0x4071d9
mov eax, dword [ebp - 0xe78]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_SetEvent]
push edx
jmp 0x40539a
movzx eax, word [esi]
mov edi, esi
mov ebx, esi
test ax, ax
je 0x406f5c
cmp ax, 0x3b
je 0x406f3c
mov dword [esp + 4], 0x3d
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_wcschr]
test eax, eax
je 0x406f3c
mov word [eax], 0
lea esi, [eax + 2]
mov dword [esp + 4], ebx
mov dword [esp], 0x40c364
call dword [sym.imp.kernelbase.dll_lstrcmpiW]
push ecx
push ecx
test eax, eax
jne 0x40701d
test byte [0x40939c], 8
jne 0x407098
mov dword [esp], esi
call dword [sym.imp.kernelbase.dll_DeleteFileW]
push edx
test eax, eax
je 0x406fdc
mov ebx, esi
cmp word [ebx], 0
mov eax, ebx
je 0x406f51
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x406f48
lea ebx, [eax + 2]
movzx eax, word [ebx]
test ax, ax
jne 0x406edd
mov eax, dword [ebp - 0xea8]
cmp edi, eax
je 0x406f71
mov dword [esp], edi
mov eax, dword [ebp - 0xeb8]
call eax
mov dword [esp + 8], 1
mov dword [esp + 4], str.wininit.bak
mov dword [esp], str.wininit.ini
call dword [sym.imp.kernelbase.dll_MoveFileExW]
sub esp, 0xc
test eax, eax
jne 0x4066c9
test byte [0x40939c], 2
je 0x4066c9
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], 0x40939c
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
jmp 0x4066c9
test byte [0x40939c], 4
je 0x406f3a
mov eax, esi
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], 0x40939c
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_1
jmp 0x406f3a
test byte [0x40939c], 8
jne 0x4070cc
mov dword [esp + 8], 3
mov dword [esp + 4], ebx
mov dword [esp], esi
call dword [sym.imp.kernelbase.dll_MoveFileExW]
sub esp, 0xc
test eax, eax
jne 0x406f3a
test byte [0x40939c], 4
je 0x406f3a
mov eax, ebx
call sym._wine_dbgstr_wn.constprop.0_1
mov ebx, eax
mov eax, esi
call sym._wine_dbgstr_wn.constprop.0_1
mov dword [esp + 0x14], ebx
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], 0x40939c
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_1
jmp 0x406f3a
mov eax, esi
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], 0x40939c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x406f28
mov eax, ebx
call sym._wine_dbgstr_wn.constprop.0_1
mov dword [ebp - 0xe90], eax
mov eax, esi
call sym._wine_dbgstr_wn.constprop.0_1
mov edx, dword [ebp - 0xe90]
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], 0x40939c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x40702a
xor eax, eax
mov esi, dword [sym.imp.advapi32.dll_RegQueryValueExW]
mov dword [ebp - 0x810], eax
mov eax, dword [ebp - 0xea8]
mov dword [esp + 4], str.SFCDllCacheDir
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xe60]
mov dword [esp], eax
call esi
sub esp, 0x18
test eax, eax
jne 0x40678c
mov eax, dword [ebp - 0x810]
lea edx, [eax + 2]
add eax, 8
mov dword [ebp - 0x810], edx
mov dword [esp], eax
mov eax, dword [ebp - 0xebc]
call eax
mov ebx, eax
mov eax, dword [ebp - 0xea8]
mov dword [esp + 4], str.SFCDllCacheDir
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xe60]
mov dword [esp], eax
call esi
sub esp, 0x18
mov dword [esp + 4], 0x40c52e
mov dword [esp], ebx
call sym._lstrcatW_8
push eax
push eax
mov eax, dword [ebp - 0xe60]
mov dword [esp], eax
mov eax, dword [ebp - 0xea4]
call eax
push eax
test ebx, ebx
jne 0x4067e2
jmp 0x40679e
mov dword [esp + 0xc], str.Operation_done_n
mov dword [esp + 8], str.main
mov dword [esp + 4], 0x40939c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x406ebc
xor eax, eax
xor ecx, ecx
mov edx, 0x40ca5e
mov dword [esp], eax
mov eax, 0x80000002
call sym._ProcessRunKeys
xor eax, eax
xor ecx, ecx
mov edx, 0x40ca5e
mov dword [esp], eax
mov eax, 0x80000001
call sym._ProcessRunKeys
xor eax, eax
mov dword [ebp - 0xe64], eax
mov dword [ebp - 0xe60], eax
mov dword [ebp - 0xe54], eax
mov dword [ebp - 0xc20], eax
test byte [0x40939c], 8
jne 0x408269
lea eax, [ebp - 0xe64]
mov dword [esp], eax
call dword [0x4194ac]
push edi
test eax, eax
js 0x408233
lea eax, [ebp - 0xe54]
xor esi, esi
mov dword [esp + 4], 7
mov dword [esp + 8], eax
mov dword [esp], esi
call dword [0x4194b4]
sub esp, 0xc
test eax, eax
js 0x407e6a
mov eax, dword [ebp - 0xe64]
mov ecx, dword [ebp - 0xec8]
xor ebx, ebx
mov edx, dword [eax]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], 0x411eb8
mov dword [esp + 8], ebx
mov ecx, dword [ebp - 0xe54]
mov dword [esp], eax
mov dword [esp + 4], ecx
call dword [edx + 0x14]
sub esp, 0x14
test eax, eax
js 0x408491
mov eax, dword [ebp - 0xe60]
mov ecx, dword [ebp - 0xec4]
lea edi, [ebp - 0xe4c]
mov edx, dword [eax]
mov dword [esp + 0xc], ecx
xor ecx, ecx
mov dword [esp + 8], 0xc0
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [edx + 0x10]
sub esp, 0x10
test eax, eax
js 0x40881e
mov esi, dword [0x4194bc]
jmp 0x40732c
test byte [0x40939c], 8
jne 0x408165
mov eax, dword [ebp - 0xe4c]
mov dword [esp], eax
call dword [0x4194a8]
push eax
mov eax, dword [ebp - 0xc20]
lea ecx, [ebp - 0xe28]
mov edx, dword [eax]
mov dword [esp + 0xc], ecx
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 0x407e77
cmp dword [ebp - 0xe28], 1
jne 0x407e77
mov eax, dword [ebp - 0xe60]
mov ecx, dword [ebp - 0xe7c]
mov edx, dword [eax]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], 0x8000
mov ecx, dword [ebp - 0xe4c]
mov dword [esp], eax
mov dword [esp + 4], ecx
call dword [edx + 0x2c]
sub esp, 0x10
test eax, eax
js 0x40730f
mov dword [esp + 0xc], 0x104
mov eax, dword [ebp - 0xea8]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xe4c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xe7c]
mov dword [esp], eax
call dword [0x4194c8]
sub esp, 0x10
test eax, eax
jns 0x407f2d
test byte [0x40939c], 8
je 0x40731c
mov dword [esp + 0xc], str.Unable_to_parse_display_name._n
mov dword [esp + 8], str.ProcessStartupItems
mov dword [esp + 4], 0x40939c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x40731c
mov esi, dword [sym.imp.ucrtbase.dll__wgetenv]
mov dword [esp], str.WINECONFIGDIR
call esi
mov dword [esp], str.WINEBUILDDIR
mov ebx, eax
call esi
mov edi, eax
test eax, eax
je 0x408292
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_wcslen]
add eax, 0x11
add eax, eax
mov dword [esp], eax
mov eax, dword [ebp - 0xebc]
call eax
mov esi, eax
test eax, eax
je 0x408475
xor eax, eax
movzx edx, word [edi + eax]
mov word [esi + eax], dx
add eax, 2
test dx, dx
jne 0x407452
mov dword [esp + 4], str.loader
mov dword [esp], esi
call sym._lstrcatW_8
push eax
push eax
mov dword [esp + 4], str.wine.inf
mov dword [esp], esi
call sym._lstrcatW_8
push eax
push eax
xor eax, eax
mov word [esi + 2], 0x5c
mov dword [esp + 4], eax
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll__wopen]
mov edi, eax
cmp eax, 0xffffffff
je 0x4085d2
mov eax, dword [ebp - 0xec4]
mov dword [esp], edi
mov dword [esp + 4], eax
call dword [sym.imp.ucrtbase.dll__fstat32]
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll__close]
mov edx, dword [ebp - 0xc04]
mov eax, ebx
call sym._update_timestamp
or eax, dword [ebp - 0xe98]
je 0x4077f1
xor edi, edi
lea eax, [ebp - 0xe28]
mov dword [ebp - 0xe70], edi
mov dword [esp + 0x14], edi
lea edi, [ebp - 0xe70]
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 0x407528
mov word [ebp - 0xe28], 0
mov ecx, 1
mov edx, str.PreInstall
mov eax, esi
call sym._start_rundll32
mov dword [ebp - 0xe70], eax
test eax, eax
je 0x407630
call sym._prettyprint_configdir
mov ebx, eax
xor eax, eax
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_GetModuleHandleW]
xor ecx, ecx
push edx
mov dword [esp + 0x10], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], sym._wait_dlgproc_16
mov dword [esp + 4], 0x65
mov dword [esp], eax
call dword [0x419588]
sub esp, 0x14
mov dword [ebp - 0xe88], eax
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [0x4195d4]
push ebx
push ebx
xor ebx, ebx
cmp dword [ebp - 0xe70], 0
je 0x4075e6
xor eax, eax
mov dword [esp + 0x10], 0x1cff
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], eax
mov dword [esp + 4], edi
mov dword [esp], 1
call dword [0x4195b8]
sub esp, 0x14
test eax, eax
jne 0x407cf3
mov eax, dword [ebp - 0xe70]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_CloseHandle]
push eax
movzx eax, word [ebp + ebx*4 - 0xe28]
test ax, ax
je 0x407620
test byte [ebp + ebx*4 - 0xe26], 4
je 0x407eba
mov ecx, 1
mov edx, str.DefaultInstall
mov eax, esi
call sym._start_rundll32
mov dword [ebp - 0xe70], eax
add ebx, 1
jmp 0x40759b
mov eax, dword [ebp - 0xe88]
mov dword [esp], eax
call dword [0x41958c]
push ebx
xor eax, eax
lea edi, [ebp - 0x80c]
mov ecx, 6
xor edx, edx
rep stosd dword es:[edi], eax
mov dword [ebp - 0x810], 0x1c
mov dword [esp + 4], edx
mov dword [esp], edx
call dword [0x419494]
push ecx
push ecx
cmp eax, 0xffffffff
je 0x408752
mov dword [ebp - 0xe90], esi
mov edi, 0x40ccbc
mov esi, eax
mov eax, dword [ebp - 0xea8]
mov ebx, dword [edi]
mov dword [esp + 8], 0x413728
mov dword [esp], esi
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
mov dword [esp + 4], ebx
call dword [0x419490]
sub esp, 0x1c
test eax, eax
jne 0x40818e
mov eax, dword fs:[0x18]
cmp dword [eax + 0x34], 0xe0000207
je 0x4076c6
test byte [0x40939c], 2
jne 0x40861c
add edi, 0xc
mov eax, str.install_root_pnp_devices
cmp eax, edi
jne 0x407670
mov eax, esi
mov esi, dword [ebp - 0xe90]
mov dword [esp], eax
call dword [0x419498]
push eax
lea eax, [ebp - 0xe6c]
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 0x4077d7
lea eax, [ebp - 0xe64]
xor ebx, ebx
xor edi, edi
mov dword [ebp - 0xe64], 0x50
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x50
mov eax, dword [ebp - 0xe7c]
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xe6c]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_GetTokenInformation]
mov eax, dword [ebp - 0xe6c]
sub esp, 0x14
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_CloseHandle]
lea eax, [ebp - 0xe68]
push edx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xa18]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_ConvertSidToStringSidW]
push ecx
push ecx
mov dword [esp + 0x20], ebx
mov eax, dword [ebp - 0xec8]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], eax
xor eax, eax
mov dword [esp + 0x14], 0xf003f
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
mov dword [esp + 4], str.SoftwareMicrosoftWindows_NTCurrentVersionProfileList
mov dword [esp], 0x80000002
mov eax, dword [ebp - 0xe80]
call eax
sub esp, 0x24
test eax, eax
je 0x4086ed
mov eax, dword [ebp - 0xe68]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_LocalFree]
push edx
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 dword [esp], esi
mov eax, dword [ebp - 0xeb8]
call eax
jmp 0x406c6a
mov eax, dword [ebp - 0xa14]
mov ebx, dword [sym.imp.kernelbase.dll_CloseHandle]
xor esi, esi
xor edi, edi
mov dword [esp], eax
call ebx
push ecx
mov dword [esp + 0xc], str.__wine_SvcctlStarted
mov dword [esp + 8], esi
mov dword [esp + 4], 1
mov dword [esp], edi
call dword [sym.imp.kernelbase.dll_CreateEventW]
mov dword [ebp - 0xc20], eax
mov eax, dword [ebp - 0xa18]
sub esp, 0x10
mov dword [ebp - 0xc1c], eax
xor eax, eax
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xec4]
mov dword [esp], 2
mov dword [esp + 4], eax
call dword [sym.imp.kernelbase.dll_WaitForMultipleObjects]
sub esp, 0x10
sub eax, 1
je 0x4084c7
mov eax, dword [ebp - 0xa18]
mov dword [esp], eax
call ebx
push eax
mov eax, dword [ebp - 0xc20]
mov dword [esp], eax
call ebx
push eax
jmp 0x406c58
mov eax, dword [ebp - 0xa18]
mov dword [esp], eax
mov eax, dword [ebp - 0xea4]
call eax
push eax
jmp 0x406279
mov ecx, str.ARM_processor_family
mov edx, str.Identifier
mov eax, ebx
call sym._set_reg_value.isra.0
jmp 0x405735
mov eax, dword [ebp - 0xeac]
mov dword [esp], eax
mov eax, dword [sym.imp.ucrtbase.dll_free]
mov dword [ebp - 0xeb8], eax
call eax
mov eax, dword [sym.imp.advapi32.dll_RegCloseKey]
mov dword [ebp - 0xea4], eax
jmp 0x40622b
mov eax, esi
mov dword [ebp - 0xe94], edx
call sym._wine_dbgstr_wn.constprop.0_1
mov edx, dword [ebp - 0xe94]
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], 0x40939c
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_1
jmp 0x40694f
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.cannot_open___wine_user_shared_data:__lx_n
mov dword [esp + 8], str.create_user_shared_data
mov dword [esp + 4], 0x40939c
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
jmp 0x4054cd
mov eax, dword fs:[0x18]
mov ebx, dword [eax + 0x34]
mov eax, dword [ebp - 0xea8]
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], 0x40939c
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
jmp 0x405ec0
mov ecx, dword [ebp - 0xea8]
mov eax, dword [ebp - 0xc20]
mov edx, str.USERNAME
call sym._set_reg_value.isra.0
jmp 0x406dad
mov eax, dword [ebp - 0xc20]
mov ecx, ebx
mov edx, str.USERDOMAIN
call sym._set_reg_value.isra.0
mov ecx, dword [ebp - 0xe7c]
mov eax, dword [ebp - 0xc20]
mov edx, str.LOGONSERVER
mov dword [ebp - 0xa18], 0x5c005c
call sym._set_reg_value.isra.0
jmp 0x406e2b
xor edx, edx
mov dword [esp + 8], esi
mov dword [esp + 4], edx
mov eax, dword [ebp - 0xecc]
mov dword [esp], eax
call sym._memset
jmp 0x4056b7
mov eax, dword [ebp - 0xeb0]
mov edi, dword [ebp - 0xe68]
xor edx, edx
mov dword [esp], eax
mov esi, dword [ebp - 0xeac]
mov eax, 2
mov ecx, esi
call sym._find_smbios_entry
mov ebx, eax
test eax, eax
je 0x407ac2
mov ecx, eax
movzx eax, byte [eax + 1]
mov edx, dword [ebp - 0xeb0]
mov dword [ebp - 0xeac], esi
sub ecx, esi
lea esi, [ecx + eax]
movzx ecx, byte [ebx + 4]
mov dword [esp + 8], edx
mov edx, str.BaseBoardManufacturer
mov dword [esp + 4], esi
mov eax, dword [ebp - 0xeac]
mov dword [esp], eax
mov eax, edi
call sym._set_value_from_smbios_string
mov edx, dword [ebp - 0xeb0]
movzx ecx, byte [ebx + 5]
mov dword [esp + 4], esi
mov dword [esp + 8], edx
mov eax, dword [ebp - 0xeac]
mov edx, str.BaseBoardProduct
mov dword [esp], eax
mov eax, edi
call sym._set_value_from_smbios_string
mov edx, dword [ebp - 0xeb0]
movzx ecx, byte [ebx + 6]
mov dword [esp + 4], esi
mov dword [esp + 8], edx
mov eax, dword [ebp - 0xeac]
mov edx, str.BaseBoardVersion
mov dword [esp], eax
mov eax, edi
call sym._set_value_from_smbios_string
mov eax, dword [ebp - 0xeb0]
mov esi, dword [ebp - 0xe68]
xor edx, edx
mov dword [esp], eax
mov edi, dword [ebp - 0xeac]
xor eax, eax
mov ecx, edi
call sym._find_smbios_entry
mov ebx, eax
test eax, eax
je 0x407bbc
mov ecx, eax
movzx eax, byte [eax + 1]
mov edx, dword [ebp - 0xeb0]
mov dword [ebp - 0xeac], edi
sub ecx, edi
lea edi, [ecx + eax]
movzx ecx, byte [ebx + 4]
mov dword [esp + 8], edx
mov edx, str.BIOSVendor
mov dword [esp + 4], edi
mov eax, dword [ebp - 0xeac]
mov dword [esp], eax
mov eax, esi
call sym._set_value_from_smbios_string
mov edx, dword [ebp - 0xeb0]
movzx ecx, byte [ebx + 5]
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov eax, dword [ebp - 0xeac]
mov edx, str.BIOSVersion
mov dword [esp], eax
mov eax, esi
call sym._set_value_from_smbios_string
mov edx, dword [ebp - 0xeb0]
movzx ecx, byte [ebx + 8]
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov eax, dword [ebp - 0xeac]
mov edx, str.BIOSReleaseDate
mov dword [esp], eax
mov eax, esi
call sym._set_value_from_smbios_string
cmp byte [ebx + 1], 0x17
jbe 0x408522
movzx ecx, byte [ebx + 0x14]
mov edx, str.BiosMajorRelease
mov eax, esi
call sym._set_reg_value_dword.isra.0
movzx ecx, byte [ebx + 0x15]
mov edx, str.BiosMinorRelease
mov eax, esi
call sym._set_reg_value_dword.isra.0
movzx ecx, byte [ebx + 0x16]
mov edx, str.ECFirmwareMajorVersion
mov eax, esi
call sym._set_reg_value_dword.isra.0
movzx ecx, byte [ebx + 0x17]
mov edx, str.ECFirmwareMinorVersion
mov eax, esi
call sym._set_reg_value_dword.isra.0
mov eax, dword [ebp - 0xeb0]
mov edi, dword [ebp - 0xe68]
xor edx, edx
mov dword [esp], eax
mov esi, dword [ebp - 0xeac]
mov eax, 1
mov ecx, esi
call sym._find_smbios_entry
mov ebx, eax
test eax, eax
je 0x407cc7
mov ecx, eax
movzx eax, byte [eax + 1]
mov edx, dword [ebp - 0xeb0]
mov dword [ebp - 0xeac], esi
sub ecx, esi
lea esi, [ecx + eax]
movzx ecx, byte [ebx + 4]
mov dword [esp + 8], edx
mov edx, str.SystemManufacturer
mov dword [esp + 4], esi
mov eax, dword [ebp - 0xeac]
mov dword [esp], eax
mov eax, edi
call sym._set_value_from_smbios_string
mov edx, dword [ebp - 0xeb0]
movzx ecx, byte [ebx + 5]
mov dword [esp + 4], esi
mov dword [esp + 8], edx
mov eax, dword [ebp - 0xeac]
mov edx, str.SystemProductName
mov dword [esp], eax
mov eax, edi
call sym._set_value_from_smbios_string
mov edx, dword [ebp - 0xeb0]
movzx ecx, byte [ebx + 6]
mov dword [esp + 4], esi
mov dword [esp + 8], edx
mov eax, dword [ebp - 0xeac]
mov edx, str.SystemVersion
mov dword [esp], eax
mov eax, edi
call sym._set_value_from_smbios_string
cmp byte [ebx + 1], 0x1a
jbe 0x408589
mov edx, dword [ebp - 0xeb0]
movzx ecx, byte [ebx + 0x19]
mov dword [esp + 4], esi
mov dword [esp + 8], edx
mov eax, dword [ebp - 0xeac]
mov edx, str.SystemSKU
mov dword [esp], eax
mov eax, edi
call sym._set_value_from_smbios_string
mov edx, dword [ebp - 0xeb0]
movzx ecx, byte [ebx + 0x1a]
mov dword [esp + 4], esi
mov dword [esp + 8], edx
mov eax, dword [ebp - 0xeac]
mov edx, str.SystemFamily
mov dword [esp], eax
mov eax, edi
call sym._set_value_from_smbios_string
mov eax, dword [ebp - 0xe68]
mov dword [esp], eax
mov eax, dword [sym.imp.advapi32.dll_RegCloseKey]
mov dword [ebp - 0xea4], eax
call eax
push eax
jmp 0x40561a
mov eax, dword [ebp - 0xea8]
mov dword [esp], eax
call dword [0x419590]
push eax
xor eax, eax
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xea8]
mov dword [esp], eax
call dword [0x4195c0]
sub esp, 0x14
test eax, eax
jne 0x407ce3
jmp 0x40759b
mov esi, dword [ebp - 0xe44]
movzx eax, word [0x40ce6e]
mov byte [ebx + 0x28b], 1
mov ecx, esi
mov edx, esi
mov al, cl
shr edx, 8
mov ecx, esi
and edx, 1
shr al, 7
mov ah, dl
mov edx, esi
mov word [ebx + 0x276], ax
mov eax, esi
shr edx, 0x1a
shr eax, 0xd
and eax, 1
mov byte [ebx + 0x27a], al
mov eax, esi
shr eax, 0xe
and eax, 1
mov byte [ebx + 0x27b], al
mov eax, esi
shr eax, 1
and eax, 1
mov byte [ebx + 0x27c], al
mov eax, esi
shr eax, 0x15
and eax, 1
mov byte [ebx + 0x27d], al
mov eax, esi
shr eax, 0x10
and eax, 1
mov byte [ebx + 0x27e], al
mov eax, esi
shr eax, 0x13
and eax, 1
mov byte [ebx + 0x281], al
mov eax, esi
shr eax, 0x17
and eax, 1
mov byte [ebx + 0x285], al
mov eax, esi
shr eax, 0x14
and eax, 1
mov byte [ebx + 0x282], al
mov eax, esi
shr eax, 0x16
and eax, 1
mov byte [ebx + 0x27f], al
mov eax, esi
shr eax, 0x1d
and eax, 1
mov byte [ebx + 0x280], al
movzx eax, word [0x40ce6e]
mov al, dl
mov edx, esi
shr edx, 0x1b
and al, 1
and edx, 1
mov ah, dl
mov edx, esi
mov word [ebx + 0x288], ax
mov eax, esi
shr edx, 0xf
shr eax, 0x1c
and eax, 1
mov byte [ebx + 0x28a], al
xor eax, eax
mov al, dl
mov edx, esi
and al, 1
shr edx, 0x18
and edx, 1
shr ecx, 9
mov ah, dl
mov edx, esi
and ecx, 0x10000
movzx eax, ax
shr edx, 6
and edx, 0x1000000
or eax, ecx
or eax, edx
mov dword [ebx + 0x298], eax
mov eax, esi
shr eax, 0x1f
mov byte [ebx + 0x29c], al
lea eax, [ebp - 0xc20]
mov dword [ebp - 0xec4], eax
lea eax, [ebp - 0xe60]
mov dword [ebp - 0xec8], eax
jmp 0x405ddd
test byte [0x40939c], 8
jne 0x408854
mov eax, dword [ebp - 0xc20]
test eax, eax
je 0x407e8a
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
push esi
mov eax, dword [ebp - 0xe60]
test eax, eax
je 0x407e9d
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
push ebx
mov eax, dword [ebp - 0xe54]
test eax, eax
je 0x406eaf
mov dword [esp], eax
call dword [0x4194a8]
push ecx
jmp 0x406eaf
movzx ecx, ax
mov edx, str.Wow64Install
mov eax, esi
call sym._start_rundll32
jmp 0x407612
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 0x406b63
cmp word [ebx + 2], 0x3f
jne 0x407ece
cmp word [ebx + 4], 0x3f
jne 0x407ece
cmp word [ebx + 6], 0x5c
jne 0x407ece
add ebx, 8
jmp 0x406b2c
cmp word [esi + 2], 0x3f
jne 0x406b12
cmp word [esi + 4], 0x3f
jne 0x406b12
cmp word [esi + 6], 0x5c
jne 0x406b12
add esi, 8
jmp 0x406b12
xor eax, eax
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xea8]
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp], eax
call esi
sub esp, 0x18
mov ebx, eax
cmp eax, 0x20
ja 0x40731c
test byte [0x40939c], 4
je 0x40731c
mov eax, dword [ebp - 0xea8]
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], 0x40939c
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_1
jmp 0x40731c
cmp ax, 0xc
jne 0x407e4d
mov byte [ebx + 0x291], 1
mov eax, dword [ebp - 0xe44]
mov byte [ebx + 0x276], 1
mov edx, eax
mov ecx, eax
mov byte [ebx + 0x280], 1
shr edx, 2
shr ecx, 5
mov byte [ebx + 0x28b], 1
and edx, 1
mov byte [ebx + 0x293], dl
mov edx, eax
shr edx, 3
and edx, 1
mov byte [ebx + 0x292], dl
mov edx, eax
shr edx, 4
and edx, 1
mov byte [ebx + 0x296], dl
movzx edx, word [0x40ce6e]
mov dl, cl
mov ecx, eax
shr al, 7
shr ecx, 6
and dl, 1
mov byte [ebx + 0x2a1], al
xor eax, eax
and ecx, 1
mov dh, cl
mov word [ebx + 0x29f], dx
mov dword [esp + 0x14], eax
lea eax, [ebp - 0xc20]
mov dword [esp + 0x10], 0x20
mov dword [ebp - 0xec4], eax
mov dword [esp + 0xc], eax
lea eax, [ebp - 0xe60]
mov dword [esp + 8], 4
mov dword [ebp - 0xec8], eax
mov dword [esp + 4], eax
mov dword [esp], 0xb5
call dword [sym.imp.ntdll.dll_NtQuerySystemInformationEx]
sub esp, 0x18
test eax, eax
jne 0x405ddd
movzx ecx, word [0x40ce70]
xor eax, eax
jmp 0x408096
cmp dx, 0x1c4
jne 0x408093
mov word [ebx + 0x286], cx
add eax, 1
movzx edx, word [ebp + eax*4 - 0xc20]
test dx, dx
je 0x405ddd
cmp dx, 0x14c
jne 0x408085
mov byte [ebx + 0x277], 1
mov byte [ebx + 0x27a], 1
mov byte [ebx + 0x27c], 1
mov byte [ebx + 0x27e], 1
mov byte [ebx + 0x281], 1
mov byte [ebx + 0x294], 1
mov word [ebx + 0x298], cx
mov byte [ebx + 0x29a], 1
jmp 0x408093
test byte [0x40939c], 2
je 0x4054cd
mov dword [esp + 0xc], str.cannot_map___wine_user_shared_data_n
mov dword [esp + 8], str.create_user_shared_data
mov dword [esp + 4], 0x40939c
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
jmp 0x4054cd
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], 0x40939c
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
jmp 0x406c58
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_strlen]
lea edx, [ebx + eax]
jmp 0x4065af
mov dword [esp + 0xc], str.Unable_to_get_display_name_of_enumeration_item._n
mov dword [esp + 8], str.ProcessStartupItems
mov dword [esp + 4], 0x40939c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x40731c
mov eax, dword [edi + 4]
mov dword [ebp - 0xe88], eax
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_strlen]
add eax, 2
add eax, eax
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xe88]
mov dword [esp + 8], 1
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xea8]
mov dword [esp], esi
mov dword [esp + 4], eax
call dword [0x41949c]
sub esp, 0x14
test eax, eax
jne 0x4083f5
test byte [0x40939c], 2
je 0x4076c6
mov eax, dword fs:[0x18]
mov edx, dword [eax + 0x34]
mov eax, ebx
mov dword [ebp - 0xe88], edx
call sym._wine_dbgstr_an.constprop.0
mov edx, dword [ebp - 0xe88]
mov dword [esp + 0xc], str.Failed_to_set_hardware_id_for__s__error__lx._n
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov dword [esp + 8], str.install_root_pnp_devices
mov dword [esp + 4], 0x40939c
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
jmp 0x4076c6
test byte [0x40939c], 2
je 0x407e77
mov dword [esp + 0xc], str.Couldnt_get_desktop_folder._n
mov dword [esp + 8], str.ProcessStartupItems
mov dword [esp + 4], 0x40939c
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
jmp 0x407e77
mov dword [esp + 0xc], str.Processing_items_in_the_StartUp_folder._n
mov dword [esp + 8], str.ProcessStartupItems
mov dword [esp + 4], 0x40939c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x407255
mov dword [esp], str.WINEDATADIR
call esi
mov edi, eax
test eax, eax
je 0x408475
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_wcslen]
add eax, 0xa
add eax, eax
mov dword [esp], eax
mov eax, dword [ebp - 0xebc]
call eax
mov esi, eax
test eax, eax
je 0x408475
xor eax, eax
movzx edx, word [edi + eax]
mov word [esi + eax], dx
add eax, 2
test dx, dx
jne 0x4082ca
jmp 0x407474
mov eax, dword [ebp - 0xec4]
xor edx, edx
mov dword [ebp - 0xc20], 0x100
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0xea8]
mov dword [esp + 8], edx
mov dword [esp + 0x10], eax
lea eax, [ebp - 0xe28]
mov dword [esp + 0xc], eax
mov dword [esp + 4], str.ComputerName
mov eax, dword [ebp - 0xe4c]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
sub esp, 0x18
test eax, eax
je 0x408333
xor eax, eax
mov dword [ebp - 0xc20], eax
mov eax, dword [ebp - 0xe4c]
mov dword [esp], eax
mov eax, dword [ebp - 0xea4]
call eax
push eax
cmp dword [ebp - 0xc20], 0
je 0x406642
xor eax, eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], eax
xor eax, eax
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 0x14], 0xf003f
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
mov dword [esp + 4], str.ActiveComputerName
mov eax, dword [ebp - 0xe54]
mov dword [esp], eax
mov eax, dword [ebp - 0xe80]
call eax
sub esp, 0x24
test eax, eax
jne 0x406642
mov eax, dword [ebp - 0xc20]
xor esi, esi
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0xea8]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xe28]
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp + 4], str.ComputerName
mov eax, dword [ebp - 0xe4c]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegSetValueExW]
mov eax, dword [ebp - 0xe4c]
sub esp, 0x18
mov dword [esp], eax
mov eax, dword [ebp - 0xea4]
call eax
push edi
jmp 0x406642
mov eax, dword [ebp - 0xea8]
mov dword [esp + 4], esi
mov dword [esp], 0x19
mov dword [esp + 8], eax
call dword [0x41948c]
sub esp, 0xc
test eax, eax
jne 0x408663
test byte [0x40939c], 2
je 0x4076c6
mov eax, dword fs:[0x18]
mov edx, dword [eax + 0x34]
mov eax, ebx
mov dword [ebp - 0xe88], edx
call sym._wine_dbgstr_an.constprop.0
mov edx, dword [ebp - 0xe88]
mov dword [esp + 0xc], str.Failed_to_register_device__s__error__lx._n
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov dword [esp + 8], str.install_root_pnp_devices
mov dword [esp + 4], 0x40939c
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
jmp 0x4076c6
mov eax, ebx
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 0x406c6a
test byte [0x40939c], 8
je 0x407e77
mov dword [esp + 0xc], str.Couldnt_bind_IShellFolder_to_StartUp_folder._n
mov dword [esp + 8], str.ProcessStartupItems
mov dword [esp + 4], 0x40939c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x407e77
lea eax, [ebp - 0xe28]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xa18]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_GetExitCodeProcess]
push edx
push edx
test byte [0x40939c], 2
je 0x40787a
mov eax, dword [ebp - 0xe28]
mov dword [esp + 0xc], str.Unexpected_termination_of_services.exe___exit_code__ld_n
mov dword [esp + 8], str.start_services_process
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x40939c
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
jmp 0x40787a
mov eax, esi
mov ecx, 0xff
mov edx, str.BiosMajorRelease
call sym._set_reg_value_dword.isra.0
mov eax, esi
mov ecx, 0xff
mov edx, str.BiosMinorRelease
call sym._set_reg_value_dword.isra.0
mov eax, esi
mov ecx, 0xff
mov edx, str.ECFirmwareMajorVersion
call sym._set_reg_value_dword.isra.0
mov ecx, 0xff
mov edx, str.ECFirmwareMinorVersion
mov eax, esi
call sym._set_reg_value_dword.isra.0
jmp 0x407bbc
mov dword [esp + 4], str.PendingFileRenameOperations
mov eax, dword [ebp - 0x810]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegDeleteValueW]
push ecx
push ecx
jmp 0x406743
mov ebx, dword [ebp - 0xeb0]
mov dword [esp + 4], esi
xor ecx, ecx
mov edx, str.SystemSKU
mov dword [esp + 8], ebx
mov eax, dword [ebp - 0xeac]
mov dword [esp], eax
mov eax, edi
call sym._set_value_from_smbios_string
mov dword [esp + 8], ebx
xor ecx, ecx
mov edx, str.SystemFamily
mov dword [esp + 4], esi
mov eax, dword [ebp - 0xeac]
mov dword [esp], eax
mov eax, edi
call sym._set_value_from_smbios_string
jmp 0x407cc7
call dword [sym.imp.ucrtbase.dll__errno]
mov eax, dword [eax]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_strerror]
mov dword [ebp - 0xe88], eax
mov eax, esi
call sym._wine_dbgstr_wn.constprop.0_1
mov edi, eax
mov eax, ebx
call sym._wine_dbgstr_wn.constprop.0_1
mov edx, dword [ebp - 0xe88]
mov dword [esp + 8], edi
mov dword [esp + 4], eax
mov dword [esp + 0xc], edx
mov dword [esp], str.wine:_failed_to_update__s_with__s:__s_n
call sym._wine_dbg_printf
jmp 0x4077f1
mov edx, dword [eax + 0x34]
mov eax, ebx
mov dword [ebp - 0xe88], edx
call sym._wine_dbgstr_an.constprop.0
mov edx, dword [ebp - 0xe88]
mov dword [esp + 0xc], str.Failed_to_create_device__s__error__lx._n
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov dword [esp + 8], str.install_root_pnp_devices
mov dword [esp + 4], 0x40939c
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
jmp 0x4076c6
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
mov eax, dword [edi + 8]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xe88]
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp], eax
call sym._UpdateDriverForPlugAndPlayDevicesA_20
sub esp, 0x14
test eax, eax
jne 0x4076c6
test byte [0x40939c], 2
je 0x4076c6
mov eax, dword fs:[0x18]
mov edx, dword [eax + 0x34]
mov eax, ebx
mov dword [ebp - 0xe88], edx
call sym._wine_dbgstr_an.constprop.0
mov edx, dword [ebp - 0xe88]
mov dword [esp + 0xc], str.Failed_to_install_drivers_for__s__error__lx._n
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov dword [esp + 8], str.install_root_pnp_devices
mov dword [esp + 4], 0x40939c
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
jmp 0x4076c6
xor eax, eax
mov dword [esp + 0x14], 0xf003f
mov dword [esp + 0x20], eax
lea eax, [ebp - 0xe54]
mov dword [esp + 0x1c], eax
xor eax, eax
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xe68]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xe60]
mov dword [esp], eax
mov eax, dword [ebp - 0xe80]
call eax
sub esp, 0x24
test eax, eax
je 0x408795
mov eax, dword [ebp - 0xe60]
mov dword [esp], eax
mov eax, dword [ebp - 0xea4]
call eax
push ecx
jmp 0x4077c7
test byte [0x40939c], 2
je 0x4076e4
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], 0x40939c
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
jmp 0x4076e4
xor eax, eax
mov dword [ebp - 0xe4c], eax
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0x28
mov eax, dword [ebp - 0xea8]
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp], eax
call dword [0x4194b8]
sub esp, 0x10
test eax, eax
jne 0x40887d
lea edi, [ebp - 0xe4c]
xor ebx, ebx
mov dword [esp + 0x14], 4
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 4
mov dword [esp + 8], ebx
mov dword [esp + 4], str.Flags
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 - 0xea4]
call eax
push edi
jmp 0x40873b
test byte [0x40939c], 8
je 0x407e77
mov dword [esp + 0xc], str.Unable_to_enumerate_StartUp_objects._n
mov dword [esp + 8], str.ProcessStartupItems
mov dword [esp + 4], 0x40939c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x407e77
mov dword [esp + 0xc], str.Couldnt_get_StartUp_folder_location._n
mov dword [esp + 8], str.ProcessStartupItems
mov dword [esp + 4], 0x40939c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x407e77
mov ecx, dword [ebp - 0xea8]
mov eax, dword [ebp - 0xe54]
mov edx, str.ProfileImagePath
call sym._set_reg_value.isra.0
jmp 0x4087cd
mov dword [esp], esi
call dword [sym.imp.kernelbase.dll_DeleteFileW]
push esi
jmp 0x406b63
mov eax, dword [sym.imp.advapi32.dll_RegCreateKeyExW]
mov dword [ebp - 0xe80], eax
mov eax, dword [sym.imp.ucrtbase.dll_free]
mov dword [ebp - 0xeb8], eax
mov eax, dword [sym.imp.advapi32.dll_RegCloseKey]
mov dword [ebp - 0xea4], eax
jmp 0x40622b
test byte [0x40939c], 8
jne 0x408929
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0xc20]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_WaitForSingleObject]
lea eax, [ebp - 0xe28]
push ecx
push ecx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc20]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_GetExitCodeProcess]
push ebx
push ebx
mov eax, dword [ebp - 0xe28]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_ExitProcess]
mov eax, dword [sym.imp.ucrtbase.dll_free]
mov dword [ebp - 0xeb8], eax
jmp 0x406208
mov eax, dword [ebp - 0xea8]
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], 0x40939c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x4088d6