Function at 0x4058c0
Capabilities:
Accept command line arguments
Check os version
Create a process with modified i/o handles and window
Create process on windows
Delete directory
Delete file
Delete registry value
Encode data using base64
Enumerate files on windows
Enumerate processes via ntquerysysteminformation
Get common file path
Get hostname
Get session user name
Get system firmware table
Get system information on windows
Make suspicious ntquerysysteminformation call
Move file
Persist via winlogon helper dll registry key
Query or enumerate registry value
Read .ini file
Read file on windows
Resolve dns
Self delete
Set current directory
Set registry value
Terminate process

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff8
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0xed8
mov eax, dword [ecx]
mov ebx, dword [ecx + 4]
mov dword [ebp - 0xe7c], eax
call dbg.__main
mov dword [esp + 4], 0x104
mov dword [ebp - 0xe5c], 0x40003e
mov dword [ebp - 0xe58], str.KernelObjects__wineboot_event
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 0x405934
test byte [0x40a39c], 2
jne 0x406618
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 0x40595f
cmp dword [ebp - 0xe74], 0
jne 0x406539
cmp dword [ebp - 0xe7c], 1
jle 0x405c5d
mov dword [ebp - 0xe9c], 0
mov edx, 1
mov dword [ebp - 0xe90], 0
mov dword [ebp - 0xe8c], 0
mov dword [ebp - 0xe88], 0
mov dword [ebp - 0xe84], 0
mov dword [ebp - 0xe80], 0
mov dword [ebp - 0xe98], 0
jmp 0x405abb
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.0x405af2.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 0x405bd0
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 0x405be0
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 0x405bef
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 0x405bfe
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 0x405c0d
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 0x405c4e
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.0x405af2.2
mov dword [ebp - 0xe9c], 1
lea esi, [esi]
add edx, 1
cmp dword [ebp - 0xe7c], edx
je 0x405b27
mov eax, dword [ebx + edx*4]
cmp byte [eax], 0x2d
jne 0x405ab0
movzx ecx, byte [eax + 1]
cmp cl, 0x2d
je 0x4059c0
add eax, 2
test cl, cl
je 0x405ab0
mov esi, dword [ebp - 0xe9c]
mov edi, dword [ebp - 0xe98]
sub ecx, 0x65
cmp cl, 0x10
ja case.0x405af2.2
movzx ecx, cl
jmp dword [ecx*4 + 0x40db90]
mov esi, 1
add eax, 1
movzx ecx, byte [eax - 1]
test cl, cl
jne 0x405ae3
mov dword [ebp - 0xe9c], esi
add edx, 1
mov dword [ebp - 0xe98], edi
cmp dword [ebp - 0xe7c], edx
jne 0x405abb
mov eax, dword [ebp - 0xe98]
test eax, eax
je 0x405c1c
mov eax, dword [ebp - 0xe80]
cmp dword [ebp - 0xe88], 0
mov dword [esp], eax
je 0x406281
call dbg.shutdown_all_desktops
test eax, eax
je 0x405c3c
mov eax, dword [ebp - 0xe90]
mov dword [esp], eax
call dbg.kill_processes
jmp 0x405c29
mov dword [ebp - 0xe90], 1
jmp 0x405b05
mov dword [ebp - 0xe88], 1
jmp 0x405b05
mov dword [ebp - 0xe84], 1
jmp 0x405b05
mov dword [ebp - 0xe8c], 1
jmp 0x405b05
mov dword [ebp - 0xe80], 1
jmp 0x405b05
mov edi, 1
jmp 0x405b05
mov dword [ebp - 0xe98], 1
jmp 0x405ab0
mov dword [ebp - 0xe80], 1
jmp 0x405ab0
mov dword [ebp - 0xe84], 1
jmp 0x405ab0
mov dword [ebp - 0xe88], 1
jmp 0x405ab0
mov dword [ebp - 0xe8c], 1
jmp 0x405ab0
cmp dword [ebp - 0xe88], 0
jne 0x405b58
cmp dword [ebp - 0xe90], 0
mov dword [ebp - 0xe98], 0
je 0x405c85
mov eax, dword [ebp - 0xe98]
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
mov dword [ebp - 0xe90], 1
jmp 0x405ab0
mov dword [ebp - 0xe88], 0
mov dword [ebp - 0xe8c], 0
mov dword [ebp - 0xe9c], 0
mov dword [ebp - 0xe84], 0
lea eax, [ebp - 0xe5c]
mov dword [ebp - 0xe40], 0x18
mov dword [ebp - 0xe38], eax
lea eax, [ebp - 0xe40]
mov dword [esp + 8], eax
lea eax, [ebp - 0xe78]
mov dword [ebp - 0xe3c], 0
mov dword [ebp - 0xe34], 0x82
mov dword [ebp - 0xe30], 0
mov dword [ebp - 0xe2c], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0x1f0003
mov dword [esp], eax
call dword [sym.imp.ntdll.dll_NtCreateEvent]
mov eax, dword [ebp - 0xe78]
sub esp, 0x14
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_ResetEvent]
xor eax, eax
mov ecx, 5
mov dword [ebp - 0xe54], 0x4e004c
push edi
lea edi, [ebp - 0xe24]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0xe54]
mov dword [ebp - 0xe28], 0x18
mov dword [ebp - 0xe20], eax
lea eax, [ebp - 0xe28]
mov dword [esp + 8], eax
lea eax, [ebp - 0xe64]
mov dword [ebp - 0xe50], str.KernelObjects__wine_user_shared_data
mov dword [ebp - 0xe60], 0
mov dword [ebp - 0xe1c], pe_nt_image_headers32
mov dword [esp + 4], 0xf001f
mov dword [esp], eax
call dword [sym.imp.ntdll.dll_NtOpenSection]
sub esp, 0xc
test eax, eax
je 0x406293
test byte [0x40a39c], 2
jne 0x407f43
lea eax, [ebp - 0xa18]
mov dword [ebp - 0xe90], eax
lea eax, [ebp - 0x810]
mov dword [ebp - 0xe80], eax
lea eax, [ebp - 0xc20]
mov dword [ebp - 0xea0], eax
lea eax, [ebp - 0xe60]
mov dword [ebp - 0xeb4], eax
mov dword [esp + 0xc], 0
mov esi, dword [sym.imp.kernelbase.dll_GetSystemFirmwareTable]
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0x52534d42
call esi
sub esp, 0x10
mov edi, eax
mov dword [esp], eax
mov eax, dword [sym.imp.ucrtbase.dll_malloc]
mov dword [ebp - 0xe7c], eax
call eax
mov ebx, eax
test eax, eax
je 0x407922
mov dword [esp + 0xc], edi
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0x52534d42
call esi
mov edi, eax
mov eax, dword [ebp - 0xea0]
sub esp, 0x10
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 0x407ed8
mov eax, dword [ebp - 0xe90]
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0xc20]
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 esi, dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 0x24
mov dword [ebp - 0xe98], esi
test eax, eax
je 0x408432
mov eax, dword [ebp - 0xc20]
mov ecx, edi
mov edx, ebx
call dbg.create_bios_processor_values
mov eax, dword [ebp - 0xc20]
mov dword [esp], eax
mov eax, dword [ebp - 0xe98]
call eax
push eax
mov eax, dword [sym.imp.ucrtbase.dll_free]
mov dword [ebp - 0xea8], eax
mov dword [esp], ebx
call eax
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 0x40790b
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 0x4061d4
mov esi, dword [sym.imp.advapi32.dll_RegSetValueExW]
mov ebx, str.C29A23D0
mov edi, 0x40a39a
mov eax, dword [ebp - 0xe80]
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0xa18]
mov dword [esp + 0x14], 0x20006
mov dword [esp], eax
mov eax, dword [ebp - 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 0x4061b4
mov eax, dword [ebp - 0x810]
lea ecx, [ebx + 0x12]
mov edx, str.HardWareKey
call dbg.set_reg_value
lea eax, [ebx + 0x92]
mov dword [esp + 0x14], 4
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x810]
mov dword [esp + 0xc], 3
mov dword [esp + 8], 0
mov dword [esp + 4], str.Problem
mov dword [esp], eax
call esi
lea eax, [ebx + 0x96]
sub esp, 0x18
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x810]
mov dword [esp + 0x14], 4
mov dword [esp + 0xc], 3
mov dword [esp + 8], 0
mov dword [esp + 4], str.Status
mov dword [esp], eax
call esi
lea eax, [ebx + 0x9a]
sub esp, 0x18
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x810]
mov dword [esp + 0x14], 0xc
mov dword [esp + 0xc], 3
mov dword [esp + 8], 0
mov dword [esp + 4], str.Allocation
mov dword [esp], eax
call esi
lea eax, [ebx + 0xa6]
sub esp, 0x18
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x810]
mov dword [esp + 0x14], 4
mov dword [esp + 0xc], 3
mov dword [esp + 8], 0
mov dword [esp + 4], str.Child
mov dword [esp], eax
call esi
lea eax, [ebx + 0xaa]
sub esp, 0x18
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x810]
mov dword [esp + 0x14], 4
mov dword [esp + 0xc], 3
mov dword [esp + 8], 0
mov dword [esp + 4], str.Sibling
mov dword [esp], eax
call esi
lea eax, [ebx + 0xae]
sub esp, 0x18
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x810]
mov dword [esp + 0x14], 4
mov dword [esp + 0xc], 3
mov dword [esp + 8], 0
mov dword [esp + 4], str.Parent
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x810]
sub esp, 0x18
mov dword [esp], eax
mov eax, dword [ebp - 0xe98]
call eax
push eax
add ebx, 0xb2
cmp edi, ebx
jne 0x405fe5
mov eax, dword [ebp - 0xa18]
mov dword [esp], eax
mov eax, dword [ebp - 0xe98]
call eax
push ecx
mov edi, dword [ebp - 0xe90]
xor eax, eax
mov ecx, 8
mov ebx, dword [ebp - 0xe80]
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 - 0xeac], esi
push edx
test eax, eax
jne 0x40672b
mov eax, dword [ebp - 0xeb4]
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 - 0xa18], 2
call sym._getaddrinfo_16
sub esp, 0x10
test eax, eax
jne 0x406663
mov eax, dword [ebp - 0xe60]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x406663
mov dword [esp + 4], str.localhost
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll__stricmp]
test eax, eax
je 0x406663
mov eax, dword [ebp - 0xe60]
mov esi, dword [eax + 0x14]
jmp 0x406669
call sym._shutdown_close_windows
test eax, eax
jne 0x405c29
jmp 0x405c3c
mov eax, dword [ebp - 0xe64]
mov dword [esp + 0x10], 0x710
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_MapViewOfFile]
mov edi, eax
mov eax, dword [ebp - 0xe64]
sub esp, 0x14
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_CloseHandle]
push esi
test edi, edi
je 0x4087ab
mov dword [ebp - 0x810], 0x11c
lea eax, [ebp - 0x810]
mov dword [ebp - 0xe80], eax
mov dword [esp], eax
call dword [sym.imp.ntdll.dll_RtlGetVersion]
lea eax, [ebp - 0xa18]
mov esi, dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
push ebx
lea ebx, [ebp - 0xe4c]
mov dword [ebp - 0xe90], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x2c
mov dword [esp + 4], eax
mov dword [esp], 0
call esi
sub esp, 0x10
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0xc
mov dword [esp + 4], ebx
mov dword [esp], 1
call esi
mov dword [edi + 4], 0x1000000
mov dword [edi + 0x244], 0x200000
mov eax, dword [ebp - 0x804]
sub esp, 0x10
mov dword [edi + 0x260], eax
movzx eax, byte [ebp - 0x6f6]
mov byte [edi + 0x268], 1
mov dword [edi + 0x264], eax
movzx eax, word [ebp - 0xe4c]
mov word [edi + 0x26a], ax
mov eax, dword [ebp - 0x80c]
mov dword [edi + 0x26c], eax
mov eax, dword [ebp - 0x808]
mov dword [edi + 0x270], eax
movzx eax, word [ebp - 0x6f8]
mov dword [edi + 0x2d0], eax
mov eax, dword [ebp - 0xa0c]
mov byte [edi + 0x2d5], 2
mov dword [edi + 0x2e8], eax
lea eax, [edi + 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, 5
je 0x407432
jbe 0x406cd6
cmp ax, 9
je 0x406cdf
cmp ax, 0xc
jne 0x407450
mov byte [edi + 0x291], 1
mov eax, dword [ebp - 0xe44]
mov byte [edi + 0x276], 1
mov edx, eax
mov byte [edi + 0x280], 1
shr edx, 2
mov byte [edi + 0x28b], 1
and edx, 1
mov byte [edi + 0x293], dl
mov edx, eax
shr edx, 3
and edx, 1
mov byte [edi + 0x292], dl
mov edx, eax
shr edx, 4
and edx, 1
mov byte [edi + 0x296], dl
mov edx, eax
shr edx, 5
and edx, 1
mov byte [edi + 0x29f], dl
mov edx, eax
shr al, 7
shr edx, 6
mov byte [edi + 0x2a1], al
lea eax, [ebp - 0xc20]
and edx, 1
mov dword [ebp - 0xea0], eax
mov byte [edi + 0x2a0], dl
mov dword [esp + 0xc], eax
lea eax, [ebp - 0xe60]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x20
mov dword [esp + 8], 4
mov dword [ebp - 0xeb4], eax
mov dword [esp + 4], eax
mov dword [esp], 0xb5
call dword [sym.imp.ntdll.dll_NtQuerySystemInformationEx]
sub esp, 0x18
test eax, eax
jne 0x406e13
xor eax, eax
jmp 0x4064e5
cmp dx, 0x1c4
jne 0x4064e2
mov word [edi + 0x286], 0x101
add eax, 1
movzx edx, word [ebp + eax*4 - 0xc20]
test dx, dx
je 0x406e13
cmp dx, 0x14c
jne 0x4064d2
mov byte [edi + 0x277], 1
mov byte [edi + 0x27a], 1
mov byte [edi + 0x27c], 1
mov byte [edi + 0x27e], 1
mov byte [edi + 0x281], 1
mov byte [edi + 0x294], 1
mov word [edi + 0x298], 0x101
mov byte [edi + 0x29a], 1
jmp 0x4064e2
lea edx, [ebp - 0xa14]
xor eax, eax
mov ecx, 0x10
mov edi, edx
lea esi, [ebp - 0xa18]
rep stosd dword es:[edi], eax
lea edi, [ebp - 0x810]
mov dword [esp + 4], 0x104
mov dword [ebp - 0xa18], 0x44
mov dword [ebp - 0xe80], edi
mov dword [esp], edi
call dword [sym.imp.kernelbase.dll_GetSystemDirectoryW]
push eax
push eax
mov dword [esp + 4], str.wineboot.exe
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_wcscat]
lea eax, [ebp - 0xe40]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_Wow64DisableWow64FsRedirection]
push eax
call dword [sym.imp.kernelbase.dll_GetCommandLineW]
lea edx, [ebp - 0xc20]
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], edi
call dword [sym.imp.kernelbase.dll_CreateProcessW]
sub esp, 0x28
test eax, eax
jne 0x408f42
test byte [0x40a39c], 2
jne 0x407f70
mov eax, dword [ebp - 0xe40]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_Wow64RevertWow64FsRedirection]
push eax
jmp 0x40595f
mov eax, dword fs:[0x18]
mov esi, dword [eax + 0x34]
mov eax, 0x418240
call sym._wine_dbgstr_wn.constprop.4
mov dword [esp + 0xc], str.Cannot_set_the_dir_to__s___ld__n
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
mov dword [esp + 8], global___func__.3
mov dword [esp + 4], global___dbch
mov dword [esp], 1
call sym._wine_dbg_log.constprop.6
jmp 0x405934
xor eax, eax
call dbg.usage
mov esi, dword [ebp - 0xe80]
mov dword [esp + 4], 0x2e
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strchr]
test eax, eax
je 0x40887f
mov byte [eax], 0
lea edx, [eax + 1]
mov dword [esp + 4], edx
mov ebx, dword [sym.imp.kernelbase.dll_SetComputerNameExA]
mov dword [esp], 6
call ebx
push eax
push eax
mov dword [esp + 4], esi
mov dword [esp], 5
call ebx
push eax
push eax
cmp esi, dword [ebp - 0xe80]
je 0x4066c3
mov eax, dword [ebp - 0xe60]
mov dword [esp], eax
call sym._freeaddrinfo_4
push edi
mov esi, 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 - 0xeac], esi
call esi
sub esp, 0xc
test eax, eax
jne 0x40672b
mov eax, dword [ebp - 0xe54]
lea ebx, [ebp - 0xe4c]
mov dword [esp + 4], str.ComputerName
mov dword [esp + 8], ebx
mov dword [esp], eax
call esi
sub esp, 0xc
test eax, eax
je 0x408d26
mov eax, dword [ebp - 0xe54]
mov dword [esp], eax
mov eax, dword [ebp - 0xe98]
call eax
push ecx
mov edi, 0x400
mov esi, dword [ebp - 0xe80]
mov eax, edi
mov edi, esi
mov esi, eax
jmp 0x40677b
lea ebx, [esi - 2]
cmp eax, ebx
jb 0x407a40
cmp edi, dword [ebp - 0xe80]
je 0x40675e
mov dword [esp], edi
mov eax, dword [ebp - 0xea8]
call eax
lea edx, [esi*4]
mov eax, dword [ebp - 0xe7c]
lea ebx, [esi + esi]
mov dword [esp], edx
call eax
mov edi, eax
test eax, eax
je 0x40679f
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 0x406740
mov eax, dword [ebp - 0xe80]
mov dword [esp + 0xc], 0xf003f
mov dword [ebp - 0xa18], 0
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0
mov dword [esp + 4], str.SystemCurrentControlSetControlSession_Manager
mov dword [esp], 0x80000002
call dword [sym.imp.advapi32.dll_RegOpenKeyExW]
sub esp, 0x14
test eax, eax
jne 0x40697b
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 - 0x810]
mov dword [esp + 8], 0
mov dword [esp + 4], str.PendingFileRenameOperations
mov dword [esp], eax
call ebx
sub esp, 0x18
test eax, eax
jne 0x407a39
mov eax, dword [ebp - 0xa18]
mov dword [esp], eax
mov eax, dword [ebp - 0xe7c]
call eax
mov edi, eax
test eax, eax
je 0x407a39
mov eax, dword [ebp - 0xe90]
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x810]
mov dword [esp + 8], 0
mov dword [esp + 4], str.PendingFileRenameOperations
mov dword [esp], eax
call ebx
sub esp, 0x18
test eax, eax
jne 0x40695e
mov eax, dword [ebp - 0xa18]
cmp eax, 3
jbe 0x40695e
and eax, 0xfffffffe
cmp word [edi + eax - 2], 0
jne 0x40695e
cmp word [edi + eax - 4], 0
jne 0x40695e
mov esi, edi
movzx edx, word [esi]
test dx, dx
je 0x406945
mov eax, esi
add eax, 2
cmp word [eax], 0
jne 0x4068ba
sub eax, esi
and eax, 0xfffffffe
lea ebx, [esi + eax + 2]
cmp dx, 0x5c
je 0x408eab
xor eax, eax
cmp word [ebx], 0x21
jne 0x4068e6
add ebx, 2
mov eax, 1
cmp word [ebx], 0x5c
je 0x408e82
cmp word [ebx], 0
jne 0x4088ee
mov dword [esp], esi
call dword [sym.imp.kernelbase.dll_RemoveDirectoryW]
push edx
test eax, eax
jne 0x40691b
mov eax, dword fs:[0x18]
cmp dword [eax + 0x34], 0x10b
je 0x408f0a
cmp word [ebx], 0
mov eax, ebx
je 0x40692c
add eax, 2
cmp word [eax], 0
jne 0x406923
sub eax, ebx
and eax, 0xfffffffe
lea esi, [ebx + eax + 2]
mov eax, esi
sub eax, edi
cmp eax, dword [ebp - 0xa18]
jb 0x4068ac
mov eax, dword [ebp - 0x810]
mov dword [esp + 4], str.PendingFileRenameOperations
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegDeleteValueW]
push eax
push eax
mov dword [esp], edi
mov eax, dword [ebp - 0xea8]
call eax
mov eax, dword [ebp - 0x810]
mov dword [esp], eax
mov eax, dword [ebp - 0xe98]
call eax
push eax
mov eax, dword [ebp - 0xeb4]
mov dword [esp + 4], str.SoftwareMicrosoftWindows_NTCurrentVersionWinlogon
mov dword [esp], 0x80000002
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xeac]
call eax
sub esp, 0xc
test eax, eax
je 0x407948
mov eax, dword [ebp - 0xe60]
mov dword [esp], eax
mov eax, dword [ebp - 0xe98]
call eax
push eax
mov esi, dword [sym.imp.kernelbase.dll_GetSystemDirectoryW]
mov dword [esp + 4], 0
mov dword [esp], 0
call esi
push edi
mov ebx, eax
lea eax, [eax + 0xc]
push edi
add eax, eax
mov dword [esp], eax
mov eax, dword [ebp - 0xe7c]
call eax
mov dword [esp + 4], ebx
mov dword [ebp - 0xeb8], eax
mov ebx, eax
mov dword [esp], eax
call esi
mov edx, ebx
push eax
push eax
jmp 0x4069fd
mov edx, eax
cmp word [edx], 0
lea eax, [edx + 2]
jne 0x4069fb
xor eax, eax
movzx ecx, word [eax + 0x40d4c0]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x406a08
mov ebx, dword [ebp - 0xeb8]
mov eax, dword [ebp - 0xe80]
mov dword [esp], ebx
mov dword [esp + 4], eax
call dword [sym.imp.kernelbase.dll_FindFirstFileW]
push esi
push esi
cmp word [ebx], 0
mov dword [ebp - 0xeac], eax
mov eax, ebx
je 0x408874
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x406a50
mov ebx, dword [ebp - 0xeb8]
sub eax, ebx
sar eax, 1
cmp dword [ebp - 0xeac], 0xffffffff
mov word [ebx + eax*2 - 4], 0
je 0x407076
lea edi, [ebp - 0x7e4]
mov ebx, dword [sym.imp.ucrtbase.dll_wcscmp]
jmp 0x406aa9
mov eax, dword [ebp - 0xe80]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xeac]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_FindNextFileW]
sub esp, 8
test eax, eax
je 0x407076
mov dword [esp + 4], 0x40d4f8
mov dword [esp], edi
call ebx
test eax, eax
je 0x406a85
mov dword [esp + 4], 0x40d4fc
mov dword [esp], edi
call ebx
test eax, eax
je 0x406a85
lea eax, [ebp - 0xe4c]
mov esi, dword [ebp - 0xea0]
mov dword [ebp - 0xe54], 0x104
mov dword [esp + 0x1c], eax
lea eax, [ebp - 0xe28]
mov dword [esp + 0x18], eax
lea eax, [ebp - 0xe54]
mov dword [esp + 0x10], esi
mov dword [ebp - 0xe4c], 0x104
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], 0x418240
mov dword [esp + 8], 0x418240
mov dword [esp + 4], edi
mov dword [esp], 1
call dword [sym.imp.kernelbase.dll_VerFindFileW]
lea eax, [ebp - 0xe54]
mov dword [ebp - 0xe54], 0x104
sub esp, 0x20
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0xe90]
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], eax
lea eax, [ebp - 0xe28]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xeb8]
mov dword [esp + 8], edi
mov dword [esp + 0xc], eax
mov dword [esp + 4], edi
mov dword [esp], 0
call sym._VerInstallFileW_32
mov esi, eax
mov eax, dword [sym.imp.kernelbase.dll_DeleteFileW]
sub esp, 0x20
mov dword [ebp - 0xebc], eax
test esi, esi
je 0x406bad
test byte [0x40a39c], 4
jne 0x407ea0
mov eax, dword [ebp - 0xe90]
mov dword [esp], eax
mov eax, dword [sym.imp.kernelbase.dll_DeleteFileW]
mov dword [ebp - 0xebc], eax
call eax
push ecx
mov edx, dword [ebp - 0xeb8]
lea eax, [ebp - 0xe28]
lea esi, [esi]
movzx ecx, word [edx]
test cx, cx
je 0x406bdc
add eax, 2
lea esi, [ebp - 0xc24]
add edx, 2
mov word [eax - 2], cx
cmp eax, esi
jne 0x406bc0
mov word [eax], 0
cmp word [ebp - 0xe28], 0
lea eax, [ebp - 0xe28]
je 0x40803b
add eax, 2
cmp word [eax], 0
jne 0x406bf5
lea esi, [ebp - 0xe28]
sub eax, esi
sar eax, 1
mov edx, eax
lea eax, [eax + 1]
mov word [ebp + edx*2 - 0xe28], 0x5c
mov edx, 0x104
mov dword [ebp - 0xe54], eax
sub edx, eax
add eax, eax
add eax, esi
cmp edx, 1
jbe 0x407425
movzx ecx, word [ebp - 0x7e4]
test cx, cx
je 0x406c5b
mov esi, edi
jmp 0x406c49
movzx ecx, word [esi]
test cx, cx
je 0x406c5b
add eax, 2
sub edx, 1
add esi, 2
mov word [eax - 2], cx
cmp edx, 1
jne 0x406c41
mov word [eax], 0
lea eax, [ebp - 0xe28]
mov dword [esp], eax
mov eax, dword [ebp - 0xebc]
call eax
push edx
test eax, eax
jne 0x406a85
test byte [0x40a39c], 4
je 0x406a85
mov eax, dword fs:[0x18]
mov esi, dword [eax + 0x34]
lea eax, [ebp - 0xe28]
call sym._wine_dbgstr_wn.constprop.4
mov dword [esp + 0xc], str.failed_to_delete__s:_error__lu_n
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.ProcessWindowsFileProtection
mov dword [esp + 4], global___dbch
mov dword [esp], 2
call sym._wine_dbg_log.constprop.6
jmp 0x406a85
mov eax, 1
call dbg.usage
test ax, ax
jne 0x407450
mov eax, dword [ebp - 0xe44]
mov byte [edi + 0x28b], 1
mov edx, eax
shr dl, 7
mov byte [edi + 0x276], dl
mov edx, eax
shr edx, 8
and edx, 1
mov byte [edi + 0x277], dl
mov edx, eax
shr edx, 0xd
and edx, 1
mov byte [edi + 0x27a], dl
mov edx, eax
shr edx, 0xe
and edx, 1
mov byte [edi + 0x27b], dl
mov edx, eax
shr edx, 1
and edx, 1
mov byte [edi + 0x27c], dl
mov edx, eax
shr edx, 0x15
and edx, 1
mov byte [edi + 0x27d], dl
mov edx, eax
shr edx, 0x10
and edx, 1
mov byte [edi + 0x27e], dl
mov edx, eax
shr edx, 0x13
and edx, 1
mov byte [edi + 0x281], dl
mov edx, eax
shr edx, 0xf
and edx, 1
mov byte [edi + 0x298], dl
mov edx, eax
shr edx, 0x17
and edx, 1
mov byte [edi + 0x285], dl
mov edx, eax
shr edx, 0x14
and edx, 1
mov byte [edi + 0x282], dl
mov edx, eax
shr edx, 0x16
and edx, 1
mov byte [edi + 0x27f], dl
mov edx, eax
shr edx, 0x1d
and edx, 1
mov byte [edi + 0x280], dl
mov edx, eax
shr edx, 0x1a
and edx, 1
mov byte [edi + 0x288], dl
mov edx, eax
shr edx, 0x1b
and edx, 1
mov byte [edi + 0x289], dl
mov edx, eax
shr edx, 0x1c
and edx, 1
mov byte [edi + 0x28a], dl
mov edx, eax
shr edx, 0x18
and edx, 1
mov byte [edi + 0x299], dl
mov edx, eax
shr edx, 0x19
and edx, 1
mov byte [edi + 0x29a], dl
mov edx, eax
shr eax, 0x1f
shr edx, 0x1e
mov byte [edi + 0x29c], al
lea eax, [ebp - 0xc20]
and edx, 1
mov dword [ebp - 0xea0], eax
lea eax, [ebp - 0xe60]
mov byte [edi + 0x29b], dl
mov dword [ebp - 0xeb4], eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
cmp byte [edi + 0x29b], 0
mov eax, dword [eax + 0x64]
mov byte [edi + 0x3c4], 1
mov dword [edi + 0x3c0], eax
je 0x407c49
xor eax, eax
mov ecx, eax
cpuid
mov esi, eax
test byte [0x40a39c], 8
jne 0x408133
cmp eax, 0xc
jle 0x407c49
mov eax, 1
xor ecx, ecx
cpuid
and ecx, 0x8000000
je 0x407c49
mov eax, 0xd
xor ecx, ecx
cpuid
mov dword [ebp - 0xe7c], ebx
mov esi, eax
mov dword [esp], 0
call sym._do_xgetbv_4
and esi, eax
push edx
xor edx, edx
and esi, 0xfc
mov ebx, esi
mov eax, esi
mov esi, edx
shr esi, 2
shrd ebx, edx, 2
mov ecx, esi
mov dword [ebp - 0xe98], ebx
or ecx, dword [ebp - 0xe98]
mov dword [ebp - 0xe94], esi
je 0x407c49
or eax, 3
mov ecx, 1
mov esi, dword [ebp - 0xe94]
mov dword [edi + 0x3dc], 0
mov dword [edi + 0x3d8], eax
mov dword [edi + 0x3e0], eax
mov eax, dword [ebp - 0xe7c]
mov dword [ebp - 0xea4], esi
mov esi, 2
mov dword [edi + 0x600], eax
mov eax, 0xd
cpuid
movzx edx, byte [edi + 0x3ec]
mov ecx, eax
shr eax, 1
mov ebx, dword [ebp - 0xe98]
mov dword [edi + 0x3e4], 0
and ecx, 1
and eax, 1
and edx, 0xfffffffc
add eax, eax
mov dword [edi + 0x604], 0xa0
or edx, ecx
mov dword [ebp - 0xea8], ebx
mov dword [edi + 0x3f4], 0xa0
or eax, edx
mov byte [edi + 0x3ec], al
mov dword [edi + 0x608], 0x100
mov dword [edi + 0x3fc], 0x100
mov dword [edi + 0x3f8], 0xa0
mov dword [ebp - 0xe7c], 0x240
jmp 0x406f9e
mov ecx, dword [ebp - 0xea4]
mov edx, dword [ebp - 0xea8]
lea eax, [esi + 1]
shrd edx, ecx, 1
shr ecx, 1
mov ebx, ecx
mov dword [ebp - 0xea8], edx
or ebx, edx
mov dword [ebp - 0xea4], ecx
je 0x407bd6
mov esi, eax
mov eax, dword [ebp - 0xea8]
and eax, 1
je 0x406f71
mov eax, 0xd
mov ecx, esi
cpuid
mov edx, ecx
mov dword [edi + esi*8 + 0x3f0], ebx
and edx, 2
mov dword [edi + esi*4 + 0x604], eax
mov dword [ebp - 0xe98], eax
mov dword [edi + esi*8 + 0x3f4], eax
mov dword [ebp - 0xeac], edx
je 0x407011
mov ecx, esi
mov eax, 1
xor edx, edx
xor ebx, ebx
shld edx, eax, cl
shl eax, cl
test cl, 0x20
mov ecx, dword [ebp - 0xe7c]
cmovne edx, eax
cmovne eax, ebx
or dword [edi + 0x5fc], edx
add ecx, 0x3f
or dword [edi + 0x5f8], eax
and ecx, 0xffffffc0
mov dword [ebp - 0xe7c], ecx
mov eax, dword [ebp - 0xe98]
add dword [ebp - 0xe7c], eax
test byte [0x40a39c], 8
je 0x406f71
xor edx, edx
cmp dword [ebp - 0xeac], 0
mov dword [esp + 0x18], eax
setne dl
mov dword [esp + 0x1c], edx
mov eax, dword [edi + esi*8 + 0x3f0]
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], str.xstate__d__offset__lu__size__lu__aligned__d._n
mov dword [esp + 8], str.initialize_xstate_features
mov dword [esp + 4], global___dbch
mov dword [esp], 3
call sym._wine_dbg_log.constprop.6
jmp 0x406f71
mov eax, dword [ebp - 0xeac]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_FindClose]
mov eax, dword [ebp - 0xeb8]
push ebx
mov dword [esp], eax
mov eax, dword [ebp - 0xea8]
call eax
mov dword [esp], 0
mov ecx, 1
mov edx, str.RunServicesOnce
mov eax, 0x80000002
call dbg.ProcessRunKeys
cmp dword [ebp - 0xe84], 0
jne 0x4070d0
mov eax, dword [ebp - 0xe8c]
xor eax, 1
test dword [ebp - 0xe88], eax
je 0x407172
mov dword [esp], 0
xor ecx, ecx
mov edx, str.RunServices
mov eax, 0x80000002
lea edi, [ebp - 0x80c]
call dbg.ProcessRunKeys
xor eax, eax
mov ecx, 0x10
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0xe90]
mov dword [ebp - 0x810], 0x44
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], eax
mov eax, dword [ebp - 0xe80]
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 0x40746d
test byte [0x40a39c], 2
jne 0x4087e1
mov eax, dword [ebp - 0xe9c]
or eax, dword [ebp - 0xe84]
jne 0x407509
mov eax, dword [ebp - 0xea0]
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 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.Volatile_Environment
mov dword [esp], 0x80000001
call eax
sub esp, 0x24
test eax, eax
jne 0x40738e
mov edi, dword [ebp - 0xe80]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov ebx, dword [0x4194b0]
mov dword [esp + 0x10], edi
mov dword [esp + 4], 0x801a
mov dword [esp], 0
call ebx
sub esp, 0x14
test eax, eax
js 0x40722a
mov eax, dword [ebp - 0xc20]
mov ecx, edi
mov edx, str.APPDATA
call dbg.set_reg_value
mov eax, dword [ebp - 0xc20]
mov ecx, str.Console
mov edx, str.CLIENTNAME
call dbg.set_reg_value
mov edi, dword [ebp - 0xe80]
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 0x4072b4
mov eax, dword [ebp - 0xc20]
mov ecx, edi
mov edx, str.USERPROFILE
call dbg.set_reg_value
mov eax, dword [ebp - 0xc20]
lea ecx, [ebp - 0x80c]
mov edx, str.HOMEPATH
call dbg.set_reg_value
mov eax, dword [ebp - 0xc20]
mov ecx, edi
mov edx, str.HOMEDRIVE
mov word [ebp - 0x80c], 0
call dbg.set_reg_value
mov dword [ebp - 0xe28], 0x104
lea eax, [ebp - 0xe28]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xe80]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_GetUserNameW]
push edi
push edi
test eax, eax
jne 0x408020
mov eax, dword [ebp - 0xc20]
mov ecx, 0x40c3dc
mov edx, str.HOMESHARE
call dbg.set_reg_value
mov edi, dword [ebp - 0xe80]
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 0x40733a
mov eax, dword [ebp - 0xc20]
mov ecx, edi
mov edx, str.LOCALAPPDATA
call dbg.set_reg_value
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 esi
push esi
test eax, eax
jne 0x407fe9
mov eax, dword [ebp - 0xc20]
mov ecx, str.Console
mov edx, str.SESSIONNAME
call dbg.set_reg_value
mov eax, dword [ebp - 0xc20]
mov dword [esp], eax
mov eax, dword [ebp - 0xe98]
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], 0x40da24
call dword [0x4195f4]
sub esp, 0x14
test eax, eax
je 0x4073cc
mov dword [esp], eax
call dword [0x4195f0]
push ecx
mov eax, 0x80000002
mov ecx, 1
mov edx, str.RunOnce
mov dword [esp], 1
call dbg.ProcessRunKeys
mov eax, dword [ebp - 0xe84]
or eax, dword [ebp - 0xe8c]
je 0x407c81
test byte [0x40a39c], 8
jne 0x407c58
mov eax, dword [ebp - 0xe78]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_SetEvent]
mov dword [ebp - 0xe98], 0
push edx
jmp 0x405c3c
test edx, edx
je 0x406c60
jmp 0x406c5b
mov eax, dword [ebp - 0xe44]
mov byte [edi + 0x286], al
shr eax, 1
and eax, 1
and byte [edi + 0x286], 1
mov byte [edi + 0x287], al
lea eax, [ebp - 0xc20]
mov dword [ebp - 0xea0], eax
lea eax, [ebp - 0xe60]
mov dword [ebp - 0xeb4], eax
jmp 0x406e13
mov eax, dword [ebp - 0xa14]
mov ebx, dword [sym.imp.kernelbase.dll_CloseHandle]
mov dword [esp], eax
call ebx
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 - 0xc20], eax
mov eax, dword [ebp - 0xa18]
sub esp, 0x10
mov dword [esp + 0xc], 0xffffffff
mov dword [ebp - 0xc1c], eax
mov eax, dword [ebp - 0xea0]
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], 2
call dword [sym.imp.kernelbase.dll_WaitForMultipleObjects]
sub esp, 0x10
sub eax, 1
je 0x408a86
mov eax, dword [ebp - 0xa18]
mov dword [esp], eax
call ebx
mov eax, dword [ebp - 0xc20]
push esi
mov dword [esp], eax
call ebx
push edi
jmp 0x407172
mov ebx, dword [sym.imp.ucrtbase.dll__wgetenv]
mov dword [esp], str.WINECONFIGDIR
call ebx
mov dword [esp], str.WINEBUILDDIR
mov dword [ebp - 0xeac], eax
call ebx
mov esi, eax
test eax, eax
je 0x408895
mov dword [esp], eax
mov edi, dword [sym.imp.ucrtbase.dll_wcslen]
call edi
add eax, 0x11
add eax, eax
mov dword [esp], eax
mov eax, dword [ebp - 0xe7c]
call eax
mov ecx, eax
mov dword [ebp - 0xe88], eax
test eax, eax
je 0x408b34
xor eax, eax
movzx edx, word [esi + eax]
mov word [ecx + eax], dx
add eax, 2
test dx, dx
jne 0x40755e
mov edx, dword [ebp - 0xe88]
jmp 0x407578
mov edx, eax
cmp word [edx], 0
lea eax, [edx + 2]
jne 0x407576
xor eax, eax
movzx ecx, word [eax + str.loader]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x407583
mov edx, dword [ebp - 0xe88]
cmp word [edx], 0
je 0x408b29
add edx, 2
cmp word [edx], 0
jne 0x4075a6
xor eax, eax
movzx ecx, word [eax + str.wine.inf]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x4075b1
mov eax, dword [ebp - 0xe88]
mov word [eax + 2], 0x5c
mov dword [esp], eax
mov eax, dword [sym.imp.ucrtbase.dll__wopen]
mov dword [esp + 4], 0
mov dword [ebp - 0xeb8], eax
call eax
mov ebx, eax
cmp eax, 0xffffffff
je 0x408ae1
mov eax, dword [ebp - 0xea0]
mov dword [esp], ebx
mov dword [esp + 4], eax
call dword [sym.imp.ucrtbase.dll__fstat32]
mov eax, dword [sym.imp.ucrtbase.dll__close]
mov dword [esp], ebx
mov dword [ebp - 0xebc], eax
call eax
mov esi, dword [ebp - 0xeac]
mov ebx, dword [ebp - 0xc04]
mov dword [esp], esi
call edi
add eax, 0x13
add eax, eax
mov dword [esp], eax
mov eax, dword [ebp - 0xe7c]
call eax
mov edi, eax
xor eax, eax
test edi, edi
je 0x4077a5
mov ecx, esi
movzx edx, word [ecx + eax]
mov word [edi + eax], dx
add eax, 2
test dx, dx
jne 0x407645
mov edx, edi
jmp 0x40765b
mov edx, eax
cmp word [edx], 0
lea eax, [edx + 2]
jne 0x407659
xor eax, eax
movzx ecx, word [eax + str..update_timestamp]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x407666
mov dword [esp + 4], 2
mov eax, dword [ebp - 0xeb8]
mov dword [esp], edi
call eax
mov esi, eax
cmp eax, 0xffffffff
je 0x4080a9
mov eax, dword [ebp - 0xe80]
mov dword [esp + 8], 0x63
mov dword [esp], esi
mov dword [esp + 4], eax
call dword [sym.imp.ucrtbase.dll__read]
test eax, eax
js 0x40770c
mov byte [ebp + eax - 0x810], 0
mov eax, dword [ebp - 0xe80]
mov dword [esp + 8], 7
mov dword [esp + 4], str.disable
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_strncmp]
test eax, eax
je 0x40778f
mov eax, dword [ebp - 0xe80]
mov dword [esp + 8], 0xa
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_strtoul]
cmp ebx, eax
je 0x40778f
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll__lseek]
mov dword [esp + 4], 0
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll__chsize]
mov eax, dword [ebp - 0xe80]
mov dword [esp + 8], ebx
mov dword [esp + 4], str._lu_n
mov dword [esp], eax
call sym._sprintf.constprop.8
mov dword [esp], esi
mov ebx, eax
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xe80]
mov dword [esp + 4], eax
call dword [sym.imp.ucrtbase.dll__write]
cmp ebx, eax
je 0x408fc6
test byte [0x40a39c], 4
jne 0x408f92
mov dword [esp + 4], 0
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll__chsize]
mov dword [esp], esi
mov eax, dword [ebp - 0xebc]
call eax
mov dword [esp], edi
mov eax, dword [ebp - 0xea8]
call eax
cmp dword [ebp - 0xe9c], 0
je 0x40841c
lea eax, [ebp - 0xe28]
lea esi, [ebp - 0xe70]
mov dword [ebp - 0xe70], 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], esi
mov dword [esp], 0xb5
call dword [sym.imp.ntdll.dll_NtQuerySystemInformationEx]
sub esp, 0x18
test eax, eax
je 0x407805
mov word [ebp - 0xe28], 0
mov eax, dword [ebp - 0xe88]
mov ecx, 1
mov edx, str.PreInstall
call dbg.start_rundll32
mov dword [ebp - 0xe70], eax
test eax, eax
je 0x40823b
call dbg.prettyprint_configdir
mov dword [esp], 0
mov ebx, eax
call dword [sym.imp.kernelbase.dll_GetModuleHandleW]
push edx
mov dword [esp + 0x10], ebx
xor ebx, ebx
mov dword [esp + 0xc], sym._wait_dlgproc_16
mov dword [esp + 8], 0
mov dword [esp + 4], 0x65
mov dword [esp], eax
call dword [0x419588]
sub esp, 0x14
mov edi, eax
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [0x4195d4]
push ecx
push ecx
cmp dword [ebp - 0xe70], 0
je 0x4078c9
mov dword [esp + 0x10], 0x1cff
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov dword [esp], 1
call dword [0x4195b8]
sub esp, 0x14
test eax, eax
jne 0x40806e
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 0x408231
test byte [ebp + ebx*4 - 0xe26], 4
je 0x408213
mov eax, dword [ebp - 0xe88]
mov ecx, 1
mov edx, str.DefaultInstall
call dbg.start_rundll32
mov dword [ebp - 0xe70], eax
add ebx, 1
jmp 0x40787c
mov eax, dword [ebp - 0xa18]
mov dword [esp], eax
mov eax, dword [ebp - 0xe98]
call eax
push eax
jmp 0x405f79
mov eax, dword [sym.imp.advapi32.dll_RegCreateKeyExW]
mov dword [ebp - 0xeb0], eax
mov eax, dword [sym.imp.ucrtbase.dll_free]
mov dword [ebp - 0xea8], eax
mov eax, dword [sym.imp.advapi32.dll_RegCloseKey]
mov dword [ebp - 0xe98], eax
jmp 0x405f1d
mov eax, dword [ebp - 0xe80]
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 - 0xe60]
mov dword [ebp - 0x810], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.SFCDllCacheDir
mov dword [esp], eax
call ebx
sub esp, 0x18
test eax, eax
jne 0x4069a7
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 - 0xe7c]
call eax
mov edi, dword [ebp - 0xe80]
mov dword [esp + 0xc], 0
mov esi, eax
mov dword [ebp - 0xeb8], eax
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xe60]
mov dword [esp + 0x14], edi
mov dword [esp + 8], 0
mov dword [esp + 4], str.SFCDllCacheDir
mov dword [esp], eax
call ebx
mov edx, esi
sub esp, 0x18
jmp 0x4079f7
mov edx, eax
cmp word [edx], 0
lea eax, [edx + 2]
jne 0x4079f5
xor eax, eax
movzx ecx, word [eax + 0x40d4ba]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x407a02
mov eax, dword [ebp - 0xe60]
mov dword [esp], eax
mov eax, dword [ebp - 0xe98]
call eax
cmp dword [ebp - 0xeb8], 0
push eax
jne 0x406a1b
jmp 0x4069b9
xor edi, edi
jmp 0x40695e
movzx eax, word [edi]
mov esi, edi
test ax, ax
je 0x407add
mov ebx, edi
cmp ax, 0x3b
je 0x407ab6
mov dword [esp + 4], 0x3d
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_wcschr]
test eax, eax
je 0x407ab6
mov word [eax], 0
lea ebx, [eax + 2]
mov dword [esp + 4], edi
mov dword [esp], 0x40d2f0
call dword [sym.imp.kernelbase.dll_lstrcmpiW]
push edx
push edx
test eax, eax
jne 0x407b5b
test byte [0x40a39c], 8
jne 0x407fb5
mov dword [esp], ebx
call dword [sym.imp.kernelbase.dll_DeleteFileW]
push ecx
test eax, eax
jne 0x407ab6
test byte [0x40a39c], 4
jne 0x408817
cmp word [ebx], 0
mov eax, ebx
je 0x407ac9
nop
add eax, 2
cmp word [eax], 0
jne 0x407ac0
sub eax, ebx
sar eax, 1
lea edi, [ebx + eax*2 + 2]
movzx eax, word [edi]
test ax, ax
jne 0x407a4e
cmp esi, dword [ebp - 0xe80]
je 0x407af0
mov dword [esp], esi
mov eax, dword [ebp - 0xea8]
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 0x40679f
test byte [0x40a39c], 2
je 0x40679f
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], global___dbch
mov dword [esp], 1
call sym._wine_dbg_log.constprop.6
jmp 0x40679f
test byte [0x40a39c], 8
jne 0x407ef8
mov dword [esp + 8], 3
mov dword [esp + 4], edi
mov dword [esp], ebx
call dword [sym.imp.kernelbase.dll_MoveFileExW]
sub esp, 0xc
test eax, eax
jne 0x407ab6
test byte [0x40a39c], 4
je 0x407ab6
mov eax, edi
call sym._wine_dbgstr_wn.constprop.4
mov edi, eax
mov eax, ebx
call sym._wine_dbgstr_wn.constprop.4
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Error_renaming__s_to__s_n
mov dword [esp + 8], str.wininit
mov dword [esp + 4], global___dbch
mov dword [esp], 2
call sym._wine_dbg_log.constprop.6
jmp 0x407ab6
movzx eax, byte [edi + 0x3ec]
test al, 2
jne 0x407bf5
mov ecx, dword [edi + esi*8 + 0x3f0]
add ecx, dword [edi + esi*8 + 0x3f4]
mov dword [ebp - 0xe7c], ecx
mov ebx, dword [ebp - 0xe7c]
mov dword [edi + 0x3e8], ebx
test byte [0x40a39c], 8
je 0x407c49
and eax, 1
mov dword [esp + 0x18], eax
movzx eax, byte [edi + 0x3ec]
mov dword [esp + 0x10], ebx
shr al, 1
mov dword [esp + 0xc], str.xstate_size__lu__compacted__d__optimized__d._n
and eax, 1
mov dword [esp + 8], str.initialize_xstate_features
mov dword [esp + 0x14], eax
mov dword [esp + 4], global___dbch
mov dword [esp], 3
call sym._wine_dbg_log.constprop.6
mov dword [esp], edi
call dword [sym.imp.kernelbase.dll_UnmapViewOfFile]
push eax
jmp 0x405dbd
mov dword [esp + 0xc], str.Operation_done_n
mov dword [esp + 8], global___func__.3
mov dword [esp + 4], global___dbch
mov dword [esp], 3
call sym._wine_dbg_log.constprop.6
jmp 0x407406
mov dword [esp], 0
xor ecx, ecx
mov edx, 0x40da3a
mov eax, 0x80000002
call dbg.ProcessRunKeys
mov dword [esp], 0
xor ecx, ecx
mov edx, 0x40da3a
mov eax, 0x80000001
call dbg.ProcessRunKeys
mov dword [ebp - 0xe64], 0
mov dword [ebp - 0xe60], 0
mov dword [ebp - 0xe54], 0
mov dword [ebp - 0xc20], 0
test byte [0x40a39c], 8
jne 0x4089c7
lea eax, [ebp - 0xe64]
mov dword [esp], eax
call dword [0x4194ac]
push edx
test eax, eax
js 0x408991
lea eax, [ebp - 0xe54]
mov dword [esp + 4], 7
mov dword [esp + 8], eax
mov dword [esp], 0
call dword [0x4194b4]
sub esp, 0xc
test eax, eax
js 0x4080e3
mov eax, dword [ebp - 0xe64]
mov ebx, dword [ebp - 0xeb4]
mov ecx, dword [ebp - 0xe54]
mov edx, dword [eax]
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0x412e98
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 0x408e4c
mov eax, dword [ebp - 0xe60]
mov ebx, dword [ebp - 0xea0]
mov edx, dword [eax]
mov dword [esp + 0xc], ebx
lea ebx, [ebp - 0xe4c]
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 0x408ed4
mov edi, dword [0x4194bc]
jmp 0x407dc3
test byte [0x40a39c], 8
jne 0x40884b
mov eax, dword [ebp - 0xe4c]
mov dword [esp], eax
call dword [0x4194a8]
push eax
mov eax, dword [ebp - 0xc20]
lea esi, [ebp - 0xe28]
mov edx, dword [eax]
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 0x10
test eax, eax
jne 0x4080f0
cmp dword [ebp - 0xe28], 1
jne 0x4080f0
mov eax, dword [ebp - 0xe60]
mov esi, dword [ebp - 0xe90]
mov ecx, dword [ebp - 0xe4c]
mov edx, dword [eax]
mov dword [esp + 0xc], esi
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 0x407da6
mov eax, dword [ebp - 0xe80]
mov dword [esp + 0xc], 0x104
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xe4c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xe90]
mov dword [esp], eax
call dword [0x4194c8]
sub esp, 0x10
test eax, eax
jns 0x408907
test byte [0x40a39c], 8
je 0x407db3
mov dword [esp + 0xc], str.Unable_to_parse_display_name._n
mov dword [esp + 8], str.ProcessStartupItems
mov dword [esp + 4], global___dbch
mov dword [esp], 3
call sym._wine_dbg_log.constprop.6
jmp 0x407db3
mov eax, edi
call sym._wine_dbgstr_wn.constprop.4
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.WFP:__s_error_0x_lx_n
mov dword [esp + 8], str.ProcessWindowsFileProtection
mov dword [esp + 4], global___dbch
mov dword [esp], 2
call sym._wine_dbg_log.constprop.6
jmp 0x406b96
mov eax, dword [sym.imp.ucrtbase.dll_free]
mov dword [esp], ebx
mov dword [ebp - 0xea8], eax
call eax
mov eax, dword [sym.imp.advapi32.dll_RegCloseKey]
mov dword [ebp - 0xe98], eax
jmp 0x405f1d
mov eax, edi
call sym._wine_dbgstr_wn.constprop.4
mov dword [ebp - 0xeb8], eax
mov eax, ebx
call sym._wine_dbgstr_wn.constprop.4
mov edx, dword [ebp - 0xeb8]
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], global___dbch
mov dword [esp], 3
call sym._wine_dbg_log.constprop.6
jmp 0x407b68
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], global___dbch
mov dword [esp], 1
call sym._wine_dbg_log.constprop.6
jmp 0x405d8d
mov eax, dword fs:[0x18]
mov esi, dword [eax + 0x34]
mov eax, dword [ebp - 0xe80]
call sym._wine_dbgstr_wn.constprop.4
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.failed_to_restart_64_bit__s__err__ld_n
mov dword [esp + 8], global___func__.3
mov dword [esp + 4], global___dbch
mov dword [esp], 1
call sym._wine_dbg_log.constprop.6
jmp 0x406603
mov eax, ebx
call sym._wine_dbgstr_wn.constprop.4
mov dword [esp + 0xc], str.Deleting_file__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.wininit
mov dword [esp + 4], global___dbch
mov dword [esp], 3
call sym._wine_dbg_log.constprop.6
jmp 0x407a9b
mov eax, dword [ebp - 0xc20]
mov ecx, ebx
mov edx, str.USERDOMAIN
call dbg.set_reg_value
mov ecx, dword [ebp - 0xe90]
mov eax, dword [ebp - 0xc20]
mov edx, str.LOGONSERVER
mov dword [ebp - 0xa18], 0x5c005c
call dbg.set_reg_value
jmp 0x407367
mov ecx, dword [ebp - 0xe80]
mov eax, dword [ebp - 0xc20]
mov edx, str.USERNAME
call dbg.set_reg_value
jmp 0x4072e1
mov dword [ebp - 0xe54], 1
lea eax, [ebp - 0xe26]
mov edx, 0x103
mov word [ebp - 0xe28], 0x5c
jmp 0x406c31
mov eax, dword [ebp - 0xe80]
mov dword [esp], eax
call dword [0x419590]
push eax
mov eax, dword [ebp - 0xe80]
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [0x4195c0]
sub esp, 0x14
test eax, eax
jne 0x40805e
jmp 0x40787c
call dword [sym.imp.ucrtbase.dll__errno]
cmp dword [eax], 2
jne 0x40779a
mov dword [esp + 8], 0x1b6
mov eax, dword [ebp - 0xeb8]
mov dword [esp + 4], 0x301
mov dword [esp], edi
call eax
mov esi, eax
cmp eax, 0xffffffff
jne 0x407736
jmp 0x40779a
test byte [0x40a39c], 8
jne 0x408f19
mov eax, dword [ebp - 0xc20]
test eax, eax
je 0x408103
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
push esi
mov eax, dword [ebp - 0xe60]
test eax, eax
je 0x408116
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
push ebx
mov eax, dword [ebp - 0xe54]
test eax, eax
je 0x4073f9
mov dword [esp], eax
call dword [0x4194a8]
push ecx
jmp 0x4073f9
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Max_cpuid_level__x._n
mov dword [esp + 8], str.initialize_xstate_features
mov dword [esp + 4], global___dbch
mov dword [esp], 3
call sym._wine_dbg_log.constprop.6
cmp esi, 0xc
jle 0x407c49
mov eax, 1
xor ecx, ecx
cpuid
mov esi, ecx
test byte [0x40a39c], 8
je 0x406e60
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.CPU_features__x___x___x___x._n
mov dword [esp + 8], str.initialize_xstate_features
mov dword [esp + 4], global___dbch
mov dword [esp], 3
call sym._wine_dbg_log.constprop.6
and esi, 0x8000000
je 0x407c49
mov eax, 0xd
xor ecx, ecx
cpuid
mov esi, eax
mov dword [ebp - 0xe7c], ebx
test byte [0x40a39c], 8
je 0x406e7d
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str.XSAVE_details__x___x___x___x._n
mov dword [esp + 8], str.initialize_xstate_features
mov dword [esp + 4], global___dbch
mov dword [esp], 3
call sym._wine_dbg_log.constprop.6
jmp 0x406e7d
movzx ecx, ax
mov eax, dword [ebp - 0xe88]
mov edx, str.Wow64Install
call dbg.start_rundll32
mov dword [ebp - 0xe70], eax
jmp 0x407903
mov dword [esp], edi
call dword [0x41958c]
push ecx
xor eax, eax
lea edi, [ebp - 0x80c]
mov ecx, 6
mov ebx, 0x40dc98
rep stosd dword es:[edi], eax
mov dword [esp + 4], 0
mov dword [ebp - 0x810], 0x1c
mov dword [esp], 0
call dword [0x419494]
mov dword [ebp - 0xe7c], eax
add eax, 1
push edx
push edx
je 0x409019
mov eax, dword [ebp - 0xe80]
mov esi, dword [ebx]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0xe7c]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x414708
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [0x419490]
sub esp, 0x1c
test eax, eax
jne 0x4089f0
mov eax, dword fs:[0x18]
cmp dword [eax + 0x34], 0xe0000207
je 0x4082e5
test byte [0x40a39c], 2
jne 0x40905c
add ebx, 0xc
mov eax, str.install_root_pnp_devices
cmp eax, ebx
jne 0x40827f
mov eax, dword [ebp - 0xe7c]
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 0x408402
lea eax, [ebp - 0xe64]
mov dword [esp + 0xc], 0x50
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xe90]
mov dword [ebp - 0xe64], 0x50
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xe6c]
mov dword [esp + 4], 1
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]
push eax
lea eax, [ebp - 0xe68]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xa18]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_ConvertSidToStringSidW]
push eax
push eax
mov eax, dword [ebp - 0xeb4]
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 0x409097
mov eax, dword [ebp - 0xe68]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_LocalFree]
push eax
call dbg.prettyprint_configdir
call sym._wine_dbgstr_wn.constprop.4
mov dword [esp], str.wine:_configuration_in__s_has_been_updated._n
mov dword [esp + 4], eax
call dbg.wine_dbg_printf
mov eax, dword [ebp - 0xe88]
mov dword [esp], eax
mov eax, dword [ebp - 0xea8]
call eax
jmp 0x407184
mov eax, dword [ebp - 0xa18]
mov dword [esp], edi
mov ecx, ebx
xor edx, edx
mov dword [ebp - 0xe98], eax
mov eax, 2
call dbg.find_smbios_entry
mov esi, eax
test eax, eax
je 0x4084ce
mov edx, eax
movzx eax, byte [eax + 1]
movzx ecx, byte [esi + 4]
mov dword [esp + 8], edi
sub edx, ebx
mov dword [esp], ebx
add edx, eax
mov eax, dword [ebp - 0xe98]
mov dword [esp + 4], edx
mov dword [ebp - 0xea8], edx
mov edx, str.BaseBoardManufacturer
call dbg.set_value_from_smbios_string
mov edx, dword [ebp - 0xea8]
movzx ecx, byte [esi + 5]
mov dword [esp + 8], edi
mov dword [esp], ebx
mov eax, dword [ebp - 0xe98]
mov dword [esp + 4], edx
mov edx, str.BaseBoardProduct
call dbg.set_value_from_smbios_string
mov edx, dword [ebp - 0xea8]
movzx ecx, byte [esi + 6]
mov dword [esp + 8], edi
mov dword [esp], ebx
mov eax, dword [ebp - 0xe98]
mov dword [esp + 4], edx
mov edx, str.BaseBoardVersion
call dbg.set_value_from_smbios_string
mov eax, dword [ebp - 0xa18]
mov dword [esp], edi
mov ecx, ebx
xor edx, edx
mov dword [ebp - 0xe98], eax
xor eax, eax
call dbg.find_smbios_entry
mov esi, eax
test eax, eax
je 0x40869b
mov edx, eax
movzx eax, byte [eax + 1]
movzx ecx, byte [esi + 4]
mov dword [esp + 8], edi
sub edx, ebx
mov dword [esp], ebx
add edx, eax
mov eax, dword [ebp - 0xe98]
mov dword [esp + 4], edx
mov dword [ebp - 0xea8], edx
mov edx, str.BIOSVendor
call dbg.set_value_from_smbios_string
mov edx, dword [ebp - 0xea8]
movzx ecx, byte [esi + 5]
mov dword [esp + 8], edi
mov dword [esp], ebx
mov eax, dword [ebp - 0xe98]
mov dword [esp + 4], edx
mov edx, str.BIOSVersion
call dbg.set_value_from_smbios_string
mov edx, dword [ebp - 0xea8]
movzx ecx, byte [esi + 8]
mov dword [esp + 8], edi
mov dword [esp], ebx
mov eax, dword [ebp - 0xe98]
mov dword [esp + 4], edx
mov edx, str.BIOSReleaseDate
call dbg.set_value_from_smbios_string
cmp byte [esi + 1], 0x17
jbe 0x408b54
movzx eax, byte [esi + 0x14]
mov edx, dword [ebp - 0xe80]
mov dword [esp + 0x14], 4
mov ecx, dword [sym.imp.advapi32.dll_RegSetValueExW]
mov dword [esp + 0xc], 4
mov dword [ebp - 0x810], eax
mov eax, dword [ebp - 0xe98]
mov dword [esp + 0x10], edx
mov dword [ebp - 0xea8], ecx
mov dword [esp + 8], 0
mov dword [esp + 4], str.BiosMajorRelease
mov dword [esp], eax
call ecx
movzx eax, byte [esi + 0x15]
mov edx, dword [ebp - 0xe80]
sub esp, 0x18
mov ecx, dword [ebp - 0xea8]
mov dword [ebp - 0x810], eax
mov eax, dword [ebp - 0xe98]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], 4
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0
mov dword [esp + 4], str.BiosMinorRelease
mov dword [esp], eax
call ecx
movzx eax, byte [esi + 0x16]
mov edx, dword [ebp - 0xe80]
sub esp, 0x18
mov ecx, dword [ebp - 0xea8]
mov dword [ebp - 0x810], eax
mov eax, dword [ebp - 0xe98]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], 4
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0
mov dword [esp + 4], str.ECFirmwareMajorVersion
mov dword [esp], eax
call ecx
movzx eax, byte [esi + 0x17]
mov edx, dword [ebp - 0xe80]
sub esp, 0x18
mov ecx, dword [ebp - 0xea8]
mov dword [ebp - 0x810], eax
mov eax, dword [ebp - 0xe98]
mov dword [esp + 0x14], 4
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0
mov dword [esp + 4], str.ECFirmwareMinorVersion
mov dword [esp], eax
call ecx
sub esp, 0x18
mov eax, dword [ebp - 0xa18]
mov dword [esp], edi
mov ecx, ebx
xor edx, edx
mov dword [ebp - 0xe98], eax
mov eax, 1
call dbg.find_smbios_entry
mov esi, eax
test eax, eax
je 0x40878f
mov edx, eax
movzx eax, byte [eax + 1]
movzx ecx, byte [esi + 4]
mov dword [esp + 8], edi
sub edx, ebx
mov dword [esp], ebx
add edx, eax
mov eax, dword [ebp - 0xe98]
mov dword [esp + 4], edx
mov dword [ebp - 0xea8], edx
mov edx, str.SystemManufacturer
call dbg.set_value_from_smbios_string
mov edx, dword [ebp - 0xea8]
movzx ecx, byte [esi + 5]
mov dword [esp + 8], edi
mov dword [esp], ebx
mov eax, dword [ebp - 0xe98]
mov dword [esp + 4], edx
mov edx, str.SystemProductName
call dbg.set_value_from_smbios_string
mov edx, dword [ebp - 0xea8]
movzx ecx, byte [esi + 6]
mov dword [esp + 8], edi
mov dword [esp], ebx
mov eax, dword [ebp - 0xe98]
mov dword [esp + 4], edx
mov edx, str.SystemVersion
call dbg.set_value_from_smbios_string
cmp byte [esi + 1], 0x1a
jbe 0x408ce1
mov edx, dword [ebp - 0xea8]
movzx ecx, byte [esi + 0x19]
mov dword [esp + 8], edi
mov dword [esp], ebx
mov eax, dword [ebp - 0xe98]
mov dword [esp + 4], edx
mov edx, str.SystemSKU
call dbg.set_value_from_smbios_string
mov edx, dword [ebp - 0xea8]
movzx ecx, byte [esi + 0x1a]
mov dword [esp + 8], edi
mov dword [esp], ebx
mov eax, dword [ebp - 0xe98]
mov dword [esp + 4], edx
mov edx, str.SystemFamily
call dbg.set_value_from_smbios_string
mov eax, dword [ebp - 0xa18]
mov dword [esp], eax
mov eax, dword [sym.imp.advapi32.dll_RegCloseKey]
mov dword [ebp - 0xe98], eax
call eax
push eax
jmp 0x405eec
test byte [0x40a39c], 2
je 0x405d8d
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], global___dbch
mov dword [esp], 1
call sym._wine_dbg_log.constprop.6
jmp 0x405d8d
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], global___dbch
mov dword [esp], 1
call sym._wine_dbg_log.constprop.6
jmp 0x407172
mov eax, ebx
call sym._wine_dbgstr_wn.constprop.4
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], global___dbch
mov dword [esp], 2
call sym._wine_dbg_log.constprop.6
jmp 0x407ab6
mov dword [esp + 0xc], str.Unable_to_get_display_name_of_enumeration_item._n
mov dword [esp + 8], str.ProcessStartupItems
mov dword [esp + 4], global___dbch
mov dword [esp], 3
call sym._wine_dbg_log.constprop.6
jmp 0x407db3
mov eax, dword [ebp - 0xeb8]
jmp 0x406a59
or ecx, 0xffffffff
xor eax, eax
mov edi, esi
repne scasb al, byte es:[edi]
mov ebx, ecx
not ebx
lea edx, [esi + ebx - 1]
jmp 0x406688
mov dword [esp], str.WINEDATADIR
call ebx
mov ebx, eax
test eax, eax
je 0x408b34
mov dword [esp], eax
mov edi, dword [sym.imp.ucrtbase.dll_wcslen]
call edi
add eax, 0xa
add eax, eax
mov dword [esp], eax
mov eax, dword [ebp - 0xe7c]
call eax
mov dword [ebp - 0xe88], eax
test eax, eax
je 0x408b34
xor eax, eax
movzx edx, word [ebx + eax]
mov esi, dword [ebp - 0xe88]
mov word [esi + eax], dx
add eax, 2
test dx, dx
jne 0x4088d3
jmp 0x407596
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 0x40691b
mov eax, dword [ebp - 0xe80]
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0
call edi
sub esp, 0x18
mov esi, eax
cmp eax, 0x20
ja 0x407db3
test byte [0x40a39c], 4
je 0x407db3
mov eax, dword [ebp - 0xe80]
call sym._wine_dbgstr_wn.constprop.4
mov dword [esp + 0x10], esi
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], global___dbch
mov dword [esp], 2
call sym._wine_dbg_log.constprop.6
jmp 0x407db3
test byte [0x40a39c], 2
je 0x4080f0
mov dword [esp + 0xc], str.Couldnt_get_desktop_folder._n
mov dword [esp + 8], str.ProcessStartupItems
mov dword [esp + 4], global___dbch
mov dword [esp], 1
call sym._wine_dbg_log.constprop.6
jmp 0x4080f0
mov dword [esp + 0xc], str.Processing_items_in_the_StartUp_folder._n
mov dword [esp + 8], str.ProcessStartupItems
mov dword [esp + 4], global___dbch
mov dword [esp], 3
call sym._wine_dbg_log.constprop.6
jmp 0x407ce6
mov edi, dword [ebx + 4]
xor eax, eax
or ecx, 0xffffffff
mov dword [ebp - 0xe9c], edi
mov edx, edi
repne scasb al, byte es:[edi]
mov eax, dword [ebp - 0xe80]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 1
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xe7c]
mov dword [esp], eax
neg ecx
mov dword [esp + 0x10], ecx
call dword [0x41949c]
sub esp, 0x14
test eax, eax
jne 0x408c67
test byte [0x40a39c], 2
je 0x4082e5
mov eax, dword fs:[0x18]
mov edi, dword [eax + 0x34]
mov eax, esi
call sym._wine_dbgstr_an.constprop.5
mov dword [esp + 0xc], str.Failed_to_set_hardware_id_for__s__error__lx._n
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.install_root_pnp_devices
mov dword [esp + 4], global___dbch
mov dword [esp], 1
call sym._wine_dbg_log.constprop.6
jmp 0x4082e5
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 eax
push eax
test byte [0x40a39c], 2
je 0x4074ec
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], global___dbch
mov dword [esp], 1
call sym._wine_dbg_log.constprop.6
jmp 0x4074ec
call dword [sym.imp.ucrtbase.dll__errno]
mov eax, dword [eax]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_strerror]
mov esi, eax
mov eax, dword [ebp - 0xe88]
call sym._wine_dbgstr_wn.constprop.4
mov ebx, eax
mov eax, dword [ebp - 0xeac]
call sym._wine_dbgstr_wn.constprop.4
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov dword [esp], str.wine:_failed_to_update__s_with__s:__s_n
call dbg.wine_dbg_printf
jmp 0x40841c
mov edx, dword [ebp - 0xe88]
jmp 0x4075af
mov eax, dword [ebp - 0xeac]
call sym._wine_dbgstr_wn.constprop.4
mov dword [esp], str.wine:_failed_to_update__s__wine.inf_not_found_n
mov dword [esp + 4], eax
call dbg.wine_dbg_printf
jmp 0x407184
mov esi, dword [ebp - 0xe98]
mov eax, dword [ebp - 0xe80]
mov dword [ebp - 0x810], 0xff
mov dword [esp + 0x14], 4
mov dword [esp], esi
mov esi, dword [sym.imp.advapi32.dll_RegSetValueExW]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0
mov dword [esp + 4], str.BiosMajorRelease
call esi
mov edx, dword [ebp - 0xe98]
mov eax, dword [ebp - 0xe80]
mov dword [ebp - 0x810], 0xff
sub esp, 0x18
mov dword [esp], edx
mov dword [esp + 0x14], 4
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0
mov dword [esp + 4], str.BiosMinorRelease
call esi
mov edx, dword [ebp - 0xe98]
mov eax, dword [ebp - 0xe80]
mov dword [ebp - 0x810], 0xff
sub esp, 0x18
mov dword [esp], edx
mov dword [esp + 0x14], 4
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0
mov dword [esp + 4], str.ECFirmwareMajorVersion
call esi
mov eax, dword [ebp - 0xe80]
mov edx, dword [ebp - 0xe98]
mov dword [ebp - 0x810], 0xff
sub esp, 0x18
mov dword [esp + 0x14], 4
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0
mov dword [esp + 4], str.ECFirmwareMinorVersion
mov dword [esp], edx
call esi
sub esp, 0x18
jmp 0x40869b
mov eax, dword [ebp - 0xe80]
mov dword [esp], 0x19
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xe7c]
mov dword [esp + 4], eax
call dword [0x41948c]
sub esp, 0xc
test eax, eax
jne 0x40910e
test byte [0x40a39c], 2
je 0x4082e5
mov eax, dword fs:[0x18]
mov edi, dword [eax + 0x34]
mov eax, esi
call sym._wine_dbgstr_an.constprop.5
mov dword [esp + 0xc], str.Failed_to_register_device__s__error__lx._n
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.install_root_pnp_devices
mov dword [esp + 4], global___dbch
mov dword [esp], 1
call sym._wine_dbg_log.constprop.6
jmp 0x4082e5
mov esi, dword [ebp - 0xea8]
mov dword [esp], ebx
xor ecx, ecx
mov edx, str.SystemSKU
mov dword [esp + 8], edi
mov eax, dword [ebp - 0xe98]
mov dword [esp + 4], esi
call dbg.set_value_from_smbios_string
mov dword [esp + 8], edi
xor ecx, ecx
mov edx, str.SystemFamily
mov dword [esp + 4], esi
mov eax, dword [ebp - 0xe98]
mov dword [esp], ebx
call dbg.set_value_from_smbios_string
jmp 0x40878f
mov eax, dword [ebp - 0xea0]
mov dword [esp + 8], 0
mov dword [ebp - 0xc20], 0x100
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0xe80]
mov dword [esp + 4], str.ComputerName
mov dword [esp + 0x10], eax
lea eax, [ebp - 0xe28]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xe4c]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
sub esp, 0x18
test eax, eax
je 0x408d7e
mov dword [ebp - 0xc20], 0
mov eax, dword [ebp - 0xe4c]
mov dword [esp], eax
mov eax, dword [ebp - 0xe98]
call eax
cmp dword [ebp - 0xc20], 0
push esi
je 0x406719
mov eax, dword [ebp - 0xe54]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], ebx
mov dword [esp], 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.ActiveComputerName
call eax
sub esp, 0x24
test eax, eax
jne 0x406719
mov eax, dword [ebp - 0xc20]
mov dword [esp + 8], 0
mov dword [esp + 4], str.ComputerName
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0xe80]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xe28]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xe4c]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegSetValueExW]
mov eax, dword [ebp - 0xe4c]
sub esp, 0x18
mov dword [esp], eax
mov eax, dword [ebp - 0xe98]
call eax
push ebx
jmp 0x406719
test byte [0x40a39c], 8
je 0x4080f0
mov dword [esp + 0xc], str.Couldnt_bind_IShellFolder_to_StartUp_folder._n
mov dword [esp + 8], str.ProcessStartupItems
mov dword [esp + 4], global___dbch
mov dword [esp], 3
call sym._wine_dbg_log.constprop.6
jmp 0x4080f0
cmp word [ebx + 2], 0x3f
jne 0x4088ee
cmp word [ebx + 4], 0x3f
jne 0x4088ee
cmp word [ebx + 6], 0x5c
jne 0x4088ee
add ebx, 8
jmp 0x4068f0
cmp word [esi + 2], 0x3f
jne 0x4068d6
cmp word [esi + 4], 0x3f
jne 0x4068d6
cmp word [esi + 6], 0x5c
jne 0x4068d6
add esi, 8
jmp 0x4068d6
test byte [0x40a39c], 8
je 0x4080f0
mov dword [esp + 0xc], str.Unable_to_enumerate_StartUp_objects._n
mov dword [esp + 8], str.ProcessStartupItems
mov dword [esp + 4], global___dbch
mov dword [esp], 3
call sym._wine_dbg_log.constprop.6
jmp 0x4080f0
mov dword [esp], esi
call dword [sym.imp.kernelbase.dll_DeleteFileW]
push eax
jmp 0x40691b
mov dword [esp + 0xc], str.Couldnt_get_StartUp_folder_location._n
mov dword [esp + 8], str.ProcessStartupItems
mov dword [esp + 4], global___dbch
mov dword [esp], 3
call sym._wine_dbg_log.constprop.6
jmp 0x4080f0
test byte [0x40a39c], 8
jne 0x408fe1
mov eax, dword [ebp - 0xc20]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_WaitForSingleObject]
push eax
push eax
lea eax, [ebp - 0xe28]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc20]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_GetExitCodeProcess]
push eax
push eax
mov eax, dword [ebp - 0xe28]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_ExitProcess]
mov eax, edi
call sym._wine_dbgstr_wn.constprop.4
mov dword [esp + 0xc], str.failed_to_update_timestamp_in__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.update_timestamp
mov dword [esp + 4], global___dbch
mov dword [esp], 2
call sym._wine_dbg_log.constprop.6
jmp 0x40777e
mov dword [esp], esi
mov eax, dword [ebp - 0xebc]
call eax
mov dword [esp], edi
mov eax, dword [ebp - 0xea8]
call eax
jmp 0x4077b2
mov eax, dword [ebp - 0xe80]
call sym._wine_dbgstr_wn.constprop.4
mov dword [esp + 0xc], str.restarting__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], global___func__.3
mov dword [esp + 4], global___dbch
mov dword [esp], 3
call sym._wine_dbg_log.constprop.6
jmp 0x408f4f
test byte [0x40a39c], 2
je 0x408301
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], global___dbch
mov dword [esp], 1
call sym._wine_dbg_log.constprop.6
jmp 0x408301
mov edi, dword [eax + 0x34]
mov eax, esi
call sym._wine_dbgstr_an.constprop.5
mov dword [esp + 0xc], str.Failed_to_create_device__s__error__lx._n
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.install_root_pnp_devices
mov dword [esp + 4], global___dbch
mov dword [esp], 1
call sym._wine_dbg_log.constprop.6
jmp 0x4082e5
lea eax, [ebp - 0xe54]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0xe68]
mov dword [esp + 0x18], 0
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xe60]
mov dword [esp + 0x14], 0xf003f
mov dword [esp], eax
mov eax, dword [ebp - 0xeb0]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
call eax
sub esp, 0x24
test eax, eax
je 0x409194
mov eax, dword [ebp - 0xe60]
mov dword [esp], eax
mov eax, dword [ebp - 0xe98]
call eax
push eax
jmp 0x4083f2
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov eax, dword [ebx + 8]
mov dword [esp], 0
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xe9c]
mov dword [esp + 4], eax
call sym._UpdateDriverForPlugAndPlayDevicesA_20
sub esp, 0x14
test eax, eax
jne 0x4082e5
test byte [0x40a39c], 2
je 0x4082e5
mov eax, dword fs:[0x18]
mov edi, dword [eax + 0x34]
mov eax, esi
call sym._wine_dbgstr_an.constprop.5
mov dword [esp + 0xc], str.Failed_to_install_drivers_for__s__error__lx._n
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.install_root_pnp_devices
mov dword [esp + 4], global___dbch
mov dword [esp], 1
call sym._wine_dbg_log.constprop.6
jmp 0x4082e5
mov eax, dword [ebp - 0xe80]
mov dword [esp + 0xc], 1
mov dword [ebp - 0xe4c], 0
mov dword [esp + 8], 0x28
mov dword [esp + 4], eax
mov dword [esp], 0
call dword [0x4194b8]
sub esp, 0x10
test eax, eax
jne 0x40921f
mov eax, dword [ebp - 0xe54]
lea ebx, [ebp - 0xe4c]
mov dword [esp + 0x14], 4
mov dword [esp + 0x10], ebx
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 - 0xe54]
sub esp, 0x18
mov dword [esp], eax
mov eax, dword [ebp - 0xe98]
call eax
push eax
jmp 0x4090f7
mov ecx, dword [ebp - 0xe80]
mov eax, dword [ebp - 0xe54]
mov edx, str.ProfileImagePath
call dbg.set_reg_value
jmp 0x4091cc