Function at 0x402a40
Capabilities:
Check if file exists
Copy file
Set registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, edx
sub esp, 0x8c
mov edi, dword [eax]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x50], edi
cmp eax, edi
je 0x402d3b
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp + 4], eax
mov eax, dword [edi + 0x14]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll__wcsicmp]
test eax, eax
jne 0x402d30
mov ecx, dword [edi + 0x1c]
mov esi, dword [ebx + 8]
mov dword [esp], ecx
mov dword [esp + 4], esi
mov dword [ebp - 0x40], ecx
call dword [sym.imp.ucrtbase.dll_wcscmp]
mov ecx, dword [ebp - 0x40]
test eax, eax
jne 0x402cf8
mov ecx, dword [edi + 0x20]
mov esi, dword [ebx + 0xc]
mov dword [esp], ecx
mov dword [esp + 4], esi
mov dword [ebp - 0x40], ecx
call dword [sym.imp.ucrtbase.dll_wcscmp]
mov ecx, dword [ebp - 0x40]
test eax, eax
jne 0x402d58
mov ecx, dword [edi + 0x24]
mov esi, dword [ebx + 0x10]
mov dword [esp], ecx
mov dword [esp + 4], esi
mov dword [ebp - 0x40], ecx
call dword [sym.imp.ucrtbase.dll_wcscmp]
mov ecx, dword [ebp - 0x40]
test eax, eax
jne 0x402dd8
mov dword [ebp - 0x50], edi
mov esi, dword [ebx + 4]
mov edi, dword [edi + 0x18]
mov dword [esp + 4], esi
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_wcscmp]
test eax, eax
jne 0x402f60
mov eax, dword [ebp - 0x50]
mov edx, dword [eax + 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 0x60], edx
cmp eax, 2
je 0x402f40
cmp eax, 1
je 0x402d90
mov dword [esp + 4], str.amd64
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + 0x1c]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_wcscmp]
test eax, eax
je 0x403008
mov eax, dword [ebp - 0x50]
mov edi, dword [ebp - 0x3c]
mov ebx, dword [eax + 0x28]
lea esi, [eax + 0x28]
mov dword [eax + 8], 1
cmp esi, ebx
je 0x402b72
mov ecx, dword [ebp - 0x48]
lea edx, [ebx + 8]
mov eax, edi
call sym._install_assembly
test eax, eax
je 0x402d48
mov ebx, dword [ebx]
cmp ebx, esi
jne 0x402b57
test byte [section..data], 8
je 0x402bc6
mov ebx, dword [ebp - 0x48]
mov eax, str.__dryrun_
mov edx, 0xffffffff
test ebx, ebx
mov ebx, 0x40b2bd
cmovne ebx, eax
mov eax, dword [ebp - 0x60]
call sym._wine_dbgstr_wn
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Installing_assembly__s_s_n
mov dword [esp + 8], str.install_assembly
mov dword [esp + 4], 0x40a000
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + 0xc]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll__wcsdup]
mov dword [ebp - 0x40], eax
test eax, eax
je 0x403098
mov dword [esp + 4], 0x2e
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_wcsrchr]
test eax, eax
je 0x402bfa
xor ecx, ecx
mov word [eax], cx
mov eax, dword [ebp - 0x50]
mov ebx, dword [eax + 0x30]
lea ecx, [eax + 0x30]
cmp ecx, ebx
je 0x403df5
mov edx, dword [ebp - 0x48]
mov eax, dword [sym.imp.ucrtbase.dll_free]
mov dword [ebp - 0x44], ecx
test edx, edx
mov dword [ebp - 0x58], eax
je 0x402cd1
jmp 0x402e6b
mov edx, dword [ebx + 8]
call sym._path_combine
mov esi, eax
test eax, eax
je 0x402ee8
mov edx, dword [ebx + 8]
mov eax, dword [ebp - 0x40]
call sym._path_combine
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x403078
test byte [section..data], 8
jne 0x4030ce
mov eax, esi
call sym._create_parent_directory
test eax, eax
je 0x403040
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov eax, dword [ebp - 0x3c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CopyFileExW]
sub esp, 0x18
test eax, eax
je 0x403c05
mov dword [esp], edi
mov edi, dword [ebp - 0x58]
call edi
mov dword [esp], esi
call edi
mov eax, dword [ebp - 0x3c]
mov dword [esp], eax
call edi
mov ebx, dword [ebx]
mov eax, dword [ebp - 0x44]
cmp ebx, eax
je 0x403157
mov eax, dword [ebx + 0xc]
call sym._expand_expression.isra.0
mov edi, eax
test eax, eax
jne 0x402c30
mov eax, dword [ebp - 0x40]
mov dword [esp], eax
mov eax, dword [ebp - 0x58]
call eax
jmp 0x402ef8
mov dword [esp + 4], 0x40b06e
mov dword [esp], ecx
call dword [sym.imp.ucrtbase.dll_wcscmp]
test eax, eax
je 0x402aa3
mov dword [esp + 4], 0x40b06e
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_wcscmp]
test eax, eax
je 0x402aa3
lea esi, [esi]
mov edi, dword [edi]
cmp dword [ebp - 0x3c], edi
jne 0x402a68
test byte [section..data], 1
jne 0x402e10
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], 0x40b06e
mov dword [esp], ecx
call dword [sym.imp.ucrtbase.dll_wcscmp]
test eax, eax
je 0x402ac4
mov dword [esp + 4], 0x40b06e
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_wcscmp]
test eax, eax
je 0x402ac4
jmp 0x402d30
test byte [section..data], 2
je 0x402d48
mov eax, edx
mov edx, 0xffffffff
call sym._wine_dbgstr_wn
mov dword [esp + 0xc], str.Assembly__s_caused_circular_dependency_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.install_assembly
mov dword [esp + 4], 0x40a000
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0
jmp 0x402d48
mov dword [esp + 4], 0x40b06e
mov dword [esp], ecx
call dword [sym.imp.ucrtbase.dll_wcscmp]
test eax, eax
je 0x402ae5
mov dword [esp + 4], 0x40b06e
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_wcscmp]
test eax, eax
je 0x402ae5
jmp 0x402d30
mov eax, dword [ebx]
mov edx, 0xffffffff
call sym._wine_dbgstr_wn
mov dword [esp + 0xc], str.Assembly__s_not_found_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.install_assembly
mov dword [esp + 4], 0x40a000
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
jmp 0x402d48
mov dword [esp], edi
mov edi, dword [ebp - 0x58]
call edi
mov dword [esp], esi
call edi
mov eax, dword [ebp - 0x3c]
mov dword [esp], eax
call edi
mov ebx, dword [ebx]
mov eax, dword [ebp - 0x44]
cmp ebx, eax
je 0x403157
mov eax, dword [ebx + 0xc]
call sym._expand_expression.isra.0
mov edi, eax
test eax, eax
je 0x402ce3
mov edx, dword [ebx + 8]
call sym._path_combine
mov esi, eax
test eax, eax
je 0x402ee8
mov edx, dword [ebx + 8]
mov eax, dword [ebp - 0x40]
call sym._path_combine
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x403078
mov dword [esp], eax
call sym._PathFileExistsW_4
sub esp, 4
test eax, eax
jne 0x402e49
mov dword [ebp - 0x44], esi
mov ebx, esi
mov esi, dword [ebp - 0x3c]
test byte [section..data], 2
jne 0x403d39
mov dword [esp], edi
mov edi, dword [ebp - 0x58]
call edi
mov dword [esp], ebx
call edi
mov dword [esp], esi
call edi
mov eax, dword [ebp - 0x40]
mov dword [esp], eax
call edi
jmp 0x402ef8
mov dword [esp], edi
mov edi, dword [ebp - 0x58]
call edi
mov eax, dword [ebp - 0x40]
mov dword [esp], eax
call edi
test byte [section..data], 2
je 0x402d48
mov eax, dword [ebp - 0x60]
mov edx, 0xffffffff
call sym._wine_dbgstr_wn
mov dword [esp + 0xc], str.Failed_to_install_all_files_for__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.install_assembly
mov dword [esp + 4], 0x40a000
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0
jmp 0x402d48
test byte [section..data], 8
jne 0x40311e
lea esp, [ebp - 0xc]
mov eax, 1
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], 0x40b06e
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_wcscmp]
test eax, eax
je 0x402b03
mov dword [esp + 4], 0x40b06e
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_wcscmp]
test eax, eax
je 0x402b03
test byte [section..data], 4
je 0x402b03
mov eax, dword [ebp - 0x50]
mov edx, 0xffffffff
mov eax, dword [eax + 0x18]
call sym._wine_dbgstr_wn
mov edx, 0xffffffff
mov edi, eax
mov eax, dword [ebx + 4]
call sym._wine_dbgstr_wn
mov edx, 0xffffffff
mov esi, eax
mov eax, dword [ebx]
call sym._wine_dbgstr_wn
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Ignoring_version_difference_for__s__expected__s__found__s__n
mov dword [esp + 8], str.lookup_assembly
mov dword [esp + 4], 0x40a000
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0
jmp 0x402b03
test byte [section..data], 2
je 0x402d48
mov dword [esp + 0xc], str.Cannot_install_amd64_assembly_in_32_bit_prefix_n
mov dword [esp + 8], str.install_assembly
mov dword [esp + 4], 0x40a000
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0
jmp 0x402d48
mov dword [ebp - 0x44], esi
test byte [section..data], 2
jne 0x403bbf
mov dword [esp], edi
mov edi, dword [ebp - 0x58]
call edi
mov dword [esp], esi
mov esi, edi
call esi
mov eax, dword [ebp - 0x3c]
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x40]
mov dword [esp], eax
call esi
jmp 0x402ef8
mov dword [ebp - 0x44], esi
mov dword [esp], edi
mov edi, dword [ebp - 0x58]
call edi
mov eax, dword [ebp - 0x44]
mov dword [esp], eax
call edi
mov eax, dword [ebp - 0x40]
mov dword [esp], eax
call edi
jmp 0x402ef8
test byte [section..data], 2
je 0x402d48
mov dword [esp + 0xc], str.Failed_to_get_assembly_source_directory_n
mov dword [esp + 8], str.install_files
mov dword [esp + 4], 0x40a000
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0
jmp 0x402ef8
mov edx, 0xffffffff
mov eax, esi
call sym._wine_dbgstr_wn
mov edx, 0xffffffff
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x3c]
call sym._wine_dbgstr_wn
mov edx, dword [ebp - 0x4c]
mov dword [esp + 0xc], str.Copying__s_____s_n
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov dword [esp + 8], str.install_files_copy
mov dword [esp + 4], 0x40a000
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x402c65
mov eax, edx
mov edx, 0xffffffff
call sym._wine_dbgstr_wn
mov dword [esp + 0xc], str.Assembly__s_already_installed_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.install_assembly
mov dword [esp + 4], 0x40a000
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x402f4d
mov eax, dword [ebp - 0x40]
mov dword [esp], eax
mov eax, dword [ebp - 0x58]
call eax
mov eax, dword [ebp - 0x50]
mov edx, dword [eax + 0x38]
lea ecx, [eax + 0x38]
mov dword [ebp - 0x54], edx
cmp edx, ecx
je 0x40342e
mov dword [ebp - 0x64], ecx
lea esi, [esi]
mov eax, dword [ebp - 0x54]
mov edi, dword [eax + 8]
mov dword [esp + 4], 0x5c
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_wcschr]
mov esi, eax
test eax, eax
je 0x403498
mov ebx, eax
mov eax, str.HKEY_CLASSES_ROOT
sub ebx, edi
mov edx, ebx
sar edx, 1
nop
add eax, 2
cmp word [eax], 0
jne 0x4031b0
sub eax, str.HKEY_CLASSES_ROOT
cmp ebx, eax
je 0x403a10
mov eax, str.HKEY_CURRENT_CONFIG
lea esi, cs:[esi]
add eax, 2
cmp word [eax], 0
jne 0x4031d0
sub eax, str.HKEY_CURRENT_CONFIG
cmp ebx, eax
je 0x403a40
mov eax, str.HKEY_CURRENT_USER
lea esi, cs:[esi]
add eax, 2
cmp word [eax], 0
jne 0x4031f0
sub eax, str.HKEY_CURRENT_USER
cmp ebx, eax
je 0x403a70
mov eax, str.HKEY_LOCAL_MACHINE
lea esi, cs:[esi]
add eax, 2
cmp word [eax], 0
jne 0x403210
sub eax, str.HKEY_LOCAL_MACHINE
cmp ebx, eax
je 0x403aa0
mov eax, str.HKEY_USERS
lea esi, cs:[esi]
add eax, 2
cmp word [eax], 0
jne 0x403230
sub eax, str.HKEY_USERS
cmp ebx, eax
jne 0x4037f0
mov dword [esp + 8], edx
mov dword [ebp - 0x3c], edx
mov dword [esp + 4], str.HKEY_USERS
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_wcsncmp]
mov edx, dword [ebp - 0x3c]
test eax, eax
jne 0x4037f0
mov ebx, 0x80000003
test byte [section..data], 8
jne 0x403908
mov edi, dword [ebp - 0x48]
test edi, edi
je 0x4033a8
mov eax, dword [ebp - 0x54]
mov edi, dword [eax + 0xc]
add eax, 0xc
mov dword [ebp - 0x4c], eax
cmp eax, edi
je 0x40341b
mov ebx, edi
lea esi, [esi]
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x44], eax
test byte [section..data], 8
jne 0x4034a8
mov dword [esp + 4], str.REG_SZ
mov eax, dword [ebx + 0xc]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_wcscmp]
test eax, eax
je 0x403450
mov dword [esp + 4], str.REG_EXPAND_SZ
mov eax, dword [ebx + 0xc]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_wcscmp]
test eax, eax
je 0x4034f8
mov dword [esp + 4], str.REG_MULTI_SZ
mov eax, dword [ebx + 0xc]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_wcscmp]
test eax, eax
je 0x403518
mov dword [esp + 4], str.REG_DWORD
mov eax, dword [ebx + 0xc]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_wcscmp]
mov edx, dword [ebx + 0xc]
test eax, eax
je 0x4036f0
mov dword [esp + 4], str.REG_BINARY
mov dword [esp], edx
call dword [sym.imp.ucrtbase.dll_wcscmp]
test eax, eax
je 0x403840
movzx eax, byte [section..data]
test al, 1
jne 0x4037a8
mov ecx, dword [ebp - 0x48]
test ecx, ecx
je 0x403768
lea esi, [esi]
test al, 2
je 0x402d48
mov eax, dword [ebp - 0x60]
mov edx, 0xffffffff
call sym._wine_dbgstr_wn
mov dword [esp + 0xc], str.Failed_to_install_registry_keys_for__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.install_assembly
mov dword [esp + 4], 0x40a000
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0
jmp 0x402d48
lea eax, [ebp - 0x30]
lea edi, [esi + 2]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], eax
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], edi
mov dword [esp], ebx
call sym._RegCreateKeyExW_36
sub esp, 0x24
test eax, eax
jne 0x403d8f
mov eax, dword [ebp - 0x54]
mov edi, dword [eax + 0xc]
add eax, 0xc
mov dword [ebp - 0x4c], eax
cmp eax, edi
jne 0x40329a
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call sym._RegCloseKey_4
sub esp, 4
mov eax, dword [ebp - 0x54]
mov edx, dword [ebp - 0x64]
mov eax, dword [eax]
mov dword [ebp - 0x54], eax
cmp eax, edx
jne 0x403180
test byte [section..data], 8
jne 0x403cff
mov eax, dword [ebp - 0x50]
mov dword [eax + 8], 2
jmp 0x402f4d
mov eax, dword [ebp - 0x48]
mov ecx, 1
mov edx, ebx
mov dword [esp], eax
mov eax, dword [ebp - 0x44]
call sym._install_registry_string.isra.0
test eax, eax
je 0x40396a
mov ebx, dword [ebx]
mov eax, dword [ebp - 0x4c]
cmp ebx, eax
jne 0x4032a0
cmp dword [ebp - 0x48], 0
jne 0x40341b
mov ebx, 1
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call sym._RegCloseKey_4
push edx
test ebx, ebx
jne 0x40341b
lea esi, [esi]
movzx eax, byte [section..data]
jmp 0x403360
mov eax, dword [ebx + 0x10]
mov edx, 0xffffffff
call sym._wine_dbgstr_wn
mov edx, 0xffffffff
mov esi, eax
mov eax, dword [ebx + 8]
call sym._wine_dbgstr_wn
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Setting_registry_key__s___s_n
mov dword [esp + 8], str.install_registry_value
mov dword [esp + 4], 0x40a000
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x4032b3
mov eax, dword [ebp - 0x48]
mov ecx, 2
mov edx, ebx
mov dword [esp], eax
mov eax, dword [ebp - 0x44]
call sym._install_registry_string.isra.0
jmp 0x403465
mov edi, dword [ebx + 0x10]
test edi, edi
je 0x403788
movzx edx, word [edi]
test dx, dx
mov dword [ebp - 0x3c], edx
je 0x403788
mov dword [esp], pe_nt_image_headers32
call dword [sym.imp.ucrtbase.dll_malloc]
mov esi, eax
test eax, eax
je 0x40396a
mov edx, dword [ebp - 0x3c]
cmp dx, 0x22
jne 0x4039d0
xor eax, eax
mov edx, esi
mov dword [ebp - 0x5c], ebx
mov esi, edi
mov ecx, 0x40
mov edi, eax
jmp 0x4035de
lea eax, [edi + 2]
cmp ecx, eax
jae 0x4035a7
lea esi, [ecx + ecx]
mov dword [ebp - 0x40], ecx
cmp esi, eax
mov dword [esp], edx
cmovb esi, eax
lea eax, [esi + esi]
mov dword [esp + 4], eax
mov dword [ebp - 0x3c], edx
call dword [sym.imp.ucrtbase.dll_realloc]
mov edx, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x40]
test eax, eax
je 0x403de0
mov ecx, esi
mov edx, eax
xor esi, esi
lea eax, [edi + edi]
mov word [edx + edi*2], si
xor esi, esi
add edi, 1
mov word [edx + eax + 2], si
movzx eax, word [ebx + 2]
test ax, ax
je 0x403640
cmp ax, 0x2c
jne 0x403980
movzx eax, word [ebx + 4]
lea esi, [ebx + 4]
cmp ax, 0x22
jne 0x4039c0
add esi, 2
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x40], ecx
mov dword [esp + 4], 0x40b5d6
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_wcsstr]
mov edx, dword [ebp - 0x3c]
test eax, eax
mov ebx, eax
je 0x403948
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x24], edx
mov edx, esi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], ecx
mov ecx, eax
lea eax, [ebp - 0x24]
sub ecx, esi
sar ecx, 1
call sym._strbuf_append.isra.0
mov edx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
test edx, edx
jne 0x403570
xor edx, edx
movzx eax, word [ebx + 2]
test ax, ax
jne 0x4035c3
lea esi, [esi]
mov ebx, dword [ebp - 0x5c]
mov esi, edx
mov edx, edi
test esi, esi
je 0x403c7a
lea eax, [edx + 2]
cmp ecx, eax
jae 0x40367d
add ecx, ecx
mov dword [ebp - 0x3c], edx
cmp ecx, eax
mov dword [esp], esi
cmovb ecx, eax
lea eax, [ecx + ecx]
mov dword [esp + 4], eax
call dword [sym.imp.ucrtbase.dll_realloc]
mov edx, dword [ebp - 0x3c]
test eax, eax
je 0x403c6f
mov esi, eax
lea eax, [edx + edx]
xor ecx, ecx
xor edi, edi
mov word [esi + edx*2], cx
lea edx, [eax + 2]
mov word [esi + eax + 2], di
mov eax, dword [ebp - 0x48]
test eax, eax
jne 0x403797
lea esi, cs:[esi]
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 7
mov dword [esp + 8], 0
mov eax, dword [ebx + 8]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x44]
mov dword [esp], eax
call sym._RegSetValueExW_24
sub esp, 0x18
test eax, eax
je 0x403797
mov edi, esi
test byte [section..data], 2
jne 0x403b7d
mov dword [esp], edi
mov eax, dword [ebp - 0x58]
call eax
jmp 0x403768
test edx, edx
je 0x40370d
mov dword [esp + 8], 0x10
mov dword [esp + 4], 0
mov dword [esp], edx
call dword [sym.imp.ucrtbase.dll_wcstoul]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x48]
test eax, eax
jne 0x40346d
lea ecx, [ebp - 0x2c]
mov dword [esp + 0x14], 4
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0
mov eax, dword [ebx + 8]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x44]
mov dword [esp], eax
call sym._RegSetValueExW_24
sub esp, 0x18
test eax, eax
je 0x40346d
test byte [section..data], 2
jne 0x403c98
lea esi, [esi]
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call sym._RegCloseKey_4
movzx eax, byte [section..data]
sub esp, 4
jmp 0x403360
xor edx, edx
xor esi, esi
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x4036a0
mov dword [esp], esi
mov eax, dword [ebp - 0x58]
call eax
jmp 0x40346d
mov eax, dword [ebx + 0xc]
mov edx, 0xffffffff
call sym._wine_dbgstr_wn
mov dword [esp + 0xc], str.Unsupported_registry_value_type__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.install_registry_value
mov dword [esp + 4], 0x40a000
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
mov ebx, dword [ebp - 0x48]
test ebx, ebx
jne 0x403498
jmp 0x403768
movzx eax, byte [section..data]
test al, 1
je 0x403360
mov eax, edi
call sym._wine_dbgstr_wn
mov dword [esp + 0xc], str.Unknown_root_key__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.split_registry_key
mov dword [esp + 4], 0x40a000
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
movzx eax, byte [section..data]
jmp 0x403360
mov esi, dword [ebx + 0x10]
xor edi, edi
mov dword [ebp - 0x2c], 0
mov word [ebp - 0x28], di
test esi, esi
je 0x403cf6
movzx edx, word [esi]
mov eax, esi
test dx, dx
je 0x403cd2
lea esi, cs:[esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x403870
sub eax, esi
mov dword [ebp - 0x40], edx
test al, 2
jne 0x40396a
sar eax, 2
mov dword [ebp - 0x5c], eax
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x40396a
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x40], ebx
mov ebx, eax
mov edi, ecx
lea esi, [esi]
mov word [ebp - 0x2c], dx
movzx eax, word [esi + 2]
add ebx, 1
add esi, 4
mov word [ebp - 0x2a], ax
mov dword [esp + 8], 0x10
mov dword [esp + 4], 0
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_wcstoul]
mov byte [ebx - 1], al
movzx edx, word [esi]
test dx, dx
jne 0x4038b0
mov ebx, dword [ebp - 0x40]
mov esi, dword [ebp - 0x48]
test esi, esi
je 0x403ac8
mov eax, dword [ebp - 0x3c]
mov dword [esp], eax
mov eax, dword [ebp - 0x58]
call eax
jmp 0x40346d
mov eax, dword [ebp - 0x54]
mov edx, 0xffffffff
mov eax, dword [eax + 8]
call sym._wine_dbgstr_wn
mov dword [esp + 0xc], str.Processing_registry_key__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.install_registry
mov dword [esp + 4], 0x40a000
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x40327b
mov ebx, dword [ebp - 0x5c]
mov esi, edx
mov dword [esp], esi
mov eax, dword [ebp - 0x58]
call eax
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x403788
cmp word [eax], 0
je 0x403788
mov eax, dword [ebp - 0x48]
test eax, eax
jne 0x403498
xor ebx, ebx
jmp 0x403485
mov ebx, dword [ebp - 0x5c]
mov esi, edx
test byte [section..data], 1
je 0x40394d
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Error_while_parsing_REG_MULTI_SZ_string:_Expected_comma_but_got__c_n
mov dword [esp + 8], str.parse_multisz
mov dword [esp + 4], 0x40a000
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
jmp 0x40394d
mov esi, edx
mov ebx, dword [ebp - 0x5c]
mov edx, edi
test ax, ax
je 0x403647
test byte [section..data], 1
je 0x40394d
mov dword [esp + 0xc], str.Error_while_parsing_REG_MULTI_SZ_string:_Garbage_at_end_of_string_n
mov dword [esp + 8], str.parse_multisz
mov dword [esp + 4], 0x40a000
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
jmp 0x40394d
mov dword [esp + 8], edx
mov dword [ebp - 0x3c], edx
mov dword [esp + 4], str.HKEY_CLASSES_ROOT
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_wcsncmp]
test eax, eax
je 0x403b55
mov edx, dword [ebp - 0x3c]
jmp 0x4031c6
mov dword [esp + 8], edx
mov dword [ebp - 0x3c], edx
mov dword [esp + 4], str.HKEY_CURRENT_CONFIG
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_wcsncmp]
test eax, eax
je 0x403b5f
mov edx, dword [ebp - 0x3c]
jmp 0x4031e6
mov dword [esp + 8], edx
mov dword [ebp - 0x3c], edx
mov dword [esp + 4], str.HKEY_CURRENT_USER
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_wcsncmp]
test eax, eax
je 0x403b69
mov edx, dword [ebp - 0x3c]
jmp 0x403206
mov dword [esp + 8], edx
mov dword [ebp - 0x3c], edx
mov dword [esp + 4], str.HKEY_LOCAL_MACHINE
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_wcsncmp]
test eax, eax
je 0x403b73
mov edx, dword [ebp - 0x3c]
jmp 0x403226
mov eax, dword [ebp - 0x5c]
mov dword [esp + 0x14], eax
mov edi, dword [ebp - 0x3c]
mov dword [esp + 0xc], 3
mov dword [esp + 0x10], edi
mov dword [esp + 8], 0
mov eax, dword [ebx + 8]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x44]
mov dword [esp], eax
call sym._RegSetValueExW_24
sub esp, 0x18
test eax, eax
je 0x4038f4
test byte [section..data], 2
je 0x4036e4
mov eax, dword [ebx + 8]
mov edx, 0xffffffff
call sym._wine_dbgstr_wn
mov dword [esp + 0xc], str.Failed_to_set_registry_key__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.install_registry_binary
mov dword [esp + 4], 0x40a000
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0
mov eax, dword [ebp - 0x3c]
mov dword [esp], eax
mov eax, dword [ebp - 0x58]
call eax
jmp 0x403768
mov ebx, 0x80000000
jmp 0x40326e
mov ebx, 0x80000005
jmp 0x40326e
mov ebx, 0x80000001
jmp 0x40326e
mov ebx, 0x80000002
jmp 0x40326e
mov eax, dword [ebx + 8]
mov edx, 0xffffffff
call sym._wine_dbgstr_wn
mov dword [esp + 0xc], str.Failed_to_set_registry_key__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.install_registry_multisz
mov dword [esp + 4], 0x40a000
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0
mov dword [esp], esi
mov eax, dword [ebp - 0x58]
call eax
jmp 0x403768
mov edx, 0xffffffff
mov eax, esi
mov ebx, esi
call sym._wine_dbgstr_wn
mov dword [esp + 0xc], str.Failed_to_create_parent_directory_for__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.install_files_copy
mov dword [esp + 4], 0x40a000
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0
mov dword [esp], edi
mov esi, dword [ebp - 0x58]
call esi
mov dword [esp], ebx
jmp 0x40305d
mov dword [ebp - 0x44], esi
test byte [section..data], 2
je 0x403050
mov eax, esi
mov edx, 0xffffffff
call sym._wine_dbgstr_wn
mov edx, 0xffffffff
mov ebx, eax
mov eax, dword [ebp - 0x3c]
call sym._wine_dbgstr_wn
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Failed_to_copy__s_to__s_n
mov dword [esp + 8], str.install_files_copy
mov dword [esp + 4], 0x40a000
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0
mov dword [esp], edi
mov esi, dword [ebp - 0x58]
call esi
mov edx, dword [ebp - 0x44]
mov dword [esp], edx
jmp 0x40305d
mov dword [esp], esi
mov eax, dword [ebp - 0x58]
call eax
mov edx, dword [ebp - 0x3c]
mov esi, dword [ebx + 0x10]
add edx, edx
test esi, esi
je 0x40378c
cmp word [esi], 0
jne 0x40396a
xor esi, esi
jmp 0x40378c
mov eax, dword [ebx + 8]
mov edx, 0xffffffff
call sym._wine_dbgstr_wn
mov dword [esp + 0xc], str.Failed_to_set_registry_key__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.install_registry_dword
mov dword [esp + 4], 0x40a000
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0
jmp 0x403768
mov dword [esp], 0
call dword [sym.imp.ucrtbase.dll_malloc]
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x40396a
mov dword [ebp - 0x5c], 0
jmp 0x4038e9
mov dword [ebp - 0x3c], 0
jmp 0x403cea
mov eax, dword [ebp - 0x60]
mov edx, 0xffffffff
call sym._wine_dbgstr_wn
mov dword [esp + 0xc], str.Installation_of__s_finished_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.install_assembly
mov dword [esp + 4], 0x40a000
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x40343b
mov edx, 0xffffffff
mov eax, esi
call sym._wine_dbgstr_wn
mov dword [esp + 0xc], str.Required_file__s_not_found_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.install_files_copy
mov dword [esp + 4], 0x40a000
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0
mov dword [esp], edi
mov edi, dword [ebp - 0x58]
call edi
mov eax, dword [ebp - 0x44]
mov dword [esp], eax
call edi
mov dword [esp], esi
call edi
mov eax, dword [ebp - 0x40]
mov dword [esp], eax
call edi
jmp 0x402ef8
test byte [section..data], 2
je 0x402d48
mov eax, dword [ebp - 0x54]
mov edx, 0xffffffff
mov eax, dword [eax + 8]
call sym._wine_dbgstr_wn
mov dword [esp + 0xc], str.Failed_to_open_registry_key__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.install_registry
mov dword [esp + 4], 0x40a000
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0
movzx eax, byte [section..data]
jmp 0x403360
mov dword [ebp - 0x3c], ecx
mov dword [esp], edx
mov eax, dword [ebp - 0x58]
call eax
mov ecx, dword [ebp - 0x3c]
xor edx, edx
jmp 0x403634
mov eax, dword [ebp - 0x40]
mov dword [esp], eax
mov eax, dword [sym.imp.ucrtbase.dll_free]
mov dword [ebp - 0x58], eax
call eax
jmp 0x403162