Function at 0x459db0
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
push 0xffffffffffffffff
push 0x4dac3b
mov eax, dword fs:[0]
push eax
mov eax, 0x25c
call fcn.00468d20
mov eax, dword [0x5808f0]
xor eax, esp
mov dword [esp + 0x258], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5808f0]
xor eax, esp
push eax
lea eax, [esp + 0x270]
mov dword fs:[0], eax
mov esi, dword [esp + 0x280]
push 0x27
lea eax, [esp + 0x149]
push 0
push eax
mov dword [esp + 0x2c], ecx
mov byte [esp + 0x150], 0
call fcn.00468ca0
xor eax, eax
add esp, 0xc
mov edi, 0x10b
xor ebp, ebp
xor ebx, ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x40], vtable.dwcl::AES.0
push eax
push 0x100
lea ecx, [esp + 0x174]
push ecx
push eax
push 0xb
mov ecx, esi
mov dword [esp + 0x28c], eax
mov dword [esp + 0x40], 0x100
call fcn.00424750
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x2c]
push edx
mov edx, dword [ecx + 0x28]
lea eax, [esp + 0x170]
push eax
push ebx
push 1
push ebx
push edx
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
mov ecx, esi
test eax, eax
jne 0x459e8b
call fcn.0043a470
jmp 0x45a070
mov dword [esp + 0x14], 0x28
call fcn.00424be0
push 0
sub eax, 0x10b
push 0x28
sbb edx, 0
push edx
push eax
call fcn.0046a670
mov ecx, esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
call fcn.00424be0
push 0
sub eax, 0x10b
push 0x28
sbb edx, 0
push edx
push eax
call fcn.0046af90
cmp dword [esp + 0x1c], 0
mov dword [esp + 0x20], eax
ja 0x459f00
jb 0x459ee1
cmp dword [esp + 0x18], 0x10
ja 0x459f00
mov ecx, esi
call fcn.00424be0
add eax, 0xfffffef5
adc edx, 0xffffffff
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], 1
mov eax, dword [esp + 0x2c]
push 0
push eax
lea ecx, [esp + 0x174]
push ecx
lea ecx, [esp + 0x4c]
call fcn.00401b90
cmp dword [esp + 0x14], 0
jbe 0x45a02c
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, eax
shrd edx, ecx, 4
shr ecx, 4
and eax, 0xf
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x18], eax
jmp 0x459f54
mov edx, dword [esp + 0x30]
cmp dword [esp + 0x34], 0
mov dword [esp + 0x14], 0
jb 0x459fd2
ja 0x459f69
test edx, edx
jbe 0x459fd2
push 0
push 0x10
lea ecx, [esp + 0x14c]
push ecx
push ebp
push edi
mov ecx, esi
call fcn.00424750
lea edx, [esp + 0x144]
push edx
mov eax, edx
push eax
lea ecx, [esp + 0x48]
call fcn.00401c20
mov edx, dword [esp + 0x28]
push 0
push 0x10
lea ecx, [esp + 0x14c]
push ecx
push edx
push ebx
mov ecx, esi
call fcn.00424860
add edi, 0x10
mov eax, 0
adc ebp, eax
add ebx, 0x10
adc dword [esp + 0x28], eax
inc dword [esp + 0x14]
cmp eax, dword [esp + 0x34]
jb 0x459f69
ja 0x459fd2
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x14], eax
jb 0x459f69
mov ecx, dword [esp + 0x38]
mov edx, ecx
xor eax, eax
or edx, eax
je 0x45a021
push eax
push ecx
lea eax, [esp + 0x14c]
push eax
push ebp
push edi
mov ecx, esi
call fcn.00424750
mov ecx, dword [esp + 0x38]
xor eax, eax
push eax
mov eax, dword [esp + 0x2c]
push ecx
lea edx, [esp + 0x14c]
push edx
push eax
push ebx
mov ecx, esi
call fcn.00424860
mov ecx, dword [esp + 0x38]
add edi, ecx
mov eax, 0
adc ebp, eax
add ebx, ecx
adc dword [esp + 0x28], eax
sub dword [esp + 0x18], 1
jne 0x459f50
mov ecx, dword [esp + 0x20]
xor eax, eax
push eax
push ecx
lea edx, [esp + 0x14c]
push edx
push ebp
push edi
mov ecx, esi
call fcn.00424750
mov edx, dword [esp + 0x28]
xor eax, eax
push eax
mov eax, dword [esp + 0x24]
push eax
lea ecx, [esp + 0x14c]
push ecx
push edx
push ebx
mov ecx, esi
call fcn.00424860
push 0
push 0x10b
mov ecx, esi
call fcn.00424c20
mov eax, dword [esp + 0x44]
mov dword [esp + 0x40], vtable.dwcl::AbstractCipher.0
test eax, eax
je 0x45a091
push eax
call fcn.004690f0
add esp, 4
mov dword [esp + 0x44], 0
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x45a0a2
push eax
call fcn.004690f0
add esp, 4
mov ecx, dword [esp + 0x270]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x258]
xor ecx, esp
call fcn.004690b5
add esp, 0x268
ret 8