Function at 0x4058f0
Capabilities:
Accept command line arguments
Access peb ldr_data
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 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, 0xfffffff8
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0xef0
mov eax, dword [ecx]
mov ebx, dword [ecx + 4]
mov dword [ebp - 0xe78], eax
call sym.___main
mov dword [esp + 4], 0x104
mov dword [ebp - 0xe54], 0x40003e
mov dword [ebp - 0xe50], str.KernelObjects__wineboot_event
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 0x405964
test byte [0x40a39c], 2
jne 0x406232
lea eax, [ebp - 0xe70]
mov dword [esp], 0xffffffff
mov dword [esp + 4], eax
call dword [sym.imp.kernelbase.dll_IsWow64Process]
sub esp, 8
test eax, eax
je 0x40598f
cmp dword [ebp - 0xe70], 0
jne 0x406153
cmp dword [ebp - 0xe78], 1
jle 0x405c8d
mov dword [ebp - 0xe90], 0
mov edx, 1
mov dword [ebp - 0xe80], 0
mov dword [ebp - 0xe84], 0
mov dword [ebp - 0xe7c], 0
mov dword [ebp - 0xe8c], 0
mov dword [ebp - 0xe98], 0
mov dword [ebp - 0xe88], 0
jmp 0x405aeb
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.0x405b27.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 0x405c00
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 0x405c10
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 0x405c1f
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 0x405c2e
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 0x405c3d
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 0x405c7e
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.0x405b27.2
mov dword [ebp - 0xe90], 1
lea esi, [esi]
add edx, 1
cmp dword [ebp - 0xe78], edx
je 0x405b59
mov eax, dword [ebx + edx*4]
cmp byte [eax], 0x2d
jne 0x405ae0
movzx ecx, byte [eax + 1]
cmp cl, 0x2d
je 0x4059f0
add eax, 2
test cl, cl
je 0x405ae0
mov esi, dword [ebp - 0xe90]
mov edi, dword [ebp - 0xe88]
nop
lea esi, [esi]
sub ecx, 0x65
cmp cl, 0x10
ja case.0x405b27.2
movzx ecx, cl
jmp dword [ecx*4 + 0x40cbf0]
mov esi, 1
lea esi, [esi]
movzx ecx, byte [eax]
add eax, 1
test cl, cl
jne 0x405b18
mov dword [ebp - 0xe90], esi
add edx, 1
mov dword [ebp - 0xe88], edi
cmp dword [ebp - 0xe78], edx
jne 0x405aeb
mov eax, dword [ebp - 0xe88]
test eax, eax
je 0x405c4c
mov eax, dword [ebp - 0xe98]
cmp dword [ebp - 0xe7c], 0
mov dword [esp], eax
je 0x406141
call sym._shutdown_all_desktops
test eax, eax
je 0x405c6c
mov eax, dword [ebp - 0xe80]
mov dword [esp], eax
call sym._kill_processes
jmp 0x405c59
mov dword [ebp - 0xe80], 1
jmp 0x405b38
mov dword [ebp - 0xe7c], 1
jmp 0x405b38
mov dword [ebp - 0xe84], 1
jmp 0x405b38
mov edi, 1
jmp 0x405b38
mov dword [ebp - 0xe8c], 1
jmp 0x405b38
mov dword [ebp - 0xe98], 1
jmp 0x405b38
mov dword [ebp - 0xe88], 1
jmp 0x405ae0
mov dword [ebp - 0xe98], 1
jmp 0x405ae0
mov dword [ebp - 0xe8c], 1
jmp 0x405ae0
mov dword [ebp - 0xe7c], 1
jmp 0x405ae0
mov dword [ebp - 0xe84], 1
jmp 0x405ae0
cmp dword [ebp - 0xe7c], 0
jne 0x405b8a
cmp dword [ebp - 0xe80], 0
mov dword [ebp - 0xe88], 0
je 0x405cb5
mov eax, dword [ebp - 0xe88]
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
mov dword [ebp - 0xe80], 1
jmp 0x405ae0
mov dword [ebp - 0xe84], 0
mov dword [ebp - 0xe7c], 0
mov dword [ebp - 0xe8c], 0
mov dword [ebp - 0xe90], 0
lea eax, [ebp - 0xe54]
mov dword [ebp - 0xe40], 0x18
mov dword [ebp - 0xe38], eax
lea eax, [ebp - 0xe40]
mov dword [esp + 8], eax
lea eax, [ebp - 0xe74]
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 - 0xe74]
sub esp, 0x14
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_ResetEvent]
push eax
call sym._create_user_shared_data
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
imul eax, dword [eax + 0x64], 0x18
mov dword [esp + 0x18], 0
mov dword [ebp - 0x810], 0
mov dword [esp + 0x14], 0
mov dword [ebp - 0xecc], eax
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_CreateFileW]
sub esp, 0x1c
mov ebx, eax
cmp eax, 0xffffffff
je 0x406276
lea eax, [ebp - 0xa18]
lea edi, [ebp - 0x810]
mov dword [esp], ebx
mov dword [esp + 0x10], 0
mov dword [ebp - 0xe78], eax
mov dword [esp + 0xc], eax
mov dword [esp + 8], 3
mov dword [ebp - 0xe80], edi
mov dword [esp + 4], edi
call dword [sym.imp.kernelbase.dll_ReadFile]
sub esp, 0x14
test eax, eax
je 0x405dfd
mov dword [esp + 4], edi
mov dword [esp], 0x40bc6c
call dword [sym.imp.ucrtbase.dll_strcmp]
test eax, eax
jne 0x406293
mov dword [esp], ebx
call dword [sym.imp.kernelbase.dll_CloseHandle]
push edx
xor esi, esi
mov eax, 1
mov ecx, esi
cpuid
and dl, 0x10
mov dword [ebp - 0x80c], ebx
mov dword [ebp - 0x808], ecx
je 0x40850b
mov eax, 0x80000000
mov ecx, esi
cpuid
mov dword [ebp - 0x80c], ebx
mov dword [ebp - 0x808], ecx
cmp eax, 0x80000006
jbe 0x408ccf
mov eax, 0x80000007
mov ecx, esi
cpuid
mov dword [ebp - 0x80c], ebx
mov dword [ebp - 0x808], ecx
and dh, 1
je 0x408d77
mov eax, 0x80000001
mov ecx, esi
mov dword [ebp - 0xed0], 0x32
cpuid
and edx, 0x8000000
mov dword [ebp - 0x80c], ebx
mov dword [ebp - 0x808], ecx
mov dword [ebp - 0xe88], edx
jmp 0x406063
rdtscp
mov ebx, dword [ebp - 0xe78]
mov dword [ebx], ecx
mov dword [ebp - 0xea8], eax
mov dword [ebp - 0xea4], edx
call dword [sym.imp.ntdll.dll_RtlGetSystemTimePrecise]
mov dword [ebp - 0xeb8], eax
mov dword [ebp - 0xeb4], edx
rdtscp
mov dword [ebx], ecx
mov dword [ebp - 0xec8], eax
mov dword [ebp - 0xec4], edx
mov dword [esp], 1
call dword [sym.imp.kernelbase.dll_Sleep]
push esi
rdtscp
mov dword [ebx], ecx
mov dword [ebp - 0xe98], eax
mov dword [ebp - 0xe94], edx
call dword [sym.imp.ntdll.dll_RtlGetSystemTimePrecise]
mov esi, eax
mov edi, edx
rdtscp
mov dword [ebx], ecx
mov dword [ebp - 0xec0], eax
mov dword [ebp - 0xebc], edx
sub esi, dword [ebp - 0xeb8]
mov eax, dword [ebp - 0xe98]
mov ebx, 0x989680
sbb edi, dword [ebp - 0xeb4]
mov edx, dword [ebp - 0xe94]
mov dword [esp + 8], esi
sub eax, dword [ebp - 0xea8]
sbb edx, dword [ebp - 0xea4]
mov dword [esp + 0xc], edi
imul ecx, edx, 0x989680
mul ebx
add edx, ecx
mov dword [esp], eax
mov dword [esp + 4], edx
call sym.___divdi3
mov dword [esp + 8], esi
mov dword [ebp - 0xea8], eax
mov eax, dword [ebp - 0xec0]
mov dword [ebp - 0xea4], edx
sub eax, dword [ebp - 0xec8]
mov edx, dword [ebp - 0xebc]
sbb edx, dword [ebp - 0xec4]
mov dword [esp + 0xc], edi
imul ecx, edx, 0x989680
mul ebx
mov ebx, 0xf4240
add edx, ecx
mov dword [esp], eax
mov dword [esp + 4], edx
call sym.___divdi3
mov esi, eax
sub esi, dword [ebp - 0xea8]
mov edi, edx
mov dword [ebp - 0xe98], eax
sbb edi, dword [ebp - 0xea4]
mov eax, esi
mov dword [ebp - 0xe94], edx
imul ecx, edi, 0xf4240
mov esi, dword [ebp - 0xea8]
mov edi, dword [ebp - 0xea4]
mul ebx
mov ebx, esi
mov esi, dword [ebp - 0xe98]
add edx, ecx
mov ecx, edi
mov edi, dword [ebp - 0xe94]
cmp esi, ebx
mov esi, dword [ebp - 0xe98]
sbb edi, ecx
mov edi, dword [ebp - 0xe94]
cmovl ebx, esi
cmovl ecx, edi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
mov dword [esp], eax
mov dword [esp + 4], edx
call sym.___divdi3
mov ebx, edx
sar ebx, 0x1f
mov dword [ebp - 0xea0], ebx
mov ecx, dword [ebp - 0xea0]
mov dword [ebp - 0xe9c], ebx
mov ebx, dword [ebp - 0xe9c]
xor eax, ecx
xor edx, ebx
mov dword [ebp - 0xeb0], eax
mov eax, dword [ebp - 0xeb0]
mov dword [ebp - 0xeac], edx
mov edx, dword [ebp - 0xeac]
sub eax, ecx
mov ecx, 0x1f4
sbb edx, ebx
cmp ecx, eax
mov eax, 0
sbb eax, edx
jge 0x408d10
sub dword [ebp - 0xed0], 1
je 0x408cf6
mov edi, dword [ebp - 0xe88]
test edi, edi
jne 0x405e95
rdtsc
mov dword [ebp - 0xea8], eax
mov eax, dword [ebp - 0xe88]
mov dword [ebp - 0xea4], edx
mov ecx, eax
cpuid
mov dword [ebp - 0x80c], ebx
mov dword [ebp - 0x808], ecx
call dword [sym.imp.ntdll.dll_RtlGetSystemTimePrecise]
mov dword [ebp - 0xeb8], eax
mov dword [ebp - 0xeb4], edx
rdtsc
mov dword [ebp - 0xec8], eax
mov eax, dword [ebp - 0xe88]
mov dword [ebp - 0xec4], edx
mov dword [esp], 1
mov ecx, eax
cpuid
mov dword [ebp - 0x808], ecx
mov dword [ebp - 0x80c], ebx
call dword [sym.imp.kernelbase.dll_Sleep]
push ecx
rdtsc
mov dword [ebp - 0xe98], eax
mov eax, dword [ebp - 0xe88]
mov dword [ebp - 0xe94], edx
mov ecx, eax
cpuid
mov dword [ebp - 0x80c], ebx
mov dword [ebp - 0x808], ecx
call dword [sym.imp.ntdll.dll_RtlGetSystemTimePrecise]
mov esi, eax
mov edi, edx
rdtsc
mov dword [ebp - 0xec0], eax
mov eax, dword [ebp - 0xe88]
mov dword [ebp - 0xebc], edx
mov ecx, eax
cpuid
mov dword [ebp - 0x80c], ebx
mov dword [ebp - 0x808], ecx
jmp 0x405f09
mov eax, 1
call sym._usage
xor eax, eax
call sym._usage
call sym._shutdown_close_windows
test eax, eax
jne 0x405c59
jmp 0x405c6c
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 edx
push edx
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 ecx
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 0x4091db
test byte [0x40a39c], 2
jne 0x408541
mov eax, dword [ebp - 0xe40]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_Wow64RevertWow64FsRedirection]
push eax
jmp 0x40598f
mov eax, dword fs:[0x18]
mov esi, 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], esi
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.main
mov dword [esp + 4], 0x40a39c
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
jmp 0x405964
lea eax, [ebp - 0xa18]
mov dword [ebp - 0xe78], eax
lea eax, [ebp - 0x810]
mov dword [ebp - 0xe80], eax
jmp 0x405e07
mov dword [esp], ebx
call dword [sym.imp.kernelbase.dll_CloseHandle]
push ecx
test byte [0x40a39c], 4
jne 0x408ce9
xor esi, esi
xor edi, edi
lea eax, [ebp - 0xc20]
call sym._get_vendorid
mov ebx, dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
lea eax, [ebp - 0xe4c]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0xc
mov dword [esp + 4], eax
mov dword [esp], 1
mov dword [ebp - 0xec0], ebx
call ebx
mov eax, dword [ebp - 0xe78]
sub esp, 0x10
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x40
mov dword [esp + 4], eax
mov dword [esp], 0x69
call ebx
sub esp, 0x10
test eax, eax
je 0x40631f
mov dword [ebp - 0xa18], 0
mov eax, dword [ebp - 0xecc]
mov dword [esp], eax
mov eax, dword [sym.imp.ucrtbase.dll_malloc]
mov dword [ebp - 0xea0], eax
call eax
mov dword [ebp - 0xeb0], eax
test eax, eax
je 0x4092bc
mov eax, dword [ebp - 0xecc]
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xeb0]
mov dword [esp], 0xb
mov dword [esp + 0xc], eax
call dword [sym.imp.ntdll.dll_NtPowerInformation]
sub esp, 0x14
test eax, eax
jne 0x4083a7
movzx eax, word [ebp - 0xe4c]
cmp ax, 9
je 0x40840f
cmp ax, 0xc
je 0x4083cc
cmp ax, 5
je 0x4083cc
mov eax, dword [ebp - 0xe80]
mov edx, 0x40badc
call sym._get_identifier.constprop.0
lea eax, [ebp - 0xe64]
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 - 0xea8], eax
call eax
sub esp, 0x24
test eax, eax
jne 0x408586
movzx edx, word [ebp - 0xe4c]
mov eax, dword [ebp - 0xe64]
cmp dx, 5
je 0x407b61
cmp dx, 0xc
je 0x407b61
mov ecx, str.AT_compatible
mov edx, str.Identifier
call sym._set_reg_value
movzx eax, word [ebp - 0xe4c]
cmp ax, 5
je 0x406d45
cmp ax, 0xc
je 0x406d45
lea eax, [ebp - 0xe5c]
mov dword [esp + 0x20], 0
mov dword [ebp - 0xec8], eax
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0xe64]
mov dword [esp + 0x18], 0
mov dword [esp], eax
mov eax, dword [ebp - 0xea8]
mov dword [esp + 0x14], 0xf003f
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.FloatingPointProcessor
call eax
sub esp, 0x24
test eax, eax
jne 0x406d51
lea eax, [ebp - 0xe60]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0xe64]
mov dword [esp + 0x18], 0
mov dword [esp], eax
mov eax, dword [ebp - 0xea8]
mov dword [esp + 0x14], 0xf003f
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.CentralProcessor
call eax
sub esp, 0x24
test eax, eax
je 0x406528
mov dword [ebp - 0xe60], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
cmp dword [eax + 0x64], 0
je 0x4090b8
mov dword [esp], esi
xor ebx, ebx
lea esi, [ebp - 0xe68]
mov dword [esp + 4], edi
mov dword [esp + 8], 0xf4240
mov dword [esp + 0xc], 0
call sym.___udivdi3
mov edx, dword [sym.imp.advapi32.dll_RegCloseKey]
mov edi, eax
lea eax, [ebp - 0xe28]
mov dword [ebp - 0xe98], eax
mov dword [ebp - 0xe88], edx
mov dword [ebp - 0xeb8], edi
mov edi, eax
lea esi, [esi]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x40bf1a
mov dword [esp + 4], 0xa
mov dword [esp], edi
call sym._swprintf
mov eax, dword [ebp - 0xe60]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], esi
mov dword [esp], eax
mov eax, dword [ebp - 0xea8]
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], edi
call eax
sub esp, 0x24
test eax, eax
jne 0x406746
mov eax, dword [ebp - 0xeb8]
mov dword [ebp - 0xe58], eax
test eax, eax
jne 0x40661b
imul eax, ebx, 0x18
mov edx, dword [ebp - 0xeb0]
mov eax, dword [edx + eax + 4]
mov dword [ebp - 0xe58], eax
lea eax, [ebp - 0xe44]
mov dword [esp + 0x14], 4
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xe68]
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0
mov dword [esp + 4], 0x40bf20
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegSetValueExW]
mov ecx, dword [ebp - 0xe80]
mov eax, dword [ebp - 0xe68]
mov edx, str.Identifier
sub esp, 0x18
call sym._set_reg_value
mov edx, dword [ebp - 0xe78]
mov ecx, dword [edx]
add edx, 4
lea eax, [ecx - 0x1010101]
not ecx
and eax, ecx
and eax, 0x80808080
je 0x406673
mov ecx, eax
mov dword [esp + 0xc], 1
shr ecx, 0x10
test eax, 0x8080
mov dword [esp + 8], 0
cmove eax, ecx
lea ecx, [edx + 2]
mov dword [esp + 4], str.ProcessorNameString
cmove edx, ecx
mov ecx, eax
add cl, al
mov eax, dword [ebp - 0xe78]
sbb edx, 3
mov dword [esp + 0x10], eax
sub edx, eax
mov eax, dword [ebp - 0xe68]
add edx, 1
mov dword [esp + 0x14], edx
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegSetValueExA]
mov eax, dword [ebp - 0xe68]
lea ecx, [ebp - 0xc20]
mov edx, str.VendorIdentifier
sub esp, 0x18
call sym._set_reg_value
lea eax, [ebp - 0xe58]
mov dword [esp + 0x14], 4
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xe68]
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0
mov dword [esp + 4], str.MHz
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegSetValueExW]
mov eax, dword [ebp - 0xe68]
sub esp, 0x18
mov dword [esp], eax
mov eax, dword [ebp - 0xe88]
call eax
sub esp, 4
movzx eax, word [ebp - 0xe4c]
cmp ax, 5
je 0x4067ad
cmp ax, 0xc
je 0x4067ad
mov eax, dword [ebp - 0xe5c]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], esi
mov dword [esp], eax
mov eax, dword [ebp - 0xea8]
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], edi
call eax
sub esp, 0x24
test eax, eax
je 0x4079a0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
add ebx, 1
cmp ebx, dword [eax + 0x64]
jb 0x406588
mov eax, dword [ebp - 0xe64]
call sym._create_bios_key
mov eax, dword [ebp - 0xe5c]
mov ebx, dword [ebp - 0xe88]
mov dword [esp], eax
call ebx
push eax
mov eax, dword [ebp - 0xe60]
mov dword [esp], eax
call ebx
push eax
mov eax, dword [ebp - 0xe64]
mov dword [esp], eax
call ebx
push eax
mov eax, dword [ebp - 0xeb0]
mov dword [esp], eax
mov eax, dword [sym.imp.ucrtbase.dll_free]
mov dword [ebp - 0xeb0], eax
call eax
mov eax, dword [ebp - 0xe78]
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0xea8]
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 0x408146
mov eax, dword [ebp - 0xe78]
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0xea8]
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 0x406ac4
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 - 0xea8]
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 0x406aa4
mov eax, dword [ebp - 0x810]
lea ecx, [ebx + 0x12]
mov edx, str.HardWareKey
call sym._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 - 0xe88]
call eax
push eax
add ebx, 0xb2
cmp edi, ebx
jne 0x4068d5
mov eax, dword [ebp - 0xa18]
mov dword [esp], eax
mov eax, dword [ebp - 0xe88]
call eax
push ebx
mov eax, dword [ebp - 0xe98]
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 0x406ca7
mov eax, dword [ebp - 0xe78]
call sym._get_vendorid
lea eax, [ebp - 0xc20]
mov dword [esp + 0xc], 0
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xec0]
mov dword [esp + 8], 0xc
mov dword [esp], 1
call eax
mov ebx, dword [ebp - 0xe80]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
sub esp, 0x10
mov eax, dword [eax + 0x64]
mov dword [esp + 8], 0x40bf1a
mov dword [esp + 4], 0x3c
mov dword [esp + 0xc], eax
mov dword [esp], ebx
call sym._swprintf
mov eax, dword [ebp - 0xe28]
mov ecx, ebx
mov edx, str.NUMBER_OF_PROCESSORS
call sym._set_reg_value
cmp word [ebp - 0xc20], 9
je 0x408a94
mov ebx, 0x40badc
mov ecx, ebx
mov eax, dword [ebp - 0xe28]
mov edx, str.PROCESSOR_ARCHITECTURE
call sym._set_reg_value
movzx eax, word [ebp - 0xc20]
cmp ax, 5
je 0x4084c8
cmp ax, 0xc
je 0x4084c8
mov edx, ebx
mov ebx, dword [ebp - 0xe80]
mov eax, ebx
call sym._get_identifier.constprop.0
cmp word [ebp - 0x810], 0
je 0x40914a
mov eax, ebx
add eax, 2
cmp word [eax], 0
jne 0x406bc4
xor edx, edx
movzx ecx, word [edx + 0x40c09e]
mov word [eax + edx], cx
add edx, 2
test cx, cx
jne 0x406bcf
cmp word [ebp - 0x810], 0
mov eax, dword [ebp - 0xe80]
je 0x406bfb
add eax, 2
cmp word [eax], 0
jne 0x406bf2
mov ebx, dword [ebp - 0xe78]
xor edx, edx
movzx ecx, word [ebx + edx]
mov word [eax + edx], cx
add edx, 2
test cx, cx
jne 0x406c03
mov ebx, dword [ebp - 0xe80]
mov eax, dword [ebp - 0xe28]
mov edx, 0x40c0a4
mov ecx, ebx
call sym._set_reg_value
movzx eax, word [ebp - 0xc1e]
mov dword [esp + 8], 0x40bf1a
mov dword [esp + 4], 0x3c
mov dword [esp + 0xc], eax
mov dword [esp], ebx
call sym._swprintf
mov eax, dword [ebp - 0xe28]
mov ecx, ebx
mov edx, str.PROCESSOR_LEVEL
call sym._set_reg_value
movzx eax, word [ebp - 0xc1c]
mov dword [esp + 8], str._04x
mov dword [esp + 4], 0x3c
mov dword [esp + 0xc], eax
mov dword [esp], ebx
call sym._swprintf
mov eax, dword [ebp - 0xe28]
mov ecx, ebx
mov edx, str.PROCESSOR_REVISION
call sym._set_reg_value
mov eax, dword [ebp - 0xe28]
mov dword [esp], eax
mov eax, dword [ebp - 0xe88]
call eax
push ecx
mov edi, dword [ebp - 0xe78]
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 - 0xeb8], esi
push edx
test eax, eax
jne 0x406e28
mov eax, dword [ebp - 0xec8]
mov edi, dword [ebp - 0xe78]
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 0x406d60
mov eax, dword [ebp - 0xe5c]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x406d60
mov dword [esp + 4], str.localhost
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll__stricmp]
test eax, eax
je 0x406d60
mov eax, dword [ebp - 0xe5c]
mov ebx, dword [eax + 0x14]
jmp 0x406d66
lea eax, [ebp - 0xe5c]
mov dword [ebp - 0xec8], eax
mov dword [ebp - 0xe5c], 0
jmp 0x4064c4
mov ebx, dword [ebp - 0xe80]
mov dword [esp + 4], 0x2e
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_strchr]
test eax, eax
je 0x4089e6
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 - 0xe80]
je 0x406dc0
mov eax, dword [ebp - 0xe5c]
mov dword [esp], eax
call sym._freeaddrinfo_4
push edi
lea ebx, [ebp - 0xe58]
mov dword [esp + 4], str.SystemCurrentControlSetControlComputerName
mov dword [esp + 8], ebx
mov ebx, dword [sym.imp.advapi32.dll_RegOpenKeyW]
mov dword [esp], 0x80000002
mov dword [ebp - 0xeb8], ebx
call ebx
sub esp, 0xc
test eax, eax
jne 0x406e28
lea eax, [ebp - 0xe4c]
mov dword [esp + 4], str.ComputerName
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xe58]
mov dword [esp], eax
call ebx
sub esp, 0xc
test eax, eax
je 0x408db8
mov eax, dword [ebp - 0xe58]
mov dword [esp], eax
mov eax, dword [ebp - 0xe88]
call eax
push ecx
mov edi, dword [ebp - 0xe80]
mov esi, 0x400
jmp 0x406e73
lea ebx, [esi - 2]
cmp eax, ebx
jb 0x4079cd
cmp edi, dword [ebp - 0xe80]
je 0x406e56
mov dword [esp], edi
mov eax, dword [ebp - 0xeb0]
call eax
lea edx, [esi*4]
mov eax, dword [ebp - 0xea0]
lea ebx, [esi + esi]
mov dword [esp], edx
call eax
mov edi, eax
test eax, eax
je 0x406e97
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 0x406e38
mov eax, dword [ebp - 0xe80]
mov dword [esp + 0xc], 0xf003f
mov dword [ebp - 0xa18], 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 - 0xed0], eax
call eax
sub esp, 0x14
test eax, eax
jne 0x406f43
mov eax, dword [ebp - 0xe78]
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
je 0x40727b
xor edi, edi
mov dword [esp], edi
mov eax, dword [ebp - 0xeb0]
call eax
mov eax, dword [ebp - 0x810]
mov dword [esp], eax
mov eax, dword [ebp - 0xe88]
call eax
push eax
mov eax, dword [ebp - 0xec8]
mov dword [esp + 4], str.SoftwareMicrosoftWindows_NTCurrentVersionWinlogon
mov dword [esp], 0x80000002
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xeb8]
call eax
sub esp, 0xc
test eax, eax
je 0x407b75
mov eax, dword [ebp - 0xe5c]
mov dword [esp], eax
mov eax, dword [ebp - 0xe88]
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 - 0xea0]
call eax
mov dword [esp + 4], ebx
mov dword [ebp - 0xec0], eax
mov ebx, eax
mov dword [esp], eax
call esi
push eax
push eax
mov eax, ebx
movzx ecx, word [eax]
mov edx, eax
lea eax, [eax + 2]
test cx, cx
jne 0x406fc1
xor eax, eax
movzx ecx, word [eax + 0x40c3c0]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x406fd0
mov ebx, dword [ebp - 0xec0]
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 - 0xeb8], eax
mov eax, ebx
je 0x408af7
add eax, 2
cmp word [eax], 0
jne 0x407010
cmp dword [ebp - 0xeb8], 0xffffffff
mov word [eax - 4], 0
je 0x4073af
mov ebx, dword [sym.imp.ucrtbase.dll_wcscmp]
lea edi, [ebp - 0x7e4]
jmp 0x407064
mov eax, dword [ebp - 0xe80]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xeb8]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_FindNextFileW]
sub esp, 8
test eax, eax
je 0x4073af
mov dword [esp + 4], 0x40c3f8
mov dword [esp], edi
call ebx
test eax, eax
je 0x407040
mov dword [esp + 4], 0x40c3fc
mov dword [esp], edi
call ebx
test eax, eax
je 0x407040
lea eax, [ebp - 0xe4c]
lea esi, [ebp - 0xe58]
mov dword [ebp - 0xe58], 0x104
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0xe98]
lea edx, [ebp - 0xc20]
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], edx
mov dword [ebp - 0xe4c], 0x104
mov dword [esp + 0x18], eax
mov dword [esp + 0xc], 0x417240
mov dword [esp + 8], 0x417240
mov dword [esp + 4], edi
mov dword [esp], 1
call dword [sym.imp.kernelbase.dll_VerFindFileW]
mov eax, dword [ebp - 0xe98]
mov dword [ebp - 0xe58], 0x104
sub esp, 0x20
mov dword [esp + 0x1c], esi
mov esi, dword [ebp - 0xe78]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xec0]
mov dword [esp + 0x18], esi
lea esi, [ebp - 0xc20]
mov dword [esp + 0x14], esi
mov dword [esp + 0xc], eax
mov dword [esp + 8], edi
mov dword [esp + 4], edi
mov dword [esp], 0
call sym._VerInstallFileW_32
mov esi, eax
mov eax, dword [sym.imp.kernelbase.dll_DeleteFileW]
sub esp, 0x20
mov dword [ebp - 0xecc], eax
test esi, esi
je 0x407168
test byte [0x40a39c], 4
jne 0x408490
mov eax, dword [ebp - 0xe78]
mov dword [esp], eax
mov eax, dword [sym.imp.kernelbase.dll_DeleteFileW]
mov dword [ebp - 0xecc], eax
call eax
push ecx
mov edx, dword [ebp - 0xec0]
mov eax, dword [ebp - 0xe98]
lea esi, [esi]
movzx ecx, word [edx]
test cx, cx
je 0x407194
add eax, 2
lea esi, [ebp - 0xc24]
add edx, 2
mov word [eax - 2], cx
cmp eax, esi
jne 0x407178
mov word [eax], 0
cmp word [ebp - 0xe28], 0
mov edx, dword [ebp - 0xe98]
je 0x4085c4
lea esi, [esi]
add edx, 2
cmp word [edx], 0
jne 0x4071b0
mov esi, dword [ebp - 0xe98]
sub edx, esi
mov eax, edx
lea edx, [esi + edx + 2]
sar eax, 1
mov word [ebp + eax*2 - 0xe28], 0x5c
lea ecx, [eax + 1]
mov eax, 0x104
sub eax, ecx
mov dword [ebp - 0xe58], ecx
cmp eax, 1
jbe 0x4073a2
mov ecx, edi
jmp 0x407202
sub eax, 1
add edx, 2
add ecx, 2
mov word [edx - 2], si
cmp eax, 1
je 0x40720a
movzx esi, word [ecx]
test si, si
jne 0x4071f0
mov word [edx], 0
mov eax, dword [ebp - 0xe98]
mov dword [esp], eax
mov eax, dword [ebp - 0xecc]
call eax
push edx
test eax, eax
jne 0x407040
test byte [0x40a39c], 4
je 0x407040
mov eax, dword fs:[0x18]
mov esi, dword [eax + 0x34]
mov eax, dword [ebp - 0xe98]
call sym._wine_dbgstr_wn.constprop.0_1
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.failed_to_delete__s:_error__lu_n
mov dword [esp + 8], str.ProcessWindowsFileProtection
mov dword [esp + 4], 0x40a39c
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_1
jmp 0x407040
mov eax, dword [ebp - 0xa18]
mov dword [esp], eax
mov eax, dword [ebp - 0xea0]
call eax
mov edi, eax
mov eax, dword [ebp - 0x810]
test edi, edi
je 0x406f24
mov esi, dword [ebp - 0xe78]
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], esi
mov dword [esp + 8], 0
mov dword [esp + 4], str.PendingFileRenameOperations
mov dword [esp], eax
call ebx
sub esp, 0x18
test eax, eax
jne 0x406f26
mov eax, dword [ebp - 0xa18]
cmp eax, 3
jbe 0x406f26
and eax, 0xfffffffe
cmp word [edi + eax - 2], 0
jne 0x406f26
cmp word [edi + eax - 4], 0
jne 0x406f26
mov esi, edi
movzx edx, word [esi]
test dx, dx
je 0x407384
mov eax, esi
add eax, 2
cmp word [eax], 0
jne 0x407308
lea ebx, [eax + 2]
cmp dx, 0x5c
je 0x4089bd
xor eax, eax
cmp word [ebx], 0x21
jne 0x40732e
add ebx, 2
mov eax, 1
cmp word [ebx], 0x5c
je 0x408b02
cmp word [ebx], 0
jne 0x4089a4
mov dword [esp], esi
call dword [sym.imp.kernelbase.dll_RemoveDirectoryW]
push edx
test eax, eax
jne 0x40736b
mov eax, dword fs:[0x18]
cmp dword [eax + 0x34], 0x10b
jne 0x40736b
jmp 0x4093cb
add ebx, 2
cmp word [ebx], 0
jne 0x407368
lea esi, [ebx + 2]
mov eax, esi
sub eax, edi
cmp eax, dword [ebp - 0xa18]
jb 0x4072fe
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
jmp 0x406f26
test eax, eax
je 0x40720f
jmp 0x40720a
mov eax, dword [ebp - 0xeb8]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_FindClose]
mov eax, dword [ebp - 0xec0]
push ebx
mov dword [esp], eax
mov eax, dword [ebp - 0xeb0]
call eax
mov dword [esp], 0
mov ecx, 1
mov edx, str.RunServicesOnce
mov eax, 0x80000002
call sym._ProcessRunKeys
cmp dword [ebp - 0xe8c], 0
jne 0x407409
mov eax, dword [ebp - 0xe84]
xor eax, 1
test dword [ebp - 0xe7c], eax
je 0x4074ab
mov dword [esp], 0
xor ecx, ecx
mov edx, str.RunServices
mov eax, 0x80000002
lea edi, [ebp - 0x80c]
call sym._ProcessRunKeys
xor eax, eax
mov ecx, 0x10
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0xe78]
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 0x4080aa
test byte [0x40a39c], 2
jne 0x408ac1
mov eax, dword [ebp - 0xe90]
or eax, dword [ebp - 0xe8c]
jne 0x407c9a
lea eax, [ebp - 0xc20]
mov dword [esp + 0xc], 0xf003f
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xed0]
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 0x4076ff
lea eax, [ebp - 0xe4c]
mov dword [esp + 8], 0
mov ebx, dword [sym.imp.advapi32.dll_RegQueryValueExA]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0xe80]
mov dword [ebp - 0xe4c], 0x100
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xe98]
mov dword [esp + 4], str.ProductId
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xc20]
mov dword [esp], eax
call ebx
sub esp, 0x18
test eax, eax
jne 0x4076ed
mov eax, dword [ebp - 0xe4c]
test eax, eax
je 0x4076ed
cmp byte [ebp + eax - 0x811], 0
je 0x407581
cmp eax, 0x100
je 0x4076ed
lea edx, [eax + 1]
mov byte [ebp + eax - 0x810], 0
mov dword [ebp - 0xe4c], edx
lea eax, [ebp - 0xe4c]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0xe98]
mov dword [esp + 8], 0
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xc20]
mov dword [esp + 4], str.DigitalProductId
mov dword [esp], eax
call ebx
sub esp, 0x18
test eax, eax
jne 0x40762e
cmp dword [ebp - 0xe4c], 0xa4
jne 0x40762e
lea eax, [ebp - 0xe4c]
mov dword [esp + 8], 0
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0xe78]
mov dword [esp + 4], str.DigitalProductId
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xe98]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xc20]
mov dword [esp], eax
call ebx
sub esp, 0x18
test eax, eax
jne 0x4076ed
mov edx, dword [ebp - 0xe4c]
jmp 0x40762a
mov ebx, dword [ebp - 0xe78]
cmp byte [ebx + eax], 0
jne 0x4076ed
add eax, 1
cmp eax, edx
jne 0x407617
lea edx, [ebp - 0xa14]
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 - 0xe80]
mov byte [ebp - 0xa14], 3
mov dword [ebp - 0xa18], 0xa4
mov dword [esp + 4], eax
lea eax, [ebp - 0xa10]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_strcpy]
lea eax, [ebp - 0x9f4]
mov ecx, 0xf
mov dword [ebp - 0x9f8], 0xcec
mov dword [ebp - 0x9e4], 0xcec
mov edi, eax
lea eax, [ebp - 0x9e0]
rep movsb byte es:[edi], byte [esi]
mov byte [ebp - 0x9d6], 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 - 0xe78]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xc20]
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 - 0xc20]
mov dword [esp], eax
mov eax, dword [ebp - 0xe88]
call eax
push eax
lea eax, [ebp - 0xc20]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0xea8]
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 0x407909
mov edi, dword [ebp - 0xe80]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov ebx, dword [0x4184cc]
mov dword [esp + 0x10], edi
mov dword [esp + 4], 0x801a
mov dword [esp], 0
call ebx
sub esp, 0x14
test eax, eax
js 0x4077a5
mov eax, dword [ebp - 0xc20]
mov ecx, edi
mov edx, str.APPDATA
call sym._set_reg_value
mov eax, dword [ebp - 0xc20]
mov ecx, str.Console
mov edx, str.CLIENTNAME
call sym._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 0x40782f
mov eax, dword [ebp - 0xc20]
mov ecx, edi
mov edx, str.USERPROFILE
call sym._set_reg_value
mov eax, dword [ebp - 0xc20]
lea ecx, [ebp - 0x80c]
mov edx, str.HOMEPATH
call sym._set_reg_value
mov eax, dword [ebp - 0xc20]
mov ecx, edi
mov edx, str.HOMEDRIVE
mov word [ebp - 0x80c], 0
call sym._set_reg_value
mov dword [ebp - 0xe28], 0x104
mov eax, dword [ebp - 0xe98]
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 0x4085e7
mov eax, dword [ebp - 0xc20]
mov ecx, 0x40b3fc
mov edx, str.HOMESHARE
call sym._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 0x4078b5
mov eax, dword [ebp - 0xc20]
mov ecx, edi
mov edx, str.LOCALAPPDATA
call sym._set_reg_value
mov eax, dword [ebp - 0xe98]
lea ebx, [ebp - 0xa14]
mov dword [ebp - 0xe28], 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 0x408602
mov eax, dword [ebp - 0xc20]
mov ecx, str.Console
mov edx, str.SESSIONNAME
call sym._set_reg_value
mov eax, dword [ebp - 0xc20]
mov dword [esp], eax
mov eax, dword [ebp - 0xe88]
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], 0x40ca84
call dword [0x418614]
sub esp, 0x14
test eax, eax
je 0x407947
mov dword [esp], eax
call dword [0x418610]
push ecx
mov eax, 0x80000002
mov ecx, 1
mov edx, str.RunOnce
mov dword [esp], 1
call sym._ProcessRunKeys
mov eax, dword [ebp - 0xe84]
or eax, dword [ebp - 0xe8c]
je 0x408186
test byte [0x40a39c], 8
jne 0x40815d
mov eax, dword [ebp - 0xe74]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_SetEvent]
mov dword [ebp - 0xe88], 0
push esi
jmp 0x405c6c
mov ecx, dword [ebp - 0xe80]
mov eax, dword [ebp - 0xe68]
mov edx, str.Identifier
call sym._set_reg_value
mov eax, dword [ebp - 0xe68]
mov dword [esp], eax
mov eax, dword [ebp - 0xe88]
call eax
push edx
jmp 0x4067ad
movzx eax, word [edi]
mov esi, edi
test ax, ax
je 0x407a68
mov ebx, esi
cmp ax, 0x3b
je 0x407a43
mov dword [esp + 4], 0x3d
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_wcschr]
test eax, eax
je 0x407a43
mov word [eax], 0
lea ebx, [eax + 2]
mov dword [esp + 4], esi
mov dword [esp], 0x40c1f0
call dword [sym.imp.kernelbase.dll_lstrcmpiW]
push edx
push edx
test eax, eax
jne 0x407ae6
test byte [0x40a39c], 8
jne 0x407c66
mov dword [esp], ebx
call dword [sym.imp.kernelbase.dll_DeleteFileW]
push ecx
test eax, eax
jne 0x407a43
test byte [0x40a39c], 4
jne 0x408be8
cmp word [ebx], 0
mov eax, ebx
je 0x407a59
nop
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x407a50
lea esi, [eax + 2]
movzx eax, word [esi]
test ax, ax
jne 0x4079db
cmp edi, dword [ebp - 0xe80]
je 0x407a7b
mov dword [esp], edi
mov eax, dword [ebp - 0xeb0]
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 0x406e97
test byte [0x40a39c], 2
je 0x406e97
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], 0x40a39c
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
jmp 0x406e97
test byte [0x40a39c], 8
jne 0x408445
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 0x407a43
test byte [0x40a39c], 4
je 0x407a43
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], 0x40a39c
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_1
jmp 0x407a43
mov ecx, str.ARM_processor_family
mov edx, str.Identifier
call sym._set_reg_value
jmp 0x406445
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 - 0xe5c]
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 0x406f6f
mov eax, dword [ebp - 0x810]
lea edx, [eax + 2]
add eax, 8
mov dword [esp], eax
mov eax, dword [ebp - 0xea0]
mov dword [ebp - 0x810], edx
call eax
mov edi, dword [ebp - 0xe80]
mov dword [esp + 0xc], 0
mov dword [ebp - 0xec0], eax
mov dword [esp + 0x14], edi
mov edi, eax
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xe5c]
mov dword [esp + 8], 0
mov dword [esp + 4], str.SFCDllCacheDir
mov dword [esp], eax
call ebx
mov eax, edi
sub esp, 0x18
movzx edx, word [eax]
mov ecx, eax
lea eax, [eax + 2]
test dx, dx
jne 0x407c20
xor eax, eax
movzx edx, word [eax + 0x40c3ba]
mov word [ecx + eax], dx
add eax, 2
test dx, dx
jne 0x407c2f
mov eax, dword [ebp - 0xe5c]
mov dword [esp], eax
mov eax, dword [ebp - 0xe88]
call eax
cmp dword [ebp - 0xec0], 0
push eax
jne 0x406fe3
jmp 0x406f81
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], 0x40a39c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x407a28
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 0x408b2b
mov dword [esp], eax
mov eax, dword [sym.imp.ucrtbase.dll_wcslen]
mov dword [ebp - 0xec0], eax
call eax
add eax, 0x11
add eax, eax
mov dword [esp], eax
mov eax, dword [ebp - 0xea0]
call eax
mov dword [ebp - 0xe7c], eax
mov ecx, eax
test eax, eax
je 0x408d91
xor eax, eax
movzx edx, word [edi + eax]
mov word [ecx + eax], dx
add eax, 2
test dx, dx
jne 0x407cf0
mov eax, dword [ebp - 0xe7c]
cmp word [eax], 0
je 0x4093da
add eax, 2
cmp word [eax], 0
jne 0x407d10
xor edx, edx
movzx ecx, word [edx + str.loader]
mov word [eax + edx], cx
add edx, 2
test cx, cx
jne 0x407d1b
mov eax, dword [ebp - 0xe7c]
cmp word [eax], 0
je 0x408dad
add eax, 2
cmp word [eax], 0
jne 0x407d3e
xor edx, edx
movzx ecx, word [edx + str.wine.inf]
mov word [eax + edx], cx
add edx, 2
test cx, cx
jne 0x407d49
mov eax, dword [ebp - 0xe7c]
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 - 0xecc], eax
call eax
mov ebx, eax
cmp eax, 0xffffffff
je 0x409074
lea eax, [ebp - 0xc20]
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 - 0xed4], eax
call eax
mov eax, dword [ebp - 0xc04]
mov dword [esp], esi
mov dword [ebp - 0xeb8], eax
mov eax, dword [ebp - 0xec0]
call eax
add eax, 0x13
add eax, eax
mov dword [esp], eax
mov eax, dword [ebp - 0xea0]
call eax
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x407f44
movzx edx, word [esi + eax]
mov word [ebx + eax], dx
add eax, 2
test dx, dx
jne 0x407de1
mov eax, ebx
movzx ecx, word [eax]
mov edx, eax
lea eax, [eax + 2]
test cx, cx
jne 0x407df3
xor eax, eax
movzx ecx, word [eax + str..update_timestamp]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x407e02
mov dword [esp + 4], 2
mov eax, dword [ebp - 0xecc]
mov dword [esp], ebx
call eax
mov edi, eax
cmp eax, 0xffffffff
je 0x408684
mov eax, dword [ebp - 0xe80]
mov dword [esp + 8], 0x63
mov dword [esp], edi
mov dword [esp + 4], eax
call dword [sym.imp.ucrtbase.dll__read]
test eax, eax
js 0x407ea5
mov esi, dword [ebp - 0xe80]
mov dword [esp + 8], 7
mov dword [esp + 4], str.disable
mov dword [esp], esi
mov byte [ebp + eax - 0x810], 0
call sym._strncmp
test eax, eax
je 0x407f2e
mov dword [esp + 8], 0xa
mov dword [esp + 4], 0
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strtoul]
cmp dword [ebp - 0xeb8], eax
je 0x407f2e
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll__lseek]
mov dword [esp + 4], 0
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll__chsize]
mov eax, dword [ebp - 0xeb8]
mov dword [esp + 4], str._lu_n
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xe80]
mov dword [esp], eax
call sym._sprintf.constprop.0
mov dword [esp], edi
mov esi, eax
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xe80]
mov dword [esp + 4], eax
call dword [sym.imp.ucrtbase.dll__write]
cmp esi, eax
je 0x409059
test byte [0x40a39c], 4
jne 0x409288
mov dword [esp + 4], 0
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll__chsize]
mov dword [esp], edi
mov eax, dword [ebp - 0xed4]
call eax
mov dword [esp], ebx
mov eax, dword [ebp - 0xeb0]
call eax
cmp dword [ebp - 0xe90], 0
je 0x40898e
mov eax, dword [ebp - 0xe98]
lea esi, [ebp - 0xe6c]
mov dword [ebp - 0xe6c], 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 0x407fa4
mov word [ebp - 0xe28], 0
mov eax, dword [ebp - 0xe7c]
mov ecx, 1
mov edx, str.PreInstall
call sym._start_rundll32
mov dword [ebp - 0xe6c], eax
test eax, eax
je 0x408736
call sym._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 [0x4185a8]
sub esp, 0x14
mov edi, eax
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [0x4185f4]
push ecx
push ecx
cmp dword [ebp - 0xe6c], 0
je 0x408068
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 [0x4185d8]
sub esp, 0x14
test eax, eax
jne 0x408649
mov eax, dword [ebp - 0xe6c]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_CloseHandle]
push eax
movzx eax, word [ebp + ebx*4 - 0xe28]
test ax, ax
je 0x40872c
test byte [ebp + ebx*4 - 0xe26], 4
je 0x40870e
mov eax, dword [ebp - 0xe7c]
mov ecx, 1
mov edx, str.DefaultInstall
call sym._start_rundll32
mov dword [ebp - 0xe6c], eax
add ebx, 1
jmp 0x40801b
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
lea eax, [ebp - 0xc20]
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 0x408ffe
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 0x4074ab
mov eax, dword [ebp - 0xa18]
mov dword [esp], eax
mov eax, dword [ebp - 0xe88]
call eax
push eax
jmp 0x406869
mov dword [esp + 0xc], str.Operation_done_n
mov dword [esp + 8], str.main
mov dword [esp + 4], 0x40a39c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x407981
mov dword [esp], 0
xor ecx, ecx
mov edx, 0x40ca9a
mov eax, 0x80000002
call sym._ProcessRunKeys
mov dword [esp], 0
xor ecx, ecx
mov edx, 0x40ca9a
mov eax, 0x80000001
call sym._ProcessRunKeys
mov dword [ebp - 0xe60], 0
mov dword [ebp - 0xe5c], 0
mov dword [ebp - 0xe58], 0
mov dword [ebp - 0xc20], 0
test byte [0x40a39c], 8
jne 0x408ca6
lea eax, [ebp - 0xe60]
mov dword [esp], eax
call dword [0x4184c8]
push edx
test eax, eax
js 0x408b89
lea eax, [ebp - 0xe58]
mov dword [esp + 4], 7
mov dword [esp + 8], eax
mov dword [esp], 0
call dword [0x4184d0]
sub esp, 0xc
test eax, eax
js 0x4086be
mov eax, dword [ebp - 0xe60]
mov ebx, dword [ebp - 0xec8]
mov ecx, dword [ebp - 0xe58]
mov edx, dword [eax]
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0x411ef8
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 0x408fc8
mov eax, dword [ebp - 0xe5c]
lea ebx, [ebp - 0xc20]
mov edx, dword [eax]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0xc0
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [edx + 0x10]
sub esp, 0x10
test eax, eax
js 0x40947b
mov esi, dword [0x4184e4]
mov ebx, dword [0x4184d8]
jmp 0x4082c8
test byte [0x40a39c], 8
jne 0x408bbf
mov eax, dword [ebp - 0xe4c]
mov dword [esp], eax
call dword [0x4184c4]
push eax
mov eax, dword [ebp - 0xc20]
mov edi, dword [ebp - 0xe98]
mov edx, dword [eax]
mov dword [esp + 0xc], edi
lea edi, [ebp - 0xe4c]
mov dword [esp + 8], edi
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 0x10
test eax, eax
jne 0x4086cb
cmp dword [ebp - 0xe28], 1
jne 0x4086cb
mov eax, dword [ebp - 0xe5c]
mov edi, dword [ebp - 0xe78]
mov ecx, dword [ebp - 0xe4c]
mov edx, dword [eax]
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0x8000
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [edx + 0x2c]
sub esp, 0x10
test eax, eax
js 0x4082ab
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 - 0xe78]
mov dword [esp], eax
call esi
sub esp, 0x10
test eax, eax
jns 0x408c1c
test byte [0x40a39c], 8
je 0x4082b8
mov dword [esp + 0xc], str.Unable_to_parse_display_name._n
mov dword [esp + 8], str.ProcessStartupItems
mov dword [esp + 4], 0x40a39c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x4082b8
mov eax, dword [ebp - 0xecc]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xeb0]
mov dword [esp], eax
call sym._memset
jmp 0x40637f
movzx eax, word [ebp - 0xe48]
mov dword [esp + 8], str.ARM_Family__u_Model__u_Revision__u
mov dword [esp + 4], 0x3c
movzx edx, al
movzx eax, ah
mov dword [esp + 0x10], eax
movzx eax, word [ebp - 0xe4a]
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xe80]
mov dword [esp], eax
call sym._swprintf
jmp 0x4063b4
lea eax, [ebp - 0xc20]
mov dword [esp + 4], str.AuthenticAMD
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_wcscmp]
mov edx, str.Intel64
test eax, eax
mov eax, str.AMD64
cmove edx, eax
mov eax, dword [ebp - 0xe80]
call sym._get_identifier.constprop.0
jmp 0x4063b4
mov eax, esi
call sym._wine_dbgstr_wn.constprop.0_1
mov dword [ebp - 0xec0], eax
mov eax, ebx
call sym._wine_dbgstr_wn.constprop.0_1
mov edx, dword [ebp - 0xec0]
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], 0x40a39c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x407af3
mov eax, edi
call sym._wine_dbgstr_wn.constprop.0_1
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.WFP:__s_error_0x_lx_n
mov dword [esp + 8], str.ProcessWindowsFileProtection
mov dword [esp + 4], 0x40a39c
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_1
jmp 0x407151
movzx eax, word [ebp - 0xc1c]
mov dword [esp + 8], str.ARM_Family__u_Model__u_Revision__u
mov dword [esp + 4], 0x3c
movzx edx, al
movzx eax, ah
mov dword [esp + 0x10], eax
movzx eax, word [ebp - 0xc1e]
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xe80]
mov dword [esp], eax
call sym._swprintf
jmp 0x406c13
test byte [0x40a39c], 4
je 0x4062aa
mov dword [esp + 0xc], str.Failed_to_compute_TSC_frequency__RDTSC_instruction_not_supported._n
mov dword [esp + 8], str.read_tsc_frequency
mov dword [esp + 4], 0x40a39c
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_1
jmp 0x4062aa
mov eax, dword fs:[0x18]
mov esi, dword [eax + 0x34]
mov eax, dword [ebp - 0xe80]
call sym._wine_dbgstr_wn.constprop.0_1
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.failed_to_restart_64_bit__s__err__ld_n
mov dword [esp + 8], str.main
mov dword [esp + 4], 0x40a39c
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
jmp 0x40621d
mov eax, dword [ebp - 0xeb0]
mov dword [esp], eax
mov eax, dword [sym.imp.ucrtbase.dll_free]
mov dword [ebp - 0xeb0], eax
call eax
lea eax, [ebp - 0xe28]
mov dword [ebp - 0xe98], eax
lea eax, [ebp - 0xe5c]
mov dword [ebp - 0xec8], eax
mov eax, dword [sym.imp.advapi32.dll_RegCloseKey]
mov dword [ebp - 0xe88], eax
jmp 0x40680d
mov dword [ebp - 0xe58], 1
lea edx, [ebp - 0xe26]
mov eax, 0x103
mov word [ebp - 0xe28], 0x5c
jmp 0x4071ec
mov ecx, dword [ebp - 0xe80]
mov eax, dword [ebp - 0xc20]
mov edx, str.USERNAME
call sym._set_reg_value
jmp 0x40785c
mov eax, dword [ebp - 0xc20]
mov ecx, ebx
mov edx, str.USERDOMAIN
call sym._set_reg_value
mov ecx, dword [ebp - 0xe78]
mov eax, dword [ebp - 0xc20]
mov edx, str.LOGONSERVER
mov dword [ebp - 0xa18], 0x5c005c
call sym._set_reg_value
jmp 0x4078e2
mov eax, dword [ebp - 0xe80]
mov dword [esp], eax
call dword [0x4185b0]
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 [0x4185e0]
sub esp, 0x14
test eax, eax
jne 0x408639
jmp 0x40801b
call dword [sym.imp.ucrtbase.dll__errno]
cmp dword [eax], 2
jne 0x407f39
mov dword [esp + 8], 0x1b6
mov eax, dword [ebp - 0xecc]
mov dword [esp + 4], 0x301
mov dword [esp], ebx
call eax
mov edi, eax
cmp eax, 0xffffffff
jne 0x407ecf
jmp 0x407f39
test byte [0x40a39c], 8
jne 0x409227
mov eax, dword [ebp - 0xc20]
test eax, eax
je 0x4086de
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
push eax
mov eax, dword [ebp - 0xe5c]
test eax, eax
je 0x4086f1
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
push eax
mov eax, dword [ebp - 0xe58]
test eax, eax
je 0x407974
mov dword [esp], eax
call dword [0x4184c4]
push edi
jmp 0x407974
movzx ecx, ax
mov eax, dword [ebp - 0xe7c]
mov edx, str.Wow64Install
call sym._start_rundll32
mov dword [ebp - 0xe6c], eax
jmp 0x4080a2
mov dword [esp], edi
call dword [0x4185ac]
push ecx
xor eax, eax
lea edi, [ebp - 0x80c]
mov ecx, 6
mov ebx, 0x40cd04
rep stosd dword es:[edi], eax
mov dword [esp + 4], 0
mov dword [ebp - 0x810], 0x1c
mov dword [esp], 0
call dword [0x4184b0]
mov dword [ebp - 0xe90], eax
add eax, 1
push edx
push edx
je 0x40951e
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 - 0xe90]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x413768
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [0x4184ac]
sub esp, 0x1c
test eax, eax
jne 0x4089fa
mov eax, dword fs:[0x18]
cmp dword [eax + 0x34], 0xe0000207
je 0x4087e0
test byte [0x40a39c], 2
jne 0x409390
add ebx, 0xc
cmp ebx, str.install_root_pnp_devices
jne 0x40877a
mov eax, dword [ebp - 0xe90]
mov dword [esp], eax
call dword [0x4184b4]
push edi
lea eax, [ebp - 0xe68]
mov dword [esp + 4], 0x20008
lea ebx, [ebp - 0xe58]
mov dword [esp + 8], eax
mov dword [esp], 0xffffffff
call dword [sym.imp.advapi32.dll_OpenProcessToken]
sub esp, 0xc
test eax, eax
je 0x408908
lea eax, [ebp - 0xe60]
mov dword [esp + 0xc], 0x50
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xe78]
mov dword [ebp - 0xe60], 0x50
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xe68]
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_GetTokenInformation]
mov eax, dword [ebp - 0xe68]
sub esp, 0x14
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_CloseHandle]
lea eax, [ebp - 0xe64]
push ebx
lea ebx, [ebp - 0xe58]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xa18]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_ConvertSidToStringSidW]
mov eax, dword [ebp - 0xec8]
push esi
push esi
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0xea8]
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 0x4094b1
mov eax, dword [ebp - 0xe64]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_LocalFree]
push eax
mov dword [esp + 0x10], ebx
mov eax, dword [ebp - 0xed0]
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 0x408f56
mov dword [esp + 0x10], ebx
mov eax, dword [ebp - 0xed0]
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 0x408ee4
call sym._prettyprint_configdir
call sym._wine_dbgstr_wn.constprop.0_1
mov dword [esp], str.wine:_configuration_in__s_has_been_updated._n
mov dword [esp + 4], eax
call sym._wine_dbg_printf
mov eax, dword [ebp - 0xe7c]
mov dword [esp], eax
mov eax, dword [ebp - 0xeb0]
call eax
jmp 0x4074bd
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 0x40736b
cmp word [esi + 2], 0x3f
jne 0x40731e
cmp word [esi + 4], 0x3f
jne 0x40731e
cmp word [esi + 6], 0x5c
jne 0x40731e
add esi, 8
jmp 0x40731e
or ecx, 0xffffffff
xor eax, eax
mov edi, ebx
repne scasb al, byte es:[edi]
not ecx
lea edx, [ebx + ecx - 1]
jmp 0x406d85
mov edi, dword [ebx + 4]
xor eax, eax
or ecx, 0xffffffff
mov dword [ebp - 0xea0], edi
mov edx, edi
repne scasb al, byte es:[edi]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 1
mov eax, ecx
neg eax
add eax, eax
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xe80]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xe90]
mov dword [esp], eax
call dword [0x4184b8]
sub esp, 0x14
test eax, eax
jne 0x4090d4
test byte [0x40a39c], 2
je 0x4087e0
mov eax, dword fs:[0x18]
mov edi, dword [eax + 0x34]
mov eax, esi
call sym._wine_dbgstr_an.constprop.0
mov dword [esp + 0xc], str.Failed_to_set_hardware_id_for__s__error__lx._n
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.install_root_pnp_devices
mov dword [esp + 4], 0x40a39c
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
jmp 0x4087e0
mov eax, dword [ebp - 0xe78]
mov dword [esp + 4], str.AuthenticAMD
mov ebx, str.Intel64
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_wcscmp]
test eax, eax
mov eax, str.AMD64
cmove ebx, eax
mov ecx, eax
jmp 0x406b7a
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], 0x40a39c
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
jmp 0x4074ab
mov eax, dword [ebp - 0xec0]
jmp 0x407019
cmp word [ebx + 2], 0x3f
jne 0x4089a4
cmp word [ebx + 4], 0x3f
jne 0x4089a4
cmp word [ebx + 6], 0x5c
jne 0x4089a4
add ebx, 8
jmp 0x407338
mov dword [esp], str.WINEDATADIR
call ebx
mov ebx, eax
test eax, eax
je 0x408d91
mov dword [esp], eax
mov eax, dword [sym.imp.ucrtbase.dll_wcslen]
mov dword [ebp - 0xec0], eax
call eax
add eax, 0xa
add eax, eax
mov dword [esp], eax
mov eax, dword [ebp - 0xea0]
call eax
mov dword [ebp - 0xe7c], eax
test eax, eax
je 0x408d91
xor eax, eax
movzx edx, word [ebx + eax]
mov edi, dword [ebp - 0xe7c]
mov word [edi + eax], dx
add eax, 2
test dx, dx
jne 0x408b6e
jmp 0x407d2e
test byte [0x40a39c], 2
je 0x4086cb
mov dword [esp + 0xc], str.Couldnt_get_desktop_folder._n
mov dword [esp + 8], str.ProcessStartupItems
mov dword [esp + 4], 0x40a39c
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
jmp 0x4086cb
mov dword [esp + 0xc], str.Unable_to_get_display_name_of_enumeration_item._n
mov dword [esp + 8], str.ProcessStartupItems
mov dword [esp + 4], 0x40a39c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x4082b8
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], 0x40a39c
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_1
jmp 0x407a43
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 ebx
sub esp, 0x18
mov edi, eax
cmp eax, 0x20
ja 0x4082b8
test byte [0x40a39c], 4
je 0x4082b8
mov eax, dword [ebp - 0xe80]
call sym._wine_dbgstr_wn.constprop.0_1
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], str.Error__p_executing_command__s._n
mov dword [esp + 8], str.ProcessStartupItems
mov dword [esp + 4], 0x40a39c
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_1
jmp 0x4082b8
mov dword [esp + 0xc], str.Processing_items_in_the_StartUp_folder._n
mov dword [esp + 8], str.ProcessStartupItems
mov dword [esp + 4], 0x40a39c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x4081eb
test byte [0x40a39c], 4
je 0x4062aa
mov dword [esp + 0xc], str.Failed_to_compute_TSC_frequency__unable_to_check_invariant_TSC._n
jmp 0x408520
mov dword [esp + 0xc], str.Failed_to_compute_TSC_frequency__not_trusted_by_the_kernel._n
jmp 0x408520
test byte [0x40a39c], 4
je 0x4062aa
mov dword [esp + 0xc], str.TSC_frequency_calibration_failed__unstable_TSC__n
jmp 0x408520
mov esi, dword [ebp - 0xe98]
mov edi, dword [ebp - 0xe94]
add esi, dword [ebp - 0xea8]
adc edi, dword [ebp - 0xea4]
xor ebx, ebx
mov ecx, edi
shr ecx, 0x1f
add esi, ecx
adc edi, ebx
shrd esi, edi, 1
sar edi, 1
test byte [0x40a39c], 8
je 0x4062ae
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
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], 0x40a39c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x4062ae
test byte [0x40a39c], 4
je 0x4062aa
mov dword [esp + 0xc], str.Failed_to_compute_TSC_frequency__no_invariant_TSC._n
jmp 0x408520
mov eax, esi
call sym._wine_dbgstr_wn.constprop.0_1
mov dword [esp], str.wine:_failed_to_update__s__wine.inf_not_found_n
mov dword [esp + 4], eax
call sym._wine_dbg_printf
jmp 0x4074bd
mov eax, dword [ebp - 0xe7c]
jmp 0x407d47
lea eax, [ebp - 0xc20]
mov dword [esp + 8], 0
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0xe80]
mov dword [ebp - 0xc20], 0x100
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xe98]
mov dword [esp + 4], str.ComputerName
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 0x408e10
mov dword [ebp - 0xc20], 0
mov eax, dword [ebp - 0xe4c]
mov dword [esp], eax
mov eax, dword [ebp - 0xe88]
call eax
cmp dword [ebp - 0xc20], 0
push esi
je 0x406e16
lea eax, [ebp - 0xe4c]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0xe58]
mov dword [esp + 0x18], 0
mov dword [esp], eax
mov eax, dword [ebp - 0xea8]
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 0x406e16
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 - 0xe88]
call eax
push ebx
jmp 0x406e16
mov eax, dword [ebp - 0xe78]
mov dword [esp + 8], 0
mov dword [ebp - 0xa18], 0x200
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0xe80]
mov dword [esp + 4], str.CurrentVersion
mov dword [esp + 0x10], eax
lea eax, [ebp - 0xe4c]
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
jne 0x408f3f
cmp dword [ebp - 0xe4c], 1
je 0x4092fa
mov eax, dword [ebp - 0xe58]
mov dword [esp], eax
mov eax, dword [ebp - 0xe88]
call eax
push eax
jmp 0x408974
mov eax, dword [ebp - 0xe78]
mov dword [esp + 8], 0
mov dword [ebp - 0xa18], 0x200
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0xe80]
mov dword [esp + 4], str.CurrentVersion
mov dword [esp + 0x10], eax
lea eax, [ebp - 0xe4c]
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
jne 0x408fb1
cmp dword [ebp - 0xe4c], 1
je 0x4093e5
mov eax, dword [ebp - 0xe58]
mov dword [esp], eax
mov eax, dword [ebp - 0xe88]
call eax
push eax
jmp 0x40893e
test byte [0x40a39c], 8
je 0x4086cb
mov dword [esp + 0xc], str.Couldnt_bind_IShellFolder_to_StartUp_folder._n
mov dword [esp + 8], str.ProcessStartupItems
mov dword [esp + 4], 0x40a39c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x4086cb
mov eax, dword [ebp - 0xe98]
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 0x408129
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], 0x40a39c
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
jmp 0x408129
mov dword [esp], edi
mov eax, dword [ebp - 0xed4]
call eax
mov dword [esp], ebx
mov eax, dword [ebp - 0xeb0]
call eax
jmp 0x407f51
call dword [sym.imp.ucrtbase.dll__errno]
mov eax, dword [eax]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_strerror]
mov edi, eax
mov eax, dword [ebp - 0xe7c]
call sym._wine_dbgstr_wn.constprop.0_1
mov ebx, eax
mov eax, esi
call sym._wine_dbgstr_wn.constprop.0_1
mov dword [esp + 0xc], edi
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov dword [esp], str.wine:_failed_to_update__s_with__s:__s_n
call sym._wine_dbg_printf
jmp 0x40898e
lea eax, [ebp - 0xe28]
mov dword [ebp - 0xe98], eax
mov eax, dword [sym.imp.advapi32.dll_RegCloseKey]
mov dword [ebp - 0xe88], eax
jmp 0x4067c2
mov eax, dword [ebp - 0xe80]
mov dword [esp], 0x19
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xe90]
mov dword [esp + 4], eax
call dword [0x4184a8]
sub esp, 0xc
test eax, eax
jne 0x409155
test byte [0x40a39c], 2
je 0x4087e0
mov eax, dword fs:[0x18]
mov edi, dword [eax + 0x34]
mov eax, esi
call sym._wine_dbgstr_an.constprop.0
mov dword [esp + 0xc], str.Failed_to_register_device__s__error__lx._n
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.install_root_pnp_devices
mov dword [esp + 4], 0x40a39c
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
jmp 0x4087e0
mov eax, dword [ebp - 0xe80]
jmp 0x406bcd
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 - 0xea0]
mov dword [esp + 4], eax
call sym._UpdateDriverForPlugAndPlayDevicesA_20
sub esp, 0x14
test eax, eax
jne 0x4087e0
test byte [0x40a39c], 2
je 0x4087e0
mov eax, dword fs:[0x18]
mov edi, dword [eax + 0x34]
mov eax, esi
call sym._wine_dbgstr_an.constprop.0
mov dword [esp + 0xc], str.Failed_to_install_drivers_for__s__error__lx._n
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.install_root_pnp_devices
mov dword [esp + 4], 0x40a39c
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
jmp 0x4087e0
test byte [0x40a39c], 8
jne 0x409250
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 dword [esp + 0xc], str.Couldnt_get_StartUp_folder_location._n
mov dword [esp + 8], str.ProcessStartupItems
mov dword [esp + 4], 0x40a39c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x4086cb
mov eax, dword [ebp - 0xe80]
call sym._wine_dbgstr_wn.constprop.0_1
mov dword [esp + 0xc], str.restarting__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.main
mov dword [esp + 4], 0x40a39c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x4091e4
mov eax, ebx
call sym._wine_dbgstr_wn.constprop.0_1
mov dword [esp + 0xc], str.failed_to_update_timestamp_in__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.update_timestamp
mov dword [esp + 4], 0x40a39c
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_1
jmp 0x407f1d
lea eax, [ebp - 0xe28]
mov dword [ebp - 0xe98], eax
mov eax, dword [sym.imp.advapi32.dll_RegCreateKeyExW]
mov dword [ebp - 0xea8], eax
mov eax, dword [sym.imp.ucrtbase.dll_free]
mov dword [ebp - 0xeb0], eax
lea eax, [ebp - 0xe5c]
mov dword [ebp - 0xec8], eax
mov eax, dword [sym.imp.advapi32.dll_RegCloseKey]
mov dword [ebp - 0xe88], eax
jmp 0x40680d
mov eax, dword [ebp - 0xe80]
mov dword [esp + 4], str.10.0
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_wcscmp]
test eax, eax
jne 0x408f3f
mov eax, dword [ebp - 0xe58]
mov ebx, dword [sym.imp.advapi32.dll_RegSetValueExW]
mov dword [esp + 0x14], 0xc
mov dword [esp + 0x10], str.18363
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], str.CurrentBuild
mov dword [esp], eax
call ebx
mov eax, dword [ebp - 0xe58]
sub esp, 0x18
mov dword [esp + 0x14], 0xc
mov dword [esp + 0x10], str.18363
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], str.CurrentBuildNumber
mov dword [esp], eax
call ebx
sub esp, 0x18
jmp 0x408f3f
mov edi, dword [eax + 0x34]
mov eax, esi
call sym._wine_dbgstr_an.constprop.0
mov dword [esp + 0xc], str.Failed_to_create_device__s__error__lx._n
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.install_root_pnp_devices
mov dword [esp + 4], 0x40a39c
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
jmp 0x4087e0
mov dword [esp], esi
call dword [sym.imp.kernelbase.dll_DeleteFileW]
push eax
jmp 0x40736b
mov eax, dword [ebp - 0xe7c]
jmp 0x407d19
mov eax, dword [ebp - 0xe80]
mov dword [esp + 4], str.10.0
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_wcscmp]
test eax, eax
jne 0x408fb1
mov eax, dword [ebp - 0xe58]
mov esi, dword [sym.imp.advapi32.dll_RegSetValueExW]
mov dword [esp + 0x14], 0xc
mov dword [esp + 0x10], str.18363
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 - 0xe58]
sub esp, 0x18
mov dword [esp + 0x14], 0xc
mov dword [esp + 0x10], str.18363
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 0x408fb1
test byte [0x40a39c], 8
je 0x4086cb
mov dword [esp + 0xc], str.Unable_to_enumerate_StartUp_objects._n
mov dword [esp + 8], str.ProcessStartupItems
mov dword [esp + 4], 0x40a39c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x4086cb
mov eax, dword [ebp - 0xe64]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], ebx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xe5c]
mov dword [esp + 0x18], 0
mov dword [esp], eax
mov eax, dword [ebp - 0xea8]
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 0x409561
mov eax, dword [ebp - 0xe5c]
mov dword [esp], eax
mov eax, dword [ebp - 0xe88]
call eax
push edx
jmp 0x4088f8
test byte [0x40a39c], 2
je 0x4087fb
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], 0x40a39c
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
jmp 0x4087fb
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 [0x4184d4]
sub esp, 0x10
test eax, eax
jne 0x4095ec
lea eax, [ebp - 0xe4c]
mov dword [esp + 0x14], 4
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xe58]
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 - 0xe58]
sub esp, 0x18
mov dword [esp], eax
mov eax, dword [ebp - 0xe88]
call eax
push ecx
jmp 0x409507
mov ecx, dword [ebp - 0xe80]
mov eax, dword [ebp - 0xe58]
mov edx, str.ProfileImagePath
call sym._set_reg_value
jmp 0x409599