Function at 0x4a7d14
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xcf2552
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xcc
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], ebx
mov edx, dword [ebp + 0x10]
movsx eax, byte [edx + 0x15]
mov dword [ebp - 0x20], ecx
test eax, eax
je 0x4a7e3f
push 0xd27f00
lea ecx, [ebp - 0x64]
call fcn.004a71d8
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], ecx
call 0xd5b191
mov dword [ebp - 4], 1
mov dword [ebp - 0x8c], 0xe442a8
lea esi, [ebp - 0x80]
xor eax, eax
mov dword [ebp - 0x68], 0xf
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x7c], al
mov ebx, dword [ebp - 0x50]
mov dword [ebp - 0x30], esi
test ebx, ebx
lea edi, [ebp - 0x64]
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], eax
jae 0x4a7db3
call 0xd8dd35
mov ebx, dword [ebp - 0x50]
lea eax, [ebp - 0x80]
lea edx, [ebp - 0x64]
cmp ebx, 0xffffffff
jbe 0x4a7dc3
mov ebx, 0xffffffff
mov dword [ebp - 0x3c], ebx
cmp eax, edx
je 0x4a82dc
mov dword [ebp - 0x40], ebx
cmp ebx, 0xfffffffe
jbe 0x4a7dde
call 0xd8dcf6
mov ebx, dword [ebp - 0x40]
mov esi, dword [ebp - 0x68]
cmp esi, ebx
jb 0x4a81d4
test ebx, ebx
je 0x4a81b5
test ebx, ebx
ja 0x4a8152
mov dword [ebp - 4], 0
push 0xe4a780
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x8c]
mov dword [eax], 0xe442cc
push edx
call 0xd5b40e
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x4c]
cmp eax, 0x10
jae 0x4a8144
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x4c], 0xf
xor eax, eax
mov dword [ebp - 0x50], eax
mov byte [ebp - 0x60], al
mov eax, dword [ebp + 0xc]
mov ebx, edx
test eax, eax
je 0x4a87f3
movsx eax, byte [edx + 0x15]
test eax, eax
je 0x4a7e5b
call 0xd5b178
jmp 0x4a7e93
mov eax, dword [edx + 8]
movsx ecx, byte [eax + 0x15]
test ecx, ecx
je 0x4a7e7a
mov ecx, dword [edx + 4]
movsx eax, byte [ecx + 0x15]
test eax, eax
je 0x4a83c3
mov dword [ebp + 0x10], ecx
jmp 0x4a7e93
mov edx, dword [eax]
movsx ecx, byte [edx + 0x15]
test ecx, ecx
jne 0x4a7e90
mov eax, dword [eax]
mov edx, dword [eax]
movsx ecx, byte [edx + 0x15]
test ecx, ecx
je 0x4a7e84
mov dword [ebp + 0x10], eax
mov eax, dword [ebx]
movsx edx, byte [eax + 0x15]
mov edi, ebx
test edx, edx
je 0x4a7ea4
mov esi, dword [ebx + 8]
jmp 0x4a7eb9
mov edx, dword [ebx + 8]
movsx ecx, byte [edx + 0x15]
test ecx, ecx
je 0x4a7eb3
mov esi, eax
jmp 0x4a7eb9
mov edi, dword [ebp + 0x10]
mov esi, dword [edi + 8]
cmp edi, ebx
je 0x4a8713
mov dword [eax + 4], edi
mov eax, dword [ebx]
mov dword [edi], eax
cmp edi, dword [ebx + 8]
jne 0x4a7ed1
mov ecx, edi
jmp 0x4a7eee
mov ecx, dword [edi + 4]
movsx eax, byte [esi + 0x15]
test eax, eax
je 0x4a870b
mov dword [ecx], esi
mov eax, dword [ebx + 8]
mov dword [edi + 8], eax
mov edx, dword [ebx + 8]
mov dword [edx + 4], edi
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [eax + 4]
cmp ebx, dword [eax + 4]
je 0x4a8703
mov eax, dword [ebx + 4]
cmp ebx, dword [eax]
je 0x4a7f0c
mov dword [eax + 8], edi
jmp 0x4a7f0e
mov dword [eax], edi
mov eax, dword [ebx + 4]
mov dword [edi + 4], eax
movzx eax, byte [edi + 0x14]
movzx edx, byte [ebx + 0x14]
mov byte [edi + 0x14], dl
mov byte [ebx + 0x14], al
movsx eax, byte [ebx + 0x14]
cmp eax, 1
je 0x4a83ea
push ebx
call 0xd59a09
pop ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 8]
test eax, eax
je 0x4a7f46
add eax, 0xffffffff
mov dword [edx + 8], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
push dword [ebp - 0x60]
call 0xd59a09
pop ecx
jmp 0x4a7e2d
mov ebx, dword [ebp - 0x30]
mov ecx, dword [ebx + 0x18]
cmp ecx, 0x10
jb 0x4a8162
mov ebx, dword [ebx + 4]
jmp 0x4a8165
add ebx, 4
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x18]
cmp eax, 0x10
jb 0x4a8175
mov edx, dword [edx + 4]
jmp 0x4a8178
add edx, 4
add edx, dword [ebp - 0x28]
push dword [ebp - 0x3c]
movzx eax, byte [ebp - 0x44]
mov byte [ebp - 0x48], al
push edx
push ecx
push ebx
call 0xd5b458
add esp, 0x10
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x30]
mov dword [eax + 0x14], ecx
mov eax, dword [ebp - 0x30]
mov edx, dword [eax + 0x18]
cmp edx, 0x10
jb 0x4a81a9
mov eax, dword [eax + 4]
jmp 0x4a81ac
add eax, 4
mov byte [eax + ecx], 0
jmp 0x4a7df9
mov dword [ebp - 0x6c], 0
cmp esi, 0x10
jb 0x4a81c6
mov eax, dword [ebp - 0x7c]
jmp 0x4a81c9
lea eax, [ebp - 0x7c]
mov byte [eax], 0
mov ebx, dword [ebp - 0x40]
jmp 0x4a7df1
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0xac], ebx
mov ecx, ebx
lea eax, [ebp - 0x80]
or ecx, 0xf
cmp ecx, 0xfffffffe
mov dword [ebp - 0x98], eax
mov dword [ebp + 0x53972d17], edx
adc eax, esi
invalid
cmpsd dword [esi], dword es:[edi]
pop edx
retf 0x8655
outsd dx, dword [esi]
jbe 0x4a8401
pushal
insd dword es:[edi], dx
inc esp
imul ebp, dword [edx + 0x27468f8e], 0xffffffd8
adc ebp, dword [edx + 0x683f212]
mov bl, 0x1b
sub al, 0xcb
call 0xade8db59
lds esi, [edi]
mov ebx, 0x9db55856
js 0x4a8423
push ebp
out 0xfb, ax
out 0xfb, eax
sti
fidivr word gs:[eax - 6]
mov dword [ecx*2 - 0x1c64d045], 0xd10db01a
jmp 0x4a83eb
or ebx, dword [edx + 0x3b]
mov eax, dword [0xb898e967]
jge 0x4a844b
pop edx
dec esi
imul esi, dword [eax - 0x21], 0xffffffcb
cmp dh, byte [ecx + 0x23]
jmp 0x47611b72
dec ebp
inc edi
and al, 0xb7
mov dh, 0x48
out dx, eax
lodsb al, byte [esi]
inc eax
cmp byte [edi + 0x3a97b17e], dl
stosb byte es:[edi], al
aas
test eax, 0xc33b4785
imul esi, dword [edi + 0x7419f999], 0x5e
add eax, 0x14a05798
xlatb
movsb byte es:[edi], byte [esi]
jp 0x4a8447
or dl, ch
jb 0x4a8429
ljmp 0xc74c:0x8ba6db72
cmpsb byte [esi], byte es:[edi]
mov ecx, dword [edi + eax*8 + 0x4e]
cld
popfd
mov byte [esi + 0x51], ch
imul ebp, eax, 0x5d
inc eax
push ebp
invalid
mov dword [edi], 0x67df5760
mov bh, bl
mov esi, 0xa3e56e67
pop es
pushal
push edi
fbld tbyte [edi - 0x78]
fistp qword [esi - 0x5c1a9199]
ja 0x4a8747
in eax, dx
daa
in eax, dx
ficomp dword [bx + di - 0x452f]
jno 0x4a86c0
ret 0xf31f
and edx, dword [esi + 0x668036be]
inc edx
movsd dword es:[edi], dword [esi]
outsd dx, dword [esi]
bound esp, qword [edx - 0x7c]
sub byte [eax + 0x1b], dh
shr dword [edi + 0x1b390f08], 1
aas
invalid
invalid
cli
adc al, byte [ebx + 0x47]
cmp eax, 0x3306b5cc
pop ebx
jns 0x4a86bf
xor ebx, dword [ebx + 0x79]
test al, 0xdc
wait
popal
leave
push edi
test eax, 0x230bdf5b
sbb eax, 0x4b0909e8
fcomp qword [ebx - 0x56a8369f]
pop ebx
fisttp word [ebx]
and ebx, dword [0x4b0909e8]
mov ecx, 0x8cdeab42
mov dh, 0x87
and dl, byte [esp + ebp*2 + 0x49]
push ecx
js 0x4a86f1
or byte [edx + 0x6a317297], ch
in eax, dx
inc esi
ja 0x4a8793
xchg edi, eax
xchg ebx, eax
invalid
ffreep st(4)
adc dword [esi - 0x42], ebp
sub dh, byte [edx + esi*2]
fst st(7)
and edi, dword [edx + edi*8 + 0x30bf7cd9]
xchg edx, eax
test eax, 0x5ab697d8
inc eax
rol byte [ebx], 1
and byte [ebx + 0x77168564], dl
or al, 0xc3
push ebx
xor eax, 0x7e776910
imul edi, dword [ebx + 0xc1bc023], 0xffffffd3
daa
adc byte [ebp + 0x74], ah
invalid
retf
stc
cmc
int3