Function at 0x431fa0
Capabilities:
Decode data using base64 via winapi
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47fef0
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x4ac084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x4b0768]
cmp eax, dword [ecx + 4]
jle 0x43200f
push 0x4b0768
call fcn.00458ecb
add esp, 4
cmp dword [0x4b0768], 0xffffffff
jne 0x43200f
call fcn.0040d7d0
push 0x482c60
call fcn.00459225
push 0x4b0768
call fcn.00458e8c
add esp, 8
xor edx, edx
mov eax, 0x20
div dword [0x4b0778]
mov eax, dword [0x4b0770]
test eax, eax
je 0x4323b1
mov eax, dword [eax + edx*4]
test eax, eax
je 0x4323b1
cmp dword [eax + 0xc], 0x20
jne 0x43203f
cmp dword [eax], 0x20
je 0x43204b
mov eax, dword [eax + 8]
test eax, eax
jne 0x432034
jmp 0x4323b1
push 0x20
mov ecx, 0x4b0770
call fcn.0040de40
mov edi, dword [eax]
test edi, edi
je 0x4323b1
push 0x40b
call fcn.0045923a
mov ebx, eax
push str.FindAndFixAV
push 0x100
mov dword [ebp - 0x30], ebx
lea ecx, [ebx + 0xb]
mov dword [ebx], 0x40b
push ecx
mov dword [ebx + 4], 0xffffffff
mov word [ebx + 8], 0
mov byte [ebx + 0xa], 0
call fcn.0045e667
push 0x490710
lea eax, [ebx + 0x20b]
push 0x100
push eax
call fcn.0045e667
xor esi, esi
add esp, 0x1c
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x14], esi
call fcn.00403450
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4320da
push 0x80004005
call fcn.004039a0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 1
call fcn.00403450
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x432107
push 0x80004005
call fcn.004039a0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 2
call fcn.00403450
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x432134
push 0x80004005
call fcn.004039a0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00402940
mov edi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x24]
test eax, eax
je 0x432353
cmp dword [0x4b04a0], 0x20
mov eax, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 0x10], 0
jne 0x4321ff
push 0
lea ecx, [ebp - 0x10]
push ecx
push 0
push 0x103
push 0
push 0
push 0
push str.SoftwareEssentwarePCKAV
push reloc.OLEAUT32.dll_SysReAllocString
call eax
mov edx, dword [ebp - 0x10]
test edx, edx
je 0x4321d1
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax - 0xc]
lea ecx, [ecx*2 + 2]
push ecx
push eax
push 1
push 0
push str.zi_id
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.Setting_szIdName_finished
push 1
push 3
push 0xd6
push str.CInstActionSetPCKAVTrt::DoAction
push str.c:_buildagentwork_b0d71a1a28f6c898installerActionsInstActionPCKAV.h
lea ecx, [ebp - 0x3c]
call fcn.00457220
push eax
call fcn.004573f0
mov eax, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
add esp, 0x10
push 0
lea ecx, [ebp - 0x10]
push ecx
push 0
push 0x103
push 0
push 0
push 0
push str.SoftwareEssentwarePCKAV
push reloc.OLEAUT32.dll_SysReAllocString
call eax
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x43224a
mov eax, dword [ebx - 0xc]
lea eax, [eax*2 + 2]
push eax
push ebx
push 1
push 0
push str.zi_bid
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.Setting_szBundleIdName_finished
push 1
push 3
push 0xe0
push str.CInstActionSetPCKAVTrt::DoAction
push str.c:_buildagentwork_b0d71a1a28f6c898installerActionsInstActionPCKAV.h
lea ecx, [ebp - 0x3c]
call fcn.00457220
push eax
call fcn.004573f0
add esp, 0x10
test edi, edi
je 0x432353
lea eax, [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x28], 0
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push 1
push 0
push edi
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryW]
test eax, eax
je 0x432353
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
call fcn.00402d50
mov esi, dword [ebp - 0x18]
test al, al
je 0x432353
lea eax, [ebp - 0x14]
push eax
push esi
push edi
call fcn.00401810
test eax, eax
je 0x432353
push dword [ebp - 0x30]
push dword [ebp - 0x14]
push esi
call fcn.00401880
test eax, eax
je 0x432353
push 0
lea eax, [ebp - 0x10]
push eax
push 0
push 0x102
push 0
push 0
push 0
push str.SoftwareEssentwarePCKAV
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x43232a
push dword [ebp - 0x14]
push esi
push 3
push 0
push str.zi_inf
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.Setting_szInfName_finished
push 1
push 3
push 0xed
push str.CInstActionSetPCKAVTrt::DoAction
push str.c:_buildagentwork_b0d71a1a28f6c898installerActionsInstActionPCKAV.h
lea ecx, [ebp - 0x3c]
call fcn.00457220
push eax
call fcn.004573f0
add esp, 0x10
lea edx, [ebx - 0x10]
mov byte [ebp - 4], 2
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x432371
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, ebx
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43238f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x4323a8
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
push esi
call fcn.00458d52
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret