Function at 0x404930
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
Get common file path
Get hostname
Get kernel32 base address
Get number of processors
Get process heap flags
Get process heap force flags
Get session user name
Get system firmware table
Get system information on windows
Make suspicious ntquerysysteminformation call
Move file
Query environment variable
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, 0xee8
mov eax, dword [ecx]
mov dword [ebp - 0xe8c], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0xe90], eax
call fcn.004047c0
mov dword [esp + 4], 0x104
mov dword [esp], 0x411240
call dword [sym.imp.kernelbase.dll_GetWindowsDirectoryW]
sub esp, 8
mov dword [esp], 0x411240
call dword [sym.imp.kernelbase.dll_SetCurrentDirectoryW]
sub esp, 4
test eax, eax
jne 0x404996
test byte [0x408090], 2
jne 0x4052a7
mov dword [esp], 0xffffffff
lea eax, [ebp - 0xe78]
mov dword [esp + 4], eax
call dword [sym.imp.kernelbase.dll_IsWow64Process]
sub esp, 8
test eax, eax
je 0x4049c1
cmp dword [ebp - 0xe78], 0
jne 0x4055cd
cmp dword [ebp - 0xe8c], 1
jle 0x404c9b
mov dword [ebp - 0xea4], 0
mov esi, 1
mov dword [ebp - 0xea8], 0
mov dword [ebp - 0xe98], 0
mov dword [ebp - 0xe94], 0
mov dword [ebp - 0xeac], 0
mov dword [ebp - 0xea0], 0
mov dword [ebp - 0xe9c], 0
jmp 0x404aeb
mov ebx, dword [sym.imp.ucrtbase.dll_strcmp]
mov dword [esp + 4], str.__help
mov dword [esp], edi
call ebx
test eax, eax
je 0x40529b
mov dword [esp + 4], str.__end_session
mov dword [esp], edi
call ebx
test eax, eax
je 0x404c10
mov dword [esp + 4], str.__force
mov dword [esp], edi
call ebx
test eax, eax
je 0x404c20
mov dword [esp + 4], str.__init
mov dword [esp], edi
call ebx
test eax, eax
je 0x404c2f
mov dword [esp + 4], str.__kill
mov dword [esp], edi
call ebx
test eax, eax
je 0x404c3e
mov dword [esp + 4], str.__restart
mov dword [esp], edi
call ebx
test eax, eax
je 0x404c4d
mov dword [esp + 4], str.__shutdown
mov dword [esp], edi
call ebx
test eax, eax
je 0x404c8c
mov dword [esp + 4], str.__update
mov dword [esp], edi
call ebx
test eax, eax
jne case.0x404b2e.2
mov dword [ebp - 0xea4], 1
lea esi, [esi]
nop
add esi, 1
cmp dword [ebp - 0xe8c], esi
je 0x404b67
mov eax, dword [ebp - 0xe90]
mov edi, dword [eax + esi*4]
cmp byte [edi], 0x2d
jne 0x404ae0
movzx eax, byte [edi + 1]
cmp al, 0x2d
je 0x404a20
lea edx, [edi + 2]
test al, al
je 0x404ae0
mov ecx, dword [ebp - 0xea8]
mov ebx, dword [ebp - 0xea4]
mov edi, dword [ebp - 0xe9c]
nop
sub eax, 0x65
cmp al, 0x10
ja case.0x404b2e.2
movzx eax, al
jmp dword [eax*4 + 0x40a808]
mov ebx, 1
lea esi, [esi]
movzx eax, byte [edx]
add edx, 1
test al, al
jne 0x404b20
mov dword [ebp - 0xea8], ecx
add esi, 1
mov dword [ebp - 0xea4], ebx
mov dword [ebp - 0xe9c], edi
cmp dword [ebp - 0xe8c], esi
jne 0x404aeb
mov ebx, dword [ebp - 0xe9c]
test ebx, ebx
je 0x404c5c
mov eax, dword [ebp - 0xea0]
cmp dword [ebp - 0xe94], 0
mov dword [esp], eax
je 0x405284
call fcn.00401d20
test eax, eax
je 0x404c7a
mov eax, dword [ebp - 0xea8]
mov dword [esp], eax
call fcn.00401d80
mov dword [ebp - 0xe94], 1
jmp 0x404c69
mov ecx, 1
jmp 0x404b40
mov dword [ebp - 0xe94], 1
jmp 0x404b40
mov dword [ebp - 0xe98], 1
jmp 0x404b40
mov edi, 1
jmp 0x404b40
mov dword [ebp - 0xea0], 1
jmp 0x404b40
mov dword [ebp - 0xeac], 1
jmp 0x404b40
mov dword [ebp - 0xe9c], 1
jmp 0x404ae0
mov dword [ebp - 0xea0], 1
jmp 0x404ae0
mov dword [ebp - 0xeac], 1
jmp 0x404ae0
mov dword [ebp - 0xe94], 1
jmp 0x404ae0
mov dword [ebp - 0xe98], 1
jmp 0x404ae0
cmp dword [ebp - 0xe94], 0
jne 0x404b98
cmp dword [ebp - 0xea8], 0
je 0x404cbb
xor ecx, ecx
mov dword [ebp - 0xe9c], ecx
mov eax, dword [ebp - 0xe9c]
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
mov dword [ebp - 0xea8], 1
jmp 0x404ae0
xor edx, edx
mov dword [ebp - 0xe94], edx
mov dword [ebp - 0xeac], edx
mov dword [ebp - 0xe9c], edx
mov dword [ebp - 0xe98], edx
mov dword [ebp - 0xea4], edx
lea eax, [ebp - 0xe5c]
xor ebx, ebx
xor esi, esi
mov dword [ebp - 0xe48], 0x18
mov dword [ebp - 0xe44], ebx
mov ebx, dword [sym.imp.ntdll.dll_RtlInitUnicodeString]
mov dword [ebp - 0xe40], eax
mov dword [ebp - 0xe3c], 0x82
mov dword [ebp - 0xe38], esi
mov dword [ebp - 0xe34], esi
mov dword [esp], eax
mov dword [esp + 4], str.KernelObjects__wineboot_event
call ebx
xor eax, eax
push edi
push edi
lea edi, [ebp - 0xc24]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
lea eax, [ebp - 0xe48]
mov dword [esp + 8], eax
lea eax, [ebp - 0xe7c]
mov dword [esp + 4], 0x1f0003
mov dword [esp], eax
call dword [sym.imp.ntdll.dll_NtCreateEvent]
mov eax, dword [ebp - 0xe7c]
sub esp, 0x14
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_ResetEvent]
mov ecx, 5
push eax
xor eax, eax
rep stosd dword es:[edi], eax
lea eax, [ebp - 0xe54]
mov dword [ebp - 0xc28], 0x18
mov dword [esp], eax
mov dword [esp + 4], str.KernelObjects__wine_user_shared_data
call ebx
push eax
push eax
xor eax, eax
mov dword [ebp - 0xc24], eax
lea eax, [ebp - 0xe54]
mov dword [ebp - 0xc20], eax
xor eax, eax
mov dword [ebp - 0xc18], eax
mov dword [ebp - 0xc14], eax
lea eax, [ebp - 0xc28]
mov dword [ebp - 0xc28], 0x18
mov dword [ebp - 0xc1c], pe_nt_image_headers32
mov dword [esp + 8], eax
lea eax, [ebp - 0xe60]
mov dword [esp + 4], 0xf001f
mov dword [esp], eax
call dword [sym.imp.ntdll.dll_NtOpenSection]
sub esp, 0xc
test eax, eax
je 0x4052eb
test byte [0x408090], 2
jne 0x4073ca
lea eax, [ebp - 0xa20]
mov dword [ebp - 0xe90], eax
lea eax, [ebp - 0x818]
mov dword [ebp - 0xea0], eax
lea eax, [ebp - 0xe30]
mov dword [ebp - 0xe8c], eax
mov eax, dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [ebp - 0xeb8], eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
xor edi, edi
mov ecx, edi
imul esi, dword [eax + 0x64], 0x18
mov eax, 0x80000000
cpuid
mov dword [ebp - 0x818], eax
mov dword [ebp - 0x814], ebx
mov dword [ebp - 0x810], ecx
mov dword [ebp - 0x80c], edx
cmp eax, 0x80000003
ja 0x406b65
cmp word [ebp - 0xa20], 0
mov eax, dword [ebp - 0xe90]
je 0x404e93
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x404e60
mov ebx, dword [ebp - 0xe90]
mov ecx, eax
sub ecx, ebx
test ecx, ecx
jle 0x404e93
mov edx, ebx
jmp 0x404e8c
xor ecx, ecx
sub eax, 2
mov word [eax], cx
cmp edx, eax
je 0x404e93
cmp word [eax - 2], 0x20
je 0x404e80
lea eax, [ebp - 0xc28]
xor ebx, ebx
xor edi, edi
call fcn.00402060
lea eax, [ebp - 0xe54]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0xc
mov dword [esp + 4], eax
mov dword [esp], 1
mov eax, dword [ebp - 0xeb8]
call eax
sub esp, 0x10
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [sym.imp.kernelbase.dll_HeapAlloc]
mov dword [ebp - 0xea8], eax
call eax
sub esp, 0xc
mov dword [ebp - 0xebc], eax
test eax, eax
je 0x406920
mov dword [esp + 0x10], esi
mov eax, dword [ebp - 0xebc]
mov dword [esp], 0xb
mov dword [esp + 0xc], eax
xor eax, eax
mov dword [esp + 8], eax
mov dword [esp + 4], eax
call dword [sym.imp.ntdll.dll_NtPowerInformation]
sub esp, 0x14
test eax, eax
jne 0x406cc2
movzx eax, word [ebp - 0xe54]
cmp ax, 9
je 0x406d26
cmp ax, 0xc
je 0x406cdf
cmp ax, 5
je 0x406cdf
mov eax, dword [ebp - 0xea0]
mov edx, 0x4097c8
call fcn.00402530
lea eax, [ebp - 0xe68]
xor esi, esi
xor edi, edi
mov dword [esp + 0x14], 0xf003f
mov dword [esp + 0x1c], eax
xor eax, eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], edi
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
mov dword [esp + 4], str.HardwareDescriptionSystem
mov dword [esp], 0x80000002
call sub.advapi32.dll_RegCreateKeyExW
sub esp, 0x24
test eax, eax
jne 0x407615
movzx edx, word [ebp - 0xe54]
mov eax, dword [ebp - 0xe68]
cmp dx, 5
je 0x406c23
cmp dx, 0xc
je 0x406c23
mov ecx, str.AT_compatible
mov edx, str.Identifier
call fcn.00402820
movzx edx, word [ebp - 0xe54]
mov eax, dword [ebp - 0xe68]
cmp dx, 5
je 0x405696
cmp dx, 0xc
je 0x405696
xor edx, edx
xor esi, esi
xor edi, edi
mov dword [esp + 0x14], 0xf003f
lea ecx, [ebp - 0xe60]
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], edi
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], edx
mov dword [esp + 8], edx
mov dword [esp + 4], str.FloatingPointProcessor
mov dword [esp], eax
call sub.advapi32.dll_RegCreateKeyExW
sub esp, 0x24
test eax, eax
mov eax, dword [ebp - 0xe68]
jne 0x405696
lea ecx, [ebp - 0xe64]
xor edx, edx
xor ebx, ebx
mov dword [esp + 0x20], edx
mov dword [ebp - 0xec0], ecx
mov dword [esp + 0x1c], ecx
xor ecx, ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], 0xf003f
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], ebx
mov dword [esp + 8], ebx
mov dword [esp + 4], str.CentralProcessor
mov dword [esp], eax
call sub.advapi32.dll_RegCreateKeyExW
sub esp, 0x24
test eax, eax
je 0x4050aa
xor edi, edi
mov dword [ebp - 0xe64], edi
mov edi, dword fs:[0x18]
mov eax, dword [edi + 0x30]
cmp dword [eax + 0x64], 0
je 0x4056a3
mov eax, dword [ebp - 0xebc]
xor ebx, ebx
lea esi, [eax + 4]
jmp 0x405143
movzx eax, word [ebp - 0xe54]
cmp ax, 5
je 0x405131
cmp ax, 0xc
je 0x405131
xor eax, eax
mov dword [esp + 0x14], 0xf003f
mov dword [esp + 0x20], eax
lea eax, [ebp - 0xe6c]
mov dword [esp + 0x1c], eax
xor eax, eax
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xe8c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xe60]
mov dword [esp], eax
call sub.advapi32.dll_RegCreateKeyExW
sub esp, 0x24
test eax, eax
je 0x406758
mov eax, dword [edi + 0x30]
add ebx, 1
add esi, 0x18
cmp ebx, dword [eax + 0x64]
jae 0x4056a3
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x409b58
mov dword [esp + 4], 0xa
mov eax, dword [ebp - 0xe8c]
mov dword [esp], eax
call fcn.004021a0
lea ecx, [ebp - 0xe6c]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0xf003f
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov eax, dword [ebp - 0xe8c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xe64]
mov dword [esp], eax
call sub.advapi32.dll_RegCreateKeyExW
sub esp, 0x24
test eax, eax
jne 0x4050cb
lea eax, [ebp - 0xe4c]
mov dword [esp + 0x14], 4
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [esp + 0xc], 4
mov dword [esp + 8], eax
mov dword [esp + 4], str.FeatureSet
mov eax, dword [ebp - 0xe6c]
mov dword [esp], eax
call sub.advapi32.dll_RegSetValueExW
mov ecx, dword [ebp - 0xea0]
mov edx, str.Identifier
mov eax, dword [ebp - 0xe6c]
sub esp, 0x18
call fcn.00402820
mov ecx, dword [ebp - 0xe90]
mov edx, str.ProcessorNameString
mov eax, dword [ebp - 0xe6c]
call fcn.00402820
mov eax, dword [ebp - 0xe6c]
mov edx, str.VendorIdentifier
lea ecx, [ebp - 0xc28]
call fcn.00402820
xor eax, eax
mov dword [esp + 0x14], 4
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 4
mov dword [esp + 8], eax
mov dword [esp + 4], str.MHz
mov eax, dword [ebp - 0xe6c]
mov dword [esp], eax
call sub.advapi32.dll_RegSetValueExW
mov eax, dword [ebp - 0xe6c]
sub esp, 0x18
mov dword [esp], eax
call sub.advapi32.dll_RegCloseKey
push edx
jmp 0x4050cb
call fcn.00401a30
test eax, eax
jne 0x404c69
jmp 0x404c7a
mov eax, 1
call fcn.00402110
xor eax, eax
call fcn.00402110
mov eax, dword fs:[0x18]
mov ebx, dword [eax + 0x34]
mov eax, 0x411240
call fcn.00402c30
mov dword [esp + 0xc], str.Cannot_set_the_dir_to__s___ld__n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.main
mov dword [esp + 0x14], ebx
mov dword [esp + 4], 0x408090
mov dword [esp], 1
call fcn.00402cb0
jmp 0x404996
xor edx, edx
mov dword [esp + 0x10], 0x710
mov dword [esp + 0xc], edx
mov dword [esp + 8], edx
mov dword [esp + 4], 2
mov eax, dword [ebp - 0xe60]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_MapViewOfFile]
mov edi, eax
mov eax, dword [ebp - 0xe60]
sub esp, 0x14
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_CloseHandle]
push ecx
test edi, edi
je 0x407655
mov dword [ebp - 0x818], 0x11c
lea eax, [ebp - 0x818]
mov dword [ebp - 0xea0], eax
mov dword [esp], eax
call dword [sym.imp.ntdll.dll_RtlGetVersion]
mov ebx, dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
push eax
xor eax, eax
mov dword [esp + 0xc], eax
lea eax, [ebp - 0xa20]
mov dword [esp + 8], 0x2c
mov dword [ebp - 0xe90], eax
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp], eax
mov dword [ebp - 0xeb8], ebx
call ebx
xor eax, eax
sub esp, 0x10
mov dword [esp + 0xc], eax
lea eax, [ebp - 0xe30]
mov dword [esp + 8], 0xc
mov dword [ebp - 0xe8c], eax
mov dword [esp + 4], eax
mov dword [esp], 1
call ebx
mov dword [edi + 4], 0x1000000
mov dword [edi + 0x244], 0x200000
sub esp, 0x10
movzx eax, byte [ebp - 0x6fe]
movd xmm0, dword [ebp - 0x80c]
mov byte [edi + 0x268], 1
movd xmm1, eax
punpckldq xmm0, xmm1
movq qword [edi + 0x260], xmm0
movzx eax, word [ebp - 0xe30]
mov word [edi + 0x26a], ax
movq xmm2, qword [ebp - 0x814]
movq qword [edi + 0x26c], xmm2
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 - 0xe30]
cmp ax, 9
je 0x407c2b
ja 0x406b2f
test ax, ax
je 0x407c2b
cmp ax, 5
jne 0x405487
mov eax, dword [ebp - 0xe28]
movzx edx, al
shr eax, 1
and dl, 1
and eax, 1
mov dh, al
mov word [edi + 0x286], dx
cmp word [ebp - 0xe2e], 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 0x4055be
xor eax, eax
mov ecx, eax
cpuid
mov esi, eax
test byte [0x408090], 8
jne 0x4074f6
cmp eax, 0xc
jle 0x4055be
mov eax, 1
xor ecx, ecx
cpuid
and ecx, 0x8000000
je 0x4055be
mov eax, 0xd
xor ecx, ecx
cpuid
mov esi, eax
and esi, 2
je 0x4055be
mov esi, 0xd
mov dword [edi + 0x600], ebx
mov ecx, 1
movdqa xmm0, xmmword [0x40aa70]
mov dword [edi + 0x604], 0xa0
mov eax, esi
cpuid
mov edx, eax
and eax, 1
movups xmmword [edi + 0x3f4], xmm0
movdqa xmm0, xmmword [0x40aa80]
shr edx, 1
mov ecx, 2
mov dword [edi + 0x608], 0x100
and edx, 1
movups xmmword [edi + 0x3d8], xmm0
mov dword [edi + 0x60c], 0x100
add edx, edx
mov dword [edi + 0x404], 0x100
or eax, edx
movzx edx, byte [edi + 0x3ec]
mov dword [edi + 0x3e8], 0x340
and edx, 0xfffffffc
or eax, edx
mov byte [edi + 0x3ec], al
mov eax, esi
cpuid
test byte [0x408090], 8
je 0x4055be
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], 0x408090
mov dword [esp], 3
call fcn.00402cb0
mov dword [esp], edi
call dword [sym.imp.kernelbase.dll_UnmapViewOfFile]
push eax
jmp 0x404e10
lea edx, [ebp - 0xa1c]
xor eax, eax
mov ecx, 0x10
lea ebx, [ebp - 0x818]
mov edi, edx
rep stosd dword es:[edi], eax
lea esi, [ebp - 0xa20]
mov dword [ebp - 0xa20], 0x44
mov dword [esp + 4], 0x104
mov dword [ebp - 0xea0], ebx
mov dword [esp], ebx
call dword [sym.imp.kernelbase.dll_GetSystemDirectoryW]
push eax
push eax
mov dword [esp + 4], str.wineboot.exe
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_wcscat]
lea eax, [ebp - 0xe48]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_Wow64DisableWow64FsRedirection]
push eax
call dword [sym.imp.kernelbase.dll_GetCommandLineW]
lea edx, [ebp - 0xc28]
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], edx
xor edx, edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], edx
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], ebx
call dword [sym.imp.kernelbase.dll_CreateProcessW]
sub esp, 0x28
test eax, eax
jne 0x407d4c
test byte [0x408090], 2
jne 0x40747e
mov eax, dword [ebp - 0xe48]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_Wow64RevertWow64FsRedirection]
push esi
jmp 0x4049c1
xor ecx, ecx
mov dword [ebp - 0xe60], ecx
jmp 0x405055
xor ecx, ecx
xor esi, esi
xor ebx, ebx
mov dword [esp + 0x20], ecx
mov eax, dword [ebp - 0xe8c]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], 0xf003f
mov dword [esp + 0x10], 1
mov dword [esp + 0x1c], eax
mov dword [esp + 0xc], esi
mov dword [esp + 8], esi
mov dword [esp + 4], str.BIOS
mov eax, dword [ebp - 0xe68]
mov dword [esp], eax
call sub.advapi32.dll_RegCreateKeyExW
mov ecx, dword [sym.imp.kernelbase.dll_HeapFree]
sub esp, 0x24
mov dword [ebp - 0xeb4], ecx
test eax, eax
jne 0x405a2b
xor edi, edi
mov dword [esp], 0x52534d42
mov dword [esp + 0xc], edi
mov dword [esp + 8], edi
mov dword [esp + 4], edi
mov edi, dword [sym.imp.kernelbase.dll_GetSystemFirmwareTable]
call edi
xor edx, edx
sub esp, 0x10
mov esi, eax
mov dword [esp + 8], esi
mov dword [esp + 4], edx
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0xea8]
call eax
sub esp, 0xc
mov ebx, eax
test eax, eax
je 0x4059f3
mov dword [esp + 0xc], esi
xor esi, esi
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov dword [esp], 0x52534d42
call edi
mov edx, ebx
mov esi, eax
mov eax, dword [ebp - 0xe30]
sub esp, 0x10
mov ecx, esi
mov dword [ebp - 0xeb0], eax
mov eax, 2
call fcn.00402f70
mov edi, eax
test eax, eax
je 0x405808
mov edx, eax
movzx eax, byte [eax + 1]
sub edx, ebx
lea ecx, [edx + eax]
mov edx, ecx
movzx ecx, byte [edi + 4]
mov dword [esp + 8], esi
mov dword [ebp - 0xeb4], edx
mov dword [esp + 4], edx
mov edx, str.BaseBoardManufacturer
mov dword [esp], ebx
mov eax, dword [ebp - 0xeb0]
call fcn.00402880
movzx ecx, byte [edi + 5]
mov dword [esp + 8], esi
mov edx, dword [ebp - 0xeb4]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov eax, dword [ebp - 0xeb0]
mov edx, str.BaseBoardProduct
call fcn.00402880
movzx ecx, byte [edi + 6]
mov dword [esp + 8], esi
mov edx, dword [ebp - 0xeb4]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov eax, dword [ebp - 0xeb0]
mov edx, str.BaseBoardVersion
call fcn.00402880
mov eax, dword [ebp - 0xe30]
mov ecx, esi
mov edx, ebx
mov dword [ebp - 0xeb0], eax
xor eax, eax
call fcn.00402f70
mov edi, eax
test eax, eax
je 0x4058ff
mov edx, eax
movzx eax, byte [eax + 1]
sub edx, ebx
lea ecx, [edx + eax]
mov edx, ecx
movzx ecx, byte [edi + 4]
mov dword [esp + 8], esi
mov dword [ebp - 0xeb4], edx
mov dword [esp + 4], edx
mov edx, str.BIOSVendor
mov dword [esp], ebx
mov eax, dword [ebp - 0xeb0]
call fcn.00402880
movzx ecx, byte [edi + 5]
mov dword [esp + 8], esi
mov edx, dword [ebp - 0xeb4]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov eax, dword [ebp - 0xeb0]
mov edx, str.BIOSVersion
call fcn.00402880
movzx ecx, byte [edi + 8]
mov dword [esp + 8], esi
mov edx, dword [ebp - 0xeb4]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov eax, dword [ebp - 0xeb0]
mov edx, str.BIOSReleaseDate
call fcn.00402880
cmp byte [edi + 1], 0x17
jbe 0x4079c9
movzx ecx, byte [edi + 0x14]
mov edx, str.BiosMajorRelease
mov eax, dword [ebp - 0xeb0]
call fcn.004027e0
movzx ecx, byte [edi + 0x15]
mov edx, str.BiosMinorRelease
mov eax, dword [ebp - 0xeb0]
call fcn.004027e0
movzx ecx, byte [edi + 0x16]
mov edx, str.ECFirmwareMajorVersion
mov eax, dword [ebp - 0xeb0]
call fcn.004027e0
movzx ecx, byte [edi + 0x17]
mov edx, str.ECFirmwareMinorVersion
mov eax, dword [ebp - 0xeb0]
call fcn.004027e0
mov eax, dword [ebp - 0xe30]
mov ecx, esi
mov edx, ebx
mov dword [ebp - 0xeb0], eax
mov eax, 1
call fcn.00402f70
mov edi, eax
test eax, eax
je 0x4059f3
mov edx, eax
movzx eax, byte [eax + 1]
sub edx, ebx
lea ecx, [edx + eax]
mov edx, ecx
movzx ecx, byte [edi + 4]
mov dword [esp + 8], esi
mov dword [ebp - 0xeb4], edx
mov dword [esp + 4], edx
mov edx, str.SystemManufacturer
mov dword [esp], ebx
mov eax, dword [ebp - 0xeb0]
call fcn.00402880
movzx ecx, byte [edi + 5]
mov dword [esp + 8], esi
mov edx, dword [ebp - 0xeb4]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov eax, dword [ebp - 0xeb0]
mov edx, str.SystemProductName
call fcn.00402880
movzx ecx, byte [edi + 6]
mov dword [esp + 8], esi
mov edx, dword [ebp - 0xeb4]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov eax, dword [ebp - 0xeb0]
mov edx, str.SystemVersion
call fcn.00402880
cmp byte [edi + 1], 0x1a
jbe 0x407a8f
movzx ecx, byte [edi + 0x19]
mov dword [esp + 8], esi
mov edx, dword [ebp - 0xeb4]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov eax, dword [ebp - 0xeb0]
mov edx, str.SystemSKU
call fcn.00402880
movzx ecx, byte [edi + 0x1a]
mov dword [esp + 8], esi
mov edx, dword [ebp - 0xeb4]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov eax, dword [ebp - 0xeb0]
mov edx, str.SystemFamily
call fcn.00402880
xor ecx, ecx
mov dword [esp + 8], ebx
mov dword [esp + 4], ecx
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [sym.imp.kernelbase.dll_HeapFree]
mov dword [ebp - 0xeb4], eax
call eax
mov eax, dword [ebp - 0xe30]
sub esp, 0xc
mov dword [esp], eax
call sub.advapi32.dll_RegCloseKey
push ebx
mov eax, dword [ebp - 0xe60]
mov dword [esp], eax
call sub.advapi32.dll_RegCloseKey
push edi
mov eax, dword [ebp - 0xe64]
mov dword [esp], eax
call sub.advapi32.dll_RegCloseKey
push eax
mov eax, dword [ebp - 0xe68]
mov dword [esp], eax
call sub.advapi32.dll_RegCloseKey
xor edx, edx
push eax
mov ecx, dword [ebp - 0xebc]
mov eax, dword fs:[0x18]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0xeb4]
call eax
sub esp, 0xc
xor ecx, ecx
xor esi, esi
xor ebx, ebx
mov dword [esp + 0x20], ecx
mov eax, dword [ebp - 0xea0]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], 0x20006
mov dword [esp + 0x10], esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0xc], esi
mov dword [esp + 8], esi
mov dword [esp + 4], str.PerfStatsStatData
mov dword [esp], 0x80000006
call sub.advapi32.dll_RegCreateKeyExW
sub esp, 0x24
test eax, eax
je 0x406b1b
xor eax, eax
mov dword [esp + 0x20], eax
mov eax, dword [ebp - 0xea0]
mov dword [esp + 0x14], 0x20006
mov dword [esp + 4], str.Config_ManagerEnum
mov dword [esp], 0x80000006
mov dword [esp + 0x1c], eax
xor eax, eax
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
call sub.advapi32.dll_RegCreateKeyExW
sub esp, 0x24
test eax, eax
je 0x406c0f
mov eax, dword [ebp - 0xe8c]
mov dword [esp + 4], str.SystemCurrentControlSetControlSession_ManagerEnvironment
mov dword [esp], 0x80000002
mov dword [esp + 8], eax
call sub.advapi32.dll_RegCreateKeyW
sub esp, 0xc
test eax, eax
jne 0x405cbc
mov eax, dword [ebp - 0xe90]
call fcn.00402060
xor eax, eax
mov dword [esp + 8], 0xc
mov dword [esp + 0xc], eax
lea eax, [ebp - 0xc28]
mov dword [esp + 4], eax
mov dword [esp], 1
mov eax, dword [ebp - 0xeb8]
call eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
sub esp, 0x10
mov eax, dword [eax + 0x64]
mov dword [esp + 8], 0x409b58
mov dword [esp + 4], 0x3c
mov dword [esp + 0xc], eax
mov ebx, dword [ebp - 0xea0]
mov dword [esp], ebx
call fcn.004021a0
mov eax, dword [ebp - 0xe30]
mov ecx, ebx
mov edx, str.NUMBER_OF_PROCESSORS
call fcn.00402820
cmp word [ebp - 0xc28], 9
je 0x4075e8
mov ebx, 0x4097c8
mov ecx, ebx
mov eax, dword [ebp - 0xe30]
mov edx, str.PROCESSOR_ARCHITECTURE
call fcn.00402820
movzx eax, word [ebp - 0xc28]
cmp ax, 5
je 0x406c37
cmp ax, 0xc
je 0x406c37
mov edx, ebx
mov ebx, dword [ebp - 0xea0]
mov eax, ebx
call fcn.00402530
mov dword [esp + 4], 0x409eee
mov dword [esp], ebx
call fcn.00401ff0
push esi
push esi
mov eax, dword [ebp - 0xe90]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.00401ff0
push edi
push edi
mov ebx, dword [ebp - 0xea0]
mov edx, 0x409ef4
mov eax, dword [ebp - 0xe30]
mov ecx, ebx
call fcn.00402820
movzx eax, word [ebp - 0xc26]
mov dword [esp], ebx
mov dword [esp + 8], 0x409b58
mov dword [esp + 4], 0x3c
mov dword [esp + 0xc], eax
call fcn.004021a0
mov eax, dword [ebp - 0xe30]
mov ecx, ebx
mov edx, str.PROCESSOR_LEVEL
call fcn.00402820
movzx eax, word [ebp - 0xc24]
mov dword [esp], ebx
mov dword [esp + 8], str._04x
mov dword [esp + 4], 0x3c
mov dword [esp + 0xc], eax
call fcn.004021a0
mov eax, dword [ebp - 0xe30]
mov ecx, ebx
mov edx, str.PROCESSOR_REVISION
call fcn.00402820
mov eax, dword [ebp - 0xe30]
mov dword [esp], eax
call sub.advapi32.dll_RegCloseKey
push ecx
mov edi, dword [ebp - 0xe90]
xor eax, eax
mov ecx, 8
rep stosd dword es:[edi], eax
mov dword [esp + 4], 0x100
mov ebx, dword [ebp - 0xea0]
mov dword [esp], ebx
call sub.ws2_32.dll_gethostname
push edx
push edx
test eax, eax
jne 0x405e0c
mov dword [ebp - 0xa20], 2
mov eax, dword [ebp - 0xec0]
mov dword [esp + 0xc], eax
mov edi, dword [ebp - 0xe90]
mov dword [esp], ebx
mov dword [esp + 8], edi
xor edi, edi
mov dword [esp + 4], edi
call sub.ws2_32.dll_getaddrinfo
sub esp, 0x10
test eax, eax
jne 0x405d4b
mov eax, dword [ebp - 0xe64]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x405d4b
mov dword [esp + 4], str.localhost
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll__stricmp]
test eax, eax
je 0x405d4b
mov eax, dword [ebp - 0xe64]
mov ebx, dword [eax + 0x14]
jmp 0x405d51
mov ebx, dword [ebp - 0xea0]
mov dword [esp + 4], 0x2e
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_strchr]
test eax, eax
je 0x407756
lea edx, [eax + 1]
mov byte [eax], 0
mov esi, dword [sym.imp.kernelbase.dll_SetComputerNameExA]
mov dword [esp + 4], edx
mov dword [esp], 6
call esi
push ecx
push ecx
mov dword [esp + 4], ebx
mov dword [esp], 5
call esi
push esi
push esi
mov eax, dword [ebp - 0xea0]
cmp ebx, eax
je 0x405dad
mov eax, dword [ebp - 0xe64]
mov dword [esp], eax
call sub.ws2_32.dll_freeaddrinfo
push edx
lea eax, [ebp - 0xe60]
mov dword [esp + 4], str.SystemCurrentControlSetControlComputerName
mov dword [esp + 8], eax
mov dword [esp], 0x80000002
call sub.advapi32.dll_RegOpenKeyW
sub esp, 0xc
test eax, eax
jne 0x405e0c
lea eax, [ebp - 0xe54]
mov dword [esp + 4], str.ComputerName
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xe60]
mov dword [esp], eax
call sub.advapi32.dll_RegOpenKeyW
sub esp, 0xc
test eax, eax
je 0x407767
mov eax, dword [ebp - 0xe60]
mov dword [esp], eax
call sub.advapi32.dll_RegCloseKey
push ecx
mov edx, dword [ebp - 0xea0]
mov edi, 0x400
mov esi, dword fs:[0x18]
mov dword [ebp - 0xeb0], esi
mov esi, edi
mov edi, edx
jmp 0x405ea3
lea ebx, [esi - 2]
cmp eax, ebx
jb 0x40693c
mov eax, dword [ebp - 0xea0]
cmp edi, eax
je 0x405e6b
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov eax, dword [ebp - 0xeb0]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0xeb4]
call eax
sub esp, 0xc
lea ecx, [esi*4]
mov dword [esp + 4], 0
mov dword [esp + 8], ecx
mov eax, dword [ebp - 0xeb0]
lea ebx, [esi + esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0xea8]
call eax
sub esp, 0xc
mov edi, eax
test eax, eax
je 0x405ecb
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 0x405e30
mov eax, dword [ebp - 0xea0]
xor edi, edi
mov dword [ebp - 0xa20], edi
mov dword [esp + 0xc], 0xf003f
mov dword [esp + 4], str.SystemCurrentControlSetControlSession_Manager
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [esp + 8], eax
mov dword [esp], 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
sub esp, 0x14
test eax, eax
jne 0x4060a6
mov eax, dword [ebp - 0xe90]
xor esi, esi
mov dword [esp + 4], str.PendingFileRenameOperations
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], esi
mov dword [esp + 8], esi
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x818]
mov dword [esp], eax
call sub.advapi32.dll_RegQueryValueExW
sub esp, 0x18
test eax, eax
jne 0x406071
mov edx, dword [ebp - 0xa20]
xor ebx, ebx
mov dword [esp + 4], ebx
mov eax, dword fs:[0x18]
mov dword [esp + 8], edx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0xea8]
call eax
sub esp, 0xc
mov esi, eax
test eax, eax
je 0x406071
mov eax, dword [ebp - 0xe90]
xor ecx, ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], ecx
mov dword [esp + 8], ecx
mov dword [esp + 4], str.PendingFileRenameOperations
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x818]
mov dword [esp], eax
call sub.advapi32.dll_RegQueryValueExW
sub esp, 0x18
test eax, eax
jne 0x406073
mov eax, dword [ebp - 0xa20]
cmp eax, 3
jbe 0x406073
and eax, 0xfffffffe
cmp word [esi + eax - 2], 0
jne 0x406073
cmp word [esi + eax - 4], 0
jne 0x406073
mov edi, esi
mov eax, edi
sub eax, esi
cmp eax, dword [ebp - 0xa20]
jae 0x4078ca
movzx edx, word [edi]
test dx, dx
je 0x4078ca
mov eax, edi
add eax, 2
cmp word [eax], 0
jne 0x405ffa
lea ebx, [eax + 2]
cmp dx, 0x5c
je 0x407878
xor eax, eax
cmp word [ebx], 0x21
jne 0x406020
add ebx, 2
mov eax, 1
cmp word [ebx], 0x5c
je 0x4078a1
cmp word [ebx], 0
jne 0x407707
mov dword [esp], edi
call dword [sym.imp.kernelbase.dll_RemoveDirectoryW]
push edx
test eax, eax
jne 0x406063
mov eax, dword fs:[0x18]
cmp dword [eax + 0x34], 0x10b
jne 0x406063
jmp 0x407ed2
add ebx, 2
cmp word [ebx], 0
jne 0x406060
lea edi, [ebx + 2]
jmp 0x405fdc
xor esi, esi
xor edx, edx
mov dword [esp + 8], esi
mov dword [esp + 4], edx
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0xeb4]
call eax
mov eax, dword [ebp - 0x818]
sub esp, 0xc
mov dword [esp], eax
call sub.advapi32.dll_RegCloseKey
push ecx
mov eax, dword [ebp - 0xec0]
mov dword [esp + 4], str.SoftwareMicrosoftWindows_NTCurrentVersionWinlogon
mov dword [esp], 0x80000002
mov dword [esp + 8], eax
call sub.advapi32.dll_RegOpenKeyW
sub esp, 0xc
test eax, eax
je 0x40681e
mov eax, dword [ebp - 0xe64]
mov dword [esp], eax
call sub.advapi32.dll_RegCloseKey
push ebx
xor ebx, ebx
mov edi, dword [sym.imp.kernelbase.dll_GetSystemDirectoryW]
mov dword [esp + 4], ebx
mov dword [esp], ebx
call edi
mov ebx, eax
push esi
lea eax, [eax + 0xc]
push esi
add eax, eax
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp + 4], eax
mov edx, dword fs:[0x18]
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0xea8]
call eax
sub esp, 0xc
mov esi, eax
mov dword [esp + 4], ebx
mov dword [esp], eax
call edi
push eax
push eax
mov dword [esp + 4], 0x40a210
mov dword [esp], esi
call fcn.00401ff0
push eax
push eax
mov eax, dword [ebp - 0xea0]
mov dword [esp], esi
mov dword [esp + 4], eax
call dword [sym.imp.kernelbase.dll_FindFirstFileW]
push ecx
push ecx
cmp word [esi], 0
mov dword [ebp - 0xeb0], eax
mov eax, esi
je 0x406169
nop
add eax, 2
cmp word [eax], 0
jne 0x406160
cmp dword [ebp - 0xeb0], 0xffffffff
mov word [eax - 4], 0
je 0x4063a4
mov dword [ebp - 0xeb8], esi
mov edi, dword [sym.imp.ucrtbase.dll_wcscmp]
lea ebx, [ebp - 0x7ec]
mov esi, dword [ebp - 0xe8c]
jmp 0x4061c4
mov eax, dword [ebp - 0xea0]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xeb0]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_FindNextFileW]
sub esp, 8
test eax, eax
je 0x40639e
mov dword [esp + 4], 0x40a248
mov dword [esp], ebx
call edi
test eax, eax
je 0x4061a0
mov dword [esp + 4], 0x40a24c
mov dword [esp], ebx
call edi
test eax, eax
je 0x4061a0
mov dword [ebp - 0xe60], 0x104
lea eax, [ebp - 0xe54]
mov dword [ebp - 0xe54], 0x104
mov dword [esp + 0x1c], eax
lea eax, [ebp - 0xe60]
mov dword [esp + 0x14], eax
lea eax, [ebp - 0xc28]
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x411240
mov dword [esp + 8], 0x411240
mov dword [esp + 4], ebx
mov dword [esp], 1
call fcn.00403aa4
lea eax, [ebp - 0xe60]
mov dword [ebp - 0xe60], 0x104
sub esp, 0x20
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0xe90]
mov dword [esp + 0x10], esi
mov dword [esp + 0x18], eax
lea eax, [ebp - 0xc28]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0xeb8]
mov dword [esp + 8], ebx
mov dword [esp + 4], ebx
mov dword [esp + 0xc], eax
xor eax, eax
mov dword [esp], eax
call fcn.00403a94
mov edx, eax
mov eax, dword [sym.imp.kernelbase.dll_DeleteFileW]
sub esp, 0x20
mov dword [ebp - 0xebc], eax
test edx, edx
je 0x4062bf
test byte [0x408090], 4
jne 0x406c7e
mov eax, dword [ebp - 0xe90]
mov dword [esp], eax
mov eax, dword [sym.imp.kernelbase.dll_DeleteFileW]
mov dword [ebp - 0xebc], eax
call eax
push ecx
mov dword [esp + 8], 0x103
mov eax, dword [ebp - 0xeb8]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.00401f90
mov eax, esi
sub esp, 0xc
cmp word [ebp - 0xe30], 0
je 0x4062f9
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x4062f0
sub eax, esi
mov edx, eax
lea eax, [esi + eax + 2]
sar edx, 1
mov word [ebp + edx*2 - 0xe30], 0x5c
lea ecx, [edx + 1]
mov edx, 0x104
sub edx, ecx
mov dword [ebp - 0xe60], ecx
mov dword [esp + 8], edx
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.00401f90
sub esp, 0xc
mov dword [esp], esi
mov eax, dword [ebp - 0xebc]
call eax
push edx
test eax, eax
jne 0x4061a0
test byte [0x408090], 4
je 0x4061a0
mov eax, dword fs:[0x18]
mov edx, dword [eax + 0x34]
mov eax, esi
mov dword [ebp - 0xebc], edx
call fcn.00402c30
mov edx, dword [ebp - 0xebc]
mov dword [esp + 0xc], str.failed_to_delete__s:_error__lu_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.ProcessWindowsFileProtection
mov dword [esp + 4], 0x408090
mov dword [esp + 0x14], edx
mov dword [esp], 2
call fcn.00402cb0
jmp 0x4061a0
mov esi, dword [ebp - 0xeb8]
mov eax, dword [ebp - 0xeb0]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_FindClose]
xor edx, edx
push eax
mov dword [esp + 4], edx
mov dword [esp + 8], esi
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0xeb4]
call eax
mov edx, 1
mov eax, str.RunServicesOnce
sub esp, 0xc
call fcn.004033a0
cmp dword [ebp - 0xeac], 0
jne 0x406405
mov eax, dword [ebp - 0xe98]
xor eax, 1
test dword [ebp - 0xe94], eax
je 0x40648b
xor edx, edx
mov eax, str.RunServices
call fcn.004033a0
lea edi, [ebp - 0x814]
xor eax, eax
mov ecx, 0x10
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0xe90]
mov dword [ebp - 0x818], 0x44
mov dword [esp + 0x24], eax
mov eax, dword [ebp - 0xea0]
mov dword [esp + 0x14], 8
mov dword [esp + 0x10], 1
mov dword [esp], str.C:windows_system32_services.exe
mov dword [esp + 0x20], eax
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
mov dword [esp + 4], eax
call dword [sym.imp.kernelbase.dll_CreateProcessW]
sub esp, 0x28
test eax, eax
jne 0x406782
test byte [0x408090], 2
jne 0x407720
mov eax, dword [ebp - 0xe98]
mov ecx, dword [ebp - 0xe9c]
or eax, ecx
or eax, dword [ebp - 0xe94]
je 0x406540
mov dword [esp + 4], 0x104
mov ebx, dword [ebp - 0xea0]
mov dword [esp], ebx
call dword [sym.imp.kernelbase.dll_GetSystemDirectoryW]
push eax
push eax
mov dword [esp + 4], str._reboot.exe
mov dword [esp], ebx
call fcn.00401ff0
lea edx, [ebp - 0xa1c]
mov ecx, 0x10
push eax
mov edi, edx
push eax
xor eax, eax
rep stosd dword es:[edi], eax
lea eax, [ebp - 0xc28]
mov dword [ebp - 0xa20], 0x44
mov dword [esp + 0x24], eax
mov eax, dword [ebp - 0xe90]
mov dword [esp + 4], ebx
mov dword [esp + 0x20], eax
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_CreateProcessW]
sub esp, 0x28
test eax, eax
jne 0x407442
test byte [0x408090], 2
jne 0x4076de
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x14], 0xf003f
mov dword [esp + 0x20], eax
lea eax, [ebp - 0xc28]
xor edx, edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], ecx
mov dword [esp + 8], ecx
mov dword [esp + 4], str.Volatile_Environment
mov dword [esp], 0x80000001
call sub.advapi32.dll_RegCreateKeyExW
sub esp, 0x24
test eax, eax
jne 0x406724
mov ebx, dword [ebp - 0xea0]
xor eax, eax
mov dword [esp + 4], 0x801a
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp], eax
mov dword [esp + 0x10], ebx
call fcn.00403a70
sub esp, 0x14
test eax, eax
js 0x4065ce
mov eax, dword [ebp - 0xc28]
mov ecx, ebx
mov edx, str.APPDATA
call fcn.00402820
mov eax, dword [ebp - 0xc28]
mov ecx, str.Console
mov edx, str.CLIENTNAME
call fcn.00402820
mov ebx, dword [ebp - 0xea0]
xor eax, eax
mov dword [esp + 4], 0x8028
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp], eax
mov dword [esp + 0x10], ebx
call fcn.00403a70
sub esp, 0x14
test eax, eax
js 0x406653
mov eax, dword [ebp - 0xc28]
mov ecx, ebx
mov edx, str.USERPROFILE
call fcn.00402820
mov eax, dword [ebp - 0xc28]
lea ecx, [ebp - 0x814]
mov edx, str.HOMEPATH
call fcn.00402820
mov eax, dword [ebp - 0xc28]
mov ecx, ebx
mov word [ebp - 0x814], 0
mov edx, str.HOMEDRIVE
call fcn.00402820
mov dword [ebp - 0xe30], 0x104
mov eax, dword [ebp - 0xe8c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xea0]
mov dword [esp], eax
call sub.advapi32.dll_GetUserNameW
push edi
push edi
test eax, eax
jne 0x4076c3
mov eax, dword [ebp - 0xc28]
mov ecx, 0x40948e
mov edx, str.HOMESHARE
xor esi, esi
call fcn.00402820
mov ebx, dword [ebp - 0xea0]
xor ecx, ecx
mov dword [esp], esi
mov dword [esp + 0xc], ecx
mov dword [esp + 8], ecx
mov dword [esp + 4], 0x801c
mov dword [esp + 0x10], ebx
call fcn.00403a70
sub esp, 0x14
test eax, eax
js 0x4066d3
mov eax, dword [ebp - 0xc28]
mov ecx, ebx
mov edx, str.LOCALAPPDATA
call fcn.00402820
mov eax, dword [ebp - 0xe8c]
lea ebx, [ebp - 0xa1c]
mov dword [ebp - 0xe30], 0x10
mov dword [esp], ebx
mov dword [esp + 4], eax
call dword [sym.imp.kernel32.dll_GetComputerNameW]
push edx
push edx
test eax, eax
jne 0x40768b
mov eax, dword [ebp - 0xc28]
mov ecx, str.Console
mov edx, str.SESSIONNAME
call fcn.00402820
mov eax, dword [ebp - 0xc28]
mov dword [esp], eax
call sub.advapi32.dll_RegCloseKey
push eax
mov eax, dword [ebp - 0xeac]
or eax, dword [ebp - 0xea4]
jne 0x406d5c
test byte [0x408090], 8
jne 0x4068f7
mov eax, dword [ebp - 0xe7c]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_SetEvent]
push eax
jmp 0x404c72
mov ecx, dword [ebp - 0xea0]
mov edx, str.Identifier
mov eax, dword [ebp - 0xe6c]
call fcn.00402820
mov eax, dword [ebp - 0xe6c]
mov dword [esp], eax
call sub.advapi32.dll_RegCloseKey
push ecx
jmp 0x405131
mov eax, dword [ebp - 0xa1c]
xor edi, edi
mov esi, dword [sym.imp.kernelbase.dll_CloseHandle]
mov dword [esp], eax
call esi
xor eax, eax
push ebx
mov dword [esp + 0xc], str.__wine_SvcctlStarted
mov dword [esp + 8], edi
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_CreateEventW]
movd xmm3, dword [ebp - 0xa20]
sub esp, 0x10
movd xmm0, eax
xor eax, eax
punpckldq xmm0, xmm3
movq qword [ebp - 0xc28], xmm0
mov dword [esp + 8], eax
lea eax, [ebp - 0xc28]
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 4], eax
mov dword [esp], 2
call dword [sym.imp.kernelbase.dll_WaitForMultipleObjects]
sub esp, 0x10
sub eax, 1
je 0x407bd0
mov eax, dword [ebp - 0xa20]
mov dword [esp], eax
call esi
push eax
mov eax, dword [ebp - 0xc28]
mov dword [esp], eax
call esi
push edx
jmp 0x40648b
mov eax, dword [ebp - 0xea0]
xor edi, edi
xor esi, esi
mov dword [ebp - 0x818], esi
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], edi
mov dword [esp + 0x14], eax
mov dword [esp + 8], edi
mov dword [esp + 4], str.SFCDllCacheDir
mov eax, dword [ebp - 0xe64]
mov dword [esp], eax
call sub.advapi32.dll_RegQueryValueExW
sub esp, 0x18
test eax, eax
jne 0x4060cf
mov eax, dword [ebp - 0x818]
lea edx, [eax + 2]
add eax, 8
mov dword [ebp - 0x818], edx
mov dword [esp + 8], eax
xor eax, eax
mov edx, dword fs:[0x18]
mov dword [esp + 4], eax
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0xea8]
call eax
mov esi, eax
mov eax, dword [ebp - 0xea0]
sub esp, 0xc
mov dword [esp + 0x10], esi
mov dword [esp + 4], str.SFCDllCacheDir
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xe64]
mov dword [esp], eax
call sub.advapi32.dll_RegQueryValueExW
sub esp, 0x18
mov dword [esp + 4], 0x40a20a
mov dword [esp], esi
call fcn.00401ff0
push edx
push edx
mov eax, dword [ebp - 0xe64]
mov dword [esp], eax
call sub.advapi32.dll_RegCloseKey
push ecx
test esi, esi
jne 0x40613c
jmp 0x4060de
mov dword [esp + 0xc], str.Operation_done_n
mov dword [esp + 8], str.main
mov dword [esp + 4], 0x408090
mov dword [esp], 3
call fcn.00402cb0
jmp 0x406743
mov eax, dword [sym.imp.kernelbase.dll_HeapFree]
mov dword [ebp - 0xeb4], eax
lea eax, [ebp - 0xe64]
mov dword [ebp - 0xec0], eax
jmp 0x405a82
movzx eax, word [edi]
mov edx, edi
mov esi, edi
test ax, ax
je 0x4069c6
cmp ax, 0x3b
je 0x4069a7
mov dword [esp + 4], 0x3d
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_wcschr]
test eax, eax
je 0x4069a7
mov word [eax], 0
lea ebx, [eax + 2]
mov dword [esp + 4], edi
mov dword [esp], 0x40a040
call dword [sym.imp.kernelbase.dll_lstrcmpiW]
push edx
push edx
test eax, eax
jne 0x406aa0
test byte [0x408090], 8
jne 0x407396
mov dword [esp], ebx
call dword [sym.imp.kernelbase.dll_DeleteFileW]
push ecx
test eax, eax
je 0x406a5f
mov edi, ebx
cmp word [edi], 0
mov eax, edi
je 0x4069b9
nop
add eax, 2
cmp word [eax], 0
jne 0x4069b0
lea edi, [eax + 2]
movzx eax, word [edi]
test ax, ax
jne 0x406948
mov edx, esi
mov eax, dword [ebp - 0xea0]
cmp edx, eax
je 0x4069f4
mov dword [esp + 8], edx
xor edx, edx
mov dword [esp + 4], edx
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0xeb4]
call eax
sub esp, 0xc
mov 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 0x405ecb
test byte [0x408090], 2
je 0x405ecb
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 + 4], 0x408090
mov dword [esp], 1
mov dword [esp + 0x10], eax
call fcn.00402cb0
jmp 0x405ecb
test byte [0x408090], 4
je 0x4069a5
mov eax, ebx
call fcn.00402c30
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], 0x408090
mov dword [esp], 2
call fcn.00402cb0
jmp 0x4069a5
test byte [0x408090], 8
jne 0x4073f7
mov dword [esp + 8], 3
mov dword [esp + 4], edi
mov dword [esp], ebx
call dword [sym.imp.kernelbase.dll_MoveFileExW]
sub esp, 0xc
test eax, eax
jne 0x4069a5
test byte [0x408090], 4
je 0x4069a5
mov eax, edi
call fcn.00402c30
mov edi, eax
mov eax, ebx
call fcn.00402c30
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Error_renaming__s_to__s_n
mov dword [esp + 8], str.wininit
mov dword [esp + 4], 0x408090
mov dword [esp], 2
call fcn.00402cb0
jmp 0x4069a5
mov eax, dword [ebp - 0x818]
mov dword [esp], eax
call sub.advapi32.dll_RegCloseKey
push edx
jmp 0x405acd
cmp ax, 0xc
jne 0x405487
mov byte [edi + 0x291], 1
mov eax, dword [ebp - 0xe28]
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 0x405487
mov ecx, edi
mov eax, 0x80000002
cpuid
mov dword [ebp - 0x818], eax
mov eax, dword [ebp - 0xea0]
mov dword [ebp - 0x810], ecx
mov ecx, dword [ebp - 0xe90]
mov dword [ebp - 0x814], ebx
mov dword [ebp - 0x80c], edx
mov edx, 0x10
call fcn.00402030
mov ecx, edi
mov eax, 0x80000003
cpuid
mov dword [ebp - 0x818], eax
mov eax, dword [ebp - 0xea0]
mov dword [ebp - 0x814], ebx
mov dword [ebp - 0x810], ecx
lea ecx, [ebp - 0xa00]
mov dword [ebp - 0x80c], edx
mov edx, 0x10
call fcn.00402030
mov ecx, edi
mov eax, 0x80000004
cpuid
mov dword [ebp - 0x818], eax
mov eax, dword [ebp - 0xea0]
mov dword [ebp - 0x810], ecx
lea ecx, [ebp - 0x9e0]
mov dword [ebp - 0x80c], edx
mov edx, 0x10
mov dword [ebp - 0x814], ebx
call fcn.00402030
jmp 0x404e4b
mov eax, dword [ebp - 0x818]
mov dword [esp], eax
call sub.advapi32.dll_RegCloseKey
push eax
jmp 0x405b18
mov ecx, str.ARM_processor_family
mov edx, str.Identifier
call fcn.00402820
jmp 0x404fe3
movzx eax, word [ebp - 0xc24]
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 + 8], str.ARM_Family__u_Model__u_Revision__u
mov dword [esp + 4], 0x3c
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xea0]
mov dword [esp], eax
call fcn.004021a0
jmp 0x405c2b
mov eax, ebx
mov dword [ebp - 0xebc], edx
call fcn.00402c30
mov edx, dword [ebp - 0xebc]
mov dword [esp + 0xc], str.WFP:__s_error_0x_lx_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.ProcessWindowsFileProtection
mov dword [esp + 4], 0x408090
mov dword [esp + 0x14], edx
mov dword [esp], 2
call fcn.00402cb0
jmp 0x4062a8
xor eax, eax
mov dword [esp + 8], esi
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xebc]
mov dword [esp], eax
call sub.ucrtbase.dll_memset
jmp 0x404f2f
movzx eax, word [ebp - 0xe50]
movzx edx, al
shr ax, 8
movzx eax, ax
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
movzx eax, word [ebp - 0xe52]
mov dword [esp + 8], str.ARM_Family__u_Model__u_Revision__u
mov dword [esp + 4], 0x3c
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xea0]
mov dword [esp], eax
call fcn.004021a0
jmp 0x404f64
lea eax, [ebp - 0xc28]
mov dword [esp + 4], str.AuthenticAMD
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_wcscmp]
mov edx, str.Intel64
test eax, eax
mov eax, str.AMD64
cmove edx, eax
mov eax, dword [ebp - 0xea0]
call fcn.00402530
jmp 0x404f64
mov ebx, dword [sym.imp.ucrtbase.dll__wgetenv]
mov dword [esp], str.WINECONFIGDIR
call ebx
mov dword [esp], str.WINEBUILDDIR
mov edi, eax
call ebx
mov esi, eax
test eax, eax
jne 0x406d84
jmp 0x407b65
add eax, 2
cmp word [eax], 0
jne 0x406d81
sub eax, esi
add eax, 0x22
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp + 4], eax
mov edx, dword fs:[0x18]
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0xea8]
call eax
sub esp, 0xc
mov dword [ebp - 0xe94], eax
test eax, eax
je 0x407b49
xor eax, eax
movzx edx, word [esi + eax]
mov ecx, dword [ebp - 0xe94]
mov word [ecx + eax], dx
add eax, 2
test dx, dx
jne 0x406dc4
mov dword [esp + 4], str.loader
mov dword [esp], ecx
call fcn.00401ff0
push ebx
push ebx
mov dword [esp + 4], str.wine.inf
mov ebx, dword [ebp - 0xe94]
mov dword [esp], ebx
call fcn.00401ff0
xor edx, edx
push eax
push eax
mov word [ebx + 2], 0x5c
mov dword [esp + 4], edx
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll__wopen]
mov esi, eax
cmp eax, 0xffffffff
je 0x407b05
lea eax, [ebp - 0xc28]
mov dword [esp], esi
mov dword [esp + 4], eax
call dword [sym.imp.ucrtbase.dll__fstat32]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll__close]
mov edx, dword [ebp - 0xc0c]
mov eax, edi
call fcn.00402d40
or eax, dword [ebp - 0xea4]
je 0x407367
xor eax, eax
mov dword [ebp - 0xe74], eax
mov dword [esp], 0x40a52f
call dword [sym.imp.ucrtbase.dll_getenv]
mov ebx, eax
mov dword [ebp - 0xe98], eax
test eax, eax
je 0x406ecb
mov dword [esp], eax
mov esi, str.WINEDLLOVERRIDES
call dword [sym.imp.ucrtbase.dll_strlen]
add eax, 0x12
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp + 4], eax
mov edx, dword fs:[0x18]
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0xea8]
call eax
mov ecx, 0x11
mov edi, eax
sub esp, 0xc
mov dword [ebp - 0xe98], eax
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 4], ebx
mov dword [esp], edi
call sub.ucrtbase.dll_strcpy
xor esi, esi
xor edi, edi
mov dword [esp + 0x14], pe_nt_image_headers32
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], edi
mov dword [esp + 8], 3
mov dword [esp + 4], 1
mov dword [esp], str.c:_windows_system32_shdocvw.dll
call dword [sym.imp.kernelbase.dll_CreateFileA]
sub esp, 0x1c
mov esi, eax
cmp eax, 0xffffffff
je 0x406f6e
xor ebx, ebx
mov dword [esp + 8], 0x54
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], ebx
mov eax, dword [ebp - 0xea0]
mov dword [esp], esi
mov dword [esp + 4], eax
call dword [sym.imp.kernelbase.dll_ReadFile]
sub esp, 0x14
test eax, eax
je 0x406f64
lea eax, [ebp - 0x7d8]
mov dword [esp + 8], 0x14
mov dword [esp + 4], str.Wine_placeholder_DLL
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_strncmp]
test eax, eax
je 0x406f64
mov byte [0x408048], 0x64
mov dword [esp], esi
call dword [sym.imp.kernelbase.dll_CloseHandle]
push ecx
test byte [0x408090], 8
jne 0x407ad4
mov eax, dword [sym.imp.ucrtbase.dll__putenv]
mov dword [esp], str.WINEDLLOVERRIDESshdocvwb_iexplore.exeb_advpackb_atlb_oleaut32b_rpcrt4b
mov dword [ebp - 0xea4], eax
call eax
xor eax, eax
xor edx, edx
mov dword [esp + 8], 2
mov dword [esp + 0xc], eax
mov dword [esp + 4], edx
mov eax, dword [ebp - 0xe94]
mov dword [esp], eax
call fcn.00403c5c
sub esp, 0x10
mov esi, eax
test eax, eax
je 0x4078e7
xor eax, eax
xor ebx, ebx
mov dword [esp], eax
call fcn.00403c8c
xor ecx, ecx
push edx
mov edi, eax
mov dword [esp + 0x20], eax
xor eax, eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], 0x403cec
mov dword [esp + 0x18], 4
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], str.DefaultInstall
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.00403c7c
sub esp, 0x2c
mov dword [esp], edi
call fcn.00403c4c
push eax
xor eax, eax
mov dword [esp + 8], eax
mov dword [esp + 4], str.DefaultInstall.Services
mov dword [esp], esi
call fcn.00403c6c
sub esp, 0xc
mov dword [esp], esi
call fcn.00403cfc
push eax
xor edi, edi
mov dword [esp + 0x10], 0x20
mov dword [esp + 0x14], edi
mov eax, dword [ebp - 0xe8c]
mov dword [esp + 8], 4
mov dword [esp], 0xb5
mov dword [esp + 0xc], eax
lea eax, [ebp - 0xe74]
mov dword [esp + 4], eax
call dword [sym.imp.ntdll.dll_NtQuerySystemInformationEx]
sub esp, 0x18
test eax, eax
je 0x407081
xor esi, esi
mov dword [ebp - 0xe30], esi
mov eax, dword [ebp - 0xe94]
mov ecx, 1
mov edx, str.PreInstall
call fcn.004030b0
mov dword [ebp - 0xe74], eax
test eax, eax
je 0x40718c
call fcn.004021f0
xor edi, edi
mov esi, eax
xor eax, eax
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_GetModuleHandleW]
xor ecx, ecx
push edx
mov dword [esp + 0x10], esi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 0x4024c0
mov dword [esp + 4], 0x65
mov dword [esp], eax
call fcn.00403c08
sub esp, 0x14
mov dword [ebp - 0xe8c], eax
mov dword [esp + 4], 1
mov dword [esp], eax
call fcn.00403ad8
mov esi, dword [sym.imp.kernelbase.dll_CloseHandle]
push ebx
push ebx
mov ebx, dword [ebp - 0xea0]
xor eax, eax
mov dword [esp + 0x10], 0x4ff
mov dword [esp + 8], eax
lea eax, [ebp - 0xe74]
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 4], eax
mov dword [esp], 1
call fcn.00403b48
sub esp, 0x14
test eax, eax
jne 0x4074cc
mov eax, dword [ebp - 0xe74]
mov dword [esp], eax
call esi
push eax
mov eax, dword [ebp + edi*4 - 0xe30]
test eax, eax
je 0x40717d
test eax, 0x40000
je 0x4075d0
mov eax, dword [ebp - 0xe94]
mov ecx, 1
mov edx, str.DefaultInstall
call fcn.004030b0
mov dword [ebp - 0xe74], eax
add edi, 1
test eax, eax
jne 0x407102
mov eax, dword [ebp - 0xe8c]
mov dword [esp], eax
call fcn.00403bf8
push esi
xor eax, eax
mov ecx, 6
mov esi, 0x40a8d4
lea edi, [ebp - 0x814]
rep stosd dword es:[edi], eax
xor ecx, ecx
mov dword [ebp - 0x818], 0x1c
mov dword [esp + 4], ecx
mov dword [esp], ecx
call fcn.00403cbc
mov ecx, eax
push ebx
push ebx
cmp eax, 0xffffffff
je 0x407e50
mov eax, dword fs:[0x18]
mov edi, ecx
mov dword [ebp - 0xe9c], eax
mov eax, dword [esi]
xor edx, edx
mov ecx, dword [ebp - 0xea0]
mov dword [ebp - 0xe8c], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0x410b48
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.00403ccc
sub esp, 0x1c
test eax, eax
jne 0x407939
mov eax, dword [ebp - 0xe9c]
cmp dword [eax + 0x34], 0xe0000207
je 0x40722e
test byte [0x408090], 2
jne 0x407e93
add esi, 0xc
cmp esi, str.install_root_pnp_devices
jne 0x4071d3
mov dword [esp], edi
call fcn.00403cac
push eax
lea eax, [ebp - 0xe70]
mov dword [esp + 4], 0x20008
mov dword [esp + 8], eax
mov dword [esp], 0xffffffff
call sub.advapi32.dll_OpenProcessToken
sub esp, 0xc
test eax, eax
je 0x40732f
mov dword [ebp - 0xe68], 0x50
xor ebx, ebx
xor edi, edi
xor esi, esi
lea eax, [ebp - 0xe68]
mov dword [esp + 0xc], 0x50
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xe90]
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xe70]
mov dword [esp], eax
call sub.advapi32.dll_GetTokenInformation
mov eax, dword [ebp - 0xe70]
sub esp, 0x14
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_CloseHandle]
lea eax, [ebp - 0xe6c]
push edx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xa20]
mov dword [esp], eax
call sub.advapi32.dll_ConvertSidToStringSidW
push ecx
push ecx
mov dword [esp + 0x20], ebx
mov eax, dword [ebp - 0xec0]
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], 0xf003f
mov dword [esp + 0x10], edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0xc], edi
mov dword [esp + 8], edi
mov dword [esp + 4], str.SoftwareMicrosoftWindows_NTCurrentVersionProfileList
mov dword [esp], 0x80000002
call sub.advapi32.dll_RegCreateKeyExW
sub esp, 0x24
test eax, eax
je 0x407ee1
mov eax, dword [ebp - 0xe6c]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_LocalFree]
push ecx
call fcn.004021f0
call fcn.00402c30
mov dword [esp], str.wine:_configuration_in__s_has_been_updated._n
mov dword [esp + 4], eax
call fcn.004020b0
mov ebx, dword [ebp - 0xe98]
test ebx, ebx
je 0x407367
mov dword [esp], ebx
mov eax, dword [ebp - 0xea4]
call eax
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_free]
mov ecx, dword [ebp - 0xe94]
xor edx, edx
mov dword [esp + 4], edx
mov eax, dword fs:[0x18]
mov dword [esp + 8], ecx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0xeb4]
call eax
sub esp, 0xc
jmp 0x406736
mov eax, ebx
call fcn.00402c30
mov dword [esp + 0xc], str.Deleting_file__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.wininit
mov dword [esp + 4], 0x408090
mov dword [esp], 3
call fcn.00402cb0
jmp 0x406993
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], 0x408090
mov dword [esp], 1
call fcn.00402cb0
jmp 0x404de1
mov eax, edi
call fcn.00402c30
mov dword [ebp - 0xeb0], eax
mov eax, ebx
call fcn.00402c30
mov ecx, dword [ebp - 0xeb0]
mov dword [esp + 0xc], str.Renaming_file__s_to__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.wininit
mov dword [esp + 4], 0x408090
mov dword [esp + 0x14], ecx
mov dword [esp], 3
call fcn.00402cb0
jmp 0x406aad
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0xc28]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_WaitForSingleObject]
push ebx
push ebx
mov eax, dword [ebp - 0xc28]
mov ebx, dword [sym.imp.kernelbase.dll_CloseHandle]
mov dword [esp], eax
call ebx
push esi
mov eax, dword [ebp - 0xc24]
mov dword [esp], eax
call ebx
push edi
jmp 0x406736
mov eax, dword fs:[0x18]
mov ebx, dword [eax + 0x34]
mov eax, dword [ebp - 0xea0]
call fcn.00402c30
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.failed_to_restart_64_bit__s__err__ld_n
mov dword [esp + 8], str.main
mov dword [esp + 4], 0x408090
mov dword [esp], 1
call fcn.00402cb0
jmp 0x405681
mov dword [esp], ebx
call fcn.00403be8
push eax
xor eax, eax
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.00403b28
sub esp, 0x14
test eax, eax
jne 0x4074c3
jmp 0x407102
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], 0x408090
mov dword [esp], 3
call fcn.00402cb0
cmp esi, 0xc
jle 0x4055be
mov eax, 1
xor ecx, ecx
cpuid
mov esi, ecx
test byte [0x408090], 8
je 0x4054d4
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], 0x408090
mov dword [esp], 3
call fcn.00402cb0
and esi, 0x8000000
je 0x4055be
mov eax, 0xd
xor ecx, ecx
cpuid
mov esi, eax
test byte [0x408090], 8
je 0x4054eb
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], 0x408090
mov dword [esp], 3
call fcn.00402cb0
jmp 0x4054eb
movzx ecx, ax
mov eax, dword [ebp - 0xe94]
mov edx, str.Wow64Install
call fcn.004030b0
jmp 0x407170
mov dword [esp + 4], str.AuthenticAMD
mov eax, dword [ebp - 0xe90]
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 0x405bcb
mov ecx, dword [ebp - 0xebc]
xor ebx, ebx
mov dword [esp + 4], ebx
mov eax, dword fs:[0x18]
mov dword [esp + 8], ecx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [sym.imp.kernelbase.dll_HeapFree]
mov dword [ebp - 0xeb4], eax
call eax
lea eax, [ebp - 0xe64]
sub esp, 0xc
mov dword [ebp - 0xec0], eax
jmp 0x405a82
test byte [0x408090], 2
je 0x404de1
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], 0x408090
mov dword [esp], 1
call fcn.00402cb0
jmp 0x404de1
mov eax, dword [ebp - 0xc28]
mov ecx, ebx
mov edx, str.USERDOMAIN
call fcn.00402820
mov eax, dword [0x40aa90]
mov edx, str.LOGONSERVER
mov ecx, dword [ebp - 0xe90]
mov dword [ebp - 0xa20], eax
mov eax, dword [ebp - 0xc28]
call fcn.00402820
jmp 0x406700
mov ecx, dword [ebp - 0xea0]
mov edx, str.USERNAME
mov eax, dword [ebp - 0xc28]
call fcn.00402820
jmp 0x40667f
mov dword [esp + 0xc], str.Failed_to_start_reboot_n
mov dword [esp + 8], str.main
mov dword [esp + 4], 0x408090
mov dword [esp], 1
call fcn.00402cb0
jmp 0x406540
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov dword [esp], edi
call dword [sym.imp.kernelbase.dll_MoveFileExW]
sub esp, 0xc
jmp 0x406063
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 + 4], 0x408090
mov dword [esp], 1
mov dword [esp + 0x10], eax
call fcn.00402cb0
jmp 0x40648b
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_strlen]
lea edx, [ebx + eax]
jmp 0x405d70
mov dword [ebp - 0xc28], 0x100
lea eax, [ebp - 0xc28]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0xea0]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xe8c]
mov dword [esp + 4], str.ComputerName
mov dword [esp + 0xc], eax
xor eax, eax
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xe54]
mov dword [esp], eax
call sub.advapi32.dll_RegQueryValueExW
sub esp, 0x18
test eax, eax
je 0x4077ba
xor eax, eax
mov dword [ebp - 0xc28], eax
mov eax, dword [ebp - 0xe54]
mov dword [esp], eax
call sub.advapi32.dll_RegCloseKey
push eax
cmp dword [ebp - 0xc28], 0
je 0x405dfd
lea eax, [ebp - 0xe54]
xor edi, edi
mov dword [esp + 0x14], 0xf003f
mov dword [esp + 0x1c], eax
xor eax, eax
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
mov dword [esp + 4], str.ActiveComputerName
mov eax, dword [ebp - 0xe60]
mov dword [esp], eax
call sub.advapi32.dll_RegCreateKeyExW
sub esp, 0x24
test eax, eax
jne 0x405dfd
mov eax, dword [ebp - 0xc28]
xor ebx, ebx
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0xea0]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xe30]
mov dword [esp + 8], ebx
mov dword [esp + 4], str.ComputerName
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xe54]
mov dword [esp], eax
call sub.advapi32.dll_RegSetValueExW
mov eax, dword [ebp - 0xe54]
sub esp, 0x18
mov dword [esp], eax
call sub.advapi32.dll_RegCloseKey
push esi
jmp 0x405dfd
cmp word [edi + 2], 0x3f
jne 0x406010
cmp word [edi + 4], 0x3f
jne 0x406010
cmp word [edi + 6], 0x5c
jne 0x406010
add edi, 8
jmp 0x406010
cmp word [ebx + 2], 0x3f
jne 0x407707
cmp word [ebx + 4], 0x3f
jne 0x407707
cmp word [ebx + 6], 0x5c
jne 0x407707
add ebx, 8
jmp 0x40602a
mov dword [esp + 4], str.PendingFileRenameOperations
mov eax, dword [ebp - 0x818]
mov dword [esp], eax
call sub.advapi32.dll_RegDeleteValueW
push ebx
push ebx
jmp 0x406073
test byte [0x408090], 2
je 0x40703b
mov eax, dword fs:[0x18]
mov esi, dword [eax + 0x34]
mov eax, dword [ebp - 0xe94]
call fcn.00402c30
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.failed_to_open__s__error__lu_n
mov dword [esp + 8], str.update_wineprefix
mov dword [esp + 4], 0x408090
mov dword [esp], 1
call fcn.00402cb0
jmp 0x40703b
mov ebx, dword [esi + 4]
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_strlen]
mov dword [esp + 0xc], ebx
add eax, 2
mov dword [esp + 8], 1
add eax, eax
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xea0]
mov dword [esp], edi
mov dword [esp + 4], eax
call fcn.00403c9c
sub esp, 0x14
test eax, eax
jne 0x407a18
test byte [0x408090], 2
je 0x40722e
mov eax, dword fs:[0x18]
mov ebx, dword [eax + 0x34]
mov eax, dword [ebp - 0xe8c]
call fcn.00402a20
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Failed_to_set_hardware_id_for__s__error__lx._n
mov dword [esp + 8], str.install_root_pnp_devices
mov dword [esp + 4], 0x408090
mov dword [esp], 1
call fcn.00402cb0
jmp 0x40722e
mov edi, dword [ebp - 0xeb0]
mov ecx, 0xff
mov edx, str.BiosMajorRelease
mov eax, edi
call fcn.004027e0
mov eax, edi
mov ecx, 0xff
mov edx, str.BiosMinorRelease
call fcn.004027e0
mov eax, edi
mov ecx, 0xff
mov edx, str.ECFirmwareMajorVersion
call fcn.004027e0
mov ecx, 0xff
mov edx, str.ECFirmwareMinorVersion
mov eax, edi
call fcn.004027e0
jmp 0x4058ff
mov eax, dword [ebp - 0xea0]
mov dword [esp + 4], edi
mov dword [esp], 0x19
mov dword [esp + 8], eax
call fcn.00403cdc
sub esp, 0xc
test eax, eax
jne 0x407d9c
test byte [0x408090], 2
je 0x40722e
mov eax, dword fs:[0x18]
mov ebx, dword [eax + 0x34]
mov eax, dword [ebp - 0xe8c]
call fcn.00402a20
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Failed_to_register_device__s__error__lx._n
mov dword [esp + 8], str.install_root_pnp_devices
mov dword [esp + 4], 0x408090
mov dword [esp], 1
call fcn.00402cb0
jmp 0x40722e
mov dword [esp + 8], esi
mov edi, dword [ebp - 0xeb4]
xor ecx, ecx
mov edx, str.SystemSKU
mov dword [esp], ebx
mov dword [esp + 4], edi
mov eax, dword [ebp - 0xeb0]
call fcn.00402880
mov dword [esp + 8], esi
xor ecx, ecx
mov edx, str.SystemFamily
mov dword [esp + 4], edi
mov dword [esp], ebx
mov eax, dword [ebp - 0xeb0]
call fcn.00402880
jmp 0x4059f3
mov dword [esp + 0x10], str.WINEDLLOVERRIDESshdocvwb_iexplore.exeb_advpackb_atlb_oleaut32b_rpcrt4b
mov dword [esp + 0xc], str.for_rundll32:__s_n
mov dword [esp + 8], str.setup_dll_overrides
mov dword [esp + 4], 0x408090
mov dword [esp], 3
call fcn.00402cb0
jmp 0x406f7b
call dword [sym.imp.ucrtbase.dll__errno]
mov eax, dword [eax]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_strerror]
mov ebx, eax
mov eax, dword [ebp - 0xe94]
call fcn.00402c30
mov esi, eax
mov eax, edi
call fcn.00402c30
mov dword [esp + 0xc], ebx
mov dword [esp + 8], esi
mov dword [esp + 4], eax
mov dword [esp], str.wine:_failed_to_update__s_with__s:__s_n
call fcn.004020b0
jmp 0x407367
mov eax, edi
call fcn.00402c30
mov dword [esp], str.wine:_failed_to_update__s__wine.inf_not_found_n
mov dword [esp + 4], eax
call fcn.004020b0
jmp 0x406736
mov dword [esp], str.WINEDATADIR
call ebx
mov esi, eax
test eax, eax
jne 0x407b79
jmp 0x407b49
add eax, 2
cmp word [eax], 0
jne 0x407b76
sub eax, esi
xor ecx, ecx
add eax, 0x14
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov edx, dword fs:[0x18]
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0xea8]
call eax
sub esp, 0xc
mov dword [ebp - 0xe94], eax
test eax, eax
je 0x407b49
xor eax, eax
movzx edx, word [esi + eax]
mov ecx, dword [ebp - 0xe94]
mov word [ecx + eax], dx
add eax, 2
test dx, dx
jne 0x407bb5
jmp 0x406dec
mov eax, dword [ebp - 0xe8c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xa20]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_GetExitCodeProcess]
push ecx
push ecx
test byte [0x408090], 2
je 0x406801
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 + 4], 0x408090
mov dword [esp], 1
mov dword [esp + 0x10], eax
call fcn.00402cb0
jmp 0x406801
mov eax, dword [ebp - 0xe28]
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 0x405487
test byte [0x408090], 8
jne 0x407e18
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0xc28]
mov dword [esp], eax
call dword [sym.imp.kernelbase.dll_WaitForSingleObject]
lea eax, [ebp - 0xe30]
push edi
push edi
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]
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
mov eax, dword [esi + 8]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp], eax
call fcn.00403d20
sub esp, 0x14
test eax, eax
jne 0x40722e
test byte [0x408090], 2
je 0x40722e
mov eax, dword fs:[0x18]
mov ebx, dword [eax + 0x34]
mov eax, dword [ebp - 0xe8c]
call fcn.00402a20
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Failed_to_install_drivers_for__s__error__lx._n
mov dword [esp + 8], str.install_root_pnp_devices
mov dword [esp + 4], 0x408090
mov dword [esp], 1
call fcn.00402cb0
jmp 0x40722e
mov eax, dword [ebp - 0xea0]
call fcn.00402c30
mov dword [esp + 0xc], str.restarting__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.main
mov dword [esp + 4], 0x408090
mov dword [esp], 3
call fcn.00402cb0
jmp 0x407d59
test byte [0x408090], 2
je 0x407242
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 + 4], 0x408090
mov dword [esp], 1
mov dword [esp + 0x10], eax
call fcn.00402cb0
jmp 0x407242
mov ebx, dword [eax + 0x34]
mov eax, dword [ebp - 0xe8c]
call fcn.00402a20
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Failed_to_create_device__s__error__lx._n
mov dword [esp + 8], str.install_root_pnp_devices
mov dword [esp + 4], 0x408090
mov dword [esp], 1
call fcn.00402cb0
jmp 0x40722e
mov dword [esp], edi
call dword [sym.imp.kernelbase.dll_DeleteFileW]
push edi
jmp 0x406063
xor eax, eax
mov dword [esp + 0x14], 0xf003f
mov dword [esp + 0x20], eax
lea eax, [ebp - 0xe60]
mov dword [esp + 0x1c], eax
xor eax, eax
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xe6c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xe64]
mov dword [esp], eax
call sub.advapi32.dll_RegCreateKeyExW
sub esp, 0x24
test eax, eax
je 0x407f40
mov eax, dword [ebp - 0xe64]
mov dword [esp], eax
call sub.advapi32.dll_RegCloseKey
push ebx
jmp 0x40731f
xor eax, eax
mov dword [ebp - 0xe54], eax
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0x28
mov eax, dword [ebp - 0xea0]
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp], eax
call fcn.00403a60
sub esp, 0x10
test eax, eax
jne 0x407fc0
lea eax, [ebp - 0xe54]
xor esi, esi
mov dword [esp + 0x14], 4
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 4
mov dword [esp + 8], esi
mov dword [esp + 4], str.Flags
mov eax, dword [ebp - 0xe60]
mov dword [esp], eax
call sub.advapi32.dll_RegSetValueExW
mov eax, dword [ebp - 0xe60]
sub esp, 0x18
mov dword [esp], eax
call sub.advapi32.dll_RegCloseKey
push edi
jmp 0x407f2c
mov ecx, dword [ebp - 0xea0]
mov edx, str.ProfileImagePath
mov eax, dword [ebp - 0xe60]
call fcn.00402820
jmp 0x407f73