Function at 0x45f1f0
Capabilities:
Check for peb beingdebugged flag
Encrypt or decrypt via wincrypt

Disassembly:
push 0xffffffffffffffff
push 0x4db16b
mov eax, dword fs:[0]
push eax
mov eax, 0x14c
call fcn.00468d20
mov eax, dword [0x5808f0]
xor eax, esp
mov dword [esp + 0x148], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5808f0]
xor eax, esp
push eax
lea eax, [esp + 0x160]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x170]
xor eax, eax
mov esi, ecx
mov byte [esp + 0x12c], 0
mov dword [esp + 0x12d], eax
mov dword [esp + 0x131], eax
mov dword [esp + 0x135], eax
mov word [esp + 0x139], ax
mov byte [esp + 0x13b], al
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x28], vtable.dwcl::AES.0
mov ecx, dword [esi + 0x2c]
mov edx, dword [esi + 0x34]
add ecx, ecx
push eax
push ecx
push edx
mov ecx, ebx
mov dword [esp + 0x174], eax
mov byte [esp + 0x158], al
mov dword [esp + 0x159], eax
mov dword [esp + 0x15d], eax
mov dword [esp + 0x161], eax
mov word [esp + 0x165], ax
mov byte [esp + 0x167], al
mov byte [esp + 0x148], al
mov dword [esp + 0x149], eax
mov dword [esp + 0x14d], eax
mov dword [esp + 0x151], eax
mov word [esp + 0x155], ax
mov byte [esp + 0x157], al
call fcn.00424be0
mov ecx, dword [esi + 0x30]
xor edi, edi
mov ebp, 2
sub ebp, ecx
mov ecx, edi
sbb ecx, edi
add eax, ebp
adc edx, ecx
push edx
push eax
mov ecx, ebx
call fcn.00424750
mov edx, dword [esi + 0x2c]
mov eax, dword [esi + 0x38]
mov ecx, dword [esi + 0x34]
push edx
push eax
push ecx
call fcn.00403440
mov ecx, dword [esi + 0x38]
mov edx, dword [esi + 0x2c]
add esp, 0xc
lea eax, [esp + 0x24]
push eax
push ecx
push edi
push 1
mov dword [esp + 0x34], edx
mov edx, dword [esi + 0x28]
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
mov ecx, dword [esi + 0x38]
push edi
push 0x10
lea eax, [esp + 0x144]
push eax
add ecx, 2
push 9
push ecx
call fcn.004053e0
add esp, 0x14
mov ecx, ebx
call fcn.00424be0
mov ecx, dword [esi + 0x30]
sub eax, ecx
sbb edx, edi
add eax, 0xfffffff0
adc edx, 0xffffffff
push 0
mov ebp, edx
push 0x10
lea edx, [esp + 0x144]
mov edi, eax
push edx
lea ecx, [esp + 0x34]
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], ebp
call fcn.00401b90
cmp dword [esp + 0x34], 0
jne 0x45f3ad
mov eax, dword [esp + 0x28]
mov edx, dword [eax]
lea ecx, [esp + 0x28]
call edx
push eax
call fcn.004691cd
add esp, 4
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x28]
mov edx, dword [eax]
lea ecx, [esp + 0x28]
call edx
mov ecx, dword [esp + 0x34]
push eax
lea eax, [esp + 0x150]
push eax
push ecx
call fcn.00468d50
add esp, 0xc
test ebp, ebp
jb 0x45f46c
ja 0x45f3eb
test edi, edi
jbe 0x45f46c
jmp 0x45f3eb
mov edi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
sub edi, eax
sbb ebp, ecx
jne 0x45f3fe
cmp edi, 0x10
jbe 0x45f405
mov edi, 0x10
xor ebp, ebp
push ebp
push edi
lea edx, [esp + 0x134]
push edx
push ecx
push eax
mov ecx, ebx
call fcn.00424750
push edi
lea eax, [esp + 0x130]
mov ecx, eax
push eax
push ecx
lea ecx, [esp + 0x34]
call fcn.00401a30
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push ebp
push edi
lea edx, [esp + 0x134]
push edx
push eax
push ecx
mov ecx, ebx
call fcn.00424860
add dword [esp + 0x14], edi
mov eax, dword [esp + 0x18]
adc eax, ebp
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x20]
jb 0x45f3e3
ja 0x45f46c
mov edx, dword [esp + 0x1c]
cmp dword [esp + 0x14], edx
jb 0x45f3e3
movzx eax, byte [esp + 0x13b]
test eax, eax
je 0x45f490
cmp eax, 0x10
ja 0x45f490
mov ecx, dword [esi + 0x30]
lea edx, [eax + ecx + 0x10]
push 0
push edx
mov ecx, ebx
call fcn.00424c20
jmp 0x45f497
mov ecx, ebx
call fcn.0043a470
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x28], vtable.dwcl::AbstractCipher.0
test eax, eax
je 0x45f4b8
push eax
call fcn.004690f0
add esp, 4
mov dword [esp + 0x2c], 0
mov eax, dword [esp + 0x34]
test eax, eax
je 0x45f4c9
push eax
call fcn.004690f0
add esp, 4
mov ecx, dword [esp + 0x160]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x148]
xor ecx, esp
call fcn.004690b5
add esp, 0x158
ret 8