Function at 0x4b8770
Capabilities:
Encrypt data using aes
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x88
mov edi, dword [esp + 0xa4]
mov dword [esp + 0x84], edi
mov ebp, dword [esp + 0x9c]
mov cl, byte [ebp]
and ecx, 0xff
xor eax, eax
mov al, byte [ebp + 1]
mov edi, ecx
xor edx, edx
shl eax, 0x10
mov dl, byte [ebp + 2]
shl edi, 0x18
xor edi, eax
shl edx, 8
xor ebx, ebx
mov bl, byte [ebp + 3]
xor edi, edx
mov cl, byte [ebp + 4]
xor edi, ebx
mov esi, dword [esp + 0x84]
and ecx, 0xff
xor eax, eax
xor edi, dword [esi]
mov al, byte [ebp + 5]
mov esi, ecx
xor edx, edx
shl eax, 0x10
mov dl, byte [ebp + 6]
shl esi, 0x18
xor esi, eax
shl edx, 8
xor ebx, ebx
mov bl, byte [ebp + 7]
xor esi, edx
xor esi, ebx
mov edx, dword [esp + 0x9c]
xor ebx, ebx
xor ecx, ecx
mov bl, byte [edx + 8]
mov cl, byte [edx + 9]
xor eax, eax
shl ecx, 0x10
mov al, byte [edx + 0xa]
shl ebx, 0x18
xor ebx, ecx
shl eax, 8
xor ecx, ecx
mov cl, byte [edx + 0xb]
xor ebx, eax
mov ebp, dword [esp + 0x84]
mov al, byte [edx + 0xd]
xor ebx, ecx
xor esi, dword [ebp + 4]
xor ebx, dword [ebp + 8]
and eax, 0xff
xor ecx, ecx
mov cl, byte [edx + 0xc]
mov ebp, eax
mov al, byte [edx + 0xe]
shl ebp, 0x10
and eax, 0xff
shl ecx, 0x18
xor ecx, ebp
mov ebp, eax
shl ebp, 8
xor ecx, ebp
mov ebp, edx
xor edx, edx
mov dl, byte [ebp + 0xf]
xor ecx, edx
mov edx, dword [esp + 0x84]
mov eax, dword [edx + 0xf0]
xor ecx, dword [edx + 0xc]
sar eax, 1
mov dword [esp + 0x78], eax
jmp 0x4b89ab
mov eax, dword [esp + 0x80]
shr eax, 0x10
and eax, 0xff
mov esi, ebp
mov edi, dword [eax*4 + 0x527bb0]
mov ecx, dword [esp + 0x7c]
shr esi, 0x18
movzx ebx, ch
xor edi, dword [esi*4 + 0x527fb0]
mov ecx, dword [esp + 0x7c]
xor edi, dword [ebx*4 + 0x5277b0]
mov dword [esp + 0x30], eax
shr ecx, 0x10
movzx eax, dl
xor edi, dword [eax*4 + 0x5273b0]
mov esi, dword [esp + 0x84]
and ecx, 0xff
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x80]
xor edi, dword [esi]
shr ebx, 0x18
mov esi, dword [ecx*4 + 0x527bb0]
xor esi, dword [ebx*4 + 0x527fb0]
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], ecx
movzx eax, dh
mov ecx, ebp
xor esi, dword [eax*4 + 0x5277b0]
and ecx, 0xff
shr edx, 0x10
xor esi, dword [ecx*4 + 0x5273b0]
mov ebx, dword [esp + 0x84]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
movzx eax, dl
mov ecx, dword [esp + 0x7c]
xor esi, dword [ebx + 4]
shr ecx, 0x18
mov ebx, dword [eax*4 + 0x527bb0]
mov dword [esp + 0x14], eax
mov eax, ebp
xor ebx, dword [ecx*4 + 0x527fb0]
movzx ecx, ah
xor ebx, dword [ecx*4 + 0x5277b0]
movzx eax, byte [esp + 0x80]
shr ebp, 0x10
xor ebx, dword [eax*4 + 0x5273b0]
and ebp, 0xff
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x84]
mov dword [esp + 0xc], eax
xor ebx, dword [ecx + 8]
shr edx, 8
mov dword [esp + 8], ebp
mov ecx, dword [ebp*4 + 0x527bb0]
mov eax, dword [esp + 0x80]
xor ecx, dword [edx*4 + 0x527fb0]
movzx edx, ah
xor ecx, dword [edx*4 + 0x5277b0]
movzx eax, byte [esp + 0x7c]
xor ecx, dword [eax*4 + 0x5273b0]
mov ebp, dword [esp + 0x84]
mov dword [esp + 4], edx
mov dword [esp], eax
xor ecx, dword [ebp + 0xc]
mov edx, esi
shr edx, 0x10
and edx, 0xff
mov eax, edi
shr eax, 0x18
mov ebp, dword [edx*4 + 0x527bb0]
xor ebp, dword [eax*4 + 0x527fb0]
movzx eax, bh
xor ebp, dword [eax*4 + 0x5277b0]
mov dword [esp + 0x70], edx
movzx edx, cl
xor ebp, dword [edx*4 + 0x5273b0]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x84]
xor ebp, dword [eax + 0x10]
mov dword [esp + 0x68], edx
mov eax, ebx
mov edx, esi
shr edx, 0x18
shr eax, 0x10
mov dword [esp + 0x64], edx
movzx edx, al
mov eax, dword [edx*4 + 0x527bb0]
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x64]
mov edx, dword [edx*4 + 0x527fb0]
xor eax, edx
mov dword [esp + 0x80], eax
movzx eax, ch
mov edx, dword [eax*4 + 0x5277b0]
mov dword [esp + 0x58], eax
mov eax, edi
and eax, 0xff
xor dword [esp + 0x80], edx
mov edx, dword [eax*4 + 0x5273b0]
xor dword [esp + 0x80], edx
mov edx, dword [esp + 0x84]
mov dword [esp + 0x54], eax
mov eax, dword [edx + 0x14]
mov edx, ebx
shr edx, 0x18
shr ecx, 0x10
xor dword [esp + 0x80], eax
mov dword [esp + 0x50], edx
movzx eax, cl
mov edx, dword [eax*4 + 0x527bb0]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x50]
mov eax, dword [eax*4 + 0x527fb0]
xor edx, eax
mov eax, edi
mov dword [esp + 0x7c], edx
movzx edx, ah
mov dword [esp + 0x48], edx
mov eax, dword [edx*4 + 0x5277b0]
mov edx, esi
and edx, 0xff
xor dword [esp + 0x7c], eax
mov eax, dword [edx*4 + 0x5273b0]
xor dword [esp + 0x7c], eax
shr edi, 0x10
mov eax, dword [esp + 0x84]
and edi, 0xff
mov dword [esp + 0x44], edx
mov edx, dword [eax + 0x18]
shr ecx, 8
xor dword [esp + 0x7c], edx
mov edx, dword [edi*4 + 0x527bb0]
xor edx, dword [ecx*4 + 0x527fb0]
mov ecx, esi
movzx eax, ch
and ebx, 0xff
xor edx, dword [eax*4 + 0x5277b0]
mov esi, dword [esp + 0x84]
xor edx, dword [ebx*4 + 0x5273b0]
xor edx, dword [esi + 0x1c]
add esi, 0x20
dec dword [esp + 0x78]
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x84], esi
jne 0x4b8870
mov ebx, dword [esp + 0x80]
mov ecx, ebp
shr ebx, 0x10
and ebx, 0xff
shr ecx, 0x18
mov eax, dword [esp + 0x7c]
mov edi, dword [ebx*4 + str.ccccwwww]
mov ecx, dword [ecx*4 + str.ccccwwww]
and edi, 0xff0000
movzx esi, ah
and ecx, 0xff000000
xor ecx, edi
mov ebx, dword [esi*4 + str.ccccwwww]
movzx edi, dl
and ebx, 0xff00
mov al, byte [edi*4 + str.ccccwwww]
xor ecx, ebx
and eax, 0xff
mov esi, dword [esp + 0x84]
xor ecx, eax
xor ecx, dword [esi]
mov ebx, ecx
mov eax, dword [esp + 0xa0]
shr ebx, 0x18
mov byte [eax], bl
mov ebx, ecx
shr ebx, 0x10
mov byte [eax + 1], bl
mov ebx, ecx
shr ebx, 8
mov byte [eax + 2], bl
mov byte [eax + 3], cl
mov edi, dword [esp + 0x7c]
mov ecx, dword [esp + 0x80]
shr edi, 0x10
and edi, 0xff
shr ecx, 0x18
mov ebx, dword [edi*4 + str.ccccwwww]
movzx esi, dh
mov ecx, dword [ecx*4 + str.ccccwwww]
mov edi, ebp
and ebx, 0xff0000
mov eax, dword [esi*4 + str.ccccwwww]
and edi, 0xff
and ecx, 0xff000000
xor ecx, ebx
and eax, 0xff00
mov bl, byte [edi*4 + str.ccccwwww]
xor ecx, eax
and ebx, 0xff
mov esi, dword [esp + 0x84]
xor ecx, ebx
xor ecx, dword [esi + 4]
mov eax, ecx
mov edi, dword [esp + 0xa0]
shr eax, 0x18
mov byte [edi + 4], al
mov ebx, ecx
mov eax, ecx
shr eax, 8
shr ebx, 0x10
mov byte [edi + 5], bl
mov byte [edi + 6], al
mov byte [edi + 7], cl
mov ecx, dword [esp + 0x7c]
shr ecx, 0x18
mov ecx, dword [ecx*4 + str.ccccwwww]
shr edx, 0x10
and ecx, 0xff000000
movzx ebx, dl
mov esi, dword [ebx*4 + str.ccccwwww]
mov eax, ebp
movzx edi, ah
and esi, 0xff0000
mov ebx, dword [edi*4 + str.ccccwwww]
xor ecx, esi
movzx esi, byte [esp + 0x80]
mov al, byte [esi*4 + str.ccccwwww]
and ebx, 0xff00
xor ecx, ebx
and eax, 0xff
mov edi, dword [esp + 0x84]
xor ecx, eax
xor ecx, dword [edi + 8]
mov ebx, ecx
mov esi, dword [esp + 0xa0]
shr ebx, 0x18
mov byte [esi + 8], bl
mov eax, ecx
mov ebx, ecx
shr eax, 0x10
shr ebx, 8
shr edx, 8
shr ebp, 0x10
mov byte [esi + 0xa], bl
mov byte [esi + 0xb], cl
mov byte [esi + 9], al
mov ecx, dword [edx*4 + str.ccccwwww]
mov edx, ebp
mov eax, dword [esp + 0x80]
and edx, 0xff
mov ebp, dword [edx*4 + str.ccccwwww]
movzx ebx, ah
movzx esi, byte [esp + 0x7c]
mov edi, dword [ebx*4 + str.ccccwwww]
and ebp, 0xff0000
and ecx, 0xff000000
mov dl, byte [esi*4 + str.ccccwwww]
xor ecx, ebp
and edi, 0xff00
xor ecx, edi
and edx, 0xff
mov ebp, dword [esp + 0x84]
xor ecx, edx
xor ecx, dword [ebp + 0xc]
mov eax, ecx
mov ebx, ecx
mov edx, ecx
mov edi, dword [esp + 0xa0]
shr ebx, 0x10
shr eax, 0x18
shr edx, 8
mov byte [edi + 0xc], al
mov byte [edi + 0xd], bl
mov byte [edi + 0xe], dl
mov byte [edi + 0xf], cl
add esp, 0x88
pop ebx
pop esi
pop edi
pop ebp
ret