Function at 0x4c9440
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov eax, dword [0x629688]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov eax, ecx
mov cl, byte [0x6322c0]
push edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x20], eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], edi
test cl, cl
jne 0x4c9487
call fcn.004d11a0
mov eax, dword [esp + 0x20]
mov cl, byte [0x6322c0]
mov dl, byte [0x631533]
test dl, dl
je 0x4c94fb
test cl, cl
jne 0x4c94a0
call fcn.004d11a0
mov dl, byte [0x631533]
push 0
push 0x10
push edi
push esi
push ebx
test dl, dl
je 0x4c94de
mov eax, dword [esp + 0x34]
mov edx, 0x4ca2d0
push dword [eax + 0xc]
mov ecx, 0x4ca260
push dword [eax + 0x118]
call fcn.004ca730
add esp, 0x1c
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.00586d1b
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [esp + 0x34]
call fcn.004c5770
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.00586d1b
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [eax + 0x118]
add eax, 0x20
mov ecx, dword [eax - 0x20]
xor ecx, dword [ebx]
mov edx, dword [eax - 4]
mov edi, dword [eax - 0x10]
mov dword [esp + 0xc], ecx
mov ecx, dword [eax - 0x1c]
xor ecx, dword [ebx + 4]
mov dword [esp + 0x24], edx
mov dword [esp + 0x18], ecx
mov ecx, dword [eax - 0x18]
xor ecx, dword [ebx + 8]
mov dword [esp + 0x28], eax
mov dword [esp + 0x10], ecx
mov ecx, dword [eax - 0x14]
xor ecx, dword [ebx + 0xc]
cmp byte [0x6322c0], 0
mov ebx, dword [eax - 8]
mov dword [esp + 0x1c], ecx
mov ecx, dword [eax - 0xc]
mov dword [esp + 0x14], ecx
jne 0x4c9555
call fcn.004d11a0
mov edx, dword [esp + 0x24]
xor ecx, ecx
xor eax, eax
lea esp, [esp]
and ecx, dword [eax + 0x633fb8]
add eax, dword [0x62bb6c]
cmp eax, 0x800
jb 0x4c9560
and ecx, dword [0x6347b0]
mov esi, dword [esp + 0x28]
or dword [esp + 0xc], ecx
or dword [esp + 0x10], ecx
or dword [esp + 0x18], ecx
or dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x1c]
movzx eax, cl
shr ecx, 8
xor edx, dword [eax*8 + 0x633fbc]
movzx eax, cl
shr ecx, 8
xor edi, dword [eax*8 + 0x633fb9]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c], ecx
shr ecx, 8
movzx eax, al
mov ecx, dword [ecx*8 + 0x633fbb]
xor ecx, dword [eax*8 + 0x633fbc]
xor ebx, ecx
mov ecx, dword [esp + 0x10]
shr ecx, 8
movzx eax, cl
shr ecx, 8
xor edx, dword [eax*8 + 0x633fb9]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x10], ecx
shr ecx, 8
movzx eax, al
mov ecx, dword [ecx*8 + 0x633fbb]
xor ecx, dword [eax*8 + 0x633fbc]
mov eax, dword [esp + 0x1c]
movzx eax, al
xor ecx, dword [eax*8 + 0x633fba]
xor dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x18]
shr ecx, 8
movzx eax, cl
shr ecx, 8
xor ebx, dword [eax*8 + 0x633fb9]
mov eax, dword [esp + 0xc]
mov dword [esp + 0x18], ecx
movzx eax, al
shr ecx, 8
mov ecx, dword [ecx*8 + 0x633fbb]
xor ecx, dword [eax*8 + 0x633fbc]
mov eax, dword [esp + 0x10]
movzx eax, al
xor ecx, dword [eax*8 + 0x633fba]
mov eax, dword [esp + 0xc]
shr eax, 8
mov dword [esp + 0xc], eax
movzx eax, al
xor edi, ecx
mov ecx, dword [esp + 0x14]
xor ecx, dword [eax*8 + 0x633fb9]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0xc]
shr ecx, 8
movzx eax, cl
shr ecx, 8
xor ebx, dword [eax*8 + 0x633fba]
mov eax, dword [esp + 0x18]
mov ecx, dword [ecx*8 + 0x633fbb]
movzx eax, al
mov dword [esp + 0xc], ebx
xor ecx, dword [eax*8 + 0x633fba]
mov eax, dword [esp + 0x20]
xor edx, ecx
mov eax, dword [eax + 0xc]
shr eax, 1
dec eax
mov dword [esp + 0x20], eax
lea esp, [esp]
movzx eax, dl
shr edx, 8
mov ebx, dword [eax*8 + 0x633fbb]
movzx eax, dl
shr edx, 8
mov ecx, dword [eax*8 + 0x633fba]
xor ecx, dword [esi + 4]
movzx eax, dl
mov dword [esp + 0x24], edx
mov edx, dword [eax*8 + 0x633fb9]
mov eax, dword [esp + 0xc]
xor edx, dword [esi]
movzx eax, al
xor ebx, dword [esi + 8]
xor ecx, dword [eax*8 + 0x633fbb]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0xc]
shr ecx, 8
movzx eax, cl
shr ecx, 8
xor edx, dword [eax*8 + 0x633fba]
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x24]
shr ecx, 8
movzx eax, al
mov dword [esp + 0x18], edx
mov edx, dword [ecx*8 + 0x633fbc]
xor edx, dword [eax*8 + 0x633fb9]
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
xor edx, dword [esi + 0xc]
movzx eax, cl
shr ecx, 8
xor edi, dword [eax*8 + 0x633fbb]
movzx eax, cl
shr ecx, 8
xor edx, dword [eax*8 + 0x633fba]
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
movzx eax, al
shr ecx, 8
shr dword [esp + 0x14], 8
mov ecx, dword [ecx*8 + 0x633fbc]
xor ecx, dword [eax*8 + 0x633fb9]
xor ebx, ecx
mov ecx, dword [esp + 0x10]
movzx eax, cl
shr ecx, 8
xor edx, dword [eax*8 + 0x633fbb]
movzx eax, cl
shr ecx, 8
xor ebx, dword [eax*8 + 0x633fba]
mov dword [esp + 0x10], ecx
movzx eax, cl
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx*8 + 0x633fbc]
xor ecx, dword [eax*8 + 0x633fb9]
mov eax, dword [esp + 0x10]
xor dword [esp + 0x1c], ecx
shr eax, 8
xor edi, dword [eax*8 + 0x633fbc]
movzx eax, dl
shr edx, 8
mov eax, dword [eax*8 + 0x633fbb]
xor eax, dword [esi + 0x18]
mov dword [esp + 0x18], edi
mov dword [esp + 0xc], eax
movzx eax, dl
shr edx, 8
mov ecx, dword [eax*8 + 0x633fba]
xor ecx, dword [esi + 0x14]
movzx eax, bl
shr ebx, 8
xor ecx, dword [eax*8 + 0x633fbb]
movzx eax, bl
mov dword [esp + 0x14], ecx
mov eax, dword [eax*8 + 0x633fba]
movzx ecx, dl
xor eax, dword [ecx*8 + 0x633fb9]
xor eax, dword [esi + 0x10]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
mov edi, dword [esp + 0x10]
movzx eax, cl
shr ecx, 8
xor edi, dword [eax*8 + 0x633fbb]
movzx eax, cl
shr edx, 8
shr ecx, 8
mov edx, dword [edx*8 + 0x633fbc]
xor edx, dword [eax*8 + 0x633fba]
shr ebx, 8
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x18]
movzx eax, bl
shr ebx, 8
xor edx, dword [eax*8 + 0x633fb9]
movzx eax, cl
xor edx, dword [esi + 0x1c]
shr ecx, 8
xor edx, dword [eax*8 + 0x633fbb]
movzx eax, cl
mov dword [esp + 0x18], ecx
mov ecx, dword [ebx*8 + 0x633fbc]
xor ecx, dword [eax*8 + 0x633fba]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x1c]
movzx eax, dl
shr ebx, 8
xor ecx, dword [eax*8 + 0x633fb9]
shr edx, 8
xor dword [esp + 0xc], ecx
mov ecx, dword [edx*8 + 0x633fbc]
mov edx, dword [esp + 0x24]
movzx eax, bl
shr ebx, 8
xor ecx, dword [eax*8 + 0x633fb9]
add esi, 0x20
xor dword [esp + 0x14], ecx
mov ecx, edi
xor ecx, dword [ebx*8 + 0x633fbc]
dec dword [esp + 0x20]
mov dword [esp + 0x10], edi
mov dword [esp + 0x10], ecx
jne 0x4c96b0
mov edx, dword [esp + 0xc]
movzx eax, dl
shr edx, 8
movzx eax, byte [eax*8 + 0x633fb8]
mov byte [esp + 0x3b], al
movzx eax, dl
shr edx, 8
movzx eax, byte [eax*8 + 0x633fb8]
mov byte [esp + 0x36], al
movzx eax, dl
shr edx, 8
movzx eax, byte [eax*8 + 0x633fb8]
mov byte [esp + 0x41], al
movzx eax, byte [edx*8 + 0x633fb8]
mov edx, dword [esp + 0x14]
mov byte [esp + 0x3c], al
movzx eax, dl
shr edx, 8
movzx eax, byte [eax*8 + 0x633fb8]
mov byte [esp + 0x37], al
movzx eax, dl
shr edx, 8
movzx eax, byte [eax*8 + 0x633fb8]
mov byte [esp + 0x42], al
movzx eax, dl
shr edx, 8
movzx eax, byte [eax*8 + 0x633fb8]
mov byte [esp + 0x3d], al
movzx eax, byte [edx*8 + 0x633fb8]
mov byte [esp + 0x38], al
movzx eax, cl
shr ecx, 8
movzx eax, byte [eax*8 + 0x633fb8]
mov byte [esp + 0x43], al
movzx eax, cl
shr ecx, 8
movzx eax, byte [eax*8 + 0x633fb8]
mov byte [esp + 0x3e], al
movzx eax, cl
shr ecx, 8
movzx eax, byte [eax*8 + 0x633fb8]
mov byte [esp + 0x39], al
movzx eax, byte [ecx*8 + 0x633fb8]
mov ecx, dword [esp + 0x24]
mov byte [esp + 0x34], al
movzx eax, cl
shr ecx, 8
movzx eax, byte [eax*8 + 0x633fb8]
mov byte [esp + 0x3f], al
movzx eax, cl
shr ecx, 8
movzx eax, byte [eax*8 + 0x633fb8]
mov byte [esp + 0x3a], al
movzx eax, cl
shr ecx, 8
movzx eax, byte [eax*8 + 0x633fb8]
mov byte [esp + 0x35], al
movzx eax, byte [ecx*8 + 0x633fb8]
mov ecx, dword [esi]
xor ecx, dword [esp + 0x34]
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0x30]
mov byte [esp + 0x40], al
test esi, esi
je 0x4c9a00
mov eax, dword [esi]
jmp 0x4c9a02
xor eax, eax
xor eax, ecx
mov ecx, dword [esp + 0x2c]
mov dword [ecx], eax
test esi, esi
je 0x4c9a11
add esi, 4
mov eax, dword [esp + 0x28]
mov edi, dword [eax + 4]
xor edi, dword [esp + 0x38]
test esi, esi
je 0x4c9a24
mov edx, dword [esi]
jmp 0x4c9a26
xor edx, edx
xor edx, edi
mov dword [ecx + 4], edx
test esi, esi
je 0x4c9a32
add esi, 4
mov edi, dword [eax + 8]
xor edi, dword [esp + 0x3c]
test esi, esi
je 0x4c9a41
mov edx, dword [esi]
jmp 0x4c9a43
xor edx, edx
xor edx, edi
mov dword [ecx + 8], edx
test esi, esi
je 0x4c9a4f
add esi, 4
mov edx, dword [eax + 0xc]
xor edx, dword [esp + 0x40]
test esi, esi
je 0x4c9a5e
mov eax, dword [esi]
jmp 0x4c9a60
xor eax, eax
pop edi
xor eax, edx
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 0x40]
pop esi
pop ebx
xor ecx, esp
call fcn.00586d1b
mov esp, ebp
pop ebp
ret 0xc