Function at 0x423310
Capabilities:
Encrypt data using aes
Encrypt data using des

Disassembly:
mov edx, dword [esp + 4]
push ebx
push esi
push edi
test edx, edx
je 0x423713
mov esi, dword [esp + 0x18]
test esi, esi
je 0x423713
mov edi, dword [esp + 0x14]
cmp edi, 0x80
je 0x423353
cmp edi, 0xc0
je 0x42334b
cmp edi, 0x100
jne 0x423713
cmp edi, 0x80
jne 0x42335f
mov dword [esi + 0xf0], 0xa
jmp 0x42337d
cmp edi, 0xc0
jne 0x423373
mov dword [esi + 0xf0], 0xc
jmp 0x42337d
mov dword [esi + 0xf0], 0xe
xor eax, eax
xor ecx, ecx
mov al, byte [edx]
mov cl, byte [edx + 1]
shl eax, 8
add eax, ecx
xor ecx, ecx
mov cl, byte [edx + 2]
xor ebx, ebx
shl eax, 8
add eax, ecx
xor ecx, ecx
mov cl, byte [edx + 3]
shl eax, 8
add eax, ecx
lea ecx, [esi + 4]
mov dword [esi], eax
mov bl, byte [edx + 5]
xor eax, eax
mov al, byte [edx + 4]
shl eax, 8
add eax, ebx
xor ebx, ebx
mov bl, byte [edx + 6]
shl eax, 8
add eax, ebx
xor ebx, ebx
mov bl, byte [edx + 7]
shl eax, 8
add eax, ebx
xor ebx, ebx
mov dword [ecx], eax
mov bl, byte [edx + 9]
xor eax, eax
mov al, byte [edx + 8]
shl eax, 8
add eax, ebx
xor ebx, ebx
mov bl, byte [edx + 0xa]
shl eax, 8
add eax, ebx
xor ebx, ebx
mov bl, byte [edx + 0xb]
shl eax, 8
add eax, ebx
xor ebx, ebx
mov dword [esi + 8], eax
mov bl, byte [edx + 0xd]
xor eax, eax
mov al, byte [edx + 0xc]
shl eax, 8
add eax, ebx
xor ebx, ebx
mov bl, byte [edx + 0xe]
shl eax, 8
add eax, ebx
xor ebx, ebx
mov bl, byte [edx + 0xf]
shl eax, 8
add eax, ebx
cmp edi, 0x80
mov dword [esi + 0xc], eax
jne 0x4234b5
mov edi, 0x48bfa4
mov esi, dword [ecx + 8]
xor eax, eax
mov edx, esi
xor ebx, ebx
mov dword [esp + 0x10], edx
mov al, dh
mov bl, byte [esp + 0x12]
add edi, 4
mov eax, dword [eax*4 + str.ccccwwww]
mov ebx, dword [ebx*4 + str.ccccwwww]
and eax, 0xff0000
and ebx, 0xff000000
xor eax, ebx
mov ebx, edx
shr ebx, 0x18
and edx, 0xff
mov ebx, dword [ebx*4 + str.ccccwwww]
mov edx, dword [edx*4 + str.ccccwwww]
and ebx, 0xff
xor eax, ebx
mov ebx, dword [ecx - 4]
and edx, 0xff00
xor eax, edx
mov edx, dword [edi - 4]
xor eax, ebx
xor eax, edx
mov edx, dword [ecx]
mov dword [ecx + 0xc], eax
xor edx, eax
mov eax, dword [ecx + 4]
mov dword [ecx + 0x10], edx
xor eax, edx
mov dword [ecx + 0x14], eax
xor eax, esi
cmp edi, 0x48bfcc
mov dword [ecx + 0x18], eax
je 0x423713
add ecx, 0x10
jmp 0x423426
xor eax, eax
xor ebx, ebx
mov al, byte [edx + 0x10]
mov bl, byte [edx + 0x11]
shl eax, 8
add eax, ebx
xor ebx, ebx
mov bl, byte [edx + 0x12]
shl eax, 8
add eax, ebx
xor ebx, ebx
mov bl, byte [edx + 0x13]
shl eax, 8
add eax, ebx
xor ebx, ebx
mov dword [esi + 0x10], eax
mov bl, byte [edx + 0x15]
xor eax, eax
mov al, byte [edx + 0x14]
shl eax, 8
add eax, ebx
xor ebx, ebx
mov bl, byte [edx + 0x16]
shl eax, 8
add eax, ebx
xor ebx, ebx
mov bl, byte [edx + 0x17]
shl eax, 8
add eax, ebx
cmp edi, 0xc0
mov dword [esi + 0x14], eax
jne 0x4235b4
mov esi, 0x48bfa4
mov edx, dword [ecx + 0x10]
xor eax, eax
mov dword [esp + 0x10], edx
xor ebx, ebx
mov bl, byte [esp + 0x12]
mov al, dh
add esi, 4
mov eax, dword [eax*4 + str.ccccwwww]
mov edi, dword [ebx*4 + str.ccccwwww]
and eax, 0xff0000
and edi, 0xff000000
xor eax, edi
mov edi, edx
shr edi, 0x18
and edx, 0xff
mov ebx, dword [esi - 4]
mov edi, dword [edi*4 + str.ccccwwww]
mov edx, dword [edx*4 + str.ccccwwww]
and edi, 0xff
xor eax, edi
and edx, 0xff00
xor eax, edx
mov edx, dword [ecx - 4]
xor eax, edx
mov edx, dword [ecx]
xor eax, ebx
mov dword [ecx + 0x14], eax
xor edx, eax
mov eax, dword [ecx + 4]
mov dword [ecx + 0x18], edx
xor eax, edx
mov edx, dword [ecx + 8]
xor edx, eax
cmp esi, 0x48bfc4
mov dword [ecx + 0x1c], eax
mov dword [ecx + 0x20], edx
je 0x423713
mov eax, dword [ecx + 0xc]
mov edi, edx
mov edx, dword [ecx + 0x10]
xor eax, edi
mov dword [ecx + 0x24], eax
xor eax, edx
mov dword [ecx + 0x28], eax
add ecx, 0x18
jmp 0x423512
xor eax, eax
xor ebx, ebx
mov al, byte [edx + 0x18]
mov bl, byte [edx + 0x19]
shl eax, 8
add eax, ebx
xor ebx, ebx
mov bl, byte [edx + 0x1a]
shl eax, 8
add eax, ebx
xor ebx, ebx
mov bl, byte [edx + 0x1b]
shl eax, 8
add eax, ebx
xor ebx, ebx
mov dword [esi + 0x18], eax
mov bl, byte [edx + 0x1d]
xor eax, eax
mov al, byte [edx + 0x1c]
shl eax, 8
add eax, ebx
xor ebx, ebx
mov bl, byte [edx + 0x1e]
shl eax, 8
add eax, ebx
xor ebx, ebx
mov bl, byte [edx + 0x1f]
shl eax, 8
add eax, ebx
cmp edi, 0x100
mov dword [esi + 0x1c], eax
jne 0x423713
mov eax, ecx
mov edi, 0x48bfa4
mov edx, dword [eax + 0x18]
xor ecx, ecx
mov dword [esp + 0x10], edx
xor ebx, ebx
mov bl, byte [esp + 0x12]
mov cl, dh
add edi, 4
mov ecx, dword [ecx*4 + str.ccccwwww]
mov esi, dword [ebx*4 + str.ccccwwww]
and ecx, 0xff0000
and esi, 0xff000000
xor ecx, esi
mov esi, edx
shr esi, 0x18
mov ebx, dword [eax - 4]
and edx, 0xff
mov esi, dword [esi*4 + str.ccccwwww]
mov edx, dword [edx*4 + str.ccccwwww]
and esi, 0xff
xor ecx, esi
mov esi, dword [edi - 4]
and edx, 0xff00
xor ecx, edx
mov edx, dword [eax]
xor ecx, ebx
xor ecx, esi
mov dword [eax + 0x1c], ecx
xor ecx, edx
mov edx, dword [eax + 4]
mov dword [eax + 0x20], ecx
xor edx, ecx
mov ecx, dword [eax + 8]
xor ecx, edx
cmp edi, 0x48bfc0
mov dword [eax + 0x24], edx
mov dword [eax + 0x28], ecx
je 0x423713
mov dword [esp + 0x10], ecx
xor edx, edx
mov dl, byte [esp + 0x12]
mov ebx, dword [eax + 0xc]
mov esi, dword [edx*4 + str.ccccwwww]
xor edx, edx
mov dl, ch
and esi, 0xff0000
mov edx, dword [edx*4 + str.ccccwwww]
and edx, 0xff00
xor esi, edx
mov edx, ecx
shr edx, 0x18
and ecx, 0xff
mov edx, dword [edx*4 + str.ccccwwww]
mov ecx, dword [ecx*4 + str.ccccwwww]
and edx, 0xff000000
xor esi, edx
mov edx, dword [eax + 0x14]
and ecx, 0xff
xor esi, ecx
mov ecx, dword [eax + 0x10]
xor esi, ebx
xor ecx, esi
mov dword [eax + 0x2c], esi
mov dword [eax + 0x30], ecx
xor edx, ecx
mov ecx, dword [eax + 0x18]
mov dword [eax + 0x34], edx
xor ecx, edx
mov dword [eax + 0x38], ecx
add eax, 0x20
jmp 0x423613
pop edi
pop esi
pop ebx
ret