Function at 0x40f3eb
Capabilities:
Encode data using xor

Disassembly:
loopne 0x40f1fd
push ds
invalid
in al, 0xe4
aaa
push ds
nop
mov ah, 0x55
aad 0xe3
loope 0x40f21c
aaa
sahf
add byte [esi + ebx], 0xf0
clc
in al, 0xe4
in al, 0xc3
in al, 0xe0
loopne 0x40f1f7
sbb byte [esi + 0x14e0e095], 0x80
adc al, 0x80
add bl, 0xb6
loopne 0x40f202
ret
mov word [ecx - 8], ds
in al, 0xe4
pop esi
aaa
mov al, 0x2e
push esi
aaa
push ds
xor dword [edi], edx
jecxz 0x40f263
invalid
invalid
inc edx
dec esi
pop es
adc dword [ecx + 0x375e60e4], edx
mov al, 0x2e
push esi
push esi
pop edx
inc esi
xchg edx, eax
aaa
fucom st(0)
loopne 0x40f24c
loopne 0x40f27d
fdivrp st(0)
add al, 0x1e
rol byte [edi], 0xa8
loope 0x40f257
mov ah, al
in al, 0xde
xor esp, esp
faddp st(0)
in al, 0xde
add dword [eax - 0x1f138a32], eax
aaa
push ds
xor dword [edi], esi
loope 0x40f29e
pop ss
pushal
cld
aaa
xor dword ds:[edi], ecx
in eax, dx
adc dword [edx - 0x1f1f02c9], edx
loopne 0x40f27d
aaa
jle 0x40f290
pmaddwd mm2, qword [edx - 0x1f1f82f1]
loopne 0x40f289
jp 0x40f322
or al, 0xeb
add eax, esp
pop esi
aaa
mov al, 0x17
mov al, 1
push esi
pop edx
inc esi
invalid
cmp byte [edx - 0x54], 0xe4
in al, 0x8a
loopne 0x40f353
in al, 0xda
push ecx
in al, 0xda
xor dword [edx - 0x6e2d1b20], ecx
xchg ecx, eax
in al, 0xda
and esp, esp
rcl byte [ecx - 0x39ea7f6f], cl
loopne 0x40f2f1
pop ss
adc byte [ecx + 0x7a], ah
adc al, 0x5e
aaa
mov al, 0x17
mov al, 0xc1
push esi
out dx, al
inc byte [ecx]
xchg ebp, eax
in al, dx
loopne 0x40f304
fisubr word [ecx]
ret
nop dword [eax + 0xf311e37]
push ds
xor byte [edi], 0x1e
jno 0x40f36f
nop dword [eax + 0xf611e37]
push ds
mov al, byte [0xe0d09e17]
push ds
mov al, 0x37
push ds
popal
nop dword [eax - 0x1f2f61e9]
shl al, 1
loopne 0x40f384
pop ss
sahf
shl al, 0x17
loopne 0x40f388
sahf
invalid
loopne 0x40f384
sahf
ror byte [edi], 1
mov esi, 0xe06f92c0
loopne 0x40f35f
loopne 0x40f390
push ds
inc eax
aas
push ds
inc eax
xchg edx, eax
xchg edi, eax
loopne 0x40f36a
loopne 0x40f36b
loopne 0x40f36c
loopne 0x40f391
add al, 0x1e
push ds
add ah, ch
in al, dx
loopne 0x40f372
loopne 0x40f373
loopne 0x40f3cb
aaa
push ds
add dword [edi], ecx
push ds
xor byte [edi], dh
push ds
and dword [edi], ecx
push ds
and byte [eax - 0x1f1f5620], al
aaa
loop 0x40f389
test eax, 0xe237e0e0
loop 0x40f388
loopne 0x40f389
loopne 0x40f38a
loopne 0x40f3ba
nop dword [eax + 0x3f]
push ds
push eax
aas
push ds
xor byte [edx], ah
aaa
push ds
add esp, esp
mov eax, dword [0x4e505ee4]
dec esi
dec esi
pop ss
sahf
add al, ah
pop ss
invalid
rol byte [ebp - 0x6e], cl
xchg edx, eax
aaa
jge 0x40f3a9
loopne 0x40f3ab
loopne 0x40f404
aaa
adc eax, 0xf407e37
adc eax, 0xe07d0f92
loopne 0x40f3b9
loopne 0x40f38f
or eax, 0x92401e37
xchg edi, eax
loopne 0x40f3c3
loopne 0x40f3c5
aaa
push ds
add byte [esi + 0xc], dh
adc al, 0x5e
aaa
mov al, 0x2e
push esi
invalid
xor dword [edi], esi
add al, byte [ecx]
aad 0x3e
xor dword [eax - 0x1b1b5fa2], eax
xor dword ds:[eax - 0x1b1b5fa2], eax
aaa
push ds
add dword [edi], esi
loope 0x40f416
adc dword [edi], edx
pop ss
pushal
lcall 0x431, 0x1e372dd2
loope 0x40f3a1
in al, dx
loopne 0x40f3f3
loopne 0x40f3ea
jecxz 0x40f3f8
loope 0x40f3cc
mov ah, 0xb2
mov ah, 0x8a
mov ch, ah
aaa
push ds
xor esp, esp
mov byte [0x311e3741], al
in al, 0xa2
push ecx
aaa
push ds
xor esp, esp
mov byte [0xe4e08a31], al
fisub word [ecx]
mov dl, 0xb4
mov cl, byte [edx + 0x311e37ec]
in al, 0xa2
inc ecx
aaa
push ds
xor esp, esp
mov byte [0x311e3751], al
in al, 0xa2
xor dword [edx + 0x21dee4e0], ecx
aaa
push ds
xor esp, esp
mov byte [0x1dee421], al
sub byte [eax], 0xde
loopne 0x40f422
pop ss
adc byte [ecx + 0x37], ah
push ds
xor dword [edi], edx
ret 0xe091