Function at 0x47d35d
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0
add byte [esp + 0x24], dh
cmp esi, 0x7fff00e6
jae 0x47d41c
add byte [esp + 0x20], bh
mov eax, dword [edi - 0x69]
add al, dh
jae 0x47d391
sub esp, 4
inc dword [eax]
add byte [esi + 0x57], dl
call 0x92d42d
add esp, 0x10
jmp 0x47d40f
cmp esi, 0
add byte [edi - 0x76], bl
dec esp
and al, 0x28
adc dword [eax], eax
je 0x47d3f5
mov ecx, dword [edi + 0x14]
cmp ecx, esi
add byte [eax], al
ja 0x47d3a9
mov ebx, ecx
and dword [eax + eax], 0x72
xor al, 0x8d
dec edi
add al, 0x8b
sub dword [eax], eax
add byte [ecx + edx - 0x7d], dh
in al, dx
add al, 0x80
add byte [ecx - 0x18], dl
push ebx
xor byte [ebp], bh
add dword [eax], 0
mov eax, dword [edi + 0x18]
lea eax, [ecx + eax]
cmp eax, 0x1000
jb 0x47d3d6
add byte [eax], al
cld
sub esp, 0xc
push ebp
xor al, byte [eax]
outsd dx, dword [esi]
jl 0x47d3df
add esp, 0x10
mov dword [eax], 0x700
add byte [ecx - 0x3899ff65], cl
inc esp
pop edi
add al, 0
add byte [eax], al
add byte [ebp - 0x72e98a0a], al
cmp dword [eax], eax
cmp eax, 8
jb 0x47d403
test esi, esi
jne 0x47d40f
lea edi, [ecx]
add byte [ebx + 0x27208f8], al
mov ecx, dword [ecx]
add byte [eax], al
adc al, 0
add byte [eax], al
add ah, dl
add byte [ecx], al
add byte [eax], al
test esi, esi
setne byte [eax]
add ah, al
or al, 0x5e
pop edi
pop ebx
add eax, 0xcec8300
sub esp, 0xc
push 0xd9844c
add byte [ebp + ebp*8 - 0x157cff84], dh
add byte [eax + 0x53e58955], dl
push edi
push esi
add byte [eax], al
mov word [eax], es
add byte [eax], al
mov esi, dword [esi]
add byte [ebx + 0x558b0c4d], cl
add byte [eax], al
add byte [ebx + 0x4d8b0036], cl
or al, 0x8b
push ebp
or byte [ecx + 0x4d890000], cl
call 0x10419d5
jne 0x47d436
or esi, 7
mov ebx, dword [ebp]
add byte [ebp - 0x60], al
dec eax
mov al, 0xbe
leave
add byte [ebp - 0x5c], al
or al, 0x87
fld dword [eax]
mov dword [eax], eax
add byte [ecx + 0x45c7b065], cl
mov cl, 0
push esi
inc eax
add byte [ebp + 0xe88445], cl
add byte [esi], bh
cmp esi, 0x7f0070fe
ja 0x47d4ad
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
add byte [ecx - 0x45102e31], cl
loopne 0x47d48c
stosb byte es:[edi], al
stosb byte es:[edi], al
mov eax, esi
mul edx
rol dword [eax], 1
add bh, dl
mov ebx, esi
jbe 0x47d4ad
sub eax, 0x7fffff00
sub eax, edi
cmp ecx, eax
add byte [eax], al
jp 0x47d4a8
add byte [eax], al
add dword [ebx], edx
add bl, bh
add byte [ecx], al
adc eax, dword [eax]
sti
mov ecx, dword [ebp - 0x10]
mov eax, ebx
inc eax
add byte [eax], al
test eax, eax
js 0x48a711
add eax, eax
cmp eax, 0x1000
add byte [ebp - 0x14], bl
jb 0x47d503
mov ecx, dword [eax + eax - 0x7d]
clc
fisttp qword [edi]
adc dword [ecx + 1], 0
add byte [ebx - 0x3f7c0fb3], cl
stc
add byte [ebp - 0x28], cl
mov dword [ebp - 0x74], 3
mov dword [esp], eax
call fcn.00483a75
mov esi, eax
add esi, 0x23
add dword [eax], 0
mov dword [esi - 4], eax
jmp 0x47d51a
add byte [eax], al
invalid
rol dword [eax], cl
in al, dx
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x34], esi
add byte [eax], al
je 0x47d526
invalid
invalid
dec ebx
jne 0x48a744
add eax, 0xd45ea0b4
enter 0xfffffffffffff05e, 0xffffffffffffff8b
xchg ecx, eax
sbb esi, esp
mov ebp, 0x78f30611
xchg ebx, eax
pop esi
jae 0x48a735
movsb byte es:[edi], byte [esi]
pop edx
into
mov dword [0xa2c0dd17], eax
in al, dx
invalid
ror edx, 1
call 0x51924920
das
inc ebx
salc
xor ebp, dword [ebx]
les ebx, [ebp - 0x2b0b047]
dec edi
dec edi
std
dec esi
sub bl, byte [eax - 0x3181c137]
dec esp
lea ebp, [ebx + 0x63]
jg 0x48a752
mov eax, dword [edx + 0x52057400]
fcom qword [0x8d9bf0b0]
mov byte [0xc6bec155], al
mov dh, 0xef
and eax, 0x31c5ad6
shl dl, 1
cmpsd dword [esi], dword es:[edi]
ficomp dword [ebp + 0x8578dab]
mov eax, dword gs:[0xa8bebc17]
xchg esi, eax
pop ss
mov edx, 0x122302f0
pop ss
fisttp word [ecx - 0x3a]
dec ebp
add al, 0x92
xor dword [edx + ebp*2 - 0x622949ca], 0xf55eb788
invalid