Function at 0x405bf0
Capabilities:
Decode data using base64 via winapi
Encrypt data using dpapi

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4284cd
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x434014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp + 8]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x38]
call fcn.00409380
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push 0
push 0
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
cmp dword [ebp - 0x24], 0x10
lea eax, [ebp - 0x38]
push ecx
cmovae eax, dword [ebp - 0x38]
push 0
push 1
push 0
push eax
mov dword [ebp - 0x20], 0
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
je 0x405d35
mov edi, dword [ebp - 0x18]
mov edx, edi
mov ecx, dword [ebp - 0x1c]
sub edx, ecx
mov esi, dword [ebp - 0x20]
cmp esi, edx
jae 0x405c9a
lea eax, [ecx + esi]
jmp 0x405cc8
jbe 0x405ccb
mov eax, dword [ebp - 0x14]
sub eax, ecx
cmp esi, eax
jbe 0x405cb4
push ecx
push esi
lea ecx, [ebp - 0x1c]
call fcn.0040d710
mov ecx, dword [ebp - 0x1c]
jmp 0x405ccb
sub esi, edx
push esi
push 0
push edi
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [ebp - 0x1c]
lea eax, [esi + edi]
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x24], 0x10
lea edx, [ebp - 0x20]
push 0
push 0
push edx
push ecx
push 1
lea eax, [ebp - 0x38]
cmovae eax, dword [ebp - 0x38]
push 0
push eax
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
je 0x405d35
mov eax, dword [ebp - 0x1c]
add eax, 5
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x20]
add eax, 0xfffffffb
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
je 0x405d35
push 8
call fcn.00426e1c
mov esi, eax
add esp, 4
mov eax, dword [ebp - 0x44]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x48]
mov dword [esi], eax
jmp 0x405d37
xor esi, esi
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x405d80
mov edx, dword [ebp - 0x14]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x405d61
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405de8
push edx
push ecx
call fcn.004270a2
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp - 0x24]
cmp ecx, 0x10
jb 0x405db0
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405da6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405de8
push ecx
push edx
call fcn.004270a2
add esp, 8
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
cmp ecx, 0x10
jb 0x405df8
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405dee
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x405dee
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004270a2
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00426c11
mov esp, ebp
pop ebp
ret