Function at 0x41387f
Capabilities:
Encrypt data using aes

Disassembly:
mov ebp, ecx
lea ebp, [ebp + 4]
mov dword [ebp], edx
pop ebp
movzx edx, byte [eax + 8]
shl edx, 8
sub esp, 0xd
add esp, 0xc
sub esp, 0xb
mov dword [esp + 6], edx
jmp 0x413891
xor edx, esi
movzx esi, byte [eax + 7]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 9]
push ebp
jmp 0x413774
mov dword [ecx], edx
movzx edx, byte [eax + 4]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 6]
shl edx, 8
jmp 0x4137a1
pop dword [esp + 2]
mov dword [esp + 0x16], ebp
lea esp, [esp + 0x38]
cmc
stc
push ebx
push word [esp]
push word [esp]
pushfd
xor edx, esi
pushal
pushal
push dword [esp + 0x33]
push bp
mov word [esp + 0x40], di
push word [esp + 0x1f]
pop word [esp + 0x35]
lea esp, [esp + 2]
lea esp, [esp + 0x50]
movzx esi, byte [eax + 5]
jmp 0x4137c0
push ebx
push ebp
push ax
lea esp, [esp + 2]
push esi
push edi
movzx edx, byte [eax]
shl edx, 8
movzx esi, byte [eax + 1]
xor edx, esi
movzx esi, byte [eax + 2]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 3]
pushal
mov word [esp + 3], di
pop word [esp]
lea esp, [esp + 2]
shl edx, 8
pushal
pop word [esp + 3]
push word [esp + 0x11]
jmp 0x4137e1
lea esp, [esp + 4]
jmp 0x41382f
sub esp, 2
lea esp, [esp + 2]
xor edx, esi
pushal
mov byte [esp + 0x19], dl
mov word [esp], dx
push word [esp + 6]
mov byte [esp + 6], ah
jmp 0x44b3bf
mov byte [esp], bh
lea esp, [esp + 3]
xor edx, esi
movzx esi, byte [eax + 0xb]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 0xd]
mov dword [ecx + 8], edx
jmp 0x44b4fa
mov byte [esp + 0xc], cl
lea esp, [esp + 0xa]
lea esp, [esp + 0x24]
movzx esi, byte [eax + 0xa]
push cx
mov byte [esp], bh
mov byte [esp], dl
mov byte [esp], ah
mov byte [esp], al
lea esp, [esp]
mov byte [esp], bh
lea esp, [esp + 2]
shl edx, 8
push ebx
mov word [esp + 1], si
push dword [esp + 3]
lea esp, [esp + 3]
pop word [esp]
jmp 0x44b397
mov word [esp + 0x1e], ax
mov byte [esp + 0x19], cl
lea esp, [esp + 2]
jmp 0x44b977
movzx edx, byte [eax + 0xc]
shl edx, 8
sub esp, 3
mov word [esp], dx
mov byte [esp + 1], bl
pushfd
push word [esp + 2]
push dword [esp]
mov byte [esp + 8], bh
lea esp, [esp + 1]
xor edx, esi
pushal
push word [esp + 0x1b]
jmp 0x44b4de
bswap esi
lea esi, [ebx + 0xeb]
mov esi, 0x8d12fda
lea esi, [ecx + ebp]
lea esi, [edi + 0x5c6a]
mov esi, dword [esp]
pushal
mov dword [esp + 0x13], esi
pop word [esp + 0x16]
push ebp
push ebp
push dword [esp + 0x1c]
pop word [esp + 8]
push dword [esp + 0x1d]
lea esp, [esp + 0x30]
pop ebp
pop ebx
ret
mov byte [esp + 1], cl
push dword [esp + 5]
pop dword [esp]
mov byte [esp + 2], dl
push word [esp + 2]
lea esp, [esp + 0x28]
mov si, 0x3e0b
jmp 0x44b7d3
lea esp, [esp + 0x2c]
movzx esi, byte [eax + 0xe]
movzx eax, byte [eax + 0xf]
shl edx, 8
xor edx, esi
shl edx, 8
xor edx, eax
push esi
mov esi, ecx
lea esi, [esi + 0xc]
mov dword [esi], edx
pop esi
pushal
xchg edi, ebx
mov cx, si
bswap si
mov ax, word [esp]
mov dword [esp + 0x1c], edx
popal
pushfd
push dword [esp + 1]
shr eax, 0x10
pushal
pop dword [esp + 0x12]
mov dword [esp + 3], edi
lea esp, [esp + 0x16]
push ax
push dword [esp + 5]
pop word [esp + 2]
pop dword [esp]
lea esp, [esp + 2]
lea esp, [esp + 0xc]
mov esi, 0xff
and eax, esi
mov eax, dword [eax*4 + 0x41edb0]
xor eax, 0x1000000
pushal
mov dword [esp], edx
pushfd
push dword [esp]
push word [esp + 7]
pop word [esp + 2]
pop word [esp + 1]
push dword [esp + 1]
lea esp, [esp + 4]
pushfd
lea esp, [esp + 2]
lea esp, [esp + 8]
popal
pushfd
mov byte [esp + 2], cl
shr edi, 8
push di
lea esp, [esp + 2]
lea esp, [esp + 4]
and edi, esi
push ebx
mov ebx, edi
lea ebx, [ebx*4]
lea ebx, [ebx + 0x41edb0]
mov edi, dword [ebx]
pop ebx
and edi, 0xff0000
mov ebx, dword [ecx + 4]
and eax, 0xff000000
cmc
pushal
pop word [esp + 0x14]
cmc
push dword [esp + 0x19]
mov byte [esp + 1], al
pop word [esp + 0xd]
lea esp, [esp + 0xa]
pop dword [esp + 9]
lea esp, [esp + 2]
xor eax, edi
lea esp, [esp + 0x10]
mov edi, edx
push bx
push word [esp + 1]
lea esp, [esp + 2]
lea esp, [esp]
mov byte [esp], ah
push di
push dword [esp + 2]
shr edi, 0x18
push edi
mov word [esp], ax
mov byte [esp], dh
push dx
lea esp, [esp + 2]
lea esp, [esp + 0xc]
movzx edi, byte [edi*4 + 0x41edb0]
xor eax, edi
pushal
mov si, word [esp]
lea edi, [ecx + 0x52cc]
xchg ah, bh
mov ch, byte [esp]
mov ch, bl
xchg bl, ch
mov dword [esp], edx
pushal
push bx
mov word [esp + 7], dx
push di
mov word [esp + 2], di
push edx
pop dword [esp]
mov word [esp + 0x10], di
push word [esp + 0x22]
lea esp, [esp + 2]
lea esp, [esp + 0x24]
popal
and edi, esi
mov edi, dword [edi*4 + 0x41edb0]
mov ebp, 0xff00
and edi, ebp
xor eax, edi
xor eax, dword [ecx]
lea edi, [ecx + 0x10]
xor ebx, eax
push ecx
mov ecx, edi
mov dword [ecx], eax
pop ecx
mov eax, dword [ecx + 8]
xor eax, ebx
mov dword [ecx + 0x14], ebx
push edx
mov edx, ecx
lea edx, [edx + 0x18]
mov dword [edx], eax
pop edx
xor edx, eax
push eax
push dword [esp + 2]
mov byte [esp + 2], ah
pushfd
mov dword [esp + 7], esi
mov word [esp + 8], di
mov word [esp + 3], bp
lea esp, [esp + 7]
push sp
lea esp, [esp + 3]
lea esp, [esp + 4]
push ebp
mov ebp, ecx
lea ebp, [ebp + 0x1c]
mov dword [ebp], edx
pop ebp
call fcn.004317bb
mov eax, edi
mov edx, dword [eax + 0xc]
mov ecx, edx
shr ecx, 8
mov edi, edx
and ecx, esi
push eax
mov eax, ecx
lea eax, [eax*4]
lea eax, [eax + 0x41edb0]
mov ecx, dword [eax]
pop eax
shr edi, 0x10
and edi, esi
mov edi, dword [edi*4 + 0x41edb0]
and ecx, 0xff0000
and edi, 0xff000000
xor ecx, edi
mov edi, edx
and edx, esi
push eax
pushal
mov eax, ecx
mov dword [esp + 0x1c], edx
pushfd
pop word [esp]
mov byte [esp], ah
mov byte [esp], cl
lea esp, [esp]
lea esp, [esp + 2]
popal
lea eax, [eax*4]
lea eax, [eax + 0x41edb0]
mov edx, dword [eax]
pop eax
pushal
lea esp, [esp + 4]
pop word [esp + 6]
push word [esp + 0x13]
mov byte [esp + 7], ch
mov byte [esp + 8], ch
push dword [esp + 0x13]
shr edi, 0x18
push sp
pushfd
push dword [esp]
mov byte [esp], bh
lea esp, [esp + 2]
lea esp, [esp + 0x28]
movzx edi, byte [edi*4 + 0x41edb0]
cmc
sub esp, 0xa
add esp, 4
add esp, 3
push bp
stc
push dword [esp + 1]
mov word [esp], sp
lea esp, [esp + 1]
xor ecx, edi
pushal
mov byte [esp + 0x16], ah
pushfd
lea esp, [esp + 0x2c]
and edx, ebp
xor ecx, edx
xor ecx, dword [ebx]
lea edi, [eax + 0x10]
xor ecx, dword [eax]
add ebx, 4
mov dword [edi], ecx
mov edx, dword [eax + 4]
xor edx, ecx
push esi
mov esi, eax
lea esi, [esi + 0x14]
mov dword [esi], edx
pop esi
push ebp
mov ebp, eax
lea ebp, [ebp + 8]
mov ecx, dword [ebp]
pop ebp
xor ecx, edx
mov dword [eax + 0x18], ecx
mov edx, dword [eax + 0xc]
xor edx, ecx
mov dword [eax + 0x1c], edx
cmp ebx, 0x4205d8
jne 0x44bb4b
push 0xa
push di
lea eax, [ebx*4]
mov eax, 0x43084e07
mov ax, 0x1ef0
mov eax, dword [esp]
lea eax, [edi*4]
setb al
mov eax, 0x13032865
lea esp, [esp + 2]
mov eax, dword [esp]
lea esp, [esp + 4]
bswap edi
not di
pushal
lea edi, [0xde30af0]
pop edi
xchg word [esp + 0x18], di
bswap edi
mov edi, 0x54cc5ecf
xchg word [esp + 7], di
mov edi, dword [esp + 0x1c]
pushfd
pop word [esp]
push ebp
jmp 0x44b94a