Function at 0x402bf0
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, 0x7c
mov esi, dword [eax]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], ecx
cmp eax, esi
je 0x402f6b
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 - 0x2c], eax
test eax, eax
jne 0x402f60
mov ecx, dword [edi + 0x1c]
mov esi, dword [ebx + 8]
mov dword [ebp - 0x38], ecx
mov dword [esp], ecx
mov dword [esp + 4], esi
call dword [sym.imp.ucrtbase.dll_wcscmp]
mov ecx, dword [ebp - 0x38]
test eax, eax
jne 0x402f28
mov ecx, dword [edi + 0x20]
mov esi, dword [ebx + 0xc]
mov dword [ebp - 0x38], ecx
mov dword [esp], ecx
mov dword [esp + 4], esi
call dword [sym.imp.ucrtbase.dll_wcscmp]
mov ecx, dword [ebp - 0x38]
test eax, eax
jne 0x402f90
mov ecx, dword [edi + 0x24]
mov esi, dword [ebx + 0x10]
mov dword [ebp - 0x38], ecx
mov dword [esp], ecx
mov dword [esp + 4], esi
call dword [sym.imp.ucrtbase.dll_wcscmp]
mov ecx, dword [ebp - 0x38]
test eax, eax
jne 0x403040
mov eax, dword [ebx + 4]
mov esi, edi
mov edi, dword [edi + 0x18]
mov dword [ebp - 0x38], eax
mov dword [esp + 4], eax
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_wcscmp]
test eax, eax
jne 0x403110
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x40], eax
mov eax, dword [esi + 8]
cmp eax, 2
je 0x403080
cmp eax, 1
je 0x402fc8
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 0x403270
mov ebx, dword [esi + 0x28]
lea edi, [esi + 0x28]
mov dword [esi + 8], 1
cmp ebx, edi
je 0x402d22
mov dword [ebp - 0x3c], esi
mov esi, dword [ebp - 0x30]
mov dword [ebp - 0x38], edi
mov edi, dword [ebp - 0x34]
lea edx, [ebx + 8]
mov ecx, edi
mov eax, esi
call fcn.00402bf0
test eax, eax
je 0x402f78
mov ebx, dword [ebx]
cmp ebx, dword [ebp - 0x38]
jne 0x402d04
mov esi, dword [ebp - 0x3c]
test byte [section..data], 8
je 0x402daf
mov ebx, dword [ebp - 0x34]
mov eax, str.__dryrun_
test ebx, ebx
mov ebx, 0x40b2bd
cmovne ebx, eax
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x404497
shr eax, 0x10
je 0x40416d
mov edi, dword [ebp - 0x40]
mov dword [esp + 4], 0xffffffff
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, 0x40b015
test edx, edx
jne 0x402d83
mov edx, 0xffffffff
mov eax, edi
call fcn.00401550
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.00401bf0
mov eax, dword [esi + 0xc]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll__wcsdup]
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x40431e
mov dword [esp + 4], 0x2e
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_wcsrchr]
test eax, eax
je 0x402de0
xor ecx, ecx
mov word [eax], cx
mov ebx, dword [esi + 0x30]
lea eax, [esi + 0x30]
mov dword [ebp - 0x38], eax
cmp eax, ebx
je 0x4032f0
mov dword [ebp - 0x48], esi
lea esi, [esi]
mov eax, dword [ebx + 0xc]
call fcn.004028b0
mov edi, eax
test eax, eax
je 0x402ea0
mov edx, dword [ebx + 8]
test edx, edx
je 0x403258
call fcn.00401f40
mov esi, eax
test eax, eax
je 0x403258
mov edx, dword [ebx + 8]
test edx, edx
je 0x403e50
mov eax, dword [ebp - 0x3c]
call fcn.00401f40
mov dword [ebp - 0x30], eax
test eax, eax
je 0x403e50
mov edx, dword [ebp - 0x34]
test edx, edx
jne 0x4032b0
test byte [section..data], 8
jne 0x403ec0
mov eax, esi
call fcn.00401e80
test eax, eax
jne 0x403ce0
mov dword [ebp - 0x34], esi
test byte [section..data], 2
jne 0x404225
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 - 0x30]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
lea esi, [esi]
nop
mov eax, dword [ebp - 0x3c]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
test byte [section..data], 2
je 0x402f78
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x404662
shr eax, 0x10
je 0x4045d9
mov esi, dword [ebp - 0x40]
mov dword [esp + 4], 0xffffffff
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, 0x40b015
test edx, edx
jne 0x402efb
mov edx, 0xffffffff
mov eax, esi
call fcn.00401550
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.00401bf0
jmp 0x402f7f
mov dword [esp + 4], 0x40b06e
mov dword [esp], ecx
call dword [sym.imp.ucrtbase.dll_wcscmp]
test eax, eax
je 0x402c4e
mov dword [esp + 4], 0x40b06e
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_wcscmp]
test eax, eax
je 0x402c4e
lea esi, [esi]
mov edi, dword [edi]
cmp dword [ebp - 0x30], edi
jne 0x402c10
test byte [section..data], 1
jne 0x403ff8
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x2c]
lea esp, [ebp - 0xc]
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 0x402c6f
mov dword [esp + 4], 0x40b06e
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_wcscmp]
test eax, eax
je 0x402c6f
jmp 0x402f60
test byte [section..data], 2
je 0x402f78
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x4044a1
shr eax, 0x10
je 0x404154
mov esi, dword [ebp - 0x40]
mov dword [esp + 4], 0xffffffff
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, 0x40b015
test edx, edx
jne 0x403013
mov edx, 0xffffffff
mov eax, esi
call fcn.00401550
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.00401bf0
jmp 0x402f7f
mov dword [esp + 4], 0x40b06e
mov dword [esp], ecx
call dword [sym.imp.ucrtbase.dll_wcscmp]
test eax, eax
je 0x402c90
mov dword [esp + 4], 0x40b06e
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_wcscmp]
test eax, eax
je 0x402c90
jmp 0x402f60
mov dword [ebp - 0x2c], 1
test byte [section..data], 8
je 0x402f7f
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x404190
shr eax, 0x10
je 0x404463
mov esi, dword [ebp - 0x40]
mov dword [esp + 4], 0xffffffff
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, 0x40b015
test edx, edx
jne 0x4030d6
mov edx, 0xffffffff
mov eax, esi
call fcn.00401550
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.00401bf0
mov dword [ebp - 0x2c], 1
jmp 0x402f7f
mov dword [esp + 4], 0x40b06e
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_wcscmp]
test eax, eax
je 0x402cb0
mov eax, dword [ebp - 0x38]
mov dword [esp + 4], 0x40b06e
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_wcscmp]
test eax, eax
je 0x402cb0
test byte [section..data], 4
je 0x402cb0
mov edi, dword [esi + 0x18]
test edi, edi
je 0x404443
mov eax, edi
shr eax, 0x10
je 0x404139
mov dword [esp + 4], 0xffffffff
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov dword [ebp - 0x38], 0x40b015
sub esp, 8
test eax, eax
jne 0x403196
mov edx, 0xffffffff
mov eax, edi
call fcn.00401550
mov dword [ebp - 0x38], eax
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x404439
mov eax, ecx
shr eax, 0x10
je 0x404385
mov dword [esp + 4], 0xffffffff
mov edi, 0x40b015
mov dword [esp], ecx
mov dword [ebp - 0x3c], ecx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
sub esp, 8
test eax, eax
jne 0x4031dd
mov ecx, dword [ebp - 0x3c]
mov edx, 0xffffffff
mov eax, ecx
call fcn.00401550
mov edi, eax
mov ebx, dword [ebx]
test ebx, ebx
je 0x40444f
mov eax, ebx
shr eax, 0x10
je 0x40436d
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, 0x40b015
test edx, edx
jne 0x40321d
mov edx, 0xffffffff
mov eax, ebx
call fcn.00401550
mov edx, dword [ebp - 0x38]
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], edx
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.00401bf0
jmp 0x402cb0
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_free]
jmp 0x402ea0
test byte [section..data], 2
je 0x402f78
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.00401bf0
jmp 0x402f78
mov dword [esp], eax
call dword [sym.imp.shlwapi.dll_PathFileExistsW]
sub esp, 4
test eax, eax
je 0x4041a4
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 - 0x30]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
mov ebx, dword [ebx]
cmp dword [ebp - 0x38], ebx
jne 0x402df8
mov esi, dword [ebp - 0x48]
mov eax, dword [ebp - 0x3c]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
mov eax, dword [esi + 0x38]
lea edx, [esi + 0x38]
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x38], eax
cmp edx, eax
je 0x4035c5
mov dword [ebp - 0x54], esi
lea esi, [esi]
nop
mov eax, dword [ebp - 0x38]
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 0x4034f4
mov edi, eax
mov eax, str.HKEY_CLASSES_ROOT
sub edi, ebx
mov edx, edi
sar edx, 1
lea esi, [esi]
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x403350
sub eax, str.HKEY_CLASSES_ROOT
cmp edi, eax
je 0x403cb0
mov eax, str.HKEY_CURRENT_CONFIG
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x403370
sub eax, str.HKEY_CURRENT_CONFIG
cmp edi, eax
je 0x403df8
mov eax, str.HKEY_CURRENT_USER
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x403390
sub eax, str.HKEY_CURRENT_USER
cmp edi, eax
je 0x403e20
mov eax, str.HKEY_LOCAL_MACHINE
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x4033b0
sub eax, str.HKEY_LOCAL_MACHINE
cmp edi, eax
je 0x403e70
mov eax, str.HKEY_USERS
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x4033d0
sub eax, str.HKEY_USERS
cmp edi, eax
jne 0x403990
mov dword [esp + 8], edx
mov dword [ebp - 0x30], edx
mov dword [esp + 4], str.HKEY_USERS
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_wcsncmp]
mov edx, dword [ebp - 0x30]
test eax, eax
jne 0x403990
mov ebx, 0x80000003
test byte [section..data], 8
jne 0x403b70
mov edi, dword [ebp - 0x34]
test edi, edi
je 0x403ae0
mov eax, dword [ebp - 0x38]
mov edi, dword [eax + 0xc]
add eax, 0xc
mov dword [ebp - 0x30], eax
cmp edi, eax
je 0x4035b1
lea esi, [esi]
mov esi, dword [ebp - 0x28]
test byte [section..data], 8
jne 0x4035e8
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 0x403580
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 0x4036a8
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 0x4036c8
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 0x4037c8
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 0x403a10
test byte [section..data], 1
jne 0x4038c0
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x40383d
movzx eax, byte [section..data]
lea esi, [esi]
nop
test al, 2
je 0x402f78
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x4046b1
shr eax, 0x10
je 0x404698
mov esi, dword [ebp - 0x40]
mov dword [esp + 4], 0xffffffff
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, 0x40b015
test edx, edx
jne 0x40354a
mov edx, 0xffffffff
mov eax, esi
call fcn.00401550
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.00401bf0
jmp 0x402f7f
mov eax, dword [ebp - 0x34]
mov ecx, 1
mov edx, edi
mov dword [esp], eax
mov eax, esi
call fcn.00402a90
test eax, eax
je 0x4034e9
mov edi, dword [edi]
cmp edi, dword [ebp - 0x30]
jne 0x403440
cmp dword [ebp - 0x34], 0
je 0x403b46
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x44], eax
jne 0x403318
mov esi, dword [ebp - 0x54]
test byte [section..data], 8
jne 0x4043ca
mov dword [esi + 8], 2
mov dword [ebp - 0x2c], 1
jmp 0x402f7f
mov ebx, dword [edi + 0x10]
test ebx, ebx
je 0x4038b0
mov eax, ebx
shr eax, 0x10
je 0x403860
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov ecx, 0x40b015
sub esp, 8
test eax, eax
jne 0x403629
mov edx, 0xffffffff
mov eax, ebx
call fcn.00401550
mov ecx, eax
mov ebx, dword [edi + 8]
test ebx, ebx
je 0x403880
mov eax, ebx
mov dword [ebp - 0x3c], ecx
shr eax, 0x10
je 0x403890
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov ecx, dword [ebp - 0x3c]
mov edx, eax
sub esp, 8
mov eax, 0x40b015
test edx, edx
jne 0x403673
mov edx, 0xffffffff
mov eax, ebx
call fcn.00401550
mov ecx, dword [ebp - 0x3c]
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.00401bf0
jmp 0x403450
mov eax, dword [ebp - 0x34]
mov ecx, 2
mov edx, edi
mov dword [esp], eax
mov eax, esi
call fcn.00402a90
jmp 0x403594
mov edx, dword [edi + 0x10]
test edx, edx
je 0x4037a8
cmp word [edx], 0
mov dword [ebp - 0x3c], edx
je 0x4037a4
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0x40
mov dword [esp], pe_nt_image_headers32
call dword [sym.imp.ucrtbase.dll_malloc]
mov edx, dword [ebp - 0x3c]
test eax, eax
mov dword [ebp - 0x24], eax
je 0x4046d3
movzx eax, word [edx]
cmp ax, 0x22
jne 0x403beb
mov dword [ebp - 0x3c], esi
jmp 0x40376a
mov ecx, eax
mov edx, esi
lea eax, [ebp - 0x24]
sub ecx, esi
sar ecx, 1
call fcn.00401ab0
lea eax, [ebp - 0x24]
mov ecx, 1
mov edx, 0x40b5da
call fcn.00401ab0
movzx eax, word [ebx + 2]
test ax, ax
je 0x403c30
cmp ax, 0x2c
jne 0x403c70
movzx eax, word [ebx + 4]
lea edx, [ebx + 4]
cmp ax, 0x22
jne 0x403be8
lea esi, [edx + 2]
mov dword [esp + 4], 0x40b5d6
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_wcsstr]
mov ebx, eax
test eax, eax
jne 0x403720
mov esi, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
mov eax, dword [edi + 0x10]
test eax, eax
je 0x4037a4
cmp word [eax], 0
jne 0x4034e9
xor eax, eax
xor edx, edx
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x403930
mov dword [esp], edx
call dword [sym.imp.ucrtbase.dll_free]
jmp 0x40359c
mov edx, dword [edi + 0xc]
test edx, edx
je 0x4037e8
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 - 0x34]
mov dword [ebp - 0x24], eax
test ebx, ebx
jne 0x40359c
lea eax, [ebp - 0x24]
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 0x40359c
test byte [section..data], 2
jne 0x40428c
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
movzx eax, byte [section..data]
sub esp, 4
jmp 0x403500
movzx ebx, bx
mov dword [esp], 0x40b008
mov dword [esp + 4], ebx
call fcn.00401760
mov ebx, dword [edi + 8]
mov ecx, eax
test ebx, ebx
jne 0x403634
mov eax, 0x40b00e
jmp 0x403673
movzx ebx, bx
mov dword [esp], 0x40b008
mov dword [esp + 4], ebx
call fcn.00401760
mov ecx, dword [ebp - 0x3c]
jmp 0x403673
mov ecx, 0x40b00e
jmp 0x403629
mov ebx, dword [edi + 0xc]
test ebx, ebx
je 0x403feb
mov eax, ebx
shr eax, 0x10
je 0x403ea0
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, 0x40b015
test edx, edx
jne 0x403901
mov edx, 0xffffffff
mov eax, ebx
call fcn.00401550
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.00401bf0
jmp 0x4034e9
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 - 0x3c], edx
mov dword [esp + 4], eax
mov dword [esp], esi
call dword [sym.imp.advapi32.dll_RegSetValueExW]
mov edx, dword [ebp - 0x3c]
sub esp, 0x18
test eax, eax
je 0x4037b3
mov ecx, edx
test byte [section..data], 2
jne 0x404080
mov dword [esp], edx
call dword [sym.imp.ucrtbase.dll_free]
jmp 0x40383d
movzx eax, byte [section..data]
test al, 1
je 0x403500
test ebx, ebx
je 0x404459
mov eax, ebx
shr eax, 0x10
je 0x404121
mov dword [esp + 4], edx
mov dword [ebp - 0x30], edx
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov ecx, eax
sub esp, 8
mov eax, 0x40b015
test ecx, ecx
jne 0x4039da
mov edx, dword [ebp - 0x30]
mov eax, ebx
call fcn.00401550
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.00401bf0
movzx eax, byte [section..data]
jmp 0x403500
mov ebx, dword [edi + 0x10]
xor ecx, ecx
mov dword [ebp - 0x24], 0
mov word [ebp - 0x20], cx
test ebx, ebx
je 0x40439f
movzx edx, word [ebx]
mov eax, ebx
test dx, dx
je 0x4042fa
lea esi, [esi]
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x403a40
sub eax, ebx
mov dword [ebp - 0x48], edx
test al, 2
jne 0x4034e9
sar eax, 2
mov dword [ebp - 0x50], eax
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x4034e9
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x4c], esi
mov esi, eax
lea esi, [esi]
nop
mov word [ebp - 0x24], dx
movzx eax, word [ebx + 2]
add esi, 1
add ebx, 4
mov dword [esp + 8], 0x10
mov word [ebp - 0x22], ax
lea eax, [ebp - 0x24]
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 0x403a80
mov esi, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x34]
test edx, edx
je 0x403f68
mov eax, dword [ebp - 0x3c]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
jmp 0x40359c
lea eax, [ebp - 0x28]
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 0x404556
mov eax, dword [ebp - 0x38]
mov edi, dword [eax + 0xc]
add eax, 0xc
mov dword [ebp - 0x30], eax
cmp eax, edi
jne 0x403440
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov eax, dword [ebp - 0x38]
sub esp, 4
mov eax, dword [eax]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x44], eax
jne 0x403318
jmp 0x4035c2
mov eax, dword [ebp - 0x38]
mov edi, dword [eax + 8]
test edi, edi
je 0x40421b
mov eax, edi
shr eax, 0x10
je 0x403fc9
mov dword [esp + 4], 0xffffffff
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, 0x40b015
test edx, edx
jne 0x403bb4
mov edx, 0xffffffff
mov eax, edi
call fcn.00401550
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.00401bf0
jmp 0x40341b
mov esi, dword [ebp - 0x3c]
test ax, ax
je 0x403c33
test byte [section..data], 1
je 0x403787
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.00401bf0
jmp 0x403787
mov esi, dword [ebp - 0x3c]
mov ecx, 1
mov edx, 0x40b5da
lea eax, [ebp - 0x24]
call fcn.00401ab0
mov eax, dword [ebp - 0x20]
mov ecx, dword [edi + 0x10]
mov edx, dword [ebp - 0x24]
add eax, eax
test ecx, ecx
je 0x4037a8
cmp word [ecx], 0
je 0x4037a8
test edx, edx
jne 0x4037a8
jmp 0x4034e9
mov esi, dword [ebp - 0x3c]
test byte [section..data], 1
je 0x403787
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.00401bf0
jmp 0x403787
mov dword [esp + 8], edx
mov dword [ebp - 0x30], edx
mov dword [esp + 4], str.HKEY_CLASSES_ROOT
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_wcsncmp]
test eax, eax
je 0x403fbf
mov edx, dword [ebp - 0x30]
jmp 0x403366
mov eax, dword [ebp - 0x30]
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 0x4032c4
mov dword [ebp - 0x34], esi
test byte [section..data], 2
je 0x402e79
mov eax, dword [ebp - 0x34]
shr eax, 0x10
je 0x404647
mov esi, dword [ebp - 0x34]
mov dword [esp + 4], 0xffffffff
mov ebx, 0x40b015
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
sub esp, 8
test eax, eax
jne 0x403d65
mov edx, 0xffffffff
mov eax, esi
call fcn.00401550
mov ebx, eax
mov eax, dword [ebp - 0x30]
shr eax, 0x10
je 0x40462e
mov esi, dword [ebp - 0x30]
mov dword [esp + 4], 0xffffffff
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, 0x40b015
test edx, edx
jne 0x403d9f
mov edx, 0xffffffff
mov eax, esi
call fcn.00401550
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.00401bf0
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_free]
mov eax, dword [ebp - 0x34]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
jmp 0x402ea0
mov dword [esp + 8], edx
mov dword [ebp - 0x30], edx
mov dword [esp + 4], str.HKEY_CURRENT_CONFIG
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_wcsncmp]
test eax, eax
je 0x403fe1
mov edx, dword [ebp - 0x30]
jmp 0x403386
mov dword [esp + 8], edx
mov dword [ebp - 0x30], edx
mov dword [esp + 4], str.HKEY_CURRENT_USER
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_wcsncmp]
test eax, eax
je 0x40406c
mov edx, dword [ebp - 0x30]
jmp 0x4033a6
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_free]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_free]
jmp 0x402ea0
mov dword [esp + 8], edx
mov dword [ebp - 0x30], edx
mov dword [esp + 4], str.HKEY_LOCAL_MACHINE
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_wcsncmp]
test eax, eax
je 0x404076
mov edx, dword [ebp - 0x30]
jmp 0x4033c6
movzx ebx, bx
mov dword [esp], 0x40b008
mov dword [esp + 4], ebx
call fcn.00401760
jmp 0x403901
mov eax, esi
shr eax, 0x10
je 0x404106
mov dword [esp + 4], 0xffffffff
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov dword [ebp - 0x44], 0x40b015
sub esp, 8
test eax, eax
jne 0x403ef9
mov edx, 0xffffffff
mov eax, esi
call fcn.00401550
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x30]
shr eax, 0x10
je 0x404354
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, 0x40b015
test edx, edx
jne 0x403f34
mov eax, dword [ebp - 0x30]
mov edx, 0xffffffff
call fcn.00401550
mov edx, dword [ebp - 0x44]
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.00401bf0
jmp 0x402e5a
mov eax, dword [ebp - 0x50]
mov dword [esp + 0xc], 3
mov dword [esp + 8], 0
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x3c]
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 0x403ac7
test byte [section..data], 2
jne 0x4044c4
mov eax, dword [ebp - 0x3c]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
jmp 0x40383d
mov ebx, 0x80000000
jmp 0x40340e
movzx edi, di
mov dword [esp], 0x40b008
mov dword [esp + 4], edi
call fcn.00401760
jmp 0x403bb4
mov ebx, 0x80000005
jmp 0x40340e
mov eax, 0x40b00e
jmp 0x403901
mov ebx, dword [ebx]
test ebx, ebx
je 0x404186
mov eax, ebx
shr eax, 0x10
je 0x4043b2
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, 0x40b015
test edx, edx
jne 0x404038
mov edx, 0xffffffff
mov eax, ebx
call fcn.00401550
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.00401bf0
mov dword [ebp - 0x2c], 0
jmp 0x402f7f
mov ebx, 0x80000001
jmp 0x40340e
mov ebx, 0x80000002
jmp 0x40340e
mov ebx, dword [edi + 8]
test ebx, ebx
je 0x40419a
mov eax, ebx
mov dword [ebp - 0x30], edx
shr eax, 0x10
je 0x40447c
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, 0x40b015
test edx, edx
jne 0x4040ca
mov edx, 0xffffffff
mov eax, ebx
call fcn.00401550
mov ecx, dword [ebp - 0x30]
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 - 0x30], ecx
call fcn.00401bf0
mov ecx, dword [ebp - 0x30]
mov dword [esp], ecx
call dword [sym.imp.ucrtbase.dll_free]
jmp 0x40383d
movzx eax, si
mov dword [esp], 0x40b008
mov dword [esp + 4], eax
call fcn.00401760
mov dword [ebp - 0x44], eax
jmp 0x403ef9
movzx esi, bx
mov dword [esp], 0x40b008
mov dword [esp + 4], esi
call fcn.00401760
jmp 0x4039da
movzx eax, di
mov dword [esp], 0x40b008
mov dword [esp + 4], eax
call fcn.00401760
mov dword [ebp - 0x38], eax
jmp 0x403196
movzx eax, word [ebp - 0x40]
mov dword [esp], 0x40b008
mov dword [esp + 4], eax
call fcn.00401760
jmp 0x403013
movzx eax, word [ebp - 0x40]
mov dword [esp], 0x40b008
mov dword [esp + 4], eax
call fcn.00401760
jmp 0x402d83
mov eax, 0x40b00e
jmp 0x404038
mov eax, 0x40b00e
jmp 0x4030d6
mov eax, 0x40b00e
jmp 0x4040ca
mov dword [ebp - 0x34], esi
test byte [section..data], 2
je 0x402e79
mov eax, dword [ebp - 0x30]
shr eax, 0x10
je 0x404615
mov esi, dword [ebp - 0x30]
mov dword [esp + 4], 0xffffffff
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, 0x40b015
test edx, edx
jne 0x4041ee
mov edx, 0xffffffff
mov eax, esi
call fcn.00401550
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.00401bf0
jmp 0x403dcb
mov eax, 0x40b00e
jmp 0x403bb4
mov eax, dword [ebp - 0x34]
shr eax, 0x10
je 0x4044ab
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, 0x40b015
test edx, edx
jne 0x40425f
mov edx, 0xffffffff
mov eax, esi
call fcn.00401550
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.00401bf0
jmp 0x403dcb
mov ebx, dword [edi + 8]
test ebx, ebx
je 0x4045f2
mov eax, ebx
shr eax, 0x10
je 0x40453e
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, 0x40b015
test edx, edx
jne 0x4042cd
mov edx, 0xffffffff
mov eax, ebx
call fcn.00401550
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.00401bf0
jmp 0x40383d
mov dword [esp], 0
call dword [sym.imp.ucrtbase.dll_malloc]
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x4034e9
mov dword [ebp - 0x50], 0
jmp 0x403abc
test byte [section..data], 2
je 0x402f78
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.00401bf0
jmp 0x402eac
movzx eax, word [ebp - 0x30]
mov dword [esp], 0x40b008
mov dword [esp + 4], eax
call fcn.00401760
jmp 0x403f34
movzx ebx, bx
mov dword [esp], 0x40b008
mov dword [esp + 4], ebx
call fcn.00401760
jmp 0x40321d
movzx eax, cx
mov dword [esp], 0x40b008
mov dword [esp + 4], eax
call fcn.00401760
mov edi, eax
jmp 0x4031dd
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x50], 0
jmp 0x403abc
movzx ebx, bx
mov dword [esp], 0x40b008
mov dword [esp + 4], ebx
call fcn.00401760
jmp 0x404038
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x40468e
shr eax, 0x10
je 0x4045fc
mov ebx, dword [ebp - 0x40]
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, 0x40b015
test edx, edx
jne 0x40440c
mov edx, 0xffffffff
mov eax, ebx
call fcn.00401550
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.00401bf0
jmp 0x4035d2
mov edi, 0x40b00e
jmp 0x4031dd
mov dword [ebp - 0x38], 0x40b00e
jmp 0x403196
mov eax, 0x40b00e
jmp 0x40321d
mov eax, 0x40b00e
jmp 0x4039da
movzx eax, word [ebp - 0x40]
mov dword [esp], 0x40b008
mov dword [esp + 4], eax
call fcn.00401760
jmp 0x4030d6
movzx ebx, bx
mov dword [esp], 0x40b008
mov dword [esp + 4], ebx
call fcn.00401760
mov ecx, dword [ebp - 0x30]
jmp 0x4040ca
mov eax, 0x40b00e
jmp 0x402d83
mov eax, 0x40b00e
jmp 0x403013
movzx eax, word [ebp - 0x34]
mov dword [esp], 0x40b008
mov dword [esp + 4], eax
call fcn.00401760
jmp 0x40425f
mov ebx, dword [edi + 8]
test ebx, ebx
je 0x404684
mov eax, ebx
shr eax, 0x10
je 0x40466c
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, 0x40b015
test edx, edx
jne 0x404505
mov edx, 0xffffffff
mov eax, ebx
call fcn.00401550
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.00401bf0
mov eax, dword [ebp - 0x3c]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
jmp 0x40383d
movzx ebx, bx
mov dword [esp], 0x40b008
mov dword [esp + 4], ebx
call fcn.00401760
jmp 0x4042cd
test byte [section..data], 2
je 0x402f78
mov eax, dword [ebp - 0x38]
mov ebx, dword [eax + 8]
test ebx, ebx
je 0x4046e2
mov eax, ebx
shr eax, 0x10
je 0x4046bb
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, 0x40b015
test edx, edx
jne 0x4045a5
or edx, 0xffffffff
mov eax, ebx
call fcn.00401550
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.00401bf0
movzx eax, byte [section..data]
jmp 0x403500
movzx eax, word [ebp - 0x40]
mov dword [esp], 0x40b008
mov dword [esp + 4], eax
call fcn.00401760
jmp 0x402efb
mov eax, 0x40b00e
jmp 0x4042cd
movzx eax, word [ebp - 0x40]
mov dword [esp], 0x40b008
mov dword [esp + 4], eax
call fcn.00401760
jmp 0x40440c
movzx eax, word [ebp - 0x30]
mov dword [esp], 0x40b008
mov dword [esp + 4], eax
call fcn.00401760
jmp 0x4041ee
movzx eax, word [ebp - 0x30]
mov dword [esp], 0x40b008
mov dword [esp + 4], eax
call fcn.00401760
jmp 0x403d9f
movzx eax, word [ebp - 0x34]
mov dword [esp], 0x40b008
mov dword [esp + 4], eax
call fcn.00401760
mov ebx, eax
jmp 0x403d65
mov eax, 0x40b00e
jmp 0x402efb
movzx ebx, bx
mov dword [esp], 0x40b008
mov dword [esp + 4], ebx
call fcn.00401760
jmp 0x404505
mov eax, 0x40b00e
jmp 0x404505
mov eax, 0x40b00e
jmp 0x40440c
movzx eax, word [ebp - 0x40]
mov dword [esp], 0x40b008
mov dword [esp + 4], eax
call fcn.00401760
jmp 0x40354a
mov eax, 0x40b00e
jmp 0x40354a
movzx ebx, bx
mov dword [esp], 0x40b008
mov dword [esp + 4], ebx
call fcn.00401760
jmp 0x4045a5
cmp word [edx], 0
jne 0x4034e9
jmp 0x4037a4
mov eax, 0x40b00e
jmp 0x4045a5