Function at 0x1001d58f
Capabilities:
Encrypt data using aes

Disassembly:
jmp 0x1001d5ab
pushal
jmp 0x1001d5c7
mov cx, 0x6dda
jmp 0x1001d5e3
not bh
jmp 0x1001d5ff
popal
jmp 0x1001d61b
push bp
jmp 0x1001d637
lea esp, [esp + 1]
jmp 0x1001d653
mov byte [esp], dh
jmp 0x1001d66f
pushfd
jmp 0x1001d68b
mov byte [esp], cl
jmp 0x1001d6a7
lea esp, [esp + 1]
jmp 0x1001d6c3
push esi
jmp 0x100571f5
mov word [esp + 4], dx
pushfd
pop word [esp + 3]
lea esp, [esp + 3]
lea esp, [esp + 3]
lea esp, [esp + 4]
lea esp, [esp + 4]
jmp 0x10057330
movzx edx, byte [eax + 0xc]
jmp 0x1005747c
pushal
mov byte [esp + 0xe], dl
lea esp, [esp + 0x20]
popal
mov dword [eax], edx
pop eax
movzx edx, byte [eax + 4]
pushfd
shl edx, 8
pushal
mov byte [esp + 0x18], al
mov byte [esp + 0x15], bh
pop dword [esp + 0x17]
mov byte [esp + 0x1a], ch
mov byte [esp + 0xc], dl
pushal
lea esp, [esp + 0x40]
xor edx, esi
movzx esi, byte [eax + 6]
shl edx, 8
clc
sub esp, 0x12
pop dword [esp + 2]
lea esp, [esp]
mov dword [esp], eax
lea esp, [esp + 5]
pop word [esp + 1]
add esp, 6
lea esp, [esp + 1]
xor edx, esi
push esi
push dword [esp]
lea esp, [esp + 8]
movzx esi, byte [eax + 7]
shl edx, 8
pushal
mov word [esp + 0xf], si
lea esp, [esp + 0x11]
lea esp, [esp + 3]
pushfd
lea esp, [esp]
add esp, 4
xor edx, esi
pushfd
push dword [esp + 3]
mov word [esp + 5], sp
mov byte [esp + 4], bh
mov word [esp + 1], di
lea esp, [esp + 0x14]
movzx esi, byte [eax + 9]
push esi
mov esi, ecx
lea esi, [esi + 4]
mov dword [esi], edx
pop esi
movzx edx, byte [eax + 8]
shl edx, 8
push di
mov word [esp], sp
lea esp, [esp + 2]
xor edx, esi
movzx esi, byte [eax + 0xa]
shl edx, 8
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 0x10057229
pushal
mov cx, word [esp]
lea ebx, [ebp + 0x43724870]
popal
pushal
pop dword [esp + 0x10]
mov word [esp + 0xd], cx
mov word [esp + 0x10], dx
push dx
pop word [esp + 0xd]
push word [esp + 5]
push word [esp + 8]
lea esp, [esp + 0xf]
mov dword [esp + 3], ebx
push word [esp + 0xa]
pop word [esp + 4]
lea esp, [esp + 1]
lea esp, [esp + 0x10]
push ebx
push ebp
push esi
push edi
movzx edx, byte [eax]
push edx
shl edx, 8
pushfd
push word [esp + 1]
mov dword [esp], eax
mov word [esp + 3], bx
lea esp, [esp + 2]
lea esp, [esp + 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]
shl edx, 8
sub esp, 0x11
push dword [esp + 0xa]
push dword [esp + 0xd]
lea esp, [esp + 0x18]
lea esp, [esp]
lea esp, [esp]
lea esp, [esp + 1]
xor edx, esi
push edi
pop word [esp]
mov word [esp], cx
push word [esp]
pop word [esp]
lea esp, [esp]
lea esp, [esp + 2]
movzx esi, byte [eax + 5]
push eax
pushal
mov dh, 0xa0
mov dword [esp + 0x1c], ecx
jmp 0x10057248
pop word [esp + 8]
sub esp, 0x15
clc
mov byte [esp + 9], cl
sub esp, 4
jmp 0x10057567
pop word [esp + 5]
mov byte [esp + 0x14], dl
push word [esp + 0x16]
mov word [esp + 0x17], sp
lea esp, [esp + 0x2c]
stc
stc
sub esp, 0x1e
mov word [esp + 0xd], sp
jmp 0x10057417
pushfd
push esp
mov word [esp + 3], cx
mov word [esp + 2], bx
mov word [esp + 4], di
shl edx, 8
pushal
push dword [esp + 3]
mov byte [esp + 0x11], ch
jmp 0x10057441
push word [esp + 0xd]
jmp 0x100575ae
movzx eax, byte [eax + 0xf]
shl edx, 8
xor edx, esi
shl edx, 8
sub esp, 0xa
pop word [esp + 2]
push dx
sub esp, 0xe
mov byte [esp + 0x14], ch
mov byte [esp + 0xc], cl
lea esp, [esp + 0x13]
mov dword [esp], esi
lea esp, [esp + 4]
lea esp, [esp + 1]
xor edx, eax
pushfd
push word [esp]
lea esp, [esp + 2]
lea esp, [esp + 4]
mov dword [ecx + 0xc], edx
mov eax, edx
shr eax, 0x10
mov esi, 0xff
sub esp, 0xc
push word [esp + 0xb]
mov dword [esp + 9], ecx
jmp 0x100574d3
lea esp, [esp + 1]
xor edx, esi
push ax
pushfd
mov word [esp + 1], sp
lea esp, [esp + 2]
lea esp, [esp + 0x38]
movzx esi, byte [eax + 0xe]
jmp 0x100574f3
add esp, 1
stc
pushal
lea esp, [esp + 3]
and eax, esi
push edi
pop word [esp]
push esp
lea esp, [esp + 2]
lea esp, [esp + 0x30]
mov eax, dword [eax*4 + 0x10029ea8]
xor eax, 0x1000000
mov edi, edx
pushal
push word [esp + 3]
pop dword [esp + 0x17]
push word [esp + 3]
pop dword [esp]
lea esp, [esp + 0x11]
pop dword [esp]
lea esp, [esp + 3]
shr edi, 8
pushal
pop word [esp + 0x18]
lea esp, [esp + 2]
lea esp, [esp + 0x20]
and edi, esi
mov edi, dword [edi*4 + 0x10029ea8]
and edi, 0xff0000
mov ebx, dword [ecx + 4]
and eax, 0xff000000
clc
stc
stc
pushfd
mov dword [esp], esi
mov byte [esp + 2], cl
mov dword [esp], edx
mov dword [esp], esi
mov dword [esp], edi
xor eax, edi
lea esp, [esp + 4]
mov edi, edx
push cx
push word [esp]
mov dword [esp], ecx
mov byte [esp + 2], cl
mov dword [esp], esi
push dword [esp + 2]
shr edi, 0x18
pushal
lea esp, [esp + 0x28]
movzx edi, byte [edi*4 + 0x10029ea8]
stc
sub esp, 0xe
pop word [esp + 9]
mov dword [esp + 6], ecx
push word [esp + 0xa]
mov byte [esp + 3], cl
push di
xor eax, edi
pushfd
push dword [esp]
mov dword [esp + 3], ebx
mov word [esp + 2], ax
pop word [esp]
lea esp, [esp + 2]
lea esp, [esp + 0x14]
mov edi, edx
pushfd
and edi, esi
pushal
push dword [esp + 0x1c]
lea esp, [esp + 7]
push word [esp + 0x10]
push word [esp + 0x11]
push dword [esp + 0x1b]
pop word [esp]
mov word [esp + 0x1f], sp
push cx
lea esp, [esp + 1]
lea esp, [esp + 0x28]
mov edi, dword [edi*4 + 0x10029ea8]
mov ebp, 0xff00
and edi, ebp
xor eax, edi
xor eax, dword [ecx]
lea edi, [ecx + 0x10]
xor ebx, eax
mov dword [edi], eax
push ebp
mov ebp, ecx
lea ebp, [ebp + 8]
mov eax, dword [ebp]
pop ebp
xor eax, ebx
mov dword [ecx + 0x14], ebx
mov dword [ecx + 0x18], eax
cmc
xor edx, eax
push bp
lea esp, [esp + 2]
push edi
mov edi, ecx
lea edi, [edi + 0x1c]
mov dword [edi], edx
pop edi
call fcn.100339ba
mov eax, edi
mov edx, dword [eax + 0xc]
mov ecx, edx
push bp
push word [esp + 1]
shr ecx, 8
push edi
mov byte [esp + 1], al
pop word [esp]
jmp 0x10057aa3
add esp, 0x1c
push ecx
push ebp
mov dword [esp + 1], ebx
pop word [esp]
push ebp
lea esp, [esp + 1]
and edx, ebp
lea esp, [esp + 0xc]
pushfd
mov word [esp], si
clc
mov byte [esp], cl
push word [esp]
mov byte [esp + 4], dl
sub esp, 3
push word [esp + 5]
push dword [esp + 2]
lea esp, [esp + 3]
xor ecx, edx
pushal
pushfd
pop word [esp + 0x14]
lea esp, [esp + 2]
lea esp, [esp + 0x2c]
xor ecx, dword [ebx]
lea edi, [eax + 0x10]
xor ecx, dword [eax]
add ebx, 4
push esi
mov esi, edi
mov dword [esi], ecx
pop esi
mov edx, dword [eax + 4]
xor edx, ecx
mov dword [eax + 0x14], edx
push edi
mov edi, eax
lea edi, [edi + 8]
mov ecx, dword [edi]
pop edi
xor ecx, edx
mov dword [eax + 0x18], ecx
push ecx
pushal
mov edx, dword [esp]
xchg ebp, ecx
mov edi, dword [esp]
mov dword [esp + 0x18], eax
push bx
pushal
lea esp, [esp + 0xd]
mov byte [esp + 5], ch
push esp
pop dword [esp + 5]
push dword [esp + 0xe]
pop word [esp + 0x10]
lea esp, [esp + 3]
lea esp, [esp + 0x14]
popal
lea ecx, [ecx + 0xc]
mov edx, dword [ecx]
pop ecx
xor edx, ecx
push ebp
pushal
pushal
mov ebp, dword [esp + 0xd]
mov si, 0x507d
xchg word [esp + 0xe], dx
pop dword [esp + 0xd]
lea esp, [esp + 0x1a]
push word [esp + 1]
push word [esp]
lea esp, [esp + 2]
mov dword [esp + 0xc], eax
pushfd
mov dword [esp], ecx
pop word [esp]
pushal
pop word [esp + 0x1b]
push word [esp + 8]
lea esp, [esp + 2]
lea esp, [esp + 0x24]
popal
lea ebp, [ebp + 0x1c]
mov dword [ebp], edx
pop ebp
cmp ebx, 0x1002b6d0
jne 0x10057701
push 0xa
lea eax, [ebx - 0x284b]
mov ax, 0x7619
not ah
mov ah, byte [esp]
setg al
mov eax, 0x1cb3501f
mov eax, dword [esp]
pushfd
lea esp, [esp + 1]
mov byte [esp], cl
mov byte [esp + 1], ch
mov byte [esp + 1], al
push word [esp + 1]
push dword [esp + 2]
lea esp, [esp + 1]
lea esp, [esp + 0xc]
pop edi
pop esi
not ebp
lea ebp, [ecx + edi]
mov ebp, dword [esp]
pushfd
lea esp, [esp + 2]
lea esp, [esp + 2]
lea esp, [esp + 4]
pop ebx
ret
lea esp, [esp + 2]
lea esp, [esp + 4]
mov edi, edx
clc
stc
and ecx, esi
push dx
lea esp, [esp + 2]
push eax
mov eax, ecx
lea eax, [eax*4]
lea eax, [eax + 0x10029ea8]
mov ecx, dword [eax]
pop eax
pushfd
mov word [esp + 1], ax
mov byte [esp], al
push dword [esp]
push bx
lea esp, [esp + 2]
shr edi, 0x10
pushal
mov byte [esp + 0x11], dh
mov dword [esp + 0x18], ebp
pop dword [esp + 9]
push word [esp + 0x15]
mov word [esp], si
push dword [esp + 0x1d]
mov dword [esp + 0x13], ebp
pushfd
lea esp, [esp + 2]
lea esp, [esp + 0x2c]
and edi, esi
mov edi, dword [edi*4 + 0x10029ea8]
and ecx, 0xff0000
and edi, 0xff000000
sub esp, 0xe
pop dword [esp]
pushfd
add esp, 5
mov dword [esp], edi
mov dword [esp], edi
sub esp, 0x19
push word [esp + 0x17]
mov dword [esp + 0x1c], edi
xor ecx, edi
lea esp, [esp + 0x24]
pushal
not eax
bswap si
mov edi, 0x4f0e22fd
setnp cl
mov ecx, esp
mov dword [esp], edx
push bx
push sp
push word [esp]
mov dword [esp], esi
mov dword [esp], edi
mov dword [esp], edx
push word [esp + 2]
lea esp, [esp + 8]
popal
stc
push edi
mov word [esp], dx
push dword [esp + 3]
mov byte [esp + 6], ch
pop word [esp]
lea esp, [esp + 2]
and edx, esi
push bp
mov word [esp], sp
push word [esp]
push word [esp]
mov dword [esp], esp
lea esp, [esp + 2]
lea esp, [esp + 8]
mov edx, dword [edx*4 + 0x10029ea8]
shr edi, 0x18
movzx edi, byte [edi*4 + 0x10029ea8]
xor ecx, edi
sub esp, 0x19
push dword [esp + 7]
push word [esp + 0x15]
jmp 0x10057915