Function at 0x4227dc
Capabilities:
Encrypt data using dpapi

Disassembly:
push 0x64
mov eax, 0x44d82e
call fcn.0043676f
mov esi, edx
xor ebx, ebx
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x34], ebx
call fcn.0040233d
mov eax, dword [esi]
mov eax, dword [eax - 0xc]
cdq
sub eax, edx
mov esi, eax
lea ecx, [ebp - 0x70]
mov byte [ebp - 0x28], bl
mov byte [ebp - 0x27], 1
mov byte [ebp - 0x26], 2
mov byte [ebp - 0x25], 3
mov byte [ebp - 0x24], 4
mov byte [ebp - 0x23], 5
mov byte [ebp - 0x22], 6
mov byte [ebp - 0x21], 7
mov byte [ebp - 0x20], 8
mov byte [ebp - 0x1f], 9
mov byte [ebp - 0x1e], bl
mov byte [ebp - 0x1d], bl
mov byte [ebp - 0x1c], bl
mov byte [ebp - 0x1b], bl
mov byte [ebp - 0x1a], bl
mov byte [ebp - 0x19], bl
mov byte [ebp - 0x18], bl
mov byte [ebp - 0x17], 0xa
mov byte [ebp - 0x16], 0xb
mov byte [ebp - 0x15], 0xc
mov byte [ebp - 0x14], 0xd
mov byte [ebp - 0x13], 0xe
mov byte [ebp - 0x12], 0xf
sar esi, 1
call fcn.00430a90
mov dword [ebp - 4], ebx
mov dword [ebp - 0x2c], ebx
cmp esi, ebx
jbe 0x4228d2
xor edi, edi
cmp edi, ebx
jl 0x422988
mov eax, dword [ebp - 0x54]
mov eax, dword [eax]
mov edx, dword [eax - 0xc]
cmp edi, edx
jg 0x422988
movzx ecx, word [eax + edi*2]
mov dword [ebp - 0x58], ecx
lea ecx, [edi + 1]
cmp ecx, ebx
jl 0x422988
cmp ecx, edx
jg 0x422988
movzx eax, word [eax + edi*2 + 2]
movzx ecx, word [ebp - 0x58]
mov cl, byte [ebp + ecx - 0x58]
movzx eax, ax
shl cl, 4
or cl, byte [ebp + eax - 0x58]
mov byte [ebp - 0x30], cl
push dword [ebp - 0x30]
lea ecx, [ebp - 0x70]
push dword [ebp - 0x68]
call fcn.00430bc9
inc dword [ebp - 0x2c]
inc edi
inc edi
cmp dword [ebp - 0x2c], esi
jb 0x42286e
push 8
lea eax, [ebp - 0x48]
push ebx
push eax
call fcn.00434dc0
add esp, 0xc
push 8
lea eax, [ebp - 0x50]
push ebx
push eax
call fcn.00434dc0
add esp, 0xc
push 8
lea eax, [ebp - 0x40]
push ebx
push eax
call fcn.00434dc0
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x68]
mov edi, 0x480410
add esp, 0xc
mov ecx, edi
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x48], eax
call fcn.0040c57f
mov dword [ebp - 0x3c], eax
mov eax, dword [0x480410]
mov eax, dword [eax - 0xc]
shr eax, 1
inc eax
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x50]
push eax
push 1
push ebx
push ebx
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
je 0x422992
push dword [ebp - 0x4c]
lea ecx, [ebp - 0x30]
call fcn.00402148
mov ecx, dword [ebp - 0x5c]
push eax
mov byte [ebp - 4], 1
call fcn.00408894
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
call fcn.004025ca
push dword [ebp - 0x38]
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
call esi
push dword [ebp - 0x4c]
call esi
mov dword [ebp - 0x34], 1
jmp 0x4229c0
push 0x80070057
call fcn.00402537
push str.Decryption_failed.
lea ecx, [ebp - 0x2c]
call fcn.00402148
push ebx
lea eax, [ebp - 0x2c]
push eax
push 1
mov byte [ebp - 4], 2
call fcn.0040e1e3
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x2c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025ca
push 0xffffffffffffffff
mov ecx, edi
call fcn.004087aa
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.00430aa7
mov eax, dword [ebp - 0x34]
call fcn.004367f2
ret