Function at 0x4e8480
Capabilities:
Encode data using xor
Hash data with md5

Disassembly:
sub esp, 0xb4
mov eax, dword [0x56a8e0]
xor eax, esp
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0xb8]
push ebx
push ebp
mov ebp, dword [esp + 0xc4]
push esi
mov ebx, ecx
push edi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x10], eax
mov esi, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4e84b5
sub eax, edi
mov dword [esp + 0x18], eax
mov eax, dword [0x569284]
push eax
call fcn.004ab9bf
mov ecx, dword [0x569280]
push ecx
mov edi, eax
call fcn.004ab9bf
add esp, 8
mov dword [esp + 0x14], eax
test ebp, ebp
je 0x4e8510
lea edx, [eax + eax*2]
cmp ebp, edx
jg 0x4e8510
mov eax, dword [esp + 0xd0]
mov dword [esp + 0x14], ebp
test eax, eax
je 0x4e8507
lea ecx, [edi + edi*2]
cmp eax, ecx
jg 0x4e8507
mov edi, eax
jmp 0x4e8510
mov eax, ebp
cdq
sub eax, edx
mov edi, eax
sar edi, 1
cmp dword [esi + 0x68], 0
jne 0x4e8552
lea edx, [esp + 0x34]
push edx
call fcn.00499296
mov eax, dword [esp + 0x38]
add esp, 4
or eax, 1
mov dword [esi], eax
mov eax, 1
mov ecx, dword [esi + eax*4 - 4]
imul ecx, ecx, 0x10dcd
mov dword [esi + eax*4], ecx
inc eax
cmp eax, 0x19
jl 0x4e8531
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 1
mov dword [ebx + 0x38], 1
lea ebp, [ebx + 4]
call fcn.004e0140
and eax, 0xffff
push eax
push str._04X
push ebp
call fcn.00496d63
mov edx, dword [0x56927c]
push edx
call fcn.004ab9bf
mov esi, dword [ebx]
add esp, 0x10
mov dword [ebx + 0xc], eax
test esi, esi
je 0x4e85b3
mov eax, esi
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4e8590
sub eax, edx
push eax
push 0
push esi
call fcn.004948b0
mov eax, dword [ebx]
push eax
call fcn.004934fd
add esp, 0x10
mov dword [ebx], 0
mov edx, dword [ebx + 0x34]
test edx, edx
je 0x4e85e5
mov eax, edx
lea esi, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4e85c0
sub eax, esi
push eax
push 0
push edx
call fcn.004948b0
mov ecx, dword [ebx + 0x34]
push ecx
call fcn.004934fd
add esp, 0x10
mov dword [ebx + 0x34], 0
cmp edi, dword [esp + 0x14]
jl 0x4e879b
mov edx, dword [esp + 0x10]
push edx
call fcn.004b3007
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x1c]
lea ecx, [eax + eax + 1]
push ecx
mov dword [ebx], 0
call fcn.00494940
mov dword [ebx + 0x34], eax
mov eax, 0x20202020
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], eax
mov eax, ebp
add esp, 8
mov byte [ebx + 0x10], 0
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4e8641
sub eax, edi
push eax
lea edx, [esp + 0xb4]
push ebp
push edx
call fcn.00494260
mov ebp, dword [str.er7e]
lea eax, [esp + 0xa0]
mov edi, ebp
sub edi, eax
lea edx, [esp + 0xa0]
mov eax, 1
sub eax, edx
mov dword [esp + 0x1c], eax
mov eax, 2
sub eax, edx
mov dword [esp + 0x20], eax
mov eax, 3
add esp, 0xc
xor ecx, ecx
sub eax, edx
mov dword [esp + 0x1c], eax
jmp 0x4e86a0
mov eax, 0xba2e8ba3
mul ecx
shr edx, 3
imul edx, edx, 0xb
lea esi, [esp + ecx + 0x94]
mov eax, ecx
sub eax, edx
movzx edx, byte [eax + 0x5700c8]
xor dl, byte [esi + edi]
mov eax, dword [esp + 0x10]
mov byte [esi], dl
lea edx, [esi + eax]
mov eax, 0xba2e8ba3
mul edx
shr edx, 3
imul edx, edx, 0xb
mov eax, ecx
sub eax, edx
movzx edx, byte [eax + 0x5700c9]
xor dl, byte [ecx + ebp + 1]
mov eax, dword [esp + 0x14]
mov byte [esi + 1], dl
lea edx, [esi + eax]
mov eax, 0xba2e8ba3
mul edx
shr edx, 3
imul edx, edx, 0xb
mov eax, ecx
sub eax, edx
movzx edx, byte [eax + 0x5700ca]
xor dl, byte [ecx + ebp + 2]
mov eax, dword [esp + 0x1c]
mov byte [esi + 2], dl
lea edx, [esi + eax]
mov eax, 0xba2e8ba3
mul edx
shr edx, 3
imul edx, edx, 0xb
mov eax, ecx
sub eax, edx
movzx edx, byte [eax + 0x5700cb]
xor dl, byte [ecx + ebp + 3]
add ecx, 4
cmp ecx, 0x10
mov byte [esi + 3], dl
jl 0x4e86a0
mov ebp, dword [esp + 0x20]
lea eax, [esp + 0xb0]
push eax
lea ecx, [esp + 0x98]
push ecx
mov edi, 1
mov ecx, ebp
call fcn.004e0db0
mov edi, dword [esp + 0x20]
mov ebx, dword [ebx + 0x34]
add esp, 8
xor esi, esi
test edi, edi
jle 0x4e878d
movzx edx, byte [esi + ebp]
push edx
push 0x5700e0
push ebx
call fcn.00496d63
inc esi
add esp, 0xc
add ebx, 2
cmp esi, edi
jl 0x4e8772
push ebp
call fcn.004934fd
add esp, 4
jmp 0x4e8ceb
lea eax, [edi + 1]
push eax
call fcn.00494940
mov ecx, dword [esp + 0x14]
push edi
push ecx
push eax
mov dword [ebx], eax
call fcn.00505930
mov edx, dword [ebx]
xor eax, eax
mov byte [edi + edx], 0
mov dword [ebx + 0x34], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], eax
push ebp
mov eax, 4
lea esi, [esp + 0x50]
mov dword [esp + 0x50], 0x67452301
mov dword [esp + 0x54], 0xefcdab89
mov dword [esp + 0x58], 0x98badcfe
mov dword [esp + 0x5c], 0x10325476
call fcn.004e82f0
mov eax, dword [esp + 0x2c]
add esp, 0x14
cmp eax, edi
jle 0x4e8820
mov ecx, dword [esp + 0x14]
sub eax, edi
sub ecx, edi
cmp eax, ecx
jle 0x4e880d
mov eax, ecx
mov ecx, dword [esp + 0x10]
add ecx, edi
push ecx
lea esi, [esp + 0x40]
call fcn.004e82f0
add esp, 4
mov ebp, dword [str.er7e]
lea edx, [esp + 0x94]
mov eax, edx
mov ebx, 1
sub ebx, eax
mov eax, 2
sub eax, edx
mov dword [esp + 0x20], eax
mov eax, 3
sub eax, edx
mov dword [esp + 0x1c], eax
mov edi, ebp
mov eax, 4
xor ecx, ecx
sub edi, edx
sub eax, edx
mov dword [esp + 0x10], eax
lea ecx, [ecx]
mov eax, 0xba2e8ba3
mul ecx
shr edx, 3
imul edx, edx, 0xb
lea esi, [esp + ecx + 0x94]
mov eax, ecx
sub eax, edx
movzx edx, byte [eax + 0x5700c8]
xor dl, byte [edi + esi]
mov eax, 0xba2e8ba3
mov byte [esi], dl
lea edx, [ebx + esi]
mul edx
shr edx, 3
imul edx, edx, 0xb
mov eax, ecx
sub eax, edx
movzx edx, byte [eax + 0x5700c9]
xor dl, byte [ecx + ebp + 1]
mov eax, dword [esp + 0x20]
mov byte [esi + 1], dl
lea edx, [eax + esi]
mov eax, 0xba2e8ba3
mul edx
shr edx, 3
imul edx, edx, 0xb
mov eax, ecx
sub eax, edx
movzx edx, byte [eax + 0x5700ca]
xor dl, byte [ecx + ebp + 2]
mov eax, dword [esp + 0x1c]
mov byte [esi + 2], dl
lea edx, [eax + esi]
mov eax, 0xba2e8ba3
mul edx
shr edx, 3
imul edx, edx, 0xb
mov eax, ecx
sub eax, edx
movzx edx, byte [eax + 0x5700cb]
xor dl, byte [ecx + ebp + 3]
mov eax, dword [esp + 0x10]
mov byte [esi + 3], dl
lea edx, [esi + eax]
mov eax, 0xba2e8ba3
mul edx
shr edx, 3
imul edx, edx, 0xb
mov eax, ecx
sub eax, edx
movzx edx, byte [eax + 0x5700cc]
xor dl, byte [ecx + ebp + 4]
add ecx, 5
cmp ecx, 0x19
mov byte [esi + 4], dl
jl 0x4e8860
lea eax, [esp + 0x94]
push eax
mov eax, 0x19
lea esi, [esp + 0x40]
call fcn.004e82f0
mov ecx, dword [0x569264]
lea eax, [esp + 0x99]
sub eax, ecx
mov dword [esp + 0x24], eax
mov eax, 0x1b
sub eax, ecx
mov dword [esp + 0x20], eax
lea eax, [esp + 0x9a]
sub eax, ecx
mov dword [esp + 0x18], eax
mov eax, 0x1c
sub eax, ecx
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x9b]
sub eax, ecx
mov dword [esp + 0x30], eax
mov eax, 0x1d
sub eax, ecx
mov dword [esp + 0x28], eax
mov esi, 0x19
lea ebx, [esp + 0x98]
mov ebp, 0x1a
lea eax, [esp + 0x9c]
add esp, 4
sub esi, ecx
sub ebx, ecx
sub ebp, ecx
sub eax, ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x10], 5
jmp 0x4e89c0
xor edx, edx
mov edi, 0xb
lea eax, [esi + ecx]
div edi
lea eax, [ecx + ebp]
movzx edx, byte [edx + 0x5700c8]
xor dl, byte [ecx]
mov byte [ebx + ecx], dl
xor edx, edx
div edi
movzx eax, byte [edx + 0x5700c8]
xor al, byte [ecx + 1]
mov edx, dword [esp + 0x20]
mov byte [edx + ecx], al
mov eax, dword [esp + 0x1c]
add eax, ecx
xor edx, edx
div edi
mov eax, dword [esp + 0x14]
movzx edx, byte [edx + 0x5700c8]
xor dl, byte [ecx + 2]
mov byte [eax + ecx], dl
mov edx, dword [esp + 0x18]
lea eax, [edx + ecx]
xor edx, edx
div edi
movzx eax, byte [edx + 0x5700c8]
xor al, byte [ecx + 3]
mov edx, dword [esp + 0x2c]
mov byte [edx + ecx], al
mov eax, dword [esp + 0x24]
add eax, ecx
xor edx, edx
div edi
mov eax, dword [esp + 0x28]
add ecx, 5
movzx edx, byte [edx + 0x5700c8]
xor dl, byte [ecx - 1]
sub dword [esp + 0x10], 1
mov byte [eax + ecx - 5], dl
jne 0x4e89c0
lea ecx, [esp + 0x94]
push ecx
lea eax, [edi + 0xe]
lea esi, [esp + 0x40]
call fcn.004e82f0
mov ecx, dword [0x56926c]
lea eax, [esp + 0x99]
sub eax, ecx
mov dword [esp + 0x2c], eax
mov eax, 0x34
sub eax, ecx
mov dword [esp + 0x28], eax
lea eax, [esp + 0x9a]
sub eax, ecx
mov dword [esp + 0x30], eax
mov eax, 0x35
sub eax, ecx
mov dword [esp + 0x24], eax
lea eax, [esp + 0x9b]
sub eax, ecx
mov dword [esp + 0x20], eax
mov eax, 0x36
sub eax, ecx
mov dword [esp + 0x18], eax
mov esi, 0x32
lea ebx, [esp + 0x98]
mov ebp, 0x33
lea eax, [esp + 0x9c]
add esp, 4
sub esi, ecx
sub ebx, ecx
sub ebp, ecx
sub eax, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], 5
xor edx, edx
mov edi, 0xb
lea eax, [esi + ecx]
div edi
lea eax, [ecx + ebp]
movzx edx, byte [edx + 0x5700c8]
xor dl, byte [ecx]
mov byte [ebx + ecx], dl
xor edx, edx
div edi
movzx eax, byte [edx + 0x5700c8]
xor al, byte [ecx + 1]
mov edx, dword [esp + 0x28]
mov byte [edx + ecx], al
mov eax, dword [esp + 0x24]
add eax, ecx
xor edx, edx
div edi
mov eax, dword [esp + 0x2c]
movzx edx, byte [edx + 0x5700c8]
xor dl, byte [ecx + 2]
mov byte [eax + ecx], dl
mov edx, dword [esp + 0x20]
lea eax, [edx + ecx]
xor edx, edx
div edi
movzx eax, byte [edx + 0x5700c8]
xor al, byte [ecx + 3]
mov edx, dword [esp + 0x1c]
mov byte [edx + ecx], al
mov eax, dword [esp + 0x14]
add eax, ecx
xor edx, edx
div edi
mov eax, dword [esp + 0x18]
add ecx, 5
movzx edx, byte [edx + 0x5700c8]
xor dl, byte [ecx - 1]
sub dword [esp + 0x10], 1
mov byte [eax + ecx - 5], dl
jne 0x4e8ae2
lea ecx, [esp + 0x94]
push ecx
lea eax, [edi + 0xe]
lea esi, [esp + 0x40]
call fcn.004e82f0
mov ecx, dword [0x569274]
lea eax, [esp + 0x99]
sub eax, ecx
mov dword [esp + 0x2c], eax
mov eax, 0x4d
sub eax, ecx
mov dword [esp + 0x28], eax
lea eax, [esp + 0x9a]
sub eax, ecx
mov dword [esp + 0x30], eax
mov eax, 0x4e
sub eax, ecx
mov dword [esp + 0x24], eax
lea eax, [esp + 0x9b]
sub eax, ecx
mov dword [esp + 0x20], eax
mov eax, 0x4f
sub eax, ecx
mov dword [esp + 0x18], eax
mov esi, 0x4b
lea ebp, [esp + 0x98]
mov edi, 0x4c
lea eax, [esp + 0x9c]
add esp, 4
sub esi, ecx
sub ebp, ecx
sub edi, ecx
sub eax, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], 5
xor edx, edx
mov ebx, 0xb
lea eax, [ecx + esi]
div ebx
lea eax, [ecx + edi]
movzx edx, byte [edx + 0x5700c8]
xor dl, byte [ecx]
mov byte [ecx + ebp], dl
xor edx, edx
div ebx
movzx eax, byte [edx + 0x5700c8]
xor al, byte [ecx + 1]
mov edx, dword [esp + 0x28]
mov byte [ecx + edx], al
mov eax, dword [esp + 0x24]
add eax, ecx
xor edx, edx
div ebx
mov eax, dword [esp + 0x2c]
movzx edx, byte [edx + 0x5700c8]
xor dl, byte [ecx + 2]
mov byte [ecx + eax], dl
mov edx, dword [esp + 0x20]
lea eax, [ecx + edx]
xor edx, edx
div ebx
movzx eax, byte [edx + 0x5700c8]
xor al, byte [ecx + 3]
mov edx, dword [esp + 0x1c]
mov byte [ecx + edx], al
mov eax, dword [esp + 0x14]
add eax, ecx
xor edx, edx
div ebx
mov eax, dword [esp + 0x18]
add ecx, 5
movzx edx, byte [edx + 0x5700c8]
xor dl, byte [ecx - 1]
sub dword [esp + 0x10], 1
mov byte [ecx + eax - 5], dl
jne 0x4e8c04
lea ecx, [esp + 0x94]
push ecx
lea eax, [ebx + 0xe]
lea esi, [esp + 0x40]
call fcn.004e82f0
add esp, 4
mov edx, esi
lea ecx, [esp + 0x94]
call fcn.004e83a0
mov edi, dword [esp + 0x30]
xor esi, esi
add edi, 0x10
cmp esi, 0x10
jge 0x4e8ce8
movzx edx, byte [esp + esi + 0x94]
push edx
push 0x5700e8
push edi
call fcn.00496d63
inc esi
add esp, 0xc
add edi, 2
cmp esi, 0x10
jl 0x4e8cc8
mov byte [edi], 0
mov ecx, dword [esp + 0xc0]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00493d56
add esp, 0xb4
ret