Function at 0x406090
Capabilities:
Accept command line arguments
Access peb ldr_data
Check for peb beingdebugged flag
Check os version
Create process on windows
Delete directory
Delete file
Delete registry value
Enumerate files on windows
Execute anti-debugging instructions
Generate random numbers via rtlgenrandom
Get common file path
Get hostname
Get number of processors
Get process heap flags
Get process heap force flags
Get session user name
Get system information on windows
Make suspicious ntquerysysteminformation call
Move file
Persist via winlogon helper dll registry key
Query or enumerate registry value
Read .ini file
Read file on windows
Resolve dns
Self delete
Set current directory
Set registry value
Terminate process

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0xf18
mov eax, dword [ecx]
mov dword [ebp - 0xea0], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0xea4], eax
call dbg.__main
mov dword [esp + 4], 0x104
mov dword [esp], 0x417240
call dword [sym.imp.kernelbase.dll_GetWindowsDirectoryW]
sub esp, 8
mov dword [esp], 0x417240
call dword [sym.imp.kernelbase.dll_SetCurrentDirectoryW]
sub esp, 4
test eax, eax
jne 0x4060f6
test byte [0x40a39c], 2
jne 0x406b0e
lea eax, [ebp - 0xe88]
mov dword [esp], 0xffffffff
mov dword [esp + 4], eax
call dword [sym.imp.kernelbase.dll_IsWow64Process]
sub esp, 8
test eax, eax
je 0x406121
cmp dword [ebp - 0xe88], 0
jne 0x40729a
cmp dword [ebp - 0xea0], 1
jle 0x40640d
mov dword [ebp - 0xeac], 0
mov edi, 1
mov dword [ebp - 0xebc], 0
mov dword [ebp - 0xeb8], 0
mov dword [ebp - 0xea8], 0
mov dword [ebp - 0xeb4], 0
mov dword [ebp - 0xec8], 0
mov dword [ebp - 0xeb0], 0
jmp 0x40624f
mov dword [esp + 4], str.__help
mov ebx, dword [sym.imp.ucrtbase.dll_strcmp]
mov dword [esp], esi
call ebx
test eax, eax
je 0x406b02
mov dword [esp + 4], str.__end_session
mov dword [esp], esi
call ebx
test eax, eax
je 0x406380
mov dword [esp + 4], str.__force
mov dword [esp], esi
call ebx
test eax, eax
je 0x406390
mov dword [esp + 4], str.__init
mov dword [esp], esi
call ebx
test eax, eax
je 0x40639f
mov dword [esp + 4], str.__kill
mov dword [esp], esi
call ebx
test eax, eax
je 0x4063ae
mov dword [esp + 4], str.__restart
mov dword [esp], esi
call ebx
test eax, eax
je 0x4063bd
mov dword [esp + 4], str.__shutdown
mov dword [esp], esi
call ebx
test eax, eax
je 0x4063fe
mov dword [esp + 4], str.__update
mov dword [esp], esi
call ebx
test eax, eax
jne case.0x406296.2
mov dword [ebp - 0xeac], 1
lea esi, [esi]
nop
add edi, 1
cmp dword [ebp - 0xea0], edi
je 0x4062db
mov eax, dword [ebp - 0xea4]
mov esi, dword [eax + edi*4]
cmp byte [esi], 0x2d
jne 0x406240
movzx eax, byte [esi + 1]
cmp al, 0x2d
je 0x406180
lea edx, [esi + 2]
test al, al
je 0x406240
mov ecx, dword [ebp - 0xeb8]
mov ebx, dword [ebp - 0xebc]
mov esi, dword [ebp - 0xeb0]
lea esi, [esi]
sub eax, 0x65
cmp al, 0x10
ja case.0x406296.2
movzx eax, al
jmp dword [eax*4 + 0x40cc1c]
mov dword [ebp - 0xeac], 1
lea esi, [esi]
movzx eax, byte [edx]
add edx, 1
test al, al
jne 0x406288
mov dword [ebp - 0xeb8], ecx
add edi, 1
mov dword [ebp - 0xebc], ebx
mov dword [ebp - 0xeb0], esi
cmp dword [ebp - 0xea0], edi
jne 0x40624f
mov eax, dword [ebp - 0xeb0]
test eax, eax
je 0x4063cc
mov eax, dword [ebp - 0xec8]
cmp dword [ebp - 0xea8], 0
mov dword [esp], eax
je 0x406aeb
call dbg.shutdown_all_desktops
test eax, eax
je 0x4063ec
mov eax, dword [ebp - 0xebc]
mov dword [esp], eax
call dbg.kill_processes
jmp 0x4063d9
mov ebx, 1
jmp 0x4062b0
mov dword [ebp - 0xea8], 1
jmp 0x4062b0
mov ecx, 1
jmp 0x4062b0
mov esi, 1
jmp 0x4062b0
mov dword [ebp - 0xeb4], 1
jmp 0x4062b0
mov dword [ebp - 0xec8], 1
jmp 0x4062b0
mov dword [ebp - 0xeb0], 1
jmp 0x406240
mov dword [ebp - 0xec8], 1
jmp 0x406240
mov dword [ebp - 0xeb4], 1
jmp 0x406240
mov dword [ebp - 0xea8], 1
jmp 0x406240
mov dword [ebp - 0xeb8], 1
jmp 0x406240
cmp dword [ebp - 0xea8], 0
jne 0x40630c
cmp dword [ebp - 0xebc], 0
mov dword [ebp - 0xeb0], 0
je 0x406435
mov eax, dword [ebp - 0xeb0]
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
mov dword [ebp - 0xebc], 1
jmp 0x406240
mov dword [ebp - 0xeb4], 0
mov dword [ebp - 0xeac], 0
mov dword [ebp - 0xeb8], 0
mov dword [ebp - 0xea8], 0
lea eax, [ebp - 0xe74]
mov ebx, dword [sym.imp.ntdll.dll_RtlInitUnicodeString]
mov dword [ebp - 0xe48], 0x18
mov dword [ebp - 0xe40], eax
mov dword [esp], eax
mov dword [ebp - 0xe44], 0
mov dword [ebp - 0xe3c], 0x82
mov dword [ebp - 0xe38], 0
mov dword [ebp - 0xe34], 0
mov dword [esp + 4], str.KernelObjects__wineboot_event
call ebx
lea eax, [ebp - 0xe48]
push esi
push esi
mov dword [esp + 8], eax
lea eax, [ebp - 0xe8c]
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 - 0xe8c]
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 - 0xc24]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0xe6c]
mov dword [ebp - 0xc28], 0x18
mov dword [esp], eax
mov dword [esp + 4], str.KernelObjects__wine_user_shared_data
call ebx
mov dword [ebp - 0xc28], 0x18
push eax
push eax
lea eax, [ebp - 0xe6c]
mov dword [ebp - 0xc20], eax
lea eax, [ebp - 0xc28]
mov dword [ebp - 0xc24], 0
mov dword [esp + 8], eax
lea eax, [ebp - 0xe7c]
mov dword [ebp - 0xc1c], pe_nt_image_headers32
mov dword [ebp - 0xc18], 0
mov dword [ebp - 0xc14], 0
mov dword [esp + 4], 0xf001f
mov dword [esp], eax
call dword [sym.imp.ntdll.dll_NtOpenSection]
sub esp, 0xc
test eax, eax
je 0x406b52
test byte [0x40a39c], 2
jne 0x408c94
lea eax, [ebp - 0xa20]
xor ebx, ebx
xor esi, esi
mov dword [ebp - 0xea4], eax
lea eax, [ebp - 0x818]
mov dword [ebp - 0xeb0], eax
lea eax, [ebp - 0xe30]
mov dword [ebp - 0xebc], eax
mov eax, ebx
mov edx, esi
call dbg.create_hardware_registry_keys
mov eax, dword [ebp - 0xea4]
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], eax
mov eax, dword [sym.imp.advapi32.dll_RegCreateKeyExW]
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
mov dword [ebp - 0xec8], eax
call eax
sub esp, 0x24
test eax, eax
je 0x408a26
mov eax, dword [ebp - 0xea4]
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0xec8]
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 0x406898
mov esi, dword [sym.imp.advapi32.dll_RegSetValueExW]
mov edi, dword [ebp - 0xeb0]
mov ebx, str.C29A23D0
mov eax, dword [ebp - 0xa20]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], edi
mov dword [esp], eax
mov eax, dword [ebp - 0xec8]
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
call eax
sub esp, 0x24
test eax, eax
jne 0x406876
lea edx, [ebx + 0x12]
cmp word [ebx + 0x12], 0
mov ecx, dword [ebp - 0x818]
mov eax, edx
je 0x4066e9
lea esi, [esi]
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x4066e0
sub eax, edx
mov dword [esp + 0x10], edx
add eax, 2
mov dword [esp], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], str.HardWareKey
call esi
lea eax, [ebx + 0x92]
sub esp, 0x18
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x818]
mov dword [esp + 0x14], 4
mov dword [esp + 0xc], 3
mov dword [esp + 8], 0
mov dword [esp + 4], str.Problem
mov dword [esp], eax
call esi
lea eax, [ebx + 0x96]
sub esp, 0x18
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x818]
mov dword [esp + 0x14], 4
mov dword [esp + 0xc], 3
mov dword [esp + 8], 0
mov dword [esp + 4], str.Status
mov dword [esp], eax
call esi
lea eax, [ebx + 0x9a]
sub esp, 0x18
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x818]
mov dword [esp + 0x14], 0xc
mov dword [esp + 0xc], 3
mov dword [esp + 8], 0
mov dword [esp + 4], str.Allocation
mov dword [esp], eax
call esi
lea eax, [ebx + 0xa6]
sub esp, 0x18
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x818]
mov dword [esp + 0x14], 4
mov dword [esp + 0xc], 3
mov dword [esp + 8], 0
mov dword [esp + 4], str.Child
mov dword [esp], eax
call esi
lea eax, [ebx + 0xaa]
sub esp, 0x18
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x818]
mov dword [esp + 0x14], 4
mov dword [esp + 0xc], 3
mov dword [esp + 8], 0
mov dword [esp + 4], str.Sibling
mov dword [esp], eax
call esi
lea eax, [ebx + 0xae]
sub esp, 0x18
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x818]
mov dword [esp + 0x14], 4
mov dword [esp + 0xc], 3
mov dword [esp + 8], 0
mov dword [esp + 4], str.Parent
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x818]
sub esp, 0x18
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
push eax
add ebx, 0xb2
cmp ebx, 0x40a39a
jne 0x406670
mov eax, dword [ebp - 0xa20]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
push eax
mov eax, dword [ebp - 0xebc]
mov dword [esp + 4], str.SystemCurrentControlSetControlSession_ManagerEnvironment
mov dword [esp], 0x80000002
mov dword [esp + 8], eax
call dword [sym.imp.advapi32.dll_RegCreateKeyW]
sub esp, 0xc
test eax, eax
jne 0x406a3e
mov eax, dword [ebp - 0xea4]
call dbg.get_vendorid
lea eax, [ebp - 0xc28]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0xc
mov dword [esp + 4], eax
mov dword [esp], 1
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov ebx, dword [ebp - 0xeb0]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
sub esp, 0x10
mov eax, dword [eax + 0x64]
mov dword [esp + 8], 0x40b6e4
mov dword [esp + 4], 0x3c
mov dword [esp + 0xc], eax
mov dword [esp], ebx
call dbg.swprintf
mov eax, dword [ebp - 0xe30]
mov ecx, ebx
mov edx, str.NUMBER_OF_PROCESSORS
call sym._set_reg_value.isra.0
cmp word [ebp - 0xc28], 9
je 0x409148
mov ebx, 0x40b5ec
mov ecx, ebx
mov eax, dword [ebp - 0xe30]
mov edx, str.PROCESSOR_ARCHITECTURE
call sym._set_reg_value.isra.0
movzx eax, word [ebp - 0xc28]
cmp ax, 5
je 0x408bb6
cmp ax, 0xc
je 0x408bb6
mov edx, ebx
mov ebx, dword [ebp - 0xeb0]
mov eax, ebx
call sym._get_identifier.constprop.0
mov dword [esp + 4], 0x40c112
mov dword [esp], ebx
call sym._lstrcatW_8
mov eax, dword [ebp - 0xea4]
push esi
push esi
mov dword [esp + 4], eax
mov dword [esp], ebx
call sym._lstrcatW_8
push edi
push edi
mov ebx, dword [ebp - 0xeb0]
mov eax, dword [ebp - 0xe30]
mov edx, 0x40c118
mov ecx, ebx
call sym._set_reg_value.isra.0
movzx eax, word [ebp - 0xc26]
mov dword [esp + 8], 0x40b6e4
mov dword [esp + 4], 0x3c
mov dword [esp + 0xc], eax
mov dword [esp], ebx
call dbg.swprintf
mov eax, dword [ebp - 0xe30]
mov ecx, ebx
mov edx, str.PROCESSOR_LEVEL
call sym._set_reg_value.isra.0
movzx eax, word [ebp - 0xc24]
mov dword [esp + 8], str._04x
mov dword [esp + 4], 0x3c
mov dword [esp + 0xc], eax
mov dword [esp], ebx
call dbg.swprintf
mov eax, dword [ebp - 0xe30]
mov ecx, ebx
mov edx, str.PROCESSOR_REVISION
call sym._set_reg_value.isra.0
mov eax, dword [ebp - 0xe30]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
push ecx
mov edi, dword [ebp - 0xea4]
xor eax, eax
mov ecx, 8
mov ebx, dword [ebp - 0xeb0]
rep stosd dword es:[edi], eax
mov dword [esp + 4], 0x100
mov dword [esp], ebx
call dword [sym.imp.ws2_32.dll_gethostname]
mov ecx, dword [sym.imp.advapi32.dll_RegOpenKeyW]
push edx
mov dword [ebp - 0xed0], ecx
push edx
test eax, eax
jne 0x40743f
mov edi, dword [ebp - 0xea4]
lea eax, [ebp - 0xe6c]
mov dword [esp + 4], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], edi
mov dword [esp], ebx
mov dword [ebp - 0xa20], 2
call sym._getaddrinfo_16
sub esp, 0x10
test eax, eax
jne 0x407379
mov eax, dword [ebp - 0xe6c]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x407379
mov dword [esp + 4], str.localhost
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll__stricmp]
test eax, eax
je 0x407379
mov eax, dword [ebp - 0xe6c]
mov ebx, dword [eax + 0x14]
jmp 0x40737f
call dbg.shutdown_close_windows
test eax, eax
jne 0x4063d9
jmp 0x4063ec
mov eax, 1
call dbg.usage
xor eax, eax
call dbg.usage
mov eax, dword fs:[0x18]
mov ebx, dword [eax + 0x34]
mov eax, 0x417240
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], global___func__.6
mov dword [esp + 4], global___dbch
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
jmp 0x4060f6
mov eax, dword [ebp - 0xe7c]
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 - 0xe7c]
sub esp, 0x14
mov dword [esp], eax
mov eax, dword [sym.imp.kernelbase.dll_CloseHandle]
mov dword [ebp - 0xea0], eax
call eax
push ebx
test edi, edi
je 0x409101
mov dword [ebp - 0x818], 0x11c
lea eax, [ebp - 0x818]
mov dword [ebp - 0xeb0], eax
mov dword [esp], eax
call dword [sym.imp.ntdll.dll_RtlGetVersion]
lea eax, [ebp - 0xa20]
mov ebx, dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
push ecx
mov dword [ebp - 0xea4], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x2c
mov dword [esp + 4], eax
mov dword [esp], 0
call ebx
lea eax, [ebp - 0xe64]
sub esp, 0x10
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0xc
mov dword [esp + 4], eax
mov dword [esp], 1
call ebx
mov dword [edi + 4], 0x1000000
mov dword [edi + 0x244], 0x200000
mov eax, dword [ebp - 0x80c]
sub esp, 0x10
mov dword [edi + 0x260], eax
movzx eax, byte [ebp - 0x6fe]
mov byte [edi + 0x268], 1
mov dword [edi + 0x264], eax
movzx eax, word [ebp - 0xe64]
mov word [edi + 0x26a], ax
mov eax, dword [ebp - 0x814]
mov dword [edi + 0x26c], eax
mov eax, dword [ebp - 0x810]
mov dword [edi + 0x270], eax
movzx eax, word [ebp - 0x700]
mov dword [edi + 0x2d0], eax
mov eax, dword [ebp - 0xa14]
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 - 0xe64]
cmp ax, 9
je 0x40953c
ja 0x408705
test ax, ax
je 0x40953c
cmp ax, 5
jne 0x406cfb
mov eax, dword [ebp - 0xe5c]
mov byte [edi + 0x286], al
shr eax, 1
and eax, 1
and byte [edi + 0x286], 1
mov byte [edi + 0x287], al
cmp word [ebp - 0xe62], 7
seta byte [edi + 0x291]
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 0x406e64
xor eax, eax
mov ecx, eax
cpuid
mov esi, eax
test byte [0x40a39c], 8
jne 0x408d09
cmp eax, 0xc
jle 0x406e64
mov eax, 1
xor ecx, ecx
cpuid
and ecx, 0x8000000
je 0x406e64
mov eax, 0xd
xor ecx, ecx
cpuid
mov esi, eax
and esi, 2
je 0x406e64
mov esi, 0xd
mov dword [edi + 0x600], ebx
mov ecx, 1
mov dword [edi + 0x604], 0xa0
mov eax, esi
cpuid
mov edx, eax
and eax, 1
mov ecx, 2
mov dword [edi + 0x608], 0x100
mov dword [edi + 0x60c], 0x100
shr edx, 1
mov dword [edi + 0x3f4], 0xa0
and edx, 1
mov dword [edi + 0x3fc], 0x100
add edx, edx
mov dword [edi + 0x404], 0x100
or eax, edx
movzx edx, byte [edi + 0x3ec]
mov dword [edi + 0x3f8], 0xa0
mov dword [edi + 0x400], 0x240
and edx, 0xfffffffc
mov dword [edi + 0x3d8], 7
or eax, edx
mov byte [edi + 0x3ec], al
mov eax, esi
mov dword [edi + 0x3dc], 0
mov dword [edi + 0x3e0], 7
mov dword [edi + 0x3e4], 0
mov dword [edi + 0x3e8], 0x340
cpuid
test byte [0x40a39c], 8
je 0x406e64
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.XSAVE_feature_2__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.0_1
mov byte [edi + 0x3c6], 0
mov dword [edi + 0x300], 0x989680
mov dword [edi + 0x3b8], 0
mov dword [edi + 0x304], 0
mov byte [edi + 0x3c7], 0
mov dword [edi + 0x3bc], 0
mov dword [ebp - 0xe30], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
mov dword [esp + 4], 0x80000000
mov dword [esp], str.__unix_sys_busclocksourcedevicesclocksource0current_clocksource
call dword [sym.imp.kernelbase.dll_CreateFileA]
sub esp, 0x1c
mov ebx, eax
cmp eax, 0xffffffff
je 0x4090c4
lea esi, [ebp - 0xe58]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], esi
lea esi, [ebp - 0xe30]
mov dword [esp + 8], 3
mov dword [ebp - 0xebc], esi
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_ReadFile]
sub esp, 0x14
test eax, eax
je 0x406f42
mov dword [esp + 4], esi
mov dword [esp], 0x40be0a
call dword [sym.imp.ucrtbase.dll_strcmp]
test eax, eax
jne 0x4090d5
mov dword [esp], ebx
mov eax, dword [ebp - 0xea0]
call eax
push ecx
cmp byte [edi + 0x27c], 0
je 0x409261
xor esi, esi
mov eax, 0x80000000
mov ecx, esi
cpuid
mov dword [ebp - 0xe54], ebx
mov dword [ebp - 0xe50], ecx
cmp eax, 0x80000006
jbe 0x40922b
mov eax, 0x80000007
mov ecx, esi
cpuid
mov dword [ebp - 0xe54], ebx
mov dword [ebp - 0xe50], ecx
and dh, 1
je 0x409506
mov eax, 0x80000001
mov ecx, esi
mov dword [ebp - 0xec0], edi
cpuid
and edx, 0x8000000
mov dword [ebp - 0xe54], ebx
mov dword [ebp - 0xe50], ecx
mov dword [ebp - 0xea0], edx
mov dword [ebp - 0xef4], 0x32
jmp 0x40719e
rdtscp
mov dword [ebp - 0xe78], ecx
mov esi, eax
mov edi, edx
call dword [sym.imp.ntdll.dll_RtlGetSystemTimePrecise]
mov dword [ebp - 0xee0], eax
mov dword [ebp - 0xedc], edx
rdtscp
mov dword [ebp - 0xeec], edx
mov dword [ebp - 0xe78], ecx
mov dword [ebp - 0xef0], eax
mov dword [esp], 1
call dword [sym.imp.kernelbase.dll_Sleep]
push edx
rdtscp
mov dword [ebp - 0xe78], ecx
mov dword [ebp - 0xec8], eax
mov dword [ebp - 0xec4], edx
call dword [sym.imp.ntdll.dll_RtlGetSystemTimePrecise]
mov dword [ebp - 0xed8], eax
mov dword [ebp - 0xed4], edx
rdtscp
mov dword [ebp - 0xe78], ecx
mov dword [ebp - 0xee8], eax
mov dword [ebp - 0xee4], edx
mov eax, dword [ebp - 0xec8]
mov edx, dword [ebp - 0xec4]
sub eax, esi
mov esi, dword [ebp - 0xed8]
sbb edx, edi
mov dword [ebp - 0xed0], eax
sub esi, dword [ebp - 0xee0]
mov eax, 0x989680
mov dword [ebp - 0xecc], edx
mov edi, dword [ebp - 0xed4]
sbb edi, dword [ebp - 0xedc]
mul dword [ebp - 0xed0]
mov dword [esp + 8], esi
imul ecx, dword [ebp - 0xecc], 0x989680
mov dword [esp + 0xc], edi
mov dword [esp], eax
add edx, ecx
mov dword [esp + 4], edx
call dbg.__divdi3
mov ecx, dword [ebp - 0xee8]
mov ebx, dword [ebp - 0xee4]
mov dword [esp + 8], esi
sub ecx, dword [ebp - 0xef0]
sbb ebx, dword [ebp - 0xeec]
mov dword [ebp - 0xec8], eax
mov eax, 0x989680
mov dword [ebp - 0xee8], ecx
mov dword [ebp - 0xee4], ebx
imul ecx, dword [ebp - 0xee4], 0x989680
mov dword [ebp - 0xec4], edx
mul dword [ebp - 0xee8]
mov dword [esp + 0xc], edi
mov edi, 0xf4240
add edx, ecx
mov dword [esp], eax
mov dword [esp + 4], edx
call dbg.__divdi3
mov ebx, eax
mov esi, edx
sub eax, dword [ebp - 0xec8]
sbb edx, dword [ebp - 0xec4]
imul ecx, edx, 0xf4240
mul edi
mov edi, dword [ebp - 0xec8]
add edx, ecx
cmp ebx, dword [ebp - 0xec8]
mov ecx, esi
sbb ecx, dword [ebp - 0xec4]
mov ecx, dword [ebp - 0xec4]
cmovl edi, ebx
mov dword [esp], eax
cmovl ecx, esi
mov dword [esp + 8], edi
mov dword [esp + 0xc], ecx
mov dword [esp + 4], edx
call dbg.__divdi3
mov edi, eax
mov ecx, eax
mov eax, edx
neg edi
adc eax, 0
neg eax
cmovns ecx, edi
mov edi, edx
cmovns edi, eax
mov eax, 0x1f4
cmp eax, ecx
mov eax, 0
mov dword [ebp - 0xef0], ecx
sbb eax, edi
mov dword [ebp - 0xef8], edi
jge 0x409297
sub dword [ebp - 0xef4], 1
je 0x40989f
cmp dword [ebp - 0xea0], 0
jne 0x406fd1
rdtsc
mov esi, eax
mov eax, dword [ebp - 0xea0]
mov edi, edx
mov ecx, eax
cpuid
mov dword [ebp - 0xe30], eax
mov dword [ebp - 0xe2c], ebx
mov dword [ebp - 0xe28], ecx
mov dword [ebp - 0xe24], edx
call dword [sym.imp.ntdll.dll_RtlGetSystemTimePrecise]
mov dword [ebp - 0xee0], eax
mov dword [ebp - 0xedc], edx
rdtsc
mov dword [ebp - 0xef0], eax
mov eax, dword [ebp - 0xea0]
mov dword [ebp - 0xeec], edx
mov dword [esp], 1
mov ecx, eax
cpuid
mov dword [ebp - 0xe30], eax
mov dword [ebp - 0xe2c], ebx
mov dword [ebp - 0xe28], ecx
mov dword [ebp - 0xe24], edx
call dword [sym.imp.kernelbase.dll_Sleep]
push eax
rdtsc
mov dword [ebp - 0xec8], eax
mov eax, dword [ebp - 0xea0]
mov dword [ebp - 0xec4], edx
mov ecx, eax
cpuid
mov dword [ebp - 0xe30], eax
mov dword [ebp - 0xe2c], ebx
mov dword [ebp - 0xe28], ecx
mov dword [ebp - 0xe24], edx
call dword [sym.imp.ntdll.dll_RtlGetSystemTimePrecise]
mov dword [ebp - 0xed8], eax
mov dword [ebp - 0xed4], edx
rdtsc
mov dword [ebp - 0xee8], eax
mov eax, dword [ebp - 0xea0]
mov dword [ebp - 0xee4], edx
mov ecx, eax
cpuid
mov dword [ebp - 0xe30], eax
mov dword [ebp - 0xe2c], ebx
mov dword [ebp - 0xe28], ecx
mov dword [ebp - 0xe24], edx
jmp 0x40704f
lea edx, [ebp - 0xa1c]
xor eax, eax
mov ecx, 0x10
mov edi, edx
lea ebx, [ebp - 0x818]
lea esi, [ebp - 0xa20]
rep stosd dword es:[edi], eax
mov dword [ebp - 0xeb0], ebx
mov dword [ebp - 0xa20], 0x44
mov dword [esp + 4], 0x104
mov dword [esp], ebx
call dword [sym.imp.kernelbase.dll_GetSystemDirectoryW]
push edx
push edx
mov dword [esp + 4], str.wineboot.exe
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_wcscat]
lea eax, [ebp - 0xe48]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_Wow64DisableWow64FsRedirection]
push ecx
call dword [sym.imp.kernelbase.dll_GetCommandLineW]
lea edx, [ebp - 0xc28]
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], ebx
call dword [sym.imp.kernelbase.dll_CreateProcessW]
sub esp, 0x28
test eax, eax
jne 0x409ad3
test byte [0x40a39c], 2
jne 0x408bfd
mov eax, dword [ebp - 0xe48]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_Wow64RevertWow64FsRedirection]
push eax
jmp 0x406121
mov ebx, dword [ebp - 0xeb0]
mov dword [esp + 4], 0x2e
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_strchr]
test eax, eax
je 0x409137
mov byte [eax], 0
lea edx, [eax + 1]
mov dword [esp + 4], edx
mov esi, dword [sym.imp.kernelbase.dll_SetComputerNameExA]
mov dword [esp], 6
call esi
push eax
push eax
mov dword [esp + 4], ebx
mov dword [esp], 5
call esi
push eax
push eax
cmp ebx, dword [ebp - 0xeb0]
je 0x4073d9
mov eax, dword [ebp - 0xe6c]
mov dword [esp], eax
call sym._freeaddrinfo_4
push eax
mov ebx, dword [sym.imp.advapi32.dll_RegOpenKeyW]
lea eax, [ebp - 0xe64]
mov dword [esp + 4], str.SystemCurrentControlSetControlComputerName
mov dword [esp + 8], eax
mov dword [esp], 0x80000002
mov dword [ebp - 0xed0], ebx
call ebx
sub esp, 0xc
test eax, eax
jne 0x40743f
mov eax, dword [ebp - 0xe64]
lea esi, [ebp - 0xe58]
mov dword [esp + 4], str.ComputerName
mov dword [esp + 8], esi
mov dword [esp], eax
call ebx
sub esp, 0xc
test eax, eax
je 0x4093e4
mov eax, dword [ebp - 0xe64]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
push ecx
mov eax, dword fs:[0x18]
mov edi, dword [ebp - 0xeb0]
mov dword [ebp - 0xea0], eax
mov esi, 0x400
jmp 0x4074cd
lea ebx, [esi - 2]
cmp eax, ebx
jb 0x407ff0
cmp edi, dword [ebp - 0xeb0]
je 0x407497
mov eax, dword [ebp - 0xea0]
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_HeapFree]
sub esp, 0xc
mov eax, dword [ebp - 0xea0]
lea edx, [esi*4]
mov dword [esp + 4], 0
lea ebx, [esi + esi]
mov dword [esp + 8], edx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_HeapAlloc]
sub esp, 0xc
mov edi, eax
test eax, eax
je 0x4074f5
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 0x407460
mov eax, dword [ebp - 0xeb0]
mov dword [esp + 0xc], 0xf003f
mov dword [ebp - 0xa20], 0
mov dword [esp + 0x10], eax
mov eax, dword [sym.imp.advapi32.dll_RegOpenKeyExW]
mov dword [esp + 8], 0
mov dword [esp + 4], str.SystemCurrentControlSetControlSession_Manager
mov dword [esp], 0x80000002
mov dword [ebp - 0xee0], eax
call eax
sub esp, 0x14
test eax, eax
jne 0x4075b8
mov eax, dword [ebp - 0xea4]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov esi, dword [sym.imp.advapi32.dll_RegQueryValueExW]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x818]
mov dword [esp + 8], 0
mov dword [esp + 4], str.PendingFileRenameOperations
mov dword [esp], eax
call esi
sub esp, 0x18
test eax, eax
je 0x4078be
xor ebx, ebx
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_HeapFree]
mov eax, dword [ebp - 0x818]
sub esp, 0xc
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
push eax
lea eax, [ebp - 0xe6c]
mov dword [esp + 4], str.SoftwareMicrosoftWindows_NTCurrentVersionWinlogon
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xed0]
mov dword [esp], 0x80000002
call eax
sub esp, 0xc
test eax, eax
je 0x408a3b
mov eax, dword [ebp - 0xe6c]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
push eax
mov edi, dword [sym.imp.kernelbase.dll_GetSystemDirectoryW]
mov dword [esp + 4], 0
mov dword [esp], 0
call edi
push edx
mov ebx, eax
lea eax, [eax + 0xc]
push edx
add eax, eax
mov edx, dword fs:[0x18]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_HeapAlloc]
sub esp, 0xc
mov esi, eax
mov dword [esp + 4], ebx
mov dword [esp], eax
call edi
push ecx
push ecx
mov dword [esp + 4], 0x40c434
mov dword [esp], esi
call sym._lstrcatW_8
push ebx
push ebx
mov eax, dword [ebp - 0xeb0]
mov dword [esp], esi
mov dword [esp + 4], eax
call dword [sym.imp.kernelbase.dll_FindFirstFileW]
push edi
push edi
cmp word [esi], 0
mov dword [ebp - 0xea0], eax
mov eax, esi
je 0x407689
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x407680
cmp dword [ebp - 0xea0], 0xffffffff
mov word [eax - 4], 0
je 0x4079fc
mov dword [ebp - 0xed0], esi
mov edi, dword [sym.imp.ucrtbase.dll_wcscmp]
lea ebx, [ebp - 0x7ec]
mov esi, dword [ebp - 0xebc]
jmp 0x4076e4
mov eax, dword [ebp - 0xeb0]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xea0]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_FindNextFileW]
sub esp, 8
test eax, eax
je 0x4079f6
mov dword [esp + 4], 0x40c46c
mov dword [esp], ebx
call edi
test eax, eax
je 0x4076c0
mov dword [esp + 4], 0x40c470
mov dword [esp], ebx
call edi
test eax, eax
je 0x4076c0
lea eax, [ebp - 0xe58]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], eax
lea eax, [ebp - 0xe64]
mov dword [esp + 0x14], eax
lea eax, [ebp - 0xc28]
mov dword [ebp - 0xe64], 0x104
mov dword [ebp - 0xe58], 0x104
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x417240
mov dword [esp + 8], 0x417240
mov dword [esp + 4], ebx
mov dword [esp], 1
call dword [sym.imp.kernelbase.dll_VerFindFileW]
lea eax, [ebp - 0xe64]
mov dword [ebp - 0xe64], 0x104
sub esp, 0x20
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0xea4]
mov dword [esp + 0x10], esi
mov dword [esp + 0x18], eax
lea eax, [ebp - 0xc28]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0xed0]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], ebx
mov dword [esp], 0
call sym._VerInstallFileW_32
mov edx, eax
mov eax, dword [sym.imp.kernelbase.dll_DeleteFileW]
sub esp, 0x20
mov dword [ebp - 0xed8], eax
test edx, edx
je 0x4077e2
test byte [0x40a39c], 4
jne 0x408b72
mov eax, dword [ebp - 0xea4]
mov dword [esp], eax
mov eax, dword [sym.imp.kernelbase.dll_DeleteFileW]
mov dword [ebp - 0xed8], eax
call eax
push ecx
mov eax, dword [ebp - 0xed0]
mov dword [esp + 8], 0x103
mov dword [esp], esi
mov dword [esp + 4], eax
call dbg.lstrcpynW
mov eax, esi
sub esp, 0xc
cmp word [ebp - 0xe30], 0
je 0x407819
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x407810
sub eax, esi
mov dword [esp + 4], ebx
mov edx, eax
lea eax, [esi + eax + 2]
sar edx, 1
mov dword [esp], eax
mov word [ebp + edx*2 - 0xe30], 0x5c
lea ecx, [edx + 1]
mov edx, 0x104
sub edx, ecx
mov dword [ebp - 0xe64], ecx
mov dword [esp + 8], edx
call dbg.lstrcpynW
mov eax, dword [ebp - 0xed8]
sub esp, 0xc
mov dword [esp], esi
call eax
push edx
test eax, eax
jne 0x4076c0
test byte [0x40a39c], 4
je 0x4076c0
mov eax, dword fs:[0x18]
mov edx, dword [eax + 0x34]
mov eax, esi
mov dword [ebp - 0xed8], edx
call sym._wine_dbgstr_wn.constprop.0_1
mov edx, dword [ebp - 0xed8]
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], global___dbch
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_1
jmp 0x4076c0
mov edx, dword [ebp - 0xa20]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov dword [esp + 8], edx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_HeapAlloc]
sub esp, 0xc
mov ebx, eax
test eax, eax
je 0x407582
mov eax, dword [ebp - 0xea4]
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x818]
mov dword [esp + 8], 0
mov dword [esp + 4], str.PendingFileRenameOperations
mov dword [esp], eax
call esi
sub esp, 0x18
test eax, eax
jne 0x407584
mov eax, dword [ebp - 0xa20]
cmp eax, 3
jbe 0x407584
and eax, 0xfffffffe
cmp word [ebx + eax - 2], 0
jne 0x407584
cmp word [ebx + eax - 4], 0
jne 0x407584
mov edi, ebx
movzx edx, word [edi]
test dx, dx
je 0x4079d8
mov eax, edi
add eax, 2
cmp word [eax], 0
jne 0x407964
lea esi, [eax + 2]
cmp dx, 0x5c
je 0x408f7a
xor eax, eax
cmp word [esi], 0x21
jne 0x40798a
add esi, 2
mov eax, 1
cmp word [esi], 0x5c
je 0x408f51
cmp word [esi], 0
jne 0x408e47
mov dword [esp], edi
call dword [sym.imp.kernelbase.dll_RemoveDirectoryW]
push edx
test eax, eax
jne 0x4079c3
mov eax, dword fs:[0x18]
cmp dword [eax + 0x34], 0x10b
jne 0x4079c3
jmp 0x409b1f
add esi, 2
cmp word [esi], 0
jne 0x4079c0
lea edi, [esi + 2]
mov eax, edi
sub eax, ebx
cmp eax, dword [ebp - 0xa20]
jb 0x40795a
mov eax, dword [ebp - 0x818]
mov dword [esp + 4], str.PendingFileRenameOperations
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegDeleteValueW]
push eax
push eax
jmp 0x407584
mov esi, dword [ebp - 0xed0]
mov eax, dword [ebp - 0xea0]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_FindClose]
push ebx
mov eax, dword fs:[0x18]
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_HeapFree]
mov ecx, 1
mov edx, str.RunServicesOnce
mov eax, 0x80000002
sub esp, 0xc
mov dword [esp], 0
call dbg.ProcessRunKeys
cmp dword [ebp - 0xeb4], 0
jne 0x407a69
mov eax, dword [ebp - 0xeb8]
xor eax, 1
test dword [ebp - 0xea8], eax
je 0x407b0b
mov dword [esp], 0
xor ecx, ecx
mov edx, str.RunServices
mov eax, 0x80000002
lea edi, [ebp - 0x814]
call dbg.ProcessRunKeys
xor eax, eax
mov ecx, 0x10
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0xea4]
mov dword [ebp - 0x818], 0x44
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], eax
mov eax, dword [ebp - 0xeb0]
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 0x40873b
test byte [0x40a39c], 2
jne 0x408ef2
mov eax, dword [ebp - 0xeb4]
or eax, dword [ebp - 0xeac]
jne 0x4081ce
lea eax, [ebp - 0xc28]
mov dword [esp + 0xc], 0xf003f
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xee0]
mov dword [esp + 8], 0
mov dword [esp + 4], str.SoftwareMicrosoftWindows_NTCurrentVersion
mov dword [esp], 0x80000002
call eax
sub esp, 0x14
test eax, eax
jne 0x407d51
mov eax, dword [ebp - 0xeb0]
lea esi, [ebp - 0xe58]
mov dword [ebp - 0xe58], 0x100
mov dword [esp + 0x14], esi
mov ebx, dword [sym.imp.advapi32.dll_RegQueryValueExA]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xebc]
mov dword [esp + 8], 0
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xc28]
mov dword [esp + 4], str.ProductId
mov dword [esp], eax
call ebx
sub esp, 0x18
test eax, eax
jne 0x407d41
mov eax, dword [ebp - 0xe58]
test eax, eax
je 0x407d41
cmp byte [ebp + eax - 0x819], 0
je 0x407be1
cmp eax, 0x100
je 0x407d41
lea edx, [eax + 1]
mov byte [ebp + eax - 0x818], 0
mov dword [ebp - 0xe58], edx
mov eax, dword [ebp - 0xebc]
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xc28]
mov dword [esp + 8], 0
mov dword [esp + 4], str.DigitalProductId
mov dword [esp], eax
call ebx
sub esp, 0x18
test eax, eax
jne 0x407c82
cmp dword [ebp - 0xe58], 0xa4
jne 0x407c82
mov eax, dword [ebp - 0xea4]
mov dword [esp + 0x14], esi
mov dword [esp + 8], 0
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xebc]
mov dword [esp + 4], str.DigitalProductId
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xc28]
mov dword [esp], eax
call ebx
sub esp, 0x18
test eax, eax
jne 0x407d41
mov edx, dword [ebp - 0xe58]
jmp 0x407c7e
mov ecx, dword [ebp - 0xea4]
cmp byte [ecx + eax], 0
jne 0x407d41
add eax, 1
cmp eax, edx
jne 0x407c6b
lea edx, [ebp - 0xa1c]
xor eax, eax
mov ecx, 0x28
mov esi, str._TH__X19_99481
mov edi, edx
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0xeb0]
mov byte [ebp - 0xa1c], 3
mov dword [ebp - 0xa20], 0xa4
mov dword [esp + 4], eax
lea eax, [ebp - 0xa18]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_strcpy]
lea eax, [ebp - 0x9fc]
mov ecx, 0xf
mov dword [ebp - 0xa00], 0xcec
mov dword [ebp - 0x9ec], 0xcec
mov edi, eax
lea eax, [ebp - 0x9e8]
rep movsb byte es:[edi], byte [esi]
mov byte [ebp - 0x9de], 8
mov dword [esp + 4], 0x18
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_SystemFunction036]
push eax
push eax
mov eax, dword [ebp - 0xea4]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xc28]
mov dword [esp + 0x14], 0xa4
mov dword [esp + 0xc], 3
mov dword [esp + 8], 0
mov dword [esp + 4], str.DigitalProductId
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegSetValueExA]
sub esp, 0x18
mov eax, dword [ebp - 0xc28]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
push eax
lea eax, [ebp - 0xc28]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0xec8]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0xf003f
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.Volatile_Environment
mov dword [esp], 0x80000001
call eax
sub esp, 0x24
test eax, eax
jne 0x407f59
mov edi, dword [ebp - 0xeb0]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov ebx, dword [0x418500]
mov dword [esp + 0x10], edi
mov dword [esp + 4], 0x801a
mov dword [esp], 0
call ebx
sub esp, 0x14
test eax, eax
js 0x407df7
mov eax, dword [ebp - 0xc28]
mov ecx, edi
mov edx, str.APPDATA
call sym._set_reg_value.isra.0
mov eax, dword [ebp - 0xc28]
mov ecx, str.Console
mov edx, str.CLIENTNAME
call sym._set_reg_value.isra.0
mov edi, dword [ebp - 0xeb0]
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 0x407e81
mov eax, dword [ebp - 0xc28]
mov ecx, edi
mov edx, str.USERPROFILE
call sym._set_reg_value.isra.0
mov eax, dword [ebp - 0xc28]
lea ecx, [ebp - 0x814]
mov edx, str.HOMEPATH
call sym._set_reg_value.isra.0
mov eax, dword [ebp - 0xc28]
mov ecx, edi
mov edx, str.HOMEDRIVE
mov word [ebp - 0x814], 0
call sym._set_reg_value.isra.0
mov dword [ebp - 0xe30], 0x104
mov eax, dword [ebp - 0xebc]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xeb0]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_GetUserNameW]
push edi
push edi
test eax, eax
jne 0x408c42
mov eax, dword [ebp - 0xc28]
mov ecx, 0x40b268
mov edx, str.HOMESHARE
call sym._set_reg_value.isra.0
mov edi, dword [ebp - 0xeb0]
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 0x407f07
mov eax, dword [ebp - 0xc28]
mov ecx, edi
mov edx, str.LOCALAPPDATA
call sym._set_reg_value.isra.0
mov eax, dword [ebp - 0xebc]
lea ebx, [ebp - 0xa1c]
mov dword [ebp - 0xe30], 0x10
mov dword [esp], ebx
mov dword [esp + 4], eax
call dword [sym.imp.kernel32.dll_GetComputerNameW]
push esi
push esi
test eax, eax
jne 0x408c5d
mov eax, dword [ebp - 0xc28]
mov ecx, str.Console
mov edx, str.SESSIONNAME
call sym._set_reg_value.isra.0
mov eax, dword [ebp - 0xc28]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
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], 0x40ca9c
call dword [0x41863c]
sub esp, 0x14
test eax, eax
je 0x407f97
mov dword [esp], eax
call dword [0x418638]
push ecx
mov eax, 0x80000002
mov ecx, 1
mov edx, str.RunOnce
mov dword [esp], 1
call dbg.ProcessRunKeys
mov eax, dword [ebp - 0xeb4]
or eax, dword [ebp - 0xeb8]
je 0x40880b
test byte [0x40a39c], 8
jne 0x4087e2
mov eax, dword [ebp - 0xe8c]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_SetEvent]
mov dword [ebp - 0xeb0], 0
push eax
jmp 0x4063ec
movzx eax, word [edi]
mov esi, edi
test ax, ax
je 0x408088
mov ebx, esi
cmp ax, 0x3b
je 0x408066
mov dword [esp + 4], 0x3d
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_wcschr]
test eax, eax
je 0x408066
mov word [eax], 0
lea ebx, [eax + 2]
mov dword [esp + 4], esi
mov dword [esp], 0x40c264
call dword [sym.imp.kernelbase.dll_lstrcmpiW]
push edx
push edx
test eax, eax
jne 0x40811f
test byte [0x40a39c], 8
jne 0x40819a
mov dword [esp], ebx
call dword [sym.imp.kernelbase.dll_DeleteFileW]
push ecx
test eax, eax
jne 0x408066
test byte [0x40a39c], 4
jne 0x40905a
cmp word [ebx], 0
mov eax, ebx
je 0x408079
nop
add eax, 2
cmp word [eax], 0
jne 0x408070
lea esi, [eax + 2]
movzx eax, word [esi]
test ax, ax
jne 0x407ffe
cmp edi, dword [ebp - 0xeb0]
je 0x4080b4
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_HeapFree]
sub esp, 0xc
mov dword [esp + 8], 1
mov dword [esp + 4], str.wininit.bak
mov dword [esp], str.wininit.ini
call dword [sym.imp.kernelbase.dll_MoveFileExW]
sub esp, 0xc
test eax, eax
jne 0x4074f5
test byte [0x40a39c], 2
je 0x4074f5
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.0_1
jmp 0x4074f5
test byte [0x40a39c], 8
jne 0x408b27
mov dword [esp + 8], 3
mov dword [esp + 4], esi
mov dword [esp], ebx
call dword [sym.imp.kernelbase.dll_MoveFileExW]
sub esp, 0xc
test eax, eax
jne 0x408066
test byte [0x40a39c], 4
je 0x408066
mov eax, esi
call sym._wine_dbgstr_wn.constprop.0_1
mov esi, eax
mov eax, ebx
call sym._wine_dbgstr_wn.constprop.0_1
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Error_renaming__s_to__s_n
mov dword [esp + 8], str.wininit
mov dword [esp + 4], global___dbch
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_1
jmp 0x408066
mov eax, ebx
call sym._wine_dbgstr_wn.constprop.0_1
mov dword [esp + 0xc], str.Deleting_file__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.wininit
mov dword [esp + 4], global___dbch
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x40804b
mov ebx, dword [sym.imp.ucrtbase.dll__wgetenv]
mov dword [esp], str.WINECONFIGDIR
call ebx
mov dword [esp], str.WINEBUILDDIR
mov esi, eax
call ebx
mov edi, eax
test eax, eax
je 0x4091ca
cmp word [eax], 0
je 0x408201
add eax, 2
cmp word [eax], 0
jne 0x4081f8
sub eax, edi
mov dword [esp + 4], 0
add eax, 0x22
mov dword [esp + 8], eax
mov edx, dword fs:[0x18]
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_HeapAlloc]
sub esp, 0xc
mov ebx, eax
test eax, eax
je 0x4091ae
xor eax, eax
movzx edx, word [edi + eax]
mov word [ebx + eax], dx
add eax, 2
test dx, dx
jne 0x408237
mov dword [esp + 4], str.loader
mov dword [esp], ebx
call sym._lstrcatW_8
push edi
push edi
mov dword [esp + 4], str.wine.inf
mov dword [esp], ebx
call sym._lstrcatW_8
push edi
push edi
mov word [ebx + 2], 0x5c
mov dword [esp + 4], 0
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll__wopen]
mov edi, eax
cmp eax, 0xffffffff
je 0x409766
lea eax, [ebp - 0xc28]
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 - 0xc0c]
mov eax, esi
call dbg.update_timestamp
or eax, dword [ebp - 0xeac]
je 0x4086dc
mov eax, dword [ebp - 0xebc]
mov dword [esp + 0x14], 0
mov dword [ebp - 0xe84], 0
mov dword [esp + 0xc], eax
lea eax, [ebp - 0xe84]
mov dword [esp + 0x10], 0x20
mov dword [esp + 8], 4
mov dword [esp + 4], eax
mov dword [esp], 0xb5
call dword [sym.imp.ntdll.dll_NtQuerySystemInformationEx]
sub esp, 0x18
test eax, eax
je 0x408316
mov dword [ebp - 0xe30], 0
mov ecx, 1
mov edx, str.PreInstall
mov eax, ebx
call dbg.start_rundll32
mov dword [ebp - 0xe84], eax
test eax, eax
je 0x408430
call dbg.prettyprint_configdir
mov dword [esp], 0
mov esi, eax
call dword [sym.imp.kernelbase.dll_GetModuleHandleW]
push edx
mov dword [esp + 0x10], esi
xor esi, esi
mov dword [esp + 0xc], sym._wait_dlgproc_16
mov dword [esp + 8], 0
mov dword [esp + 4], 0x65
mov dword [esp], eax
call dword [0x4185d0]
sub esp, 0x14
mov edi, eax
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [0x41861c]
mov eax, dword [sym.imp.kernelbase.dll_CloseHandle]
mov dword [ebp - 0xea8], edi
push ecx
mov edi, dword [ebp - 0xeb0]
push ecx
mov dword [ebp - 0xea0], eax
lea eax, [ebp - 0xe84]
mov dword [esp + 0x10], 0x1cff
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], 1
call dword [0x418600]
sub esp, 0x14
test eax, eax
jne 0x408cd4
mov eax, dword [ebp - 0xe84]
mov dword [esp], eax
mov eax, dword [ebp - 0xea0]
call eax
push eax
mov eax, dword [ebp + esi*4 - 0xe30]
test eax, eax
je 0x408420
test eax, 0x40000
je 0x408e33
mov ecx, 1
mov edx, str.DefaultInstall
mov eax, ebx
call dbg.start_rundll32
mov dword [ebp - 0xe84], eax
add esi, 1
test eax, eax
jne 0x4083a0
mov edi, dword [ebp - 0xea8]
mov dword [esp], edi
call dword [0x4185d4]
push ecx
xor eax, eax
lea edi, [ebp - 0x814]
mov ecx, 6
mov esi, 0x40cd30
rep stosd dword es:[edi], eax
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [ebp - 0x818], 0x1c
call sym._SetupDiCreateDeviceInfoList_8
mov dword [ebp - 0xea0], eax
add eax, 1
push edx
push edx
je 0x409b66
mov eax, dword fs:[0x18]
mov dword [ebp - 0xeac], ebx
mov dword [ebp - 0xea8], eax
mov eax, dword [ebp - 0xeb0]
mov ebx, dword [esi]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0xea0]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x413788
mov dword [esp + 4], ebx
mov dword [esp], eax
call sym._SetupDiCreateDeviceInfoA_28
sub esp, 0x1c
test eax, eax
jne 0x408e60
mov eax, dword fs:[0x18]
cmp dword [eax + 0x34], 0xe0000207
je 0x4084ea
test byte [0x40a39c], 2
jne 0x409ba9
add esi, 0xc
cmp esi, str.install_root_pnp_devices
jne 0x408485
mov eax, dword [ebp - 0xea0]
mov ebx, dword [ebp - 0xeac]
mov dword [esp], eax
call sym._SetupDiDestroyDeviceInfoList_4
push eax
lea eax, [ebp - 0xe80]
mov dword [esp + 4], 0x20008
mov dword [esp + 8], eax
mov dword [esp], 0xffffffff
call dword [sym.imp.advapi32.dll_OpenProcessToken]
lea ecx, [ebp - 0xe64]
sub esp, 0xc
mov edi, ecx
test eax, eax
je 0x408613
lea eax, [ebp - 0xe78]
mov dword [esp + 0xc], 0x50
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xea4]
mov dword [ebp - 0xe78], 0x50
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xe80]
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_GetTokenInformation]
mov eax, dword [ebp - 0xe80]
sub esp, 0x14
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_CloseHandle]
push eax
lea eax, [ebp - 0xe7c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xa20]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_ConvertSidToStringSidW]
push eax
push eax
lea eax, [ebp - 0xe6c]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0xec8]
mov dword [esp + 0x20], 0
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 0x409830
mov eax, dword [ebp - 0xe7c]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_LocalFree]
push edx
mov dword [esp + 0x10], edi
mov eax, dword [ebp - 0xee0]
mov dword [esp + 0xc], 0xf003f
mov dword [esp + 8], 0
mov dword [esp + 4], str.SoftwareMicrosoftWindows_NTCurrentVersion
mov dword [esp], 0x80000002
call eax
sub esp, 0x14
test eax, eax
je 0x4096f6
mov dword [esp + 0x10], edi
mov eax, dword [ebp - 0xee0]
mov dword [esp + 0xc], 0xf003f
mov dword [esp + 8], 0
mov dword [esp + 4], str.SoftwareWow6432NodeMicrosoftWindows_NTCurrentVersion
mov dword [esp], 0x80000002
call eax
sub esp, 0x14
test eax, eax
je 0x409686
mov dword [esp + 0x10], str.Root
mov dword [esp + 0xc], 0x2c000
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0xd
call dword [0x4183c0]
sub esp, 0x14
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [0x4183bc]
push eax
push eax
call dbg.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 dbg.wine_dbg_printf
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_HeapFree]
sub esp, 0xc
jmp 0x407b1d
cmp ax, 0xc
jne 0x406cfb
mov byte [edi + 0x291], 1
mov eax, dword [ebp - 0xe5c]
mov edx, eax
shr eax, 3
shr edx, 2
and eax, 1
and edx, 1
mov byte [edi + 0x292], al
mov byte [edi + 0x293], dl
jmp 0x406cfb
mov eax, dword [ebp - 0xa1c]
mov dword [esp], eax
mov eax, dword [sym.imp.kernelbase.dll_CloseHandle]
mov dword [ebp - 0xea0], eax
call eax
push eax
mov dword [esp + 0xc], str.__wine_SvcctlStarted
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], 0
call dword [sym.imp.kernelbase.dll_CreateEventW]
mov dword [ebp - 0xc28], eax
mov eax, dword [ebp - 0xa20]
sub esp, 0x10
mov dword [esp + 0xc], 0xffffffff
mov dword [ebp - 0xc24], eax
lea eax, [ebp - 0xc28]
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], 2
call dword [sym.imp.kernelbase.dll_WaitForMultipleObjects]
sub esp, 0x10
sub eax, 1
je 0x409389
mov eax, dword [ebp - 0xa20]
mov ebx, dword [ebp - 0xea0]
mov dword [esp], eax
call ebx
push eax
mov eax, dword [ebp - 0xc28]
mov dword [esp], eax
call ebx
push eax
jmp 0x407b0b
mov dword [esp + 0xc], str.Operation_done_n
mov dword [esp + 8], global___func__.6
mov dword [esp + 4], global___dbch
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x407fd1
mov dword [esp], 0
xor ecx, ecx
mov edx, 0x40cab2
mov eax, 0x80000002
call dbg.ProcessRunKeys
mov dword [esp], 0
xor ecx, ecx
mov edx, 0x40cab2
mov eax, 0x80000001
call dbg.ProcessRunKeys
mov dword [ebp - 0xe78], 0
mov dword [ebp - 0xe6c], 0
mov dword [ebp - 0xe64], 0
mov dword [ebp - 0xc28], 0
test byte [0x40a39c], 8
jne 0x408fa3
lea eax, [ebp - 0xe78]
mov dword [esp], eax
call dword [0x4184fc]
push edx
test eax, eax
js 0x40908e
lea eax, [ebp - 0xe64]
mov dword [esp + 4], 7
mov dword [esp + 8], eax
mov dword [esp], 0
call dword [0x418504]
sub esp, 0xc
test eax, eax
js 0x408de3
mov eax, dword [ebp - 0xe78]
lea ecx, [ebp - 0xe6c]
mov edx, dword [eax]
mov dword [esp + 0x10], ecx
mov ecx, dword [ebp - 0xe64]
mov dword [esp + 0xc], 0x411f18
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 0x409178
mov eax, dword [ebp - 0xe6c]
lea ecx, [ebp - 0xc28]
lea esi, [ebp - 0xe58]
mov edx, dword [eax]
mov dword [esp + 0xc], ecx
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 0x409d10
mov edi, dword [0x418518]
jmp 0x40894d
test byte [0x40a39c], 8
jne 0x408f28
mov eax, dword [ebp - 0xe58]
mov dword [esp], eax
call dword [0x4184f8]
push eax
mov eax, dword [ebp - 0xc28]
mov ecx, dword [ebp - 0xebc]
mov edx, dword [eax]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], esi
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 0x10
test eax, eax
jne 0x408df0
cmp dword [ebp - 0xe30], 1
jne 0x408df0
mov eax, dword [ebp - 0xe6c]
mov ecx, dword [ebp - 0xea4]
mov edx, dword [eax]
mov dword [esp + 0xc], ecx
mov ecx, dword [ebp - 0xe58]
mov dword [esp + 8], 0x8000
mov dword [esp], eax
mov dword [esp + 4], ecx
call dword [edx + 0x2c]
sub esp, 0x10
test eax, eax
js 0x408930
mov eax, dword [ebp - 0xeb0]
mov dword [esp + 0xc], 0x104
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xe58]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xea4]
mov dword [esp], eax
call edi
sub esp, 0x10
test eax, eax
jns 0x408fcc
test byte [0x40a39c], 8
je 0x40893d
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.0_1
jmp 0x40893d
mov eax, dword [ebp - 0xa20]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
push eax
jmp 0x406603
mov eax, dword [ebp - 0xeb0]
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 - 0xe6c]
mov dword [ebp - 0x818], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.SFCDllCacheDir
mov dword [esp], eax
call ebx
sub esp, 0x18
test eax, eax
jne 0x4075e4
mov eax, dword [ebp - 0x818]
mov dword [esp + 4], 0
lea edx, [eax + 2]
add eax, 8
mov dword [ebp - 0x818], edx
mov dword [esp + 8], eax
mov edx, dword fs:[0x18]
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_HeapAlloc]
mov esi, eax
mov eax, dword [ebp - 0xeb0]
sub esp, 0xc
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0xe6c]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.SFCDllCacheDir
mov dword [esp], eax
call ebx
sub esp, 0x18
mov dword [esp + 4], 0x40c42e
mov dword [esp], esi
call sym._lstrcatW_8
mov eax, dword [ebp - 0xe6c]
push edi
push edi
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
push eax
test esi, esi
jne 0x407658
jmp 0x4075f4
mov eax, esi
call sym._wine_dbgstr_wn.constprop.0_1
mov dword [ebp - 0xea0], eax
mov eax, ebx
call sym._wine_dbgstr_wn.constprop.0_1
mov edx, dword [ebp - 0xea0]
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.0_1
jmp 0x40812c
mov eax, ebx
mov dword [ebp - 0xed8], edx
call sym._wine_dbgstr_wn.constprop.0_1
mov edx, dword [ebp - 0xed8]
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], global___dbch
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_1
jmp 0x4077cb
movzx eax, word [ebp - 0xc24]
mov dword [esp + 8], str.ARM_Family__u_Model__u_Revision__u
mov dword [esp + 4], 0x3c
movzx edx, al
shr ax, 8
movzx eax, ax
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
movzx eax, word [ebp - 0xc26]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xeb0]
mov dword [esp], eax
call dbg.swprintf
jmp 0x4069ac
mov eax, dword fs:[0x18]
mov ebx, dword [eax + 0x34]
mov eax, dword [ebp - 0xeb0]
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], global___func__.6
mov dword [esp + 4], global___dbch
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
jmp 0x407364
mov ecx, dword [ebp - 0xeb0]
mov eax, dword [ebp - 0xc28]
mov edx, str.USERNAME
call sym._set_reg_value.isra.0
jmp 0x407eae
mov eax, dword [ebp - 0xc28]
mov ecx, ebx
mov edx, str.USERDOMAIN
call sym._set_reg_value.isra.0
mov ecx, dword [ebp - 0xea4]
mov eax, dword [ebp - 0xc28]
mov edx, str.LOGONSERVER
mov dword [ebp - 0xa20], 0x5c005c
call sym._set_reg_value.isra.0
jmp 0x407f34
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.0_1
jmp 0x406571
mov dword [esp], edi
call dword [0x4185d8]
sub esp, 4
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], edi
call dword [0x418608]
sub esp, 0x14
test eax, eax
jne 0x408cc8
jmp 0x4083a0
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.0_1
cmp esi, 0xc
jle 0x406e64
mov eax, 1
xor ecx, ecx
cpuid
mov esi, ecx
test byte [0x40a39c], 8
je 0x406d48
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.0_1
and esi, 0x8000000
je 0x406e64
mov eax, 0xd
xor ecx, ecx
cpuid
mov esi, eax
test byte [0x40a39c], 8
je 0x406d5f
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.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.0_1
jmp 0x406d5f
test byte [0x40a39c], 8
jne 0x409aaa
mov eax, dword [ebp - 0xc28]
test eax, eax
je 0x408e03
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
push eax
mov eax, dword [ebp - 0xe6c]
test eax, eax
je 0x408e16
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
push eax
mov eax, dword [ebp - 0xe64]
test eax, eax
je 0x407fc4
mov dword [esp], eax
call dword [0x4184f8]
push eax
jmp 0x407fc4
movzx ecx, ax
mov edx, str.Wow64Install
mov eax, ebx
call dbg.start_rundll32
jmp 0x408413
mov dword [esp + 8], eax
mov dword [esp + 4], esi
mov dword [esp], edi
call dword [sym.imp.kernelbase.dll_MoveFileExW]
sub esp, 0xc
jmp 0x4079c3
mov edi, dword [esi + 4]
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_strlen]
mov dword [esp + 0xc], edi
add eax, 2
mov dword [esp + 8], 1
add eax, eax
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xeb0]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xea0]
mov dword [esp], eax
call sym._SetupDiSetDeviceRegistryPropertyA_20
sub esp, 0x14
test eax, eax
jne 0x409310
test byte [0x40a39c], 2
je 0x4084ea
mov eax, dword fs:[0x18]
mov edi, dword [eax + 0x34]
mov eax, ebx
call sym._wine_dbgstr_an.constprop.0
mov dword [esp + 0xc], str.Failed_to_set_hardware_id_for__s__error__lx._n
mov dword [esp + 0x14], 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.0_1
jmp 0x4084ea
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.0_1
jmp 0x407b0b
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.0_1
jmp 0x40893d
cmp word [esi + 2], 0x3f
jne 0x408e47
cmp word [esi + 4], 0x3f
jne 0x408e47
cmp word [esi + 6], 0x5c
jne 0x408e47
add esi, 8
jmp 0x407994
cmp word [edi + 2], 0x3f
jne 0x40797a
cmp word [edi + 4], 0x3f
jne 0x40797a
cmp word [edi + 6], 0x5c
jne 0x40797a
add edi, 8
jmp 0x40797a
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.0_1
jmp 0x408870
mov eax, dword [ebp - 0xeb0]
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 dword [0x41850c]
sub esp, 0x18
mov ebx, eax
cmp eax, 0x20
ja 0x40893d
test byte [0x40a39c], 4
je 0x40893d
mov eax, dword [ebp - 0xeb0]
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], global___dbch
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_1
jmp 0x40893d
mov eax, ebx
call sym._wine_dbgstr_wn.constprop.0_1
mov dword [esp + 0xc], str.Error_deleting_file__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.wininit
mov dword [esp + 4], global___dbch
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_1
jmp 0x408066
test byte [0x40a39c], 2
je 0x408df0
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.0_1
jmp 0x408df0
lea eax, [ebp - 0xe30]
mov dword [ebp - 0xebc], eax
jmp 0x406f4e
mov dword [esp], ebx
mov eax, dword [ebp - 0xea0]
call eax
push edx
test byte [0x40a39c], 4
jne 0x40965d
xor ebx, ebx
xor esi, esi
mov dword [esp], edi
call dword [sym.imp.kernelbase.dll_UnmapViewOfFile]
push eax
jmp 0x406599
test byte [0x40a39c], 2
je 0x406571
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.0_1
jmp 0x406571
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_strlen]
lea edx, [ebx + eax]
jmp 0x40739e
mov eax, dword [ebp - 0xea4]
mov dword [esp + 4], str.AuthenticAMD
mov ebx, str.AMD64
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_wcscmp]
mov ecx, str.AMD64
test eax, eax
mov eax, str.Intel64
cmovne ebx, eax
jmp 0x40694c
test byte [0x40a39c], 8
je 0x408df0
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.0_1
jmp 0x408df0
mov eax, esi
call sym._wine_dbgstr_wn.constprop.0_1
mov dword [esp], str.wine:_failed_to_update__s__wine.inf_not_found_n
mov dword [esp + 4], eax
call dbg.wine_dbg_printf
jmp 0x407b1d
mov dword [esp], str.WINEDATADIR
call ebx
mov edi, eax
test eax, eax
jne 0x4091de
jmp 0x4091ae
add eax, 2
cmp word [eax], 0
jne 0x4091db
sub eax, edi
mov dword [esp + 4], 0
add eax, 0x14
mov dword [esp + 8], eax
mov edx, dword fs:[0x18]
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_HeapAlloc]
sub esp, 0xc
mov ebx, eax
test eax, eax
je 0x4091ae
xor eax, eax
movzx edx, word [edi + eax]
mov word [ebx + eax], dx
add eax, 2
test dx, dx
jne 0x409216
jmp 0x408259
test byte [0x40a39c], 4
je 0x4090ee
mov dword [esp + 0xc], str.Failed_to_compute_TSC_frequency__unable_to_check_invariant_TSC._n
mov dword [esp + 8], str.initialize_qpc_features
mov dword [esp + 4], global___dbch
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_1
jmp 0x4090ee
test byte [0x40a39c], 4
je 0x4090ee
mov dword [esp + 0xc], str.Failed_to_compute_TSC_frequency__RDTSC_instruction_not_supported._n
mov dword [esp + 8], str.initialize_qpc_features
mov dword [esp + 4], global___dbch
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_1
jmp 0x4090ee
mov eax, dword [ebp - 0xec8]
mov edx, dword [ebp - 0xec4]
mov dword [ebp - 0xea0], ebx
mov dword [ebp - 0xe9c], esi
mov edi, dword [ebp - 0xec0]
add eax, ebx
adc edx, esi
mov ecx, eax
mov eax, edx
mov ebx, edx
xor edx, edx
shr eax, 0x1f
add eax, ecx
adc edx, ebx
shrd eax, edx, 1
sar edx, 1
mov ebx, eax
mov esi, edx
test byte [0x40a39c], 8
je 0x4090f2
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], esi
mov dword [esp + 0xc], str.TSC_frequency_calibration_complete__found__I64u_Hz_n
mov dword [esp + 8], str.read_tsc_frequency
mov dword [esp + 4], global___dbch
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x4090f2
mov eax, dword [ebp - 0xeb0]
mov dword [esp], 0x19
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xea0]
mov dword [esp + 4], eax
call sym._SetupDiCallClassInstaller_12
sub esp, 0xc
test eax, eax
jne 0x4097b0
test byte [0x40a39c], 2
je 0x4084ea
mov eax, dword fs:[0x18]
mov edi, dword [eax + 0x34]
mov eax, ebx
call sym._wine_dbgstr_an.constprop.0
mov dword [esp + 0xc], str.Failed_to_register_device__s__error__lx._n
mov dword [esp + 0x14], 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.0_1
jmp 0x4084ea
mov eax, dword [ebp - 0xebc]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xa20]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_GetExitCodeProcess]
push eax
push eax
test byte [0x40a39c], 2
je 0x4087bf
mov eax, dword [ebp - 0xe30]
mov dword [esp + 0xc], str.Unexpected_termination_of_services.exe___exit_code__ld_n
mov dword [esp + 8], str.start_services_process
mov dword [esp + 0x10], eax
mov dword [esp + 4], global___dbch
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
jmp 0x4087bf
lea eax, [ebp - 0xc28]
mov dword [esp + 8], 0
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0xeb0]
mov dword [ebp - 0xc28], 0x100
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xebc]
mov dword [esp + 4], str.ComputerName
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xe58]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
sub esp, 0x18
test eax, eax
je 0x40943c
mov dword [ebp - 0xc28], 0
mov eax, dword [ebp - 0xe58]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
cmp dword [ebp - 0xc28], 0
push edi
je 0x40742f
mov eax, dword [ebp - 0xe64]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], esi
mov dword [esp], eax
mov eax, dword [ebp - 0xec8]
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 0x40742f
mov eax, dword [ebp - 0xc28]
mov dword [esp + 8], 0
mov dword [esp + 4], str.ComputerName
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0xeb0]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xe30]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xe58]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegSetValueExW]
mov eax, dword [ebp - 0xe58]
sub esp, 0x18
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
push ebx
jmp 0x40742f
test byte [0x40a39c], 4
je 0x4090ee
mov dword [esp + 0xc], str.Failed_to_compute_TSC_frequency__no_invariant_TSC._n
mov dword [esp + 8], str.initialize_qpc_features
mov dword [esp + 4], global___dbch
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_1
jmp 0x4090ee
mov eax, dword [ebp - 0xe5c]
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
and edx, 1
mov byte [edi + 0x29b], dl
jmp 0x406cfb
mov dword [esp + 0xc], str.Failed_to_compute_TSC_frequency__not_trusted_by_the_kernel._n
mov dword [esp + 8], str.initialize_qpc_features
mov dword [esp + 4], global___dbch
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_1
jmp 0x4090ee
mov eax, dword [ebp - 0xea4]
lea esi, [ebp - 0xe58]
mov dword [ebp - 0xa20], 0x200
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0xeb0]
mov dword [esp + 8], 0
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xe64]
mov dword [esp + 4], str.CurrentVersion
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
sub esp, 0x18
test eax, eax
jne 0x4096e1
cmp dword [ebp - 0xe58], 1
je 0x409be4
mov eax, dword [ebp - 0xe64]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
push eax
jmp 0x40867f
mov eax, dword [ebp - 0xea4]
lea esi, [ebp - 0xe58]
mov dword [ebp - 0xa20], 0x200
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0xeb0]
mov dword [esp + 8], 0
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xe64]
mov dword [esp + 4], str.CurrentVersion
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
sub esp, 0x18
test eax, eax
jne 0x409751
cmp dword [ebp - 0xe58], 1
je 0x409c7a
mov eax, dword [ebp - 0xe64]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
push eax
jmp 0x408649
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 - 0xea0], eax
mov eax, ebx
call sym._wine_dbgstr_wn.constprop.0_1
mov edi, eax
mov eax, esi
call sym._wine_dbgstr_wn.constprop.0_1
mov edx, dword [ebp - 0xea0]
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 dbg.wine_dbg_printf
jmp 0x4086dc
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov eax, dword [esi + 8]
mov dword [esp + 4], edi
mov dword [esp + 8], eax
mov dword [esp], 0
call sym._UpdateDriverForPlugAndPlayDevicesA_20
sub esp, 0x14
test eax, eax
jne 0x4084ea
test byte [0x40a39c], 2
je 0x4084ea
mov eax, dword [ebp - 0xea8]
mov edi, dword [eax + 0x34]
mov eax, ebx
call sym._wine_dbgstr_an.constprop.0
mov dword [esp + 0xc], str.Failed_to_install_drivers_for__s__error__lx._n
mov dword [esp + 0x14], 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.0_1
jmp 0x4084ea
mov eax, dword [ebp - 0xe7c]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], edi
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xe6c]
mov dword [esp + 0x18], 0
mov dword [esp], eax
mov eax, dword [ebp - 0xec8]
mov dword [esp + 0x14], 0xf003f
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
call eax
sub esp, 0x24
test eax, eax
je 0x409a1d
mov eax, dword [ebp - 0xe6c]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
push ecx
jmp 0x408603
mov dword [ebp - 0xea0], ebx
mov edi, dword [ebp - 0xec0]
mov dword [ebp - 0xe9c], esi
test byte [0x40a39c], 1
je 0x4090ee
mov dword [esp + 0xc], str.TSC_frequency_calibration_failed__unstable_TSC_
mov dword [esp + 8], str.read_tsc_frequency
mov dword [esp + 4], global___dbch
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0_1
test byte [0x40a39c], 1
je 0x4090ee
mov edx, dword [ebp - 0xed4]
mov eax, dword [ebp - 0xed8]
mov ebx, 0x64
mov dword [esp + 0xc], str.time0__I64u_ns__time1__I64u_ns_n
mov dword [esp + 8], str.read_tsc_frequency
imul ecx, edx, 0x64
mov dword [esp + 4], global___dbch
mul ebx
mov dword [esp], 0
add edx, ecx
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0xee0]
mov dword [esp + 0x1c], edx
mov edx, dword [ebp - 0xedc]
imul ecx, edx, 0x64
mul ebx
add edx, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
call sym._wine_dbg_log.constprop.0_1
test byte [0x40a39c], 1
je 0x4090ee
mov eax, dword [ebp - 0xee8]
mov edx, dword [ebp - 0xee4]
mov dword [esp + 0xc], str.tsc2___tsc0__I64u__tsc3___tsc1__I64u_n
mov dword [esp + 8], str.read_tsc_frequency
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0xed0]
mov dword [esp + 0x1c], edx
mov edx, dword [ebp - 0xecc]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov dword [esp + 4], global___dbch
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0_1
test byte [0x40a39c], 1
je 0x4090ee
mov eax, dword [ebp - 0xef0]
mov edx, dword [ebp - 0xe9c]
xor ebx, ebx
xor esi, esi
mov dword [esp + 0xc], str.freq0__I64u_Hz__freq2__I64u_Hz__error__I64u_ppm_n
mov dword [esp + 0x20], eax
mov eax, dword [ebp - 0xef8]
mov dword [esp + 0x1c], edx
mov edx, dword [ebp - 0xec4]
mov dword [esp + 0x24], eax
mov eax, dword [ebp - 0xea0]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0xec8]
mov dword [esp + 8], str.read_tsc_frequency
mov dword [esp + 0x10], eax
mov dword [esp + 4], global___dbch
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0_1
jmp 0x4090f2
mov eax, dword [ebp - 0xeb0]
mov dword [esp + 0xc], 1
mov dword [ebp - 0xe58], 0
mov dword [esp + 8], 0x28
mov dword [esp + 4], eax
mov dword [esp], 0
call dword [0x418508]
sub esp, 0x10
test eax, eax
jne 0x409d46
mov eax, dword [ebp - 0xe64]
lea esi, [ebp - 0xe58]
mov dword [esp + 0x14], 4
mov dword [esp + 0x10], esi
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 - 0xe64]
sub esp, 0x18
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
push esi
jmp 0x40988a
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.0_1
jmp 0x408df0
test byte [0x40a39c], 8
jne 0x409b2e
mov eax, dword [ebp - 0xc28]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_WaitForSingleObject]
push eax
push eax
lea eax, [ebp - 0xe30]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc28]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_GetExitCodeProcess]
push eax
push eax
mov eax, dword [ebp - 0xe30]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_ExitProcess]
mov dword [esp], edi
call dword [sym.imp.kernelbase.dll_DeleteFileW]
push eax
jmp 0x4079c3
mov eax, dword [ebp - 0xeb0]
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], global___func__.6
mov dword [esp + 4], global___dbch
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x409adc
test byte [0x40a39c], 2
je 0x40850a
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.0_1
jmp 0x40850a
mov edi, dword [eax + 0x34]
mov eax, ebx
call sym._wine_dbgstr_an.constprop.0
mov dword [esp + 0xc], str.Failed_to_create_device__s__error__lx._n
mov dword [esp + 0x14], 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.0_1
jmp 0x4084ea
mov eax, dword [ebp - 0xeb0]
mov dword [esp + 4], str.10.0
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_wcscmp]
test eax, eax
jne 0x4096e1
mov eax, dword [ebp - 0xe64]
mov esi, dword [sym.imp.advapi32.dll_RegSetValueExW]
mov dword [esp + 0x14], 0xc
mov dword [esp + 0x10], str.19043
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], str.CurrentBuild
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0xe64]
sub esp, 0x18
mov dword [esp + 0x14], 0xc
mov dword [esp + 0x10], str.19043
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], str.CurrentBuildNumber
mov dword [esp], eax
call esi
sub esp, 0x18
jmp 0x4096e1
mov eax, dword [ebp - 0xeb0]
mov dword [esp + 4], str.10.0
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_wcscmp]
test eax, eax
jne 0x409751
mov eax, dword [ebp - 0xe64]
mov esi, dword [sym.imp.advapi32.dll_RegSetValueExW]
mov dword [esp + 0x14], 0xc
mov dword [esp + 0x10], str.19043
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], str.CurrentBuild
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0xe64]
sub esp, 0x18
mov dword [esp + 0x14], 0xc
mov dword [esp + 0x10], str.19043
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], str.CurrentBuildNumber
mov dword [esp], eax
call esi
sub esp, 0x18
jmp 0x409751
test byte [0x40a39c], 8
je 0x408df0
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.0_1
jmp 0x408df0
mov ecx, dword [ebp - 0xeb0]
mov eax, dword [ebp - 0xe64]
mov edx, str.ProfileImagePath
call sym._set_reg_value.isra.0
jmp 0x409a59