Function at 0x402af0
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, 0x60
mov esi, dword [eax]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
cmp eax, esi
je 0x402e6b
mov edi, esi
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]
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x402e60
mov ecx, dword [edi + 0x1c]
mov esi, dword [ebx + 8]
mov dword [ebp - 0x2c], ecx
mov dword [esp], ecx
mov dword [esp + 4], esi
call dword [sym.imp.ucrtbase.dll_wcscmp]
mov ecx, dword [ebp - 0x2c]
test eax, eax
jne 0x402e28
mov ecx, dword [edi + 0x20]
mov esi, dword [ebx + 0xc]
mov dword [ebp - 0x2c], ecx
mov dword [esp], ecx
mov dword [esp + 4], esi
call dword [sym.imp.ucrtbase.dll_wcscmp]
mov ecx, dword [ebp - 0x2c]
test eax, eax
jne 0x402e90
mov ecx, dword [edi + 0x24]
mov esi, dword [ebx + 0x10]
mov dword [ebp - 0x2c], ecx
mov dword [esp], ecx
mov dword [esp + 4], esi
call dword [sym.imp.ucrtbase.dll_wcscmp]
mov ecx, dword [ebp - 0x2c]
test eax, eax
jne 0x402f40
mov eax, dword [ebx + 4]
mov esi, edi
mov edi, dword [edi + 0x18]
mov dword [ebp - 0x2c], eax
mov dword [esp + 4], eax
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_wcscmp]
test eax, eax
jne 0x403010
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x34], eax
mov eax, dword [esi + 8]
cmp eax, 2
je 0x402f80
cmp eax, 1
je 0x402ec8
mov dword [esp + 4], str.amd64
mov eax, dword [esi + 0x1c]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_wcscmp]
test eax, eax
je 0x403170
mov ebx, dword [esi + 0x28]
lea edi, [esi + 0x28]
mov dword [esi + 8], 1
cmp ebx, edi
je 0x402c22
mov dword [ebp - 0x30], esi
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x2c], edi
mov edi, dword [ebp - 0x28]
lea edx, [ebx + 8]
mov ecx, edi
mov eax, esi
call fcn.00402af0
test eax, eax
je 0x402e78
mov ebx, dword [ebx]
cmp ebx, dword [ebp - 0x2c]
jne 0x402c04
mov esi, dword [ebp - 0x30]
test byte [section..data], 8
je 0x402caf
mov ebx, dword [ebp - 0x28]
mov eax, str.__dryrun_
test ebx, ebx
mov ebx, 0x40c2bd
cmovne ebx, eax
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x4043b6
shr eax, 0x10
je 0x404069
mov edi, dword [ebp - 0x34]
mov dword [esp + 4], 0xffffffff
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, 0x40c015
test edx, edx
jne 0x402c83
mov edx, 0xffffffff
mov eax, edi
call fcn.004014c0
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 fcn.00401af0
mov eax, dword [esi + 0xc]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll__wcsdup]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x40421a
mov dword [esp + 4], 0x2e
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_wcsrchr]
test eax, eax
je 0x402ce0
xor ecx, ecx
mov word [eax], cx
mov ebx, dword [esi + 0x30]
lea eax, [esi + 0x30]
mov dword [ebp - 0x2c], eax
cmp eax, ebx
je 0x4031f0
mov dword [ebp - 0x3c], esi
lea esi, [esi]
mov eax, dword [ebx + 0xc]
call fcn.004027b0
mov edi, eax
test eax, eax
je 0x402da0
mov edx, dword [ebx + 8]
test edx, edx
je 0x403158
call fcn.00401e40
mov esi, eax
test eax, eax
je 0x403158
mov edx, dword [ebx + 8]
test edx, edx
je 0x403d78
mov eax, dword [ebp - 0x30]
call fcn.00401e40
mov dword [ebp - 0x24], eax
test eax, eax
je 0x403d78
mov edx, dword [ebp - 0x28]
test edx, edx
jne 0x4031b0
test byte [section..data], 8
jne 0x403de0
mov eax, esi
call fcn.00401d80
test eax, eax
jne 0x403c00
mov dword [ebp - 0x28], esi
test byte [section..data], 2
jne 0x404121
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_free]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_free]
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
lea esi, [esi]
nop
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
test byte [section..data], 2
je 0x402e78
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x40455e
shr eax, 0x10
je 0x4044d5
mov esi, dword [ebp - 0x34]
mov dword [esp + 4], 0xffffffff
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, 0x40c015
test edx, edx
jne 0x402dfb
mov edx, 0xffffffff
mov eax, esi
call fcn.004014c0
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], 0x40a000
mov dword [esp], 1
call fcn.00401af0
jmp 0x402e7f
mov dword [esp + 4], 0x40c06e
mov dword [esp], ecx
call dword [sym.imp.ucrtbase.dll_wcscmp]
test eax, eax
je 0x402b4e
mov dword [esp + 4], 0x40c06e
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_wcscmp]
test eax, eax
je 0x402b4e
lea esi, [esi]
mov edi, dword [edi]
cmp dword [ebp - 0x24], edi
jne 0x402b10
test byte [section..data], 1
jne 0x403f08
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x20]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], 0x40c06e
mov dword [esp], ecx
call dword [sym.imp.ucrtbase.dll_wcscmp]
test eax, eax
je 0x402b6f
mov dword [esp + 4], 0x40c06e
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_wcscmp]
test eax, eax
je 0x402b6f
jmp 0x402e60
test byte [section..data], 2
je 0x402e78
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x4043ac
shr eax, 0x10
je 0x404050
mov esi, dword [ebp - 0x34]
mov dword [esp + 4], 0xffffffff
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, 0x40c015
test edx, edx
jne 0x402f13
mov edx, 0xffffffff
mov eax, esi
call fcn.004014c0
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], 0x40a000
mov dword [esp], 1
call fcn.00401af0
jmp 0x402e7f
mov dword [esp + 4], 0x40c06e
mov dword [esp], ecx
call dword [sym.imp.ucrtbase.dll_wcscmp]
test eax, eax
je 0x402b90
mov dword [esp + 4], 0x40c06e
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_wcscmp]
test eax, eax
je 0x402b90
jmp 0x402e60
mov dword [ebp - 0x20], 1
test byte [section..data], 8
je 0x402e7f
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x40408c
shr eax, 0x10
je 0x40435f
mov esi, dword [ebp - 0x34]
mov dword [esp + 4], 0xffffffff
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, 0x40c015
test edx, edx
jne 0x402fd6
mov edx, 0xffffffff
mov eax, esi
call fcn.004014c0
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], 0x40a000
mov dword [esp], 3
call fcn.00401af0
mov dword [ebp - 0x20], 1
jmp 0x402e7f
mov dword [esp + 4], 0x40c06e
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_wcscmp]
test eax, eax
je 0x402bb0
mov eax, dword [ebp - 0x2c]
mov dword [esp + 4], 0x40c06e
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_wcscmp]
test eax, eax
je 0x402bb0
test byte [section..data], 4
je 0x402bb0
mov edi, dword [esi + 0x18]
test edi, edi
je 0x40433f
mov eax, edi
shr eax, 0x10
je 0x404035
mov dword [esp + 4], 0xffffffff
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov dword [ebp - 0x2c], 0x40c015
sub esp, 8
test eax, eax
jne 0x403096
mov edx, 0xffffffff
mov eax, edi
call fcn.004014c0
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x404335
mov eax, ecx
shr eax, 0x10
je 0x404281
mov dword [esp + 4], 0xffffffff
mov edi, 0x40c015
mov dword [esp], ecx
mov dword [ebp - 0x30], ecx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
sub esp, 8
test eax, eax
jne 0x4030dd
mov ecx, dword [ebp - 0x30]
mov edx, 0xffffffff
mov eax, ecx
call fcn.004014c0
mov edi, eax
mov ebx, dword [ebx]
test ebx, ebx
je 0x40434b
mov eax, ebx
shr eax, 0x10
je 0x404269
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, 0x40c015
test edx, edx
jne 0x40311d
mov edx, 0xffffffff
mov eax, ebx
call fcn.004014c0
mov ebx, dword [ebp - 0x2c]
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], ebx
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 fcn.00401af0
jmp 0x402bb0
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_free]
jmp 0x402da0
test byte [section..data], 2
je 0x402e78
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 fcn.00401af0
jmp 0x402e78
mov dword [esp], eax
call dword [sym.imp.shlwapi.dll_PathFileExistsW]
sub esp, 4
test eax, eax
je 0x4040a0
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_free]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_free]
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
mov ebx, dword [ebx]
cmp dword [ebp - 0x2c], ebx
jne 0x402cf8
mov esi, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x30]
lea edi, [esi + 0x38]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
mov eax, dword [esi + 0x38]
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x2c], eax
cmp edi, eax
je 0x4034e5
mov dword [ebp - 0x48], esi
lea esi, [esi]
nop
mov eax, dword [ebp - 0x2c]
mov edi, dword [eax + 8]
mov dword [esp + 4], 0x5c
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_wcschr]
mov ebx, eax
test eax, eax
je 0x403414
mov esi, eax
mov edx, 0x4b
sub esi, edi
mov eax, esi
sar eax, 1
mov dword [ebp - 0x24], eax
mov eax, str.HKEY_CLASSES_ROOT
jmp 0x403254
movzx edx, word [eax + 2]
add eax, 2
test dx, dx
jne 0x403250
sub eax, str.HKEY_CLASSES_ROOT
cmp esi, eax
je 0x403bd0
mov edx, 0x4b
mov eax, str.HKEY_CURRENT_CONFIG
jmp 0x40327c
movzx edx, word [eax + 2]
add eax, 2
test dx, dx
jne 0x403278
sub eax, str.HKEY_CURRENT_CONFIG
cmp esi, eax
je 0x403d18
mov edx, 0x4b
mov eax, str.HKEY_CURRENT_USER
jmp 0x4032a4
movzx edx, word [eax + 2]
add eax, 2
test dx, dx
jne 0x4032a0
sub eax, str.HKEY_CURRENT_USER
cmp esi, eax
je 0x403d48
mov edx, 0x4b
mov eax, str.HKEY_LOCAL_MACHINE
jmp 0x4032cc
movzx edx, word [eax + 2]
add eax, 2
test dx, dx
jne 0x4032c8
sub eax, str.HKEY_LOCAL_MACHINE
cmp esi, eax
je 0x403d90
mov edx, 0x4b
mov eax, str.HKEY_USERS
jmp 0x4032f4
movzx edx, word [eax + 2]
add eax, 2
test dx, dx
jne 0x4032f0
sub eax, str.HKEY_USERS
cmp esi, eax
jne 0x4038b0
mov eax, dword [ebp - 0x24]
mov dword [esp + 4], str.HKEY_USERS
mov dword [esp], edi
mov dword [esp + 8], eax
call dword [sym.imp.ucrtbase.dll_wcsncmp]
test eax, eax
jne 0x4038b0
mov esi, 0x80000003
test byte [section..data], 8
jne 0x403a90
mov edi, dword [ebp - 0x28]
test edi, edi
je 0x403a00
mov eax, dword [ebp - 0x2c]
mov edi, dword [eax + 0xc]
add eax, 0xc
mov dword [ebp - 0x24], eax
cmp edi, eax
je 0x4034d1
lea esi, [esi]
mov esi, dword [ebp - 0x1c]
test byte [section..data], 8
jne 0x403508
mov dword [esp + 4], str.REG_SZ
mov eax, dword [edi + 0xc]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_wcscmp]
test eax, eax
je 0x4034a0
mov dword [esp + 4], str.REG_EXPAND_SZ
mov eax, dword [edi + 0xc]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_wcscmp]
test eax, eax
je 0x4035c8
mov dword [esp + 4], str.REG_MULTI_SZ
mov eax, dword [edi + 0xc]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_wcscmp]
test eax, eax
je 0x4035e8
mov dword [esp + 4], str.REG_DWORD
mov eax, dword [edi + 0xc]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_wcscmp]
test eax, eax
je 0x4036e8
mov dword [esp + 4], str.REG_BINARY
mov eax, dword [edi + 0xc]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_wcscmp]
test eax, eax
je 0x403930
test byte [section..data], 1
jne 0x4037e0
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x40375d
movzx eax, byte [section..data]
lea esi, [esi]
nop
test al, 2
je 0x402e78
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x4045ad
shr eax, 0x10
je 0x404594
mov esi, dword [ebp - 0x34]
mov dword [esp + 4], 0xffffffff
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, 0x40c015
test edx, edx
jne 0x40346a
mov edx, 0xffffffff
mov eax, esi
call fcn.004014c0
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], 0x40a000
mov dword [esp], 1
call fcn.00401af0
jmp 0x402e7f
mov eax, dword [ebp - 0x28]
mov ecx, 1
mov edx, edi
mov dword [esp], eax
mov eax, esi
call fcn.00402990
test eax, eax
je 0x403409
mov edi, dword [edi]
cmp edi, dword [ebp - 0x24]
jne 0x403360
cmp dword [ebp - 0x28], 0
je 0x403a66
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x38], eax
jne 0x403218
mov esi, dword [ebp - 0x48]
test byte [section..data], 8
jne 0x4042c6
mov dword [esi + 8], 2
mov dword [ebp - 0x20], 1
jmp 0x402e7f
mov ebx, dword [edi + 0x10]
test ebx, ebx
je 0x4037d0
mov eax, ebx
shr eax, 0x10
je 0x4037a0
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov ecx, 0x40c015
sub esp, 8
test eax, eax
jne 0x403549
mov edx, 0xffffffff
mov eax, ebx
call fcn.004014c0
mov ecx, eax
mov ebx, dword [edi + 8]
test ebx, ebx
je 0x4037c0
mov eax, ebx
mov dword [ebp - 0x30], ecx
shr eax, 0x10
je 0x403780
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov ecx, dword [ebp - 0x30]
mov edx, eax
sub esp, 8
mov eax, 0x40c015
test edx, edx
jne 0x403593
mov edx, 0xffffffff
mov eax, ebx
call fcn.004014c0
mov ecx, dword [ebp - 0x30]
mov dword [esp + 0x14], ecx
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 fcn.00401af0
jmp 0x403370
mov eax, dword [ebp - 0x28]
mov ecx, 2
mov edx, edi
mov dword [esp], eax
mov eax, esi
call fcn.00402990
jmp 0x4034b4
mov edx, dword [edi + 0x10]
test edx, edx
je 0x4036c8
cmp word [edx], 0
mov dword [ebp - 0x30], edx
je 0x4036c4
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0x40
mov dword [esp], pe_nt_image_headers32
call dword [sym.imp.ucrtbase.dll_malloc]
mov edx, dword [ebp - 0x30]
test eax, eax
mov dword [ebp - 0x18], eax
je 0x4045cf
movzx eax, word [edx]
cmp ax, 0x22
jne 0x403b0b
mov dword [ebp - 0x30], esi
jmp 0x40368a
mov ecx, eax
mov edx, esi
lea eax, [ebp - 0x18]
sub ecx, esi
sar ecx, 1
call fcn.004019b0
lea eax, [ebp - 0x18]
mov ecx, 1
mov edx, 0x40c5da
call fcn.004019b0
movzx eax, word [ebx + 2]
test ax, ax
je 0x403b50
cmp ax, 0x2c
jne 0x403b90
movzx eax, word [ebx + 4]
lea edx, [ebx + 4]
cmp ax, 0x22
jne 0x403b08
lea esi, [edx + 2]
mov dword [esp + 4], 0x40c5d6
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_wcsstr]
mov ebx, eax
test eax, eax
jne 0x403640
mov esi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
mov eax, dword [edi + 0x10]
test eax, eax
je 0x4036c4
cmp word [eax], 0
jne 0x403409
xor eax, eax
xor edx, edx
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x403850
mov dword [esp], edx
call dword [sym.imp.ucrtbase.dll_free]
jmp 0x4034bc
mov edx, dword [edi + 0xc]
test edx, edx
je 0x403708
mov dword [esp + 8], 0x10
mov dword [esp + 4], 0
mov dword [esp], edx
call dword [sym.imp.ucrtbase.dll_wcstoul]
mov ebx, dword [ebp - 0x28]
mov dword [ebp - 0x18], eax
test ebx, ebx
jne 0x4034bc
lea eax, [ebp - 0x18]
mov dword [esp + 0x14], 4
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0
mov eax, dword [edi + 8]
mov dword [esp], esi
mov dword [esp + 4], eax
call dword [sym.imp.advapi32.dll_RegSetValueExW]
sub esp, 0x18
test eax, eax
je 0x4034bc
test byte [section..data], 2
jne 0x404188
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 0x403420
movzx ebx, bx
mov dword [esp], 0x40c008
mov dword [esp + 4], ebx
call fcn.004016e0
mov ecx, dword [ebp - 0x30]
jmp 0x403593
movzx ebx, bx
mov dword [esp], 0x40c008
mov dword [esp + 4], ebx
call fcn.004016e0
mov ebx, dword [edi + 8]
mov ecx, eax
test ebx, ebx
jne 0x403554
mov eax, 0x40c00e
jmp 0x403593
mov ecx, 0x40c00e
jmp 0x403549
mov ebx, dword [edi + 0xc]
test ebx, ebx
je 0x403ef7
mov eax, ebx
shr eax, 0x10
je 0x403dc0
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, 0x40c015
test edx, edx
jne 0x403821
mov edx, 0xffffffff
mov eax, ebx
call fcn.004014c0
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], 0x40a000
mov dword [esp], 0
call fcn.00401af0
jmp 0x403409
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], 7
mov dword [esp + 8], 0
mov eax, dword [edi + 8]
mov dword [ebp - 0x30], edx
mov dword [esp + 4], eax
mov dword [esp], esi
call dword [sym.imp.advapi32.dll_RegSetValueExW]
mov edx, dword [ebp - 0x30]
sub esp, 0x18
test eax, eax
je 0x4036d3
mov ecx, edx
test byte [section..data], 2
jne 0x403f7c
mov dword [esp], edx
call dword [sym.imp.ucrtbase.dll_free]
jmp 0x40375d
movzx eax, byte [section..data]
test al, 1
je 0x403420
test edi, edi
je 0x404355
mov eax, edi
shr eax, 0x10
je 0x40401d
mov esi, dword [ebp - 0x24]
mov dword [esp], edi
mov dword [esp + 4], esi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, 0x40c015
test edx, edx
jne 0x4038f9
mov edx, esi
mov eax, edi
call fcn.004014c0
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], 0x40a000
mov dword [esp], 0
call fcn.00401af0
movzx eax, byte [section..data]
jmp 0x403420
mov ebx, dword [edi + 0x10]
xor ecx, ecx
mov dword [ebp - 0x18], 0
mov word [ebp - 0x14], cx
test ebx, ebx
je 0x40429b
movzx edx, word [ebx]
mov eax, ebx
test dx, dx
je 0x4041f6
lea esi, [esi]
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x403960
sub eax, ebx
mov dword [ebp - 0x3c], edx
test al, 2
jne 0x403409
sar eax, 2
mov dword [ebp - 0x44], eax
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x403409
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x40], esi
mov esi, eax
lea esi, [esi]
nop
mov word [ebp - 0x18], dx
movzx eax, word [ebx + 2]
add esi, 1
add ebx, 4
mov dword [esp + 8], 0x10
mov word [ebp - 0x16], ax
lea eax, [ebp - 0x18]
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_wcstoul]
mov byte [esi - 1], al
movzx edx, word [ebx]
test dx, dx
jne 0x4039a0
mov esi, dword [ebp - 0x40]
mov edx, dword [ebp - 0x28]
test edx, edx
je 0x403e88
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
jmp 0x4034bc
lea eax, [ebp - 0x1c]
add ebx, 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], ebx
mov dword [esp], esi
call dword [sym.imp.advapi32.dll_RegCreateKeyExW]
sub esp, 0x24
test eax, eax
jne 0x404452
mov eax, dword [ebp - 0x2c]
mov edi, dword [eax + 0xc]
add eax, 0xc
mov dword [ebp - 0x24], eax
cmp eax, edi
jne 0x403360
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov eax, dword [ebp - 0x2c]
sub esp, 4
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x38], eax
jne 0x403218
jmp 0x4034e2
mov eax, dword [ebp - 0x2c]
mov edi, dword [eax + 8]
test edi, edi
je 0x404117
mov eax, edi
shr eax, 0x10
je 0x403edf
mov dword [esp + 4], 0xffffffff
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, 0x40c015
test edx, edx
jne 0x403ad4
mov edx, 0xffffffff
mov eax, edi
call fcn.004014c0
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], 0x40a000
mov dword [esp], 3
call fcn.00401af0
jmp 0x40333b
mov esi, dword [ebp - 0x30]
test ax, ax
je 0x403b53
test byte [section..data], 1
je 0x4036a7
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 fcn.00401af0
jmp 0x4036a7
mov esi, dword [ebp - 0x30]
mov ecx, 1
mov edx, 0x40c5da
lea eax, [ebp - 0x18]
call fcn.004019b0
mov eax, dword [ebp - 0x14]
mov ecx, dword [edi + 0x10]
mov edx, dword [ebp - 0x18]
add eax, eax
test ecx, ecx
je 0x4036c8
cmp word [ecx], 0
je 0x4036c8
test edx, edx
jne 0x4036c8
jmp 0x403409
mov esi, dword [ebp - 0x30]
test byte [section..data], 1
je 0x4036a7
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 fcn.00401af0
jmp 0x4036a7
mov eax, dword [ebp - 0x24]
mov dword [esp + 4], str.HKEY_CLASSES_ROOT
mov dword [esp], edi
mov dword [esp + 8], eax
call dword [sym.imp.ucrtbase.dll_wcsncmp]
test eax, eax
jne 0x403269
mov esi, 0x80000000
jmp 0x40332e
mov eax, dword [ebp - 0x24]
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 dword [esp], eax
call dword [sym.imp.kernel32.dll_CopyFileExW]
sub esp, 0x18
test eax, eax
jne 0x4031c4
mov dword [ebp - 0x28], esi
test byte [section..data], 2
je 0x402d79
mov eax, dword [ebp - 0x28]
shr eax, 0x10
je 0x404543
mov esi, dword [ebp - 0x28]
mov dword [esp + 4], 0xffffffff
mov ebx, 0x40c015
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
sub esp, 8
test eax, eax
jne 0x403c85
mov edx, 0xffffffff
mov eax, esi
call fcn.004014c0
mov ebx, eax
mov eax, dword [ebp - 0x24]
shr eax, 0x10
je 0x40452a
mov esi, dword [ebp - 0x24]
mov dword [esp + 4], 0xffffffff
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, 0x40c015
test edx, edx
jne 0x403cbf
mov edx, 0xffffffff
mov eax, esi
call fcn.004014c0
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 fcn.00401af0
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_free]
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
jmp 0x402da0
mov eax, dword [ebp - 0x24]
mov dword [esp + 4], str.HKEY_CURRENT_CONFIG
mov dword [esp], edi
mov dword [esp + 8], eax
call dword [sym.imp.ucrtbase.dll_wcsncmp]
test eax, eax
jne 0x403291
mov esi, 0x80000005
jmp 0x40332e
mov eax, dword [ebp - 0x24]
mov dword [esp + 4], str.HKEY_CURRENT_USER
mov dword [esp], edi
mov dword [esp + 8], eax
call dword [sym.imp.ucrtbase.dll_wcsncmp]
test eax, eax
jne 0x4032b9
mov esi, 0x80000001
jmp 0x40332e
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_free]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_free]
jmp 0x402da0
mov eax, dword [ebp - 0x24]
mov dword [esp + 4], str.HKEY_LOCAL_MACHINE
mov dword [esp], edi
mov dword [esp + 8], eax
call dword [sym.imp.ucrtbase.dll_wcsncmp]
test eax, eax
jne 0x4032e1
mov esi, 0x80000002
jmp 0x40332e
movzx ebx, bx
mov dword [esp], 0x40c008
mov dword [esp + 4], ebx
call fcn.004016e0
jmp 0x403821
mov eax, esi
shr eax, 0x10
je 0x404002
mov dword [esp + 4], 0xffffffff
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov dword [ebp - 0x38], 0x40c015
sub esp, 8
test eax, eax
jne 0x403e19
mov edx, 0xffffffff
mov eax, esi
call fcn.004014c0
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x24]
shr eax, 0x10
je 0x404250
mov eax, dword [ebp - 0x24]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, 0x40c015
test edx, edx
jne 0x403e54
mov eax, dword [ebp - 0x24]
mov edx, 0xffffffff
call fcn.004014c0
mov edx, dword [ebp - 0x38]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Copying__s_____s_n
mov dword [esp + 0x14], edx
mov dword [esp + 8], str.install_files_copy
mov dword [esp + 4], 0x40a000
mov dword [esp], 3
call fcn.00401af0
jmp 0x402d5a
mov eax, dword [ebp - 0x44]
mov dword [esp + 0xc], 3
mov dword [esp + 8], 0
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 0x10], eax
mov eax, dword [edi + 8]
mov dword [esp], esi
mov dword [esp + 4], eax
call dword [sym.imp.advapi32.dll_RegSetValueExW]
sub esp, 0x18
test eax, eax
je 0x4039e7
test byte [section..data], 2
jne 0x4043c0
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
jmp 0x40375d
movzx edi, di
mov dword [esp], 0x40c008
mov dword [esp + 4], edi
call fcn.004016e0
jmp 0x403ad4
mov eax, 0x40c00e
jmp 0x403821
mov ebx, dword [ebx]
test ebx, ebx
je 0x404082
mov eax, ebx
shr eax, 0x10
je 0x4042ae
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, 0x40c015
test edx, edx
jne 0x403f48
mov edx, 0xffffffff
mov eax, ebx
call fcn.004014c0
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], 0x40a000
mov dword [esp], 0
call fcn.00401af0
mov dword [ebp - 0x20], 0
jmp 0x402e7f
mov ebx, dword [edi + 8]
test ebx, ebx
je 0x404096
mov eax, ebx
mov dword [ebp - 0x24], edx
shr eax, 0x10
je 0x404378
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov ecx, dword [ebp - 0x24]
mov edx, eax
sub esp, 8
mov eax, 0x40c015
test edx, edx
jne 0x403fc6
mov edx, 0xffffffff
mov eax, ebx
call fcn.004014c0
mov ecx, dword [ebp - 0x24]
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], 0x40a000
mov dword [esp], 1
mov dword [ebp - 0x24], ecx
call fcn.00401af0
mov ecx, dword [ebp - 0x24]
mov dword [esp], ecx
call dword [sym.imp.ucrtbase.dll_free]
jmp 0x40375d
movzx eax, si
mov dword [esp], 0x40c008
mov dword [esp + 4], eax
call fcn.004016e0
mov dword [ebp - 0x38], eax
jmp 0x403e19
movzx edi, di
mov dword [esp], 0x40c008
mov dword [esp + 4], edi
call fcn.004016e0
jmp 0x4038f9
movzx eax, di
mov dword [esp], 0x40c008
mov dword [esp + 4], eax
call fcn.004016e0
mov dword [ebp - 0x2c], eax
jmp 0x403096
movzx eax, word [ebp - 0x34]
mov dword [esp], 0x40c008
mov dword [esp + 4], eax
call fcn.004016e0
jmp 0x402f13
movzx eax, word [ebp - 0x34]
mov dword [esp], 0x40c008
mov dword [esp + 4], eax
call fcn.004016e0
jmp 0x402c83
mov eax, 0x40c00e
jmp 0x403f48
mov eax, 0x40c00e
jmp 0x402fd6
mov eax, 0x40c00e
jmp 0x403fc6
mov dword [ebp - 0x28], esi
test byte [section..data], 2
je 0x402d79
mov eax, dword [ebp - 0x24]
shr eax, 0x10
je 0x404511
mov esi, dword [ebp - 0x24]
mov dword [esp + 4], 0xffffffff
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, 0x40c015
test edx, edx
jne 0x4040ea
mov edx, 0xffffffff
mov eax, esi
call fcn.004014c0
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], 0x40a000
mov dword [esp], 1
call fcn.00401af0
jmp 0x403ceb
mov eax, 0x40c00e
jmp 0x403ad4
mov eax, dword [ebp - 0x28]
shr eax, 0x10
je 0x404393
mov esi, dword [ebp - 0x28]
mov dword [esp + 4], 0xffffffff
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, 0x40c015
test edx, edx
jne 0x40415b
mov edx, 0xffffffff
mov eax, esi
call fcn.004014c0
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], 0x40a000
mov dword [esp], 1
call fcn.00401af0
jmp 0x403ceb
mov ebx, dword [edi + 8]
test ebx, ebx
je 0x4044ee
mov eax, ebx
shr eax, 0x10
je 0x40443a
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, 0x40c015
test edx, edx
jne 0x4041c9
mov edx, 0xffffffff
mov eax, ebx
call fcn.004014c0
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], 0x40a000
mov dword [esp], 1
call fcn.00401af0
jmp 0x40375d
mov dword [esp], 0
call dword [sym.imp.ucrtbase.dll_malloc]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x403409
mov dword [ebp - 0x44], 0
jmp 0x4039dc
test byte [section..data], 2
je 0x402e78
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 fcn.00401af0
jmp 0x402dac
movzx eax, word [ebp - 0x24]
mov dword [esp], 0x40c008
mov dword [esp + 4], eax
call fcn.004016e0
jmp 0x403e54
movzx ebx, bx
mov dword [esp], 0x40c008
mov dword [esp + 4], ebx
call fcn.004016e0
jmp 0x40311d
movzx eax, cx
mov dword [esp], 0x40c008
mov dword [esp + 4], eax
call fcn.004016e0
mov edi, eax
jmp 0x4030dd
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x44], 0
jmp 0x4039dc
movzx ebx, bx
mov dword [esp], 0x40c008
mov dword [esp + 4], ebx
call fcn.004016e0
jmp 0x403f48
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x40458a
shr eax, 0x10
je 0x4044f8
mov ebx, dword [ebp - 0x34]
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, 0x40c015
test edx, edx
jne 0x404308
mov edx, 0xffffffff
mov eax, ebx
call fcn.004014c0
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], 0x40a000
mov dword [esp], 3
call fcn.00401af0
jmp 0x4034f2
mov edi, 0x40c00e
jmp 0x4030dd
mov dword [ebp - 0x2c], 0x40c00e
jmp 0x403096
mov eax, 0x40c00e
jmp 0x40311d
mov eax, 0x40c00e
jmp 0x4038f9
movzx eax, word [ebp - 0x34]
mov dword [esp], 0x40c008
mov dword [esp + 4], eax
call fcn.004016e0
jmp 0x402fd6
movzx ebx, bx
mov dword [esp], 0x40c008
mov dword [esp + 4], ebx
call fcn.004016e0
mov ecx, dword [ebp - 0x24]
jmp 0x403fc6
movzx eax, word [ebp - 0x28]
mov dword [esp], 0x40c008
mov dword [esp + 4], eax
call fcn.004016e0
jmp 0x40415b
mov eax, 0x40c00e
jmp 0x402f13
mov eax, 0x40c00e
jmp 0x402c83
mov ebx, dword [edi + 8]
test ebx, ebx
je 0x404580
mov eax, ebx
shr eax, 0x10
je 0x404568
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, 0x40c015
test edx, edx
jne 0x404401
mov edx, 0xffffffff
mov eax, ebx
call fcn.004014c0
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], 0x40a000
mov dword [esp], 1
call fcn.00401af0
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
jmp 0x40375d
movzx ebx, bx
mov dword [esp], 0x40c008
mov dword [esp + 4], ebx
call fcn.004016e0
jmp 0x4041c9
test byte [section..data], 2
je 0x402e78
mov eax, dword [ebp - 0x2c]
mov ebx, dword [eax + 8]
test ebx, ebx
je 0x4045de
mov eax, ebx
shr eax, 0x10
je 0x4045b7
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, 0x40c015
test edx, edx
jne 0x4044a1
or edx, 0xffffffff
mov eax, ebx
call fcn.004014c0
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], 0x40a000
mov dword [esp], 1
call fcn.00401af0
movzx eax, byte [section..data]
jmp 0x403420
movzx eax, word [ebp - 0x34]
mov dword [esp], 0x40c008
mov dword [esp + 4], eax
call fcn.004016e0
jmp 0x402dfb
mov eax, 0x40c00e
jmp 0x4041c9
movzx eax, word [ebp - 0x34]
mov dword [esp], 0x40c008
mov dword [esp + 4], eax
call fcn.004016e0
jmp 0x404308
movzx eax, word [ebp - 0x24]
mov dword [esp], 0x40c008
mov dword [esp + 4], eax
call fcn.004016e0
jmp 0x4040ea
movzx eax, word [ebp - 0x24]
mov dword [esp], 0x40c008
mov dword [esp + 4], eax
call fcn.004016e0
jmp 0x403cbf
movzx eax, word [ebp - 0x28]
mov dword [esp], 0x40c008
mov dword [esp + 4], eax
call fcn.004016e0
mov ebx, eax
jmp 0x403c85
mov eax, 0x40c00e
jmp 0x402dfb
movzx ebx, bx
mov dword [esp], 0x40c008
mov dword [esp + 4], ebx
call fcn.004016e0
jmp 0x404401
mov eax, 0x40c00e
jmp 0x404401
mov eax, 0x40c00e
jmp 0x404308
movzx eax, word [ebp - 0x34]
mov dword [esp], 0x40c008
mov dword [esp + 4], eax
call fcn.004016e0
jmp 0x40346a
mov eax, 0x40c00e
jmp 0x40346a
movzx ebx, bx
mov dword [esp], 0x40c008
mov dword [esp + 4], ebx
call fcn.004016e0
jmp 0x4044a1
cmp word [edx], 0
jne 0x403409
jmp 0x4036c4
mov eax, 0x40c00e
jmp 0x4044a1