Function at 0x405a0b
Capabilities:
Set registry value

Disassembly:
push 0x210
mov eax, 0x438870
call fcn.004368bd
mov edi, ecx
mov eax, dword [ebp + 8]
lea esi, [edi + 0x11c]
xor ecx, ecx
mov dword [ebp - 0x1f4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x208], eax
mov eax, ecx
mov dword [ebp - 0x200], eax
push 7
pop edx
mov dword [ebp - 0x1fc], eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x74], edx
mov word [ebp - 0x88], ax
mov dword [ebp - 4], ecx
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x5c], edx
mov word [ebp - 0x70], ax
xor ebx, ebx
inc ebx
mov byte [ebp - 4], bl
mov dword [ebp - 0x210], ebx
cmp dword [edi + 0xc0], ecx
je 0x40635d
cmp dword [edi + 0xd8], ecx
je 0x40635d
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
lea ecx, [ebp - 0x218]
call fcn.00404d1e
lea eax, [ebp - 0x21c]
xor ecx, ecx
push eax
lea eax, [ebp - 0x20c]
push eax
mov eax, dword [edi + 0x10]
push ecx
or eax, 0x20006
push eax
push ecx
push ecx
push ecx
push 0x4416e8
push dword [ebp - 0x1f4]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x405b1a
test esi, esi
je 0x405af2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x441714
mov ecx, esi
call fcn.004175cd
mov byte [ebp - 0x210], 0
lea ecx, [ebp - 0x70]
call fcn.00404129
lea ecx, [ebp - 0x88]
call fcn.00404129
mov al, byte [ebp - 0x210]
call fcn.00436878
ret 0xc
cmp dword [ebp - 0x21c], ebx
jne 0x405b4b
push 0x1e
push str.bvk_config_file
push ebx
push 0
push 0
push dword [ebp - 0x20c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 0x20c]
lea edx, [ebp - 0x218]
call fcn.00416077
push dword [ebp - 0x20c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [edi + 0xb0]
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x405b67
mov ecx, dword [eax]
push esi
lea edx, [ebp - 0x20]
call fcn.004155e3
pop ecx
test al, al
je 0x405af2
cmp dword [ebp - 0x20], 0
jne 0x405bdd
push dword [ebp - 0x1c]
lea eax, [ebp - 0x40]
push str.Bvckup_2__Beta_release__u_
push eax
call fcn.004183a9
mov ecx, dword [ebp - 0x208]
add esp, 0xc
push eax
call fcn.004040b2
lea ecx, [ebp - 0x40]
call fcn.00404129
push dword [ebp - 0x14]
lea eax, [ebp - 0x40]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push str.0._u._u._u
push eax
call fcn.004183a9
add esp, 0x14
lea ecx, [ebp - 0x70]
push eax
call fcn.004040b2
lea ecx, [ebp - 0x40]
call fcn.00404129
mov esi, dword [ebp - 0x1fc]
jmp 0x405ca4
cmp dword [ebp - 0x14], 0
je 0x405bea
mov eax, str._u._u._u
jmp 0x405bfb
cmp dword [ebp - 0x18], 0
mov eax, str._u._u
mov ecx, 0x4450c8
cmove eax, ecx
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004182e3
mov esi, 0x80000
add esp, 0x14
mov dword [ebp - 0x1fc], esi
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x204]
call fcn.004021ec
mov edx, ecx
lea ecx, [ebp - 0xa0]
call fcn.004184aa
push eax
mov edx, str.Bvckup_2___Release
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.0040672e
pop ecx
mov ecx, dword [ebp - 0x208]
push eax
call fcn.004040b2
lea ecx, [ebp - 0x40]
call fcn.00404129
lea ecx, [ebp - 0xa0]
call fcn.00404129
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], bl
call fcn.00401f3d
push dword [ebp - 0x14]
lea eax, [ebp - 0x40]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push 0x4417bc
push eax
call fcn.004183a9
add esp, 0x14
lea ecx, [ebp - 0x70]
push eax
call fcn.004040b2
lea ecx, [ebp - 0x40]
call fcn.00404129
cmp byte [ebp + 0x10], 0
jne 0x405ce4
push 0x4417d0
lea ecx, [ebp - 0x58]
call fcn.004040e9
push dword [edi + 0x10]
mov ecx, dword [ebp - 0x1f4]
lea eax, [ebp - 0x218]
or esi, ebx
lea edx, [ebp - 0x58]
push eax
mov dword [ebp - 0x1fc], esi
call fcn.00416023
mov byte [ebp - 0x1f6], 0
pop ecx
pop ecx
test al, al
jne 0x405cea
mov byte [ebp - 0x1f6], bl
mov eax, dword [ebp - 0x1fc]
test bl, al
je 0x405d0b
and eax, 0xfffffffe
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x1fc], eax
call fcn.00404129
mov eax, dword [ebp - 0x1fc]
lea esi, [edi + 0xc8]
mov ebx, eax
push str.uninstall.exe
mov edx, esi
lea ecx, [ebp - 0x40]
call fcn.0040661b
pop ecx
push eax
lea ecx, [ebp - 0x88]
call fcn.004040b2
lea ecx, [ebp - 0x40]
call fcn.00404129
push 0x441864
lea ecx, [ebp - 0x40]
call fcn.004040e9
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xa0]
mov eax, dword [ebp - 0x1fc]
or eax, 2
push 0x441898
mov dword [ebp - 0x200], eax
call fcn.004040e9
lea eax, [edi + 0x11c]
mov dword [ebp - 4], 5
push eax
push dword [edi + 0x10]
lea eax, [ebp - 0x40]
or ebx, 6
push esi
mov esi, dword [ebp - 0x1f4]
lea edx, [ebp - 0xa0]
push eax
mov ecx, esi
mov dword [ebp - 0x200], ebx
mov dword [ebp - 0x1fc], ebx
call fcn.00415ff7
add esp, 0x10
test al, al
je 0x406153
push 0x441910
lea ecx, [ebp - 0x1d8]
call fcn.004040e9
mov eax, ebx
mov dword [ebp - 4], 6
or eax, 8
lea ecx, [ebp - 0x1c0]
push 0x441928
mov dword [ebp - 0x200], eax
call fcn.004040e9
mov ecx, dword [ebp - 0x1f4]
lea esi, [edi + 0x11c]
mov dword [ebp - 4], 7
lea eax, [ebp - 0x1d8]
push esi
push dword [edi + 0x10]
or ebx, 0x18
lea edx, [ebp - 0x1c0]
push dword [ebp - 0x208]
mov dword [ebp - 0x200], ebx
push eax
call fcn.00415ff7
add esp, 0x10
test al, al
je 0x40614d
push str.DisplayIcon
lea ecx, [ebp - 0x1a8]
call fcn.004040e9
mov dword [ebp - 4], 8
lea ecx, [ebp - 0x190]
or ebx, 0x20
push 0x4419c0
mov dword [ebp - 0x200], ebx
call fcn.004040e9
mov dword [ebp - 4], 9
lea edx, [edi + 0xb0]
mov ebx, dword [ebp - 0x1fc]
lea ecx, [ebp - 0x1f0]
mov eax, ebx
or eax, 0x78
push 0x4419a0
mov dword [ebp - 0x200], eax
call fcn.0040661b
mov ecx, dword [ebp - 0x1f4]
lea edx, [ebp - 0x190]
push esi
mov dword [ebp - 4], 0xa
or ebx, 0xf8
push dword [edi + 0x10]
mov dword [ebp - 0x200], ebx
push eax
lea eax, [ebp - 0x1a8]
push eax
call fcn.00415ff7
add esp, 0x14
test al, al
je 0x40614d
push 0x441a38
lea ecx, [ebp - 0x178]
call fcn.004040e9
mov eax, ebx
mov dword [ebp - 4], 0xb
or eax, 0x100
lea ecx, [ebp - 0x160]
push 0x441a58
mov dword [ebp - 0x200], eax
call fcn.004040e9
mov ecx, dword [ebp - 0x1f4]
lea eax, [ebp - 0x70]
push esi
mov dword [ebp - 4], 0xc
lea edx, [ebp - 0x160]
push dword [edi + 0x10]
or ebx, 0x300
push eax
lea eax, [ebp - 0x178]
mov dword [ebp - 0x200], ebx
push eax
call fcn.00415ff7
add esp, 0x10
test al, al
je 0x40614d
push str.UninstallString
lea ecx, [ebp - 0x148]
call fcn.004040e9
mov eax, ebx
mov dword [ebp - 4], 0xd
or eax, 0x400
lea ecx, [ebp - 0x130]
push 0x441af0
mov dword [ebp - 0x200], eax
call fcn.004040e9
push esi
mov esi, dword [ebp - 0x1f4]
lea eax, [ebp - 0x88]
mov dword [ebp - 4], 0xe
lea edx, [ebp - 0x130]
push dword [edi + 0x10]
or ebx, 0xc00
mov ecx, esi
push eax
lea eax, [ebp - 0x148]
mov dword [ebp - 0x200], ebx
push eax
call fcn.00415ff7
add esp, 0x10
test al, al
je 0x406153
push str.NoModify
lea ecx, [ebp - 0x118]
call fcn.004040e9
mov eax, ebx
mov dword [ebp - 4], 0xf
or eax, 0x1000
lea ecx, [ebp - 0x100]
push 0x441b68
mov dword [ebp - 0x200], eax
call fcn.004040e9
mov ecx, dword [ebp - 0x1f4]
lea eax, [edi + 0x11c]
push eax
mov dword [ebp - 4], 0x10
lea eax, [ebp - 0x208]
push dword [edi + 0x10]
xor esi, esi
lea edx, [ebp - 0x100]
push 4
push eax
lea eax, [ebp - 0x118]
or ebx, 0x3000
push 4
inc esi
mov dword [ebp - 0x200], ebx
push eax
mov dword [ebp - 0x1fc], ebx
mov dword [ebp - 0x208], esi
call fcn.00415f47
add esp, 0x18
test al, al
je 0x40614d
push str.NoRepair
lea ecx, [ebp - 0xe8]
call fcn.004040e9
mov eax, ebx
mov dword [ebp - 4], 0x11
or eax, 0x4000
lea ecx, [ebp - 0xd0]
push 0x441c10
mov dword [ebp - 0x200], eax
call fcn.004040e9
mov ecx, dword [ebp - 0x1f4]
lea eax, [ebp - 0x208]
mov dword [ebp - 4], 0x12
lea edx, [ebp - 0xd0]
mov dword [ebp - 0x208], esi
or ebx, 0xc000
lea esi, [edi + 0x11c]
mov dword [ebp - 0x200], ebx
push esi
push dword [edi + 0x10]
push 4
push eax
lea eax, [ebp - 0xe8]
push 4
push eax
call fcn.00415f47
add esp, 0x18
test al, al
je 0x40614d
push 0x441bf4
lea ecx, [ebp - 0xb8]
call fcn.004040e9
mov dword [ebp - 4], 0x13
lea ecx, [ebp - 0x28]
or ebx, 0x10000
push str.Publisher
mov dword [ebp - 0x200], ebx
call fcn.004040e9
mov dword [ebp - 4], 0x14
lea ecx, [ebp - 0x58]
mov ebx, dword [ebp - 0x1fc]
mov eax, ebx
or eax, 0x3c000
push 0x441cb8
mov dword [ebp - 0x200], eax
call fcn.004040e9
push esi
mov esi, dword [ebp - 0x1f4]
lea eax, [ebp - 0xb8]
mov dword [ebp - 4], 0x15
lea edx, [ebp - 0x58]
push dword [edi + 0x10]
or ebx, 0x7c000
mov ecx, esi
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x200], ebx
push eax
call fcn.00415ff7
add esp, 0x10
test al, al
je 0x406153
mov byte [ebp - 0x1f5], 0
jmp 0x40615a
mov esi, dword [ebp - 0x1f4]
mov byte [ebp - 0x1f5], 1
test ebx, 0x40000
je 0x406170
lea ecx, [ebp - 0x58]
and ebx, 0xfffbffff
call fcn.00404129
test ebx, 0x20000
je 0x406186
lea ecx, [ebp - 0x28]
and ebx, 0xfffdffff
call fcn.00404129
test ebx, 0x10000
je 0x40619f
lea ecx, [ebp - 0xb8]
and ebx, 0xfffeffff
call fcn.00404129
test ebx, 0x8000
je 0x4061b8
lea ecx, [ebp - 0xd0]
and ebx, 0xffff7fff
call fcn.00404129
test ebx, 0x4000
je 0x4061d1
lea ecx, [ebp - 0xe8]
and ebx, 0xffffbfff
call fcn.00404129
test ebx, 0x2000
je 0x4061ea
lea ecx, [ebp - 0x100]
and ebx, 0xffffdfff
call fcn.00404129
test ebx, 0x1000
je 0x406203
lea ecx, [ebp - 0x118]
and ebx, 0xffffefff
call fcn.00404129
test ebx, 0x800
je 0x40621c
lea ecx, [ebp - 0x130]
and ebx, 0xfffff7ff
call fcn.00404129
test ebx, 0x400
je 0x406235
lea ecx, [ebp - 0x148]
and ebx, 0xfffffbff
call fcn.00404129
test ebx, 0x200
je 0x40624e
lea ecx, [ebp - 0x160]
and ebx, 0xfffffdff
call fcn.00404129
test ebx, 0x100
je 0x406267
lea ecx, [ebp - 0x178]
and ebx, 0xfffffeff
call fcn.00404129
test bl, bl
jns 0x40627c
lea ecx, [ebp - 0x1f0]
and ebx, 0xffffff7f
call fcn.00404129
test bl, 0x40
je 0x40628f
lea ecx, [ebp - 0x190]
and ebx, 0xffffffbf
call fcn.00404129
test bl, 0x20
je 0x4062a2
lea ecx, [ebp - 0x1a8]
and ebx, 0xffffffdf
call fcn.00404129
test bl, 0x10
je 0x4062b5
lea ecx, [ebp - 0x1c0]
and ebx, 0xffffffef
call fcn.00404129
test bl, 8
je 0x4062c5
lea ecx, [ebp - 0x1d8]
call fcn.00404129
lea ecx, [ebp - 0xa0]
call fcn.00404129
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 1
call fcn.00404129
cmp byte [ebp - 0x1f5], 0
jne 0x405af2
cmp byte [ebp - 0x1f6], 0
je 0x405af9
push 0x441d30
lea ecx, [ebp - 0x28]
call fcn.004040e9
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
lea edx, [ebp - 0x208]
mov eax, dword [edi + 0x10]
cmovae ecx, dword [ebp - 0x28]
or eax, 0x20006
push edx
push eax
push 0
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x406350
mov ecx, dword [ebp - 0x208]
lea edx, [ebp - 0x218]
call fcn.00416077
push dword [ebp - 0x208]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x28]
call fcn.00404129
jmp 0x405af9
call fcn.00428d1b
int3