Function at 0xd54ce0
Capabilities:
Decode data using base64 via winapi
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xd5902d
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0xd5f010]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x50], ecx
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
mov ecx, esi
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0xd54d30
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.00d4c000
xor esi, esi
mov dword [ebp - 4], 0
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x2c]
mov edi, dword [sym.imp.crypt32.dll_CryptStringToBinaryA]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push esi
push esi
push ecx
push esi
push 1
push dword [ebp - 0x18]
mov dword [ebp - 0x2c], 0
push eax
call edi
test eax, eax
je 0xd54da0
push dword [ebp - 0x2c]
call fcn.00d56db9
add esp, 4
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x14], 0x10
mov esi, eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push 0
push 0
push ecx
push esi
push 1
push dword [ebp - 0x18]
push eax
call edi
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 0x58]
push eax
push ecx
mov ecx, esi
call fcn.00d56110
mov eax, dword [ebp - 0x4c]
xor edx, edx
div dword [ebp - 0x2c]
mov edi, dword [ebp - 0x50]
xor ecx, ecx
add esp, 8
mov dword [ebp - 0x44], ecx
mov esi, edi
test eax, eax
je 0xd54eee
movzx eax, byte [ebp - 0x58]
mov ecx, dword [ebp - 0x54]
lea edi, [ecx + eax*8]
mov dword [ebp - 0x60], edi
nop dword [eax]
mov ecx, dword [esi + 8]
sub ecx, dword [edi + 0xc]
mov edx, dword [esi]
mov al, byte [ebp - 0x58]
mov dword [esi + 8], ecx
sub edx, dword [edi + 8]
mov dword [esi], edx
mov byte [ebp - 0x2d], al
test al, al
je 0xd54ec6
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x40], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x3c], edi
nop dword [eax]
mov eax, dword [ebp - 0x40]
mov dword [esi], eax
mov dword [ebp - 0x5c], eax
lea eax, [ecx*2 + 1]
imul eax, ecx
mov edi, dword [ebp - 0x48]
mov dword [esi + 0xc], ecx
mov dword [ebp - 0x40], ecx
mov dword [esi + 4], edx
mov ecx, eax
mov dword [ebp - 0x48], edx
shl eax, 5
shr ecx, 0x1b
or ecx, eax
mov dword [esi + 8], edi
lea eax, [edx*2 + 1]
mov dword [ebp - 0x34], ecx
imul eax, edx
mov ecx, 0x20
mov edx, eax
shl eax, 5
shr edx, 0x1b
or edx, eax
mov eax, dword [ebp - 0x3c]
sub edi, dword [eax + 4]
mov eax, edx
and eax, 0x1f
mov dword [ebp - 0x38], edi
sub ecx, eax
shl dword [ebp - 0x38], cl
mov ecx, eax
mov eax, dword [ebp - 0x34]
shr edi, cl
mov ecx, dword [ebp - 0x38]
or ecx, edi
mov edi, dword [ebp - 0x5c]
xor ecx, eax
and eax, 0x1f
mov dword [esi + 8], ecx
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp - 0x3c]
sub dword [ebp - 0x3c], 8
sub edi, dword [ecx]
mov ecx, 0x20
sub ecx, eax
mov dword [ebp - 0x34], edi
shl dword [ebp - 0x34], cl
mov ecx, eax
mov eax, dword [ebp - 0x34]
shr edi, cl
mov ecx, dword [ebp - 0x38]
or eax, edi
xor eax, edx
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x34]
mov dword [esi], eax
mov al, byte [ebp - 0x2d]
dec al
mov byte [ebp - 0x2d], al
test al, al
jne 0xd54e10
mov edi, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x54]
xor edx, edx
inc dword [ebp - 0x44]
mov eax, dword [ecx + 4]
sub dword [esi + 0xc], eax
mov eax, dword [ecx]
sub dword [esi + 4], eax
mov eax, dword [ebp - 0x4c]
div dword [ebp - 0x2c]
add esi, dword [ebp - 0x2c]
cmp dword [ebp - 0x44], eax
jb 0xd54de0
mov edi, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0xd54f24
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0xd54f1a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0xd54f1a
call dword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00d56dab
add esp, 8
mov eax, edi
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.00d56a37
mov esp, ebp
pop ebp
ret