Function at 0x402910
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, 0x64
mov dword [ebp - 0x28], ecx
mov ecx, dword [eax]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x30], ecx
mov esi, dword [ebp - 0x30]
cmp eax, ecx
je 0x402c13
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp + 4], eax
mov eax, dword [esi + 0x14]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll__wcsicmp]
test eax, eax
jne 0x402c08
mov edx, dword [esi + 0x1c]
mov edi, dword [ebx + 8]
mov dword [esp], edx
mov dword [esp + 4], edi
mov dword [ebp - 0x24], edx
call dword [sym.imp.ucrtbase.dll_wcscmp]
mov edx, dword [ebp - 0x24]
test eax, eax
jne 0x402bd0
mov edx, dword [esi + 0x20]
mov edi, dword [ebx + 0xc]
mov dword [esp], edx
mov dword [esp + 4], edi
mov dword [ebp - 0x24], edx
call dword [sym.imp.ucrtbase.dll_wcscmp]
mov edx, dword [ebp - 0x24]
test eax, eax
jne 0x402c90
mov edx, dword [esi + 0x24]
mov edi, dword [ebx + 0x10]
mov dword [esp], edx
mov dword [esp + 4], edi
mov dword [ebp - 0x24], edx
call dword [sym.imp.ucrtbase.dll_wcscmp]
mov edx, dword [ebp - 0x24]
test eax, eax
jne 0x402d50
mov eax, esi
mov dword [ebp - 0x30], esi
mov esi, dword [ebx + 4]
mov edi, dword [eax + 0x18]
mov dword [esp + 4], esi
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_wcscmp]
test eax, eax
jne 0x402db0
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 0x3c], ecx
cmp eax, 2
je 0x402d90
cmp eax, 1
je 0x402cd0
mov dword [esp + 4], str.amd64
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x1c]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_wcscmp]
test eax, eax
je 0x402f10
mov eax, dword [ebp - 0x30]
mov edi, dword [ebp - 0x20]
mov ebx, dword [eax + 0x28]
lea esi, [eax + 0x28]
mov dword [eax + 8], 1
cmp ebx, esi
je 0x402a44
mov ecx, dword [ebp - 0x28]
lea edx, [ebx + 8]
mov eax, edi
call fcn.00402910
test eax, eax
je 0x402bc3
mov ebx, dword [ebx]
cmp ebx, esi
jne 0x402a29
test byte [section..data], 8
je 0x402ad3
mov ebx, dword [ebp - 0x28]
mov eax, str.__dryrun_
test ebx, ebx
mov ebx, 0x40a2be
cmovne ebx, eax
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x404104
shr eax, 0x10
test eax, eax
je 0x4034ed
mov dword [esp + 4], 0xffffffff
mov edi, dword [ebp - 0x3c]
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, 0x40a015
test edx, edx
jne 0x402aa7
mov edx, 0xffffffff
mov eax, edi
call fcn.00401490
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], 0x408000
mov dword [esp], 3
call fcn.00401ad0
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0xc]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll__wcsdup]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x403f6e
mov dword [esp + 4], 0x2e
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_wcsrchr]
test eax, eax
je 0x402b07
xor ecx, ecx
mov word [eax], cx
mov eax, dword [ebp - 0x30]
mov ebx, dword [eax + 0x30]
lea ecx, [eax + 0x30]
cmp ebx, ecx
je 0x404400
mov eax, dword [sym.imp.ucrtbase.dll_free]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x38], eax
lea esi, cs:[esi]
mov eax, dword [ebx + 0xc]
call fcn.00402320
mov edi, eax
test eax, eax
je 0x4043f0
mov edx, dword [ebx + 8]
call fcn.00401e20
mov esi, eax
test eax, eax
je 0x402ef8
mov edx, dword [ebx + 8]
mov eax, dword [ebp - 0x24]
call fcn.00401e20
mov dword [ebp - 0x20], eax
test eax, eax
je 0x403268
mov edx, dword [ebp - 0x28]
test edx, edx
jne 0x402f50
test byte [section..data], 8
jne 0x403288
mov eax, esi
call fcn.00401d60
test eax, eax
jne 0x403210
mov dword [ebp - 0x28], esi
test byte [section..data], 2
jne 0x403e87
mov dword [esp], edi
mov edi, dword [ebp - 0x38]
call edi
mov dword [esp], esi
call edi
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call edi
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call edi
test byte [section..data], 2
jne 0x403464
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], 0x40a06e
mov dword [esp], edx
call dword [sym.imp.ucrtbase.dll_wcscmp]
test eax, eax
je 0x402973
mov dword [esp + 4], 0x40a06e
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_wcscmp]
test eax, eax
je 0x402973
lea esi, [esi]
mov esi, dword [esi]
cmp dword [ebp - 0x20], esi
jne 0x402938
test byte [section..data], 1
je 0x402bc3
mov ebx, dword [ebx]
test ebx, ebx
je 0x40351d
mov eax, ebx
shr eax, 0x10
test eax, eax
je 0x40402a
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, 0x40a015
test edx, edx
jne 0x402c5e
mov edx, 0xffffffff
mov eax, ebx
call fcn.00401490
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Assembly__s_not_found_n
mov dword [esp + 8], str.install_assembly
mov dword [esp + 4], 0x408000
mov dword [esp], 0
call fcn.00401ad0
jmp 0x402bc3
mov dword [esp + 4], 0x40a06e
mov dword [esp], edx
call dword [sym.imp.ucrtbase.dll_wcscmp]
test eax, eax
je 0x402994
mov dword [esp + 4], 0x40a06e
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_wcscmp]
test eax, eax
je 0x402994
jmp 0x402c08
test byte [section..data], 2
je 0x402bc3
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x404126
shr eax, 0x10
test eax, eax
je 0x403505
mov dword [esp + 4], 0xffffffff
mov edi, dword [ebp - 0x3c]
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, 0x40a015
test edx, edx
jne 0x402d21
mov edx, 0xffffffff
mov eax, edi
call fcn.00401490
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Assembly__s_caused_circular_dependency_n
mov dword [esp + 8], str.install_assembly
mov dword [esp + 4], 0x408000
mov dword [esp], 1
call fcn.00401ad0
jmp 0x402bc3
mov dword [esp + 4], 0x40a06e
mov dword [esp], edx
call dword [sym.imp.ucrtbase.dll_wcscmp]
test eax, eax
je 0x4029b5
mov dword [esp + 4], 0x40a06e
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_wcscmp]
test eax, eax
je 0x4029b5
jmp 0x402c08
test byte [section..data], 8
jne 0x403334
mov eax, 1
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], 0x40a06e
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_wcscmp]
test eax, eax
je 0x4029d5
mov dword [esp + 4], 0x40a06e
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_wcscmp]
test eax, eax
je 0x4029d5
test byte [section..data], 4
je 0x4029d5
mov eax, dword [ebp - 0x30]
mov esi, dword [eax + 0x18]
test esi, esi
je 0x40403f
mov eax, esi
shr eax, 0x10
test eax, eax
je 0x4034d5
mov dword [esp + 4], 0xffffffff
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
sub esp, 8
mov dword [ebp - 0x24], 0x40a015
test eax, eax
jne 0x402e38
mov edx, 0xffffffff
mov eax, esi
call fcn.00401490
mov dword [ebp - 0x24], eax
mov esi, dword [ebx + 4]
test esi, esi
je 0x404074
mov eax, esi
shr eax, 0x10
test eax, eax
je 0x403fe0
mov dword [esp + 4], 0xffffffff
mov edi, 0x40a015
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
sub esp, 8
test eax, eax
jne 0x402e7b
mov edx, 0xffffffff
mov eax, esi
call fcn.00401490
mov edi, eax
mov ebx, dword [ebx]
test ebx, ebx
je 0x404055
mov eax, ebx
shr eax, 0x10
test eax, eax
je 0x40400c
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, 0x40a015
test edx, edx
jne 0x402ebd
mov edx, 0xffffffff
mov eax, ebx
call fcn.00401490
mov ecx, dword [ebp - 0x24]
mov dword [esp + 0x14], edi
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 + 0x18], ecx
mov dword [esp + 4], 0x408000
mov dword [esp], 2
call fcn.00401ad0
jmp 0x4029d5
mov dword [esp], edi
mov edi, dword [ebp - 0x38]
call edi
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call edi
jmp 0x402bb6
test byte [section..data], 2
je 0x402bc3
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], 0x408000
mov dword [esp], 1
call fcn.00401ad0
jmp 0x402bc3
mov dword [esp], eax
call dword [sym.imp.shlwapi.dll_PathFileExistsW]
sub esp, 4
test eax, eax
je 0x403dc2
mov dword [esp], edi
mov edi, dword [ebp - 0x38]
call edi
mov dword [esp], esi
call edi
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call edi
mov ebx, dword [ebx]
mov eax, dword [ebp - 0x2c]
cmp ebx, eax
jne 0x402b28
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
mov eax, dword [ebp - 0x38]
call eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0x38]
add eax, 0x38
mov dword [ebp - 0x44], eax
cmp ecx, eax
je 0x403430
mov dword [ebp - 0x34], ecx
lea esi, cs:[esi]
mov eax, dword [ebp - 0x34]
mov ebx, dword [eax + 8]
mov dword [esp + 4], 0x5c
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_wcschr]
mov esi, eax
test eax, eax
je 0x403590
mov ecx, eax
mov eax, str.HKEY_CLASSES_ROOT
sub ecx, ebx
mov edi, ecx
sar edi, 1
nop
add eax, 2
cmp word [eax], 0
jne 0x402fe0
sub eax, str.HKEY_CLASSES_ROOT
cmp ecx, eax
je 0x403be8
mov eax, str.HKEY_CURRENT_CONFIG
lea esi, cs:[esi]
add eax, 2
cmp word [eax], 0
jne 0x403000
sub eax, str.HKEY_CURRENT_CONFIG
cmp ecx, eax
je 0x403c10
mov eax, str.HKEY_CURRENT_USER
lea esi, cs:[esi]
add eax, 2
cmp word [eax], 0
jne 0x403020
sub eax, str.HKEY_CURRENT_USER
cmp ecx, eax
je 0x403c40
mov eax, str.HKEY_LOCAL_MACHINE
lea esi, cs:[esi]
add eax, 2
cmp word [eax], 0
jne 0x403040
sub eax, str.HKEY_LOCAL_MACHINE
cmp ecx, eax
je 0x403c70
mov eax, str.HKEY_USERS
lea esi, cs:[esi]
add eax, 2
cmp word [eax], 0
jne 0x403060
sub eax, str.HKEY_USERS
cmp ecx, eax
jne 0x403960
mov dword [esp + 8], edi
mov dword [esp + 4], str.HKEY_USERS
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_wcsncmp]
test eax, eax
jne 0x403960
mov ebx, 0x80000003
test byte [section..data], 8
jne 0x403aa8
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x4033a8
mov eax, dword [ebp - 0x34]
mov edi, dword [eax + 0xc]
add eax, 0xc
mov dword [ebp - 0x2c], eax
cmp edi, eax
je 0x40341d
mov ebx, edi
lea esi, cs:[esi]
nop
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
test byte [section..data], 8
jne 0x4035a0
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 0x403538
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 0x403660
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 0x403680
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 0x403788
mov dword [esp + 4], str.REG_BINARY
mov dword [esp], edx
call dword [sym.imp.ucrtbase.dll_wcscmp]
test eax, eax
je 0x4039e0
movzx eax, byte [section..data]
test al, 1
jne 0x403870
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x403800
lea esi, [esi]
test al, 2
je 0x402bc3
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x4043c7
shr eax, 0x10
test eax, eax
je 0x4043a5
mov dword [esp + 4], 0xffffffff
mov edi, dword [ebp - 0x3c]
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, 0x40a015
test edx, edx
jne 0x4031dc
mov edx, 0xffffffff
mov eax, edi
call fcn.00401490
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Failed_to_install_registry_keys_for__s_n
mov dword [esp + 8], str.install_assembly
mov dword [esp + 4], 0x408000
mov dword [esp], 1
call fcn.00401ad0
jmp 0x402bc3
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 - 0x20]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CopyFileExW]
sub esp, 0x18
test eax, eax
je 0x403e49
mov dword [esp], edi
mov edi, dword [ebp - 0x38]
call edi
mov dword [esp], esi
call edi
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call edi
jmp 0x402f79
mov dword [esp], edi
mov edi, dword [ebp - 0x38]
call edi
mov dword [esp], esi
call edi
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call edi
jmp 0x402bb6
mov eax, esi
shr eax, 0x10
test eax, eax
je 0x40344c
mov dword [esp + 4], 0xffffffff
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
sub esp, 8
mov dword [ebp - 0x34], 0x40a015
test eax, eax
jne 0x4032c3
mov edx, 0xffffffff
mov eax, esi
call fcn.00401490
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x20]
shr eax, 0x10
test eax, eax
je 0x403fc8
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, 0x40a015
test edx, edx
jne 0x403300
mov eax, dword [ebp - 0x20]
mov edx, 0xffffffff
call fcn.00401490
mov ecx, dword [ebp - 0x34]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Copying__s_____s_n
mov dword [esp + 8], str.install_files_copy
mov dword [esp + 4], 0x408000
mov dword [esp + 0x14], ecx
mov dword [esp], 3
call fcn.00401ad0
jmp 0x402b7a
mov eax, ecx
test ecx, ecx
je 0x403527
shr eax, 0x10
test eax, eax
je 0x40405f
mov dword [esp + 4], 0xffffffff
mov edi, dword [ebp - 0x3c]
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, 0x40a015
test edx, edx
jne 0x403377
mov edx, 0xffffffff
mov eax, edi
call fcn.00401490
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Assembly__s_already_installed_n
mov dword [esp + 8], str.install_assembly
mov dword [esp + 4], 0x408000
mov dword [esp], 3
call fcn.00401ad0
jmp 0x402d9d
lea eax, [ebp - 0x1c]
add 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], esi
mov dword [esp], ebx
call dword [sym.imp.advapi32.dll_RegCreateKeyExW]
sub esp, 0x24
test eax, eax
jne 0x404273
mov eax, dword [ebp - 0x34]
mov edi, dword [eax + 0xc]
add eax, 0xc
mov dword [ebp - 0x2c], eax
cmp edi, eax
jne 0x4030c4
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x44]
mov eax, dword [eax]
mov dword [ebp - 0x34], eax
cmp eax, ecx
jne 0x402fb0
test byte [section..data], 8
jne 0x40407e
mov eax, dword [ebp - 0x30]
mov dword [eax + 8], 2
jmp 0x402d9d
mov dword [esp + 4], esi
mov dword [esp], 0x40a008
call fcn.004016b0
mov dword [ebp - 0x34], eax
jmp 0x4032c3
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x40434a
shr eax, 0x10
test eax, eax
je 0x4042f8
mov dword [esp + 4], 0xffffffff
mov edi, dword [ebp - 0x3c]
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, 0x40a015
test edx, edx
jne 0x4034a8
mov edx, 0xffffffff
mov eax, edi
call fcn.00401490
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Failed_to_install_all_files_for__s_n
mov dword [esp + 8], str.install_assembly
mov dword [esp + 4], 0x408000
mov dword [esp], 1
call fcn.00401ad0
jmp 0x402bc3
mov dword [esp + 4], esi
mov dword [esp], 0x40a008
call fcn.004016b0
mov dword [ebp - 0x24], eax
jmp 0x402e38
mov eax, dword [ebp - 0x3c]
mov dword [esp], 0x40a008
mov dword [esp + 4], eax
call fcn.004016b0
jmp 0x402aa7
mov eax, dword [ebp - 0x3c]
mov dword [esp], 0x40a008
mov dword [esp + 4], eax
call fcn.004016b0
jmp 0x402d21
mov eax, 0x40a00e
jmp 0x402c5e
mov eax, 0x40a00e
jmp 0x403377
mov eax, dword [ebp - 0x28]
mov ecx, 1
mov edx, ebx
mov dword [esp], eax
mov eax, dword [ebp - 0x24]
call fcn.00402520
test eax, eax
je 0x403770
mov ebx, dword [ebx]
mov eax, dword [ebp - 0x2c]
cmp ebx, eax
jne 0x4030d0
cmp dword [ebp - 0x28], 0
jne 0x40341d
mov ebx, 1
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
push eax
test ebx, ebx
jne 0x40341d
lea esi, cs:[esi]
nop
movzx eax, byte [section..data]
jmp 0x403190
mov edi, dword [ebx + 0x10]
test edi, edi
je 0x403860
mov eax, edi
shr eax, 0x10
test eax, eax
je 0x403838
mov dword [esp + 4], 0xffffffff
mov esi, 0x40a015
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
sub esp, 8
test eax, eax
jne 0x4035e3
mov edx, 0xffffffff
mov eax, edi
call fcn.00401490
mov esi, eax
mov edi, dword [ebx + 8]
test edi, edi
je 0x403855
mov eax, edi
shr eax, 0x10
test eax, eax
je 0x403820
mov dword [esp + 4], 0xffffffff
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, 0x40a015
test edx, edx
jne 0x403626
mov edx, 0xffffffff
mov eax, edi
call fcn.00401490
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], 0x408000
mov dword [esp], 3
call fcn.00401ad0
jmp 0x4030e3
mov eax, dword [ebp - 0x28]
mov ecx, 2
mov edx, ebx
mov dword [esp], eax
mov eax, dword [ebp - 0x24]
call fcn.00402520
jmp 0x40354d
mov esi, dword [ebx + 0x10]
test esi, esi
je 0x4038f0
movzx edx, word [esi]
test dx, dx
mov dword [ebp - 0x20], edx
je 0x4038f0
mov dword [ebp - 0x10], 0x40
mov dword [esp], pe_nt_image_headers32
call dword [sym.imp.ucrtbase.dll_malloc]
mov edi, eax
test eax, eax
je 0x403770
mov edx, dword [ebp - 0x20]
xor ecx, ecx
cmp dx, 0x22
jne 0x403bae
mov dword [ebp - 0x40], ebx
mov edx, eax
mov ebx, ecx
mov edi, esi
jmp 0x40372e
mov ecx, eax
mov dword [ebp - 0x18], edx
mov edx, edi
lea eax, [ebp - 0x18]
sub ecx, edi
mov dword [ebp - 0x14], ebx
sar ecx, 1
call fcn.00401990
mov edx, 0x40a5da
mov ecx, 1
lea eax, [ebp - 0x18]
call fcn.00401990
movzx eax, word [esi + 2]
mov edx, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
test ax, ax
je 0x403b20
cmp ax, 0x2c
jne 0x403b60
movzx eax, word [esi + 4]
lea edi, [esi + 4]
cmp ax, 0x22
jne 0x403ba0
add edi, 2
mov dword [ebp - 0x20], edx
mov dword [esp + 4], 0x40a5d6
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_wcsstr]
mov edx, dword [ebp - 0x20]
test eax, eax
mov esi, eax
jne 0x4036d8
mov ebx, dword [ebp - 0x40]
mov edi, edx
mov dword [esp], edi
mov eax, dword [ebp - 0x38]
call eax
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x4038f0
cmp word [eax], 0
je 0x4038f0
mov edx, dword [ebp - 0x28]
test edx, edx
jne 0x403590
xor ebx, ebx
jmp 0x403571
test edx, edx
je 0x4037a5
mov dword [esp + 8], 0x10
mov dword [esp + 4], 0
mov dword [esp], edx
call dword [sym.imp.ucrtbase.dll_wcstoul]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x403555
lea ecx, [ebp - 0x18]
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 - 0x24]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegSetValueExW]
sub esp, 0x18
test eax, eax
je 0x403555
test byte [section..data], 2
jne 0x403efe
lea esi, [esi]
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
movzx eax, byte [section..data]
sub esp, 4
jmp 0x403190
mov dword [esp + 4], edi
mov dword [esp], 0x40a008
call fcn.004016b0
jmp 0x403626
mov dword [esp + 4], edi
mov dword [esp], 0x40a008
call fcn.004016b0
mov edi, dword [ebx + 8]
mov esi, eax
test edi, edi
jne 0x4035ee
mov eax, 0x40a00e
jmp 0x403626
mov esi, 0x40a00e
jmp 0x4035e3
mov ebx, dword [ebx + 0xc]
test ebx, ebx
je 0x403d34
mov eax, ebx
shr eax, 0x10
test eax, eax
je 0x403ca0
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, 0x40a015
test edx, edx
jne 0x4038b3
mov edx, 0xffffffff
mov eax, ebx
call fcn.00401490
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Unsupported_registry_value_type__s_n
mov dword [esp + 8], str.install_registry_value
mov dword [esp + 4], 0x408000
mov dword [esp], 0
call fcn.00401ad0
mov ebx, dword [ebp - 0x28]
test ebx, ebx
jne 0x403590
jmp 0x403800
xor eax, eax
xor esi, esi
mov edx, dword [ebp - 0x28]
test edx, edx
je 0x403910
mov dword [esp], esi
mov eax, dword [ebp - 0x38]
call eax
jmp 0x403555
mov dword [esp + 0x14], eax
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 - 0x24]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegSetValueExW]
sub esp, 0x18
test eax, eax
je 0x4038fb
test byte [section..data], 2
jne 0x403d52
mov dword [esp], esi
mov eax, dword [ebp - 0x38]
call eax
jmp 0x403800
movzx eax, byte [section..data]
test al, 1
je 0x403190
test ebx, ebx
je 0x40404b
mov eax, ebx
shr eax, 0x10
test eax, eax
je 0x403ff7
mov dword [esp + 4], edi
mov dword [ebp - 0x20], edi
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov ecx, eax
sub esp, 8
mov eax, 0x40a015
test ecx, ecx
jne 0x4039ac
mov edx, dword [ebp - 0x20]
mov eax, ebx
call fcn.00401490
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Unknown_root_key__s_n
mov dword [esp + 8], str.split_registry_key
mov dword [esp + 4], 0x408000
mov dword [esp], 0
call fcn.00401ad0
movzx eax, byte [section..data]
jmp 0x403190
mov esi, dword [ebx + 0x10]
xor edi, edi
mov dword [ebp - 0x18], 0
mov word [ebp - 0x14], di
test esi, esi
je 0x404021
movzx edx, word [esi]
mov eax, esi
test dx, dx
je 0x403fa4
lea esi, cs:[esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x403a10
sub eax, esi
mov dword [ebp - 0x40], edx
test al, 2
jne 0x403770
sar eax, 2
mov dword [ebp - 0x4c], eax
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x403770
mov edx, dword [ebp - 0x40]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x48], ebx
mov ebx, eax
mov edi, ecx
lea esi, [esi]
mov word [ebp - 0x18], dx
movzx eax, word [esi + 2]
add ebx, 1
add esi, 4
mov word [ebp - 0x16], 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 0x403a50
mov ebx, dword [ebp - 0x48]
mov esi, dword [ebp - 0x28]
test esi, esi
je 0x403cb5
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
mov eax, dword [ebp - 0x38]
call eax
jmp 0x403555
mov eax, dword [ebp - 0x34]
mov edi, dword [eax + 8]
test edi, edi
je 0x403e7d
mov eax, edi
shr eax, 0x10
test eax, eax
je 0x403d15
mov dword [esp + 4], 0xffffffff
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, 0x40a015
test edx, edx
jne 0x403aee
mov edx, 0xffffffff
mov eax, edi
call fcn.00401490
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Processing_registry_key__s_n
mov dword [esp + 8], str.install_registry
mov dword [esp + 4], 0x408000
mov dword [esp], 3
call fcn.00401ad0
jmp 0x4030a5
mov ebx, dword [ebp - 0x40]
lea eax, [ebp - 0x18]
mov edx, 0x40a5da
mov ecx, 1
call fcn.00401990
mov eax, dword [ebp - 0x14]
mov edx, dword [ebx + 0x10]
mov esi, dword [ebp - 0x18]
add eax, eax
test edx, edx
je 0x4038f4
cmp word [edx], 0
je 0x4038f4
test esi, esi
jne 0x4038f4
jmp 0x403770
mov ebx, dword [ebp - 0x40]
mov edi, edx
test byte [section..data], 1
je 0x403753
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], 0x408000
mov dword [esp], 0
call fcn.00401ad0
jmp 0x403753
mov ebx, dword [ebp - 0x40]
mov edi, edx
test ax, ax
je 0x403b23
test byte [section..data], 1
je 0x403753
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], 0x408000
mov dword [esp], 0
call fcn.00401ad0
jmp 0x403753
mov dword [ebp - 0x20], ecx
mov dword [esp + 8], edi
mov dword [esp + 4], str.HKEY_CLASSES_ROOT
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_wcsncmp]
test eax, eax
je 0x403d0b
mov ecx, dword [ebp - 0x20]
jmp 0x402ff6
mov dword [ebp - 0x20], ecx
mov dword [esp + 8], edi
mov dword [esp + 4], str.HKEY_CURRENT_CONFIG
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_wcsncmp]
test eax, eax
je 0x403d2a
mov ecx, dword [ebp - 0x20]
jmp 0x403016
mov dword [ebp - 0x20], ecx
mov dword [esp + 8], edi
mov dword [esp + 4], str.HKEY_CURRENT_USER
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_wcsncmp]
test eax, eax
je 0x403d3e
mov ecx, dword [ebp - 0x20]
jmp 0x403036
mov dword [ebp - 0x20], ecx
mov dword [esp + 8], edi
mov dword [esp + 4], str.HKEY_LOCAL_MACHINE
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_wcsncmp]
test eax, eax
je 0x403d48
mov ecx, dword [ebp - 0x20]
jmp 0x403056
mov dword [esp + 4], ebx
mov dword [esp], 0x40a008
call fcn.004016b0
jmp 0x4038b3
mov eax, dword [ebp - 0x4c]
mov dword [esp + 0x14], eax
mov edi, dword [ebp - 0x20]
mov dword [esp + 0xc], 3
mov dword [esp + 8], 0
mov dword [esp + 0x10], edi
mov eax, dword [ebx + 8]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegSetValueExW]
sub esp, 0x18
test eax, eax
je 0x403a94
test byte [section..data], 2
jne 0x404130
mov dword [esp], edi
mov eax, dword [ebp - 0x38]
call eax
jmp 0x403800
mov ebx, 0x80000000
jmp 0x403098
mov dword [esp + 4], edi
mov dword [esp], 0x40a008
call fcn.004016b0
jmp 0x403aee
mov ebx, 0x80000005
jmp 0x403098
mov eax, 0x40a00e
jmp 0x4038b3
mov ebx, 0x80000001
jmp 0x403098
mov ebx, 0x80000002
jmp 0x403098
mov ebx, dword [ebx + 8]
test ebx, ebx
je 0x404269
mov eax, ebx
shr eax, 0x10
test eax, eax
je 0x4040ef
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, 0x40a015
test edx, edx
jne 0x403d95
mov edx, 0xffffffff
mov eax, ebx
call fcn.00401490
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Failed_to_set_registry_key__s_n
mov dword [esp + 8], str.install_registry_multisz
mov dword [esp + 4], 0x408000
mov dword [esp], 1
call fcn.00401ad0
jmp 0x40394f
mov dword [ebp - 0x28], esi
test byte [section..data], 2
je 0x402b99
mov eax, dword [ebp - 0x20]
shr eax, 0x10
test eax, eax
je 0x404332
mov dword [esp + 4], 0xffffffff
mov esi, dword [ebp - 0x20]
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, 0x40a015
test edx, edx
jne 0x403e0e
mov edx, 0xffffffff
mov eax, esi
call fcn.00401490
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Required_file__s_not_found_n
mov dword [esp + 8], str.install_files_copy
mov dword [esp + 4], 0x408000
mov dword [esp], 1
call fcn.00401ad0
mov dword [esp], edi
mov edi, dword [ebp - 0x38]
call edi
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
jmp 0x402ba4
mov dword [ebp - 0x28], esi
test byte [section..data], 2
jne 0x4041ab
mov dword [esp], edi
mov edi, dword [ebp - 0x38]
call edi
mov dword [esp], esi
mov esi, edi
call esi
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call esi
jmp 0x402bb6
mov eax, 0x40a00e
jmp 0x403aee
mov eax, dword [ebp - 0x28]
shr eax, 0x10
test eax, eax
je 0x40410e
mov dword [esp + 4], 0xffffffff
mov esi, dword [ebp - 0x28]
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, 0x40a015
test edx, edx
jne 0x403ec3
mov edx, 0xffffffff
mov eax, esi
call fcn.00401490
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Failed_to_create_parent_directory_for__s_n
mov dword [esp + 8], str.install_files_copy
mov dword [esp + 4], 0x408000
mov dword [esp], 1
call fcn.00401ad0
mov dword [esp], edi
mov esi, dword [ebp - 0x38]
call esi
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
jmp 0x403e66
mov ebx, dword [ebx + 8]
test ebx, ebx
je 0x404310
mov eax, ebx
shr eax, 0x10
test eax, eax
je 0x404254
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, 0x40a015
test edx, edx
jne 0x403f41
mov edx, 0xffffffff
mov eax, ebx
call fcn.00401490
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Failed_to_set_registry_key__s_n
mov dword [esp + 8], str.install_registry_dword
mov dword [esp + 4], 0x408000
mov dword [esp], 1
call fcn.00401ad0
jmp 0x403800
test byte [section..data], 2
je 0x402bc3
mov dword [esp + 0xc], str.Failed_to_get_assembly_source_directory_n
mov dword [esp + 8], str.install_files
mov dword [esp + 4], 0x408000
mov dword [esp], 1
call fcn.00401ad0
jmp 0x402bb6
mov dword [esp], 0
call dword [sym.imp.ucrtbase.dll_malloc]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x403770
mov dword [ebp - 0x4c], 0
jmp 0x403a89
mov eax, dword [ebp - 0x20]
mov dword [esp], 0x40a008
mov dword [esp + 4], eax
call fcn.004016b0
jmp 0x403300
mov dword [esp + 4], esi
mov dword [esp], 0x40a008
call fcn.004016b0
mov edi, eax
jmp 0x402e7b
mov dword [esp + 4], ebx
mov dword [esp], 0x40a008
call fcn.004016b0
jmp 0x4039ac
mov dword [esp + 4], ebx
mov dword [esp], 0x40a008
call fcn.004016b0
jmp 0x402ebd
mov dword [ebp - 0x20], 0
jmp 0x403fbc
mov dword [esp + 4], ebx
mov dword [esp], 0x40a008
call fcn.004016b0
jmp 0x402c5e
mov dword [ebp - 0x24], 0x40a00e
jmp 0x402e38
mov eax, 0x40a00e
jmp 0x4039ac
mov eax, 0x40a00e
jmp 0x402ebd
mov dword [esp + 4], ecx
mov dword [esp], 0x40a008
call fcn.004016b0
jmp 0x403377
mov edi, 0x40a00e
jmp 0x402e7b
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x4043bd
shr eax, 0x10
test eax, eax
je 0x40436e
mov dword [esp + 4], 0xffffffff
mov edi, dword [ebp - 0x3c]
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, 0x40a015
test edx, edx
jne 0x4040c2
mov edx, 0xffffffff
mov eax, edi
call fcn.00401490
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Installation_of__s_finished_n
mov dword [esp + 8], str.install_assembly
mov dword [esp + 4], 0x408000
mov dword [esp], 3
call fcn.00401ad0
jmp 0x40343d
mov dword [esp + 4], ebx
mov dword [esp], 0x40a008
call fcn.004016b0
jmp 0x403d95
mov eax, 0x40a00e
jmp 0x402aa7
mov eax, dword [ebp - 0x28]
mov dword [esp], 0x40a008
mov dword [esp + 4], eax
call fcn.004016b0
jmp 0x403ec3
mov eax, 0x40a00e
jmp 0x402d21
mov ebx, dword [ebx + 8]
test ebx, ebx
je 0x40439b
mov eax, ebx
shr eax, 0x10
test eax, eax
je 0x404386
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, 0x40a015
test edx, edx
jne 0x404173
mov edx, 0xffffffff
mov eax, ebx
call fcn.00401490
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Failed_to_set_registry_key__s_n
mov dword [esp + 8], str.install_registry_binary
mov dword [esp + 4], 0x408000
mov dword [esp], 1
call fcn.00401ad0
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
mov eax, dword [ebp - 0x38]
call eax
jmp 0x403800
mov eax, dword [ebp - 0x28]
shr eax, 0x10
test eax, eax
je 0x404354
mov dword [esp + 4], 0xffffffff
mov esi, dword [ebp - 0x28]
mov ebx, 0x40a015
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
sub esp, 8
test eax, eax
jne 0x4041e7
mov edx, 0xffffffff
mov eax, esi
call fcn.00401490
mov ebx, eax
mov eax, dword [ebp - 0x20]
shr eax, 0x10
test eax, eax
je 0x40431a
mov dword [esp + 4], 0xffffffff
mov esi, dword [ebp - 0x20]
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, 0x40a015
test edx, edx
jne 0x404223
mov edx, 0xffffffff
mov eax, esi
call fcn.00401490
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], 0x408000
mov dword [esp], 1
call fcn.00401ad0
jmp 0x403eeb
mov dword [esp + 4], ebx
mov dword [esp], 0x40a008
call fcn.004016b0
jmp 0x403f41
mov eax, 0x40a00e
jmp 0x403d95
mov ecx, dword [ebp - 0x34]
test byte [section..data], 2
je 0x402bc3
mov ebx, dword [ecx + 8]
test ebx, ebx
je 0x4043e6
mov eax, ebx
shr eax, 0x10
test eax, eax
je 0x4043d1
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, 0x40a015
test edx, edx
jne 0x4042c4
or edx, 0xffffffff
mov eax, ebx
call fcn.00401490
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Failed_to_open_registry_key__s_n
mov dword [esp + 8], str.install_registry
mov dword [esp + 4], 0x408000
mov dword [esp], 1
call fcn.00401ad0
movzx eax, byte [section..data]
jmp 0x403190
mov eax, dword [ebp - 0x3c]
mov dword [esp], 0x40a008
mov dword [esp + 4], eax
call fcn.004016b0
jmp 0x4034a8
mov eax, 0x40a00e
jmp 0x403f41
mov eax, dword [ebp - 0x20]
mov dword [esp], 0x40a008
mov dword [esp + 4], eax
call fcn.004016b0
jmp 0x404223
mov eax, dword [ebp - 0x20]
mov dword [esp], 0x40a008
mov dword [esp + 4], eax
call fcn.004016b0
jmp 0x403e0e
mov eax, 0x40a00e
jmp 0x4034a8
mov eax, dword [ebp - 0x28]
mov dword [esp], 0x40a008
mov dword [esp + 4], eax
call fcn.004016b0
mov ebx, eax
jmp 0x4041e7
mov eax, dword [ebp - 0x3c]
mov dword [esp], 0x40a008
mov dword [esp + 4], eax
call fcn.004016b0
jmp 0x4040c2
mov dword [esp + 4], ebx
mov dword [esp], 0x40a008
call fcn.004016b0
jmp 0x404173
mov eax, 0x40a00e
jmp 0x404173
mov eax, dword [ebp - 0x3c]
mov dword [esp], 0x40a008
mov dword [esp + 4], eax
call fcn.004016b0
jmp 0x4031dc
mov eax, 0x40a00e
jmp 0x4040c2
mov eax, 0x40a00e
jmp 0x4031dc
mov dword [esp + 4], ebx
mov dword [esp], 0x40a008
call fcn.004016b0
jmp 0x4042c4
mov eax, 0x40a00e
jmp 0x4042c4
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
mov eax, dword [ebp - 0x38]
call eax
jmp 0x402bb6
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
mov eax, dword [sym.imp.ucrtbase.dll_free]
mov dword [ebp - 0x38], eax
call eax
jmp 0x402f91