Function at 0x430d80
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 0x430def
push 0x4b0768
call fcn.00458ecb
add esp, 4
cmp dword [0x4b0768], 0xffffffff
jne 0x430def
call fcn.0040d7d0
push 0x482c60
call fcn.00459225
push 0x4b0768
call fcn.00458e8c
add esp, 8
xor edx, edx
mov eax, 0x21
div dword [0x4b0778]
mov eax, dword [0x4b0770]
test eax, eax
je 0x431159
mov eax, dword [eax + edx*4]
test eax, eax
je 0x431159
cmp dword [eax + 0xc], 0x21
jne 0x430e1f
cmp dword [eax], 0x21
je 0x430e2b
mov eax, dword [eax + 8]
test eax, eax
jne 0x430e14
jmp 0x431159
push 0x21
mov ecx, 0x4b0770
call fcn.0040de40
mov edi, dword [eax]
test edi, edi
je 0x431159
push 0x45f
call fcn.0045923a
add esp, 4
mov dword [ebp - 0x30], eax
mov ecx, eax
call fcn.00403070
xor esi, esi
mov dword [ebp - 0x30], eax
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 0x430e82
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 0x430eaf
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 0x430edc
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 0x4310fb
cmp dword [0x4b04a0], 0x21
mov eax, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 0x10], 0
jne 0x430fa7
push 0
lea ecx, [ebp - 0x10]
push ecx
push 0
push 0x103
push 0
push 0
push 0
push str.SoftwareEssentwarePckeeper
push reloc.OLEAUT32.dll_SysReAllocString
call eax
mov edx, dword [ebp - 0x10]
test edx, edx
je 0x430f79
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 0x113
push str.CInstActionSetPCKTrt::DoAction
push str.c:_buildagentwork_b0d71a1a28f6c898installerActionsInstActionPCKeeper.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.SoftwareEssentwarePckeeper
push reloc.OLEAUT32.dll_SysReAllocString
call eax
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x430ff2
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 0x11c
push str.CInstActionSetPCKTrt::DoAction
push str.c:_buildagentwork_b0d71a1a28f6c898installerActionsInstActionPCKeeper.h
lea ecx, [ebp - 0x3c]
call fcn.00457220
push eax
call fcn.004573f0
add esp, 0x10
test edi, edi
je 0x4310fb
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 0x4310fb
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
call fcn.00402d50
mov esi, dword [ebp - 0x18]
test al, al
je 0x4310fb
lea eax, [ebp - 0x14]
push eax
push esi
push edi
call fcn.00401810
test eax, eax
je 0x4310fb
push dword [ebp - 0x30]
push dword [ebp - 0x14]
push esi
call fcn.00401880
test eax, eax
je 0x4310fb
push 0
lea eax, [ebp - 0x10]
push eax
push 0
push 0x102
push 0
push 0
push 0
push str.SoftwareEssentwarePckeeper
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4310d2
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 0x129
push str.CInstActionSetPCKTrt::DoAction
push str.c:_buildagentwork_b0d71a1a28f6c898installerActionsInstActionPCKeeper.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 0x431119
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 0x431137
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 0x431150
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