Function at 0x4891e2
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0x74
mov eax, dword [0x49cdb1]
xor eax, ebp
mov dword [ebp - 2], eax
dec edi
mov bh, 0x45
adc byte [edi], cl
mov bh, 0x55
adc byte [ecx + 0x2018100], dh
and eax, ecx
push ebx
mov ebx, dword [ebp + 0x1c]
mov dword [ebp - 0x5d], eax
lea eax, [ecx - 1]
push esi
and edx, eax
cmp word [ebp - 0x5c], 0
push edi
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x30], 0xcccccccc
mov dword [ebp - 0x2c], 0xdccccccc
mov dword [ebp - 0x28], 0x3ffbcccc
mov byte [ebp - 0x74], 1
add byte [eax], al
inc esp
je 0x48923d
mov bl, 2
sub eax, 0x43c6046b
add ah, byte [eax]
mov byte [ebx + 2], 0x20
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
test dx, dx
jne 0x489283
test esi, esi
das
add eax, 0xcf
test dword [edi + 0xc7850f], edi
add byte [eax], al
xor eax, eax
cmp word [ebp - 0x60], cx
mov word [ebx], ax
setne al
dec al
and al, 0xd
add al, 0x20
mov byte [ebx + 2], al
mov word [ebx + 3], 0x3001
mov byte [ebx + 5], 0
xor eax, eax
inc eax
jmp 0x489a8e
cmp dx, ax
jne 0x20489323
mov ecx, dword [ebp + 0xc]
xor eax, eax
inc eax
mov word [ebx], ax
mov eax, 0x80000000
cmp ecx, eax
jne 0x4892a4
cmp dword [ebp + 8], 0
je 0x4892bf
test ecx, 0x40000100
jne 0x4892bf
push str.1SNAN
jmp 0x489306
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0047cd3b
xor edx, edx
cmp word [ebp - 0x60], dx
je 0x4892db
cmp ecx, 0xc0000000
jne 0x4892db
cmp dword [ebp + 8], edx
jne 0x489301
push 0x4490834
out dx, eax
push cs
cmp ecx, eax
jne 0x489301
cmp dword [ebp + 8], edx
jne 0x489301
push 0x49006c
lea eax, [ebx + 4]
push 0x16
push eax
call fcn.0048135a
add esp, 0xc
test eax, eax
jne 0x4892b3
mov byte [ebx + 3], 5
jmp 0x48931c
push 0x491024
lea eax, [ebx + 0x24]
push 0x16
adc al, ch
push ecx
cmp bh, 0xff
add esp, 0xc
test eax, eax
ja 0x4892b3
mov byte [ebx + 3], 6
xor eax, eax
leave
imul eax, dword [esi], 0
add byte [edi], cl
mov bh, 0xca
mov ebx, ecx
imul ecx, ecx, 0x4c10
mov eax, esi
shr eax, 0x18
shr ebx, 8
lea eax, [ebx + eax*2]
imul eax, eax, 0x4d
lea eax, [eax + ecx - 0x134312f4]
sar eax, 0x10
movzx eax, ax
xor ecx, ecx
mov word [ebp - 0x20], cx
movsx ebx, ax
mov ecx, 0x49cfe0
sub ecx, 0x60
neg ebx
mov dword [ebp - 0x4c], eax
mov word [ebp - 0x16], dx
mov dword [ebp - 0x1a], esi
mov dword [ecx - 0x1e], ebx
mov dword [0x9c840f98], ecx
add eax, dword [eax]
add byte [ebp - 0x47f08625], al
inc eax
ror dword [ecx], 1
sub eax, 0x60
neg ebx
mov dword [ebp + 0x18], eax
test ebx, ebx
je 0x48958e
add dword [ebp - 0x68], 0xffffffd4
mov ecx, ebx
sar ebx, 3
and ecx, 7
jl 0x489604
imul ecx, ecx, 0xc
add ecx, dword [ebp - 0x68]
wait
ror dword [ecx + 0xb9bc4d], 0x80
add byte [eax], al
cmp word [eax], cx
jb 0x4893c3
mov esi, eax
lea edi, [ecx - 0x34]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x3c]
movsd dword es:[edi], dword [esi]
dec dword [ebp - 0x3a]
mov dword [ebp - 0x44], eax
adc ecx, ecx
mov dword [ebp - 0x48], ecx
cdq
dec ebp
invalid
ja 0x4895a1
mov ecx, dword [ebp - 0x10]
add dword [ecx - 1], 0x810201ff
stc
add byte [eax + 0x34352001], al
cmp dword [ebp - 0xe], 0xffffffff
jne 0x4895d2
and dword [ebp - 0xe], 0
cmp dword [ebp - 0xa], 0xffffffff
jne 0x4895cd
and dword [ebp - 0xa], 0
mov ecx, 0xffff
inc esi
cmp dword [ebp + 0x7a], ecx
jne 0x4895c7
mov word [ebp - 6], ax
inc edi
jmp 0x4895d5
inc word [ebp - 6]
jmp 0x4895d5
inc dword [ebp - 0xa]
jmp 0x4895d5
inc dword [ebp - 0xe]
mov eax, 0x7fff
cmp di, ax
jb 0x48968a
xor eax, eax
adc eax, 0x453966c9
test al, 0x89
inc ebp
in al, 0xf
xchg esp, eax
ror dword [ecx - 0x7eb61fbb], 0xe1
add byte [eax], al
mov al, byte [0xc18180]
cmp bh, 0x7f
mov dword [ebp - 0x18], ecx
xor esi, esi
cmp ebx, esi
jne 0xf7e8938b
mov ecx, dword [ebp - 0x18]
shr ecx, 0x10
mov edx, 0x3fff
mov eax, 0x7fff
cmp cx, dx
sbb eax, 0x29f82
add byte [ebx + 0x44bfda5d], cl
mov ah, 0x33
ror byte [ecx + 0x5589b055], cl
invalid
mov ax, word [ebp - 0xe]
or edi, dword [ebp - 0x58]
mov word [ebp - 0x20], ax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1e], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1a], eax
mov word [ebp - 0x16], di
jmp 0x489604
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047f404
leave
ret