Function at 0x10016114
Capabilities:
Encrypt data using aes

Disassembly:
pushal
mov di, word [esp]
popal
pushal
mov word [esp + 7], di
mov word [esp + 0xb], di
pop word [esp + 2]
jmp 0x100396ef
pop word [esp + 6]
push word [esp + 0x13]
mov dword [esp + 0xe], edi
jmp 0x100399c8
setnp bh
mov bl, 0xe0
lea esi, [ecx*4]
bswap esi
mov dword [esp], edx
push ebp
lea esp, [esp]
pushfd
mov word [esp + 1], bx
lea esp, [esp + 8]
popal
jmp 0x10039a34
sub esp, 0x1e
clc
push dword [esp + 0x13]
lea esp, [esp + 1]
lea esp, [esp + 1]
and eax, esi
push ecx
lea esp, [esp + 1]
lea esp, [esp + 2]
mov byte [esp], bl
lea esp, [esp]
pushal
mov byte [esp + 0x16], ch
push dword [esp + 8]
pop word [esp + 0x13]
lea esp, [esp + 3]
lea esp, [esp + 0x40]
mov eax, dword [eax*4 + 0x10020060]
xor eax, 0x1000000
pushal
mov ax, cx
mov bl, al
bswap cx
jmp 0x10039731
movzx esi, byte [eax + 9]
mov dword [ecx + 4], edx
movzx edx, byte [eax + 8]
push ax
push ecx
push dword [esp + 5]
push si
pop word [esp + 2]
mov dword [esp + 5], ebp
mov word [esp + 3], bx
mov byte [esp + 5], ch
lea esp, [esp + 2]
shl edx, 8
pushfd
mov dword [esp], esi
mov byte [esp + 1], al
pop word [esp]
mov word [esp], sp
mov byte [esp], bh
pushfd
lea esp, [esp + 2]
lea esp, [esp + 0xc]
xor edx, esi
movzx esi, byte [eax + 0xa]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 0xb]
push esp
push word [esp + 2]
mov byte [esp + 4], bl
lea esp, [esp + 2]
shl edx, 8
push eax
push dword [esp + 1]
pop word [esp + 1]
push dword [esp + 2]
push word [esp]
push word [esp + 4]
push word [esp + 0xd]
lea esp, [esp + 8]
lea esp, [esp + 0xc]
xor edx, esi
movzx esi, byte [eax + 0xd]
mov dword [ecx + 8], edx
movzx edx, byte [eax + 0xc]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 0xe]
movzx eax, byte [eax + 0xf]
shl edx, 8
xor edx, esi
shl edx, 8
xor edx, eax
push esi
lea esp, [esp + 4]
mov dword [ecx + 0xc], edx
mov eax, edx
shr eax, 0x10
mov esi, 0xff
cmc
jmp 0x1003975f
pushal
xchg edi, eax
popal
pushal
push ebp
pushfd
pop word [esp + 0x22]
mov word [esp + 0x1b], ax
mov byte [esp + 0xc], al
pop dword [esp + 0xf]
mov word [esp + 0xa], di
mov byte [esp + 0x1f], bh
pop dword [esp + 2]
lea esp, [esp + 2]
lea esp, [esp + 0x1c]
push cx
mov word [esp], cx
mov word [esp], di
push ebp
lea esp, [esp + 5]
lea esp, [esp + 1]
push ebx
push ebp
push esi
pushfd
mov dword [esp], esi
mov dword [esp], edi
pushfd
push edx
push word [esp + 5]
lea esp, [esp + 2]
lea esp, [esp + 8]
movzx edx, byte [eax]
push edx
shl edx, 8
pushal
push word [esp + 9]
push dword [esp]
push eax
mov byte [esp + 0x23], bl
push ebx
pushal
lea esp, [esp + 2]
lea esp, [esp + 0x50]
movzx esi, byte [eax + 1]
xor edx, esi
movzx esi, byte [eax + 2]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 3]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 5]
push eax
pushal
bswap di
pushfd
mov ebp, 0x2cc07993
mov dword [esp + 0x20], ecx
push bp
push word [esp]
push word [esp]
mov byte [esp], ah
lea esp, [esp + 4]
mov word [esp], di
push word [esp]
lea esp, [esp]
lea esp, [esp + 8]
popal
mov dword [eax], edx
pop eax
movzx edx, byte [eax + 4]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 6]
pushfd
push dword [esp]
lea esp, [esp + 1]
pop word [esp + 2]
mov dword [esp], edx
lea esp, [esp + 1]
shl edx, 8
pushal
push dword [esp + 0x18]
push word [esp + 4]
lea esp, [esp + 2]
lea esp, [esp + 0x28]
clc
stc
sub esp, 0x1f
sub esp, 7
lea esp, [esp + 2]
xor edx, esi
push bx
mov word [esp], dx
mov word [esp], sp
pushal
lea esp, [esp + 2]
lea esp, [esp + 0x44]
movzx esi, byte [eax + 7]
shl edx, 8
xor edx, esi
jmp 0x100397bb
lea esp, [esp + 0x14]
mov word [esp + 4], bp
mov dword [esp + 2], ecx
mov dword [esp], edi
push word [esp + 1]
push dword [esp + 0xb]
mov dword [esp + 9], eax
lea esp, [esp + 0x10]
lea esp, [esp + 4]
jmp 0x1003988f
pop word [esp + 0x10]
mov word [esp + 0x14], sp
mov word [esp + 0xd], sp
lea esp, [esp + 0x1c]
popal
and edi, esi
mov edi, dword [edi*4 + 0x10020060]
mov ebp, 0xff00
sub esp, 0x16
jmp 0x10039ea3
shr edi, 8
and edi, esi
mov edi, dword [edi*4 + 0x10020060]
and edi, 0xff0000
push ebp
pushal
setbe bl
mov bp, di
xchg edx, eax
mov si, 0x7d18
bswap ebp
lea eax, [edx + 0x3d0d34f5]
mov dword [esp + 8], ecx
push dx
lea esp, [esp + 2]
popal
lea ebp, [ebp + 4]
mov ebx, dword [ebp]
pop ebp
and eax, 0xff000000
xor eax, edi
mov edi, edx
shr edi, 0x18
movzx edi, byte [edi*4 + 0x10020060]
pushfd
pop word [esp]
cmc
sub esp, 2
sub esp, 0x13
stc
lea esp, [esp + 3]
xor eax, edi
push bx
push word [esp + 1]
mov dword [esp], edx
mov word [esp + 1], bp
mov dword [esp], esp
lea esp, [esp]
mov byte [esp + 2], ch
pop word [esp]
push word [esp]
lea esp, [esp + 0x18]
pushal
mov esi, 0x213c0d03
xchg ah, ch
lea edi, [ecx + ecx]
lea ecx, [edx + edi]
mov dword [esp], edx
pushal
mov byte [esp + 0xf], ch
mov word [esp + 8], cx
pop dword [esp + 0x17]
push word [esp + 0x16]
jmp 0x100399fd
lea esp, [esp + 0x28]
movzx edi, byte [edi*4 + 0x10020060]
xor ecx, edi
and edx, ebp
xor ecx, edx
xor ecx, dword [ebx]
lea edi, [eax + 0x10]
xor ecx, dword [eax]
add ebx, 4
jmp 0x1003b47e
lea esp, [esp + 4]
lea esp, [esp + 0xb]
pop dword [esp + 6]
mov word [esp + 8], cx
lea esp, [esp + 3]
jmp 0x10039cfc
pop word [esp + 0x1c]
lea esp, [esp + 2]
shr edi, 0x18
pushal
mov byte [esp + 0x11], ch
mov byte [esp + 9], al
pop word [esp + 0x11]
jmp 0x10039d29
mov ebx, ecx
lea ebx, [ebx + 8]
mov eax, dword [ebx]
pop ebx
xor eax, ebx
mov dword [ecx + 0x14], ebx
push edx
mov edx, ecx
lea edx, [edx + 0x18]
mov dword [edx], eax
pop edx
stc
clc
sub esp, 0
cmc
xor edx, eax
pushfd
push dword [esp + 2]
push dword [esp + 2]
lea esp, [esp + 0xc]
mov dword [ecx + 0x1c], edx
call fcn.1002b3fe
pushal
mov dx, word [esp]
mov bp, word [esp]
xchg bh, ch
xchg ecx, edx
mov bl, byte [esp]
lea ebp, [ebp*4]
mov dword [esp + 0x1c], edi
pushal
push word [esp + 0x10]
lea esp, [esp + 0xd]
push word [esp + 0x13]
push word [esp + 0xc]
lea esp, [esp + 0x18]
mov byte [esp], dh
mov byte [esp], dh
lea esp, [esp + 1]
popal
push ebp
mov ebp, eax
lea ebp, [ebp + 0xc]
mov edx, dword [ebp]
pop ebp
mov ecx, edx
shr ecx, 8
mov edi, edx
and ecx, esi
mov ecx, dword [ecx*4 + 0x10020060]
pushal
pop word [esp + 0x17]
mov dword [esp + 0xa], esi
pop word [esp + 0x18]
shr edi, 0x10
push ebx
push word [esp + 2]
lea esp, [esp + 2]
lea esp, [esp + 0x20]
and edi, esi
push ebx
pushal
xchg edx, ebx
not esi
mov ah, byte [esp]
mov bl, 0x58
push bp
lea esp, [esp + 1]
mov byte [esp], dl
seto bh
mov ah, 0x9e
lea esp, [esp + 1]
mov dword [esp + 0x10], edi
push cx
lea esp, [esp + 2]
popal
lea ebx, [ebx*4]
lea ebx, [ebx + 0x10020060]
mov edi, dword [ebx]
pop ebx
and ecx, 0xff0000
and edi, 0xff000000
xor ecx, edi
mov edi, edx
push sp
lea esp, [esp + 2]
and edx, esi
pushal
lea esp, [esp + 4]
lea esp, [esp + 0x1c]
mov edx, dword [edx*4 + 0x10020060]
push eax
pushal
pop word [esp + 7]
push word [esp + 8]
mov byte [esp], dl
jmp 0x10039d4c
lea esp, [esp + 5]
push word [esp + 9]
push dword [esp + 8]
pop dword [esp + 9]
mov word [esp + 0x10], sp
push word [esp + 0xe]
pushal
mov dword [esp + 0x27], esi
lea esp, [esp + 1]
and edi, ebp
pushfd
push dword [esp + 3]
pop dword [esp]
lea esp, [esp + 0x38]
xor eax, edi
xor eax, dword [ecx]
lea edi, [ecx + 0x10]
xor ebx, eax
mov dword [edi], eax
push ebx
jmp 0x10039d76
mov dword [edi], ecx
push ecx
mov ecx, eax
lea ecx, [ecx + 4]
mov edx, dword [ecx]
pop ecx
xor edx, ecx
mov dword [eax + 0x14], edx
mov ecx, dword [eax + 8]
sub esp, 1
lea esp, [esp]
lea esp, [esp]
mov byte [esp], al
pushal
lea esp, [esp + 1]
xor ecx, edx
lea esp, [esp + 0x20]
mov dword [eax + 0x18], ecx
push ecx
mov ecx, eax
lea ecx, [ecx + 0xc]
mov edx, dword [ecx]
pop ecx
xor edx, ecx
push ebx
mov ebx, eax
lea ebx, [ebx + 0x1c]
mov dword [ebx], edx
pop ebx
cmp ebx, 0x10021888
jne 0x10039da9
push 0xa
pop eax
pop edi
pop esi
bswap bp
mov bp, 0x4313
mov bp, word [esp]
lea ebp, [edi*4]
lea ebp, [0x470222c5]
mov ebp, dword [esp]
pushal
lea esp, [esp + 5]
push word [esp + 6]
pushfd
lea esp, [esp + 0x1b]
lea esp, [esp + 3]
lea esp, [esp + 3]
lea esp, [esp + 4]
mov bx, word [esp]
mov ebx, dword [esp]
pushal
lea esp, [esp + 1]
mov byte [esp + 0xc], bl
lea esp, [esp + 3]
lea esp, [esp + 0x20]
ret